Skip to content

Commit 99e16ff

Browse files
Merge pull request #17 from messente/travis
Release version 4.1.0
2 parents ba9c06f + c98c433 commit 99e16ff

File tree

13 files changed

+409
-14
lines changed

13 files changed

+409
-14
lines changed

.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ docs/OmniMessageCreateSuccessResponse.md
5151
docs/Omnimessage.md
5252
docs/OmnimessageApi.md
5353
docs/OmnimessageMessagesInner.md
54+
docs/PriceInfo.md
5455
docs/Priority.md
5556
docs/SMS.md
5657
docs/StatisticsApi.md
@@ -139,6 +140,7 @@ src/main/java/com/messente/api/OmniMessageCreateSuccessResponse.java
139140
src/main/java/com/messente/api/Omnimessage.java
140141
src/main/java/com/messente/api/OmnimessageApi.java
141142
src/main/java/com/messente/api/OmnimessageMessagesInner.java
143+
src/main/java/com/messente/api/PriceInfo.java
142144
src/main/java/com/messente/api/Priority.java
143145
src/main/java/com/messente/api/SMS.java
144146
src/main/java/com/messente/api/StatisticsApi.java

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: 4.0.0
4+
- Java artifact version: 4.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:4.0.0"
15+
compile "com.messente.api:messente-api:4.1.0"
1616
```
1717

1818
### Maven
@@ -21,15 +21,15 @@ compile "com.messente.api:messente-api:4.0.0"
2121
<dependency>
2222
<groupId>com.messente.api</groupId>
2323
<artifactId>messente-api</artifactId>
24-
<version>4.0.0</version>
24+
<version>4.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='4.0.0'>
32+
<dependency org='com.messente.api' name='messente-api' rev='4.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-4.0.0.jar`
47+
- `target/messente-api-4.1.0.jar`
4848
- `target/lib/*.jar`
4949

5050
## Features

api/openapi.yaml

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2459,13 +2459,23 @@ components:
24592459
description: A container for successful delivery report response
24602460
example:
24612461
statuses:
2462-
- err: 0
2462+
- price_info:
2463+
parts_count: 6
2464+
total_price: total_price
2465+
part_price: part_price
2466+
err: 0
2467+
sender: sender
24632468
channel: sms
24642469
message_id: message_id
24652470
error: error
24662471
status: ACK
24672472
timestamp: 2000-01-23T04:56:07.000+00:00
2468-
- err: 0
2473+
- price_info:
2474+
parts_count: 6
2475+
total_price: total_price
2476+
part_price: part_price
2477+
err: 0
2478+
sender: sender
24692479
channel: sms
24702480
message_id: message_id
24712481
error: error
@@ -2495,7 +2505,12 @@ components:
24952505
DeliveryResult:
24962506
description: A delivery report
24972507
example:
2508+
price_info:
2509+
parts_count: 6
2510+
total_price: total_price
2511+
part_price: part_price
24982512
err: 0
2513+
sender: sender
24992514
channel: sms
25002515
message_id: message_id
25012516
error: error
@@ -2521,6 +2536,33 @@ components:
25212536
description: When this status was received by Omnichannel API
25222537
format: date-time
25232538
type: string
2539+
price_info:
2540+
$ref: '#/components/schemas/PriceInfo'
2541+
sender:
2542+
description: the sender of the message
2543+
type: string
2544+
type: object
2545+
PriceInfo:
2546+
description: Contains price information for the message. This value is *null*
2547+
if the message is still being processed
2548+
example:
2549+
parts_count: 6
2550+
total_price: total_price
2551+
part_price: part_price
2552+
properties:
2553+
part_price:
2554+
description: price per message part - relevant mostly for SMS
2555+
type: string
2556+
parts_count:
2557+
description: the number of parts the message consists of
2558+
type: integer
2559+
total_price:
2560+
description: total price for the message
2561+
type: string
2562+
required:
2563+
- part_price
2564+
- parts_count
2565+
- total_price
25242566
type: object
25252567
Status:
25262568
description: |-

build.gradle

Lines changed: 2 additions & 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 = '4.0.0'
25+
version = '4.1.0'
2626

2727
ext {
2828
jakarta_annotation_version = "1.3.5"
@@ -113,6 +113,7 @@ java {
113113

114114
javadoc {
115115
options.tags = [ "http.response.details:a:Http Response Details" ]
116+
options.addStringOption('Xdoclint:none', '-quiet')
116117
}
117118

118119
// Use spotless plugin to automatically format code, remove unused import, etc

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 := "4.0.0",
5+
version := "4.1.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/DeliveryResult.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ A delivery report
1414
|**error** | **String** | Human-readable description of what went wrong, *null* in case of success or if the message has not been processed yet | [optional] |
1515
|**err** | **ErrorCodeOmnichannelMachine** | | [optional] |
1616
|**timestamp** | **OffsetDateTime** | When this status was received by Omnichannel API | [optional] |
17+
|**priceInfo** | [**PriceInfo**](PriceInfo.md) | | [optional] |
18+
|**sender** | **String** | the sender of the message | [optional] |
1719

1820

1921

docs/PriceInfo.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
3+
# PriceInfo
4+
5+
Contains price information for the message. This value is *null* if the message is still being processed
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**partPrice** | **String** | price per message part - relevant mostly for SMS | |
12+
|**partsCount** | **Integer** | the number of parts the message consists of | |
13+
|**totalPrice** | **String** | total price for the message | |
14+
15+
16+

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>4.0.0</version>
8+
<version>4.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
@@ -141,7 +141,7 @@ private void init() {
141141
json = new JSON();
142142

143143
// Set default User-Agent.
144-
setUserAgent("OpenAPI-Generator/4.0.0/java");
144+
setUserAgent("OpenAPI-Generator/4.1.0/java");
145145

146146
authentications = new HashMap<String, Authentication>();
147147
}

src/main/java/com/messente/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0")
1717
public class Configuration {
18-
public static final String VERSION = "4.0.0";
18+
public static final String VERSION = "4.1.0";
1919

2020
private static ApiClient defaultApiClient = new ApiClient();
2121

0 commit comments

Comments
 (0)