ultracart_api 3.10.202 → 3.10.204

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: 896f9249a654450812992c951625ddf9847ba53af0647380df2a7b2bacf0ce3e
4
- data.tar.gz: f8812b0fd82a0f91e48ff06900115f1be4849ca82a7dd8fc4085555bdbbdd619
3
+ metadata.gz: 00c07dacb1984a667bf3339273865f43ddbe48b205409d8958152af2dea671aa
4
+ data.tar.gz: 1cde39fee004a18a3331dd9e46337977e89b89e05b0be9f831b30442b873a3a3
5
5
  SHA512:
6
- metadata.gz: 7fdb370d7fb3d2b5fa3eec8358baf17c93f146ba0913de118856afec39180d3810dd36cff046f3f84eea4c7e2847d04cbe9c43ee5dbc081fae01da5159a2d7a7
7
- data.tar.gz: 5bddf2c7b2a6c3b1bf5d965d44d8f62f30316eacb5712758b35cd6027cddab6e04407d1be39c33e48fc8c6b124885b7871971d0cf42f2f26846b321b781dc524
6
+ metadata.gz: 6970a55cb7908a5ace27a281229f3fd906afeff56a782716e94bd2557213871a9faced467611af8ae65bab5d64f3d55a6e665786910636536c993a9cb44f61a7
7
+ data.tar.gz: 25905f404e643019d53b8a13b472f8b9b954fdd839df4fdb8a291e40cb500151ecfbf986fd9d80679a49b8d8ef06384b52bf6c0bb487649bc25e0ca1f5b30d3b
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 3.10.202
10
+ - Package version: 3.10.204
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-3.10.202.gem
27
+ gem install ./ultracart_api-3.10.204.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.202.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.204.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'ultracart_api', '~> 3.10.202'
35
+ gem 'ultracart_api', '~> 3.10.204'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1501,6 +1501,8 @@ Not every change is committed to every SDK.
1501
1501
 
1502
1502
  | Version | Date | Comments |
1503
1503
  | --: | :-: | --- |
1504
+ | 3.10.204 | 05/16/2024 | OrderPayment - constants for payment method Amazon Pay and Link |
1505
+ | 3.10.203 | 05/15/2024 | conversation pbx voicemail mailbox indep. voice properties |
1504
1506
  | 3.10.202 | 05/15/2024 | conversation pbx - missing fields on agent object |
1505
1507
  | 3.10.201 | 05/14/2024 | conversation pbx - allowed value constants on the action |
1506
1508
  | 3.10.200 | 05/13/2024 | conversation pbx - bug fix on camelCase property names |
@@ -7,12 +7,13 @@ Name | Type | Description | Notes
7
7
  **merchant_id** | **String** | Merchant Id | [optional]
8
8
  **send_notices_to_email** | **String** | Send notices to email | [optional]
9
9
  **user_id** | **Integer** | User Id | [optional]
10
- **voicemail_follow_play_audio_uuid** | **String** | Voicemail follow play audio UUID | [optional]
10
+ **voicemail_followup_play_audio_uuid** | **String** | Voicemail follow play audio UUID | [optional]
11
11
  **voicemail_followup_say** | **String** | Voicemail followup say | [optional]
12
+ **voicemail_followup_say_voice** | **String** | Voicemail followup say voice | [optional]
12
13
  **voicemail_mailbox_id** | **String** | Voicemail mailbox id | [optional]
13
14
  **voicemail_mailbox_type** | **String** | Voicemail mailbox type | [optional]
14
15
  **voicemail_prompt_play_audio_uuid** | **String** | Voicemail prompt play audio UUID | [optional]
15
16
  **voicemail_prompt_say** | **String** | Voicemail prompt say | [optional]
16
- **voicemail_say_voice** | **String** | Voicemail say voice | [optional]
17
+ **voicemail_prompt_say_voice** | **String** | Voicemail prompt say voice | [optional]
17
18
 
18
19
 
@@ -27,11 +27,14 @@ module UltracartClient
27
27
  attr_accessor :user_id
28
28
 
29
29
  # Voicemail follow play audio UUID
30
- attr_accessor :voicemail_follow_play_audio_uuid
30
+ attr_accessor :voicemail_followup_play_audio_uuid
31
31
 
32
32
  # Voicemail followup say
33
33
  attr_accessor :voicemail_followup_say
34
34
 
35
+ # Voicemail followup say voice
36
+ attr_accessor :voicemail_followup_say_voice
37
+
35
38
  # Voicemail mailbox id
