Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ docs/CallDirection.md
docs/CallEndedReason.md
docs/CallList.md
docs/CallResult.md
docs/CallResultAllOfSubresourceUris.md
docs/CallStatus.md
docs/CallStatusWebhook.md
docs/Capabilities.md
Expand Down Expand Up @@ -198,6 +199,7 @@ src/main/java/com/github/freeclimbapi/CallDirection.java
src/main/java/com/github/freeclimbapi/CallEndedReason.java
src/main/java/com/github/freeclimbapi/CallList.java
src/main/java/com/github/freeclimbapi/CallResult.java
src/main/java/com/github/freeclimbapi/CallResultAllOfSubresourceUris.java
src/main/java/com/github/freeclimbapi/CallStatus.java
src/main/java/com/github/freeclimbapi/CallStatusWebhook.java
src/main/java/com/github/freeclimbapi/Capabilities.java
Expand Down Expand Up @@ -367,6 +369,7 @@ src/test/java/com/github/freeclimbapi/CallControlWebhookTest.java
src/test/java/com/github/freeclimbapi/CallDirectionTest.java
src/test/java/com/github/freeclimbapi/CallEndedReasonTest.java
src/test/java/com/github/freeclimbapi/CallListTest.java
src/test/java/com/github/freeclimbapi/CallResultAllOfSubresourceUrisTest.java
src/test/java/com/github/freeclimbapi/CallResultTest.java
src/test/java/com/github/freeclimbapi/CallStatusTest.java
src/test/java/com/github/freeclimbapi/CallStatusWebhookTest.java
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

None

<a name="6.3.1"></a>

## [6.3.1] - 2026-03-04

### Added

- New parameters for fetching recordings (start time and end time)
- Audio Streaming feature

<a name="6.3.0"></a>

## [6.3.0] - 2025-10-21
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.github.freeclimbapi</groupId>
<artifactId>freeclimb-java-client</artifactId>
<version>6.3.0</version>
<version>6.3.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -56,7 +56,9 @@ Add this dependency to your project's build file:
}

