Skip to content

Commit 43a59c9

Browse files
authored
Merge pull request #20 from messente/travis
release version 4.3.0
2 parents 46b7489 + 645c978 commit 43a59c9

15 files changed

Lines changed: 509 additions & 12 deletions

File tree

.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ docs/SyncNumberLookupSuccess.md
6464
docs/Telegram.md
6565
docs/TextStore.md
6666
docs/Viber.md
67+
docs/ViberVideo.md
6768
docs/WhatsApp.md
6869
docs/WhatsAppComponent.md
6970
docs/WhatsAppCurrency.md
@@ -153,6 +154,7 @@ src/main/java/com/messente/api/SyncNumberLookupSuccess.java
153154
src/main/java/com/messente/api/Telegram.java
154155
src/main/java/com/messente/api/TextStore.java
155156
src/main/java/com/messente/api/Viber.java
157+
src/main/java/com/messente/api/ViberVideo.java
156158
src/main/java/com/messente/api/WhatsApp.java
157159
src/main/java/com/messente/api/WhatsAppComponent.java
158160
src/main/java/com/messente/api/WhatsAppCurrency.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.2.1
4+
- Java artifact version: 4.3.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

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

1414
```groovy
1515
dependencies {
16-
implementation 'com.messente.api:messente-api:4.2.1'
16+
implementation 'com.messente.api:messente-api:4.3.0'
1717
}
1818
```
1919

