ultracart_api 4.0.70.rc → 4.0.72.rc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 148323eac62bcdb01a1a6acc096bce265723905102e29c9e49f5871be5493bb8
4
- data.tar.gz: af87c73c0ffc5b5f8bef0b4ff302d16b232e82ac73ad1e70ae201e6855cf2d75
3
+ metadata.gz: cc2f22dba1efe158ae7c10d7453f0be0628f1f4281e61ebf82dc721c7e260a25
4
+ data.tar.gz: 9e96d164faf462f75a0893d12e14fd884f7c10f422fdfdee570ccda6e387a201
5
5
  SHA512:
6
- metadata.gz: ff6365ae961a4312c7e8fb85ae80a567ebe6f268bb39ebb1ceba21764d4fe2dd5fff2204f8e3e48e8e54435e48f8b3e61bd341240976a6b0bdbddcc34fd4fea0
7
- data.tar.gz: 3381afe48ccf2b433fbd023c8d42b87001e0408415daf75d36c6b6141ab5fac6800d38910d235a358cf9876bbfac16c2039ff853f47b7a87bf70790c1011ed3a
6
+ metadata.gz: 2d75ff71db8df363ba6304e0817ebc336f91f415380ec4e38de37f7483e5a75148689d0255a05ecb581ae6595fd8d408f70433e92d26039aaee868569aae10dd
7
+ data.tar.gz: 11b7b89a10bc9ab4055f8fe474eac5b24a68efe4effec927923bf8930b294e0ad9b70c34623a05f2b44951561ad770f62afa9b87f85151a171d2d9119ae342cb
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.70.rc
10
+ - Package version: 4.0.72.rc
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.70.rc.gem
27
+ gem install ./ultracart_api-4.0.72.rc.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.70.rc.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.72.rc.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.70.rc'
36
+ gem 'ultracart_api', '~> 4.0.72.rc'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1218,6 +1218,8 @@ Not every change is committed to every SDK.
1218
1218
 
1219
1219
  | Version | Date | Comments |
1220
1220
  | --: | :-: | --- |
1221
+ | 4.0.72-RC | 10/05/2022 | storefront rest file cdn icon urls |
1222
+ | 4.0.71-RC | 10/04/2022 | bug fix for new storefront file mgr |
1221
1223
  | 4.0.70-RC | 09/29/2022 | page_paths search category for search2 method |
1222
1224
  | 4.0.69-RC | 09/29/2022 | storefront file mgr calls tweaks |
1223
1225
  | 4.0.68-RC | 09/29/2022 | storefront methods for file manager ui |
data/docs/CartBilling.md CHANGED
@@ -7,6 +7,8 @@
7
7
  | **address1** | **String** | Address line 1 | [optional] |
8
8
  | **address2** | **String** | Address line 2 | [optional] |
9
9
  | **cc_emails** | **Array<String>** | CC emails. Multiple allowed, but total length of all emails can not exceed 100 characters. | [optional] |
10
+ | **cell_phone** | **String** | Cell phone | [optional] |
11
+ | **cell_phone_e164** | **String** | Cell phone (E164 format) | [optional] |
10
12
  | **city** | **String** | City | [optional] |
11
13
  | **company** | **String** | Company | [optional] |
12
14
  | **country_code** | **String** | ISO-3166 two letter country code | [optional] |
