ultracart_api 4.0.236 → 4.0.237
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 +4 -4
- data/README.md +5 -4
- data/docs/ItemContent.md +7 -1
- data/lib/ultracart_api/models/item_content.rb +32 -2
- 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: 70320428b3368a33b9283fc894e8ec57a3054f2e71e040a272ea9f03ed9479db
|
4
|
+
data.tar.gz: 984041ff23c00ff11a1ca2cce5fce0c48a36526be28e8538504d3a423b9ab2bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7917d8d7a6e21166ce81ff970c29ac31167c372eddc9890a09d382b67c557802333b93edcc8e7d093081b970537bb86b355af95a721cc55bc2b8068473b59ee7
|
7
|
+
data.tar.gz: e3646b6ac060803486b37efea721b67fd2273701a357f8bfc9bcfb1764841d89cc65496a0eae72a47471b867ac45b61a579bdf6642537b401b6ad43c44e5e0b7
|
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.
|
10
|
+
- Package version: 4.0.237
|
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.
|
27
|
+
gem install ./ultracart_api-4.0.237.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.237.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.
|
36
|
+
gem 'ultracart_api', '~> 4.0.237'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1520,6 +1520,7 @@ Not every change is committed to every SDK.
|
|
1520
1520
|
|
1521
1521
|
| Version | Date | Comments |
|
1522
1522
|
| --: | :-: | --- |
|
1523
|
+
| 4.0.237 | 11/11/2024 | added seo properties to item.content object |
|
1523
1524
|
| 4.0.236 | 11/07/2024 | Coupon - PercentOffWithItemsQuantityPurchase - added support for tags |
|
1524
1525
|
| 4.0.235 | 11/04/2024 | item - new constant for auto order schedule of every 5 months |
|
1525
1526
|
| 4.0.234 | 10/24/2024 | storefront page attribute edit method |
|
data/docs/ItemContent.md
CHANGED
@@ -11,7 +11,10 @@
|
|
11
11
|
| **exclude_from_sitemap** | **Boolean** | Exclude from the sitemap for the StoreFront | [optional] |
|
12
12
|
| **exclude_from_top_sellers** | **Boolean** | Exclude from the top sellers list in the StoreFront | [optional] |
|
13
13
|
| **extended_description** | **String** | Extended description (max 10000 characters) | [optional] |
|
14
|
-
| **extended_description_translated_text_instance_oid** | **Integer** |
|
14
|
+
| **extended_description_translated_text_instance_oid** | **Integer** | Extended description text translation instance identifier | [optional] |
|
15
|
+
| **meta_description** | **String** | SEO meta description used by Storefronts | [optional] |
|
16
|
+
| **meta_keywords** | **String** | SEO meta keywords used by Storefronts | [optional] |
|
17
|
+
| **meta_title** | **String** | SEO meta title used by Storefronts | [optional] |
|
15
18
|
| **multimedia** | [**Array<ItemContentMultimedia>**](ItemContentMultimedia.md) | Multimedia | [optional] |
|
16
19
|
| **new_item** | **Boolean** | True if the item is new | [optional] |
|
17
20
|
| **new_item_end** | **String** | The date the item should no longer be considered new | [optional] |
|
@@ -32,6 +35,9 @@ instance = UltracartClient::ItemContent.new(
|
|
32
35
|
exclude_from_top_sellers: null,
|
33
36
|
extended_description: null,
|
34
37
|
extended_description_translated_text_instance_oid: null,
|
38
|
+
meta_description: null,
|
39
|
+
meta_keywords: null,
|
40
|
+
meta_title: null,
|
35
41
|
multimedia: null,
|
36
42
|
new_item: null,
|
37
43
|
new_item_end: null,
|
@@ -36,9 +36,18 @@ module UltracartClient
|
|
36
36
|
# Extended description (max 10000 characters)
|
37
37
|
attr_accessor :extended_description
|
38
38
|
|
39
|
-
#
|
39
|
+
# Extended description text translation instance identifier
|
40
40
|
attr_accessor :extended_description_translated_text_instance_oid
|
41
41
|
|
42
|
+
# SEO meta description used by Storefronts
|
43
|
+
attr_accessor :meta_description
|
44
|
+
|
45
|
+
# SEO meta keywords used by Storefronts
|
46
|
+
attr_accessor :meta_keywords
|
47
|
+
|
48
|
+
# SEO meta title used by Storefronts
|
49
|
+
attr_accessor :meta_title
|
50
|
+
|
42
51
|
# Multimedia
|
43
52
|
attr_accessor :multimedia
|
44
53
|
|
@@ -65,6 +74,9 @@ module UltracartClient
|
|
65
74
|
:'exclude_from_top_sellers' => :'exclude_from_top_sellers',
|
66
75
|
:'extended_description' => :'extended_description',
|
67
76
|
:'extended_description_translated_text_instance_oid' => :'extended_description_translated_text_instance_oid',
|
77
|
+
:'meta_description' => :'meta_description',
|
78
|
+
:'meta_keywords' => :'meta_keywords',
|
79
|
+
:'meta_title' => :'meta_title',
|
68
80
|
:'multimedia' => :'multimedia',
|
69
81
|
:'new_item' => :'new_item',
|
70
82
|
:'new_item_end' => :'new_item_end',
|
@@ -89,6 +101,9 @@ module UltracartClient
|
|
89
101
|
:'exclude_from_top_sellers' => :'Boolean',
|
90
102
|
:'extended_description' => :'String',
|
91
103
|
:'extended_description_translated_text_instance_oid' => :'Integer',
|
104
|
+
:'meta_description' => :'String',
|
105
|
+
:'meta_keywords' => :'String',
|
106
|
+
:'meta_title' => :'String',
|
92
107
|
:'multimedia' => :'Array<ItemContentMultimedia>',
|
93
108
|
:'new_item' => :'Boolean',
|
94
109
|
:'new_item_end' => :'String',
|
@@ -154,6 +169,18 @@ module UltracartClient
|
|
154
169
|
self.extended_description_translated_text_instance_oid = attributes[:'extended_description_translated_text_instance_oid']
|
155
170
|
end
|
156
171
|
|
172
|
+
if attributes.key?(:'meta_description')
|
173
|
+
self.meta_description = attributes[:'meta_description']
|
174
|
+
end
|
175
|
+
|
176
|
+
if attributes.key?(:'meta_keywords')
|
177
|
+
self.meta_keywords = attributes[:'meta_keywords']
|
178
|
+
end
|
179
|
+
|
180
|
+
if attributes.key?(:'meta_title')
|
181
|
+
self.meta_title = attributes[:'meta_title']
|
182
|
+
end
|
183
|
+
|
157
184
|
if attributes.key?(:'multimedia')
|
158
185
|
if (value = attributes[:'multimedia']).is_a?(Array)
|
159
186
|
self.multimedia = value
|
@@ -218,6 +245,9 @@ module UltracartClient
|
|
218
245
|
exclude_from_top_sellers == o.exclude_from_top_sellers &&
|
219
246
|
extended_description == o.extended_description &&
|
220
247
|
extended_description_translated_text_instance_oid == o.extended_description_translated_text_instance_oid &&
|
248
|
+
meta_description == o.meta_description &&
|
249
|
+
meta_keywords == o.meta_keywords &&
|
250
|
+
meta_title == o.meta_title &&
|
221
251
|
multimedia == o.multimedia &&
|
222
252
|
new_item == o.new_item &&
|
223
253
|
new_item_end == o.new_item_end &&
|
@@ -234,7 +264,7 @@ module UltracartClient
|
|
234
264
|
# Calculates hash code according to all attributes.
|
235
265
|
# @return [Integer] Hash code
|
236
266
|
def hash
|
237
|
-
[assignments, attributes, custom_thank_you_url, exclude_from_search, exclude_from_sitemap, exclude_from_top_sellers, extended_description, extended_description_translated_text_instance_oid, multimedia, new_item, new_item_end, new_item_start, view_url].hash
|
267
|
+
[assignments, attributes, custom_thank_you_url, exclude_from_search, exclude_from_sitemap, exclude_from_top_sellers, extended_description, extended_description_translated_text_instance_oid, meta_description, meta_keywords, meta_title, multimedia, new_item, new_item_end, new_item_start, view_url].hash
|
238
268
|
end
|
239
269
|
|
240
270
|
# Builds the object from hash
|
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.
|
4
|
+
version: 4.0.237
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|