Skip to content

Commit

Permalink
v2.1.600
Browse files Browse the repository at this point in the history
  • Loading branch information
johnturnham committed Dec 2, 2024
1 parent e2b1d26 commit 0d3112f
Show file tree
Hide file tree
Showing 4 changed files with 180 additions and 44 deletions.
16 changes: 12 additions & 4 deletions docs/Api/MerchantApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ No authorization required
## `countInboundSMS()`

```php
countInboundSMS($phone_number_id, $from_phone_number, $body): \OpenAPI\Client\Model\WTCountResult
countInboundSMS($phone_number_id, $from_phone_number, $body, $start_date, $end_date): \OpenAPI\Client\Model\WTCountResult
```

Count inbound SMSes
Expand All @@ -162,9 +162,11 @@ $apiInstance = new OpenAPI\Client\Api\MerchantApi(
$phone_number_id = NULL; // mixed
$from_phone_number = 'from_phone_number_example'; // string
$body = 'body_example'; // string
$start_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
$end_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime

try {
$result = $apiInstance->countInboundSMS($phone_number_id, $from_phone_number, $body);
$result = $apiInstance->countInboundSMS($phone_number_id, $from_phone_number, $body, $start_date, $end_date);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MerchantApi->countInboundSMS: ', $e->getMessage(), PHP_EOL;
Expand All @@ -178,6 +180,8 @@ try {
| **phone_number_id** | [**mixed**](../Model/.md)| | |
| **from_phone_number** | **string**| | [optional] |
| **body** | **string**| | [optional] |
| **start_date** | **\DateTime**| | [optional] |
| **end_date** | **\DateTime**| | [optional] |

### Return type

Expand Down Expand Up @@ -743,7 +747,7 @@ No authorization required
## `fetchInboundSMSByPage()`

```php
fetchInboundSMSByPage($phone_number_id, $from_phone_number, $page_size, $page_num): \OpenAPI\Client\Model\FetchInboundSMSByPage200Response
fetchInboundSMSByPage($phone_number_id, $from_phone_number, $page_size, $page_num, $start_date, $end_date): \OpenAPI\Client\Model\FetchInboundSMSByPage200Response
```

Fetch inbound SMSes by page
Expand All @@ -765,9 +769,11 @@ $phone_number_id = NULL; // mixed
$from_phone_number = 'from_phone_number_example'; // string
$page_size = 3.4; // float
$page_num = 3.4; // float
$start_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
$end_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime

try {
$result = $apiInstance->fetchInboundSMSByPage($phone_number_id, $from_phone_number, $page_size, $page_num);
$result = $apiInstance->fetchInboundSMSByPage($phone_number_id, $from_phone_number, $page_size, $page_num, $start_date, $end_date);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MerchantApi->fetchInboundSMSByPage: ', $e->getMessage(), PHP_EOL;
Expand All @@ -782,6 +788,8 @@ try {
| **from_phone_number** | **string**| | [optional] |
| **page_size** | **float**| | [optional] |
| **page_num** | **float**| | [optional] |
| **start_date** | **\DateTime**| | [optional] |
| **end_date** | **\DateTime**| | [optional] |

### Return type

Expand Down
16 changes: 12 additions & 4 deletions docs/Api/SMSApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ No authorization required
## `countOutboundSMS()`

```php
countOutboundSMS($phone_number_id, $to_phone_number, $status, $payment_object_broadcast_id): \OpenAPI\Client\Model\WTCountResult
countOutboundSMS($phone_number_id, $to_phone_number, $status, $payment_object_broadcast_id, $start_date, $end_date): \OpenAPI\Client\Model\WTCountResult
```

Count outbound SMS
Expand All @@ -418,9 +418,11 @@ $phone_number_id = 'phone_number_id_example'; // string
$to_phone_number = 'to_phone_number_example'; // string
$status = 'status_example'; // string
$payment_object_broadcast_id = 'payment_object_broadcast_id_example'; // string
$start_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
$end_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime

try {
$result = $apiInstance->countOutboundSMS($phone_number_id, $to_phone_number, $status, $payment_object_broadcast_id);
$result = $apiInstance->countOutboundSMS($phone_number_id, $to_phone_number, $status, $payment_object_broadcast_id, $start_date, $end_date);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->countOutboundSMS: ', $e->getMessage(), PHP_EOL;
Expand All @@ -435,6 +437,8 @@ try {
| **to_phone_number** | **string**| | [optional] |
| **status** | **string**| | [optional] |
| **payment_object_broadcast_id** | **string**| | [optional] |
| **start_date** | **\DateTime**| | [optional] |
| **end_date** | **\DateTime**| | [optional] |

### Return type

Expand Down Expand Up @@ -1354,7 +1358,7 @@ No authorization required
## `fetchOutboundSMSByPage()`

```php
fetchOutboundSMSByPage($phone_number_id, $to_phone_number, $payment_object_broadcast_id, $page_size, $page_num, $status): \OpenAPI\Client\Model\FetchOutboundSMSByPage200Response
fetchOutboundSMSByPage($phone_number_id, $to_phone_number, $payment_object_broadcast_id, $page_size, $page_num, $status, $start_date, $end_date): \OpenAPI\Client\Model\FetchOutboundSMSByPage200Response
```

Fetch outbound SMSes by page
Expand All @@ -1378,9 +1382,11 @@ $payment_object_broadcast_id = 'payment_object_broadcast_id_example'; // string
$page_size = 3.4; // float
$page_num = 3.4; // float
$status = new \OpenAPI\Client\Model\SSOutboundStatuses(); // SSOutboundStatuses
$start_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
$end_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime

try {
$result = $apiInstance->fetchOutboundSMSByPage($phone_number_id, $to_phone_number, $payment_object_broadcast_id, $page_size, $page_num, $status);
$result = $apiInstance->fetchOutboundSMSByPage($phone_number_id, $to_phone_number, $payment_object_broadcast_id, $page_size, $page_num, $status, $start_date, $end_date);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchOutboundSMSByPage: ', $e->getMessage(), PHP_EOL;
Expand All @@ -1397,6 +1403,8 @@ try {
| **page_size** | **float**| | [optional] |
| **page_num** | **float**| | [optional] |
| **status** | [**SSOutboundStatuses**](../Model/.md)| | [optional] |
| **start_date** | **\DateTime**| | [optional] |
| **end_date** | **\DateTime**| | [optional] |

### Return type

Expand Down
Loading

0 comments on commit 0d3112f

Please sign in to comment.