ultracart_api 4.0.219 → 4.0.221

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: 80cb7d4a7b84f624f8a01ded8d6441db5e6ba1b61afbbb95c9bd3414b2a1695b
4
- data.tar.gz: 665bc115fb8744414f3205c28433493d464c1f485b6394372d12d2c11d6812f7
3
+ metadata.gz: d7fc76bee1a6ab2a7736ebc4ab3d92794a1bc33dad54bfe035fbbbfb2166eb25
4
+ data.tar.gz: 38ace6574328c63059b5e73cf3b95838f62b43d162077754f54b21d4c8748a51
5
5
  SHA512:
6
- metadata.gz: e30956ecd4331c976027648b5a4b2fc50d8db2aa5d6cd63cc917844d30ccb7dd43d32d98fc23706581607cdfbbc7a3659c0bc737086c368231827d1b3d456237
7
- data.tar.gz: 9f08ae638367dd5c10f66b2912c09a3becceb89cc7e274fd125b5ae69b504b8fe9b42d04517fb28eb29c63a588aef01a9d34ffd4e1954a29abba0f2f7cfd2580
6
+ metadata.gz: 3fd14b72a61b5c9fa52655297854a6262596fb9bd1c8d0d4bb111c6fc0946f0e4a78a2400a21fba07661cf50a7abddce28fb40fa576762b869794d4bf1e833f9
7
+ data.tar.gz: 6359408428c1a09ccfef8f9f1625b7926b896a60e873f7c0d3cd929d2e80ea081dd9adefd5dfacc18d43ebe08806cf981dc1ffd7e230b0f758444c636e2d863a
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.219
10
+ - Package version: 4.0.221
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.219.gem
27
+ gem install ./ultracart_api-4.0.221.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.219.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.221.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.219'
36
+ gem 'ultracart_api', '~> 4.0.221'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1509,6 +1509,8 @@ Not every change is committed to every SDK.
1509
1509
 
1510
1510
  | Version | Date | Comments |
1511
1511
  | --: | :-: | --- |
1512
+ | 4.0.221 | 05/16/2024 | OrderPayment - constants for payment method Amazon Pay and Link |
1513
+ | 4.0.220 | 05/15/2024 | conversation pbx voicemail mailbox indep. voice properties |
1512
1514
  | 4.0.219 | 05/15/2024 | conversation pbx - missing fields on agent object |
1513
1515
  | 4.0.218 | 05/14/2024 | conversation pbx - allowed value constants on the action |
1514
1516
  | 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
- | **voicemail_follow_play_audio_uuid** | **String** | Voicemail follow play audio UUID | [optional] |
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
- | **voicemail_say_voice** | **String** | Voicemail say voice | [optional] |
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
- voicemail_follow_play_audio_uuid: null,
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
- voicemail_say_voice: null
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 :voicemail_follow_play_audio_uuid
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 :voicemail_say_voice
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
- :'voicemail_follow_play_audio_uuid' => :'voicemail_follow_play_audio_uuid',
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
- :'voicemail_say_voice' => :'voicemail_say_voice'
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
- :'voicemail_follow_play_audio_uuid' => :'String',
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
- :'voicemail_say_voice' => :'String'
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?(:'voicemail_follow_play_audio_uuid')
150
- self.voicemail_follow_play_audio_uuid = attributes[:'voicemail_follow_play_audio_uuid']
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?(:'voicemail_say_voice')
174
- self.voicemail_say_voice = attributes[:'voicemail_say_voice']
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 !@voicemail_follow_play_audio_uuid.nil? && @voicemail_follow_play_audio_uuid.to_s.length > 50
195
- invalid_properties.push('invalid value for "voicemail_follow_play_audio_uuid", the character length must be smaller than or equal to 50.')
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 !@voicemail_say_voice.nil? && @voicemail_say_voice.to_s.length > 50
211
- invalid_properties.push('invalid value for "voicemail_say_voice", the character length must be smaller than or equal to 50.')
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 !@voicemail_follow_play_audio_uuid.nil? && @voicemail_follow_play_audio_uuid.to_s.length > 50
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 !@voicemail_say_voice.nil? && @voicemail_say_voice.to_s.length > 50
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] voicemail_follow_play_audio_uuid Value to be assigned
265
- def voicemail_follow_play_audio_uuid=(voicemail_follow_play_audio_uuid)
266
- if !voicemail_follow_play_audio_uuid.nil? && voicemail_follow_play_audio_uuid.to_s.length > 50
267
- fail ArgumentError, 'invalid value for "voicemail_follow_play_audio_uuid", the character length must be smaller than or equal to 50.'
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
- @voicemail_follow_play_audio_uuid = voicemail_follow_play_audio_uuid
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] voicemail_say_voice Value to be assigned
305
- def voicemail_say_voice=(voicemail_say_voice)
306
- if !voicemail_say_voice.nil? && voicemail_say_voice.to_s.length > 50
307
- fail ArgumentError, 'invalid value for "voicemail_say_voice", the character length must be smaller than or equal to 50.'
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
- @voicemail_say_voice = voicemail_say_voice
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
- voicemail_follow_play_audio_uuid == o.voicemail_follow_play_audio_uuid &&
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
- voicemail_say_voice == o.voicemail_say_voice
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, voicemail_follow_play_audio_uuid, voicemail_followup_say, voicemail_mailbox_id, voicemail_mailbox_type, voicemail_prompt_play_audio_uuid, voicemail_prompt_say, voicemail_say_voice].hash
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
@@ -252,7 +252,7 @@ module UltracartClient
252
252
  # Check to see if the all the properties in the model are valid
253
253
  # @return true if the model is valid
254
254
  def valid?
255
- payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo", "Apple Pay", "Google Pay", "Health Benefit Card"])
255
+ payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon Pay", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "Link", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo", "Apple Pay", "Google Pay", "Health Benefit Card"])
256
256
  return false unless payment_method_validator.valid?(@payment_method)
257
257
  payment_status_validator = EnumAttributeValidator.new('String', ["Unprocessed", "Authorized", "Capture Failed", "Processed", "Declined", "Voided", "Refunded", "Skipped"])
258
258
  return false unless payment_status_validator.valid?(@payment_status)
@@ -262,7 +262,7 @@ module UltracartClient
262
262
  # Custom attribute writer method checking allowed values (enum).
263
263
  # @param [Object] payment_method Object to be assigned
264
264
  def payment_method=(payment_method)
265
- validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo", "Apple Pay", "Google Pay", "Health Benefit Card"])
265
+ validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon Pay", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "Link", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo", "Apple Pay", "Google Pay", "Health Benefit Card"])
266
266
  unless validator.valid?(payment_method)
267
267
  fail ArgumentError, "invalid value for \"payment_method\", must be one of #{validator.allowable_values}."
268
268
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.219'
14
+ VERSION = '4.0.221'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.219
4
+ version: 4.0.221
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-15 00:00:00.000000000 Z
11
+ date: 2024-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus