Skip to content

Commit a267fa7

Browse files
committed
Resolve VCSWP-23999
1 parent de90c09 commit a267fa7

11 files changed

Lines changed: 345 additions & 45 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FreeClimb is a cloud-based application programming interface (API) that puts the
55
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
66

77
- API version: 1.0.0
8-
- SDK version: 5.3.1
8+
- SDK version: 5.2.0
99
- Generator version: 7.9.0
1010
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
1111
For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/)

api/openapi.yaml

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,16 @@ paths:
708708
deprecated: false
709709
operationId: list-calls
710710
parameters:
711+
- description: 'If usedAudioStream is set to true then all calls that have a
712+
audioStreamDuration > 0 will be returned '
713+
explode: true
714+
in: query
715+
name: usedAudioStream
716+
required: false
717+
schema:
718+
default: false
719+
type: boolean
720+
style: form
711721
- description: "If active is set to true then all calls of the nature queued,\
712722
\ ringing, inProgress are returned in the query."
713723
explode: true
@@ -880,6 +890,24 @@ paths:
880890
schema:
881891
type: string
882892
style: simple
893+
- description: "Only show Recordings created at or after this time, given as\
894+
\ YYYY-MM-DD hh:mm:ss."
895+
explode: true
896+
in: query
897+
name: startTime
898+
required: false
899+
schema:
900+
type: string
901+
style: form
902+
- description: "Only show Recordings created at or before this time, given as\
903+
\ YYYY-MM-DD hh:mm:ss."
904+
explode: true
905+
in: query
906+
name: endTime
907+
required: false
908+
schema:
909+
type: string
910+
style: form
883911
responses:
884912
"200":
885913
content:
@@ -1325,6 +1353,24 @@ paths:
13251353
schema:
13261354
type: string
13271355
style: simple
1356+
- description: "Only show Recordings created at or after this time, given as\
1357+
\ YYYY-MM-DD hh:mm:ss."
1358+
explode: true
1359+
in: query
1360+
name: startTime
1361+
required: false
1362+
schema:
1363+
type: string
1364+
style: form
1365+
- description: "Only show Recordings created at or before this time, given as\
1366+
\ YYYY-MM-DD hh:mm:ss."
1367+
explode: true
1368+
in: query
1369+
name: endTime
1370+
required: false
1371+
schema:
1372+
type: string
1373+
style: form
13281374
responses:
13291375
"200":
13301376
content:
@@ -1459,7 +1505,7 @@ paths:
14591505
$ref: '#/components/schemas/QueueRequest'
14601506
description: Queue details used to create a queue
14611507
responses:
1462-
"200":
1508+
"201":
14631509
content:
14641510
application/json:
14651511
schema:
@@ -1741,6 +1787,24 @@ paths:
17411787
type: string
17421788
style: simple
17431789
x-account-id: true
1790+
- description: "Only show Recordings created at or after this time, given as\
1791+
\ YYYY-MM-DD hh:mm:ss."
1792+
explode: true
1793+
in: query
1794+
name: startTime
1795+
required: false
1796+
schema:
1797+
type: string
1798+
style: form
1799+
- description: "Only show Recordings created at or before this time, given as\
1800+
\ YYYY-MM-DD hh:mm:ss."
1801+
explode: true
1802+
in: query
1803+
name: endTime
1804+
required: false
1805+
schema:
1806+
type: string
1807+
style: form
17441808
responses:
17451809
"200":
17461810
content:
@@ -7343,6 +7407,11 @@ components:
73437407
\ failed, unanswered or ongoing Calls."
73447408
nullable: true
73457409
type: integer
7410+
audioStreamDuration:
7411+
description: Length of time that the Call used the audio stream in seconds.
7412+
This value is empty or zero when the Call did not use the audio stream.
7413+
nullable: true
7414+
type: integer
73467415
direction:
73477416
$ref: '#/components/schemas/CallDirection'
73487417
answeredBy:
@@ -7358,6 +7427,7 @@ components:
73587427
callId: callId
73597428
answeredBy: human
73607429
parentCallId: parentCallId
7430+
audioStreamDuration: 5
73617431
uri: uri
73627432
phoneNumberId: phoneNumberId
73637433
dateUpdated: dateUpdated
@@ -7502,6 +7572,7 @@ components:
75027572
- callId: callId
75037573
answeredBy: human
75047574
parentCallId: parentCallId
7575+
audioStreamDuration: 5
75057576
uri: uri
75067577
phoneNumberId: phoneNumberId
75077578
dateUpdated: dateUpdated
@@ -7522,6 +7593,7 @@ components:
75227593
- callId: callId
75237594
answeredBy: human
75247595
parentCallId: parentCallId
7596+
audioStreamDuration: 5
75257597
uri: uri
75267598
phoneNumberId: phoneNumberId
75277599
dateUpdated: dateUpdated

