freeclimb 1.0.3 → 2.0.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -5
- data/docs/AccountRequest.md +1 -3
- data/docs/ApplicationRequest.md +1 -3
- data/docs/BuyIncomingNumberRequest.md +1 -3
- data/docs/CreateConferenceRequest.md +1 -3
- data/docs/DefaultApi.md +6 -14
- data/docs/FilterLogsRequest.md +1 -3
- data/docs/IncomingNumberRequest.md +1 -3
- data/docs/MakeCallRequest.md +0 -2
- data/docs/MessageRequest.md +0 -2
- data/docs/MessageRequestAllOf.md +0 -2
- data/docs/QueueRequest.md +1 -3
- data/docs/UpdateCallRequest.md +1 -3
- data/docs/UpdateConferenceParticipantRequest.md +1 -3
- data/docs/UpdateConferenceRequest.md +1 -3
- data/lib/freeclimb.rb +0 -1
- data/lib/freeclimb/api/default_api.rb +2 -10
- data/lib/freeclimb/api_client.rb +1 -1
- data/lib/freeclimb/models/account_request.rb +4 -14
- data/lib/freeclimb/models/application_request.rb +4 -14
- data/lib/freeclimb/models/buy_incoming_number_request.rb +4 -14
- data/lib/freeclimb/models/create_conference_request.rb +4 -14
- data/lib/freeclimb/models/filter_logs_request.rb +4 -14
- data/lib/freeclimb/models/incoming_number_request.rb +4 -14
- data/lib/freeclimb/models/make_call_request.rb +1 -11
- data/lib/freeclimb/models/message_request.rb +1 -11
- data/lib/freeclimb/models/message_request_all_of.rb +1 -11
- data/lib/freeclimb/models/queue_request.rb +4 -14
- data/lib/freeclimb/models/update_call_request.rb +4 -14
- data/lib/freeclimb/models/update_conference_participant_request.rb +4 -14
- data/lib/freeclimb/models/update_conference_request.rb +4 -14
- data/lib/freeclimb/version.rb +1 -1
- data/spec/api/default_api_spec.rb +2 -10
- metadata +2 -6
- data/docs/DequeueMemberRequest.md +0 -17
- data/lib/freeclimb/models/dequeue_member_request.rb +0 -207
- data/spec/models/dequeue_member_request_spec.rb +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89a0a05b6000e3c8fc68bc43ee19378adfd809d62d989622c34e5fb7b4fcf609
|
4
|
+
data.tar.gz: c0b44914411d928fa8ddb3bd6ec8495438dd1d69d6ef308be3c27e6ff91079af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0278ffee2048c13fbadf559f67667615d9c808537e2ef399b8403f4d8be3f09756f4e47bdf7bd892c055a443f0cbf3c215f3e23ecedb0190b933e7fd024b8f93'
|
7
|
+
data.tar.gz: '0982c76756c8605f3c6f0a0736fd4db3a9d6af6a0fad59e433c8645900e5a412da34b0de143828d1bcb5ee42ab884825ed9c989369511e04f4fc78bd57c2023f'
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -5,7 +5,7 @@ FreeClimb is a cloud-based application programming interface (API) that puts the
|
|
5
5
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
6
6
|
|
7
7
|
- API version: 1.0.0
|
8
|
-
- Package version:
|
8
|
+
- Package version: 2.0.0
|
9
9
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
10
10
|
|
11
11
|
## Installation
|
@@ -21,16 +21,16 @@ gem build freeclimb.gemspec
|
|
21
21
|
Then either install the gem locally:
|
22
22
|
|
23
23
|
```shell
|
24
|
-
gem install ./freeclimb-
|
24
|
+
gem install ./freeclimb-2.0.0.gem
|
25
25
|
```
|
26
26
|
|
27
|
-
(for development, run `gem install --dev ./freeclimb-
|
27
|
+
(for development, run `gem install --dev ./freeclimb-2.0.0.gem` to install the development dependencies)
|
28
28
|
|
29
29
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
30
30
|
|
31
31
|
Finally add this to the Gemfile:
|
32
32
|
|
33
|
-
gem 'freeclimb', '~>
|
33
|
+
gem 'freeclimb', '~> 2.0.0'
|
34
34
|
|
35
35
|
### Install from Ruby gems
|
36
36
|
```shell
|
@@ -178,7 +178,6 @@ Class | Method | HTTP request | Description
|
|
178
178
|
- [Freeclimb::CreateConferenceAllOf](docs/CreateConferenceAllOf.md)
|
179
179
|
- [Freeclimb::CreateConferenceRequest](docs/CreateConferenceRequest.md)
|
180
180
|
- [Freeclimb::Dequeue](docs/Dequeue.md)
|
181
|
-
- [Freeclimb::DequeueMemberRequest](docs/DequeueMemberRequest.md)
|
182
181
|
- [Freeclimb::Enqueue](docs/Enqueue.md)
|
183
182
|
- [Freeclimb::EnqueueAllOf](docs/EnqueueAllOf.md)
|
184
183
|
- [Freeclimb::FilterLogsRequest](docs/FilterLogsRequest.md)
|
data/docs/AccountRequest.md
CHANGED
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**_alias** | **String** | Description for this account. | [optional]
|
8
8
|
**label** | **String** | Group to which this account belongs. | [optional]
|
9
|
-
**request_id** | **String** | RequestId for this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response, e.g. X-Pulse-Request-Id: <requestId> | [optional]
|
10
9
|
|
11
10
|
## Code Sample
|
12
11
|
|
@@ -14,8 +13,7 @@ Name | Type | Description | Notes
|
|
14
13
|
require 'freeclimb'
|
15
14
|
|
16
15
|
instance = Freeclimb::AccountRequest.new(_alias: nil,
|
17
|
-
label: nil
|
18
|
-
request_id: nil)
|
16
|
+
label: nil)
|
19
17
|
```
|
20
18
|
|
21
19
|
|
data/docs/ApplicationRequest.md
CHANGED
@@ -11,7 +11,6 @@ Name | Type | Description | Notes
|
|
11
11
|
**status_callback_url** | **String** | The URL that FreeClimb will request to pass call status (such as call ended) to the application. Note: This is a notification only; any PerCL returned will be ignored. | [optional]
|
12
12
|
**sms_url** | **String** | The URL that FreeClimb will request when a phone number assigned to this application receives an incoming SMS message. Used for inbound SMS only. Note: Any PerCL returned will be ignored. | [optional]
|
13
13
|
**sms_fallback_url** | **String** | The URL that FreeClimb will request if it times out waiting for a response from the smsUrl. Used for inbound SMS only. Note: Any PerCL returned will be ignored. | [optional]
|
14
|
-
**request_id** | **String** | The requestId for this request starting with prefix \"RQ\" followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response, e.g. X-Pulse-Request-Id: <requestId> | [optional]
|
15
14
|
|
16
15
|
## Code Sample
|
17
16
|
|
@@ -24,8 +23,7 @@ instance = Freeclimb::ApplicationRequest.new(_alias: nil,
|
|
24
23
|
call_connect_url: nil,
|
25
24
|
status_callback_url: nil,
|
26
25
|
sms_url: nil,
|
27
|
-
sms_fallback_url: nil
|
28
|
-
request_id: nil)
|
26
|
+
sms_fallback_url: nil)
|
29
27
|
```
|
30
28
|
|
31
29
|
|
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
|
|
7
7
|
**phone_number** | **String** | Phone number to purchase in E.164 format (as returned in the list of Available Phone Numbers). |
|
8
8
|
**_alias** | **String** | Description for this new incoming phone number (max 64 characters). | [optional]
|
9
9
|
**application_id** | **String** | ID of the application that should handle phone calls to the number. | [optional]
|
10
|
-
**request_id** | **String** | RequestId for this request starting with prefix `RQ` followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response, (e.g., `X-Pulse-Request-Id: <requestId>`). | [optional]
|
11
10
|
|
12
11
|
## Code Sample
|
13
12
|
|
@@ -16,8 +15,7 @@ require 'freeclimb'
|
|
16
15
|
|
17
16
|
instance = Freeclimb::BuyIncomingNumberRequest.new(phone_number: nil,
|
18
17
|
_alias: nil,
|
19
|
-
application_id: nil
|
20
|
-
request_id: nil)
|
18
|
+
application_id: nil)
|
21
19
|
```
|
22
20
|
|
23
21
|
|
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
|
|
9
9
|
**record** | **Boolean** | Setting to `true` records the entire Conference. | [optional]
|
10
10
|
**wait_url** | **String** | If specified, a URL for the audio file that provides custom hold music for the Conference when it is in the populated state. Otherwise, FreeClimb uses a system default audio file. This is always fetched using HTTP GET and is fetched just once &mdash; when the Conference is created. | [optional]
|
11
11
|
**status_callback_url** | **String** | This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below). | [optional]
|
12
|
-
**request_id** | **String** | The requestId for this request starting with prefix \"RQ\" followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>). | [optional]
|
13
12
|
|
14
13
|
## Code Sample
|
15
14
|
|
@@ -20,8 +19,7 @@ instance = Freeclimb::CreateConferenceRequest.new(_alias: nil,
|
|
20
19
|
play_beep: nil,
|
21
20
|
record: nil,
|
22
21
|
wait_url: nil,
|
23
|
-
status_callback_url: nil
|
24
|
-
request_id: nil)
|
22
|
+
status_callback_url: nil)
|
25
23
|
```
|
26
24
|
|
27
25
|
|
data/docs/DefaultApi.md
CHANGED
@@ -464,7 +464,7 @@ nil (empty response body)
|
|
464
464
|
|
465
465
|
## dequeue_a_member
|
466
466
|
|
467
|
-
> QueueMember dequeue_a_member(queue_id, call_id
|
467
|
+
> QueueMember dequeue_a_member(queue_id, call_id)
|
468
468
|
|
469
469
|
Dequeue a Member
|
470
470
|
|
@@ -483,13 +483,10 @@ end
|
|
483
483
|
api_instance = Freeclimb::DefaultApi.new
|
484
484
|
queue_id = 'queue_id_example' # String | String that uniquely identifies the Queue that the Member belongs to.
|
485
485
|
call_id = 'call_id_example' # String | ID if the Call that the Member belongs to
|
486
|
-
opts = {
|
487
|
-
dequeue_member_request: Freeclimb::DequeueMemberRequest.new # DequeueMemberRequest | Dequeue member request details
|
488
|
-
}
|
489
486
|
|
490
487
|
begin
|
491
488
|
#Dequeue a Member
|
492
|
-
result = api_instance.dequeue_a_member(queue_id, call_id
|
489
|
+
result = api_instance.dequeue_a_member(queue_id, call_id)
|
493
490
|
p result
|
494
491
|
rescue Freeclimb::ApiError => e
|
495
492
|
puts "Exception when calling DefaultApi->dequeue_a_member: #{e}"
|
@@ -503,7 +500,6 @@ Name | Type | Description | Notes
|
|
503
500
|
------------- | ------------- | ------------- | -------------
|
504
501
|
**queue_id** | **String**| String that uniquely identifies the Queue that the Member belongs to. |
|
505
502
|
**call_id** | **String**| ID if the Call that the Member belongs to |
|
506
|
-
**dequeue_member_request** | [**DequeueMemberRequest**](DequeueMemberRequest.md)| Dequeue member request details | [optional]
|
507
503
|
|
508
504
|
### Return type
|
509
505
|
|
@@ -515,13 +511,13 @@ Name | Type | Description | Notes
|
|
515
511
|
|
516
512
|
### HTTP request headers
|
517
513
|
|
518
|
-
- **Content-Type**:
|
514
|
+
- **Content-Type**: Not defined
|
519
515
|
- **Accept**: application/json
|
520
516
|
|
521
517
|
|
522
518
|
## dequeue_head_member
|
523
519
|
|
524
|
-
> QueueMember dequeue_head_member(queue_id
|
520
|
+
> QueueMember dequeue_head_member(queue_id)
|
525
521
|
|
526
522
|
Dequeue Head Member
|
527
523
|
|
@@ -539,13 +535,10 @@ end
|
|
539
535
|
|
540
536
|
api_instance = Freeclimb::DefaultApi.new
|
541
537
|
queue_id = 'queue_id_example' # String | String that uniquely identifies this queue resource.
|
542
|
-
opts = {
|
543
|
-
dequeue_member_request: Freeclimb::DequeueMemberRequest.new # DequeueMemberRequest | Dequeue head member request details
|
544
|
-
}
|
545
538
|
|
546
539
|
begin
|
547
540
|
#Dequeue Head Member
|
548
|
-
result = api_instance.dequeue_head_member(queue_id
|
541
|
+
result = api_instance.dequeue_head_member(queue_id)
|
549
542
|
p result
|
550
543
|
rescue Freeclimb::ApiError => e
|
551
544
|
puts "Exception when calling DefaultApi->dequeue_head_member: #{e}"
|
@@ -558,7 +551,6 @@ end
|
|
558
551
|
Name | Type | Description | Notes
|
559
552
|
------------- | ------------- | ------------- | -------------
|
560
553
|
**queue_id** | **String**| String that uniquely identifies this queue resource. |
|
561
|
-
**dequeue_member_request** | [**DequeueMemberRequest**](DequeueMemberRequest.md)| Dequeue head member request details | [optional]
|
562
554
|
|
563
555
|
### Return type
|
564
556
|
|
@@ -570,7 +562,7 @@ Name | Type | Description | Notes
|
|
570
562
|
|
571
563
|
### HTTP request headers
|
572
564
|
|
573
|
-
- **Content-Type**:
|
565
|
+
- **Content-Type**: Not defined
|
574
566
|
- **Accept**: application/json
|
575
567
|
|
576
568
|
|
data/docs/FilterLogsRequest.md
CHANGED
@@ -5,15 +5,13 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pql** | **String** | The filter query for retrieving logs. See **Performance Query Language** below. |
|
8
|
-
**request_id** | **String** | RequestId for this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>). | [optional]
|
9
8
|
|
10
9
|
## Code Sample
|
11
10
|
|
12
11
|
```ruby
|
13
12
|
require 'freeclimb'
|
14
13
|
|
15
|
-
instance = Freeclimb::FilterLogsRequest.new(pql: nil
|
16
|
-
request_id: nil)
|
14
|
+
instance = Freeclimb::FilterLogsRequest.new(pql: nil)
|
17
15
|
```
|
18
16
|
|
19
17
|
|
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**application_id** | **String** | ID of the Application that should handle calls to this number. | [optional]
|
8
8
|
**_alias** | **String** | Description for this phone number. | [optional]
|
9
|
-
**request_id** | **String** | RequestId for this request starting with prefix `RQ` followed by 40 hexadecimal characters. FreeClimb logs that are generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g., `X-Pulse-Request-Id: <requestId>`). | [optional]
|
10
9
|
|
11
10
|
## Code Sample
|
12
11
|
|
@@ -14,8 +13,7 @@ Name | Type | Description | Notes
|
|
14
13
|
require 'freeclimb'
|
15
14
|
|
16
15
|
instance = Freeclimb::IncomingNumberRequest.new(application_id: nil,
|
17
|
-
_alias: nil
|
18
|
-
request_id: nil)
|
16
|
+
_alias: nil)
|
19
17
|
```
|
20
18
|
|
21
19
|
|
data/docs/MakeCallRequest.md
CHANGED
@@ -11,7 +11,6 @@ Name | Type | Description | Notes
|
|
11
11
|
**if_machine** | **String** | Specifies how FreeClimb should handle this Call if an answering machine answers it. | [optional]
|
12
12
|
**if_machine_url** | **String** | This attribute specifies a URL to which FreeClimb will make a POST request when an answering machine or a fax machine is detected. This URL is required if the ifMachine flag is set to redirect. When ifMachine is set to hangup, ifMachineUrl must not be included in the request. For more information, see **ifMachineUrl example** below. | [optional]
|
13
13
|
**timeout** | **Integer** | Number of seconds that FreeClimb should allow the phone to ring before assuming there is no answer. Default is 30 seconds. Maximum allowed ring-time is determined by the target phone's provider. Note that most providers limit ring-time to 120 seconds. | [optional]
|
14
|
-
**request_id** | **String** | The requestId for this request starting with prefix \"RQ\" followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g. `X-Pulse-Request-Id: <requestId>`). | [optional]
|
15
14
|
**parent_call_id** | **String** | The ID of the parent Call in the case that this new Call is meant to be treated as a child of an existing Call. This attribute should be included when possible to reduce latency when adding child calls to Conferences containing the parent Call. A call can only be used as a parent once the call is in progress or as an inbound call that is still ringing. An outbound call is considered to be in progress once the outdialConnect or outdialApiConnect webhook is invoked. An inbound call is ringing when the inbound webhook is invoked. | [optional]
|
16
15
|
|
17
16
|
## Code Sample
|
@@ -26,7 +25,6 @@ instance = Freeclimb::MakeCallRequest.new(from: nil,
|
|
26
25
|
if_machine: nil,
|
27
26
|
if_machine_url: nil,
|
28
27
|
timeout: nil,
|
29
|
-
request_id: nil,
|
30
28
|
parent_call_id: nil)
|
31
29
|
```
|
32
30
|
|
data/docs/MessageRequest.md
CHANGED
@@ -12,7 +12,6 @@ Name | Type | Description | Notes
|
|
12
12
|
**to** | **String** | Phone number to receive the message. Must be within FreeClimb's service area. |
|
13
13
|
**text** | **String** | Text contained in the message (maximum 160 characters). **Note:** For text, only ASCII characters are supported. |
|
14
14
|
**notification_url** | **String** | When the Message changes status, this URL is invoked using HTTP POST with the messageStatus parameters. **Note:** This is a notification only; any PerCL returned is ignored. | [optional]
|
15
|
-
**request_id** | **String** | RequestId for this request, starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>). | [optional]
|
16
15
|
**account_id** | **String** | String that uniquely identifies this account resource. | [optional]
|
17
16
|
|
18
17
|
## Code Sample
|
@@ -28,7 +27,6 @@ instance = Freeclimb::MessageRequest.new(uri: nil,
|
|
28
27
|
to: nil,
|
29
28
|
text: nil,
|
30
29
|
notification_url: nil,
|
31
|
-
request_id: nil,
|
32
30
|
account_id: nil)
|
33
31
|
```
|
34
32
|
|
data/docs/MessageRequestAllOf.md
CHANGED
@@ -8,7 +8,6 @@ Name | Type | Description | Notes
|
|
8
8
|
**to** | **String** | Phone number to receive the message. Must be within FreeClimb's service area. |
|
9
9
|
**text** | **String** | Text contained in the message (maximum 160 characters). **Note:** For text, only ASCII characters are supported. |
|
10
10
|
**notification_url** | **String** | When the Message changes status, this URL is invoked using HTTP POST with the messageStatus parameters. **Note:** This is a notification only; any PerCL returned is ignored. | [optional]
|
11
|
-
**request_id** | **String** | RequestId for this request, starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>). | [optional]
|
12
11
|
**account_id** | **String** | String that uniquely identifies this account resource. | [optional]
|
13
12
|
|
14
13
|
## Code Sample
|
@@ -20,7 +19,6 @@ instance = Freeclimb::MessageRequestAllOf.new(from: nil,
|
|
20
19
|
to: nil,
|
21
20
|
text: nil,
|
22
21
|
notification_url: nil,
|
23
|
-
request_id: nil,
|
24
22
|
account_id: nil)
|
25
23
|
```
|
26
24
|
|
data/docs/QueueRequest.md
CHANGED
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**_alias** | **String** | Description for this Queue. Max length is 64 characters. | [optional]
|
8
8
|
**max_size** | **Integer** | Maximum number of calls this queue can hold. Default is 100. Maximum is 1000. **Note:** Reducing the maxSize of a Queue causes the Queue to reject incoming requests until it shrinks below the new value of maxSize. | [optional]
|
9
|
-
**request_id** | **String** | RequestId for this request, starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request include this requestId. If this parameter is not provided, FreeClimb generates a requestId and returns it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>). | [optional]
|
10
9
|
|
11
10
|
## Code Sample
|
12
11
|
|
@@ -14,8 +13,7 @@ Name | Type | Description | Notes
|
|
14
13
|
require 'freeclimb'
|
15
14
|
|
16
15
|
instance = Freeclimb::QueueRequest.new(_alias: nil,
|
17
|
-
max_size: nil
|
18
|
-
request_id: nil)
|
16
|
+
max_size: nil)
|
19
17
|
```
|
20
18
|
|
21
19
|
|
data/docs/UpdateCallRequest.md
CHANGED
@@ -5,15 +5,13 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**status** | **String** | Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress. |
|
8
|
-
**request_id** | **String** | RequestId for this request starting with prefix `RQ` followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g. `X-Pulse-Request-Id: <requestId>`). | [optional]
|
9
8
|
|
10
9
|
## Code Sample
|
11
10
|
|
12
11
|
```ruby
|
13
12
|
require 'freeclimb'
|
14
13
|
|
15
|
-
instance = Freeclimb::UpdateCallRequest.new(status: nil
|
16
|
-
request_id: nil)
|
14
|
+
instance = Freeclimb::UpdateCallRequest.new(status: nil)
|
17
15
|
```
|
18
16
|
|
19
17
|
|
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**talk** | **Boolean** | (Optional) Default is `true`. Setting to `false` mutes the Participant. FreeClimb returns an error and ignores any other value. | [optional]
|
8
8
|
**listen** | **Boolean** | (Optional) Default is `true`. Setting to `false` silences the Conference for this Participant. FreeClimb returns an error and ignores any other value. | [optional]
|
9
|
-
**request_id** | **String** | ID of this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request include this requestId. If this value is not provided, FreeClimb generates a requestId and returns it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>). | [optional]
|
10
9
|
|
11
10
|
## Code Sample
|
12
11
|
|
@@ -14,8 +13,7 @@ Name | Type | Description | Notes
|
|
14
13
|
require 'freeclimb'
|
15
14
|
|
16
15
|
instance = Freeclimb::UpdateConferenceParticipantRequest.new(talk: nil,
|
17
|
-
listen: nil
|
18
|
-
request_id: nil)
|
16
|
+
listen: nil)
|
19
17
|
```
|
20
18
|
|
21
19
|
|
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
|
|
7
7
|
**_alias** | **String** | Description for this conference. Maximum 64 characters. | [optional]
|
8
8
|
**play_beep** | **String** | Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. | [optional] [default to 'always']
|
9
9
|
**status** | **String** | New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.** | [optional]
|
10
|
-
**request_id** | **String** | ID for this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g. X-Pulse-Request-Id: <requestId>). | [optional]
|
11
10
|
|
12
11
|
## Code Sample
|
13
12
|
|
@@ -16,8 +15,7 @@ require 'freeclimb'
|
|
16
15
|
|
17
16
|
instance = Freeclimb::UpdateConferenceRequest.new(_alias: nil,
|
18
17
|
play_beep: nil,
|
19
|
-
status: nil
|
20
|
-
request_id: nil)
|
18
|
+
status: nil)
|
21
19
|
```
|
22
20
|
|
23
21
|
|
data/lib/freeclimb.rb
CHANGED
@@ -48,7 +48,6 @@ require 'freeclimb/models/create_conference'
|
|
48
48
|
require 'freeclimb/models/create_conference_all_of'
|
49
49
|
require 'freeclimb/models/create_conference_request'
|
50
50
|
require 'freeclimb/models/dequeue'
|
51
|
-
require 'freeclimb/models/dequeue_member_request'
|
52
51
|
require 'freeclimb/models/enqueue'
|
53
52
|
require 'freeclimb/models/enqueue_all_of'
|
54
53
|
require 'freeclimb/models/filter_logs_request'
|
@@ -488,7 +488,6 @@ module Freeclimb
|
|
488
488
|
# @param queue_id [String] String that uniquely identifies the Queue that the Member belongs to.
|
489
489
|
# @param call_id [String] ID if the Call that the Member belongs to
|
490
490
|
# @param [Hash] opts the optional parameters
|
491
|
-
# @option opts [DequeueMemberRequest] :dequeue_member_request Dequeue member request details
|
492
491
|
# @return [QueueMember]
|
493
492
|
def dequeue_a_member(queue_id, call_id, opts = {})
|
494
493
|
data, _status_code, _headers = dequeue_a_member_with_http_info(queue_id, call_id, opts)
|
@@ -499,7 +498,6 @@ module Freeclimb
|
|
499
498
|
# @param queue_id [String] String that uniquely identifies the Queue that the Member belongs to.
|
500
499
|
# @param call_id [String] ID if the Call that the Member belongs to
|
501
500
|
# @param [Hash] opts the optional parameters
|
502
|
-
# @option opts [DequeueMemberRequest] :dequeue_member_request Dequeue member request details
|
503
501
|
# @return [Array<(QueueMember, Integer, Hash)>] QueueMember data, response status code and response headers
|
504
502
|
def dequeue_a_member_with_http_info(queue_id, call_id, opts = {})
|
505
503
|
if @api_client.config.debugging
|
@@ -523,14 +521,12 @@ module Freeclimb
|
|
523
521
|
header_params = opts[:header_params] || {}
|
524
522
|
# HTTP header 'Accept' (if needed)
|
525
523
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
526
|
-
# HTTP header 'Content-Type'
|
527
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
528
524
|
|
529
525
|
# form parameters
|
530
526
|
form_params = opts[:form_params] || {}
|
531
527
|
|
532
528
|
# http body (model)
|
533
|
-
post_body = opts[:body]
|
529
|
+
post_body = opts[:body]
|
534
530
|
|
535
531
|
# return_type
|
536
532
|
return_type = opts[:return_type] || 'QueueMember'
|
@@ -557,7 +553,6 @@ module Freeclimb
|
|
557
553
|
# Dequeue Head Member
|
558
554
|
# @param queue_id [String] String that uniquely identifies this queue resource.
|
559
555
|
# @param [Hash] opts the optional parameters
|
560
|
-
# @option opts [DequeueMemberRequest] :dequeue_member_request Dequeue head member request details
|
561
556
|
# @return [QueueMember]
|
562
557
|
def dequeue_head_member(queue_id, opts = {})
|
563
558
|
data, _status_code, _headers = dequeue_head_member_with_http_info(queue_id, opts)
|
@@ -567,7 +562,6 @@ module Freeclimb
|
|
567
562
|
# Dequeue Head Member
|
568
563
|
# @param queue_id [String] String that uniquely identifies this queue resource.
|
569
564
|
# @param [Hash] opts the optional parameters
|
570
|
-
# @option opts [DequeueMemberRequest] :dequeue_member_request Dequeue head member request details
|
571
565
|
# @return [Array<(QueueMember, Integer, Hash)>] QueueMember data, response status code and response headers
|
572
566
|
def dequeue_head_member_with_http_info(queue_id, opts = {})
|
573
567
|
if @api_client.config.debugging
|
@@ -587,14 +581,12 @@ module Freeclimb
|
|
587
581
|
header_params = opts[:header_params] || {}
|
588
582
|
# HTTP header 'Accept' (if needed)
|
589
583
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
590
|
-
# HTTP header 'Content-Type'
|
591
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
592
584
|
|
593
585
|
# form parameters
|
594
586
|
form_params = opts[:form_params] || {}
|
595
587
|
|
596
588
|
# http body (model)
|
597
|
-
post_body = opts[:body]
|
589
|
+
post_body = opts[:body]
|
598
590
|
|
599
591
|
# return_type
|
600
592
|
return_type = opts[:return_type] || 'QueueMember'
|
data/lib/freeclimb/api_client.rb
CHANGED
@@ -30,7 +30,7 @@ module Freeclimb
|
|
30
30
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
31
31
|
def initialize(config = Configuration.default)
|
32
32
|
@config = config
|
33
|
-
@user_agent = "FreeClimbSDK/
|
33
|
+
@user_agent = "FreeClimbSDK/2.0.0/ruby"
|
34
34
|
@default_headers = {
|
35
35
|
'Content-Type' => 'application/json',
|
36
36
|
'User-Agent' => @user_agent
|