freeclimb 4.0.2 → 4.0.4

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: 1935ef64917bf8f57f192700f55a1be2d9d72919e52a9575fb6a6927374a70b4
4
- data.tar.gz: 0b5f639007c5014f4d8142d95cc09de4ba679b34d7d528a0ebf12b22f0260c79
3
+ metadata.gz: 4725d824e9d05c5c8e408f67019c69005c50ef494686f3ea73441201472a9ab5
4
+ data.tar.gz: 8bb473b7c5fb0d745b3cdda0ed258206d96375c18f2d56a468c41f9f19996bc7
5
5
  SHA512:
6
- metadata.gz: 6c3304b07b5ef6d666006a23d5555a6eeccfa4a84d30f7195d423f669c01fedd4806d51598cec39cf3e2c2f5aed1f806efa0fb67c7563cd2297fe6717034f97c
7
- data.tar.gz: a910d4da9ae6f235c98cccd228a7ffb356013ad9d317faa9852d617141e88318b4d0ebe54531cea892f53aabe4cf48e1cebc33a7e52e25cc9c57ae606115f7b4
6
+ metadata.gz: a494ae30b9545d2f4cbcfd332b27bb8f7a17e7a8f6d83be12833eb0bf534bd765c3d6cf78896cee5dd9e672e275841cb67dd60fc59e728e55097109ff8cf4430
7
+ data.tar.gz: bd95b25cc70f05066a36ef3c47a4ed474486f825661b92363964ade624c610a9dc3266eeae4067fe14de69ed6f8967c6aa2c2ed276107edeb18007804f30f58c
data/CHANGELOG.md CHANGED
@@ -6,6 +6,19 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
6
6
 
7
7
  ## [Unreleased]
8
8
  None
9
+ <a name-"4.0.4"></a>
10
+ ## [4.0.4] - 2022-12-01
11
+ ### Changed
12
+ - Changed `QueueResult` property `current_size` from string to int
13
+ - Renamed `QueueResult` property `average_wait_time` to `average_queue_removal_time`
14
+
15
+ <a name="4.0.3"></a>
16
+
17
+ ## [4.0.3] - 2022-11-01
18
+ ### Added
19
+ - Add `offnet` property in IncomingNumber resource
20
+ - Add `offnet` query parameter for listIncomingNumbers
21
+
9
22
  <a name="4.0.2"></a>
10
23
  ## [4.0.2] - 2022-10-07
11
24
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- freeclimb (4.0.2)
4
+ freeclimb (4.0.4)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -21,7 +21,7 @@ GEM
21
21
  crack (0.4.5)
22
22
  rexml
23
23
  diff-lcs (1.3)
24
- ethon (0.15.0)
24
+ ethon (0.16.0)
25
25
  ffi (>= 1.15.0)
26
26
  facets (3.1.0)
27
27
  factory_bot (6.2.0)
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.0.2
10
+ - Package version: 4.0.4
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.0.2'
18
+ gem 'freeclimb', '~> 4.0.4'
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.0.2.gem
47
+ gem install ./freeclimb-4.0.4.gem
48
48
  ```
49
- (for development, run `gem install --dev ./freeclimb-4.0.2.gem` to install the development dependencies)
49
+ (for development, run `gem install --dev ./freeclimb-4.0.4.gem` to install the development dependencies)
50
50
 
51
51
  ## Getting Started
52
52
 
data/docs/DefaultApi.md CHANGED
@@ -2281,7 +2281,8 @@ opts = {
2281
2281
  capabilities_sms: true, # Boolean |
2282
2282
  capabilities_toll_free: true, # Boolean |
2283
2283
  capabilities_ten_dlc: true, # Boolean |
2284
- capabilities_short_code: true # Boolean |
2284
+ capabilities_short_code: true, # Boolean |
2285
+ offnet: true # Boolean | Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource.
2285
2286
  }
2286
2287
 
2287
2288
  begin
@@ -2343,6 +2344,8 @@ end
2343
2344
 
2344
2345
  | **capabilities_short_code** | **Boolean** | | [optional] |
2345
2346
 
2347
+ | **offnet** | **Boolean** | Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. | [optional] |
2348
+
2346
2349
 
2347
2350
  ### Return type
2348
2351
 
@@ -19,6 +19,7 @@
19
19
  | **country** | **String** | Country of this phone number. | [optional] |
20
20
  | **voice_enabled** | **Boolean** | Indicates whether the phone number can handle Calls. Typically set to true for all numbers. | [optional] |
21
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
+ | **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] |
22
23
 
23
24
  ## Example
24
25
 
@@ -40,7 +41,8 @@ instance = Freeclimb::IncomingNumberResult.new(
40
41
  region: null,
41
42
  country: null,
42
43
  voice_enabled: null,
43
- sms_enabled: null
44
+ sms_enabled: null,
45
+ offnet: null
44
46
  )
45
47
  ```
