Skip to content

Commit b889964

Browse files
Merge pull request #15 from messente/travis
Update version to 3.1.0
2 parents e285835 + 8bd712a commit b889964

File tree

10 files changed

+42
-9
lines changed

10 files changed

+42
-9
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Messente API Library
22

33
- Messente API version: 2.0.0
4-
- Java artifact version: 3.0.1
4+
- Java artifact version: 3.1.0
55

66
[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.
77

@@ -12,7 +12,7 @@ Install Messente API library via Maven, Gradle, Ivy or manual build.
1212
### Gradle
1313

1414
```groovy
15-
compile "com.messente.api:messente-api:3.0.1"
15+
compile "com.messente.api:messente-api:3.1.0"
1616
```
1717

1818
### Maven
@@ -21,15 +21,15 @@ compile "com.messente.api:messente-api:3.0.1"
2121
<dependency>
2222
<groupId>com.messente.api</groupId>
2323
<artifactId>messente-api</artifactId>
24-
<version>3.0.1</version>
24+
<version>3.1.0</version>
2525
<type>pom</type>
2626
</dependency>
2727
```
2828

2929
### Ivy
3030

3131
```xml
32-
<dependency org='com.messente.api' name='messente-api' rev='3.0.1'>
32+
<dependency org='com.messente.api' name='messente-api' rev='3.1.0'>
3333
<artifact name='messente-api' ext='pom' ></artifact>
3434
</dependency>
3535
```
@@ -44,7 +44,7 @@ mvn clean package
4444

4545
Install
4646

47-
- `target/messente-api-3.0.1.jar`
47+
- `target/messente-api-3.1.0.jar`
4848
- `target/lib/*.jar`
4949

5050
## Features

api/openapi.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ paths:
152152
schema:
153153
$ref: '#/components/schemas/ErrorOmnichannel'
154154
description: Invalid input
155+
"401":
156+
content:
157+
application/json:
158+
schema:
159+
$ref: '#/components/schemas/ErrorOmnichannel'
160+
description: Unauthorized
155161
summary: Sends an Omnimessage
156162
tags:
157163
- Omnimessage
@@ -178,6 +184,12 @@ paths:
178184
schema:
179185
$ref: '#/components/schemas/DeliveryReportResponse'
180186
description: Delivery report success
187+
"401":
188+
content:
189+
application/json:
190+
schema:
191+
$ref: '#/components/schemas/ErrorOmnichannel'
192+
description: Unauthorized
181193
"404":
182194
content:
183195
application/json:
@@ -210,6 +222,12 @@ paths:
210222
schema:
211223
$ref: '#/components/schemas/EmptyObject'
212224
description: Scheduled omnimessage successfully cancelled
225+
"401":
226+
content:
227+
application/json:
228+
schema:
229+
$ref: '#/components/schemas/ErrorOmnichannel'
230+
description: Unauthorized
213231
"404":
214232
content:
215233
application/json:

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ apply plugin: 'java'
2222
apply plugin: 'com.diffplug.spotless'
2323

2424
group = 'com.messente.api'
25-
version = '3.0.1'
25+
version = '3.1.0'
2626

2727

2828
modifyPom {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.messente.api",
44
name := "messente-api",
5-
version := "3.0.1",
5+
version := "3.1.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/DeliveryReportApi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,6 @@ public class Example {
7272
| Status code | Description | Response headers |
7373
|-------------|-------------|------------------|
7474
| **200** | Delivery report success | - |
75+
| **401** | Unauthorized | - |
7576
| **404** | If no such message exists or you do not have access to the particular message | - |
7677

docs/OmnimessageApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public class Example {
7373
| Status code | Description | Response headers |
7474
|-------------|-------------|------------------|
7575
| **202** | Scheduled omnimessage successfully cancelled | - |
76+
| **401** | Unauthorized | - |
7677
| **404** | If the omnimessage has already been sent or no such message exists | - |
7778

7879
<a name="sendOmnimessage"></a>
@@ -141,4 +142,5 @@ public class Example {
141142
|-------------|-------------|------------------|
142143
| **201** | Omnimessage success response | - |
143144
| **400** | Invalid input | - |
145+
| **401** | Unauthorized | - |
144146

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>messente-api</artifactId>
66
<packaging>jar</packaging>
77
<name>messente-api</name>
8-
<version>3.0.1</version>
8+
<version>3.1.0</version>
99
<url>https://github.com/messente/messente-api-java</url>
1010
<description>Java library for Messente API</description>
1111
<scm>

src/main/java/com/messente/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ private void init() {
131131
json = new JSON();
132132

133133
// Set default User-Agent.
134-
setUserAgent("OpenAPI-Generator/3.0.1/java");
134+
setUserAgent("OpenAPI-Generator/3.1.0/java");
135135

136136
authentications = new HashMap<String, Authentication>();
137137
}

src/main/java/com/messente/api/DeliveryReportApi.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public void setCustomBaseUrl(String customBaseUrl) {
8585
<table summary="Response Details" border="1">
8686
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
8787
<tr><td> 200 </td><td> Delivery report success </td><td> - </td></tr>
88+
<tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
8889
<tr><td> 404 </td><td> If no such message exists or you do not have access to the particular message </td><td> - </td></tr>
8990
</table>
9091
*/
@@ -158,6 +159,7 @@ private okhttp3.Call retrieveDeliveryReportValidateBeforeCall(UUID omnimessageId
158159
<table summary="Response Details" border="1">
159160
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
160161
<tr><td> 200 </td><td> Delivery report success </td><td> - </td></tr>
162+
<tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
161163
<tr><td> 404 </td><td> If no such message exists or you do not have access to the particular message </td><td> - </td></tr>
162164
</table>
163165
*/
@@ -176,6 +178,7 @@ public DeliveryReportResponse retrieveDeliveryReport(UUID omnimessageId) throws
176178
<table summary="Response Details" border="1">
177179
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
178180
<tr><td> 200 </td><td> Delivery report success </td><td> - </td></tr>
181+
<tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
179182
<tr><td> 404 </td><td> If no such message exists or you do not have access to the particular message </td><td> - </td></tr>
180183
</table>
181184
*/
@@ -196,6 +199,7 @@ public ApiResponse<DeliveryReportResponse> retrieveDeliveryReportWithHttpInfo(UU
196199
<table summary="Response Details" border="1">
197200
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
198201
<tr><td> 200 </td><td> Delivery report success </td><td> - </td></tr>
202+
<tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
199203
<tr><td> 404 </td><td> If no such message exists or you do not have access to the particular message </td><td> - </td></tr>
200204
</table>
201205
*/

src/main/java/com/messente/api/OmnimessageApi.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public void setCustomBaseUrl(String customBaseUrl) {
8686
<table summary="Response Details" border="1">
8787
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
8888
<tr><td> 202 </td><td> Scheduled omnimessage successfully cancelled </td><td> - </td></tr>
89+
<tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
8990
<tr><td> 404 </td><td> If the omnimessage has already been sent or no such message exists </td><td> - </td></tr>
9091
</table>
9192
*/
@@ -159,6 +160,7 @@ private okhttp3.Call cancelScheduledMessageValidateBeforeCall(UUID omnimessageId
159160
<table summary="Response Details" border="1">
160161
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
161162
<tr><td> 202 </td><td> Scheduled omnimessage successfully cancelled </td><td> - </td></tr>
163+
<tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
162164
<tr><td> 404 </td><td> If the omnimessage has already been sent or no such message exists </td><td> - </td></tr>
163165
</table>
164166
*/
@@ -177,6 +179,7 @@ public Object cancelScheduledMessage(UUID omnimessageId) throws ApiException {
177179
<table summary="Response Details" border="1">
178180
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
179181
<tr><td> 202 </td><td> Scheduled omnimessage successfully cancelled </td><td> - </td></tr>
182+
<tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
180183
<tr><td> 404 </td><td> If the omnimessage has already been sent or no such message exists </td><td> - </td></tr>
181184
</table>
182185
*/
@@ -197,6 +200,7 @@ public ApiResponse<Object> cancelScheduledMessageWithHttpInfo(UUID omnimessageId
197200
<table summary="Response Details" border="1">
198201
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
199202
<tr><td> 202 </td><td> Scheduled omnimessage successfully cancelled </td><td> - </td></tr>
203+
<tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
200204
<tr><td> 404 </td><td> If the omnimessage has already been sent or no such message exists </td><td> - </td></tr>
201205
</table>
202206
*/
@@ -218,6 +222,7 @@ public okhttp3.Call cancelScheduledMessageAsync(UUID omnimessageId, final ApiCal
218222
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
219223
<tr><td> 201 </td><td> Omnimessage success response </td><td> - </td></tr>
220224
<tr><td> 400 </td><td> Invalid input </td><td> - </td></tr>
225+
<tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
221226
</table>
222227
*/
223228
public okhttp3.Call sendOmnimessageCall(Omnimessage omnimessage, final ApiCallback _callback) throws ApiException {
@@ -290,6 +295,7 @@ private okhttp3.Call sendOmnimessageValidateBeforeCall(Omnimessage omnimessage,
290295
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
291296
<tr><td> 201 </td><td> Omnimessage success response </td><td> - </td></tr>
292297
<tr><td> 400 </td><td> Invalid input </td><td> - </td></tr>
298+
<tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
293299
</table>
294300
*/
295301
public OmniMessageCreateSuccessResponse sendOmnimessage(Omnimessage omnimessage) throws ApiException {
@@ -308,6 +314,7 @@ public OmniMessageCreateSuccessResponse sendOmnimessage(Omnimessage omnimessage)
308314
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
309315
<tr><td> 201 </td><td> Omnimessage success response </td><td> - </td></tr>
310316
<tr><td> 400 </td><td> Invalid input </td><td> - </td></tr>
317+
<tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
311318
</table>
312319
*/
313320
public ApiResponse<OmniMessageCreateSuccessResponse> sendOmnimessageWithHttpInfo(Omnimessage omnimessage) throws ApiException {
@@ -328,6 +335,7 @@ public ApiResponse<OmniMessageCreateSuccessResponse> sendOmnimessageWithHttpInfo
328335
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
329336
<tr><td> 201 </td><td> Omnimessage success response </td><td> - </td></tr>
330337
<tr><td> 400 </td><td> Invalid input </td><td> - </td></tr>
338+
<tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
331339
</table>
332340
*/
333341
public okhttp3.Call sendOmnimessageAsync(Omnimessage omnimessage, final ApiCallback<OmniMessageCreateSuccessResponse> _callback) throws ApiException {

0 commit comments

Comments
 (0)