Skip to content

Commit d013a22

Browse files
authored
Merge pull request #27 from messente/travis_3.6.0
release version 3.5.0
2 parents 9f622ad + 3c38ce1 commit d013a22

53 files changed

Lines changed: 7835 additions & 176 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ jobs:
1111
steps:
1212
- name: Publish to Packagist
1313
run: |
14-
curl -X POST \
14+
RESPONSE=$(curl -s -X POST \
1515
-H "Content-Type: application/json" \
1616
"https://packagist.org/api/update-package?username=${{ secrets.PACKAGIST_USERNAME }}&apiToken=${{ secrets.PACKAGIST_TOKEN }}" \
17-
-d '{"repository":{"url":"https://packagist.org/packages/messente/messente-api-php"}}'
17+
-d '{"repository":{"url":"https://packagist.org/packages/messente/messente-api-php"}}')
18+
echo "Response: $RESPONSE"
19+
echo "$RESPONSE" | jq '.status == "success"

.openapi-generator/FILES

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,34 @@ docs/Model/Price.md
5858
docs/Model/PriceInfo.md
5959
docs/Model/PriceNetworksInner.md
6060
docs/Model/Priority.md
61+
docs/Model/Rcs.md
62+
docs/Model/RcsCardContent.md
63+
docs/Model/RcsCardOrientation.md
64+
docs/Model/RcsCardWidth.md
65+
docs/Model/RcsCarouselCard.md
66+
docs/Model/RcsContentInfo.md
67+
docs/Model/RcsCreateCalendarEventAction.md
68+
docs/Model/RcsDialAction.md
69+
docs/Model/RcsImageAlignment.md
70+
docs/Model/RcsLatLng.md
71+
docs/Model/RcsMedia.md
72+
docs/Model/RcsMediaHeight.md
73+
docs/Model/RcsOpenUrlAction.md
74+
docs/Model/RcsOpenUrlApplication.md
75+
docs/Model/RcsRichCard.md
76+
docs/Model/RcsStandaloneCard.md
77+
docs/Model/RcsSuggestedAction.md
78+
docs/Model/RcsSuggestedReply.md
79+
docs/Model/RcsSuggestion.md
80+
docs/Model/RcsViewLocationAction.md
81+
docs/Model/RcsWebviewViewMode.md
6182
docs/Model/SMS.md
6283
docs/Model/StatisticsReport.md
6384
docs/Model/StatisticsReportSettings.md
6485
docs/Model/StatisticsReportSuccess.md
6586
docs/Model/Status.md
6687
docs/Model/SyncNumberLookupResult.md
6788
docs/Model/SyncNumberLookupSuccess.md
68-
docs/Model/Telegram.md
6989
docs/Model/TextStore.md
7090
docs/Model/Viber.md
7191
docs/Model/ViberVideo.md
@@ -159,14 +179,34 @@ lib/Model/Price.php
159179
lib/Model/PriceInfo.php
160180
lib/Model/PriceNetworksInner.php
161181
lib/Model/Priority.php
182+
lib/Model/Rcs.php
183+
lib/Model/RcsCardContent.php
184+
lib/Model/RcsCardOrientation.php
185+
lib/Model/RcsCardWidth.php
186+
lib/Model/RcsCarouselCard.php
187+
lib/Model/RcsContentInfo.php
188+
lib/Model/RcsCreateCalendarEventAction.php
189+
lib/Model/RcsDialAction.php
190+
lib/Model/RcsImageAlignment.php
191+
lib/Model/RcsLatLng.php
192+
lib/Model/RcsMedia.php
193+
lib/Model/RcsMediaHeight.php
194+
lib/Model/RcsOpenUrlAction.php
195+
lib/Model/RcsOpenUrlApplication.php
196+
lib/Model/RcsRichCard.php
197+
lib/Model/RcsStandaloneCard.php
198+
lib/Model/RcsSuggestedAction.php
199+
lib/Model/RcsSuggestedReply.php
200+
lib/Model/RcsSuggestion.php
201+
lib/Model/RcsViewLocationAction.php
202+
lib/Model/RcsWebviewViewMode.php
162203
lib/Model/SMS.php
163204
lib/Model/StatisticsReport.php
164205
lib/Model/StatisticsReportSettings.php
165206
lib/Model/StatisticsReportSuccess.php
166207
lib/Model/Status.php
167208
lib/Model/SyncNumberLookupResult.php
168209
lib/Model/SyncNumberLookupSuccess.php
169-
lib/Model/Telegram.php
170210
lib/Model/TextStore.php
171211
lib/Model/Viber.php
172212
lib/Model/ViberVideo.php

README.md

Lines changed: 1 addition & 1 deletion
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-
- PHP artifact version: 3.4.1
4+
- PHP artifact version: 3.5.0
55