36
39
  attr_accessor :voicemail_mailbox_id
37
40
 
@@ -44,8 +47,8 @@ module UltracartClient
44
47
  # Voicemail prompt say
45
48
  attr_accessor :voicemail_prompt_say
46
49
 
47
- # Voicemail say voice
48
- attr_accessor :voicemail_say_voice
50
+ # Voicemail prompt say voice
51
+ attr_accessor :voicemail_prompt_say_voice
49
52
 
50
53
  class EnumAttributeValidator
51
54
  attr_reader :datatype
@@ -76,13 +79,14 @@ module UltracartClient
76
79
  :'merchant_id' => :'merchant_id',
77
80
  :'send_notices_to_email' => :'send_notices_to_email',
78
81
  :'user_id' => :'user_id',
79
- :'voicemail_follow_play_audio_uuid' => :'voicemail_follow_play_audio_uuid',
82
+ :'voicemail_followup_play_audio_uuid' => :'voicemail_followup_play_audio_uuid',
80
83
  :'voicemail_followup_say' => :'voicemail_followup_say',
84
+ :'voicemail_followup_say_voice' => :'voicemail_followup_say_voice',
81
85
  :'voicemail_mailbox_id' => :'voicemail_mailbox_id',
82
86
  :'voicemail_mailbox_type' => :'voicemail_mailbox_type',
83
87
  :'voicemail_prompt_play_audio_uuid' => :'voicemail_prompt_play_audio_uuid',
84
88
  :'voicemail_prompt_say' => :'voicemail_prompt_say',
85
- :'voicemail_say_voice' => :'voicemail_say_voice'
89
+ :'voicemail_prompt_say_voice' => :'voicemail_prompt_say_voice'
86
90
  }
87
91
  end
88
92
 
@@ -93,13 +97,14 @@ module UltracartClient
93
97
  :'merchant_id' => :'String',
94
98
  :'send_notices_to_email' => :'String',
95
99
  :'user_id' => :'Integer',
96
- :'voicemail_follow_play_audio_uuid' => :'String',
100
+ :'voicemail_followup_play_audio_uuid' => :'String',
97
101
  :'voicemail_followup_say' => :'String',
102
+ :'voicemail_followup_say_voice' => :'String',
98
103
  :'voicemail_mailbox_id' => :'String',
99
104
  :'voicemail_mailbox_type' => :'String',
100
105
  :'voicemail_prompt_play_audio_uuid' => :'String',
101
106
  :'voicemail_prompt_say' => :'String',
102
- :'voicemail_say_voice' => :'String'
107
+ :'voicemail_prompt_say_voice' => :'String'
103
108
  }
104
109
  end
105
110
 
@@ -127,14 +132,18 @@ module UltracartClient
127
132
  self.user_id = attributes[:'user_id']
128
133
  end
129
134
 
130
- if attributes.has_key?(:'voicemail_follow_play_audio_uuid')
131
- self.voicemail_follow_play_audio_uuid = attributes[:'voicemail_follow_play_audio_uuid']
135
+ if attributes.has_key?(:'voicemail_followup_play_audio_uuid')
136
+ self.voicemail_followup_play_audio_uuid = attributes[:'voicemail_followup_play_audio_uuid']
132
137
  end
133
138
 
134
139
  if attributes.has_key?(:'voicemail_followup_say')
135
140
  self.voicemail_followup_say = attributes[:'voicemail_followup_say']
136
141
  end
137
142
 
143
+ if attributes.has_key?(:'voicemail_followup_say_voice')
144
+ self.voicemail_followup_say_voice = attributes[:'voicemail_followup_say_voice']
145
+ end
146
+
138
147
  if attributes.has_key?(:'voicemail_mailbox_id')
139
148
  self.voicemail_mailbox_id = attributes[:'voicemail_mailbox_id']
140
149
  end
@@ -151,8 +160,8 @@ module UltracartClient
151
160
  self.voicemail_prompt_say = attributes[:'voicemail_prompt_say']
152
161
  end
153
162
 
154
- if attributes.has_key?(:'voicemail_say_voice')
155
- self.voicemail_say_voice = attributes[:'voicemail_say_voice']
163
+ if attributes.has_key?(:'voicemail_prompt_say_voice')
164
+ self.voicemail_prompt_say_voice = attributes[:'voicemail_prompt_say_voice']
156
165
  end
157
166
  end
158
167
 
@@ -172,8 +181,12 @@ module UltracartClient
172
181
  invalid_properties.push('invalid value for "send_notices_to_email", the character length must be smaller than or equal to 250.')
