From 33e5da5e5c4a993b8ec7de897bbcfa24dc73f195 Mon Sep 17 00:00:00 2001 From: api-librarian Date: Tue, 28 Feb 2023 15:14:32 +0000 Subject: [PATCH 1/3] Travis update: Feb 2023 (Build 716) [skip ci] --- api/openapi.yaml | 18 ++++++++++++++++++ docs/DeliveryReportApi.md | 1 + docs/OmnimessageApi.md | 2 ++ .../com/messente/api/DeliveryReportApi.java | 4 ++++ .../java/com/messente/api/OmnimessageApi.java | 8 ++++++++ 5 files changed, 33 insertions(+) diff --git a/api/openapi.yaml b/api/openapi.yaml index 386b064..fdb228a 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -152,6 +152,12 @@ paths: schema: $ref: '#/components/schemas/ErrorOmnichannel' description: Invalid input + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorOmnichannel' + description: Unauthorized summary: Sends an Omnimessage tags: - Omnimessage @@ -178,6 +184,12 @@ paths: schema: $ref: '#/components/schemas/DeliveryReportResponse' description: Delivery report success + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorOmnichannel' + description: Unauthorized "404": content: application/json: @@ -210,6 +222,12 @@ paths: schema: $ref: '#/components/schemas/EmptyObject' description: Scheduled omnimessage successfully cancelled + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorOmnichannel' + description: Unauthorized "404": content: application/json: diff --git a/docs/DeliveryReportApi.md b/docs/DeliveryReportApi.md index 2b71f2d..110cb4f 100644 --- a/docs/DeliveryReportApi.md +++ b/docs/DeliveryReportApi.md @@ -72,5 +72,6 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Delivery report success | - | +| **401** | Unauthorized | - | | **404** | If no such message exists or you do not have access to the particular message | - | diff --git a/docs/OmnimessageApi.md b/docs/OmnimessageApi.md index 84d0c88..c58c90f 100644 --- a/docs/OmnimessageApi.md +++ b/docs/OmnimessageApi.md @@ -73,6 +73,7 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **202** | Scheduled omnimessage successfully cancelled | - | +| **401** | Unauthorized | - | | **404** | If the omnimessage has already been sent or no such message exists | - | @@ -141,4 +142,5 @@ public class Example { |-------------|-------------|------------------| | **201** | Omnimessage success response | - | | **400** | Invalid input | - | +| **401** | Unauthorized | - | diff --git a/src/main/java/com/messente/api/DeliveryReportApi.java b/src/main/java/com/messente/api/DeliveryReportApi.java index 2b7513b..ca2cc65 100644 --- a/src/main/java/com/messente/api/DeliveryReportApi.java +++ b/src/main/java/com/messente/api/DeliveryReportApi.java @@ -85,6 +85,7 @@ public void setCustomBaseUrl(String customBaseUrl) { +
Status Code Description Response Headers
200 Delivery report success -
401 Unauthorized -
404 If no such message exists or you do not have access to the particular message -
*/ @@ -158,6 +159,7 @@ private okhttp3.Call retrieveDeliveryReportValidateBeforeCall(UUID omnimessageId +
Status Code Description Response Headers
200 Delivery report success -
401 Unauthorized -
404 If no such message exists or you do not have access to the particular message -
*/ @@ -176,6 +178,7 @@ public DeliveryReportResponse retrieveDeliveryReport(UUID omnimessageId) throws +
Status Code Description Response Headers
200 Delivery report success -
401 Unauthorized -
404 If no such message exists or you do not have access to the particular message -
*/ @@ -196,6 +199,7 @@ public ApiResponse retrieveDeliveryReportWithHttpInfo(UU +
Status Code Description Response Headers
200 Delivery report success -
401 Unauthorized -
404 If no such message exists or you do not have access to the particular message -
*/ diff --git a/src/main/java/com/messente/api/OmnimessageApi.java b/src/main/java/com/messente/api/OmnimessageApi.java index af5b50d..e9d1f83 100644 --- a/src/main/java/com/messente/api/OmnimessageApi.java +++ b/src/main/java/com/messente/api/OmnimessageApi.java @@ -86,6 +86,7 @@ public void setCustomBaseUrl(String customBaseUrl) { +
Status Code Description Response Headers
202 Scheduled omnimessage successfully cancelled -
401 Unauthorized -
404 If the omnimessage has already been sent or no such message exists -
*/ @@ -159,6 +160,7 @@ private okhttp3.Call cancelScheduledMessageValidateBeforeCall(UUID omnimessageId +
Status Code Description Response Headers
202 Scheduled omnimessage successfully cancelled -
401 Unauthorized -
404 If the omnimessage has already been sent or no such message exists -
*/ @@ -177,6 +179,7 @@ public Object cancelScheduledMessage(UUID omnimessageId) throws ApiException { +
Status Code Description Response Headers
202 Scheduled omnimessage successfully cancelled -
401 Unauthorized -
404 If the omnimessage has already been sent or no such message exists -
*/ @@ -197,6 +200,7 @@ public ApiResponse cancelScheduledMessageWithHttpInfo(UUID omnimessageId +
Status Code Description Response Headers
202 Scheduled omnimessage successfully cancelled -
401 Unauthorized -
404 If the omnimessage has already been sent or no such message exists -
*/ @@ -218,6 +222,7 @@ public okhttp3.Call cancelScheduledMessageAsync(UUID omnimessageId, final ApiCal Status Code Description Response Headers 201 Omnimessage success response - 400 Invalid input - + 401 Unauthorized - */ public okhttp3.Call sendOmnimessageCall(Omnimessage omnimessage, final ApiCallback _callback) throws ApiException { @@ -290,6 +295,7 @@ private okhttp3.Call sendOmnimessageValidateBeforeCall(Omnimessage omnimessage, Status Code Description Response Headers 201 Omnimessage success response - 400 Invalid input - + 401 Unauthorized - */ public OmniMessageCreateSuccessResponse sendOmnimessage(Omnimessage omnimessage) throws ApiException { @@ -308,6 +314,7 @@ public OmniMessageCreateSuccessResponse sendOmnimessage(Omnimessage omnimessage) Status Code Description Response Headers 201 Omnimessage success response - 400 Invalid input - + 401 Unauthorized - */ public ApiResponse sendOmnimessageWithHttpInfo(Omnimessage omnimessage) throws ApiException { @@ -328,6 +335,7 @@ public ApiResponse sendOmnimessageWithHttpInfo Status Code Description Response Headers 201 Omnimessage success response - 400 Invalid input - + 401 Unauthorized - */ public okhttp3.Call sendOmnimessageAsync(Omnimessage omnimessage, final ApiCallback _callback) throws ApiException { From 85273a531898e8b4ab17f6554776600ca8b66037 Mon Sep 17 00:00:00 2001 From: api-librarian Date: Sun, 5 Mar 2023 08:06:44 +0000 Subject: [PATCH 2/3] Travis update: Mar 2023 (Build 717) [skip ci] --- api/openapi.yaml | 18 ------------------ docs/DeliveryReportApi.md | 1 - docs/OmnimessageApi.md | 2 -- .../com/messente/api/DeliveryReportApi.java | 4 ---- .../java/com/messente/api/OmnimessageApi.java | 8 -------- 5 files changed, 33 deletions(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index fdb228a..386b064 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -152,12 +152,6 @@ paths: schema: $ref: '#/components/schemas/ErrorOmnichannel' description: Invalid input - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorOmnichannel' - description: Unauthorized summary: Sends an Omnimessage tags: - Omnimessage @@ -184,12 +178,6 @@ paths: schema: $ref: '#/components/schemas/DeliveryReportResponse' description: Delivery report success - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorOmnichannel' - description: Unauthorized "404": content: application/json: @@ -222,12 +210,6 @@ paths: schema: $ref: '#/components/schemas/EmptyObject' description: Scheduled omnimessage successfully cancelled - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorOmnichannel' - description: Unauthorized "404": content: application/json: diff --git a/docs/DeliveryReportApi.md b/docs/DeliveryReportApi.md index 110cb4f..2b71f2d 100644 --- a/docs/DeliveryReportApi.md +++ b/docs/DeliveryReportApi.md @@ -72,6 +72,5 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Delivery report success | - | -| **401** | Unauthorized | - | | **404** | If no such message exists or you do not have access to the particular message | - | diff --git a/docs/OmnimessageApi.md b/docs/OmnimessageApi.md index c58c90f..84d0c88 100644 --- a/docs/OmnimessageApi.md +++ b/docs/OmnimessageApi.md @@ -73,7 +73,6 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **202** | Scheduled omnimessage successfully cancelled | - | -| **401** | Unauthorized | - | | **404** | If the omnimessage has already been sent or no such message exists | - | @@ -142,5 +141,4 @@ public class Example { |-------------|-------------|------------------| | **201** | Omnimessage success response | - | | **400** | Invalid input | - | -| **401** | Unauthorized | - | diff --git a/src/main/java/com/messente/api/DeliveryReportApi.java b/src/main/java/com/messente/api/DeliveryReportApi.java index ca2cc65..2b7513b 100644 --- a/src/main/java/com/messente/api/DeliveryReportApi.java +++ b/src/main/java/com/messente/api/DeliveryReportApi.java @@ -85,7 +85,6 @@ public void setCustomBaseUrl(String customBaseUrl) { -
Status Code Description Response Headers
200 Delivery report success -
401 Unauthorized -
404 If no such message exists or you do not have access to the particular message -
*/ @@ -159,7 +158,6 @@ private okhttp3.Call retrieveDeliveryReportValidateBeforeCall(UUID omnimessageId -
Status Code Description Response Headers
200 Delivery report success -
401 Unauthorized -
404 If no such message exists or you do not have access to the particular message -
*/ @@ -178,7 +176,6 @@ public DeliveryReportResponse retrieveDeliveryReport(UUID omnimessageId) throws -
Status Code Description Response Headers
200 Delivery report success -
401 Unauthorized -
404 If no such message exists or you do not have access to the particular message -
*/ @@ -199,7 +196,6 @@ public ApiResponse retrieveDeliveryReportWithHttpInfo(UU -
Status Code Description Response Headers
200 Delivery report success -
401 Unauthorized -
404 If no such message exists or you do not have access to the particular message -
*/ diff --git a/src/main/java/com/messente/api/OmnimessageApi.java b/src/main/java/com/messente/api/OmnimessageApi.java index e9d1f83..af5b50d 100644 --- a/src/main/java/com/messente/api/OmnimessageApi.java +++ b/src/main/java/com/messente/api/OmnimessageApi.java @@ -86,7 +86,6 @@ public void setCustomBaseUrl(String customBaseUrl) { -
Status Code Description Response Headers
202 Scheduled omnimessage successfully cancelled -
401 Unauthorized -
404 If the omnimessage has already been sent or no such message exists -
*/ @@ -160,7 +159,6 @@ private okhttp3.Call cancelScheduledMessageValidateBeforeCall(UUID omnimessageId -
Status Code Description Response Headers
202 Scheduled omnimessage successfully cancelled -
401 Unauthorized -
404 If the omnimessage has already been sent or no such message exists -
*/ @@ -179,7 +177,6 @@ public Object cancelScheduledMessage(UUID omnimessageId) throws ApiException { -
Status Code Description Response Headers
202 Scheduled omnimessage successfully cancelled -
401 Unauthorized -
404 If the omnimessage has already been sent or no such message exists -
*/ @@ -200,7 +197,6 @@ public ApiResponse cancelScheduledMessageWithHttpInfo(UUID omnimessageId -
Status Code Description Response Headers
202 Scheduled omnimessage successfully cancelled -
401 Unauthorized -
404 If the omnimessage has already been sent or no such message exists -
*/ @@ -222,7 +218,6 @@ public okhttp3.Call cancelScheduledMessageAsync(UUID omnimessageId, final ApiCal Status Code Description Response Headers 201 Omnimessage success response - 400 Invalid input - - 401 Unauthorized - */ public okhttp3.Call sendOmnimessageCall(Omnimessage omnimessage, final ApiCallback _callback) throws ApiException { @@ -295,7 +290,6 @@ private okhttp3.Call sendOmnimessageValidateBeforeCall(Omnimessage omnimessage, Status Code Description Response Headers 201 Omnimessage success response - 400 Invalid input - - 401 Unauthorized - */ public OmniMessageCreateSuccessResponse sendOmnimessage(Omnimessage omnimessage) throws ApiException { @@ -314,7 +308,6 @@ public OmniMessageCreateSuccessResponse sendOmnimessage(Omnimessage omnimessage) Status Code Description Response Headers 201 Omnimessage success response - 400 Invalid input - - 401 Unauthorized - */ public ApiResponse sendOmnimessageWithHttpInfo(Omnimessage omnimessage) throws ApiException { @@ -335,7 +328,6 @@ public ApiResponse sendOmnimessageWithHttpInfo Status Code Description Response Headers 201 Omnimessage success response - 400 Invalid input - - 401 Unauthorized - */ public okhttp3.Call sendOmnimessageAsync(Omnimessage omnimessage, final ApiCallback _callback) throws ApiException { From 8bd712a7254c8ee0c27187ebcb099d03e4f25747 Mon Sep 17 00:00:00 2001 From: api-librarian Date: Tue, 7 Mar 2023 12:10:56 +0000 Subject: [PATCH 3/3] Travis update: Mar 2023 (Build 718) [skip ci] --- README.md | 10 +++++----- api/openapi.yaml | 18 ++++++++++++++++++ build.gradle | 2 +- build.sbt | 2 +- docs/DeliveryReportApi.md | 1 + docs/OmnimessageApi.md | 2 ++ pom.xml | 2 +- src/main/java/com/messente/ApiClient.java | 2 +- .../com/messente/api/DeliveryReportApi.java | 4 ++++ .../java/com/messente/api/OmnimessageApi.java | 8 ++++++++ 10 files changed, 42 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index f0d23f1..684da9e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Messente API Library - Messente API version: 2.0.0 -- Java artifact version: 3.0.1 +- Java artifact version: 3.1.0 [Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. @@ -12,7 +12,7 @@ Install Messente API library via Maven, Gradle, Ivy or manual build. ### Gradle ```groovy -compile "com.messente.api:messente-api:3.0.1" +compile "com.messente.api:messente-api:3.1.0" ``` ### Maven @@ -21,7 +21,7 @@ compile "com.messente.api:messente-api:3.0.1" com.messente.api messente-api - 3.0.1 + 3.1.0 pom ``` @@ -29,7 +29,7 @@ compile "com.messente.api:messente-api:3.0.1" ### Ivy ```xml - + ``` @@ -44,7 +44,7 @@ mvn clean package Install -- `target/messente-api-3.0.1.jar` +- `target/messente-api-3.1.0.jar` - `target/lib/*.jar` ## Features diff --git a/api/openapi.yaml b/api/openapi.yaml index 386b064..fdb228a 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -152,6 +152,12 @@ paths: schema: $ref: '#/components/schemas/ErrorOmnichannel' description: Invalid input + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorOmnichannel' + description: Unauthorized summary: Sends an Omnimessage tags: - Omnimessage @@ -178,6 +184,12 @@ paths: schema: $ref: '#/components/schemas/DeliveryReportResponse' description: Delivery report success + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorOmnichannel' + description: Unauthorized "404": content: application/json: @@ -210,6 +222,12 @@ paths: schema: $ref: '#/components/schemas/EmptyObject' description: Scheduled omnimessage successfully cancelled + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorOmnichannel' + description: Unauthorized "404": content: application/json: diff --git a/build.gradle b/build.gradle index 7ce6ffc..33d3840 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,7 @@ apply plugin: 'java' apply plugin: 'com.diffplug.spotless' group = 'com.messente.api' -version = '3.0.1' +version = '3.1.0' modifyPom { diff --git a/build.sbt b/build.sbt index 7bb20ed..c56e880 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "com.messente.api", name := "messente-api", - version := "3.0.1", + version := "3.1.0", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), diff --git a/docs/DeliveryReportApi.md b/docs/DeliveryReportApi.md index 2b71f2d..110cb4f 100644 --- a/docs/DeliveryReportApi.md +++ b/docs/DeliveryReportApi.md @@ -72,5 +72,6 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Delivery report success | - | +| **401** | Unauthorized | - | | **404** | If no such message exists or you do not have access to the particular message | - | diff --git a/docs/OmnimessageApi.md b/docs/OmnimessageApi.md index 84d0c88..c58c90f 100644 --- a/docs/OmnimessageApi.md +++ b/docs/OmnimessageApi.md @@ -73,6 +73,7 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **202** | Scheduled omnimessage successfully cancelled | - | +| **401** | Unauthorized | - | | **404** | If the omnimessage has already been sent or no such message exists | - | @@ -141,4 +142,5 @@ public class Example { |-------------|-------------|------------------| | **201** | Omnimessage success response | - | | **400** | Invalid input | - | +| **401** | Unauthorized | - | diff --git a/pom.xml b/pom.xml index 6f96cdc..f24a050 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ messente-api jar messente-api - 3.0.1 + 3.1.0 https://github.com/messente/messente-api-java Java library for Messente API diff --git a/src/main/java/com/messente/ApiClient.java b/src/main/java/com/messente/ApiClient.java index 3dd35b4..ae6899d 100644 --- a/src/main/java/com/messente/ApiClient.java +++ b/src/main/java/com/messente/ApiClient.java @@ -131,7 +131,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/3.0.1/java"); + setUserAgent("OpenAPI-Generator/3.1.0/java"); authentications = new HashMap(); } diff --git a/src/main/java/com/messente/api/DeliveryReportApi.java b/src/main/java/com/messente/api/DeliveryReportApi.java index 2b7513b..ca2cc65 100644 --- a/src/main/java/com/messente/api/DeliveryReportApi.java +++ b/src/main/java/com/messente/api/DeliveryReportApi.java @@ -85,6 +85,7 @@ public void setCustomBaseUrl(String customBaseUrl) { +
Status Code Description Response Headers
200 Delivery report success -
401 Unauthorized -
404 If no such message exists or you do not have access to the particular message -
*/ @@ -158,6 +159,7 @@ private okhttp3.Call retrieveDeliveryReportValidateBeforeCall(UUID omnimessageId +
Status Code Description Response Headers
200 Delivery report success -
401 Unauthorized -
404 If no such message exists or you do not have access to the particular message -
*/ @@ -176,6 +178,7 @@ public DeliveryReportResponse retrieveDeliveryReport(UUID omnimessageId) throws +
Status Code Description Response Headers
200 Delivery report success -
401 Unauthorized -
404 If no such message exists or you do not have access to the particular message -
*/ @@ -196,6 +199,7 @@ public ApiResponse retrieveDeliveryReportWithHttpInfo(UU +
Status Code Description Response Headers
200 Delivery report success -
401 Unauthorized -
404 If no such message exists or you do not have access to the particular message -
*/ diff --git a/src/main/java/com/messente/api/OmnimessageApi.java b/src/main/java/com/messente/api/OmnimessageApi.java index af5b50d..e9d1f83 100644 --- a/src/main/java/com/messente/api/OmnimessageApi.java +++ b/src/main/java/com/messente/api/OmnimessageApi.java @@ -86,6 +86,7 @@ public void setCustomBaseUrl(String customBaseUrl) { +
Status Code Description Response Headers
202 Scheduled omnimessage successfully cancelled -
401 Unauthorized -
404 If the omnimessage has already been sent or no such message exists -
*/ @@ -159,6 +160,7 @@ private okhttp3.Call cancelScheduledMessageValidateBeforeCall(UUID omnimessageId +
Status Code Description Response Headers
202 Scheduled omnimessage successfully cancelled -
401 Unauthorized -
404 If the omnimessage has already been sent or no such message exists -
*/ @@ -177,6 +179,7 @@ public Object cancelScheduledMessage(UUID omnimessageId) throws ApiException { +
Status Code Description Response Headers
202 Scheduled omnimessage successfully cancelled -
401 Unauthorized -
404 If the omnimessage has already been sent or no such message exists -
*/ @@ -197,6 +200,7 @@ public ApiResponse cancelScheduledMessageWithHttpInfo(UUID omnimessageId +
Status Code Description Response Headers
202 Scheduled omnimessage successfully cancelled -
401 Unauthorized -
404 If the omnimessage has already been sent or no such message exists -
*/ @@ -218,6 +222,7 @@ public okhttp3.Call cancelScheduledMessageAsync(UUID omnimessageId, final ApiCal Status Code Description Response Headers 201 Omnimessage success response - 400 Invalid input - + 401 Unauthorized - */ public okhttp3.Call sendOmnimessageCall(Omnimessage omnimessage, final ApiCallback _callback) throws ApiException { @@ -290,6 +295,7 @@ private okhttp3.Call sendOmnimessageValidateBeforeCall(Omnimessage omnimessage, Status Code Description Response Headers 201 Omnimessage success response - 400 Invalid input - + 401 Unauthorized - */ public OmniMessageCreateSuccessResponse sendOmnimessage(Omnimessage omnimessage) throws ApiException { @@ -308,6 +314,7 @@ public OmniMessageCreateSuccessResponse sendOmnimessage(Omnimessage omnimessage) Status Code Description Response Headers 201 Omnimessage success response - 400 Invalid input - + 401 Unauthorized - */ public ApiResponse sendOmnimessageWithHttpInfo(Omnimessage omnimessage) throws ApiException { @@ -328,6 +335,7 @@ public ApiResponse sendOmnimessageWithHttpInfo Status Code Description Response Headers 201 Omnimessage success response - 400 Invalid input - + 401 Unauthorized - */ public okhttp3.Call sendOmnimessageAsync(Omnimessage omnimessage, final ApiCallback _callback) throws ApiException {