dependencies {
implementation "com.github.freeclimbapi:freeclimb-java-client:6.3.0"
implementation "com.github.freeclimbapi:freeclimb-java-client:6.3.1"
implementation("com.squareup.okhttp3:okhttp:4.9.3")
implementation("com.squareup.okhttp3:logging-interceptor:4.9.3")
}
```

Expand All @@ -70,7 +72,7 @@ mvn clean package

Then manually install the following JARs:

* `target/freeclimb-java-client-6.3.0.jar`
* `target/freeclimb-java-client-6.3.1.jar`
* `target/lib/*.jar`

## Getting Started
Expand All @@ -93,7 +95,7 @@ public class Example {
// Configure API client
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://www.freeclimb.com/apiserver");
defaultClient.setAccountId("YOUR_ACCOUNT_ID");
defaultClient.setAccountId("AC0123456789abcdefABCDEF0123456789abcdef00");
defaultClient.setApiKey("YOUR_API_KEY");

DefaultApi apiInstance = new DefaultApi(defaultClient);
Expand Down Expand Up @@ -235,6 +237,7 @@ Class | Method | HTTP request | Description
- [CallEndedReason](docs/CallEndedReason.md)
- [CallList](docs/CallList.md)
- [CallResult](docs/CallResult.md)
- [CallResultAllOfSubresourceUris](docs/CallResultAllOfSubresourceUris.md)
- [CallStatus](docs/CallStatus.md)
- [CallStatusWebhook](docs/CallStatusWebhook.md)
- [Capabilities](docs/Capabilities.md)
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'com.github.freeclimbapi'
version = '6.3.0'
version = '6.3.1'

buildscript {
repositories {
Expand Down Expand Up @@ -154,7 +154,7 @@ spotless {
// don't need to set target, it is inferred from java

// apply a specific flavor of google-java-format
googleJavaFormat('1.19.2').aosp().reflowLongStrings()
googleJavaFormat('1.24.0').aosp().reflowLongStrings()

removeUnusedImports()
importOrder()
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.github.freeclimbapi",
name := "freeclimb-java-client",
version := "6.3.0",
version := "6.3.1",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
1 change: 1 addition & 0 deletions docs/AvailableNumber.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**capabilities** | [**Capabilities**](Capabilities.md) | | [optional]
**campaignId** | **String** | The campaign ID generated by the campaign registry | [optional]
**phoneNumber** | **String** | The phone number, in E.164 format (+ country code and phone number: +18003608245). | [optional]
**alias** | **String** | A nicely-formatted version of the phone number. | [optional]
**region** | **String** | The state or province of this phone number. | [optional]
**country** | **String** | The country of this phone number. | [optional]

Expand Down
10 changes: 9 additions & 1 deletion docs/CallResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Name | Type | Description | Notes
**dateCreated** | **String** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional]
**dateUpdated** | **String** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional]
**revision** | **Integer** | Revision count for the resource. This count is set to 1 on creation and is incremented every time it is updated. | [optional]
**dateCreatedISO** | **OffsetDateTime** | The date that this resource was created in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z). | [optional]
**dateUpdatedISO** | **OffsetDateTime** | The date that this resource was last updated in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z). | [optional]
**callId** | **String** | String that uniquely identifies this Call resource. | [optional]
**parentCallId** | **String** | ID of the Call that created this leg (child Call). | [optional]
**accountId** | **String** | ID of the account that owns this Call. | [optional]
Expand All @@ -19,13 +21,19 @@ Name | Type | Description | Notes
**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]
**status** | **CallStatus** | | [optional]
**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]
**startTimeISO** | **OffsetDateTime** | Start time of the Call in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z). Empty if the Call has not yet been dialed. | [optional]
**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]
**connectTimeISO** | **OffsetDateTime** | Time the Call was answered in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z). Empty if the Call has not yet been dialed. | [optional]
**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]
**endTimeISO** | **OffsetDateTime** | End time of the Call in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z). Empty if the Call did not complete successfully. | [optional]
**duration** | **Integer** | 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]
**connectDuration** | **Integer** | 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]
**audioStreamDuration** | **Integer** | 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]
**direction** | **CallDirection** | | [optional]
**answeredBy** | **AnsweredBy** | | [optional]
**subresourceUris** | **Object** | The list of subresources for this Call. These include things like logs and recordings associated with the Call. | [optional]
**callerName** | **String** | The caller ID name (CNAM) for this Call. Empty if unavailable. | [optional]
**webRTC** | **Boolean** | Indicates whether this Call was initiated via WebRTC. | [optional]
**subresourceUris** | [**CallResultAllOfSubresourceUris**](CallResultAllOfSubresourceUris.md) | | [optional]
**applicationId** | **String** | ApplicationId associated with the Call. | [optional]


Expand Down
15 changes: 15 additions & 0 deletions docs/CallResultAllOfSubresourceUris.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# CallResultAllOfSubresourceUris

The list of subresources for this Call. These include things like logs and recordings associated with the Call.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**logs** | **String** | The URI for the logs associated with this Call. | [optional]
**recordings** | **String** | The URI for the recordings associated with this Call. | [optional]



42 changes: 33 additions & 9 deletions docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Name | Type | Description | Notes
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successfuly created queue | - |
**201** | Successfuly created queue | - |

<a name="createAnApplication"></a>
# **createAnApplication**
Expand Down Expand Up @@ -3094,7 +3094,7 @@ Name | Type | Description | Notes

<a name="listCallRecordings"></a>
# **listCallRecordings**
> RecordingList listCallRecordings(callId, dateCreated)
> RecordingList listCallRecordings(callId, dateCreated, startTime, endTime)

List Call Recordings

Expand Down Expand Up @@ -3123,8 +3123,12 @@ public class Example {

String dateCreated = "dateCreated_example"; // String | Only show recordings created on the specified date, in the form *YYYY-MM-DD*.

String startTime = "startTime_example"; // String | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.

String endTime = "endTime_example"; // String | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.

try {
RecordingList result = apiInstance.listCallRecordings(callId, dateCreated);
RecordingList result = apiInstance.listCallRecordings(callId, dateCreated, startTime, endTime);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#listCallRecordings");
Expand All @@ -3143,6 +3147,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**callId** | **String**| String that uniquely identifies this call resource. |
**dateCreated** | **String**| Only show recordings created on the specified date, in the form *YYYY-MM-DD*. | [optional]
**startTime** | **String**| Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional]
**endTime** | **String**| Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. | [optional]


### Return type
Expand All @@ -3165,7 +3171,7 @@ Name | Type | Description | Notes

<a name="listCalls"></a>
# **listCalls**
> CallList listCalls(active, to, from, status, startTime, endTime, parentCallId, applicationId, riskScoreMin, riskScoreMax)
> CallList listCalls(usedAudioStream, active, to, from, status, startTime, endTime, parentCallId, applicationId, riskScoreMin, riskScoreMax, webRTC)

List Calls

Expand All @@ -3190,6 +3196,8 @@ public class Example {

DefaultApi apiInstance = new DefaultApi(defaultClient);

Boolean usedAudioStream = false; // Boolean | If usedAudioStream is set to true then all calls that have a audioStreamDuration > 0 will be returned

Boolean active = false; // Boolean | If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query.

String to = "to_example"; // String | Only show Calls to this phone number.
Expand All @@ -3208,8 +3216,10 @@ public class Example {

Integer riskScoreMax = 56; // Integer | The maximum riskScore that should be included in the list.

Boolean webRTC = false; // Boolean | Only show Calls that were originated via WebRTC.

try {
CallList result = apiInstance.listCalls(active, to, from, status, startTime, endTime, parentCallId, applicationId, riskScoreMin, riskScoreMax);
CallList result = apiInstance.listCalls(usedAudioStream, active, to, from, status, startTime, endTime, parentCallId, applicationId, riskScoreMin, riskScoreMax, webRTC);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#listCalls");
Expand All @@ -3226,6 +3236,7 @@ public class Example {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**usedAudioStream** | **Boolean**| If usedAudioStream is set to true then all calls that have a audioStreamDuration &gt; 0 will be returned | [optional] [default to false]
**active** | **Boolean**| If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. | [optional] [default to false]
**to** | **String**| Only show Calls to this phone number. | [optional]
**from** | **String**| Only show Calls from this phone number. | [optional]
Expand All @@ -3236,6 +3247,7 @@ Name | Type | Description | Notes
**applicationId** | [**List&lt;String&gt;**](String.md)| Only show calls belonging to the given applicationId. This parameter can be repeated to return calls from multiple Applications. | [optional]
**riskScoreMin** | **Integer**| The minimum riskScore that should be included in the list. | [optional]
**riskScoreMax** | **Integer**| The maximum riskScore that should be included in the list. | [optional]
**webRTC** | **Boolean**| Only show Calls that were originated via WebRTC. | [optional] [default to false]


### Return type
Expand All @@ -3258,7 +3270,7 @@ Name | Type | Description | Notes

<a name="listConferenceRecordings"></a>
# **listConferenceRecordings**
> RecordingList listConferenceRecordings(conferenceId, callId, dateCreated)
> RecordingList listConferenceRecordings(conferenceId, callId, dateCreated, startTime, endTime)

List Conference Recordings

Expand Down Expand Up @@ -3289,8 +3301,12 @@ public class Example {

String dateCreated = "dateCreated_example"; // String | Only show Recordings created on this date, formatted as *YYYY-MM-DD*.

String startTime = "startTime_example"; // String | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.

String endTime = "endTime_example"; // String | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.

try {
RecordingList result = apiInstance.listConferenceRecordings(conferenceId, callId, dateCreated);
RecordingList result = apiInstance.listConferenceRecordings(conferenceId, callId, dateCreated, startTime, endTime);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#listConferenceRecordings");
Expand All @@ -3310,6 +3326,8 @@ Name | Type | Description | Notes
**conferenceId** | **String**| Show only Recordings made during the conference with this ID. |
**callId** | **String**| Show only Recordings made during the Call with this ID. | [optional]
**dateCreated** | **String**| Only show Recordings created on this date, formatted as *YYYY-MM-DD*. | [optional]
**startTime** | **String**| Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional]
**endTime** | **String**| Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. | [optional]


### Return type
Expand Down Expand Up @@ -3731,7 +3749,7 @@ Name | Type | Description | Notes

<a name="listRecordings"></a>
# **listRecordings**
> RecordingList listRecordings(callId, conferenceId, dateCreated)
> RecordingList listRecordings(callId, conferenceId, dateCreated, startTime, endTime)

List Recordings

Expand Down Expand Up @@ -3762,8 +3780,12 @@ public class Example {

String dateCreated = "dateCreated_example"; // String | Only show Recordings created on this date, formatted as *YYYY-MM-DD*.

String startTime = "startTime_example"; // String | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.

String endTime = "endTime_example"; // String | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.

try {
RecordingList result = apiInstance.listRecordings(callId, conferenceId, dateCreated);
RecordingList result = apiInstance.listRecordings(callId, conferenceId, dateCreated, startTime, endTime);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#listRecordings");
Expand All @@ -3783,6 +3805,8 @@ Name | Type | Description | Notes
**callId** | **String**| Show only Recordings made during the Call with this ID. | [optional]
**conferenceId** | **String**| Show only Recordings made during the conference with this ID. | [optional]
**dateCreated** | **String**| Only show Recordings created on this date, formatted as *YYYY-MM-DD*. | [optional]
**startTime** | **String**| Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional]
**endTime** | **String**| Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. | [optional]


### Return type
Expand Down
1 change: 1 addition & 0 deletions docs/QueueResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Name | Type | Description | Notes
**maxSize** | **Integer** | The maximum number of Calls permitted in the Queue. Default is 100. Maximum is 1000. | [optional]
**currentSize** | **Integer** | Count of Calls currently in the Queue. | [optional]
**averageQueueRemovalTime** | **Integer** | The average amount of time (in seconds) for a call to be removed from the queue. | [optional]
**averageWaitTime** | **Integer** | The average wait time (in seconds) of all Calls in the Queue. | [optional]
**subresourceUris** | **Object** | List of subresources for this Queue (which includes Queue members). | [optional]


Expand Down
Loading
Loading