46
48
 
@@ -15,6 +15,7 @@
15
15
  | **country** | **String** | Country of this phone number. | [optional] |
16
16
  | **voice_enabled** | **Boolean** | Indicates whether the phone number can handle Calls. Typically set to true for all numbers. | [optional] |
17
17
  | **sms_enabled** | **Boolean** | Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. | [optional] |
18
+ | **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] |
18
19
 
19
20
  ## Example
20
21
 
@@ -32,7 +33,8 @@ instance = Freeclimb::IncomingNumberResultAllOf.new(
32
33
  region: null,
33
34
  country: null,
34
35
  voice_enabled: null,
35
- sms_enabled: null
36
+ sms_enabled: null,
37
+ offnet: null
36
38
  )
37
39
  ```
38
40
 
data/docs/QueueResult.md CHANGED
@@ -12,8 +12,8 @@
12
12
  | **queue_id** | **String** | A string that uniquely identifies this Queue resource. | [optional] |
13
13
  | **_alias** | **String** | A description for this Queue. | [optional] |
14
14
  | **max_size** | **Integer** | The maximum number of Calls permitted in the Queue. Default is 100. Maximum is 1000. | [optional] |
15
- | **current_size** | **String** | Count of Calls currently in the Queue. | [optional] |
16
- | **average_wait_time** | **String** | Average wait time (in seconds) of all Calls in the Queue. | [optional] |
15
+ | **current_size** | **Integer** | Count of Calls currently in the Queue. | [optional] |
16
+ | **average_queue_removal_time** | **Integer** | The average amount of time (in seconds) for a call to be removed from the queue. | [optional] |
17
17
  | **subresource_uris** | **Object** | List of subresources for this Queue (which includes Queue members). | [optional] |
18
18
 
19
19
  ## Example
@@ -31,7 +31,7 @@ instance = Freeclimb::QueueResult.new(
31
31
  _alias: null,
32
32
  max_size: null,
33
33
  current_size: null,
34
- average_wait_time: null,
34
+ average_queue_removal_time: null,
35
35
  subresource_uris: null
36
36
  )
37
37
  ```
@@ -8,8 +8,8 @@
8
8
  | **queue_id** | **String** | A string that uniquely identifies this Queue resource. | [optional] |
9
9
  | **_alias** | **String** | A description for this Queue. | [optional] |
10
10
  | **max_size** | **Integer** | The maximum number of Calls permitted in the Queue. Default is 100. Maximum is 1000. | [optional] |
11
- | **current_size** | **String** | Count of Calls currently in the Queue. | [optional] |
12
- | **average_wait_time** | **String** | Average wait time (in seconds) of all Calls in the Queue. | [optional] |
11
+ | **current_size** | **Integer** | Count of Calls currently in the Queue. | [optional] |
12
+ | **average_queue_removal_time** | **Integer** | The average amount of time (in seconds) for a call to be removed from the queue. | [optional] |
13
13
  | **subresource_uris** | **Object** | List of subresources for this Queue (which includes Queue members). | [optional] |
14
14
 
15
15
  ## Example
