ultracart_api 4.0.69.rc → 4.0.71.rc

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: 74812ef9dacbb6bb7e8d9cdc4d21e7c29b31b4c284b2dbb44eead47c2d9ef6d0
4
- data.tar.gz: 39ff1acb4854db3ad3b0c7092ceee7494c734ea32573b02fa9d4b66013ee69f5
3
+ metadata.gz: 9f9cce2f4be4c3c5a93a18e8f40f5665e5c0b76b0ad3caf798abe41e98ba92fe
4
+ data.tar.gz: 2ff5698c671a4da2140789aca31f77783c2b61be0d1bdc0d0650744f249dee28
5
5
  SHA512:
6
- metadata.gz: e0785b439a3d1195c8465abc2096e275c548a976197403ae570900b3daced2459eccb41b088dbc0ba63dd04fdfd66c60dc1f667f379492406502ac8308021364
7
- data.tar.gz: ca4ca4f9f3a1b9d1f4a5f240bc30944a43182a419e27227ff5dccf523acdcc72ff4a69542df3a886412d0bc0e37484b7a2f09e89dc54234472b069b5abac8de8
6
+ metadata.gz: 9ba4d8075c839e4a6e6a5f11cac60c81ef4882b0b14938b8cd05ba4a082a4231084d60d3fe4df3d0af32997e7b3dc988345b3b18adb319ab97e63f87842624e5
7
+ data.tar.gz: 142cc7290e09948ae2f75a05cfcd0d341e25b9a2d59432c8bf1db6ef351b912164ef696469a82f7689e4985db67037538564a224ef09e080c2e302056b67e65c
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.69.rc
10
+ - Package version: 4.0.71.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.69.rc.gem
27
+ gem install ./ultracart_api-4.0.71.rc.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.69.rc.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.71.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.69.rc'
36
+ gem 'ultracart_api', '~> 4.0.71.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.71-RC | 10/04/2022 | bug fix for new storefront file mgr |
1222
+ | 4.0.70-RC | 09/29/2022 | page_paths search category for search2 method |
1221
1223
  | 4.0.69-RC | 09/29/2022 | storefront file mgr calls tweaks |
1222
1224
  | 4.0.68-RC | 09/29/2022 | storefront methods for file manager ui |
1223
1225
  | 4.0.67-RC | 09/27/2022 | added digital library call for unassociated content |
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,
@@ -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
@@ -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.69.rc'
14
+ VERSION = '4.0.71.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.69.rc
4
+ version: 4.0.71.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-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus