ultracart_api 4.1.44 → 4.1.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 +3 -2
- data/docs/ItemContentMultimedia.md +2 -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: 40c618d7f7e85e6101b99b6f779488c6bbe2aea23fe2ff7c97235281989578b1
|
|
4
|
+
data.tar.gz: c6453cc7ca927a330890802a01f2ce8dd1549e2e86cd5c2c4524eb2de10a2d8b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96bd2f64c4d0db3a9826d5349e6969361e7e0202cae81096ca163369aeecc121e8c83deb720871f512161b8e2ed62ff731fe4653aee6fabd05acd6bcfdfc9105
|
|
7
|
+
data.tar.gz: c270803cfae68aa4c054aa4b4a5cd7e91db6226b20a45db5de4090886469fe52fba93eff700e49e33bfd66bc59d26b43adbd86af3921c63aac41907d5089b3d7
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
|
|
|
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.1.
|
|
10
|
+
- Package version: 4.1.45
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
- For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
|
|
|
16
16
|
gemfile:
|
|
17
17
|
|
|
18
18
|
```shell
|
|
19
|
-
gem 'ultracart_api', '4.1.
|
|
19
|
+
gem 'ultracart_api', '4.1.45'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -1621,6 +1621,7 @@ Not every change is committed to every SDK.
|
|
|
1621
1621
|
|
|
1622
1622
|
| Version | Date | Comments |
|
|
1623
1623
|
| --: | :-: | --- |
|
|
1624
|
+
| 4.1.45 | 01/26/2026 | added multimedia file size to ItemContentMultimedia object |
|
|
1624
1625
|
| 4.1.44 | 01/26/2026 | conversations - ConversationDepartmentMember expose a flag for if the agent is AI |
|
|
1625
1626
|
| 4.1.43 | 01/14/2026 | coupons - generate one time coupons prefix support (optional) |
|
|
1626
1627
|
| 4.1.42 | 01/13/2026 | conversations - pbx methods for phone number purchasing |
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
| **merchant_item_multimedia_oid** | **Integer** | Item multimedia object identifier | [optional] |
|
|
15
15
|
| **orphan** | **Boolean** | True if the multimedia is an orphan of the active StoreFront themes | [optional] |
|
|
16
16
|
| **placeholder** | **Boolean** | True if the object is a place holder that can be populated | [optional] |
|
|
17
|
+
| **size** | **Integer** | Size of the file in bytes if known | [optional] |
|
|
17
18
|
| **temp_multimedia_oid** | **Integer** | Temporary multimedia object identifier assigned if uploading new multimedia | [optional] |
|
|
18
19
|
| **thumbnails** | [**Array<ItemContentMultimediaThumbnail>**](ItemContentMultimediaThumbnail.md) | Thumbnails of this image | [optional] |
|
|
19
20
|
| **type** | **String** | Type of file | [optional] |
|
|
@@ -36,6 +37,7 @@ instance = UltracartClient::ItemContentMultimedia.new(
|
|
|
36
37
|
merchant_item_multimedia_oid: null,
|
|
37
38
|
orphan: null,
|
|
38
39
|
placeholder: null,
|
|
40
|
+
size: null,
|
|
39
41
|
temp_multimedia_oid: null,
|
|
40
42
|
thumbnails: null,
|
|
41
43
|
type: null,
|
|
@@ -45,6 +45,9 @@ module UltracartClient
|
|
|
45
45
|
# True if the object is a place holder that can be populated
|
|
46
46
|
attr_accessor :placeholder
|
|
47
47
|
|
|
48
|
+
# Size of the file in bytes if known
|
|
49
|
+
attr_accessor :size
|
|
50
|
+
|
|
48
51
|
# Temporary multimedia object identifier assigned if uploading new multimedia
|
|
49
52
|
attr_accessor :temp_multimedia_oid
|
|
50
53
|
|
|
@@ -95,6 +98,7 @@ module UltracartClient
|
|
|
95
98
|
:'merchant_item_multimedia_oid' => :'merchant_item_multimedia_oid',
|
|
96
99
|
:'orphan' => :'orphan',
|
|
97
100
|
:'placeholder' => :'placeholder',
|
|
101
|
+
:'size' => :'size',
|
|
98
102
|
:'temp_multimedia_oid' => :'temp_multimedia_oid',
|
|
99
103
|
:'thumbnails' => :'thumbnails',
|
|
100
104
|
:'type' => :'type',
|
|
@@ -121,6 +125,7 @@ module UltracartClient
|
|
|
121
125
|
:'merchant_item_multimedia_oid' => :'Integer',
|
|
122
126
|
:'orphan' => :'Boolean',
|
|
123
127
|
:'placeholder' => :'Boolean',
|
|
128
|
+
:'size' => :'Integer',
|
|
124
129
|
:'temp_multimedia_oid' => :'Integer',
|
|
125
130
|
:'thumbnails' => :'Array<ItemContentMultimediaThumbnail>',
|
|
126
131
|
:'type' => :'String',
|
|
@@ -190,6 +195,10 @@ module UltracartClient
|
|
|
190
195
|
self.placeholder = attributes[:'placeholder']
|
|
191
196
|
end
|
|
192
197
|
|
|
198
|
+
if attributes.key?(:'size')
|
|
199
|
+
self.size = attributes[:'size']
|
|
200
|
+
end
|
|
201
|
+
|
|
193
202
|
if attributes.key?(:'temp_multimedia_oid')
|
|
194
203
|
self.temp_multimedia_oid = attributes[:'temp_multimedia_oid']
|
|
195
204
|
end
|
|
@@ -298,6 +307,7 @@ module UltracartClient
|
|
|
298
307
|
merchant_item_multimedia_oid == o.merchant_item_multimedia_oid &&
|
|
299
308
|
orphan == o.orphan &&
|
|
300
309
|
placeholder == o.placeholder &&
|
|
310
|
+
size == o.size &&
|
|
301
311
|
temp_multimedia_oid == o.temp_multimedia_oid &&
|
|
302
312
|
thumbnails == o.thumbnails &&
|
|
303
313
|
type == o.type &&
|
|
@@ -314,7 +324,7 @@ module UltracartClient
|
|
|
314
324
|
# Calculates hash code according to all attributes.
|
|
315
325
|
# @return [Integer] Hash code
|
|
316
326
|
def hash
|
|
317
|
-
[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
|
|
327
|
+
[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
|
|
318
328
|
end
|
|
319
329
|
|
|
320
330
|
# Builds the object from hash
|