Skip to content

Commit c394383

Browse files
authored
Vcswp 26275 (#63)
* Add new models for Exports and fix CallResult * Fix vulnerable dependencies * Fix gradle build file * Fix more gradle errors
1 parent d4926bd commit c394383

Some content is hidden

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

43 files changed

+5131
-252
lines changed

.openapi-generator/FILES

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ docs/DefaultApi.md
4646
docs/Dequeue.md
4747
docs/DequeueWebhook.md
4848
docs/Enqueue.md
49+
docs/ExportList.md
50+
docs/ExportOutputType.md
51+
docs/ExportRequest.md
52+
docs/ExportRequestOutput.md
53+
docs/ExportResourceType.md
54+
docs/ExportResult.md
55+
docs/ExportResultOutput.md
56+
docs/ExportStatus.md
4957
docs/FilterLogsRequest.md
5058
docs/GetDigits.md
5159
docs/GetDigitsReason.md
@@ -202,6 +210,14 @@ src/main/java/com/github/freeclimbapi/DefaultApi.java
202210
src/main/java/com/github/freeclimbapi/Dequeue.java
203211
src/main/java/com/github/freeclimbapi/DequeueWebhook.java
204212
src/main/java/com/github/freeclimbapi/Enqueue.java
213+
src/main/java/com/github/freeclimbapi/ExportList.java
214+
src/main/java/com/github/freeclimbapi/ExportOutputType.java
215+
src/main/java/com/github/freeclimbapi/ExportRequest.java
216+
src/main/java/com/github/freeclimbapi/ExportRequestOutput.java
217+
src/main/java/com/github/freeclimbapi/ExportResourceType.java
218+
src/main/java/com/github/freeclimbapi/ExportResult.java
219+
src/main/java/com/github/freeclimbapi/ExportResultOutput.java
220+
src/main/java/com/github/freeclimbapi/ExportStatus.java
205221
src/main/java/com/github/freeclimbapi/FilterLogsRequest.java
206222
src/main/java/com/github/freeclimbapi/GetDigits.java
207223
src/main/java/com/github/freeclimbapi/GetDigitsReason.java
@@ -355,6 +371,14 @@ src/test/java/com/github/freeclimbapi/DefaultApiTest.java
355371
src/test/java/com/github/freeclimbapi/DequeueTest.java
356372
src/test/java/com/github/freeclimbapi/DequeueWebhookTest.java
357373
src/test/java/com/github/freeclimbapi/EnqueueTest.java
374+
src/test/java/com/github/freeclimbapi/ExportListTest.java
375+
src/test/java/com/github/freeclimbapi/ExportOutputTypeTest.java
376+
src/test/java/com/github/freeclimbapi/ExportRequestOutputTest.java
377+
src/test/java/com/github/freeclimbapi/ExportRequestTest.java
378+
src/test/java/com/github/freeclimbapi/ExportResourceTypeTest.java
379+
src/test/java/com/github/freeclimbapi/ExportResultOutputTest.java
380+
src/test/java/com/github/freeclimbapi/ExportResultTest.java
381+
src/test/java/com/github/freeclimbapi/ExportStatusTest.java
358382
src/test/java/com/github/freeclimbapi/FilterLogsRequestTest.java
359383
src/test/java/com/github/freeclimbapi/GetDigitsReasonTest.java
360384
src/test/java/com/github/freeclimbapi/GetDigitsTest.java

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
99

1010
None
1111

12+
<a name="6.2.0"></a>
13+
14+
## [6.2.0] - 2025-09-24
15+
16+
### Added
17+
18+
- Add models for ExportResult and ExportRequest
19+
20+
### Changed
21+
22+
- CallResult.callStatus -> CallResult.status
23+
- CreateConference now includes parentCallId
24+
1225
<a name="6.1.2"></a>
1326

1427
## [6.1.2] - 2025-02-18

README.md

Lines changed: 16 additions & 3 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>6.1.2</version>
43+
<version>6.2.0</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:6.1.2"
59+
implementation "com.github.freeclimbapi:freeclimb-java-client:6.2.0"
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-6.1.2.jar`
75+
* `target/freeclimb-java-client-6.2.0.jar`
7676
* `target/lib/*.jar`
7777

7878
## Getting Started
@@ -147,13 +147,16 @@ Class | Method | HTTP request | Description
147147
*DefaultApi* | [**createAConference**](docs/DefaultApi.md#createAConference) | **POST** /Accounts/{accountId}/Conferences | Create a Conference
148148
*DefaultApi* | [**createAQueue**](docs/DefaultApi.md#createAQueue) | **POST** /Accounts/{accountId}/Queues | Create a Queue
149149
*DefaultApi* | [**createAnApplication**](docs/DefaultApi.md#createAnApplication) | **POST** /Accounts/{accountId}/Applications | Create an application
150+
*DefaultApi* | [**createExport**](docs/DefaultApi.md#createExport) | **POST** /Accounts/{accountId}/Exports | Create an Export
150151
*DefaultApi* | [**createKnowledgeBaseCompletion**](docs/DefaultApi.md#createKnowledgeBaseCompletion) | **POST** /Accounts/{accountId}/KnowledgeBases/{knowledgeBaseId}/Completion | Query the knowledge base
151152
*DefaultApi* | [**deleteARecording**](docs/DefaultApi.md#deleteARecording) | **DELETE** /Accounts/{accountId}/Recordings/{recordingId} | Delete a Recording
152153
*DefaultApi* | [**deleteAnApplication**](docs/DefaultApi.md#deleteAnApplication) | **DELETE** /Accounts/{accountId}/Applications/{applicationId} | Delete an application
154+
*DefaultApi* | [**deleteAnExport**](docs/DefaultApi.md#deleteAnExport) | **DELETE** /Accounts/{accountId}/Exports/{exportId} | Delete an Export
153155
*DefaultApi* | [**deleteAnIncomingNumber**](docs/DefaultApi.md#deleteAnIncomingNumber) | **DELETE** /Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId} | Delete an Incoming Number
154156
*DefaultApi* | [**dequeueAMember**](docs/DefaultApi.md#dequeueAMember) | **POST** /Accounts/{accountId}/Queues/{queueId}/Members/{callId} | Dequeue a Member
155157
*DefaultApi* | [**dequeueHeadMember**](docs/DefaultApi.md#dequeueHeadMember) | **POST** /Accounts/{accountId}/Queues/{queueId}/Members/Front | Dequeue Head Member
156158
*DefaultApi* | [**downloadARecordingFile**](docs/DefaultApi.md#downloadARecordingFile) | **GET** /Accounts/{accountId}/Recordings/{recordingId}/Download | Download a Recording File
159+
*DefaultApi* | [**downloadAnExport**](docs/DefaultApi.md#downloadAnExport) | **GET** /Accounts/{accountId}/Exports/{exportId}/Download | Download an Export
157160
*DefaultApi* | [**filterLogs**](docs/DefaultApi.md#filterLogs) | **POST** /Accounts/{accountId}/Logs | Filter Logs
158161
*DefaultApi* | [**getACall**](docs/DefaultApi.md#getACall) | **GET** /Accounts/{accountId}/Calls/{callId} | Get a Call
159162
*DefaultApi* | [**getAConference**](docs/DefaultApi.md#getAConference) | **GET** /Accounts/{accountId}/Conferences/{conferenceId} | Get a Conference
@@ -163,6 +166,7 @@ Class | Method | HTTP request | Description
163166
*DefaultApi* | [**getARecording**](docs/DefaultApi.md#getARecording) | **GET** /Accounts/{accountId}/Recordings/{recordingId} | Get a Recording
164167
*DefaultApi* | [**getAnAccount**](docs/DefaultApi.md#getAnAccount) | **GET** /Accounts/{accountId} | Get an Account
165168
*DefaultApi* | [**getAnApplication**](docs/DefaultApi.md#getAnApplication) | **GET** /Accounts/{accountId}/Applications/{applicationId} | Get an Application
169+
*DefaultApi* | [**getAnExport**](docs/DefaultApi.md#getAnExport) | **GET** /Accounts/{accountId}/Exports/{exportId} | Get an Export
166170
*DefaultApi* | [**getAnIncomingNumber**](docs/DefaultApi.md#getAnIncomingNumber) | **GET** /Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId} | Get an Incoming Number
167171
*DefaultApi* | [**getAnSmsMessage**](docs/DefaultApi.md#getAnSmsMessage) | **GET** /Accounts/{accountId}/Messages/{messageId} | Get an SMS Message
168172
*DefaultApi* | [**getHeadMember**](docs/DefaultApi.md#getHeadMember) | **GET** /Accounts/{accountId}/Queues/{queueId}/Members/Front | Get Head Member
@@ -183,6 +187,7 @@ Class | Method | HTTP request | Description
183187
*DefaultApi* | [**listCalls**](docs/DefaultApi.md#listCalls) | **GET** /Accounts/{accountId}/Calls | List Calls
184188
*DefaultApi* | [**listConferenceRecordings**](docs/DefaultApi.md#listConferenceRecordings) | **GET** /Accounts/{accountId}/Conferences/{conferenceId}/Recordings | List Conference Recordings
185189
*DefaultApi* | [**listConferences**](docs/DefaultApi.md#listConferences) | **GET** /Accounts/{accountId}/Conferences | List Conferences
190+
*DefaultApi* | [**listExports**](docs/DefaultApi.md#listExports) | **GET** /Accounts/{accountId}/Exports | List Exports
186191
*DefaultApi* | [**listIncomingNumbers**](docs/DefaultApi.md#listIncomingNumbers) | **GET** /Accounts/{accountId}/IncomingPhoneNumbers | List Incoming Numbers
187192
*DefaultApi* | [**listMembers**](docs/DefaultApi.md#listMembers) | **GET** /Accounts/{accountId}/Queues/{queueId}/Members | List Members
188193
*DefaultApi* | [**listParticipants**](docs/DefaultApi.md#listParticipants) | **GET** /Accounts/{accountId}/Conferences/{conferenceId}/Participants | List Participants
@@ -244,6 +249,14 @@ Class | Method | HTTP request | Description
244249
- [Dequeue](docs/Dequeue.md)
245250
- [DequeueWebhook](docs/DequeueWebhook.md)
246251
- [Enqueue](docs/Enqueue.md)
252+
- [ExportList](docs/ExportList.md)
253+
- [ExportOutputType](docs/ExportOutputType.md)
254+
- [ExportRequest](docs/ExportRequest.md)
255+
- [ExportRequestOutput](docs/ExportRequestOutput.md)
256+
- [ExportResourceType](docs/ExportResourceType.md)
257+
- [ExportResult](docs/ExportResult.md)
258+
- [ExportResultOutput](docs/ExportResultOutput.md)
259+
- [ExportStatus](docs/ExportStatus.md)
247260
- [FilterLogsRequest](docs/FilterLogsRequest.md)
248261
- [GetDigits](docs/GetDigits.md)
249262
- [GetDigitsReason](docs/GetDigitsReason.md)

build.gradle

Lines changed: 7 additions & 5 deletions
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 = '6.1.2'
7+
version = '6.2.0'
88

99
buildscript {
1010
repositories {
@@ -83,8 +83,10 @@ if(hasProperty('target') && target == 'android') {
8383
apply plugin: 'java'
8484
apply plugin: 'maven-publish'
8585

86-
sourceCompatibility = JavaVersion.VERSION_1_8
87-
targetCompatibility = JavaVersion.VERSION_1_8
86+
java {
87+
sourceCompatibility = JavaVersion.VERSION_1_8
88+
targetCompatibility = JavaVersion.VERSION_1_8
89+
}
8890

8991
publishing {
9092
publications {
@@ -96,7 +98,7 @@ if(hasProperty('target') && target == 'android') {
9698
}
9799

98100
task execute(type:JavaExec) {
99-
main = System.getProperty('mainClass')
101+
mainClass = System.getProperty('mainClass')
100102
classpath = sourceSets.main.runtimeClasspath
101103
}
102104
}
@@ -113,7 +115,7 @@ dependencies {
113115
implementation 'com.google.code.gson:gson:2.8.9'
114116
implementation 'io.gsonfire:gson-fire:1.8.5'
115117
implementation 'org.openapitools:jackson-databind-nullable:0.2.2'
116-
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
118+
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.18.0'
117119
implementation group: 'commons-codec', name: 'commons-codec', version: '1.7'
118120
implementation 'org.threeten:threetenbp:1.6.0'
119121
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"

build.sbt

Lines changed: 2 additions & 2 deletions
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 := "6.1.2",
5+
version := "6.2.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),
@@ -13,7 +13,7 @@ lazy val root = (project in file(".")).
1313
"com.squareup.okhttp3" % "okhttp" % "4.9.3",
1414
"com.squareup.okhttp3" % "logging-interceptor" % "4.9.3",
1515
"com.google.code.gson" % "gson" % "2.8.9",
16-
"org.apache.commons" % "commons-lang3" % "3.12.0",
16+
"org.apache.commons" % "commons-lang3" % "3.18.0",
1717
"org.openapitools" % "jackson-databind-nullable" % "0.2.2",
1818
"org.threeten" % "threetenbp" % "1.6.0" % "compile",
1919
"io.gsonfire" % "gson-fire" % "1.8.5" % "compile",

docs/CallResult.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
1717
**from** | **String** | Phone number that initiated this Call. | [optional]
1818
**to** | **String** | Phone number that received this Call. | [optional]
1919
**phoneNumberId** | **String** | If the Call was inbound, this is the ID of the IncomingPhoneNumber that received the Call (DNIS). If the Call was outbound, this is the ID of the phone number from which the Call was placed (ANI). | [optional]
20-
**callStatus** | **CallStatus** | | [optional]
20+
**status** | **CallStatus** | | [optional]
2121
**startTime** | **String** | Start time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed. | [optional]
2222
**connectTime** | **String** | Time the Call was answered (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed. | [optional]
2323
**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]

docs/CreateConference.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ The `CreateConference` command does exactly what its name implies — it creates
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**actionUrl** | **URI** | This URL is invoked once the Conference is successfully created. Actions on the Conference, such as adding Participants, can be performed via the PerCL script returned in the response. |
12-
**alias** | **Boolean** | Descriptive name for the Conference. | [optional]
12+
**alias** | **String** | Descriptive name for the Conference. | [optional]
1313
**playBeep** | **PlayBeep** | | [optional]
1414
**record** | **Boolean** | When set to &#x60;true&#x60;, the entire Conference is recorded. The &#x60;statusCallbackUrl&#x60; of the Conference will receive a &#x60;conferenceRecordingEnded&#x60; Webhook when the Conference transitions from the &#x60;inProgress&#x60; to empty state. | [optional]
1515
**statusCallbackUrl** | **URI** | This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. | [optional]
1616
**waitUrl** | **URI** | If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb. | [optional]
17+
**parentCallId** | **String** | ID of the Call that created this leg (child call). | [optional]
1718

1819

1920

0 commit comments

Comments
 (0)