freeclimb 4.6.2 → 4.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile.lock +21 -21
- data/LICENSE.txt +1 -1
- data/README.md +8 -5
- data/docs/CompletionRequest.md +18 -0
- data/docs/CompletionResult.md +20 -0
- data/docs/DefaultApi.md +210 -111
- data/lib/freeclimb/api/default_api.rb +127 -0
- data/lib/freeclimb/models/add_to_conference.rb +1 -1
- data/lib/freeclimb/models/completion_request.rb +246 -0
- data/lib/freeclimb/models/completion_result.rb +274 -0
- data/lib/freeclimb/version.rb +1 -1
- data/lib/freeclimb.rb +2 -0
- data/openapi.json +110 -7
- data/package.json +3 -1
- data/spec/api/default_api_spec.rb +534 -0
- data/spec/models/account_request_spec.rb +2 -1
- data/spec/models/account_result_spec.rb +2 -1
- data/spec/models/add_to_conference_spec.rb +2 -7
- data/spec/models/application_list_spec.rb +2 -1
- data/spec/models/application_request_spec.rb +2 -1
- data/spec/models/application_result_spec.rb +2 -1
- data/spec/models/available_number_list_spec.rb +2 -1
- data/spec/models/available_number_spec.rb +2 -3
- data/spec/models/buy_incoming_number_request_spec.rb +2 -3
- data/spec/models/call_list_spec.rb +2 -1
- data/spec/models/call_result_spec.rb +2 -1
- data/spec/models/capabilities_spec.rb +2 -16
- data/spec/models/completion_request_spec.rb +165 -0
- data/spec/models/completion_result_spec.rb +203 -0
- data/spec/models/conference_list_spec.rb +2 -1
- data/spec/models/conference_participant_list_spec.rb +2 -1
- data/spec/models/conference_participant_result_spec.rb +2 -4
- data/spec/models/conference_result_spec.rb +2 -2
- data/spec/models/create_conference_request_spec.rb +2 -2
- data/spec/models/create_conference_spec.rb +2 -5
- data/spec/models/create_web_rtc_token_spec.rb +2 -5
- data/spec/models/enqueue_spec.rb +2 -7
- data/spec/models/filter_logs_request_spec.rb +2 -3
- data/spec/models/get_digits_spec.rb +2 -5
- data/spec/models/get_speech_spec.rb +2 -7
- data/spec/models/hangup_spec.rb +2 -1
- data/spec/models/incoming_number_list_spec.rb +2 -1
- data/spec/models/incoming_number_request_spec.rb +2 -1
- data/spec/models/incoming_number_result_spec.rb +2 -4
- data/spec/models/log_list_spec.rb +2 -1
- data/spec/models/log_result_spec.rb +2 -1
- data/spec/models/make_call_request_spec.rb +2 -6
- data/spec/models/message_request_spec.rb +2 -7
- data/spec/models/message_result_spec.rb +2 -1
- data/spec/models/messages_list_spec.rb +2 -1
- data/spec/models/mutable_resource_model_spec.rb +2 -1
- data/spec/models/out_dial_spec.rb +2 -10
- data/spec/models/pagination_model_spec.rb +2 -1
- data/spec/models/park_spec.rb +2 -5
- data/spec/models/pause_spec.rb +2 -3
- data/spec/models/percl_command_spec.rb +2 -1
- data/spec/models/percl_script_spec.rb +2 -1
- data/spec/models/play_early_media_spec.rb +2 -3
- data/spec/models/play_spec.rb +2 -4
- data/spec/models/queue_list_spec.rb +2 -1
- data/spec/models/queue_member_list_spec.rb +2 -1
- data/spec/models/queue_member_spec.rb +2 -1
- data/spec/models/queue_request_spec.rb +2 -1
- data/spec/models/queue_result_spec.rb +2 -1
- data/spec/models/record_utterance_spec.rb +2 -6
- data/spec/models/recording_list_spec.rb +2 -1
- data/spec/models/recording_result_spec.rb +2 -1
- data/spec/models/redirect_spec.rb +2 -3
- data/spec/models/reject_spec.rb +2 -1
- data/spec/models/say_spec.rb +2 -4
- data/spec/models/send_digits_spec.rb +2 -4
- data/spec/models/set_listen_spec.rb +2 -2
- data/spec/models/set_talk_spec.rb +2 -2
- data/spec/models/sms_spec.rb +2 -7
- data/spec/models/sms_ten_dlc_brand_spec.rb +132 -103
- data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +2 -1
- data/spec/models/sms_ten_dlc_campaign_spec.rb +21 -53
- data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +2 -1
- data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +2 -8
- data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +21 -43
- data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +2 -1
- data/spec/models/sms_toll_free_campaign_spec.rb +24 -29
- data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +2 -1
- data/spec/models/tfn_spec.rb +2 -3
- data/spec/models/transcribe_utterance_all_of_record_spec.rb +2 -6
- data/spec/models/transcribe_utterance_spec.rb +2 -6
- data/spec/models/update_call_request_spec.rb +2 -3
- data/spec/models/update_conference_participant_request_spec.rb +2 -3
- data/spec/models/update_conference_request_spec.rb +2 -1
- data/yarn.lock +27 -8
- metadata +94 -86
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ad32fa62459bb0e4d1887a289ba7ad5b77aa6fca78d4a1db3bf29881275e130
|
4
|
+
data.tar.gz: 89fd14f2c7d3329a56806f29ae46b44a3106e74b5639fd596894851fef36c845
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15225dd8b0ed975eea0e66b92e55b25891d6792b1bbc163ad64264cfba758239343cf809801276e95dd32c48aa05b11069aff28cb94a39963867d6585c894402
|
7
|
+
data.tar.gz: df9ca5026bf77fc5b681158ca5d87255047f54a147d2af040a630a0c8a8a17fa210e614b92e3c4f3e26aecf27ebc650bdee4dbaa6e17d3807faabff4df66a3b3
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,22 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
9
9
|
|
10
10
|
None
|
11
11
|
|
12
|
+
<a name="4.8.0"></a>
|
13
|
+
|
14
|
+
## [4.8.0] - 2024-10-08
|
15
|
+
|
16
|
+
### Added
|
17
|
+
|
18
|
+
- Add KnowledgeBase API to SDK
|
19
|
+
|
20
|
+
<a name="4.7.0"></a>
|
21
|
+
|
22
|
+
## [4.7.0] - 2024-09-12
|
23
|
+
|
24
|
+
### Added
|
25
|
+
|
26
|
+
- getNextPage functionality for paginated resources
|
27
|
+
|
12
28
|
<a name="4.6.2"></a>
|
13
29
|
|
14
30
|
## [4.6.2] - 2024-07-23
|
data/Gemfile.lock
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
freeclimb (4.
|
4
|
+
freeclimb (4.8.0)
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activesupport (7.1.
|
10
|
+
activesupport (7.1.4.1)
|
11
11
|
base64
|
12
12
|
bigdecimal
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -17,14 +17,14 @@ GEM
|
|
17
17
|
minitest (>= 5.1)
|
18
18
|
mutex_m
|
19
19
|
tzinfo (~> 2.0)
|
20
|
-
addressable (2.8.
|
21
|
-
public_suffix (>= 2.0.2, <
|
20
|
+
addressable (2.8.7)
|
21
|
+
public_suffix (>= 2.0.2, < 7.0)
|
22
22
|
ast (2.4.2)
|
23
23
|
base64 (0.2.0)
|
24
|
-
bigdecimal (3.1.
|
24
|
+
bigdecimal (3.1.8)
|
25
25
|
byebug (11.1.3)
|
26
26
|
coderay (1.1.3)
|
27
|
-
concurrent-ruby (1.
|
27
|
+
concurrent-ruby (1.3.4)
|
28
28
|
connection_pool (2.4.1)
|
29
29
|
crack (1.0.0)
|
30
30
|
bigdecimal
|
@@ -34,18 +34,18 @@ GEM
|
|
34
34
|
ethon (0.16.0)
|
35
35
|
ffi (>= 1.15.0)
|
36
36
|
facets (3.1.0)
|
37
|
-
factory_bot (6.
|
37
|
+
factory_bot (6.5.0)
|
38
38
|
activesupport (>= 5.0.0)
|
39
39
|
ffi (1.17.0)
|
40
|
-
hashdiff (1.1.
|
41
|
-
i18n (1.14.
|
40
|
+
hashdiff (1.1.1)
|
41
|
+
i18n (1.14.6)
|
42
42
|
concurrent-ruby (~> 1.0)
|
43
43
|
jaro_winkler (1.5.6)
|
44
|
-
method_source (1.
|
45
|
-
minitest (5.
|
44
|
+
method_source (1.1.0)
|
45
|
+
minitest (5.25.1)
|
46
46
|
mutex_m (0.2.0)
|
47
|
-
parallel (1.
|
48
|
-
parser (3.3.0
|
47
|
+
parallel (1.26.3)
|
48
|
+
parser (3.3.5.0)
|
49
49
|
ast (~> 2.4.1)
|
50
50
|
racc
|
51
51
|
pry (0.14.2)
|
@@ -56,21 +56,21 @@ GEM
|
|
56
56
|
pry (>= 0.13, < 0.15)
|
57
57
|
psych (5.1.2)
|
58
58
|
stringio
|
59
|
-
public_suffix (
|
60
|
-
racc (1.
|
59
|
+
public_suffix (6.0.1)
|
60
|
+
racc (1.8.1)
|
61
61
|
rainbow (3.1.1)
|
62
62
|
rake (13.0.6)
|
63
|
-
rexml (3.
|
63
|
+
rexml (3.3.8)
|
64
64
|
rspec (3.13.0)
|
65
65
|
rspec-core (~> 3.13.0)
|
66
66
|
rspec-expectations (~> 3.13.0)
|
67
67
|
rspec-mocks (~> 3.13.0)
|
68
|
-
rspec-core (3.13.
|
68
|
+
rspec-core (3.13.1)
|
69
69
|
rspec-support (~> 3.13.0)
|
70
|
-
rspec-expectations (3.13.
|
70
|
+
rspec-expectations (3.13.3)
|
71
71
|
diff-lcs (>= 1.2.0, < 2.0)
|
72
72
|
rspec-support (~> 3.13.0)
|
73
|
-
rspec-mocks (3.13.
|
73
|
+
rspec-mocks (3.13.2)
|
74
74
|
diff-lcs (>= 1.2.0, < 2.0)
|
75
75
|
rspec-support (~> 3.13.0)
|
76
76
|
rspec-support (3.13.1)
|
@@ -83,13 +83,13 @@ GEM
|
|
83
83
|
ruby-progressbar (~> 1.7)
|
84
84
|
unicode-display_width (>= 1.4.0, < 1.6)
|
85
85
|
ruby-progressbar (1.13.0)
|
86
|
-
stringio (3.1.
|
86
|
+
stringio (3.1.1)
|
87
87
|
typhoeus (1.4.1)
|
88
88
|
ethon (>= 0.9.0)
|
89
89
|
tzinfo (2.0.6)
|
90
90
|
concurrent-ruby (~> 1.0)
|
91
91
|
unicode-display_width (1.5.0)
|
92
|
-
webmock (3.
|
92
|
+
webmock (3.24.0)
|
93
93
|
addressable (>= 2.8.0)
|
94
94
|
crack (>= 0.3.2)
|
95
95
|
hashdiff (>= 0.4.0, < 2.0.0)
|
data/LICENSE.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
MIT License
|
2
2
|
-------------
|
3
3
|
|
4
|
-
Copyright (c)
|
4
|
+
Copyright (c) 2024 FreeClimbAPI
|
5
5
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
7
7
|
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ FreeClimb is a cloud-based application programming interface (API) that puts the
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 1.0.0
|
10
|
-
- Package version: 4.
|
10
|
+
- Package version: 4.8.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/)
|
13
13
|
|
@@ -15,7 +15,7 @@ For more information, please visit [https://www.freeclimb.com/support/](https://
|
|
15
15
|
|
16
16
|
Add this to the Gemfile:
|
17
17
|
|
18
|
-
gem 'freeclimb', '~> 4.
|
18
|
+
gem 'freeclimb', '~> 4.8.0'
|
19
19
|
|
20
20
|
and run from your terminal
|
21
21
|
|
@@ -44,9 +44,9 @@ gem build freeclimb.gemspec
|
|
44
44
|
Then either install the gem locally:
|
45
45
|
|
46
46
|
```shell
|
47
|
-
gem install ./freeclimb-4.
|
47
|
+
gem install ./freeclimb-4.8.0.gem
|
48
48
|
```
|
49
|
-
(for development, run `gem install --dev ./freeclimb-4.
|
49
|
+
(for development, run `gem install --dev ./freeclimb-4.8.0.gem` to install the development dependencies)
|
50
50
|
|
51
51
|
## Getting Started
|
52
52
|
|
@@ -103,6 +103,7 @@ Class | Method | HTTP request | Description
|
|
103
103
|
*Freeclimb::DefaultApi* | [**create_a_conference**](docs/DefaultApi.md#create_a_conference) | **POST** /Accounts/{accountId}/Conferences | Create a Conference
|
104
104
|
*Freeclimb::DefaultApi* | [**create_a_queue**](docs/DefaultApi.md#create_a_queue) | **POST** /Accounts/{accountId}/Queues | Create a Queue
|
105
105
|
*Freeclimb::DefaultApi* | [**create_an_application**](docs/DefaultApi.md#create_an_application) | **POST** /Accounts/{accountId}/Applications | Create an application
|
106
|
+
*Freeclimb::DefaultApi* | [**create_knowledge_base_completion**](docs/DefaultApi.md#create_knowledge_base_completion) | **POST** /Accounts/{accountId}/KnowledgeBases/{knowledgeBaseId}/Completion | Query the knowledge base
|
106
107
|
*Freeclimb::DefaultApi* | [**delete_a_recording**](docs/DefaultApi.md#delete_a_recording) | **DELETE** /Accounts/{accountId}/Recordings/{recordingId} | Delete a Recording
|
107
108
|
*Freeclimb::DefaultApi* | [**delete_an_application**](docs/DefaultApi.md#delete_an_application) | **DELETE** /Accounts/{accountId}/Applications/{applicationId} | Delete an application
|
108
109
|
*Freeclimb::DefaultApi* | [**delete_an_incoming_number**](docs/DefaultApi.md#delete_an_incoming_number) | **DELETE** /Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId} | Delete an Incoming Number
|
@@ -155,7 +156,7 @@ Class | Method | HTTP request | Description
|
|
155
156
|
*Freeclimb::DefaultApi* | [**update_an_account**](docs/DefaultApi.md#update_an_account) | **POST** /Accounts/{accountId} | Manage an account
|
156
157
|
*Freeclimb::DefaultApi* | [**update_an_application**](docs/DefaultApi.md#update_an_application) | **POST** /Accounts/{accountId}/Applications/{applicationId} | Update an application
|
157
158
|
*Freeclimb::DefaultApi* | [**update_an_incoming_number**](docs/DefaultApi.md#update_an_incoming_number) | **POST** /Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId} | Update an Incoming Number
|
158
|
-
|
159
|
+
*FreeClimb::DefaultApi* | [**get_next_page**](docs/DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource
|
159
160
|
|
160
161
|
## Documentation for Models
|
161
162
|
|
@@ -183,6 +184,8 @@ Class | Method | HTTP request | Description
|
|
183
184
|
- [Freeclimb::CallResultAllOf](docs/CallResultAllOf.md)
|
184
185
|
- [Freeclimb::CallStatus](docs/CallStatus.md)
|
185
186
|
- [Freeclimb::Capabilities](docs/Capabilities.md)
|
187
|
+
- [Freeclimb::CompletionRequest](docs/CompletionRequest.md)
|
188
|
+
- [Freeclimb::CompletionResult](docs/CompletionResult.md)
|
186
189
|
- [Freeclimb::ConferenceList](docs/ConferenceList.md)
|
187
190
|
- [Freeclimb::ConferenceListAllOf](docs/ConferenceListAllOf.md)
|
188
191
|
- [Freeclimb::ConferenceParticipantList](docs/ConferenceParticipantList.md)
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Freeclimb::CompletionRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **query** | **String** | Question to ask the Knowledge Base | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::CompletionRequest.new(
|
15
|
+
query: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Freeclimb::CompletionResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **response** | **String** | The generative response from the KnowledgeBase | |
|
8
|
+
| **status** | **String** | Completion result status. Possible values: success, no_context | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'freeclimb'
|
14
|
+
|
15
|
+
instance = Freeclimb::CompletionResult.new(
|
16
|
+
response: null,
|
17
|
+
status: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|