freeclimb 5.2.0 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -2
  3. data/Gemfile.lock +3 -3
  4. data/README.md +31 -4
  5. data/docs/AvailableNumber.md +0 -4
  6. data/docs/BlobListResponse.md +32 -0
  7. data/docs/BlobResult.md +32 -0
  8. data/docs/CallResult.md +2 -2
  9. data/docs/CreateBlobRequest.md +22 -0
  10. data/docs/CreateConference.md +4 -2
  11. data/docs/DefaultApi.md +835 -25
  12. data/docs/ExportList.md +32 -0
  13. data/docs/ExportOutputType.md +16 -0
  14. data/docs/ExportRequest.md +24 -0
  15. data/docs/ExportRequestOutput.md +18 -0
  16. data/docs/ExportResourceType.md +17 -0
  17. data/docs/ExportResult.md +40 -0
  18. data/docs/ExportResultOutput.md +18 -0
  19. data/docs/ExportStatus.md +21 -0
  20. data/docs/IncomingNumberResult.md +0 -4
  21. data/docs/ModifyBlobRequest.md +20 -0
  22. data/docs/PlatformError.md +24 -0
  23. data/docs/ReplaceBlobRequest.md +18 -0
  24. data/docs/Say.md +2 -0
  25. data/docs/TTSEngine.md +20 -0
  26. data/docs/TTSEngineName.md +18 -0
  27. data/lib/freeclimb/api/default_api.rb +1032 -12
  28. data/lib/freeclimb/models/available_number.rb +1 -23
  29. data/lib/freeclimb/models/blob_list_response.rb +303 -0
  30. data/lib/freeclimb/models/blob_result.rb +332 -0
  31. data/lib/freeclimb/models/call_result.rb +8 -8
  32. data/lib/freeclimb/models/create_blob_request.rb +255 -0
  33. data/lib/freeclimb/models/create_conference.rb +15 -5
  34. data/lib/freeclimb/models/export_list.rb +304 -0
  35. data/lib/freeclimb/models/export_output_type.rb +34 -0
  36. data/lib/freeclimb/models/export_request.rb +276 -0
  37. data/lib/freeclimb/models/export_request_output.rb +243 -0
  38. data/lib/freeclimb/models/export_resource_type.rb +35 -0
  39. data/lib/freeclimb/models/export_result.rb +405 -0
  40. data/lib/freeclimb/models/export_result_output.rb +243 -0
  41. data/lib/freeclimb/models/export_status.rb +39 -0
  42. data/lib/freeclimb/models/incoming_number_result.rb +1 -23
  43. data/lib/freeclimb/models/modify_blob_request.rb +245 -0
  44. data/lib/freeclimb/models/platform_error.rb +244 -0
  45. data/lib/freeclimb/models/replace_blob_request.rb +221 -0
  46. data/lib/freeclimb/models/say.rb +10 -1
  47. data/lib/freeclimb/models/tts_engine.rb +250 -0
  48. data/lib/freeclimb/models/tts_engine_name.rb +36 -0
  49. data/lib/freeclimb/version.rb +1 -1
  50. data/lib/freeclimb.rb +16 -0
  51. data/openapi.json +1245 -80
  52. data/spec/api/default_api_spec.rb +328 -33
  53. data/spec/models/account_result_spec.rb +3 -3
  54. data/spec/models/available_number_spec.rb +3 -98
  55. data/spec/models/blob_list_response_spec.rb +502 -0
  56. data/spec/models/blob_result_spec.rb +489 -0
  57. data/spec/models/call_result_spec.rb +39 -39
  58. data/spec/models/conference_result_spec.rb +3 -3
  59. data/spec/models/create_blob_request_spec.rb +273 -0
  60. data/spec/models/create_conference_spec.rb +83 -35
  61. data/spec/models/export_list_spec.rb +502 -0
  62. data/spec/models/export_output_type_spec.rb +43 -0
  63. data/spec/models/export_request_output_spec.rb +162 -0
  64. data/spec/models/export_request_spec.rb +320 -0
  65. data/spec/models/export_resource_type_spec.rb +59 -0
  66. data/spec/models/export_result_output_spec.rb +162 -0
  67. data/spec/models/export_result_spec.rb +718 -0
  68. data/spec/models/export_status_spec.rb +123 -0
  69. data/spec/models/incoming_number_result_spec.rb +6 -102
  70. data/spec/models/log_result_spec.rb +3 -3
  71. data/spec/models/message_result_spec.rb +3 -3
  72. data/spec/models/modify_blob_request_spec.rb +226 -0
  73. data/spec/models/platform_error_spec.rb +318 -0
  74. data/spec/models/queue_result_spec.rb +3 -3
  75. data/spec/models/replace_blob_request_spec.rb +176 -0
  76. data/spec/models/say_spec.rb +50 -0
  77. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +3 -3
  78. data/spec/models/transcribe_utterance_spec.rb +3 -3
  79. data/spec/models/tts_engine_name_spec.rb +75 -0
  80. data/spec/models/tts_engine_spec.rb +183 -0
  81. data/spec/spec_helper.rb +1 -1
  82. data/yarn.lock +29 -29
  83. metadata +50 -2