@@ -23,7 +23,7 @@ instance = Freeclimb::QueueResultAllOf.new(
23
23
  _alias: null,
24
24
  max_size: null,
25
25
  current_size: null,
26
- average_wait_time: null,
26
+ average_queue_removal_time: null,
27
27
  subresource_uris: null
28
28
  )
29
29
  ```
@@ -1947,6 +1947,7 @@ module Freeclimb
1947
1947
  # @option opts [Boolean] :capabilities_toll_free
1948
1948
  # @option opts [Boolean] :capabilities_ten_dlc
1949
1949
  # @option opts [Boolean] :capabilities_short_code
1950
+ # @option opts [Boolean] :offnet Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource.
1950
1951
  # @return [IncomingNumberList]
1951
1952
  def list_incoming_numbers(opts = {})
1952
1953
  data, _status_code, _headers = list_incoming_numbers_with_http_info(opts)
@@ -1968,6 +1969,7 @@ module Freeclimb
1968
1969
  # @option opts [Boolean] :capabilities_toll_free
1969
1970
  # @option opts [Boolean] :capabilities_ten_dlc
1970
1971
  # @option opts [Boolean] :capabilities_short_code
1972
+ # @option opts [Boolean] :offnet Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource.
1971
1973
  # @return [Array<(IncomingNumberList, Integer, Hash)>] IncomingNumberList data, response status code and response headers
1972
1974
  def list_incoming_numbers_with_http_info(opts = {})
1973
1975
  if @api_client.config.debugging
@@ -1991,6 +1993,7 @@ module Freeclimb
1991
1993
  query_params[:'capabilities.tollFree'] = opts[:'capabilities_toll_free'] if !opts[:'capabilities_toll_free'].nil?
1992
1994
  query_params[:'capabilities.tenDLC'] = opts[:'capabilities_ten_dlc'] if !opts[:'capabilities_ten_dlc'].nil?
1993
1995
  query_params[:'capabilities.shortCode'] = opts[:'capabilities_short_code'] if !opts[:'capabilities_short_code'].nil?
1996
+ query_params[:'offnet'] = opts[:'offnet'] if !opts[:'offnet'].nil?
1994
1997
 
1995
1998
  # header parameters
1996
1999
  header_params = opts[:header_params] || {}
@@ -59,6 +59,9 @@ module Freeclimb
59
59
  # Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
60
60
  attr_accessor :sms_enabled
61
61
 
62
+ # 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.
63
+ attr_accessor :offnet
64
+
62
65
  # Attribute mapping from ruby-style variable name to JSON key.
63
66
  def self.attribute_map
64
67
  {
@@ -76,7 +79,8 @@ module Freeclimb
76
79
  :'region' => :'region',
77
80
  :'country' => :'country',
78
81
  :'voice_enabled' => :'voiceEnabled',
79
- :'sms_enabled' => :'smsEnabled'
82
+ :'sms_enabled' => :'smsEnabled',
83
+ :'offnet' => :'offnet'
80
84
  }
81
85
  end
82
86
 
@@ -102,7 +106,8 @@ module Freeclimb
102
106
  :'region' => :'String',
103
107
  :'country' => :'String',
104
108
  :'voice_enabled' => :'Boolean',
105
- :'sms_enabled' => :'Boolean'
109
+ :'sms_enabled' => :'Boolean',
110
+ :'offnet' => :'Boolean'
106
111
  }
107
112
  end
108
113
 
@@ -118,7 +123,8 @@ module Freeclimb
118
123
  :'region',
119
124
  :'country',
120
125
  :'voice_enabled',
121
- :'sms_enabled'
126
+ :'sms_enabled',
127
+ :'offnet'
122
128
  ])
123
129
  end
124
130
 
@@ -204,6 +210,10 @@ module Freeclimb
204
210
  if attributes.key?(:'sms_enabled')
205
211
  self.sms_enabled = attributes[:'sms_enabled']
206
212
  end
213
+
214
+ if attributes.key?(:'offnet')
215
+ self.offnet = attributes[:'offnet']
216
+ end
207
217
  end
208
218
 
209
219
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -238,7 +248,8 @@ module Freeclimb
238
248
  region == o.region &&
239
249
  country == o.country &&
240
250
  voice_enabled == o.voice_enabled &&
241
- sms_enabled == o.sms_enabled
251
+ sms_enabled == o.sms_enabled &&
252
+ offnet == o.offnet
242
253
  end
243
254
 
244
255
  # @see the `==` method
@@ -250,7 +261,7 @@ module Freeclimb
250
261
  # Calculates hash code according to all attributes.
251
262
  # @return [Integer] Hash code
252
263
  def hash
253
- [uri, date_created, date_updated, revision, capabilities, campaign_id, phone_number_id, account_id, application_id, phone_number, _alias, region, country, voice_enabled, sms_enabled].hash
264
+ [uri, date_created, date_updated, revision, capabilities, campaign_id, phone_number_id, account_id, application_id, phone_number, _alias, region, country, voice_enabled, sms_enabled, offnet].hash
254
265
  end
255
266
 
256
267
  # Builds the object from hash
@@ -47,6 +47,9 @@ module Freeclimb
47
47
  # Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
48
48
  attr_accessor :sms_enabled
49
49
 
50
+ # 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.
51
+ attr_accessor :offnet
52
+
50
53
  # Attribute mapping from ruby-style variable name to JSON key.
51
54
  def self.attribute_map
52
55
  {
@@ -60,7 +63,8 @@ module Freeclimb
60
63
  :'region' => :'region',
61
64
  :'country' => :'country',
62
65
  :'voice_enabled' => :'voiceEnabled',
63
- :'sms_enabled' => :'smsEnabled'
66
+ :'sms_enabled' => :'smsEnabled',
67
+ :'offnet' => :'offnet'
64
68
  }
65
69
  end
66
70
 
@@ -82,7 +86,8 @@ module Freeclimb
82
86
  :'region' => :'String',
83
87
  :'country' => :'String',
84
88
  :'voice_enabled' => :'Boolean',
85
- :'sms_enabled' => :'Boolean'
89
+ :'sms_enabled' => :'Boolean',
90
+ :'offnet' => :'Boolean'
86
91
  }
87
92
  end
88
93
 
@@ -98,7 +103,8 @@ module Freeclimb
98
103
  :'region',
99
104
  :'country',
100
105
  :'voice_enabled',
101
- :'sms_enabled'
106
+ :'sms_enabled',
107
+ :'offnet'
102
108
  ])
103
109
  end
104
110
 
@@ -160,6 +166,10 @@ module Freeclimb
160
166
  if attributes.key?(:'sms_enabled')
161
167
  self.sms_enabled = attributes[:'sms_enabled']
162
168
  end
169
+
170
+ if attributes.key?(:'offnet')
171
+ self.offnet = attributes[:'offnet']
172
+ end
163
173
  end
164
174
 
165
175
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -190,7 +200,8 @@ module Freeclimb
190
200
  region == o.region &&
191
201
  country == o.country &&
192
202
  voice_enabled == o.voice_enabled &&
193
- sms_enabled == o.sms_enabled
203
+ sms_enabled == o.sms_enabled &&
204
+ offnet == o.offnet
194
205
  end
195
206
 
196
207
  # @see the `==` method
@@ -202,7 +213,7 @@ module Freeclimb
202
213
  # Calculates hash code according to all attributes.
203
214
  # @return [Integer] Hash code
204
215
  def hash
205
- [capabilities, campaign_id, phone_number_id, account_id, application_id, phone_number, _alias, region, country, voice_enabled, sms_enabled].hash
216
+ [capabilities, campaign_id, phone_number_id, account_id, application_id, phone_number, _alias, region, country, voice_enabled, sms_enabled, offnet].hash
206
217
  end
207
218
 
208
219
  # Builds the object from hash
@@ -42,8 +42,8 @@ module Freeclimb
42
42
  # Count of Calls currently in the Queue.
43
43
  attr_accessor :current_size
44
44
 
45
- # Average wait time (in seconds) of all Calls in the Queue.
46
- attr_accessor :average_wait_time
45
+ # The average amount of time (in seconds) for a call to be removed from the queue.
46
+ attr_accessor :average_queue_removal_time
47
47
 
48
48
  # List of subresources for this Queue (which includes Queue members).
49
49
  attr_accessor :subresource_uris
@@ -60,7 +60,7 @@ module Freeclimb
60
60
  :'_alias' => :'alias',
61
61
  :'max_size' => :'maxSize',
62
62
  :'current_size' => :'currentSize',
63
- :'average_wait_time' => :'averageWaitTime',
63
+ :'average_queue_removal_time' => :'averageQueueRemovalTime',
64
64
  :'subresource_uris' => :'subresourceUris'
65
65
  }
66
66
  end
@@ -81,8 +81,8 @@ module Freeclimb
81
81
  :'queue_id' => :'String',
82
82
  :'_alias' => :'String',
83
83
  :'max_size' => :'Integer',
84
- :'current_size' => :'String',
85
- :'average_wait_time' => :'String',
84
+ :'current_size' => :'Integer',
85
+ :'average_queue_removal_time' => :'Integer',
86
86
  :'subresource_uris' => :'Object'
87
87
  }
88
88
  end
@@ -95,7 +95,7 @@ module Freeclimb
95
95
  :'_alias',
96
96
  :'max_size',
97
97
  :'current_size',
98
- :'average_wait_time',
98
+ :'average_queue_removal_time',
99
99
  :'subresource_uris'
100
100
  ])
101
101
  end
@@ -159,8 +159,8 @@ module Freeclimb
159
159
  self.current_size = attributes[:'current_size']
160
160
  end
161
161
 
162
- if attributes.key?(:'average_wait_time')
163
- self.average_wait_time = attributes[:'average_wait_time']
162
+ if attributes.key?(:'average_queue_removal_time')
163
+ self.average_queue_removal_time = attributes[:'average_queue_removal_time']
164
164
  end
165
165
 
166
166
  if attributes.key?(:'subresource_uris')
@@ -195,7 +195,7 @@ module Freeclimb
195
195
  _alias == o._alias &&
196
196
  max_size == o.max_size &&
197
197
  current_size == o.current_size &&
198
- average_wait_time == o.average_wait_time &&
198
+ average_queue_removal_time == o.average_queue_removal_time &&
199
199
  subresource_uris == o.subresource_uris
200
200
  end
201
201
 
@@ -208,7 +208,7 @@ module Freeclimb
208
208
  # Calculates hash code according to all attributes.
209
209
  # @return [Integer] Hash code
210
210
  def hash
211
- [uri, date_created, date_updated, revision, account_id, queue_id, _alias, max_size, current_size, average_wait_time, subresource_uris].hash
211
+ [uri, date_created, date_updated, revision, account_id, queue_id, _alias, max_size, current_size, average_queue_removal_time, subresource_uris].hash
212
212
  end
213
213
 
214
214
  # Builds the object from hash
@@ -30,8 +30,8 @@ module Freeclimb
30
30
  # Count of Calls currently in the Queue.
31
31
  attr_accessor :current_size
32
32
 
33
- # Average wait time (in seconds) of all Calls in the Queue.
34
- attr_accessor :average_wait_time
33
+ # The average amount of time (in seconds) for a call to be removed from the queue.
34
+ attr_accessor :average_queue_removal_time
35
35
 
36
36
  # List of subresources for this Queue (which includes Queue members).
37
37
  attr_accessor :subresource_uris
@@ -44,7 +44,7 @@ module Freeclimb
44
44
  :'_alias' => :'alias',
45
45
  :'max_size' => :'maxSize',
46
46
  :'current_size' => :'currentSize',
47
- :'average_wait_time' => :'averageWaitTime',
47
+ :'average_queue_removal_time' => :'averageQueueRemovalTime',
48
48
  :'subresource_uris' => :'subresourceUris'
49
49
  }
50
50
  end
@@ -61,8 +61,8 @@ module Freeclimb
61
61
  :'queue_id' => :'String',
62
62
  :'_alias' => :'String',
63
63
  :'max_size' => :'Integer',
64
- :'current_size' => :'String',
65
- :'average_wait_time' => :'String',
64
+ :'current_size' => :'Integer',
65
+ :'average_queue_removal_time' => :'Integer',
66
66
  :'subresource_uris' => :'Object'
67
67
  }
68
68
  end
@@ -75,7 +75,7 @@ module Freeclimb
75
75
  :'_alias',
76
76
  :'max_size',
77
77
  :'current_size',
78
- :'average_wait_time',
78
+ :'average_queue_removal_time',
79
79
  :'subresource_uris'
80
80
  ])
81
81
  end
@@ -115,8 +115,8 @@ module Freeclimb
115
115
  self.current_size = attributes[:'current_size']
116
116
  end
117
117
 
118
- if attributes.key?(:'average_wait_time')
119
- self.average_wait_time = attributes[:'average_wait_time']
118
+ if attributes.key?(:'average_queue_removal_time')
119
+ self.average_queue_removal_time = attributes[:'average_queue_removal_time']
120
120
  end
121
121
 
122
122
  if attributes.key?(:'subresource_uris')
@@ -147,7 +147,7 @@ module Freeclimb
147
147
  _alias == o._alias &&
148
148
  max_size == o.max_size &&
149
149
  current_size == o.current_size &&
150
- average_wait_time == o.average_wait_time &&
150
+ average_queue_removal_time == o.average_queue_removal_time &&
151
151
  subresource_uris == o.subresource_uris
152
152
  end
153
153
 
@@ -160,7 +160,7 @@ module Freeclimb
160
160
  # Calculates hash code according to all attributes.
161
161
  # @return [Integer] Hash code
162
162
  def hash
163
- [account_id, queue_id, _alias, max_size, current_size, average_wait_time, subresource_uris].hash
163
+ [account_id, queue_id, _alias, max_size, current_size, average_queue_removal_time, subresource_uris].hash
164
164
  end
165
165
 
166
166
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module Freeclimb
14
- VERSION = '4.0.2'
14
+ VERSION = '4.0.4'
15
15
  end
@@ -1024,6 +1024,7 @@ describe 'DefaultApi' do
1024
1024
  # @option opts [Boolean] :capabilities_toll_free
1025
1025
  # @option opts [Boolean] :capabilities_ten_dlc
1026
1026
  # @option opts [Boolean] :capabilities_short_code
1027
+ # @option opts [Boolean] :offnet Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource.
1027
1028
  # @return [IncomingNumberList]
1028
1029
  describe 'list_incoming_numbers test' do
1029
1030
  it 'should work' do
@@ -1041,20 +1042,21 @@ describe 'DefaultApi' do
1041
1042
  capabilities_toll_free = build_value(:capabilities_toll_free)
1042
1043
  capabilities_ten_dlc = build_value(:capabilities_ten_dlc)
1043
1044
  capabilities_short_code = build_value(:capabilities_short_code)
1045
+ offnet = build_value(:offnet)
1044
1046
  local_var_path = @base_url + '/Accounts/{accountId}/IncomingPhoneNumbers'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
1045
1047
 
1046
1048
  stub = stub_request(:GET.downcase, local_var_path)
1047
1049
  .with(
1048
1050
  body: {},
1049
1051
  query: build_query_parameters({
1050
- :phone_number => phone_number, :_alias => _alias, :region => region, :country => country, :application_id => application_id, :has_application => has_application, :voice_enabled => voice_enabled, :sms_enabled => sms_enabled, :capabilities_voice => capabilities_voice, :capabilities_sms => capabilities_sms, :capabilities_toll_free => capabilities_toll_free, :capabilities_ten_dlc => capabilities_ten_dlc, :capabilities_short_code => capabilities_short_code,
1052
+ :phone_number => phone_number, :_alias => _alias, :region => region, :country => country, :application_id => application_id, :has_application => has_application, :voice_enabled => voice_enabled, :sms_enabled => sms_enabled, :capabilities_voice => capabilities_voice, :capabilities_sms => capabilities_sms, :capabilities_toll_free => capabilities_toll_free, :capabilities_ten_dlc => capabilities_ten_dlc, :capabilities_short_code => capabilities_short_code, :offnet => offnet,
1051
1053
  })
1052
1054
  )
1053
1055
  .to_return(status: 200, body: "", headers: {})
1054
1056
  @api_instance.list_incoming_numbers(
1055
1057
 
1056
1058
  {
1057
- :phone_number => phone_number,:_alias => _alias,:region => region,:country => country,:application_id => application_id,:has_application => has_application,:voice_enabled => voice_enabled,:sms_enabled => sms_enabled,:capabilities_voice => capabilities_voice,:capabilities_sms => capabilities_sms,:capabilities_toll_free => capabilities_toll_free,:capabilities_ten_dlc => capabilities_ten_dlc,:capabilities_short_code => capabilities_short_code,
1059
+ :phone_number => phone_number,:_alias => _alias,:region => region,:country => country,:application_id => application_id,:has_application => has_application,:voice_enabled => voice_enabled,:sms_enabled => sms_enabled,:capabilities_voice => capabilities_voice,:capabilities_sms => capabilities_sms,:capabilities_toll_free => capabilities_toll_free,:capabilities_ten_dlc => capabilities_ten_dlc,:capabilities_short_code => capabilities_short_code,:offnet => offnet,
1058
1060
  }
1059
1061
  )
1060
1062
 
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: 4.0.2
4
+ version: 4.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-19 00:00:00.000000000 Z
11
+ date: 2022-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -387,69 +387,69 @@ test_files:
387
387
  - spec/api_client_spec.rb
388
388
  - spec/configuration_spec.rb
389
389
  - spec/factories.rb
390
+ - spec/models/reject_spec.rb
391
+ - spec/models/percl_script_spec.rb
392
+ - spec/models/pause_spec.rb
393
+ - spec/models/conference_list_spec.rb
394
+ - spec/models/redirect_spec.rb
395
+ - spec/models/update_conference_participant_request_spec.rb
396
+ - spec/models/buy_incoming_number_request_spec.rb
397
+ - spec/models/play_early_media_spec.rb
398
+ - spec/models/unpark_spec.rb
399
+ - spec/models/message_result_spec.rb
400
+ - spec/models/conference_participant_result_spec.rb
401
+ - spec/models/messages_list_spec.rb
390
402
  - spec/models/account_result_spec.rb
391
- - spec/models/create_conference_spec.rb
392
- - spec/models/application_request_spec.rb
403
+ - spec/models/set_listen_spec.rb
404
+ - spec/models/incoming_number_result_spec.rb
405
+ - spec/models/get_speech_spec.rb
406
+ - spec/models/pagination_model_spec.rb
407
+ - spec/models/remove_from_conference_spec.rb
408
+ - spec/models/terminate_conference_spec.rb
409
+ - spec/models/sms_spec.rb
393
410
  - spec/models/queue_result_spec.rb
394
- - spec/models/message_request_spec.rb
395
- - spec/models/set_talk_spec.rb
396
- - spec/models/hangup_spec.rb
397
- - spec/models/reject_spec.rb
398
- - spec/models/make_call_request_spec.rb
399
- - spec/models/enqueue_spec.rb
400
- - spec/models/queue_member_spec.rb
401
- - spec/models/queue_member_list_spec.rb
402
- - spec/models/queue_list_spec.rb
403
- - spec/models/percl_command_spec.rb
404
- - spec/models/update_call_request_spec.rb
405
411
  - spec/models/conference_result_spec.rb
412
+ - spec/models/make_call_request_spec.rb
413
+ - spec/models/filter_logs_request_spec.rb
414
+ - spec/models/play_spec.rb
415
+ - spec/models/account_request_spec.rb
416
+ - spec/models/create_conference_spec.rb
406
417
  - spec/models/add_to_conference_spec.rb
407
- - spec/models/available_number_spec.rb
408
- - spec/models/record_utterance_spec.rb
409
- - spec/models/say_spec.rb
410
- - spec/models/sms_spec.rb
411
- - spec/models/dequeue_spec.rb
418
+ - spec/models/get_digits_spec.rb
419
+ - spec/models/mutable_resource_model_spec.rb
420
+ - spec/models/out_dial_spec.rb
412
421
  - spec/models/create_conference_request_spec.rb
422
+ - spec/models/send_digits_spec.rb
423
+ - spec/models/start_record_call_spec.rb
413
424
  - spec/models/application_result_spec.rb
425
+ - spec/models/incoming_number_request_spec.rb
414
426
  - spec/models/recording_result_spec.rb
427
+ - spec/models/application_list_spec.rb
428
+ - spec/models/log_result_spec.rb
429
+ - spec/models/say_spec.rb
415
430
  - spec/models/recording_list_spec.rb
416
- - spec/models/update_conference_request_spec.rb
417
- - spec/models/conference_participant_result_spec.rb
418
- - spec/models/account_request_spec.rb
431
+ - spec/models/queue_list_spec.rb
432
+ - spec/models/update_call_request_spec.rb
433
+ - spec/models/available_number_spec.rb
434
+ - spec/models/message_request_spec.rb
419
435
  - spec/models/call_result_spec.rb
420
- - spec/models/pagination_model_spec.rb
421
- - spec/models/log_result_spec.rb
422
- - spec/models/pause_spec.rb
423
- - spec/models/incoming_number_result_spec.rb
424
- - spec/models/call_list_spec.rb
425
- - spec/models/terminate_conference_spec.rb
426
- - spec/models/buy_incoming_number_request_spec.rb
427
- - spec/models/message_result_spec.rb
428
- - spec/models/filter_logs_request_spec.rb
429
- - spec/models/mutable_resource_model_spec.rb
430
- - spec/models/incoming_number_request_spec.rb
431
- - spec/models/set_listen_spec.rb
432
- - spec/models/messages_list_spec.rb
433
- - spec/models/remove_from_conference_spec.rb
434
- - spec/models/play_spec.rb
435
- - spec/models/unpark_spec.rb
436
- - spec/models/start_record_call_spec.rb
436
+ - spec/models/queue_request_spec.rb
437
+ - spec/models/record_utterance_spec.rb
438
+ - spec/models/available_number_list_spec.rb
439
+ - spec/models/set_talk_spec.rb
440
+ - spec/models/hangup_spec.rb
441
+ - spec/models/application_request_spec.rb
442
+ - spec/models/queue_member_spec.rb
443
+ - spec/models/queue_member_list_spec.rb
444
+ - spec/models/incoming_number_list_spec.rb
445
+ - spec/models/update_conference_request_spec.rb
446
+ - spec/models/dequeue_spec.rb
437
447
  - spec/models/conference_participant_list_spec.rb
438
- - spec/models/send_digits_spec.rb
439
- - spec/models/get_speech_spec.rb
440
- - spec/models/capabilities_spec.rb
441
- - spec/models/get_digits_spec.rb
442
- - spec/models/out_dial_spec.rb
443
- - spec/models/percl_script_spec.rb
444
- - spec/models/redirect_spec.rb
445
- - spec/models/conference_list_spec.rb
446
448
  - spec/models/log_list_spec.rb
447
- - spec/models/queue_request_spec.rb
448
- - spec/models/play_early_media_spec.rb
449
+ - spec/models/enqueue_spec.rb
449
450
  - spec/models/park_spec.rb
450
- - spec/models/update_conference_participant_request_spec.rb
451
- - spec/models/application_list_spec.rb
452
- - spec/models/incoming_number_list_spec.rb
453
- - spec/models/available_number_list_spec.rb
451
+ - spec/models/percl_command_spec.rb
452
+ - spec/models/call_list_spec.rb
453
+ - spec/models/capabilities_spec.rb
454
454
  - spec/quickstart_spec.rb
455
455
  - spec/spec_helper.rb