Skip to content

Commit

Permalink
Merge pull request #9 from telstra/dev
Browse files Browse the repository at this point in the history
1.0.6 SDK release, new and updated responses
  • Loading branch information
developersteve authored Aug 10, 2018
2 parents 7362c30 + 50a5c10 commit a6adb74
Show file tree
Hide file tree
Showing 44 changed files with 263 additions and 225 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: php
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_install: "composer install"
script: "vendor/bin/phpunit"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Messaging SDK


- API version: 2.2.7
- Package version: 1.0.5
- API version: 2.2.9
- Package version: 1.0.6

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Telstra/MessagingAPI-SDK-php",
"version": "1.0.5",
"version": "1.0.6",
"description": "",
"keywords": [
"openapitools",
Expand Down
2 changes: 1 addition & 1 deletion docs/Api/ProvisioningApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Method | HTTP request | Description
Create Subscription

Invoke the provisioning API to get a dedicated mobile number for an account or application.
Invoke the provisioning API to get a dedicated mobile number for an account or application. Note that Free Trial apps will have a 30-Day Limit for their provisioned number. If the Provisioning call is made several times within that 30-Day period, it will return the `expiryDate` in the Unix format and will not add any activeDays until after that `expiryDate`. For paid apps, a provisioned number can be allotted for a maximum of 5 years. If a Provisioning call is made which will result to activeDays > 1830, the response body will indicate that the provisioned number is already valid for more than 5 years.

### Example
```php
Expand Down
2 changes: 1 addition & 1 deletion docs/Model/MessageSentResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**messages** | [**\Telstra_Messaging\Model\Message[]**](Message.md) | An array of messages. |
**country** | **string** | An array of the countries to which the destination MSISDNs belong. | [optional]
**country** | **object[]** | An array of the countries to which the destination MSISDNs belong. | [optional]
**message_type** | **string** | This returns whether the message sent was a SMS or MMS. |
**number_segments** | **int** | For SMS messages only, the value indicates the number of 160 character message segments sent. |

Expand Down
2 changes: 1 addition & 1 deletion docs/Model/ProvisionNumberRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**active_days** | **int** | The number of days before for which this number is provisioned. Usually this will be same as the plan you buy. | [optional]
**active_days** | **int** | The number of days before for which this number is provisioned. | [optional]
**notify_url** | **string** | A notification URL that will be POSTed to whenever a new message (e.g. a reply to a message sent) arrives at this destination address. If this is not provided then you can use the Get /sms or /mms API to poll for reply messages. *Please note that the notification URLs and the Get /sms or /mms call are exclusive. If a notification URL has been set then the GET call will not provide any useful information.* | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 2 additions & 0 deletions docs/Model/ProvisionNumberResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**destination_address** | **string** | The mobile phone number that was allocated | [optional]
**description** | **string** | Metadata for provisioned numbers which are valid for more than 5 years | [optional]
**expiry_date** | **float** | Free Trial apps will have a 30-Day Limit for their provisioned number. This is in Unix time format. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
6 changes: 3 additions & 3 deletions lib/Api/AuthenticationApi.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/Api/MessagingApi.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/Api/ProvisioningApi.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/ApiException.php

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions lib/Configuration.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/HeaderSelector.php

Large diffs are not rendered by default.

18 changes: 7 additions & 11 deletions lib/Model/DeleteNumberRequest.php

Large diffs are not rendered by default.

18 changes: 7 additions & 11 deletions lib/Model/GetSubscriptionResponse.php

Large diffs are not rendered by default.

18 changes: 7 additions & 11 deletions lib/Model/InboundPollResponse.php

Large diffs are not rendered by default.

18 changes: 7 additions & 11 deletions lib/Model/MMSContent.php

Large diffs are not rendered by default.

18 changes: 7 additions & 11 deletions lib/Model/Message.php

Large diffs are not rendered by default.

24 changes: 10 additions & 14 deletions lib/Model/MessageSentResponse.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/Model/ModelInterface.php

Large diffs are not rendered by default.

18 changes: 7 additions & 11 deletions lib/Model/OAuthResponse.php

Large diffs are not rendered by default.

18 changes: 7 additions & 11 deletions lib/Model/OutboundPollResponse.php

Large diffs are not rendered by default.

20 changes: 8 additions & 12 deletions lib/Model/ProvisionNumberRequest.php

Large diffs are not rendered by default.

88 changes: 72 additions & 16 deletions lib/Model/ProvisionNumberResponse.php

Large diffs are not rendered by default.

18 changes: 7 additions & 11 deletions lib/Model/SendMmsRequest.php

Large diffs are not rendered by default.

18 changes: 7 additions & 11 deletions lib/Model/SendSMSRequest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/Model/Status.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/ObjectSerializer.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Api/AuthenticationApiTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Api/MessagingApiTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Api/ProvisioningApiTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Model/DeleteNumberRequestTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Model/GetSubscriptionResponseTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Model/InboundPollResponseTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Model/MMSContentTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Model/MessageSentResponseTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Model/MessageTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Model/OAuthResponseTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Model/OutboundPollResponseTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Model/ProvisionNumberRequestTest.php

Large diffs are not rendered by default.

20 changes: 17 additions & 3 deletions test/Model/ProvisionNumberResponseTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Model/SendMmsRequestTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Model/SendSMSRequestTest.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/Model/StatusTest.php

Large diffs are not rendered by default.

0 comments on commit a6adb74

Please sign in to comment.