ultracart_api 3.11.44 → 3.11.45
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/ItemContentMultimedia.md +1 -0
- data/lib/ultracart_api/models/item_content_multimedia.rb +11 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: add96a9b8e8295c864a2c0b15990ea37559d80ca6f414f484043b8145a49a275
|
|
4
|
+
data.tar.gz: 1979444be3204dfa3bdb27a114a43daabe7e9ad892966e023a959a29a5b75085
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e248179d4e57afc74af94f8dcc2d57ecf5b15a21b27a1a4fc1da2ec88e49364b8eb26117f1694238b5370a0e3fb37d5ce4eb6b681930eff41ce1868bfb2fb12
|
|
7
|
+
data.tar.gz: 71ae2eebcedfec3c38600119d1e7f164e31f748f2cd8fa0b611d76bc50705d0eb21224f942788a9710b1aa66714c09c506edf97796934ce2297286c6ac9e204a
|
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.11.
|
|
10
|
+
- Package version: 3.11.45
|
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
|
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.11.
|
|
27
|
+
gem install ./ultracart_api-3.11.45.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.11.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.11.45.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.11.
|
|
35
|
+
gem 'ultracart_api', '~> 3.11.45'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1623,6 +1623,7 @@ Not every change is committed to every SDK.
|
|
|
1623
1623
|
|
|
1624
1624
|
| Version | Date | Comments |
|
|
1625
1625
|
| --: | :-: | --- |
|
|
1626
|
+
| 3.11.45 | 01/26/2026 | added multimedia file size to ItemContentMultimedia object |
|
|
1626
1627
|
| 3.11.44 | 01/26/2026 | conversations - ConversationDepartmentMember expose a flag for if the agent is AI |
|
|
1627
1628
|
| 3.11.43 | 01/14/2026 | coupons - generate one time coupons prefix support (optional) |
|
|
1628
1629
|
| 3.11.42 | 01/13/2026 | conversations - pbx methods for phone number purchasing |
|
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**merchant_item_multimedia_oid** | **Integer** | Item multimedia object identifier | [optional]
|
|
14
14
|
**orphan** | **BOOLEAN** | True if the multimedia is an orphan of the active StoreFront themes | [optional]
|
|
15
15
|
**placeholder** | **BOOLEAN** | True if the object is a place holder that can be populated | [optional]
|
|
16
|
+
**size** | **Integer** | Size of the file in bytes if known | [optional]
|
|
16
17
|
**temp_multimedia_oid** | **Integer** | Temporary multimedia object identifier assigned if uploading new multimedia | [optional]
|
|
17
18
|
**thumbnails** | [**Array<ItemContentMultimediaThumbnail>**](ItemContentMultimediaThumbnail.md) | Thumbnails of this image | [optional]
|
|
18
19
|
**type** | **String** | Type of file | [optional]
|
|
@@ -44,6 +44,9 @@ module UltracartClient
|
|
|
44
44
|
# True if the object is a place holder that can be populated
|
|
45
45
|
attr_accessor :placeholder
|
|
46
46
|
|
|
47
|
+
# Size of the file in bytes if known
|
|
48
|
+
attr_accessor :size
|
|
49
|
+
|
|
47
50
|
# Temporary multimedia object identifier assigned if uploading new multimedia
|
|
48
51
|
attr_accessor :temp_multimedia_oid
|
|
49
52
|
|
|
@@ -94,6 +97,7 @@ module UltracartClient
|
|
|
94
97
|
:'merchant_item_multimedia_oid' => :'merchant_item_multimedia_oid',
|
|
95
98
|
:'orphan' => :'orphan',
|
|
96
99
|
:'placeholder' => :'placeholder',
|
|
100
|
+
:'size' => :'size',
|
|
97
101
|
:'temp_multimedia_oid' => :'temp_multimedia_oid',
|
|
98
102
|
:'thumbnails' => :'thumbnails',
|
|
99
103
|
:'type' => :'type',
|
|
@@ -115,6 +119,7 @@ module UltracartClient
|
|
|
115
119
|
:'merchant_item_multimedia_oid' => :'Integer',
|
|
116
120
|
:'orphan' => :'BOOLEAN',
|
|
117
121
|
:'placeholder' => :'BOOLEAN',
|
|
122
|
+
:'size' => :'Integer',
|
|
118
123
|
:'temp_multimedia_oid' => :'Integer',
|
|
119
124
|
:'thumbnails' => :'Array<ItemContentMultimediaThumbnail>',
|
|
120
125
|
:'type' => :'String',
|
|
@@ -171,6 +176,10 @@ module UltracartClient
|
|
|
171
176
|
self.placeholder = attributes[:'placeholder']
|
|
172
177
|
end
|
|
173
178
|
|
|
179
|
+
if attributes.has_key?(:'size')
|
|
180
|
+
self.size = attributes[:'size']
|
|
181
|
+
end
|
|
182
|
+
|
|
174
183
|
if attributes.has_key?(:'temp_multimedia_oid')
|
|
175
184
|
self.temp_multimedia_oid = attributes[:'temp_multimedia_oid']
|
|
176
185
|
end
|
|
@@ -279,6 +288,7 @@ module UltracartClient
|
|
|
279
288
|
merchant_item_multimedia_oid == o.merchant_item_multimedia_oid &&
|
|
280
289
|
orphan == o.orphan &&
|
|
281
290
|
placeholder == o.placeholder &&
|
|
291
|
+
size == o.size &&
|
|
282
292
|
temp_multimedia_oid == o.temp_multimedia_oid &&
|
|
283
293
|
thumbnails == o.thumbnails &&
|
|
284
294
|
type == o.type &&
|
|
@@ -295,7 +305,7 @@ module UltracartClient
|
|
|
295
305
|
# Calculates hash code according to all attributes.
|
|
296
306
|
# @return [Fixnum] Hash code
|
|
297
307
|
def hash
|
|
298
|
-
[cloud_url, cloud_url_expiration, code, description, exclude_from_gallery, file_name, height, merchant_item_multimedia_oid, orphan, placeholder, temp_multimedia_oid, thumbnails, type, url, width].hash
|
|
308
|
+
[cloud_url, cloud_url_expiration, code, description, exclude_from_gallery, file_name, height, merchant_item_multimedia_oid, orphan, placeholder, size, temp_multimedia_oid, thumbnails, type, url, width].hash
|
|
299
309
|
end
|
|
300
310
|
|
|
301
311
|
# Builds the object from hash
|