173
182
  end
174
183
 
175
- if !@voicemail_follow_play_audio_uuid.nil? && @voicemail_follow_play_audio_uuid.to_s.length > 50
176
- invalid_properties.push('invalid value for "voicemail_follow_play_audio_uuid", the character length must be smaller than or equal to 50.')
184
+ if !@voicemail_followup_play_audio_uuid.nil? && @voicemail_followup_play_audio_uuid.to_s.length > 50
185
+ invalid_properties.push('invalid value for "voicemail_followup_play_audio_uuid", the character length must be smaller than or equal to 50.')
186
+ end
187
+
188
+ if !@voicemail_followup_say_voice.nil? && @voicemail_followup_say_voice.to_s.length > 50
189
+ invalid_properties.push('invalid value for "voicemail_followup_say_voice", the character length must be smaller than or equal to 50.')
177
190
  end
178
191
 
179
192
  if !@voicemail_mailbox_id.nil? && @voicemail_mailbox_id.to_s.length > 50
@@ -188,8 +201,8 @@ module UltracartClient
188
201
  invalid_properties.push('invalid value for "voicemail_prompt_play_audio_uuid", the character length must be smaller than or equal to 50.')
189
202
  end
190
203
 
191
- if !@voicemail_say_voice.nil? && @voicemail_say_voice.to_s.length > 50
192
- invalid_properties.push('invalid value for "voicemail_say_voice", the character length must be smaller than or equal to 50.')
204
+ if !@voicemail_prompt_say_voice.nil? && @voicemail_prompt_say_voice.to_s.length > 50
205
+ invalid_properties.push('invalid value for "voicemail_prompt_say_voice", the character length must be smaller than or equal to 50.')
193
206
  end
194
207
 
195
208
  invalid_properties
@@ -201,13 +214,14 @@ module UltracartClient
201
214
  return false if !@conversation_pbx_voicemail_mailbox_uuid.nil? && @conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
202
215
  return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
203
216
  return false if !@send_notices_to_email.nil? && @send_notices_to_email.to_s.length > 250
204
- return false if !@voicemail_follow_play_audio_uuid.nil? && @voicemail_follow_play_audio_uuid.to_s.length > 50
217
+ return false if !@voicemail_followup_play_audio_uuid.nil? && @voicemail_followup_play_audio_uuid.to_s.length > 50
218
+ return false if !@voicemail_followup_say_voice.nil? && @voicemail_followup_say_voice.to_s.length > 50
205
219
  return false if !@voicemail_mailbox_id.nil? && @voicemail_mailbox_id.to_s.length > 50
206
220
  voicemail_mailbox_type_validator = EnumAttributeValidator.new('String', ['agent', 'shared'])
207
221
  return false unless voicemail_mailbox_type_validator.valid?(@voicemail_mailbox_type)
208
222
  return false if !@voicemail_mailbox_type.nil? && @voicemail_mailbox_type.to_s.length > 50
209
223
  return false if !@voicemail_prompt_play_audio_uuid.nil? && @voicemail_prompt_play_audio_uuid.to_s.length > 50
210
- return false if !@voicemail_say_voice.nil? && @voicemail_say_voice.to_s.length > 50
224
+ return false if !@voicemail_prompt_say_voice.nil? && @voicemail_prompt_say_voice.to_s.length > 50
211
225
  true
212
226
  end
213
227
 
@@ -242,13 +256,23 @@ module UltracartClient
242
256
  end
243
257
 
244
258
  # Custom attribute writer method with validation
245
- # @param [Object] voicemail_follow_play_audio_uuid Value to be assigned
246
- def voicemail_follow_play_audio_uuid=(voicemail_follow_play_audio_uuid)
247
- if !voicemail_follow_play_audio_uuid.nil? && voicemail_follow_play_audio_uuid.to_s.length > 50
248
- fail ArgumentError, 'invalid value for "voicemail_follow_play_audio_uuid", the character length must be smaller than or equal to 50.'
259
+ # @param [Object] voicemail_followup_play_audio_uuid Value to be assigned
260
+ def voicemail_followup_play_audio_uuid=(voicemail_followup_play_audio_uuid)
261
+ if !voicemail_followup_play_audio_uuid.nil? && voicemail_followup_play_audio_uuid.to_s.length > 50
262
+ fail ArgumentError, 'invalid value for "voicemail_followup_play_audio_uuid", the character length must be smaller than or equal to 50.'
263
+ end
264
+
265
+ @voicemail_followup_play_audio_uuid = voicemail_followup_play_audio_uuid
266
+ end
267
+
268
+ # Custom attribute writer method with validation
269
+ # @param [Object] voicemail_followup_say_voice Value to be assigned
270
+ def voicemail_followup_say_voice=(voicemail_followup_say_voice)
271
+ if !voicemail_followup_say_voice.nil? && voicemail_followup_say_voice.to_s.length > 50
272
+ fail ArgumentError, 'invalid value for "voicemail_followup_say_voice", the character length must be smaller than or equal to 50.'
249
273
  end
