Skip to content

Commit 22801d6

Browse files
authored
Resolve VCSWP-22700 (#52)
* Fix test files and SDK file auto-generation * Fix TranscribeUtterance description in openapi.json file * Re-add manual tests and update openapi.json file
1 parent 14f1ff0 commit 22801d6

File tree

164 files changed

+23173
-9245
lines changed

Some content is hidden

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

164 files changed

+23173
-9245
lines changed

.openapi-generator/FILES

Lines changed: 148 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ docs/StartRecordCall.md
140140
docs/TFN.md
141141
docs/TerminateConference.md
142142
docs/TranscribeUtterance.md
143-
docs/TranscribeUtteranceRecord.md
143+
docs/TranscribeUtteranceAllOf.md
144+
docs/TranscribeUtteranceAllOfRecord.md
144145
docs/Unpark.md
145146
docs/UpdateCallRequest.md
146147
docs/UpdateCallRequestStatus.md
@@ -305,7 +306,8 @@ src/main/java/com/github/freeclimbapi/StringUtil.java
305306
src/main/java/com/github/freeclimbapi/TFN.java
306307
src/main/java/com/github/freeclimbapi/TerminateConference.java
307308
src/main/java/com/github/freeclimbapi/TranscribeUtterance.java
308-
src/main/java/com/github/freeclimbapi/TranscribeUtteranceRecord.java
309+
src/main/java/com/github/freeclimbapi/TranscribeUtteranceAllOf.java
310+
src/main/java/com/github/freeclimbapi/TranscribeUtteranceAllOfRecord.java
309311
src/main/java/com/github/freeclimbapi/Unpark.java
310312
src/main/java/com/github/freeclimbapi/UpdateCallRequest.java
311313
src/main/java/com/github/freeclimbapi/UpdateCallRequestStatus.java
@@ -316,3 +318,147 @@ src/main/java/com/github/freeclimbapi/auth/ApiKeyAuth.java
316318
src/main/java/com/github/freeclimbapi/auth/Authentication.java
317319
src/main/java/com/github/freeclimbapi/auth/HttpBasicAuth.java
318320
src/main/java/com/github/freeclimbapi/auth/HttpBearerAuth.java
321+
src/test/java/com/github/freeclimbapi/AccountRequestTest.java
322+
src/test/java/com/github/freeclimbapi/AccountResultAllOfTest.java
323+
src/test/java/com/github/freeclimbapi/AccountResultTest.java
324+
src/test/java/com/github/freeclimbapi/AccountStatusTest.java
325+
src/test/java/com/github/freeclimbapi/AccountTypeTest.java
326+
src/test/java/com/github/freeclimbapi/AddToConferenceAllOfTest.java
327+
src/test/java/com/github/freeclimbapi/AddToConferenceTest.java
328+
src/test/java/com/github/freeclimbapi/AnsweredByTest.java
329+
src/test/java/com/github/freeclimbapi/ApplicationListAllOfTest.java
330+
src/test/java/com/github/freeclimbapi/ApplicationListTest.java
331+
src/test/java/com/github/freeclimbapi/ApplicationRequestTest.java
332+
src/test/java/com/github/freeclimbapi/ApplicationResultAllOfTest.java
333+
src/test/java/com/github/freeclimbapi/ApplicationResultTest.java
334+
src/test/java/com/github/freeclimbapi/AvailableNumberListAllOfTest.java
335+
src/test/java/com/github/freeclimbapi/AvailableNumberListTest.java
336+
src/test/java/com/github/freeclimbapi/AvailableNumberTest.java
337+
src/test/java/com/github/freeclimbapi/BuyIncomingNumberRequestTest.java
338+
src/test/java/com/github/freeclimbapi/CallDirectionTest.java
339+
src/test/java/com/github/freeclimbapi/CallListAllOfTest.java
340+
src/test/java/com/github/freeclimbapi/CallListTest.java
341+
src/test/java/com/github/freeclimbapi/CallResultAllOfTest.java
342+
src/test/java/com/github/freeclimbapi/CallResultTest.java
343+
src/test/java/com/github/freeclimbapi/CallStatusTest.java
344+
src/test/java/com/github/freeclimbapi/CapabilitiesTest.java
345+
src/test/java/com/github/freeclimbapi/ConferenceListAllOfTest.java
346+
src/test/java/com/github/freeclimbapi/ConferenceListTest.java
347+
src/test/java/com/github/freeclimbapi/ConferenceParticipantListAllOfTest.java
348+
src/test/java/com/github/freeclimbapi/ConferenceParticipantListTest.java
349+
src/test/java/com/github/freeclimbapi/ConferenceParticipantResultAllOfTest.java
350+
src/test/java/com/github/freeclimbapi/ConferenceParticipantResultTest.java
351+
src/test/java/com/github/freeclimbapi/ConferenceResultAllOfTest.java
352+
src/test/java/com/github/freeclimbapi/ConferenceResultTest.java
353+
src/test/java/com/github/freeclimbapi/ConferenceStatusTest.java
354+
src/test/java/com/github/freeclimbapi/CreateConferenceAllOfTest.java
355+
src/test/java/com/github/freeclimbapi/CreateConferenceRequestTest.java
356+
src/test/java/com/github/freeclimbapi/CreateConferenceTest.java
357+
src/test/java/com/github/freeclimbapi/CreateWebRTCTokenTest.java
358+
src/test/java/com/github/freeclimbapi/DefaultApiTest.java
359+
src/test/java/com/github/freeclimbapi/DequeueTest.java
360+
src/test/java/com/github/freeclimbapi/EnqueueAllOfTest.java
361+
src/test/java/com/github/freeclimbapi/EnqueueTest.java
362+
src/test/java/com/github/freeclimbapi/FilterLogsRequestTest.java
363+
src/test/java/com/github/freeclimbapi/GetDigitsAllOfTest.java
364+
src/test/java/com/github/freeclimbapi/GetDigitsTest.java
365+
src/test/java/com/github/freeclimbapi/GetSpeechAllOfTest.java
366+
src/test/java/com/github/freeclimbapi/GetSpeechReasonTest.java
367+
src/test/java/com/github/freeclimbapi/GetSpeechTest.java
368+
src/test/java/com/github/freeclimbapi/GrammarFileBuiltInTest.java
369+
src/test/java/com/github/freeclimbapi/GrammarTypeTest.java
370+
src/test/java/com/github/freeclimbapi/HangupAllOfTest.java
371+
src/test/java/com/github/freeclimbapi/HangupTest.java
372+
src/test/java/com/github/freeclimbapi/IfMachineTest.java
373+
src/test/java/com/github/freeclimbapi/IncomingNumberListAllOfTest.java
374+
src/test/java/com/github/freeclimbapi/IncomingNumberListTest.java
375+
src/test/java/com/github/freeclimbapi/IncomingNumberRequestTest.java
376+
src/test/java/com/github/freeclimbapi/IncomingNumberResultAllOfTest.java
377+
src/test/java/com/github/freeclimbapi/IncomingNumberResultTest.java
378+
src/test/java/com/github/freeclimbapi/LanguageTest.java
379+
src/test/java/com/github/freeclimbapi/LogLevelTest.java
380+
src/test/java/com/github/freeclimbapi/LogListAllOfTest.java
381+
src/test/java/com/github/freeclimbapi/LogListTest.java
382+
src/test/java/com/github/freeclimbapi/LogResultTest.java
383+
src/test/java/com/github/freeclimbapi/MachineTypeTest.java
384+
src/test/java/com/github/freeclimbapi/MakeCallRequestTest.java
385+
src/test/java/com/github/freeclimbapi/MessageDirectionTest.java
386+
src/test/java/com/github/freeclimbapi/MessageRequestAllOfTest.java
387+
src/test/java/com/github/freeclimbapi/MessageRequestTest.java
388+
src/test/java/com/github/freeclimbapi/MessageResultAllOfTest.java
389+
src/test/java/com/github/freeclimbapi/MessageResultTest.java
390+
src/test/java/com/github/freeclimbapi/MessageStatusTest.java
391+
src/test/java/com/github/freeclimbapi/MessagesListAllOfTest.java
392+
src/test/java/com/github/freeclimbapi/MessagesListTest.java
393+
src/test/java/com/github/freeclimbapi/MutableResourceModelTest.java
394+
src/test/java/com/github/freeclimbapi/OutDialAllOfTest.java
395+
src/test/java/com/github/freeclimbapi/OutDialTest.java
396+
src/test/java/com/github/freeclimbapi/PaginationModelTest.java
397+
src/test/java/com/github/freeclimbapi/ParkAllOfTest.java
398+
src/test/java/com/github/freeclimbapi/ParkTest.java
399+
src/test/java/com/github/freeclimbapi/PauseAllOfTest.java
400+
src/test/java/com/github/freeclimbapi/PauseTest.java
401+
src/test/java/com/github/freeclimbapi/PerclCommandTest.java
402+
src/test/java/com/github/freeclimbapi/PerclScriptTest.java
403+
src/test/java/com/github/freeclimbapi/PlayAllOfTest.java
404+
src/test/java/com/github/freeclimbapi/PlayBeepTest.java
405+
src/test/java/com/github/freeclimbapi/PlayEarlyMediaAllOfTest.java
406+
src/test/java/com/github/freeclimbapi/PlayEarlyMediaTest.java
407+
src/test/java/com/github/freeclimbapi/PlayTest.java
408+
src/test/java/com/github/freeclimbapi/QueueListAllOfTest.java
409+
src/test/java/com/github/freeclimbapi/QueueListTest.java
410+
src/test/java/com/github/freeclimbapi/QueueMemberListAllOfTest.java
411+
src/test/java/com/github/freeclimbapi/QueueMemberListTest.java
412+
src/test/java/com/github/freeclimbapi/QueueMemberTest.java
413+
src/test/java/com/github/freeclimbapi/QueueRequestTest.java
414+
src/test/java/com/github/freeclimbapi/QueueResultAllOfTest.java
415+
src/test/java/com/github/freeclimbapi/QueueResultStatusTest.java
416+
src/test/java/com/github/freeclimbapi/QueueResultTest.java
417+
src/test/java/com/github/freeclimbapi/RecordUtteranceAllOfTest.java
418+
src/test/java/com/github/freeclimbapi/RecordUtteranceTermReasonTest.java
419+
src/test/java/com/github/freeclimbapi/RecordUtteranceTest.java
420+
src/test/java/com/github/freeclimbapi/RecordingListAllOfTest.java
421+
src/test/java/com/github/freeclimbapi/RecordingListTest.java
422+
src/test/java/com/github/freeclimbapi/RecordingResultAllOfTest.java
423+
src/test/java/com/github/freeclimbapi/RecordingResultTest.java
424+
src/test/java/com/github/freeclimbapi/RedirectAllOfTest.java
425+
src/test/java/com/github/freeclimbapi/RedirectTest.java
426+
src/test/java/com/github/freeclimbapi/RejectAllOfTest.java
427+
src/test/java/com/github/freeclimbapi/RejectTest.java
428+
src/test/java/com/github/freeclimbapi/RemoveFromConferenceTest.java
429+
src/test/java/com/github/freeclimbapi/RequestTypeTest.java
430+
src/test/java/com/github/freeclimbapi/SMSTenDLCBrandTest.java
431+
src/test/java/com/github/freeclimbapi/SMSTenDLCBrandsListResultAllOfTest.java
432+
src/test/java/com/github/freeclimbapi/SMSTenDLCBrandsListResultTest.java
433+
src/test/java/com/github/freeclimbapi/SMSTenDLCCampaignTest.java
434+
src/test/java/com/github/freeclimbapi/SMSTenDLCCampaignsListResultAllOfTest.java
435+
src/test/java/com/github/freeclimbapi/SMSTenDLCCampaignsListResultTest.java
436+
src/test/java/com/github/freeclimbapi/SMSTenDLCPartnerCampaignBrandTest.java
437+
src/test/java/com/github/freeclimbapi/SMSTenDLCPartnerCampaignTest.java
438+
src/test/java/com/github/freeclimbapi/SMSTenDLCPartnerCampaignsListResultAllOfTest.java
439+
src/test/java/com/github/freeclimbapi/SMSTenDLCPartnerCampaignsListResultTest.java
440+
src/test/java/com/github/freeclimbapi/SMSTollFreeCampaignTest.java
441+
src/test/java/com/github/freeclimbapi/SMSTollFreeCampaignsListResultAllOfTest.java
442+
src/test/java/com/github/freeclimbapi/SMSTollFreeCampaignsListResultTest.java
443+
src/test/java/com/github/freeclimbapi/SayAllOfTest.java
444+
src/test/java/com/github/freeclimbapi/SayTest.java
445+
src/test/java/com/github/freeclimbapi/SendDigitsAllOfTest.java
446+
src/test/java/com/github/freeclimbapi/SendDigitsTest.java
447+
src/test/java/com/github/freeclimbapi/SetListenAllOfTest.java
448+
src/test/java/com/github/freeclimbapi/SetListenTest.java
449+
src/test/java/com/github/freeclimbapi/SetTalkAllOfTest.java
450+
src/test/java/com/github/freeclimbapi/SetTalkTest.java
451+
src/test/java/com/github/freeclimbapi/SmsAllOfTest.java
452+
src/test/java/com/github/freeclimbapi/SmsTest.java
453+
src/test/java/com/github/freeclimbapi/StartRecordCallTest.java
454+
src/test/java/com/github/freeclimbapi/TFNTest.java
455+
src/test/java/com/github/freeclimbapi/TerminateConferenceTest.java
456+
src/test/java/com/github/freeclimbapi/TranscribeUtteranceAllOfRecordTest.java
457+
src/test/java/com/github/freeclimbapi/TranscribeUtteranceAllOfTest.java
458+
src/test/java/com/github/freeclimbapi/TranscribeUtteranceTest.java
459+
src/test/java/com/github/freeclimbapi/UnparkTest.java
460+
src/test/java/com/github/freeclimbapi/UpdateCallRequestStatusTest.java
461+
src/test/java/com/github/freeclimbapi/UpdateCallRequestTest.java
462+
src/test/java/com/github/freeclimbapi/UpdateConferenceParticipantRequestTest.java
463+
src/test/java/com/github/freeclimbapi/UpdateConferenceRequestStatusTest.java
464+
src/test/java/com/github/freeclimbapi/UpdateConferenceRequestTest.java

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
4040
<dependency>
4141
<groupId>com.github.freeclimbapi</groupId>
4242
<artifactId>freeclimb-java-client</artifactId>
43-
<version>5.6.0</version>
43+
<version>5.6.1</version>
4444
<scope>compile</scope>
4545
</dependency>
4646
```
@@ -56,7 +56,7 @@ Add this dependency to your project's build file:
5656
}
5757
5858
dependencies {
59-
implementation "com.github.freeclimbapi:freeclimb-java-client:5.6.0"
59+
implementation "com.github.freeclimbapi:freeclimb-java-client:5.6.1"
6060
implementation("com.squareup.okhttp3:okhttp:4.9.3")
6161
implementation("com.squareup.okhttp3:logging-interceptor:4.9.3")
6262
}
@@ -72,7 +72,7 @@ mvn clean package
7272

7373
Then manually install the following JARs:
7474

75-
* `target/freeclimb-java-client-5.6.0.jar`
75+
* `target/freeclimb-java-client-5.6.1.jar`
7676
* `target/lib/*.jar`
7777

7878
## Getting Started
@@ -338,7 +338,8 @@ Class | Method | HTTP request | Description
338338
- [TFN](docs/TFN.md)
339339
- [TerminateConference](docs/TerminateConference.md)
340340
- [TranscribeUtterance](docs/TranscribeUtterance.md)
341-
- [TranscribeUtteranceRecord](docs/TranscribeUtteranceRecord.md)
341+
- [TranscribeUtteranceAllOf](docs/TranscribeUtteranceAllOf.md)
342+
- [TranscribeUtteranceAllOfRecord](docs/TranscribeUtteranceAllOfRecord.md)
342343
- [Unpark](docs/Unpark.md)
343344
- [UpdateCallRequest](docs/UpdateCallRequest.md)
344345
- [UpdateCallRequestStatus](docs/UpdateCallRequestStatus.md)

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'com.github.freeclimbapi'
7-
version = '5.6.0'
7+
version = '5.6.1'
88

99
buildscript {
1010
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.github.freeclimbapi",
44
name := "freeclimb-java-client",
5-
version := "5.6.0",
5+
version := "5.6.1",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/DefaultApi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2617,7 +2617,7 @@ Name | Type | Description | Notes
26172617

26182618
<a name="listConferenceRecordings"></a>
26192619
# **listConferenceRecordings**
2620-
> RecordingList listConferenceRecordings(callId, conferenceId, dateCreated)
2620+
> RecordingList listConferenceRecordings(conferenceId, callId, dateCreated)
26212621
26222622
List Conference Recordings
26232623

@@ -2642,14 +2642,14 @@ public class Example {
26422642

26432643
DefaultApi apiInstance = new DefaultApi(defaultClient);
26442644

2645-
String callId = "callId_example"; // String | Show only Recordings made during the Call with this ID.
2646-
26472645
String conferenceId = "conferenceId_example"; // String | Show only Recordings made during the conference with this ID.
26482646

2647+
String callId = "callId_example"; // String | Show only Recordings made during the Call with this ID.
2648+
26492649
String dateCreated = "dateCreated_example"; // String | Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
26502650

26512651
try {
2652-
RecordingList result = apiInstance.listConferenceRecordings(callId, conferenceId, dateCreated);
2652+
RecordingList result = apiInstance.listConferenceRecordings(conferenceId, callId, dateCreated);
26532653
System.out.println(result);
26542654
} catch (ApiException e) {
26552655
System.err.println("Exception when calling DefaultApi#listConferenceRecordings");
@@ -2666,8 +2666,8 @@ public class Example {
26662666

26672667
Name | Type | Description | Notes
26682668
------------- | ------------- | ------------- | -------------
2669+
**conferenceId** | **String**| Show only Recordings made during the conference with this ID. |
26692670
**callId** | **String**| Show only Recordings made during the Call with this ID. | [optional]
2670-
**conferenceId** | **String**| Show only Recordings made during the conference with this ID. | [optional]
26712671
**dateCreated** | **String**| Only show Recordings created on this date, formatted as *YYYY-MM-DD*. | [optional]
26722672

26732673

docs/TranscribeUtterance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**actionUrl** | **String** | |
1212
**playBeep** | **Boolean** | | [optional]
13-
**record** | [**TranscribeUtteranceRecord**](TranscribeUtteranceRecord.md) | | [optional]
13+
**record** | [**TranscribeUtteranceAllOfRecord**](TranscribeUtteranceAllOfRecord.md) | | [optional]
1414
**privacyForLogging** | **Boolean** | | [optional]
1515
**privacyForRecording** | **Boolean** | | [optional]
1616
**prompts** | **List&lt;Object&gt;** | | [optional]

docs/TranscribeUtteranceAllOf.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
3+
# TranscribeUtteranceAllOf
4+
5+
The `TranscribeUtterance` command transcribes the caller’s voice and returns transcription of the audio and optionally returns the recording of the audio transcribed. `TranscribeUtterance` is blocking and is a terminal command. As such, the actionUrl property is required, and control of the Call picks up using the `PerCL` returned in response of the `actionUrl`. Recording and Transcription information is returned in the actionUrl request. If the reason this command ended was due to the call hanging up, any PerCL returned will not execute.
6+
7+
## Properties
8+
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**actionUrl** | **String** | |
12+
**playBeep** | **Boolean** | | [optional]
13+
**record** | [**TranscribeUtteranceAllOfRecord**](TranscribeUtteranceAllOfRecord.md) | | [optional]
14+
**privacyForLogging** | **Boolean** | | [optional]
15+
**privacyForRecording** | **Boolean** | | [optional]
16+
**prompts** | **List&lt;Object&gt;** | | [optional]
17+
18+
19+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
# TranscribeUtteranceAllOfRecord
4+
5+
6+
## Properties
7+
8+
Name | Type | Description | Notes
9+
------------ | ------------- | ------------- | -------------
10+
**saveRecording** | **Boolean** | | [optional]
11+
**maxLengthSec** | **Integer** | | [optional]
12+
**rcrdTerminationSilenceTimeMs** | **Integer** | | [optional]
13+
14+
15+

0 commit comments

Comments
 (0)