docs/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
**EndTime** | **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
**ConnectDuration** | **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+
**AudioStreamDuration** | **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** | **CallDirection** | | [optional]
2425
**AnsweredBy** | **AnsweredBy** | | [optional]
2526
**SubresourceUris** | **Object** | The list of subresources for this Call. These include things like logs and recordings associated with the Call. | [optional]

docs/DefaultApi.md

Lines changed: 41 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ catch (ApiException e)
360360
### HTTP response details
361361
| Status code | Description | Response headers |
362362
|-------------|-------------|------------------|
363-
| **200** | Successfuly created queue | - |
363+
| **201** | Successfuly created queue | - |
364364

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

@@ -4368,7 +4368,7 @@ catch (ApiException e)
43684368

43694369
<a id="listcallrecordings"></a>
43704370
# **ListCallRecordings**
4371-
> RecordingList ListCallRecordings (string callId, string? dateCreated = null)
4371+
> RecordingList ListCallRecordings (string callId, string? dateCreated = null, string? startTime = null, string? endTime = null)
43724372
43734373
List Call Recordings
43744374

@@ -4398,10 +4398,14 @@ namespace Example
43984398
43994399
var dateCreated = "dateCreated_example"; // string? | Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional)
44004400
4401+
var startTime = "startTime_example"; // string? | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional)
4402+
4403+
var endTime = "endTime_example"; // string? | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. (optional)
4404+
44014405
try
44024406
{
44034407
// List Call Recordings
4404-
RecordingList result = apiInstance.ListCallRecordings(callId, dateCreated);
4408+
RecordingList result = apiInstance.ListCallRecordings(callId, dateCreated, startTime, endTime);
44054409
Debug.WriteLine(result);
44064410
}
44074411
catch (ApiException e)
@@ -4422,7 +4426,7 @@ This returns an ApiResponse object which contains the response data, status code
44224426
try
44234427
{
44244428
// List Call Recordings
4425-
ApiResponse<RecordingList> response = apiInstance.ListCallRecordingsWithHttpInfo(callId, dateCreated);
4429+
ApiResponse<RecordingList> response = apiInstance.ListCallRecordingsWithHttpInfo(callId, dateCreated, startTime, endTime);
44264430
Debug.Write("Status Code: " + response.StatusCode);
44274431
Debug.Write("Response Headers: " + response.Headers);
44284432
Debug.Write("Response Body: " + response.Data);
@@ -4445,6 +4449,10 @@ catch (ApiException e)
44454449

44464450
| **dateCreated** | **string?** | Only show recordings created on the specified date, in the form *YYYY-MM-DD*. | [optional] |
44474451

4452+
| **startTime** | **string?** | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
4453+
4454+
| **endTime** | **string?** | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
4455+
44484456

44494457
### Return type
44504458

@@ -4469,7 +4477,7 @@ catch (ApiException e)
44694477

44704478
<a id="listcalls"></a>
44714479
# **ListCalls**
4472-
> CallList ListCalls (bool? active = null, string? to = null, string? from = null, CallStatus? status = null, string? startTime = null, string? endTime = null, string? parentCallId = null, List<string>? applicationId = null, int? riskScoreMin = null, int? riskScoreMax = null)
4480+
> CallList ListCalls (bool? usedAudioStream = null, bool? active = null, string? to = null, string? from = null, CallStatus? status = null, string? startTime = null, string? endTime = null, string? parentCallId = null, List<string>? applicationId = null, int? riskScoreMin = null, int? riskScoreMax = null)
44734481
44744482
List Calls
44754483

@@ -4495,6 +4503,8 @@ namespace Example
44954503

44964504
var apiInstance = new DefaultApi(config);
44974505

4506+
var usedAudioStream = false; // bool? | If usedAudioStream is set to true then all calls that have a audioStreamDuration > 0 will be returned (optional) (default to false)
4507+
44984508
var active = false; // 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)
44994509
45004510
var to = "to_example"; // string? | Only show Calls to this phone number. (optional)
@@ -4518,7 +4528,7 @@ namespace Example
45184528
try
45194529
{
45204530
// List Calls
4521-
CallList result = apiInstance.ListCalls(active, to, from, status, startTime, endTime, parentCallId, applicationId, riskScoreMin, riskScoreMax);
4531+
CallList result = apiInstance.ListCalls(usedAudioStream, active, to, from, status, startTime, endTime, parentCallId, applicationId, riskScoreMin, riskScoreMax);
45224532
Debug.WriteLine(result);
45234533
}
45244534
catch (ApiException e)
@@ -4539,7 +4549,7 @@ This returns an ApiResponse object which contains the response data, status code
45394549
try
45404550
{
45414551
// List Calls
4542-
ApiResponse<CallList> response = apiInstance.ListCallsWithHttpInfo(active, to, from, status, startTime, endTime, parentCallId, applicationId, riskScoreMin, riskScoreMax);
4552+
ApiResponse<CallList> response = apiInstance.ListCallsWithHttpInfo(usedAudioStream, active, to, from, status, startTime, endTime, parentCallId, applicationId, riskScoreMin, riskScoreMax);
45434553
Debug.Write("Status Code: " + response.StatusCode);
45444554
Debug.Write("Response Headers: " + response.Headers);
45454555
Debug.Write("Response Body: " + response.Data);
@@ -4558,6 +4568,8 @@ catch (ApiException e)
45584568
|------|------|-------------|-------|
45594569

45604570

4571+
| **usedAudioStream** | **bool?** | If usedAudioStream is set to true then all calls that have a audioStreamDuration &gt; 0 will be returned | [optional] [default to false] |
4572+
45614573
| **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] |
45624574

45634575
| **to** | **string?** | Only show Calls to this phone number. | [optional] |
@@ -4602,7 +4614,7 @@ catch (ApiException e)
46024614

46034615
<a id="listconferencerecordings"></a>
46044616
# **ListConferenceRecordings**
4605-
> RecordingList ListConferenceRecordings (string conferenceId, string? callId = null, string? dateCreated = null)
4617+
> RecordingList ListConferenceRecordings (string conferenceId, string? callId = null, string? dateCreated = null, string? startTime = null, string? endTime = null)
46064618
46074619
List Conference Recordings
46084620

@@ -4634,10 +4646,14 @@ namespace Example
46344646
46354647
var dateCreated = "dateCreated_example"; // string? | Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional)
46364648
4649+
var startTime = "startTime_example"; // string? | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional)
4650+
4651+
var endTime = "endTime_example"; // string? | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. (optional)
4652+
46374653
try
46384654
{
46394655
// List Conference Recordings
4640-
RecordingList result = apiInstance.ListConferenceRecordings(conferenceId, callId, dateCreated);
4656+
RecordingList result = apiInstance.ListConferenceRecordings(conferenceId, callId, dateCreated, startTime, endTime);
46414657
Debug.WriteLine(result);
46424658
}
46434659
catch (ApiException e)
@@ -4658,7 +4674,7 @@ This returns an ApiResponse object which contains the response data, status code
46584674
try
46594675
{
46604676
// List Conference Recordings
4661-
ApiResponse<RecordingList> response = apiInstance.ListConferenceRecordingsWithHttpInfo(conferenceId, callId, dateCreated);
4677+
ApiResponse<RecordingList> response = apiInstance.ListConferenceRecordingsWithHttpInfo(conferenceId, callId, dateCreated, startTime, endTime);
46624678
Debug.Write("Status Code: " + response.StatusCode);
46634679
Debug.Write("Response Headers: " + response.Headers);
46644680
Debug.Write("Response Body: " + response.Data);
@@ -4683,6 +4699,10 @@ catch (ApiException e)
46834699

46844700
| **dateCreated** | **string?** | Only show Recordings created on this date, formatted as *YYYY-MM-DD*. | [optional] |
46854701

4702+
| **startTime** | **string?** | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
4703+
4704+
| **endTime** | **string?** | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
4705+
46864706

46874707
### Return type
46884708

@@ -5272,7 +5292,7 @@ catch (ApiException e)
52725292

52735293
<a id="listrecordings"></a>
52745294
# **ListRecordings**
5275-
> RecordingList ListRecordings (string? callId = null, string? conferenceId = null, string? dateCreated = null)
5295+
> RecordingList ListRecordings (string? callId = null, string? conferenceId = null, string? dateCreated = null, string? startTime = null, string? endTime = null)
52765296
52775297
List Recordings
52785298

@@ -5304,10 +5324,14 @@ namespace Example
53045324
53055325
var dateCreated = "dateCreated_example"; // string? | Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional)
53065326
5327+
var startTime = "startTime_example"; // string? | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional)
5328+
5329+
var endTime = "endTime_example"; // string? | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. (optional)
5330+
53075331
try
53085332
{
53095333
// List Recordings
5310-
RecordingList result = apiInstance.ListRecordings(callId, conferenceId, dateCreated);
5334+
RecordingList result = apiInstance.ListRecordings(callId, conferenceId, dateCreated, startTime, endTime);
53115335
Debug.WriteLine(result);
53125336
}
53135337
catch (ApiException e)
@@ -5328,7 +5352,7 @@ This returns an ApiResponse object which contains the response data, status code
53285352
try
53295353
{
53305354
// List Recordings
5331-
ApiResponse<RecordingList> response = apiInstance.ListRecordingsWithHttpInfo(callId, conferenceId, dateCreated);
5355+
ApiResponse<RecordingList> response = apiInstance.ListRecordingsWithHttpInfo(callId, conferenceId, dateCreated, startTime, endTime);
53325356
Debug.Write("Status Code: " + response.StatusCode);
53335357
Debug.Write("Response Headers: " + response.Headers);
53345358
Debug.Write("Response Body: " + response.Data);
@@ -5353,6 +5377,10 @@ catch (ApiException e)
53535377

53545378
| **dateCreated** | **string?** | Only show Recordings created on this date, formatted as *YYYY-MM-DD*. | [optional] |
53555379

5380+
| **startTime** | **string?** | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
5381+
5382+
| **endTime** | **string?** | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
5383+
53565384

53575385
### Return type
53585386

freeclimb.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 2012
33
VisualStudioVersion = 12.0.0.0
44
MinimumVisualStudioVersion = 10.0.0.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb", "src\freeclimb\freeclimb.csproj", "{F1A65C9B-6999-40AF-80E1-7EB2A02998F2}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb", "src\freeclimb\freeclimb.csproj", "{CA40309E-29B2-4572-9370-ED3C99D79924}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb.Test", "src\freeclimb.Test\freeclimb.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{F1A65C9B-6999-40AF-80E1-7EB2A02998F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{F1A65C9B-6999-40AF-80E1-7EB2A02998F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{F1A65C9B-6999-40AF-80E1-7EB2A02998F2}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{F1A65C9B-6999-40AF-80E1-7EB2A02998F2}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{CA40309E-29B2-4572-9370-ED3C99D79924}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{CA40309E-29B2-4572-9370-ED3C99D79924}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{CA40309E-29B2-4572-9370-ED3C99D79924}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{CA40309E-29B2-4572-9370-ED3C99D79924}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

0 commit comments

Comments
 (0)