ultracart_api 4.0.219 → 4.0.220
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e08c0bb3ef35e43f6cb72cb2d1f29b16612bf013ea529f979d14c3420d2278b4
|
4
|
+
data.tar.gz: e414b4ea55e973a31bd013fbe93c4e8428b3443d9d5a90c9ecbd9751ab76e192
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ced3688bdcbb197f460044e4a1ec884aae34b938b8f5a0d5e7bedd7dae409ae362f441daa1567bbc148fe59ad7b88b1aeb4c1183959189d78d14145bd2cab802
|
7
|
+
data.tar.gz: 4a2c777d85c39e7cffcb0398d16f36e557742bc25090c281f857c0ce0b9ce37f208bfae652e8b9cc05f2925b0b9d6ec5d38cf5247a8026ee6fb2f2f07f15e457
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 4.0.
|
10
|
+
- Package version: 4.0.220
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ultracart_api-4.0.
|
27
|
+
gem install ./ultracart_api-4.0.220.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.220.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'ultracart_api', '~> 4.0.
|
36
|
+
gem 'ultracart_api', '~> 4.0.220'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1509,6 +1509,7 @@ Not every change is committed to every SDK.
|
|
1509
1509
|
|
1510
1510
|
| Version | Date | Comments |
|
1511
1511
|
| --: | :-: | --- |
|
1512
|
+
| 4.0.220 | 05/15/2024 | conversation pbx voicemail mailbox indep. voice properties |
|
1512
1513
|
| 4.0.219 | 05/15/2024 | conversation pbx - missing fields on agent object |
|
1513
1514
|
| 4.0.218 | 05/14/2024 | conversation pbx - allowed value constants on the action |
|
1514
1515
|
| 4.0.217 | 05/13/2024 | conversation pbx - bug fix on camelCase property names |
|
@@ -8,13 +8,14 @@
|
|
8
8
|
| **merchant_id** | **String** | Merchant Id | [optional] |
|
9
9
|
| **send_notices_to_email** | **String** | Send notices to email | [optional] |
|
10
10
|
| **user_id** | **Integer** | User Id | [optional] |
|
11
|
-
| **
|
11
|
+
| **voicemail_followup_play_audio_uuid** | **String** | Voicemail follow play audio UUID | [optional] |
|
12
12
|
| **voicemail_followup_say** | **String** | Voicemail followup say | [optional] |
|
13
|
+
| **voicemail_followup_say_voice** | **String** | Voicemail followup say voice | [optional] |
|
13
14
|
| **voicemail_mailbox_id** | **String** | Voicemail mailbox id | [optional] |
|
14
15
|
| **voicemail_mailbox_type** | **String** | Voicemail mailbox type | [optional] |
|
15
16
|
| **voicemail_prompt_play_audio_uuid** | **String** | Voicemail prompt play audio UUID | [optional] |
|
16
17
|
| **voicemail_prompt_say** | **String** | Voicemail prompt say | [optional] |
|
17
|
-
| **
|
18
|
+
| **voicemail_prompt_say_voice** | **String** | Voicemail prompt say voice | [optional] |
|
18
19
|
|
19
20
|
## Example
|
20
21
|
|
@@ -26,13 +27,14 @@ instance = UltracartClient::ConversationPbxVoicemailMailbox.new(
|
|
26
27
|
merchant_id: null,
|
27
28
|
send_notices_to_email: null,
|
28
29
|
user_id: null,
|
29
|
-
|
30
|
+
voicemail_followup_play_audio_uuid: null,
|
30
31
|
voicemail_followup_say: null,
|
32
|
+
voicemail_followup_say_voice: null,
|
31
33
|
voicemail_mailbox_id: null,
|
32
34
|
voicemail_mailbox_type: null,
|
33
35
|
voicemail_prompt_play_audio_uuid: null,
|
34
36
|
voicemail_prompt_say: null,
|
35
|
-
|
37
|
+
voicemail_prompt_say_voice: null
|
36
38
|
)
|
37
39
|
```
|
38
40
|
|
@@ -28,11 +28,14 @@ module UltracartClient
|
|
28
28
|
attr_accessor :user_id
|
29
29
|
|
30
30
|
# Voicemail follow play audio UUID
|
31
|
-
attr_accessor :
|
31
|
+
attr_accessor :voicemail_followup_play_audio_uuid
|
32
32
|
|
33
33
|
# Voicemail followup say
|
34
34
|
attr_accessor :voicemail_followup_say
|
35
35
|
|
36
|
+
# Voicemail followup say voice
|
37
|
+
attr_accessor :voicemail_followup_say_voice
|
38
|
+
|
36
39
|
# Voicemail mailbox id
|
37
40
|
attr_accessor :voicemail_mailbox_id
|
38
41
|
|
@@ -45,8 +48,8 @@ module UltracartClient
|
|
45
48
|
# Voicemail prompt say
|
46
49
|
attr_accessor :voicemail_prompt_say
|
47
50
|
|
48
|
-
# Voicemail say voice
|
49
|
-
attr_accessor :
|
51
|
+
# Voicemail prompt say voice
|
52
|
+
attr_accessor :voicemail_prompt_say_voice
|
50
53
|
|
51
54
|
class EnumAttributeValidator
|
52
55
|
attr_reader :datatype
|
@@ -77,13 +80,14 @@ module UltracartClient
|
|
77
80
|
:'merchant_id' => :'merchant_id',
|
78
81
|
:'send_notices_to_email' => :'send_notices_to_email',
|
79
82
|
:'user_id' => :'user_id',
|
80
|
-
:'
|
83
|
+
:'voicemail_followup_play_audio_uuid' => :'voicemail_followup_play_audio_uuid',
|
81
84
|
:'voicemail_followup_say' => :'voicemail_followup_say',
|
85
|
+
:'voicemail_followup_say_voice' => :'voicemail_followup_say_voice',
|
82
86
|
:'voicemail_mailbox_id' => :'voicemail_mailbox_id',
|
83
87
|
:'voicemail_mailbox_type' => :'voicemail_mailbox_type',
|
84
88
|
:'voicemail_prompt_play_audio_uuid' => :'voicemail_prompt_play_audio_uuid',
|
85
89
|
:'voicemail_prompt_say' => :'voicemail_prompt_say',
|
86
|
-
:'
|
90
|
+
:'voicemail_prompt_say_voice' => :'voicemail_prompt_say_voice'
|
87
91
|
}
|
88
92
|
end
|
89
93
|
|
@@ -99,13 +103,14 @@ module UltracartClient
|
|
99
103
|
:'merchant_id' => :'String',
|
100
104
|
:'send_notices_to_email' => :'String',
|
101
105
|
:'user_id' => :'Integer',
|
102
|
-
:'
|
106
|
+
:'voicemail_followup_play_audio_uuid' => :'String',
|
103
107
|
:'voicemail_followup_say' => :'String',
|
108
|
+
:'voicemail_followup_say_voice' => :'String',
|
104
109
|
:'voicemail_mailbox_id' => :'String',
|
105
110
|
:'voicemail_mailbox_type' => :'String',
|
106
111
|
:'voicemail_prompt_play_audio_uuid' => :'String',
|
107
112
|
:'voicemail_prompt_say' => :'String',
|
108
|
-
:'
|
113
|
+
:'voicemail_prompt_say_voice' => :'String'
|
109
114
|
}
|
110
115
|
end
|
111
116
|
|
@@ -146,14 +151,18 @@ module UltracartClient
|
|
146
151
|
self.user_id = attributes[:'user_id']
|
147
152
|
end
|
148
153
|
|
149
|
-
if attributes.key?(:'
|
150
|
-
self.
|
154
|
+
if attributes.key?(:'voicemail_followup_play_audio_uuid')
|
155
|
+
self.voicemail_followup_play_audio_uuid = attributes[:'voicemail_followup_play_audio_uuid']
|
151
156
|
end
|
152
157
|
|
153
158
|
if attributes.key?(:'voicemail_followup_say')
|
154
159
|
self.voicemail_followup_say = attributes[:'voicemail_followup_say']
|
155
160
|
end
|
156
161
|
|
162
|
+
if attributes.key?(:'voicemail_followup_say_voice')
|
163
|
+
self.voicemail_followup_say_voice = attributes[:'voicemail_followup_say_voice']
|
164
|
+
end
|
165
|
+
|
157
166
|
if attributes.key?(:'voicemail_mailbox_id')
|
158
167
|
self.voicemail_mailbox_id = attributes[:'voicemail_mailbox_id']
|
159
168
|
end
|
@@ -170,8 +179,8 @@ module UltracartClient
|
|
170
179
|
self.voicemail_prompt_say = attributes[:'voicemail_prompt_say']
|
171
180
|
end
|
172
181
|
|
173
|
-
if attributes.key?(:'
|
174
|
-
self.
|
182
|
+
if attributes.key?(:'voicemail_prompt_say_voice')
|
183
|
+
self.voicemail_prompt_say_voice = attributes[:'voicemail_prompt_say_voice']
|
175
184
|
end
|
176
185
|
end
|
177
186
|
|
@@ -191,8 +200,12 @@ module UltracartClient
|
|
191
200
|
invalid_properties.push('invalid value for "send_notices_to_email", the character length must be smaller than or equal to 250.')
|
192
201
|
end
|
193
202
|
|
194
|
-
if !@
|
195
|
-
invalid_properties.push('invalid value for "
|
203
|
+
if !@voicemail_followup_play_audio_uuid.nil? && @voicemail_followup_play_audio_uuid.to_s.length > 50
|
204
|
+
invalid_properties.push('invalid value for "voicemail_followup_play_audio_uuid", the character length must be smaller than or equal to 50.')
|
205
|
+
end
|
206
|
+
|
207
|
+
if !@voicemail_followup_say_voice.nil? && @voicemail_followup_say_voice.to_s.length > 50
|
208
|
+
invalid_properties.push('invalid value for "voicemail_followup_say_voice", the character length must be smaller than or equal to 50.')
|
196
209
|
end
|
197
210
|
|
198
211
|
if !@voicemail_mailbox_id.nil? && @voicemail_mailbox_id.to_s.length > 50
|
@@ -207,8 +220,8 @@ module UltracartClient
|
|
207
220
|
invalid_properties.push('invalid value for "voicemail_prompt_play_audio_uuid", the character length must be smaller than or equal to 50.')
|
208
221
|
end
|
209
222
|
|
210
|
-
if !@
|
211
|
-
invalid_properties.push('invalid value for "
|
223
|
+
if !@voicemail_prompt_say_voice.nil? && @voicemail_prompt_say_voice.to_s.length > 50
|
224
|
+
invalid_properties.push('invalid value for "voicemail_prompt_say_voice", the character length must be smaller than or equal to 50.')
|
212
225
|
end
|
213
226
|
|
214
227
|
invalid_properties
|
@@ -220,13 +233,14 @@ module UltracartClient
|
|
220
233
|
return false if !@conversation_pbx_voicemail_mailbox_uuid.nil? && @conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
|
221
234
|
return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
222
235
|
return false if !@send_notices_to_email.nil? && @send_notices_to_email.to_s.length > 250
|
223
|
-
return false if !@
|
236
|
+
return false if !@voicemail_followup_play_audio_uuid.nil? && @voicemail_followup_play_audio_uuid.to_s.length > 50
|
237
|
+
return false if !@voicemail_followup_say_voice.nil? && @voicemail_followup_say_voice.to_s.length > 50
|
224
238
|
return false if !@voicemail_mailbox_id.nil? && @voicemail_mailbox_id.to_s.length > 50
|
225
239
|
voicemail_mailbox_type_validator = EnumAttributeValidator.new('String', ["agent", "shared"])
|
226
240
|
return false unless voicemail_mailbox_type_validator.valid?(@voicemail_mailbox_type)
|
227
241
|
return false if !@voicemail_mailbox_type.nil? && @voicemail_mailbox_type.to_s.length > 50
|
228
242
|
return false if !@voicemail_prompt_play_audio_uuid.nil? && @voicemail_prompt_play_audio_uuid.to_s.length > 50
|
229
|
-
return false if !@
|
243
|
+
return false if !@voicemail_prompt_say_voice.nil? && @voicemail_prompt_say_voice.to_s.length > 50
|
230
244
|
true
|
231
245
|
end
|
232
246
|
|
@@ -261,13 +275,23 @@ module UltracartClient
|
|
261
275
|
end
|
262
276
|
|
263
277
|
# Custom attribute writer method with validation
|
264
|
-
# @param [Object]
|
265
|
-
def
|
266
|
-
if !
|
267
|
-
fail ArgumentError, 'invalid value for "
|
278
|
+
# @param [Object] voicemail_followup_play_audio_uuid Value to be assigned
|
279
|
+
def voicemail_followup_play_audio_uuid=(voicemail_followup_play_audio_uuid)
|
280
|
+
if !voicemail_followup_play_audio_uuid.nil? && voicemail_followup_play_audio_uuid.to_s.length > 50
|
281
|
+
fail ArgumentError, 'invalid value for "voicemail_followup_play_audio_uuid", the character length must be smaller than or equal to 50.'
|
282
|
+
end
|
283
|
+
|
284
|
+
@voicemail_followup_play_audio_uuid = voicemail_followup_play_audio_uuid
|
285
|
+
end
|
286
|
+
|
287
|
+
# Custom attribute writer method with validation
|
288
|
+
# @param [Object] voicemail_followup_say_voice Value to be assigned
|
289
|
+
def voicemail_followup_say_voice=(voicemail_followup_say_voice)
|
290
|
+
if !voicemail_followup_say_voice.nil? && voicemail_followup_say_voice.to_s.length > 50
|
291
|
+
fail ArgumentError, 'invalid value for "voicemail_followup_say_voice", the character length must be smaller than or equal to 50.'
|
268
292
|
end
|
269
293
|
|
270
|
-
@
|
294
|
+
@voicemail_followup_say_voice = voicemail_followup_say_voice
|
271
295
|
end
|
272
296
|
|
273
297
|
# Custom attribute writer method with validation
|
@@ -301,13 +325,13 @@ module UltracartClient
|
|
301
325
|
end
|
302
326
|
|
303
327
|
# Custom attribute writer method with validation
|
304
|
-
# @param [Object]
|
305
|
-
def
|
306
|
-
if !
|
307
|
-
fail ArgumentError, 'invalid value for "
|
328
|
+
# @param [Object] voicemail_prompt_say_voice Value to be assigned
|
329
|
+
def voicemail_prompt_say_voice=(voicemail_prompt_say_voice)
|
330
|
+
if !voicemail_prompt_say_voice.nil? && voicemail_prompt_say_voice.to_s.length > 50
|
331
|
+
fail ArgumentError, 'invalid value for "voicemail_prompt_say_voice", the character length must be smaller than or equal to 50.'
|
308
332
|
end
|
309
333
|
|
310
|
-
@
|
334
|
+
@voicemail_prompt_say_voice = voicemail_prompt_say_voice
|
311
335
|
end
|
312
336
|
|
313
337
|
# Checks equality by comparing each attribute.
|
@@ -319,13 +343,14 @@ module UltracartClient
|
|
319
343
|
merchant_id == o.merchant_id &&
|
320
344
|
send_notices_to_email == o.send_notices_to_email &&
|
321
345
|
user_id == o.user_id &&
|
322
|
-
|
346
|
+
voicemail_followup_play_audio_uuid == o.voicemail_followup_play_audio_uuid &&
|
323
347
|
voicemail_followup_say == o.voicemail_followup_say &&
|
348
|
+
voicemail_followup_say_voice == o.voicemail_followup_say_voice &&
|
324
349
|
voicemail_mailbox_id == o.voicemail_mailbox_id &&
|
325
350
|
voicemail_mailbox_type == o.voicemail_mailbox_type &&
|
326
351
|
voicemail_prompt_play_audio_uuid == o.voicemail_prompt_play_audio_uuid &&
|
327
352
|
voicemail_prompt_say == o.voicemail_prompt_say &&
|
328
|
-
|
353
|
+
voicemail_prompt_say_voice == o.voicemail_prompt_say_voice
|
329
354
|
end
|
330
355
|
|
331
356
|
# @see the `==` method
|
@@ -337,7 +362,7 @@ module UltracartClient
|
|
337
362
|
# Calculates hash code according to all attributes.
|
338
363
|
# @return [Integer] Hash code
|
339
364
|
def hash
|
340
|
-
[conversation_pbx_voicemail_mailbox_uuid, merchant_id, send_notices_to_email, user_id,
|
365
|
+
[conversation_pbx_voicemail_mailbox_uuid, merchant_id, send_notices_to_email, user_id, voicemail_followup_play_audio_uuid, voicemail_followup_say, voicemail_followup_say_voice, voicemail_mailbox_id, voicemail_mailbox_type, voicemail_prompt_play_audio_uuid, voicemail_prompt_say, voicemail_prompt_say_voice].hash
|
341
366
|
end
|
342
367
|
|
343
368
|
# Builds the object from hash
|