ultracart_api 3.10.54 → 3.10.56
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/Customer.md +1 -0
- data/docs/FileManagerFile.md +3 -0
- data/lib/ultracart_api/models/customer.rb +11 -1
- data/lib/ultracart_api/models/file_manager_file.rb +31 -1
- data/lib/ultracart_api/models/item_digital_items_response.rb +3 -3
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bf33caa668c673bfb0aa3e7d9c6b3663f492af7b8ca8e37839dad609f0ad1db
|
4
|
+
data.tar.gz: ef6db984ad46007de928c453a9234699b9deffd63beeee1e29bd91bcc3436606
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15cb9a53814a566f4ca983307a21cce361ce960e247aa0ca4f7f3c73e58c0443d627690e033bdba8b5de0344afc9063a737c3d248f2d0c4e6fd03cdd4f286daf
|
7
|
+
data.tar.gz: e2f2627f6275580a0663f308969e155a41ae30091a58a21ad4dd385208e52ffa3fc30715d45d5662bd43ee706cdc92e2e3bf78cf3ee2d7b415e588c360d7400d
|
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.
|
10
|
+
- Package version: 3.10.56
|
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.
|
27
|
+
gem install ./ultracart_api-3.10.56.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.56.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.
|
35
|
+
gem 'ultracart_api', '~> 3.10.56'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1209,6 +1209,8 @@ Not every change is committed to every SDK.
|
|
1209
1209
|
|
1210
1210
|
| Version | Date | Comments |
|
1211
1211
|
| --: | :-: | --- |
|
1212
|
+
| 3.10.56 | 10/07/2022 | bug fix for digital items response |
|
1213
|
+
| 3.10.55 | 10/05/2022 | storefront rest file cdn icon urls |
|
1212
1214
|
| 3.10.54 | 10/04/2022 | bug fix for new storefront file mgr |
|
1213
1215
|
| 3.10.53 | 09/29/2022 | page_paths search category for search2 method |
|
1214
1216
|
| 3.10.52 | 09/29/2022 | storefront file mgr calls tweaks |
|
data/docs/Customer.md
CHANGED
@@ -31,6 +31,7 @@ Name | Type | Description | Notes
|
|
31
31
|
**last_modified_dts** | **String** | Last modified date | [optional]
|
32
32
|
**loyalty** | [**CustomerLoyalty**](CustomerLoyalty.md) | | [optional]
|
33
33
|
**maximum_item_count** | **Integer** | Maximum item count | [optional]
|
34
|
+
**merchant_id** | **String** | Merchant ID | [optional]
|
34
35
|
**minimum_item_count** | **Integer** | Minimum item count | [optional]
|
35
36
|
**minimum_subtotal** | **Float** | Minimum subtotal | [optional]
|
36
37
|
**no_coupons** | **BOOLEAN** | No coupons | [optional]
|
data/docs/FileManagerFile.md
CHANGED
@@ -20,6 +20,9 @@ Name | Type | Description | Notes
|
|
20
20
|
**storefront_fs_directory_oid** | **Integer** | | [optional]
|
21
21
|
**storefront_fs_file_oid** | **Integer** | | [optional]
|
22
22
|
**storefront_oid** | **Integer** | | [optional]
|
23
|
+
**thumbnail_16_url** | **String** | CDN thumbnail 16x16 size | [optional]
|
24
|
+
**thumbnail_32_url** | **String** | CDN thumbnail 32x32 size | [optional]
|
25
|
+
**thumbnail_64_url** | **String** | CDN thumbnail 64x64 size | [optional]
|
23
26
|
**type** | **String** | | [optional]
|
24
27
|
**valid_velocity** | **String** | | [optional]
|
25
28
|
|
@@ -96,6 +96,9 @@ module UltracartClient
|
|
96
96
|
# Maximum item count
|
97
97
|
attr_accessor :maximum_item_count
|
98
98
|
|
99
|
+
# Merchant ID
|
100
|
+
attr_accessor :merchant_id
|
101
|
+
|
99
102
|
# Minimum item count
|
100
103
|
attr_accessor :minimum_item_count
|
101
104
|
|
@@ -215,6 +218,7 @@ module UltracartClient
|
|
215
218
|
:'last_modified_dts' => :'last_modified_dts',
|
216
219
|
:'loyalty' => :'loyalty',
|
217
220
|
:'maximum_item_count' => :'maximum_item_count',
|
221
|
+
:'merchant_id' => :'merchant_id',
|
218
222
|
:'minimum_item_count' => :'minimum_item_count',
|
219
223
|
:'minimum_subtotal' => :'minimum_subtotal',
|
220
224
|
:'no_coupons' => :'no_coupons',
|
@@ -280,6 +284,7 @@ module UltracartClient
|
|
280
284
|
:'last_modified_dts' => :'String',
|
281
285
|
:'loyalty' => :'CustomerLoyalty',
|
282
286
|
:'maximum_item_count' => :'Integer',
|
287
|
+
:'merchant_id' => :'String',
|
283
288
|
:'minimum_item_count' => :'Integer',
|
284
289
|
:'minimum_subtotal' => :'Float',
|
285
290
|
:'no_coupons' => :'BOOLEAN',
|
@@ -442,6 +447,10 @@ module UltracartClient
|
|
442
447
|
self.maximum_item_count = attributes[:'maximum_item_count']
|
443
448
|
end
|
444
449
|
|
450
|
+
if attributes.has_key?(:'merchant_id')
|
451
|
+
self.merchant_id = attributes[:'merchant_id']
|
452
|
+
end
|
453
|
+
|
445
454
|
if attributes.has_key?(:'minimum_item_count')
|
446
455
|
self.minimum_item_count = attributes[:'minimum_item_count']
|
447
456
|
end
|
@@ -790,6 +799,7 @@ module UltracartClient
|
|
790
799
|
last_modified_dts == o.last_modified_dts &&
|
791
800
|
loyalty == o.loyalty &&
|
792
801
|
maximum_item_count == o.maximum_item_count &&
|
802
|
+
merchant_id == o.merchant_id &&
|
793
803
|
minimum_item_count == o.minimum_item_count &&
|
794
804
|
minimum_subtotal == o.minimum_subtotal &&
|
795
805
|
no_coupons == o.no_coupons &&
|
@@ -832,7 +842,7 @@ module UltracartClient
|
|
832
842
|
# Calculates hash code according to all attributes.
|
833
843
|
# @return [Fixnum] Hash code
|
834
844
|
def hash
|
835
|
-
[activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_drop_shipping, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, email, exempt_shipping_handling_charge, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, qb_class, qb_code, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
|
845
|
+
[activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_drop_shipping, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, email, exempt_shipping_handling_charge, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, merchant_id, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, qb_class, qb_code, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
|
836
846
|
end
|
837
847
|
|
838
848
|
# Builds the object from hash
|
@@ -48,6 +48,15 @@ module UltracartClient
|
|
48
48
|
|
49
49
|
attr_accessor :storefront_oid
|
50
50
|
|
51
|
+
# CDN thumbnail 16x16 size
|
52
|
+
attr_accessor :thumbnail_16_url
|
53
|
+
|
54
|
+
# CDN thumbnail 32x32 size
|
55
|
+
attr_accessor :thumbnail_32_url
|
56
|
+
|
57
|
+
# CDN thumbnail 64x64 size
|
58
|
+
attr_accessor :thumbnail_64_url
|
59
|
+
|
51
60
|
attr_accessor :type
|
52
61
|
|
53
62
|
attr_accessor :valid_velocity
|
@@ -72,6 +81,9 @@ module UltracartClient
|
|
72
81
|
:'storefront_fs_directory_oid' => :'storefront_fs_directory_oid',
|
73
82
|
:'storefront_fs_file_oid' => :'storefront_fs_file_oid',
|
74
83
|
:'storefront_oid' => :'storefront_oid',
|
84
|
+
:'thumbnail_16_url' => :'thumbnail_16_url',
|
85
|
+
:'thumbnail_32_url' => :'thumbnail_32_url',
|
86
|
+
:'thumbnail_64_url' => :'thumbnail_64_url',
|
75
87
|
:'type' => :'type',
|
76
88
|
:'valid_velocity' => :'valid_velocity'
|
77
89
|
}
|
@@ -97,6 +109,9 @@ module UltracartClient
|
|
97
109
|
:'storefront_fs_directory_oid' => :'Integer',
|
98
110
|
:'storefront_fs_file_oid' => :'Integer',
|
99
111
|
:'storefront_oid' => :'Integer',
|
112
|
+
:'thumbnail_16_url' => :'String',
|
113
|
+
:'thumbnail_32_url' => :'String',
|
114
|
+
:'thumbnail_64_url' => :'String',
|
100
115
|
:'type' => :'String',
|
101
116
|
:'valid_velocity' => :'String'
|
102
117
|
}
|
@@ -178,6 +193,18 @@ module UltracartClient
|
|
178
193
|
self.storefront_oid = attributes[:'storefront_oid']
|
179
194
|
end
|
180
195
|
|
196
|
+
if attributes.has_key?(:'thumbnail_16_url')
|
197
|
+
self.thumbnail_16_url = attributes[:'thumbnail_16_url']
|
198
|
+
end
|
199
|
+
|
200
|
+
if attributes.has_key?(:'thumbnail_32_url')
|
201
|
+
self.thumbnail_32_url = attributes[:'thumbnail_32_url']
|
202
|
+
end
|
203
|
+
|
204
|
+
if attributes.has_key?(:'thumbnail_64_url')
|
205
|
+
self.thumbnail_64_url = attributes[:'thumbnail_64_url']
|
206
|
+
end
|
207
|
+
|
181
208
|
if attributes.has_key?(:'type')
|
182
209
|
self.type = attributes[:'type']
|
183
210
|
end
|
@@ -222,6 +249,9 @@ module UltracartClient
|
|
222
249
|
storefront_fs_directory_oid == o.storefront_fs_directory_oid &&
|
223
250
|
storefront_fs_file_oid == o.storefront_fs_file_oid &&
|
224
251
|
storefront_oid == o.storefront_oid &&
|
252
|
+
thumbnail_16_url == o.thumbnail_16_url &&
|
253
|
+
thumbnail_32_url == o.thumbnail_32_url &&
|
254
|
+
thumbnail_64_url == o.thumbnail_64_url &&
|
225
255
|
type == o.type &&
|
226
256
|
valid_velocity == o.valid_velocity
|
227
257
|
end
|
@@ -235,7 +265,7 @@ module UltracartClient
|
|
235
265
|
# Calculates hash code according to all attributes.
|
236
266
|
# @return [Fixnum] Hash code
|
237
267
|
def hash
|
238
|
-
[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
|
268
|
+
[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
|
239
269
|
end
|
240
270
|
|
241
271
|
# Builds the object from hash
|
@@ -29,7 +29,7 @@ module UltracartClient
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
|
-
:'digital_items' => :'
|
32
|
+
:'digital_items' => :'digital_items',
|
33
33
|
:'error' => :'error',
|
34
34
|
:'metadata' => :'metadata',
|
35
35
|
:'success' => :'success',
|
@@ -56,8 +56,8 @@ module UltracartClient
|
|
56
56
|
# convert string to symbol for hash key
|
57
57
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
58
58
|
|
59
|
-
if attributes.has_key?(:'
|
60
|
-
if (value = attributes[:'
|
59
|
+
if attributes.has_key?(:'digital_items')
|
60
|
+
if (value = attributes[:'digital_items']).is_a?(Array)
|
61
61
|
self.digital_items = value
|
62
62
|
end
|
63
63
|
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.
|
4
|
+
version: 3.10.56
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|