Skip to content

Commit 4aa5d5a

Browse files
committed
Resolve VCSWP-23999
1 parent a7ff54f commit 4aa5d5a

10 files changed

Lines changed: 378 additions & 60 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,6 @@ support@freeclimb.com
374374
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
375375

376376
- API version: `1.0.0`
377-
- Package version: `5.3.0`
377+
- Package version: `5.2.1`
378378
- Generator version: `7.9.0`
379379
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "freeclimbapi/php-sdk",
3-
"version": "5.3.0",
3+
"version": "5.2.1",
44
"description": "FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.",
55
"keywords": [
66
"openapitools",

docs/Api/DefaultApi.md

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2732,7 +2732,7 @@ try {
27322732
## `listCallRecordings()`
27332733

27342734
```php
2735-
listCallRecordings($call_id, $date_created): \FreeClimb\Api\Model\RecordingList
2735+
listCallRecordings($call_id, $date_created, $start_time, $end_time): \FreeClimb\Api\Model\RecordingList
27362736
```
27372737

27382738
List Call Recordings
@@ -2758,9 +2758,11 @@ $apiInstance = new FreeClimb\Api\Api\DefaultApi(
27582758
);
27592759
$call_id = 'call_id_example'; // string | String that uniquely identifies this call resource.
27602760
$date_created = 'date_created_example'; // string | Only show recordings created on the specified date, in the form *YYYY-MM-DD*.
2761+
$start_time = 'start_time_example'; // string | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.
2762+
$end_time = 'end_time_example'; // string | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.
27612763

27622764
try {
2763-
$result = $apiInstance->listCallRecordings($call_id, $date_created);
2765+
$result = $apiInstance->listCallRecordings($call_id, $date_created, $start_time, $end_time);
27642766
print_r($result);
27652767
} catch (Exception $e) {
27662768
echo 'Exception when calling DefaultApi->listCallRecordings: ', $e->getMessage(), PHP_EOL;
@@ -2773,6 +2775,8 @@ try {
27732775
| ------------- | ------------- | ------------- | ------------- |
27742776
| **call_id** | **string**| String that uniquely identifies this call resource. | |
27752777
| **date_created** | **string**| Only show recordings created on the specified date, in the form *YYYY-MM-DD*. | [optional] |
2778+
| **start_time** | **string**| Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
2779+
| **end_time** | **string**| Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
27762780

27772781
### Return type
27782782

@@ -2794,7 +2798,7 @@ try {
27942798
## `listCalls()`
27952799

27962800
```php
2797-
listCalls($active, $to, $from, $status, $start_time, $end_time, $parent_call_id, $application_id, $risk_score_min, $risk_score_max): \FreeClimb\Api\Model\CallList
2801+
listCalls($used_audio_stream, $active, $to, $from, $status, $start_time, $end_time, $parent_call_id, $application_id, $risk_score_min, $risk_score_max): \FreeClimb\Api\Model\CallList
27982802
```
27992803

28002804
List Calls
@@ -2818,6 +2822,7 @@ $apiInstance = new FreeClimb\Api\Api\DefaultApi(
28182822
new GuzzleHttp\Client(),
28192823
$config
28202824
);
2825+
$used_audio_stream = false; // bool | If usedAudioStream is set to true then all calls that have a audioStreamDuration > 0 will be returned
28212826
$active = false; // bool | If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query.
28222827
$to = 'to_example'; // string | Only show Calls to this phone number.
28232828
$from = 'from_example'; // string | Only show Calls from this phone number.
@@ -2830,7 +2835,7 @@ $risk_score_min = 56; // int | The minimum riskScore that should be included in
28302835
$risk_score_max = 56; // int | The maximum riskScore that should be included in the list.
28312836

28322837
try {
2833-
$result = $apiInstance->listCalls($active, $to, $from, $status, $start_time, $end_time, $parent_call_id, $application_id, $risk_score_min, $risk_score_max);
2838+
$result = $apiInstance->listCalls($used_audio_stream, $active, $to, $from, $status, $start_time, $end_time, $parent_call_id, $application_id, $risk_score_min, $risk_score_max);
28342839
print_r($result);
28352840
} catch (Exception $e) {
28362841
echo 'Exception when calling DefaultApi->listCalls: ', $e->getMessage(), PHP_EOL;
@@ -2841,6 +2846,7 @@ try {
28412846

28422847
| Name | Type | Description | Notes |
28432848
| ------------- | ------------- | ------------- | ------------- |
2849+
| **used_audio_stream** | **bool**| If usedAudioStream is set to true then all calls that have a audioStreamDuration > 0 will be returned | [optional] [default to false] |
28442850
| **active** | **bool**| If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. | [optional] [default to false] |
28452851
| **to** | **string**| Only show Calls to this phone number. | [optional] |
28462852
| **from** | **string**| Only show Calls from this phone number. | [optional] |
@@ -2872,7 +2878,7 @@ try {
28722878
## `listConferenceRecordings()`
28732879

28742880
```php
2875-
listConferenceRecordings($conference_id, $call_id, $date_created): \FreeClimb\Api\Model\RecordingList
2881+
listConferenceRecordings($conference_id, $call_id, $date_created, $start_time, $end_time): \FreeClimb\Api\Model\RecordingList
28762882
```
28772883

28782884
List Conference Recordings
@@ -2899,9 +2905,11 @@ $apiInstance = new FreeClimb\Api\Api\DefaultApi(
28992905
$conference_id = 'conference_id_example'; // string | Show only Recordings made during the conference with this ID.
29002906
$call_id = 'call_id_example'; // string | Show only Recordings made during the Call with this ID.
29012907
$date_created = 'date_created_example'; // string | Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
2908+
$start_time = 'start_time_example'; // string | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.
2909+
$end_time = 'end_time_example'; // string | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.
29022910

29032911
try {
2904-
$result = $apiInstance->listConferenceRecordings($conference_id, $call_id, $date_created);
2912+
$result = $apiInstance->listConferenceRecordings($conference_id, $call_id, $date_created, $start_time, $end_time);
29052913
print_r($result);
29062914
} catch (Exception $e) {
29072915
echo 'Exception when calling DefaultApi->listConferenceRecordings: ', $e->getMessage(), PHP_EOL;
@@ -2915,6 +2923,8 @@ try {
29152923
| **conference_id** | **string**| Show only Recordings made during the conference with this ID. | |
29162924
| **call_id** | **string**| Show only Recordings made during the Call with this ID. | [optional] |
29172925
| **date_created** | **string**| Only show Recordings created on this date, formatted as *YYYY-MM-DD*. | [optional] |
2926+
| **start_time** | **string**| Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
2927+
| **end_time** | **string**| Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
29182928

29192929
### Return type
29202930

@@ -3276,7 +3286,7 @@ try {
32763286
## `listRecordings()`
32773287

32783288
```php
3279-
listRecordings($call_id, $conference_id, $date_created): \FreeClimb\Api\Model\RecordingList
3289+
listRecordings($call_id, $conference_id, $date_created, $start_time, $end_time): \FreeClimb\Api\Model\RecordingList
32803290
```
32813291

32823292
List Recordings
@@ -3303,9 +3313,11 @@ $apiInstance = new FreeClimb\Api\Api\DefaultApi(
33033313
$call_id = 'call_id_example'; // string | Show only Recordings made during the Call with this ID.
33043314
$conference_id = 'conference_id_example'; // string | Show only Recordings made during the conference with this ID.
33053315
$date_created = 'date_created_example'; // string | Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
3316+
$start_time = 'start_time_example'; // string | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.
3317+
$end_time = 'end_time_example'; // string | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.
33063318

33073319
try {
3308-
$result = $apiInstance->listRecordings($call_id, $conference_id, $date_created);
3320+
$result = $apiInstance->listRecordings($call_id, $conference_id, $date_created, $start_time, $end_time);
33093321
print_r($result);
33103322
} catch (Exception $e) {
33113323
echo 'Exception when calling DefaultApi->listRecordings: ', $e->getMessage(), PHP_EOL;
@@ -3319,6 +3331,8 @@ try {
33193331
| **call_id** | **string**| Show only Recordings made during the Call with this ID. | [optional] |
33203332
| **conference_id** | **string**| Show only Recordings made during the conference with this ID. | [optional] |
33213333
| **date_created** | **string**| Only show Recordings created on this date, formatted as *YYYY-MM-DD*. | [optional] |
3334+
| **start_time** | **string**| Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
3335+
| **end_time** | **string**| Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
33223336

33233337
### Return type
33243338

docs/Model/CallResult.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
2020
**end_time** | **string** | End time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call did not complete successfully. | [optional]
2121
**duration** | **int** | Total length of the Call in seconds. Measures time between startTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls. | [optional]
2222
**connect_duration** | **int** | Length of time that the Call was connected in seconds. Measures time between connectTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls. | [optional]
23+
**audio_stream_duration** | **int** | Length of time that the Call used the audio stream in seconds. This value is empty or zero when the Call did not use the audio stream. | [optional]
2324
**direction** | [**\FreeClimb\Api\Model\CallDirection**](CallDirection.md) | | [optional]
2425
**answered_by** | [**\FreeClimb\Api\Model\AnsweredBy**](AnsweredBy.md) | | [optional]
2526
**subresource_uris** | **object** | The list of subresources for this Call. These include things like logs and recordings associated with the Call. | [optional]

0 commit comments

Comments
 (0)