@@ -29,6 +31,8 @@ instance = UltracartClient::CartBilling.new(
29
31
  address1: null,
30
32
  address2: null,
31
33
  cc_emails: null,
34
+ cell_phone: null,
35
+ cell_phone_e164: null,
32
36
  city: null,
33
37
  company: null,
34
38
  country_code: null,
@@ -21,6 +21,9 @@
21
21
  | **storefront_fs_directory_oid** | **Integer** | | [optional] |
22
22
  | **storefront_fs_file_oid** | **Integer** | | [optional] |
23
23
  | **storefront_oid** | **Integer** | | [optional] |
24
+ | **thumbnail_16_url** | **String** | CDN thumbnail 16x16 size | [optional] |
25
+ | **thumbnail_32_url** | **String** | CDN thumbnail 32x32 size | [optional] |
26
+ | **thumbnail_64_url** | **String** | CDN thumbnail 64x64 size | [optional] |
24
27
  | **type** | **String** | | [optional] |
25
28
  | **valid_velocity** | **String** | | [optional] |
26
29
 
@@ -47,6 +50,9 @@ instance = UltracartClient::FileManagerFile.new(
47
50
  storefront_fs_directory_oid: null,
48
51
  storefront_fs_file_oid: null,
49
52
  storefront_oid: null,
53
+ thumbnail_16_url: null,
54
+ thumbnail_32_url: null,
55
+ thumbnail_64_url: null,
50
56
  type: null,
51
57
  valid_velocity: null
52
58
  )
@@ -8,6 +8,7 @@
8
8
  | **key** | **String** | | [optional] |
9
9
  | **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
10
10
  | **success** | **Boolean** | Indicates if API call was successful | [optional] |
11
+ | **url** | **String** | | [optional] |
11
12
  | **warning** | [**Warning**](Warning.md) | | [optional] |
12
13
 
13
14
  ## Example
@@ -20,6 +21,7 @@ instance = UltracartClient::FileManagerUploadUrlResponse.new(
20
21
  key: null,
21
22
  metadata: null,
22
23
  success: null,
24
+ url: null,
23
25
  warning: null
24
26
  )
25
27
  ```
@@ -24,6 +24,12 @@ module UltracartClient
24
24
  # CC emails. Multiple allowed, but total length of all emails can not exceed 100 characters.
25
25
  attr_accessor :cc_emails
26
26
 
27
+ # Cell phone
28
+ attr_accessor :cell_phone
29
+
30
+ # Cell phone (E164 format)
31
+ attr_accessor :cell_phone_e164
32
+
27
33
  # City
28
34
  attr_accessor :city
29
35
 
@@ -66,6 +72,8 @@ module UltracartClient
66
72
  :'address1' => :'address1',
67
73
  :'address2' => :'address2',
68
74
  :'cc_emails' => :'cc_emails',
75
+ :'cell_phone' => :'cell_phone',
76
+ :'cell_phone_e164' => :'cell_phone_e164',
69
77
  :'city' => :'city',
70
78
  :'company' => :'company',
71
79
  :'country_code' => :'country_code',
@@ -92,6 +100,8 @@ module UltracartClient
92
100
  :'address1' => :'String',
93
101
  :'address2' => :'String',
94
102
  :'cc_emails' => :'Array<String>',
103
+ :'cell_phone' => :'String',
104
+ :'cell_phone_e164' => :'String',
95
105
  :'city' => :'String',
96
106
  :'company' => :'String',
97
107
  :'country_code' => :'String',
@@ -142,6 +152,14 @@ module UltracartClient
142
152
  end
143
153
  end
144
154
 
155
+ if attributes.key?(:'cell_phone')
156
+ self.cell_phone = attributes[:'cell_phone']
157
+ end
158
+
159
+ if attributes.key?(:'cell_phone_e164')
160
+ self.cell_phone_e164 = attributes[:'cell_phone_e164']
161
+ end
162
+
145
163
  if attributes.key?(:'city')
146
164
  self.city = attributes[:'city']
147
165
  end
@@ -203,6 +221,14 @@ module UltracartClient
203
221
  invalid_properties.push('invalid value for "address2", the character length must be smaller than or equal to 50.')
204
222
  end
205
223
 
224
+ if !@cell_phone.nil? && @cell_phone.to_s.length > 25
225
+ invalid_properties.push('invalid value for "cell_phone", the character length must be smaller than or equal to 25.')
226
+ end
227
+
228
+ if !@cell_phone_e164.nil? && @cell_phone_e164.to_s.length > 25
229
+ invalid_properties.push('invalid value for "cell_phone_e164", the character length must be smaller than or equal to 25.')
230
+ end
231
+
206
232
  if !@city.nil? && @city.to_s.length > 32
207
233
  invalid_properties.push('invalid value for "city", the character length must be smaller than or equal to 32.')
208
234
  end
@@ -259,6 +285,8 @@ module UltracartClient
259
285
  def valid?
260
286
  return false if !@address1.nil? && @address1.to_s.length > 50
261
287
  return false if !@address2.nil? && @address2.to_s.length > 50
288
+ return false if !@cell_phone.nil? && @cell_phone.to_s.length > 25
289
+ return false if !@cell_phone_e164.nil? && @cell_phone_e164.to_s.length > 25
262
290
  return false if !@city.nil? && @city.to_s.length > 32
263
291
  return false if !@company.nil? && @company.to_s.length > 50
264
292
  return false if !@country_code.nil? && @country_code.to_s.length > 2
@@ -294,6 +322,26 @@ module UltracartClient
294
322
  @address2 = address2
295
323
  end
296
324
 
325
+ # Custom attribute writer method with validation
326
+ # @param [Object] cell_phone Value to be assigned
327
+ def cell_phone=(cell_phone)
328
+ if !cell_phone.nil? && cell_phone.to_s.length > 25
329
+ fail ArgumentError, 'invalid value for "cell_phone", the character length must be smaller than or equal to 25.'
330
+ end
331
+
332
+ @cell_phone = cell_phone
333
+ end
334
+
335
+ # Custom attribute writer method with validation
336
+ # @param [Object] cell_phone_e164 Value to be assigned
337
+ def cell_phone_e164=(cell_phone_e164)
338
+ if !cell_phone_e164.nil? && cell_phone_e164.to_s.length > 25
339
+ fail ArgumentError, 'invalid value for "cell_phone_e164", the character length must be smaller than or equal to 25.'
340
+ end
341
+
342
+ @cell_phone_e164 = cell_phone_e164
343
+ end
344
+
297
345
  # Custom attribute writer method with validation
298
346
  # @param [Object] city Value to be assigned
299
347
  def city=(city)
@@ -422,6 +470,8 @@ module UltracartClient
422
470
  address1 == o.address1 &&
423
471
  address2 == o.address2 &&
424
472
  cc_emails == o.cc_emails &&
473
+ cell_phone == o.cell_phone &&
474
+ cell_phone_e164 == o.cell_phone_e164 &&
425
475
  city == o.city &&
426
476
  company == o.company &&
427
477
  country_code == o.country_code &&
@@ -445,7 +495,7 @@ module UltracartClient
445
495
  # Calculates hash code according to all attributes.
446
496
  # @return [Integer] Hash code
447
497
  def hash
448
- [address1, address2, cc_emails, city, company, country_code, day_phone, email, email_confirm, evening_phone, first_name, last_name, postal_code, state_region, title].hash
498
+ [address1, address2, cc_emails, cell_phone, cell_phone_e164, city, company, country_code, day_phone, email, email_confirm, evening_phone, first_name, last_name, postal_code, state_region, title].hash
449
499
  end
450
500
 
451
501
  # Builds the object from hash
@@ -49,6 +49,15 @@ module UltracartClient
49
49
 
50
50
  attr_accessor :storefront_oid
51
51
 
52
+ # CDN thumbnail 16x16 size
53
+ attr_accessor :thumbnail_16_url
54
+
55
+ # CDN thumbnail 32x32 size
56
+ attr_accessor :thumbnail_32_url
57
+
58
+ # CDN thumbnail 64x64 size
59
+ attr_accessor :thumbnail_64_url
60
+
52
61
  attr_accessor :type
53
62
 
54
63
  attr_accessor :valid_velocity
@@ -73,6 +82,9 @@ module UltracartClient
73
82
  :'storefront_fs_directory_oid' => :'storefront_fs_directory_oid',
74
83
  :'storefront_fs_file_oid' => :'storefront_fs_file_oid',
75
84
  :'storefront_oid' => :'storefront_oid',
85
+ :'thumbnail_16_url' => :'thumbnail_16_url',
86
+ :'thumbnail_32_url' => :'thumbnail_32_url',
87
+ :'thumbnail_64_url' => :'thumbnail_64_url',
76
88
  :'type' => :'type',
77
89
  :'valid_velocity' => :'valid_velocity'
78
90
  }
@@ -103,6 +115,9 @@ module UltracartClient
103
115
  :'storefront_fs_directory_oid' => :'Integer',
104
116
  :'storefront_fs_file_oid' => :'Integer',
105
117
  :'storefront_oid' => :'Integer',
118
+ :'thumbnail_16_url' => :'String',
119
+ :'thumbnail_32_url' => :'String',
120
+ :'thumbnail_64_url' => :'String',
106
121
  :'type' => :'String',
107
122
  :'valid_velocity' => :'String'
108
123
  }
@@ -197,6 +212,18 @@ module UltracartClient
197
212
  self.storefront_oid = attributes[:'storefront_oid']
198
213
  end
199
214
 
215
+ if attributes.key?(:'thumbnail_16_url')
216
+ self.thumbnail_16_url = attributes[:'thumbnail_16_url']
217
+ end
218
+
219
+ if attributes.key?(:'thumbnail_32_url')
220
+ self.thumbnail_32_url = attributes[:'thumbnail_32_url']
221
+ end
222
+
223
+ if attributes.key?(:'thumbnail_64_url')
224
+ self.thumbnail_64_url = attributes[:'thumbnail_64_url']
225
+ end
226
+
200
227
  if attributes.key?(:'type')
201
228
  self.type = attributes[:'type']
202
229
  end
@@ -241,6 +268,9 @@ module UltracartClient
241
268
  storefront_fs_directory_oid == o.storefront_fs_directory_oid &&
242
269
  storefront_fs_file_oid == o.storefront_fs_file_oid &&
243
270
  storefront_oid == o.storefront_oid &&
271
+ thumbnail_16_url == o.thumbnail_16_url &&
272
+ thumbnail_32_url == o.thumbnail_32_url &&
273
+ thumbnail_64_url == o.thumbnail_64_url &&
244
274
  type == o.type &&
245
275
  valid_velocity == o.valid_velocity
246
276
  end
@@ -254,7 +284,7 @@ module UltracartClient
254
284
  # Calculates hash code according to all attributes.
255
285
  # @return [Integer] Hash code
256
286
  def hash
257
- [favorite, hostname, i18n_violation, icon, internal_version, last_modified, merge_conflict, name, parent_storefront_fs_directory_oid, part_of_active_theme, path, raw_size, selected, size, storefront_fs_directory_oid, storefront_fs_file_oid, storefront_oid, type, valid_velocity].hash
287
+ [favorite, hostname, i18n_violation, icon, internal_version, last_modified, merge_conflict, name, parent_storefront_fs_directory_oid, part_of_active_theme, path, raw_size, selected, size, storefront_fs_directory_oid, storefront_fs_file_oid, storefront_oid, thumbnail_16_url, thumbnail_32_url, thumbnail_64_url, type, valid_velocity].hash
258
288
  end
259
289
 
260
290
  # Builds the object from hash
@@ -24,6 +24,8 @@ module UltracartClient
24
24
  # Indicates if API call was successful
25
25
  attr_accessor :success
26
26
 
27
+ attr_accessor :url
28
+
27
29
  attr_accessor :warning
28
30
 
29
31
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -33,6 +35,7 @@ module UltracartClient
33
35
  :'key' => :'key',
34
36
  :'metadata' => :'metadata',
35
37
  :'success' => :'success',
38
+ :'url' => :'url',
36
39
  :'warning' => :'warning'
37
40
  }
38
41
  end
@@ -49,6 +52,7 @@ module UltracartClient
49
52
  :'key' => :'String',
50
53
  :'metadata' => :'ResponseMetadata',
51
54
  :'success' => :'Boolean',
55
+ :'url' => :'String',
52
56
  :'warning' => :'Warning'
53
57
  }
54
58
  end
@@ -90,6 +94,10 @@ module UltracartClient
90
94
  self.success = attributes[:'success']
91
95
  end
92
96
 
97
+ if attributes.key?(:'url')
98
+ self.url = attributes[:'url']
99
+ end
100
+
93
101
  if attributes.key?(:'warning')
94
102
  self.warning = attributes[:'warning']
95
103
  end
@@ -117,6 +125,7 @@ module UltracartClient
117
125
  key == o.key &&
118
126
  metadata == o.metadata &&
119
127
  success == o.success &&
128
+ url == o.url &&
120
129
  warning == o.warning
121
130
  end
122
131
 
@@ -129,7 +138,7 @@ module UltracartClient
129
138
  # Calculates hash code according to all attributes.
130
139
  # @return [Integer] Hash code
131
140
  def hash
132
- [error, key, metadata, success, warning].hash
141
+ [error, key, metadata, success, url, warning].hash
133
142
  end
134
143
 
135
144
  # Builds the object from hash
@@ -391,7 +391,7 @@ module UltracartClient
391
391
  # @return true if the model is valid
392
392
  def valid?
393
393
  return false if !@currency_code.nil? && @currency_code.to_s.length > 3
394
- current_stage_validator = EnumAttributeValidator.new('String', ["Accounts Receivable", "Pending Clearance", "Fraud Review", "Rejected", "Shipping Department", "Completed Order", "Quote Request", "Quote Sent", "Least Cost Routing", "Unknown", "Pre-ordered"])
394
+ current_stage_validator = EnumAttributeValidator.new('String', ["Accounts Receivable", "Pending Clearance", "Fraud Review", "Rejected", "Shipping Department", "Completed Order", "Quote Request", "Quote Sent", "Least Cost Routing", "Unknown", "Pre-ordered", "Advanced Order Routing"])
395
395
  return false unless current_stage_validator.valid?(@current_stage)
396
396
  return false if !@language_iso_code.nil? && @language_iso_code.to_s.length > 3
397
397
  true
@@ -410,7 +410,7 @@ module UltracartClient
410
410
  # Custom attribute writer method checking allowed values (enum).
411
411
  # @param [Object] current_stage Object to be assigned
412
412
  def current_stage=(current_stage)
413
- validator = EnumAttributeValidator.new('String', ["Accounts Receivable", "Pending Clearance", "Fraud Review", "Rejected", "Shipping Department", "Completed Order", "Quote Request", "Quote Sent", "Least Cost Routing", "Unknown", "Pre-ordered"])
413
+ validator = EnumAttributeValidator.new('String', ["Accounts Receivable", "Pending Clearance", "Fraud Review", "Rejected", "Shipping Department", "Completed Order", "Quote Request", "Quote Sent", "Least Cost Routing", "Unknown", "Pre-ordered", "Advanced Order Routing"])
414
414
  unless validator.valid?(current_stage)
415
415
  fail ArgumentError, "invalid value for \"current_stage\", must be one of #{validator.allowable_values}."
416
416
  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.70.rc'
14
+ VERSION = '4.0.72.rc'
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.70.rc
4
+ version: 4.0.72.rc
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-29 00:00:00.000000000 Z
11
+ date: 2022-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus