freeclimb 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8822c0cb7172e4c5ff3cab045f98636e7645b842dcc7c17097fec6b2257c10a7
4
- data.tar.gz: fa3c4ec0294ec97f141a1d58dffd65034f1d664b8e4ea65e62fc4ffffb2c6911
3
+ metadata.gz: 617bf20b11396e58276bbbdd33244196b877a26f1cc79486b831c97254e51dd2
4
+ data.tar.gz: 9f233c8a0fd8dff303a73421e3431ee84dcfe31ae95121cbcdffa3de0fd54ea7
5
5
  SHA512:
6
- metadata.gz: 1ad8968cabebe723a38432655e665764a7841aa97bb21a0275f3d6920bdc9c870ef69b922f03c69e79320e567e9f5a39cc2e6a9d521c8e38c684f793cf8dd761
7
- data.tar.gz: a8b822a510b5bed0bba1b77ea3507becc96efe65259a518a6f45d014ee4c564c24828f28d23f3bb75026ceebd40daeb8c337bb998e19373f807c13e7533c37fb
6
+ metadata.gz: 151eab0b3b6e3f54871ca7a966dc4a5fc491a39fb9c8a303c618b149434505e192124ed4c74abd344b168a64925315f5abbcedf2330f01dccbf49f76a6219f01
7
+ data.tar.gz: 1f03da230e4bfd987128d72156e840f04c5f64d10e3f1af97fa028634a6b2bfaae1656a06452535fbb9453940dc77f565fa5bba9d98e0dcbb2e38736c2ebe330
data/CHANGELOG.md CHANGED
@@ -7,6 +7,15 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
  ## [Unreleased]
8
8
  None
9
9
 
10
+ <a name="3.0.1"></a>
11
+ ## [3.0.1] - 2021-11-02
12
+ ### Added
13
+ - Add `active` property to CallResult
14
+
15
+ ### Changed
16
+ - Small instances of `token` to `key`
17
+ - Call ID is not required to `AddToConference`
18
+
10
19
  <a name="3.0.0"></a>
11
20
  ## [3.0.0] - 2021-05-03
12
21
  ### Added
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: 3.0.0
8
+ - Package version: 3.0.1
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-3.0.0.gem
24
+ gem install ./freeclimb-3.0.1.gem
25
25
  ```
26
26
 
27
- (for development, run `gem install --dev ./freeclimb-3.0.0.gem` to install the development dependencies)
27
+ (for development, run `gem install --dev ./freeclimb-3.0.1.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', '~> 3.0.0'
33
+ gem 'freeclimb', '~> 3.0.1'
34
34
 
35
35
  ### Install from Ruby gems
36
36
  ```shell
@@ -259,6 +259,7 @@ Class | Method | HTTP request | Description
259
259
 
260
260
  - **Type**: HTTP basic authentication
261
261
 
262
+
262
263
  ## Getting Help
263
264
 
264
265
  If you are experiencing difficulties, [contact support](https://freeclimb.com/support).
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  **date_updated** | **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]
10
10
  **revision** | **Integer** | Revision count for the resource. This count is set to 1 on creation and is incremented every time it is updated. | [optional]
11
11
  **account_id** | **String** | String that uniquely identifies this account resource. | [optional]
12
- **api_key** | **String** | The API key assigned to this account. This token must be kept a secret by the customer. | [optional]
12
+ **api_key** | **String** | The API key assigned to this account. This key must be kept a secret by the customer. | [optional]
13
13
  **_alias** | **String** | A description for this account. | [optional]
14
14
  **label** | **String** | A string that identifies a category or group to which the account belongs. | [optional]
15
15
  **type** | **String** | The type of this account. It is one of: trial or full. | [optional]
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **account_id** | **String** | String that uniquely identifies this account resource. | [optional]
8
- **api_key** | **String** | The API key assigned to this account. This token must be kept a secret by the customer. | [optional]
8
+ **api_key** | **String** | The API key assigned to this account. This key must be kept a secret by the customer. | [optional]
9
9
  **_alias** | **String** | A description for this account. | [optional]
10
10
  **label** | **String** | A string that identifies a category or group to which the account belongs. | [optional]
11
11
  **type** | **String** | The type of this account. It is one of: trial or full. | [optional]
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **call_control_sequence** | **String** | Defines a sequence of digits that, when entered by this caller, invokes the &#x60;callControlUrl&#x60;. Only digits plus &#39;*&#39;, and &#39;#&#39; may be used. | [optional]
9
9
  **call_control_url** | **String** | URL to be invoked when this Participant enters the digit sequence defined in the &#x60;callControlSequence&#x60; attribute. | [optional]
10
10
  **conference_id** | **String** | ID of the Conference to which to add the Participant (Call leg). Conference must exist or an error will result. |
11
- **call_id** | **Boolean** | ID of the Call that will be added to the specified Conference. The Call must be in progress or an error will result. If the Call is part of an existing Conference, it is first removed from that Conference and is then moved to the new one. |
11
+ **call_id** | **Boolean** | ID of the Call that will be added to the specified Conference. The Call must be in progress or an error will result. If the Call is part of an existing Conference, it is first removed from that Conference and is then moved to the new one. | [optional]
12
12
  **leave_conference_url** | **String** | URL to be invoked when the Participant leaves the Conference. | [optional]
13
13
  **listen** | **Boolean** | If &#x60;true&#x60;, the Participant joins the Conference with listen privileges. This may be modified later via the REST API or &#x60;SetListen&#x60; PerCL command. | [optional]
14
14
  **notification_url** | **String** | When the Participant enters the Conference, this URL will be invoked using an HTTP POST request with the standard request parameters. | [optional]
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **call_control_sequence** | **String** | Defines a sequence of digits that, when entered by this caller, invokes the &#x60;callControlUrl&#x60;. Only digits plus &#39;*&#39;, and &#39;#&#39; may be used. | [optional]
9
9
  **call_control_url** | **String** | URL to be invoked when this Participant enters the digit sequence defined in the &#x60;callControlSequence&#x60; attribute. | [optional]
10
10
  **conference_id** | **String** | ID of the Conference to which to add the Participant (Call leg). Conference must exist or an error will result. |
11
- **call_id** | **Boolean** | ID of the Call that will be added to the specified Conference. The Call must be in progress or an error will result. If the Call is part of an existing Conference, it is first removed from that Conference and is then moved to the new one. |
11
+ **call_id** | **Boolean** | ID of the Call that will be added to the specified Conference. The Call must be in progress or an error will result. If the Call is part of an existing Conference, it is first removed from that Conference and is then moved to the new one. | [optional]
12
12
  **leave_conference_url** | **String** | URL to be invoked when the Participant leaves the Conference. | [optional]
13
13
  **listen** | **Boolean** | If &#x60;true&#x60;, the Participant joins the Conference with listen privileges. This may be modified later via the REST API or &#x60;SetListen&#x60; PerCL command. | [optional]
14
14
  **notification_url** | **String** | When the Participant enters the Conference, this URL will be invoked using an HTTP POST request with the standard request parameters. | [optional]
data/docs/CallResult.md CHANGED
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
14
14
  **from** | **String** | Phone number that initiated this Call. | [optional]
15
15
  **to** | **String** | Phone number that received this Call. | [optional]
16
16
  **phone_number_id** | **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]
17
+ **active** | **Boolean** | Whether the call is currently active or has concluded. | [optional] [default to false]
17
18
  **status** | **String** | * &#x60;queued&#x60; &amp;ndash; Call is ready and waiting in line before going out. * &#x60;ringing&#x60; &amp;ndash; Call is currently ringing. * &#x60;inProgress&#x60; &amp;ndash; Call was answered and is currently in progress. * &#x60;canceled&#x60; &amp;ndash; Call was hung up while it was queued or ringing. * &#x60;completed&#x60; &amp;ndash; Call was answered and has ended normally. * &#x60;busy&#x60; &amp;ndash; Caller received a busy signal. * &#x60;failed&#x60; &amp;ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * &#x60;noAnswer&#x60; &amp;ndash; Call ended without being answered. | [optional]
18
19
  **start_time** | **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]
19
20
  **connect_time** | **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]
@@ -39,6 +40,7 @@ instance = Freeclimb::CallResult.new(uri: nil,
39
40
  from: nil,
40
41
  to: nil,
41
42
  phone_number_id: nil,
43
+ active: nil,
42
44
  status: nil,
43
45
  start_time: nil,
44
46
  connect_time: nil,
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
10
10
  **from** | **String** | Phone number that initiated this Call. | [optional]
11
11
  **to** | **String** | Phone number that received this Call. | [optional]
12
12
  **phone_number_id** | **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]
13
+ **active** | **Boolean** | Whether the call is currently active or has concluded. | [optional] [default to false]
13
14
  **status** | **String** | * &#x60;queued&#x60; &amp;ndash; Call is ready and waiting in line before going out. * &#x60;ringing&#x60; &amp;ndash; Call is currently ringing. * &#x60;inProgress&#x60; &amp;ndash; Call was answered and is currently in progress. * &#x60;canceled&#x60; &amp;ndash; Call was hung up while it was queued or ringing. * &#x60;completed&#x60; &amp;ndash; Call was answered and has ended normally. * &#x60;busy&#x60; &amp;ndash; Caller received a busy signal. * &#x60;failed&#x60; &amp;ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * &#x60;noAnswer&#x60; &amp;ndash; Call ended without being answered. | [optional]
14
15
  **start_time** | **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]
15
16
  **connect_time** | **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]
@@ -31,6 +32,7 @@ instance = Freeclimb::CallResultAllOf.new(call_id: nil,
31
32
  from: nil,
32
33
  to: nil,
33
34
  phone_number_id: nil,
35
+ active: nil,
34
36
  status: nil,
35
37
  start_time: nil,
36
38
  connect_time: nil,
Binary file
@@ -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/3.0.0/ruby"
33
+ @user_agent = "FreeClimbSDK/3.0.1/ruby"
34
34
  @default_headers = {
35
35
  'Content-Type' => 'application/json',
36
36
  'User-Agent' => @user_agent
@@ -29,7 +29,7 @@ module Freeclimb
29
29
  # String that uniquely identifies this account resource.
30
30
  attr_accessor :account_id
31
31
 
32
- # The API key assigned to this account. This token must be kept a secret by the customer.
32
+ # The API key assigned to this account. This key must be kept a secret by the customer.
33
33
  attr_accessor :api_key
34
34
 
35
35
  # A description for this account.
@@ -17,7 +17,7 @@ module Freeclimb
17
17
  # String that uniquely identifies this account resource.
18
18
  attr_accessor :account_id
19
19
 
20
- # The API key assigned to this account. This token must be kept a secret by the customer.
20
+ # The API key assigned to this account. This key must be kept a secret by the customer.
21
21
  attr_accessor :api_key
22
22
 
23
23
  # A description for this account.
@@ -158,10 +158,6 @@ module Freeclimb
158
158
  invalid_properties.push('invalid value for "conference_id", conference_id cannot be nil.')
159
159
  end
160
160
 
161
- if @call_id.nil?
162
- invalid_properties.push('invalid value for "call_id", call_id cannot be nil.')
163
- end
164
-
165
161
  invalid_properties
166
162
  end
167
163
 
@@ -169,7 +165,6 @@ module Freeclimb
169
165
  # @return true if the model is valid
170
166
  def valid?
171
167
  return false if @conference_id.nil?
172
- return false if @call_id.nil?
173
168
  true && super
174
169
  end
175
170
 
@@ -146,10 +146,6 @@ module Freeclimb
146
146
  invalid_properties.push('invalid value for "conference_id", conference_id cannot be nil.')
147
147
  end
148
148
 
149
- if @call_id.nil?
150
- invalid_properties.push('invalid value for "call_id", call_id cannot be nil.')
151
- end
152
-
153
149
  invalid_properties
154
150
  end
155
151
 
@@ -157,7 +153,6 @@ module Freeclimb
157
153
  # @return true if the model is valid
158
154
  def valid?
159
155
  return false if @conference_id.nil?
160
- return false if @call_id.nil?
161
156
  true
162
157
  end
163
158
 
@@ -44,6 +44,9 @@ module Freeclimb
44
44
  # 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).
45
45
  attr_accessor :phone_number_id
46
46
 
47
+ # Whether the call is currently active or has concluded.
48
+ attr_accessor :active
49
+
47
50
  # * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered.
48
51
  attr_accessor :status
49
52
 
@@ -106,6 +109,7 @@ module Freeclimb
106
109
  :'from' => :'from',
107
110
  :'to' => :'to',
108
111
  :'phone_number_id' => :'phoneNumberId',
112
+ :'active' => :'active',
109
113
  :'status' => :'status',
110
114
  :'start_time' => :'startTime',
111
115
  :'connect_time' => :'connectTime',
@@ -131,6 +135,7 @@ module Freeclimb
131
135
  :'from' => :'String',
132
136
  :'to' => :'String',
133
137
  :'phone_number_id' => :'String',
138
+ :'active' => :'Boolean',
134
139
  :'status' => :'String',
135
140
  :'start_time' => :'String',
136
141
  :'connect_time' => :'String',
@@ -212,6 +217,12 @@ module Freeclimb
212
217
  self.phone_number_id = attributes[:'phone_number_id']
213
218
  end
214
219
 
220
+ if attributes.key?(:'active')
221
+ self.active = attributes[:'active']
222
+ else
223
+ self.active = false
224
+ end
225
+
215
226
  if attributes.key?(:'status')
216
227
  self.status = attributes[:'status']
217
228
  end
@@ -289,6 +300,7 @@ module Freeclimb
289
300
  from == o.from &&
290
301
  to == o.to &&
291
302
  phone_number_id == o.phone_number_id &&
303
+ active == o.active &&
292
304
  status == o.status &&
293
305
  start_time == o.start_time &&
294
306
  connect_time == o.connect_time &&
@@ -309,7 +321,7 @@ module Freeclimb
309
321
  # Calculates hash code according to all attributes.
310
322
  # @return [Integer] Hash code
311
323
  def hash
312
- [uri, date_created, date_updated, revision, call_id, parent_call_id, account_id, from, to, phone_number_id, status, start_time, connect_time, end_time, duration, connect_duration, direction, answered_by, subresource_uris].hash
324
+ [uri, date_created, date_updated, revision, call_id, parent_call_id, account_id, from, to, phone_number_id, active, status, start_time, connect_time, end_time, duration, connect_duration, direction, answered_by, subresource_uris].hash
313
325
  end
314
326
 
315
327
  # Builds the object from hash
@@ -32,6 +32,9 @@ module Freeclimb
32
32
  # 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).
33
33
  attr_accessor :phone_number_id
34
34
 
35
+ # Whether the call is currently active or has concluded.
36
+ attr_accessor :active
37
+
35
38
  # * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered.
36
39
  attr_accessor :status
37
40
 
@@ -90,6 +93,7 @@ module Freeclimb
90
93
  :'from' => :'from',
91
94
  :'to' => :'to',
92
95
  :'phone_number_id' => :'phoneNumberId',
96
+ :'active' => :'active',
93
97
  :'status' => :'status',
94
98
  :'start_time' => :'startTime',
95
99
  :'connect_time' => :'connectTime',
@@ -111,6 +115,7 @@ module Freeclimb
111
115
  :'from' => :'String',
112
116
  :'to' => :'String',
113
117
  :'phone_number_id' => :'String',
118
+ :'active' => :'Boolean',
114
119
  :'status' => :'String',
115
120
  :'start_time' => :'String',
116
121
  :'connect_time' => :'String',
@@ -168,6 +173,12 @@ module Freeclimb
168
173
  self.phone_number_id = attributes[:'phone_number_id']
169
174
  end
170
175
 
176
+ if attributes.key?(:'active')
177
+ self.active = attributes[:'active']
178
+ else
179
+ self.active = false
180
+ end
181
+
171
182
  if attributes.key?(:'status')
172
183
  self.status = attributes[:'status']
173
184
  end
@@ -241,6 +252,7 @@ module Freeclimb
241
252
  from == o.from &&
242
253
  to == o.to &&
243
254
  phone_number_id == o.phone_number_id &&
255
+ active == o.active &&
244
256
  status == o.status &&
245
257
  start_time == o.start_time &&
246
258
  connect_time == o.connect_time &&
@@ -261,7 +273,7 @@ module Freeclimb
261
273
  # Calculates hash code according to all attributes.
262
274
  # @return [Integer] Hash code
263
275
  def hash
264
- [call_id, parent_call_id, account_id, from, to, phone_number_id, status, start_time, connect_time, end_time, duration, connect_duration, direction, answered_by, subresource_uris].hash
276
+ [call_id, parent_call_id, account_id, from, to, phone_number_id, active, status, start_time, connect_time, end_time, duration, connect_duration, direction, answered_by, subresource_uris].hash
265
277
  end
266
278
 
267
279
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module Freeclimb
14
- VERSION = '3.0.0'
14
+ VERSION = '3.0.1'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freeclimb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-11 00:00:00.000000000 Z
11
+ date: 2021-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -197,6 +197,7 @@ files:
197
197
  - freeclimb-2.1.1.gem
198
198
  - freeclimb-2.1.2.gem
199
199
  - freeclimb-2.2.0.gem
200
+ - freeclimb-3.0.0.gem
200
201
  - freeclimb.gemspec
201
202
  - lib/freeclimb.rb
202
203
  - lib/freeclimb/api/default_api.rb
@@ -377,7 +378,7 @@ homepage: https://freeclimb.com
377
378
  licenses:
378
379
  - Unlicense
379
380
  metadata: {}
380
- post_install_message:
381
+ post_install_message:
381
382
  rdoc_options: []
382
383
  require_paths:
383
384
  - lib
@@ -393,7 +394,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
393
394
  version: '0'
394
395
  requirements: []
395
396
  rubygems_version: 3.0.3
396
- signing_key:
397
+ signing_key:
397
398
  specification_version: 4
398
399
  summary: FreeClimb API Ruby Gem
399
400
  test_files: