ultracart_api 3.10.48 → 3.10.49
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/ItemApi.md +2 -16
- data/lib/ultracart_api/api/item_api.rb +0 -18
- 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: 4ebc62fd60c282ea9b80e3b07b9959862b9a6d02179021263b60cad8d774f33f
|
|
4
|
+
data.tar.gz: 4cb04512260cb399cd45849b12f7a002c9548dd3e0e4e201e497b0e97b2ff8e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f3ce3d82d8d56569140b5a7852e59bc4022626189967842ba565bba5d752ccd8f280118e4109e252a07a50f7ec64e1bf5edd020c1b559bb4fc944d322267a1a
|
|
7
|
+
data.tar.gz: e07d68cf1df0ed74d9d0b0c71288787bc4fa39072ed98ab9844fb592117d945ce08cd09af8b255b15cc545e2a8061bdb10782e41baa39c0faedf709cca330ad0
|
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.49
|
|
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.49.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.49.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.49'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1196,6 +1196,7 @@ Not every change is committed to every SDK.
|
|
|
1196
1196
|
|
|
1197
1197
|
| Version | Date | Comments |
|
|
1198
1198
|
| --: | :-: | --- |
|
|
1199
|
+
| 3.10.49 | 09/22/2022 | digital item mgmt testing |
|
|
1199
1200
|
| 3.10.48 | 09/22/2022 | testing digital file mgmt calls |
|
|
1200
1201
|
| 3.10.47 | 09/19/2022 | conversations pagination |
|
|
1201
1202
|
| 3.10.46 | 09/13/2022 | storefront comms - postcard tracking |
|
data/docs/ItemApi.md
CHANGED
|
@@ -119,7 +119,7 @@ nil (empty response body)
|
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
# **get_digital_item**
|
|
122
|
-
> ItemDigitalItemResponse get_digital_item(digital_item_oid
|
|
122
|
+
> ItemDigitalItemResponse get_digital_item(digital_item_oid)
|
|
123
123
|
|
|
124
124
|
Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
|
|
125
125
|
|
|
@@ -137,18 +137,10 @@ api_instance = UltracartClient::ItemApi.new_using_api_key(simple_key, false, fal
|
|
|
137
137
|
|
|
138
138
|
digital_item_oid = 56 # Integer | The digital item oid to retrieve.
|
|
139
139
|
|
|
140
|
-
opts = {
|
|
141
|
-
_limit: 100, # Integer | The maximum number of records to return on this one API call. (Default 100, Max 2000)
|
|
142
|
-
_offset: 0, # Integer | Pagination of the record set. Offset is a zero based index.
|
|
143
|
-
_since: '_since_example', # String | Fetch items that have been created/modified since this date/time.
|
|
144
|
-
_sort: '_sort_example', # String | The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
|
|
145
|
-
_expand: '_expand_example', # String | The object expansion to perform on the result. See documentation for examples
|
|
146
|
-
_placeholders: true # BOOLEAN | Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
|
|
147
|
-
}
|
|
148
140
|
|
|
149
141
|
begin
|
|
150
142
|
#Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
|
|
151
|
-
result = api_instance.get_digital_item(digital_item_oid
|
|
143
|
+
result = api_instance.get_digital_item(digital_item_oid)
|
|
152
144
|
p result
|
|
153
145
|
rescue UltracartClient::ApiError => e
|
|
154
146
|
puts "Exception when calling ItemApi->get_digital_item: #{e}"
|
|
@@ -160,12 +152,6 @@ end
|
|
|
160
152
|
Name | Type | Description | Notes
|
|
161
153
|
------------- | ------------- | ------------- | -------------
|
|
162
154
|
**digital_item_oid** | **Integer**| The digital item oid to retrieve. |
|
|
163
|
-
**_limit** | **Integer**| The maximum number of records to return on this one API call. (Default 100, Max 2000) | [optional] [default to 100]
|
|
164
|
-
**_offset** | **Integer**| Pagination of the record set. Offset is a zero based index. | [optional] [default to 0]
|
|
165
|
-
**_since** | **String**| Fetch items that have been created/modified since this date/time. | [optional]
|
|
166
|
-
**_sort** | **String**| The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional]
|
|
167
|
-
**_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
|
|
168
|
-
**_placeholders** | **BOOLEAN**| Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API. | [optional]
|
|
169
155
|
|
|
170
156
|
### Return type
|
|
171
157
|
|
|
@@ -144,12 +144,6 @@ module UltracartClient
|
|
|
144
144
|
# Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
|
|
145
145
|
# @param digital_item_oid The digital item oid to retrieve.
|
|
146
146
|
# @param [Hash] opts the optional parameters
|
|
147
|
-
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Default 100, Max 2000) (default to 100)
|
|
148
|
-
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
|
|
149
|
-
# @option opts [String] :_since Fetch items that have been created/modified since this date/time.
|
|
150
|
-
# @option opts [String] :_sort The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
|
|
151
|
-
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
|
152
|
-
# @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
|
|
153
147
|
# @return [ItemDigitalItemResponse]
|
|
154
148
|
def get_digital_item(digital_item_oid, opts = {})
|
|
155
149
|
data, _status_code, _headers = get_digital_item_with_http_info(digital_item_oid, opts)
|
|
@@ -160,12 +154,6 @@ module UltracartClient
|
|
|
160
154
|
# Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
|
|
161
155
|
# @param digital_item_oid The digital item oid to retrieve.
|
|
162
156
|
# @param [Hash] opts the optional parameters
|
|
163
|
-
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Default 100, Max 2000)
|
|
164
|
-
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index.
|
|
165
|
-
# @option opts [String] :_since Fetch items that have been created/modified since this date/time.
|
|
166
|
-
# @option opts [String] :_sort The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
|
|
167
|
-
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
|
168
|
-
# @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
|
|
169
157
|
# @return [Array<(ItemDigitalItemResponse, Fixnum, Hash)>] ItemDigitalItemResponse data, response status code and response headers
|
|
170
158
|
def get_digital_item_with_http_info(digital_item_oid, opts = {})
|
|
171
159
|
if @api_client.config.debugging
|
|
@@ -180,12 +168,6 @@ module UltracartClient
|
|
|
180
168
|
|
|
181
169
|
# query parameters
|
|
182
170
|
query_params = {}
|
|
183
|
-
query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
|
|
184
|
-
query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
|
|
185
|
-
query_params[:'_since'] = opts[:'_since'] if !opts[:'_since'].nil?
|
|
186
|
-
query_params[:'_sort'] = opts[:'_sort'] if !opts[:'_sort'].nil?
|
|
187
|
-
query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
|
|
188
|
-
query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
|
|
189
171
|
|
|
190
172
|
# header parameters
|
|
191
173
|
header_params = {}
|