Skip to content

Commit 3619392

Browse files
author
Erik Räni
authored
🎉 1.4.0 (#12)
Add an optional `priority` field to Omnichannel API message sending request. This field sets the priority of the message. Messages are processed starting with in highest priority queue first and lowest priority queue last. This for example allows to prioritize OTP messages over marketing traffic. The new field has three possible values: - low, - regular, - high.
1 parent 32ab8bd commit 3619392

70 files changed

Lines changed: 139 additions & 74 deletions

Some content is hidden

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

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ script:
88
- bundle install --path vendor/bundle
99
- bundle exec rspec
1010
- gem build messente_api.gemspec
11-
- gem install ./messente_api-1.3.1.gem
11+
- gem install ./messente_api-1.4.0.gem

README.md

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

3-
- Messente API version: 1.3.0
4-
- Ruby gem version: 1.3.1
3+
- Messente API version: 1.4.0
4+
- Ruby gem version: 1.4.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

docs/Omnimessage.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**dlr_url** | **String** | URL where the delivery report will be sent | [optional]
1010
**text_store** | [**TextStore**](TextStore.md) | | [optional]
1111
**time_to_send** | **DateTime** | Optional parameter for sending messages at some specific time in the future. Time must be specified in the ISO-8601 format. If no timezone is specified, then the timezone is assumed to be UTC Examples: * Time specified with timezone: 2018-06-22T09:05:07+00:00 Time specified in UTC: 2018-06-22T09:05:07Z * Time specified without timezone: 2018-06-22T09:05 (equivalent to 2018-06-22T09:05+00:00) | [optional]
12+
**priority** | [**Priority**](Priority.md) | | [optional]
1213

1314
## Code Sample
1415

@@ -19,7 +20,8 @@ instance = MessenteApi::Omnimessage.new(to: null,
1920
messages: null,
2021
dlr_url: null,
2122
text_store: null,
22-
time_to_send: null)
23+
time_to_send: null,
24+
priority: null)
2325
```
2426

2527

docs/Priority.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# MessenteApi::Priority
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
8+
## Code Sample
9+
10+
```ruby
11+
require 'MessenteApi'
12+
13+
instance = MessenteApi::Priority.new()
14+
```
15+
16+

lib/messente_api.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#[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.
55
6-
The version of the OpenAPI document: 1.3.0
6+
The version of the OpenAPI document: 1.4.0
77
Contact: messente@messente.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 4.3.1
@@ -51,6 +51,7 @@
5151
require 'messente_api/models/numbers_to_investigate'
5252
require 'messente_api/models/omni_message_create_success_response'
5353
require 'messente_api/models/omnimessage'
54+
require 'messente_api/models/priority'
5455
require 'messente_api/models/sms'
5556
require 'messente_api/models/statistics_report'
5657
require 'messente_api/models/statistics_report_settings'

lib/messente_api/api/blacklist_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#[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.
55
6-
The version of the OpenAPI document: 1.3.0
6+
The version of the OpenAPI document: 1.4.0
77
Contact: messente@messente.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 4.3.1

lib/messente_api/api/contacts_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#[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.
55
6-
The version of the OpenAPI document: 1.3.0
6+
The version of the OpenAPI document: 1.4.0
77
Contact: messente@messente.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 4.3.1

lib/messente_api/api/delivery_report_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#[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.
55
6-
The version of the OpenAPI document: 1.3.0
6+
The version of the OpenAPI document: 1.4.0
77
Contact: messente@messente.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 4.3.1

lib/messente_api/api/groups_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#[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.
55
6-
The version of the OpenAPI document: 1.3.0
6+
The version of the OpenAPI document: 1.4.0
77
Contact: messente@messente.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 4.3.1

lib/messente_api/api/number_lookup_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#[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.
55
6-
The version of the OpenAPI document: 1.3.0
6+
The version of the OpenAPI document: 1.4.0
77
Contact: messente@messente.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 4.3.1

0 commit comments

Comments
 (0)