@@ -23,14 +23,14 @@ dependencies {
2323
<dependency>
2424
<groupId>com.messente.api</groupId>
2525
<artifactId>messente-api</artifactId>
26-
<version>4.2.1</version>
26+
<version>4.3.0</version>
2727
</dependency>
2828
```
2929

3030
### Ivy
3131

3232
```xml
33-
<dependency org='com.messente.api' name='messente-api' rev='4.2.1'/>
33+
<dependency org='com.messente.api' name='messente-api' rev='4.3.0'/>
3434
```
3535

3636
### Manual Build
@@ -43,7 +43,7 @@ mvn clean package
4343

4444
Install
4545

46-
- `target/messente-api-4.2.1.jar`
46+
- `target/messente-api-4.3.0.jar`
4747
- `target/lib/*.jar`
4848

4949
## Features

api/openapi.yaml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2035,6 +2035,11 @@ components:
20352035
validity: 360
20362036
text: text
20372037
button_text: button_text
2038+
video:
2039+
duration: 6
2040+
thumbnail: thumbnail
2041+
url: url
2042+
file_size: 0
20382043
ttl: 21600
20392044
- sender: sender
20402045
image_url: image_url
@@ -2043,6 +2048,11 @@ components:
20432048
validity: 360
20442049
text: text
20452050
button_text: button_text
2051+
video:
2052+
duration: 6
2053+
thumbnail: thumbnail
2054+
url: url
2055+
file_size: 0
20462056
ttl: 21600
20472057
to: to
20482058
priority: low
@@ -2107,6 +2117,11 @@ components:
21072117
validity: 360
21082118
text: text
21092119
button_text: button_text
2120+
video:
2121+
duration: 6
2122+
thumbnail: thumbnail
2123+
url: url
2124+
file_size: 0
21102125
ttl: 21600
21112126
properties:
21122127
sender:
@@ -2151,6 +2166,35 @@ components:
21512166
enum:
21522167
- viber
21532168
type: string
2169+
video:
2170+
$ref: '#/components/schemas/ViberVideo'
2171+
type: object
2172+
ViberVideo:
2173+
description: Viber video object
2174+
example:
2175+
duration: 6
2176+
thumbnail: thumbnail
2177+
url: url
2178+
file_size: 0
2179+
properties:
2180+
url:
2181+
description: URL pointing to the video resource.
2182+
type: string
2183+
thumbnail:
2184+
description: URL pointing to the video thumbnail resource.
2185+
type: string
2186+
file_size:
2187+
description: Size of the video file in bytes. Cannot be larger than 200MB.
2188+
type: integer
2189+
duration:
2190+
description: Duration of the video in seconds. Cannot be longer than 600
2191+
seconds.
2192+
type: integer
2193+
required:
2194+
- duration
2195+
- file_size
2196+
- thumbnail
2197+
- url
21542198
type: object
21552199
WhatsApp:
21562200
description: |-
@@ -2628,6 +2672,11 @@ components:
26282672
validity: 360
26292673
text: text
26302674
button_text: button_text
2675+
video:
2676+
duration: 6
2677+
thumbnail: thumbnail
2678+
url: url
2679+
file_size: 0
26312680
ttl: 21600
26322681
- sender: sender
26332682
image_url: image_url
@@ -2636,6 +2685,11 @@ components:
26362685
validity: 360
26372686
text: text
26382687
button_text: button_text
2688+
video:
2689+
duration: 6
2690+
thumbnail: thumbnail
2691+
url: url
2692+
file_size: 0
26392693
ttl: 21600
26402694
to: to
26412695
priority: low
@@ -2650,6 +2704,11 @@ components:
26502704
validity: 360
26512705
text: text
26522706
button_text: button_text
2707+
video:
2708+
duration: 6
2709+
thumbnail: thumbnail
2710+
url: url
2711+
file_size: 0
26532712
ttl: 21600
26542713
- sender: sender
26552714
image_url: image_url
@@ -2658,6 +2717,11 @@ components:
26582717
validity: 360
26592718
text: text
26602719
button_text: button_text
2720+
video:
2721+
duration: 6
2722+
thumbnail: thumbnail
2723+
url: url
2724+
file_size: 0
26612725
ttl: 21600
26622726
to: to
26632727
priority: low

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 = '4.2.1'
25+
version = '4.3.0'
2626

2727
ext {
2828
jakarta_annotation_version = "1.3.5"

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

docs/OmnimessageMessagesInner.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
|**buttonUrl** | **String** | URL of the button, must be specified along with &#39;&#39;text&#39;&#39;, &#39;&#39;button_text&#39;&#39; and &#39;&#39;image_url&#39;&#39; (optional) | [optional] |
1616
|**buttonText** | **String** | Must be specified along with &#39;&#39;text&#39;&#39;, &#39;&#39;button_url&#39;&#39;, &#39;&#39;button_text&#39;&#39;, &#39;&#39;image_url&#39;&#39; (optional) | [optional] |
1717
|**channel** | [**ChannelEnum**](#ChannelEnum) | The channel used to deliver the message | [optional] |
18+
|**video** | [**ViberVideo**](ViberVideo.md) | | [optional] |
1819
|**autoconvert** | [**AutoconvertEnum**](#AutoconvertEnum) | Defines how non-GSM characters will be treated: - \&quot;on\&quot; Use replacement settings from the account&#39;s [API Auto Replace settings page](https://dashboard.messente.com/api-settings/auto-replace) (default) - \&quot;full\&quot; All non GSM 03.38 characters will be replaced with suitable alternatives - \&quot;off\&quot; Message content is not modified in any way | [optional] |
1920
|**udh** | **String** | hex-encoded string containing SMS UDH | [optional] |
2021
|**template** | [**WhatsAppTemplate**](WhatsAppTemplate.md) | | [optional] |

docs/Viber.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Viber message content
1616
|**buttonUrl** | **String** | URL of the button, must be specified along with &#39;&#39;text&#39;&#39;, &#39;&#39;button_text&#39;&#39; and &#39;&#39;image_url&#39;&#39; (optional) | [optional] |
1717
|**buttonText** | **String** | Must be specified along with &#39;&#39;text&#39;&#39;, &#39;&#39;button_url&#39;&#39;, &#39;&#39;button_text&#39;&#39;, &#39;&#39;image_url&#39;&#39; (optional) | [optional] |
1818
|**channel** | [**ChannelEnum**](#ChannelEnum) | The channel used to deliver the message | [optional] |
19+
|**video** | [**ViberVideo**](ViberVideo.md) | | [optional] |
1920

2021

2122

docs/ViberVideo.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
# ViberVideo
4+
5+
Viber video object
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**url** | **String** | URL pointing to the video resource. | |
12+
|**thumbnail** | **String** | URL pointing to the video thumbnail resource. | |
13+
|**fileSize** | **Integer** | Size of the video file in bytes. Cannot be larger than 200MB. | |
14+
|**duration** | **Integer** | Duration of the video in seconds. Cannot be longer than 600 seconds. | |
15+
16+
17+

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.2.1</version>
8+
<version>4.3.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.2.1/java");
144+
setUserAgent("OpenAPI-Generator/4.3.0/java");
145145

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

0 commit comments

Comments
 (0)