Skip to content

Commit 173fe84

Browse files
committed
Travis update: Jul 2025 (Build 914)
[skip ci]
1 parent 1dd3e78 commit 173fe84

26 files changed

+2421
-59
lines changed

.openapi-generator/FILES

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,20 @@ docs/TextStore.md
7171
docs/Viber.md
7272
docs/ViberVideo.md
7373
docs/WhatsApp.md
74+
docs/WhatsAppAudio.md
7475
docs/WhatsAppComponent.md
7576
docs/WhatsAppCurrency.md
7677
docs/WhatsAppDatetime.md
78+
docs/WhatsAppDocument.md
79+
docs/WhatsAppImage.md
7780
docs/WhatsAppLanguage.md
7881
docs/WhatsAppMedia.md
7982
docs/WhatsAppParameter.md
83+
docs/WhatsAppSticker.md
8084
docs/WhatsAppTemplate.md
8185
docs/WhatsAppTemplatesApi.md
8286
docs/WhatsAppText.md
87+
docs/WhatsAppVideo.md
8388
docs/WhatsappButtonType.md
8489
docs/WhatsappComponentType.md
8590
docs/WhatsappCreateTemplateRequest.md
@@ -185,15 +190,20 @@ src/main/java/com/messente/api/TextStore.java
185190
src/main/java/com/messente/api/Viber.java
186191
src/main/java/com/messente/api/ViberVideo.java
187192
src/main/java/com/messente/api/WhatsApp.java
193+
src/main/java/com/messente/api/WhatsAppAudio.java
188194
src/main/java/com/messente/api/WhatsAppComponent.java
189195
src/main/java/com/messente/api/WhatsAppCurrency.java
190196
src/main/java/com/messente/api/WhatsAppDatetime.java
197+
src/main/java/com/messente/api/WhatsAppDocument.java
198+
src/main/java/com/messente/api/WhatsAppImage.java
191199
src/main/java/com/messente/api/WhatsAppLanguage.java
192200
src/main/java/com/messente/api/WhatsAppMedia.java
193201
src/main/java/com/messente/api/WhatsAppParameter.java
202+
src/main/java/com/messente/api/WhatsAppSticker.java
194203
src/main/java/com/messente/api/WhatsAppTemplate.java
195204
src/main/java/com/messente/api/WhatsAppTemplatesApi.java
196205
src/main/java/com/messente/api/WhatsAppText.java
206+
src/main/java/com/messente/api/WhatsAppVideo.java
197207
src/main/java/com/messente/api/WhatsappButtonType.java
198208
src/main/java/com/messente/api/WhatsappComponentType.java
199209
src/main/java/com/messente/api/WhatsappCreateTemplateRequest.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.4.0
4+
- Java artifact version: 4.5.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.4.0'
16+
implementation 'com.messente.api:messente-api:4.5.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.4.0</version>
26+
<version>4.5.0</version>
2727
</dependency>
2828
```
2929

3030
### Ivy
3131

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

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

4444
Install
4545

46-
- `target/messente-api-4.4.0.jar`
46+
- `target/messente-api-4.5.0.jar`
4747
- `target/lib/*.jar`
4848

4949
## Features

api/openapi.yaml

Lines changed: 138 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3050,14 +3050,24 @@ components:
30503050
type: integer
30513051
template:
30523052
$ref: '#/components/schemas/WhatsAppTemplate'
3053-
text:
3054-
$ref: '#/components/schemas/WhatsAppText'
30553053
channel:
30563054
default: whatsapp
30573055
description: The channel used to deliver the message
30583056
enum:
30593057
- whatsapp
30603058
type: string
3059+
text:
3060+
$ref: '#/components/schemas/WhatsAppText'
3061+
image:
3062+
$ref: '#/components/schemas/WhatsAppImage'
3063+
video:
3064+
$ref: '#/components/schemas/WhatsAppVideo'
3065+
audio:
3066+
$ref: '#/components/schemas/WhatsAppAudio'
3067+
document:
3068+
$ref: '#/components/schemas/WhatsAppDocument'
3069+
sticker:
3070+
$ref: '#/components/schemas/WhatsAppSticker'
30613071
type: object
30623072
Telegram:
30633073
description: Telegram message content
@@ -3196,6 +3206,7 @@ components:
31963206
type: string
31973207
index:
31983208
description: index used to position buttons
3209+
nullable: true
31993210
type: integer
32003211
parameters:
32013212
description: List of parameters for the component
@@ -4215,8 +4226,132 @@ components:
42154226
- package_name
42164227
- signature_hash
42174228
type: object
4229+
WhatsAppImage:
4230+
description: "WhatsApp image content. Either \"id\" or \"link\" must be provided,\
4231+
\ but not both."
4232+
properties:
4233+
id:
4234+
description: Unique identifier for the image file.
4235+
example: "12345"
4236+
nullable: true
4237+
type: string
4238+
caption:
4239+
description: Caption for the image.
4240+
example: Check out this image!
4241+
nullable: true
4242+
type: string
4243+
mime_type:
4244+
description: MIME type of the image file.
4245+
example: image/jpeg
4246+
nullable: true
4247+
type: string
4248+
link:
4249+
description: URL link to the image file.
4250+
example: https://example.com/image.jpg
4251+
nullable: true
4252+
type: string
4253+
type: object
4254+
WhatsAppVideo:
4255+
description: "WhatsApp video content. Either \"id\" or \"link\" must be provided,\
4256+
\ but not both."
4257+
properties:
4258+
id:
4259+
description: Unique identifier for the video file.
4260+
example: "67890"
4261+
nullable: true
4262+
type: string
4263+
caption:
4264+
description: Caption for the video.
4265+
example: Check out this video!
4266+
nullable: true
4267+
type: string
4268+
mime_type:
4269+
description: MIME type of the video file.
4270+
example: video/mp4
4271+
nullable: true
4272+
type: string
4273+
link:
4274+
description: URL link to the video file.
4275+
example: https://example.com/video.mp4
4276+
nullable: true
4277+
type: string
4278+
type: object
4279+
WhatsAppAudio:
4280+
description: "WhatsApp audio content. Either \"id\" or \"link\" must be provided,\
4281+
\ but not both."
4282+
properties:
4283+
id:
4284+
description: Unique identifier for the audio file.
4285+
example: "12345"
4286+
nullable: true
4287+
type: string
4288+
mime_type:
4289+
description: MIME type of the audio file.
4290+
example: audio/mpeg
4291+
nullable: true
4292+
type: string
4293+
link:
4294+
description: URL link to the audio file.
4295+
example: https://example.com/audio.mp3
4296+
nullable: true
4297+
type: string
4298+
type: object
4299+
WhatsAppDocument:
4300+
description: "WhatsApp document content. Either \"id\" or \"link\" must be provided,\
4301+
\ but not both."
4302+
properties:
4303+
id:
4304+
description: Unique identifier for the document file.
4305+
example: "98765"
4306+
nullable: true
4307+
type: string
4308+
caption:
4309+
description: Caption for the document.
4310+
example: Please review this document.
4311+
nullable: true
4312+
type: string
4313+
mime_type:
4314+
description: MIME type of the document file.
4315+
example: application/pdf
4316+
nullable: true
4317+
type: string
4318+
file_name:
4319+
description: Name of the document file.
4320+
example: example.pdf
4321+
nullable: true
4322+
type: string
4323+
link:
4324+
description: URL link to the document file.
4325+
example: https://example.com/document.pdf
4326+
nullable: true
4327+
type: string
4328+
type: object
4329+
WhatsAppSticker:
4330+
description: "WhatsApp sticker content. Either \"id\" or \"link\" must be provided,\
4331+
\ but not both."
4332+
properties:
4333+
id:
4334+
description: Unique identifier for the sticker file.
4335+
example: "54321"
4336+
nullable: true
4337+
type: string
4338+
mime_type:
4339+
description: MIME type of the sticker file.
4340+
example: image/webp
4341+
nullable: true
4342+
type: string
4343+
animated:
4344+
description: Indicates whether the sticker is animated.
4345+
example: true
4346+
nullable: true
4347+
type: boolean
4348+
link:
4349+
description: URL link to the sticker file.
4350+
example: https://example.com/sticker.webp
4351+
nullable: true
4352+
type: string
4353+
type: object
42184354
AnyJsonResponse:
4219-
additionalProperties: true
42204355
description: Any valid JSON response
42214356
type: object
42224357
BulkOmnimessage:

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

docs/OmnimessageMessagesInner.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@
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] |
18+
|**video** | [**WhatsAppVideo**](WhatsAppVideo.md) | | [optional] |
1919
|**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] |
2020
|**udh** | **String** | hex-encoded string containing SMS UDH | [optional] |
2121
|**template** | [**WhatsAppTemplate**](WhatsAppTemplate.md) | | [optional] |
22+
|**image** | [**WhatsAppImage**](WhatsAppImage.md) | | [optional] |
23+
|**audio** | [**WhatsAppAudio**](WhatsAppAudio.md) | | [optional] |
24+
|**document** | [**WhatsAppDocument**](WhatsAppDocument.md) | | [optional] |
25+
|**sticker** | [**WhatsAppSticker**](WhatsAppSticker.md) | | [optional] |
2226
|**documentUrl** | **String** | URL for the embedded image. Mutually exclusive with \&quot;audio_url\&quot; and \&quot;image_url\&quot; | [optional] |
2327
|**audioUrl** | **String** | URL for the embedded image. Mutually exclusive with \&quot;document_url\&quot; and \&quot;image_url\&quot; | [optional] |
2428

docs/WhatsApp.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@ WhatsApp message content. Only one of \"text\", \"image\", \"document\" or \"a
1212
|**validity** | **Integer** | After how many minutes this channel is considered as failed and the next channel is attempted | [optional] |
1313
|**ttl** | **Integer** | After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \&quot;ttl\&quot; and \&quot;validity\&quot; can be used. | [optional] |
1414
|**template** | [**WhatsAppTemplate**](WhatsAppTemplate.md) | | [optional] |
15-
|**text** | [**WhatsAppText**](WhatsAppText.md) | | [optional] |
1615
|**channel** | [**ChannelEnum**](#ChannelEnum) | The channel used to deliver the message | [optional] |
16+
|**text** | [**WhatsAppText**](WhatsAppText.md) | | [optional] |
17+
|**image** | [**WhatsAppImage**](WhatsAppImage.md) | | [optional] |
18+
|**video** | [**WhatsAppVideo**](WhatsAppVideo.md) | | [optional] |
19+
|**audio** | [**WhatsAppAudio**](WhatsAppAudio.md) | | [optional] |
20+
|**document** | [**WhatsAppDocument**](WhatsAppDocument.md) | | [optional] |
21+
|**sticker** | [**WhatsAppSticker**](WhatsAppSticker.md) | | [optional] |
1722

1823

1924

docs/WhatsAppAudio.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
3+
# WhatsAppAudio
4+
5+
WhatsApp audio content. Either \"id\" or \"link\" must be provided, but not both.
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**id** | **String** | Unique identifier for the audio file. | [optional] |
12+
|**mimeType** | **String** | MIME type of the audio file. | [optional] |
13+
|**link** | **String** | URL link to the audio file. | [optional] |
14+
15+
16+

docs/WhatsAppDocument.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
3+
# WhatsAppDocument
4+
5+
WhatsApp document content. Either \"id\" or \"link\" must be provided, but not both.
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**id** | **String** | Unique identifier for the document file. | [optional] |
12+
|**caption** | **String** | Caption for the document. | [optional] |
13+
|**mimeType** | **String** | MIME type of the document file. | [optional] |
14+
|**fileName** | **String** | Name of the document file. | [optional] |
15+
|**link** | **String** | URL link to the document file. | [optional] |
16+
17+
18+

docs/WhatsAppImage.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
# WhatsAppImage
4+
5+
WhatsApp image content. Either \"id\" or \"link\" must be provided, but not both.
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**id** | **String** | Unique identifier for the image file. | [optional] |
12+
|**caption** | **String** | Caption for the image. | [optional] |
13+
|**mimeType** | **String** | MIME type of the image file. | [optional] |
14+
|**link** | **String** | URL link to the image file. | [optional] |
15+
16+
17+

0 commit comments

Comments
 (0)