250
274
 
251
- @voicemail_follow_play_audio_uuid = voicemail_follow_play_audio_uuid
275
+ @voicemail_followup_say_voice = voicemail_followup_say_voice
252
276
  end
253
277
 
254
278
  # Custom attribute writer method with validation
@@ -282,13 +306,13 @@ module UltracartClient
282
306
  end
283
307
 
284
308
  # Custom attribute writer method with validation
285
- # @param [Object] voicemail_say_voice Value to be assigned
286
- def voicemail_say_voice=(voicemail_say_voice)
287
- if !voicemail_say_voice.nil? && voicemail_say_voice.to_s.length > 50
288
- fail ArgumentError, 'invalid value for "voicemail_say_voice", the character length must be smaller than or equal to 50.'
309
+ # @param [Object] voicemail_prompt_say_voice Value to be assigned
310
+ def voicemail_prompt_say_voice=(voicemail_prompt_say_voice)
311
+ if !voicemail_prompt_say_voice.nil? && voicemail_prompt_say_voice.to_s.length > 50
312
+ fail ArgumentError, 'invalid value for "voicemail_prompt_say_voice", the character length must be smaller than or equal to 50.'
289
313
  end
290
314
 
291
- @voicemail_say_voice = voicemail_say_voice
315
+ @voicemail_prompt_say_voice = voicemail_prompt_say_voice
292
316
  end
293
317
 
294
318
  # Checks equality by comparing each attribute.
@@ -300,13 +324,14 @@ module UltracartClient
300
324
  merchant_id == o.merchant_id &&
301
325
  send_notices_to_email == o.send_notices_to_email &&
302
326
  user_id == o.user_id &&
303
- voicemail_follow_play_audio_uuid == o.voicemail_follow_play_audio_uuid &&
327
+ voicemail_followup_play_audio_uuid == o.voicemail_followup_play_audio_uuid &&
304
328
  voicemail_followup_say == o.voicemail_followup_say &&
329
+ voicemail_followup_say_voice == o.voicemail_followup_say_voice &&
305
330
  voicemail_mailbox_id == o.voicemail_mailbox_id &&
306
331
  voicemail_mailbox_type == o.voicemail_mailbox_type &&
307
332
  voicemail_prompt_play_audio_uuid == o.voicemail_prompt_play_audio_uuid &&
308
333
  voicemail_prompt_say == o.voicemail_prompt_say &&
309
- voicemail_say_voice == o.voicemail_say_voice
334
+ voicemail_prompt_say_voice == o.voicemail_prompt_say_voice
310
335
  end
311
336
 
312
337
  # @see the `==` method
@@ -318,7 +343,7 @@ module UltracartClient
318
343
  # Calculates hash code according to all attributes.
319
344
  # @return [Fixnum] Hash code
320
345
  def hash
321
- [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
346
+ [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
322
347
  end
323
348
 
324
349
  # Builds the object from hash
@@ -233,7 +233,7 @@ module UltracartClient
233
233
  # Check to see if the all the properties in the model are valid
234
234
  # @return true if the model is valid
235
235
  def valid?
236
- 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'])
236
+ 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'])
237
237
  return false unless payment_method_validator.valid?(@payment_method)
238
238
  payment_status_validator = EnumAttributeValidator.new('String', ['Unprocessed', 'Authorized', 'Capture Failed', 'Processed', 'Declined', 'Voided', 'Refunded', 'Skipped'])
239
239
  return false unless payment_status_validator.valid?(@payment_status)
@@ -243,7 +243,7 @@ module UltracartClient
243
243
  # Custom attribute writer method checking allowed values (enum).
244
244
  # @param [Object] payment_method Object to be assigned
245
245
  def payment_method=(payment_method)
246
- 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'])
246
+ 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'])
247
247
  unless validator.valid?(payment_method)
248
248
  fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
249
249
  end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.202'
14
+ VERSION = '3.10.204'
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: 3.10.202
4
+ version: 3.10.204
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