@@ -0,0 +1,32 @@
1
+ # Freeclimb::ExportList
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **total** | **Integer** | Total amount of requested resource. | [optional] |
8
+ | **start** | **Integer** | Resource index at start of current page | [optional] |
9
+ | **_end** | **Integer** | Resource index at end of current page | [optional] |
10
+ | **page** | **Integer** | Current page | [optional] |
11
+ | **num_pages** | **Integer** | Total number of pages | [optional] |
12
+ | **page_size** | **Integer** | Number of items per page | [optional] |
13
+ | **next_page_uri** | **String** | Uri to retrieve the next page of items | [optional] |
14
+ | **exports** | [**Array<ExportResult>**](ExportResult.md) | | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'freeclimb'
20
+
21
+ instance = Freeclimb::ExportList.new(
22
+ total: null,
23
+ start: null,
24
+ _end: null,
25
+ page: null,
26
+ num_pages: null,
27
+ page_size: null,
28
+ next_page_uri: null,
29
+ exports: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,16 @@
1
+ # Freeclimb::ExportOutputType
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **CSV** | **ExportOutputType** | | Represented in Ruby as "csv" |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'freeclimb'
13
+
14
+ instance = Freeclimb::ExportOutputType::[NAME OF ENUM]
15
+ ```
16
+
@@ -0,0 +1,24 @@
1
+ # Freeclimb::ExportRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **resource_type** | [**ExportResourceType**](ExportResourceType.md) | | |
8
+ | **format** | **Array<String>** | | [optional] |
9
+ | **output** | [**ExportRequestOutput**](ExportRequestOutput.md) | | |
10
+ | **query** | **Object** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'freeclimb'
16
+
17
+ instance = Freeclimb::ExportRequest.new(
18
+ resource_type: null,
19
+ format: null,
20
+ output: null,
21
+ query: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,18 @@
1
+ # Freeclimb::ExportRequestOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | [**ExportOutputType**](ExportOutputType.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'freeclimb'
13
+
14
+ instance = Freeclimb::ExportRequestOutput.new(
15
+ type: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,17 @@
1
+ # Freeclimb::ExportResourceType
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **MESSAGES** | **ExportResourceType** | | Represented in Ruby as "Messages" |
8
+ | **CALLS** | **ExportResourceType** | | Represented in Ruby as "Calls" |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'freeclimb'
14
+
15
+ instance = Freeclimb::ExportResourceType::[NAME OF ENUM]
16
+ ```
17
+
@@ -0,0 +1,40 @@
1
+ # Freeclimb::ExportResult
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **account_id** | **String** | String that uniquely identifies this account resource. | |
8
+ | **uri** | **String** | | |
9
+ | **date_created** | **String** | | |
10
+ | **date_updated** | **String** | | |
11
+ | **revision** | **Integer** | | |
12
+ | **export_id** | **String** | String that uniquely identifies this export resource | |
13
+ | **status** | [**ExportStatus**](ExportStatus.md) | | |
14
+ | **size** | **Integer** | | |
15
+ | **resource_type** | [**ExportResourceType**](ExportResourceType.md) | | |
16
+ | **query** | **Object** | Query params used to filter exported documents | |
17
+ | **format** | **Array<String>** | Desired fields of exported documents | |
18
+ | **output** | [**ExportResultOutput**](ExportResultOutput.md) | | |
19
+
20
+ ## Example
21
+
22
+ ```ruby
23
+ require 'freeclimb'
24
+
25
+ instance = Freeclimb::ExportResult.new(
26
+ account_id: null,
27
+ uri: null,
28
+ date_created: null,
29
+ date_updated: null,
30
+ revision: null,
31
+ export_id: null,
32
+ status: null,
33
+ size: null,
34
+ resource_type: null,
35
+ query: null,
36
+ format: null,
37
+ output: null
38
+ )
39
+ ```
40
+
@@ -0,0 +1,18 @@
1
+ # Freeclimb::ExportResultOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | [**ExportOutputType**](ExportOutputType.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'freeclimb'
13
+
14
+ instance = Freeclimb::ExportResultOutput.new(
15
+ type: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,21 @@
1
+ # Freeclimb::ExportStatus
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **INTAKING** | **ExportStatus** | | Represented in Ruby as "intaking" |
8
+ | **QUEUED** | **ExportStatus** | | Represented in Ruby as "queued" |
9
+ | **IN_PROGRESS** | **ExportStatus** | | Represented in Ruby as "inProgress" |
10
+ | **COMPLETED** | **ExportStatus** | | Represented in Ruby as "completed" |
11
+ | **FAILED** | **ExportStatus** | | Represented in Ruby as "failed" |
12
+ | **DELETED** | **ExportStatus** | | Represented in Ruby as "deleted" |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'freeclimb'
18
+
19
+ instance = Freeclimb::ExportStatus::[NAME OF ENUM]
20
+ ```
21
+
@@ -17,8 +17,6 @@
17
17
  | **_alias** | **String** | Description for this phone number. Typically the conventionally-formatted version of the phone number. | [optional] |
18
18
  | **region** | **String** | State or province of this phone number. | [optional] |
19
19
  | **country** | **String** | Country of this phone number. | [optional] |
20
- | **voice_enabled** | **Boolean** | Indicates whether the phone number can handle Calls. Typically set to true for all numbers. | [optional] |
21
- | **sms_enabled** | **Boolean** | Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. | [optional] |
22
20
  | **offnet** | **Boolean** | The offnet field is a boolean representing whether the number is offnet registered or not. This field will be rendered only for requests to the IncomingPhone number resource. | [optional] |
23
21
  | **tfn** | [**TFN**](TFN.md) | | [optional] |
24
22
 
@@ -41,8 +39,6 @@ instance = Freeclimb::IncomingNumberResult.new(
41
39
  _alias: null,
42
40
  region: null,
43
41
  country: null,
44
- voice_enabled: null,
45
- sms_enabled: null,
46
42
  offnet: null,
47
43
  tfn: null
48
44
  )
@@ -0,0 +1,20 @@
1
+ # Freeclimb::ModifyBlobRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **blob** | **Object** | | |
8
+ | **_alias** | **String** | Custom identifier for this blob that is unique for the owning account. It will be set to the blobId by default if not provided. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'freeclimb'
14
+
15
+ instance = Freeclimb::ModifyBlobRequest.new(
16
+ blob: null,
17
+ _alias: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,24 @@
1
+ # Freeclimb::PlatformError
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **Integer** | | [optional] |
8
+ | **call** | **String** | | [optional] |
9
+ | **url** | **String** | | [optional] |
10
+ | **details** | **Object** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'freeclimb'
16
+
17
+ instance = Freeclimb::PlatformError.new(
18
+ code: null,
19
+ call: null,
20
+ url: null,
21
+ details: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,18 @@
1
+ # Freeclimb::ReplaceBlobRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **blob** | **Object** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'freeclimb'
13
+
14
+ instance = Freeclimb::ReplaceBlobRequest.new(
15
+ blob: null
16
+ )
17
+ ```
18
+
data/docs/Say.md CHANGED
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **text** | **String** | The message to be played to the caller using TTS. The size of the string is limited to 4 KB (or 4,096 bytes). An empty string will cause the command to be skipped. | |
8
8
  | **language** | **String** | Language and (by implication) the locale to use. This implies the accent and pronunciations to be usde for the TTS. The complete list of valid values for the language attribute is shown below. | [optional] |
9
+ | **engine** | [**TTSEngine**](TTSEngine.md) | | [optional] |
9
10
  | **loop** | **Integer** | Number of times the text is said. Specifying '0' causes the `Say` action to loop until the Call is hung up. | [optional][default to 1] |
10
11
  | **privacy_mode** | **Boolean** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [optional] |
11
12
 
@@ -17,6 +18,7 @@ require 'freeclimb'
17
18
  instance = Freeclimb::Say.new(
18
19
  text: null,
19
20
  language: null,
21
+ engine: null,
20
22
  loop: null,
21
23
  privacy_mode: null
22
24
  )
data/docs/TTSEngine.md ADDED
@@ -0,0 +1,20 @@
1
+ # Freeclimb::TTSEngine
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | [**TTSEngineName**](TTSEngineName.md) | | [optional] |
8
+ | **parameters** | **Hash<String, Object>** | Parameters for the TTS engine. The parameters are specific to the engine and are documented in the engine's documentation. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'freeclimb'
14
+
15
+ instance = Freeclimb::TTSEngine.new(
16
+ name: null,
17
+ parameters: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # Freeclimb::TTSEngineName
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **FREECLIMB_STANDARD** | **TTSEngineName** | | Represented in Ruby as "freeclimb.standard" |
8
+ | **FREECLIMB_NEURAL** | **TTSEngineName** | | Represented in Ruby as "freeclimb.neural" |
9
+ | **ELEVEN_LABS** | **TTSEngineName** | | Represented in Ruby as "ElevenLabs" |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'freeclimb'
15
+
16
+ instance = Freeclimb::TTSEngineName::[NAME OF ENUM]
17
+ ```
18
+