66
[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "messente/messente-api-php",
3-
"version": "3.4.1",
3+
"version": "3.5.0",
44
"description": "[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.",
5-
"keywords": ["viber", "sms", "whatsapp", "phonebook", "openapitools",
5+
"keywords": ["viber", "sms", "whatsapp", "rcs", "openapitools",
66
"openapi-generator",
77
"openapi",
88
"php",

docs/Model/OmnimessageMessagesInner.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**sender** | **string** | Phone number or alphanumeric sender name | [optional]
8-
**validity** | **int** | After how many minutes this channel is considered as failed and the next channel is attempted | [optional]
9-
**ttl** | **int** | After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used. | [optional]
10-
**text** | **string** | Plaintext content for Telegram |
11-
**imageUrl** | **string** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"audio_url\" | [optional]
7+
**sender** | **string** | Phone number or alphanumeric sender name |
8+
**validity** | **int** | After how many minutes this channel is considered as failed and the next channel is attempted.Only one of \"ttl\" and \"validity\" can be used. | [optional]
9+
**ttl** | **int** | After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used. | [optional]
10+
**text** | **string** | Text content of the RCS message |
11+
**imageUrl** | **string** | URL for the embedded image Valid combinations: 1) image_url, 2) text, image_url, button_url, button_text | [optional]
1212
**buttonUrl** | **string** | URL of the button, must be specified along with ''text'', ''button_text'' and ''image_url'' (optional) | [optional]
1313
**buttonText** | **string** | Must be specified along with ''text'', ''button_url'', ''button_text'', ''image_url'' (optional) | [optional]
14-
**channel** | **string** | The channel used to deliver the message | [optional] [default to 'telegram']
14+
**channel** | **string** | The channel used to deliver the message | [optional] [default to 'rcs']
1515
**video** | [**\Messente\Api\Model\WhatsAppVideo**](WhatsAppVideo.md) | | [optional]
1616
**autoconvert** | **string** | Defines how non-GSM characters will be treated: - \"on\" Use replacement settings from the account's [API Auto Replace settings page](https://dashboard.messente.com/api-settings/auto-replace) (default) - \"full\" All non GSM 03.38 characters will be replaced with suitable alternatives - \"off\" Message content is not modified in any way | [optional]
1717
**udh** | **string** | hex-encoded string containing SMS UDH | [optional]
@@ -20,7 +20,8 @@ Name | Type | Description | Notes
2020
**audio** | [**\Messente\Api\Model\WhatsAppAudio**](WhatsAppAudio.md) | | [optional]
2121
**document** | [**\Messente\Api\Model\WhatsAppDocument**](WhatsAppDocument.md) | | [optional]
2222
**sticker** | [**\Messente\Api\Model\WhatsAppSticker**](WhatsAppSticker.md) | | [optional]
23-
**documentUrl** | **string** | URL for the embedded image. Mutually exclusive with \"audio_url\" and \"image_url\" | [optional]
24-
**audioUrl** | **string** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"image_url\" | [optional]
23+
**suggestions** | [**\Messente\Api\Model\RcsSuggestion[]**](RcsSuggestion.md) | List of suggestions to include with the message | [optional]
24+
**richCard** | [**\Messente\Api\Model\RcsRichCard**](RcsRichCard.md) | | [optional]
25+
**contentInfo** | [**\Messente\Api\Model\RcsContentInfo**](RcsContentInfo.md) | | [optional]
2526

2627
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/Rcs.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# # Rcs
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**channel** | **string** | The channel used to deliver the message | [optional] [default to 'rcs']
8+
**sender** | **string** | Phone number or alphanumeric sender name |
9+
**validity** | **int** | After how many minutes this channel is considered as failed and the next channel is attempted.Only one of \"ttl\" and \"validity\" can be used. | [optional]
10+
**ttl** | **int** | After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used. | [optional]
11+
**text** | **string** | Text content of the RCS message | [optional]
12+
**suggestions** | [**\Messente\Api\Model\RcsSuggestion[]**](RcsSuggestion.md) | List of suggestions to include with the message | [optional]
13+
**richCard** | [**\Messente\Api\Model\RcsRichCard**](RcsRichCard.md) | | [optional]
14+
**contentInfo** | [**\Messente\Api\Model\RcsContentInfo**](RcsContentInfo.md) | | [optional]
15+
16+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/RcsCardContent.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# # RcsCardContent
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**title** | **string** | Title of the card content | [optional]
8+
**description** | **string** | Description of the card content | [optional]
9+
**media** | [**\Messente\Api\Model\RcsMedia**](RcsMedia.md) | | [optional]
10+
**suggestions** | [**\Messente\Api\Model\RcsSuggestion[]**](RcsSuggestion.md) | List of suggestions that the recipient can use to respond. | [optional]
11+
12+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/RcsCardOrientation.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# # RcsCardOrientation
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
8+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/RcsCardWidth.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# # RcsCardWidth
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
8+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/RcsCarouselCard.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# # RcsCarouselCard
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**cardWidth** | [**\Messente\Api\Model\RcsCardWidth**](RcsCardWidth.md) | |
8+
**cardContents** | [**\Messente\Api\Model\RcsCardContent[]**](RcsCardContent.md) | The contents of the carousel card. |
9+
10+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

0 commit comments

Comments
 (0)