freeclimb 4.6.2 → 4.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/Gemfile.lock +21 -21
  4. data/LICENSE.txt +1 -1
  5. data/README.md +8 -5
  6. data/docs/CompletionRequest.md +18 -0
  7. data/docs/CompletionResult.md +20 -0
  8. data/docs/DefaultApi.md +210 -111
  9. data/lib/freeclimb/api/default_api.rb +127 -0
  10. data/lib/freeclimb/models/add_to_conference.rb +1 -1
  11. data/lib/freeclimb/models/completion_request.rb +246 -0
  12. data/lib/freeclimb/models/completion_result.rb +274 -0
  13. data/lib/freeclimb/version.rb +1 -1
  14. data/lib/freeclimb.rb +2 -0
  15. data/openapi.json +110 -7
  16. data/package.json +3 -1
  17. data/spec/api/default_api_spec.rb +534 -0
  18. data/spec/models/account_request_spec.rb +2 -1
  19. data/spec/models/account_result_spec.rb +2 -1
  20. data/spec/models/add_to_conference_spec.rb +2 -7
  21. data/spec/models/application_list_spec.rb +2 -1
  22. data/spec/models/application_request_spec.rb +2 -1
  23. data/spec/models/application_result_spec.rb +2 -1
  24. data/spec/models/available_number_list_spec.rb +2 -1
  25. data/spec/models/available_number_spec.rb +2 -3
  26. data/spec/models/buy_incoming_number_request_spec.rb +2 -3
  27. data/spec/models/call_list_spec.rb +2 -1
  28. data/spec/models/call_result_spec.rb +2 -1
  29. data/spec/models/capabilities_spec.rb +2 -16
  30. data/spec/models/completion_request_spec.rb +165 -0
  31. data/spec/models/completion_result_spec.rb +203 -0
  32. data/spec/models/conference_list_spec.rb +2 -1
  33. data/spec/models/conference_participant_list_spec.rb +2 -1
  34. data/spec/models/conference_participant_result_spec.rb +2 -4
  35. data/spec/models/conference_result_spec.rb +2 -2
  36. data/spec/models/create_conference_request_spec.rb +2 -2
  37. data/spec/models/create_conference_spec.rb +2 -5
  38. data/spec/models/create_web_rtc_token_spec.rb +2 -5
  39. data/spec/models/enqueue_spec.rb +2 -7
  40. data/spec/models/filter_logs_request_spec.rb +2 -3
  41. data/spec/models/get_digits_spec.rb +2 -5
  42. data/spec/models/get_speech_spec.rb +2 -7
  43. data/spec/models/hangup_spec.rb +2 -1
  44. data/spec/models/incoming_number_list_spec.rb +2 -1
  45. data/spec/models/incoming_number_request_spec.rb +2 -1
  46. data/spec/models/incoming_number_result_spec.rb +2 -4
  47. data/spec/models/log_list_spec.rb +2 -1
  48. data/spec/models/log_result_spec.rb +2 -1
  49. data/spec/models/make_call_request_spec.rb +2 -6
  50. data/spec/models/message_request_spec.rb +2 -7
  51. data/spec/models/message_result_spec.rb +2 -1
  52. data/spec/models/messages_list_spec.rb +2 -1
  53. data/spec/models/mutable_resource_model_spec.rb +2 -1
  54. data/spec/models/out_dial_spec.rb +2 -10
  55. data/spec/models/pagination_model_spec.rb +2 -1
  56. data/spec/models/park_spec.rb +2 -5
  57. data/spec/models/pause_spec.rb +2 -3
  58. data/spec/models/percl_command_spec.rb +2 -1
  59. data/spec/models/percl_script_spec.rb +2 -1
  60. data/spec/models/play_early_media_spec.rb +2 -3
  61. data/spec/models/play_spec.rb +2 -4
  62. data/spec/models/queue_list_spec.rb +2 -1
  63. data/spec/models/queue_member_list_spec.rb +2 -1
  64. data/spec/models/queue_member_spec.rb +2 -1
  65. data/spec/models/queue_request_spec.rb +2 -1
  66. data/spec/models/queue_result_spec.rb +2 -1
  67. data/spec/models/record_utterance_spec.rb +2 -6
  68. data/spec/models/recording_list_spec.rb +2 -1
  69. data/spec/models/recording_result_spec.rb +2 -1
  70. data/spec/models/redirect_spec.rb +2 -3
  71. data/spec/models/reject_spec.rb +2 -1
  72. data/spec/models/say_spec.rb +2 -4
  73. data/spec/models/send_digits_spec.rb +2 -4
  74. data/spec/models/set_listen_spec.rb +2 -2
  75. data/spec/models/set_talk_spec.rb +2 -2
  76. data/spec/models/sms_spec.rb +2 -7
  77. data/spec/models/sms_ten_dlc_brand_spec.rb +132 -103
  78. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +2 -1
  79. data/spec/models/sms_ten_dlc_campaign_spec.rb +21 -53
  80. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +2 -1
  81. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +2 -8
  82. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +21 -43
  83. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +2 -1
  84. data/spec/models/sms_toll_free_campaign_spec.rb +24 -29
  85. data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +2 -1
  86. data/spec/models/tfn_spec.rb +2 -3
  87. data/spec/models/transcribe_utterance_all_of_record_spec.rb +2 -6
  88. data/spec/models/transcribe_utterance_spec.rb +2 -6
  89. data/spec/models/update_call_request_spec.rb +2 -3
  90. data/spec/models/update_conference_participant_request_spec.rb +2 -3
  91. data/spec/models/update_conference_request_spec.rb +2 -1
  92. data/yarn.lock +27 -8
  93. metadata +94 -86
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 405131395b6b9a36245fc6c748a70527812ba2198998ca22f2e5888d667cf55f
4
- data.tar.gz: f5111a6e4ae25c2f759937b8a44ed062b013557de3a4e85f5fcdedb4208df823
3
+ metadata.gz: 1ad32fa62459bb0e4d1887a289ba7ad5b77aa6fca78d4a1db3bf29881275e130
4
+ data.tar.gz: 89fd14f2c7d3329a56806f29ae46b44a3106e74b5639fd596894851fef36c845
5
5
  SHA512:
6
- metadata.gz: e7e06677581cf3b9eade7f93eaf093e9c2570a44421c8357c2a94707c8247d80e15d1f0d863b644dcc8709ec6e49020677704ba9e0790ea003abd860bbb98297
7
- data.tar.gz: d09d6a184bc7a57f1fa79375936f73a3be86f10266f7e13cd6f0574d356572ba5736fa160da346ac4cf37105b0a89a959cbf78316fd4b1c439551d6ac8794ff2
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.6.2)
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.3.2)
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.6)
21
- public_suffix (>= 2.0.2, < 6.0)
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.7)
24
+ bigdecimal (3.1.8)
25
25
  byebug (11.1.3)
26
26
  coderay (1.1.3)
27
- concurrent-ruby (1.2.3)
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.4.6)
37
+ factory_bot (6.5.0)
38
38
  activesupport (>= 5.0.0)
39
39
  ffi (1.17.0)
40
- hashdiff (1.1.0)
41
- i18n (1.14.4)
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.0.0)
45
- minitest (5.22.3)
44
+ method_source (1.1.0)
45
+ minitest (5.25.1)
46
46
  mutex_m (0.2.0)
47
- parallel (1.24.0)
48
- parser (3.3.0.5)
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 (5.0.5)
60
- racc (1.7.3)
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.2.6)
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.0)
68
+ rspec-core (3.13.1)
69
69
  rspec-support (~> 3.13.0)
70
- rspec-expectations (3.13.0)
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.0)
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.0)
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.23.0)
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) 2023 FreeClimbAPI
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.6.2
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.6.2'
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.6.2.gem
47
+ gem install ./freeclimb-4.8.0.gem
48
48
  ```
49
- (for development, run `gem install --dev ./freeclimb-4.6.2.gem` to install the development dependencies)
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
+