ultracart_api 4.0.65.rc → 4.0.66.rc
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 +4 -18
- 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: a5b5866fdb4743492a6768ddb77e914aa66b2852a2362620134a0011f1020256
|
|
4
|
+
data.tar.gz: a3da7152e142ecc93dcede347add472eb7ae074ac72ad9b4d3f1bc8a163c3411
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 41a4b01ba5ea040cdea0124003fe38cb346df4b6687a4654fbf9905999f9f01ff3f9fad7188d9c063c3d8b0425f7bd78c89112568a2fb9a6beac249de6f09226
|
|
7
|
+
data.tar.gz: be5512567f46d8a5716bf465787ea809e056bdea19cae31a40fb24bfa6061989714603e7df603deb3f0e00c3f5574c769f93409195d58595b77621c44d0028e1
|
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.66.rc
|
|
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.66.rc.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.66.rc.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.66.rc'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -1205,6 +1205,7 @@ Not every change is committed to every SDK.
|
|
|
1205
1205
|
|
|
1206
1206
|
| Version | Date | Comments |
|
|
1207
1207
|
| --: | :-: | --- |
|
|
1208
|
+
| 4.0.66-RC | 09/22/2022 | digital item mgmt testing |
|
|
1208
1209
|
| 4.0.65-RC | 09/22/2022 | testing digital file mgmt calls |
|
|
1209
1210
|
| 4.0.64-RC | 09/19/2022 | conversations pagination |
|
|
1210
1211
|
| 4.0.63-RC | 09/13/2022 | storefront comms - postcard tracking |
|
data/docs/ItemApi.md
CHANGED
|
@@ -162,7 +162,7 @@ nil (empty response body)
|
|
|
162
162
|
|
|
163
163
|
## get_digital_item
|
|
164
164
|
|
|
165
|
-
> <ItemDigitalItemResponse> get_digital_item(digital_item_oid
|
|
165
|
+
> <ItemDigitalItemResponse> get_digital_item(digital_item_oid)
|
|
166
166
|
|
|
167
167
|
Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
|
|
168
168
|
|
|
@@ -183,18 +183,10 @@ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/
|
|
|
183
183
|
|
|
184
184
|
api = UltracartClient::ItemApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
|
|
185
185
|
digital_item_oid = 56 # Integer | The digital item oid to retrieve.
|
|
186
|
-
opts = {
|
|
187
|
-
_limit: 56, # Integer | The maximum number of records to return on this one API call. (Default 100, Max 2000)
|
|
188
|
-
_offset: 56, # Integer | Pagination of the record set. Offset is a zero based index.
|
|
189
|
-
_since: '_since_example', # String | Fetch items that have been created/modified since this date/time.
|
|
190
|
-
_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.
|
|
191
|
-
_expand: '_expand_example', # String | The object expansion to perform on the result. See documentation for examples
|
|
192
|
-
_placeholders: true # Boolean | Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
|
|
193
|
-
}
|
|
194
186
|
|
|
195
187
|
begin
|
|
196
188
|
# Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
|
|
197
|
-
result = api_instance.get_digital_item(digital_item_oid
|
|
189
|
+
result = api_instance.get_digital_item(digital_item_oid)
|
|
198
190
|
p result
|
|
199
191
|
rescue UltracartClient::ApiError => e
|
|
200
192
|
puts "Error when calling ItemApi->get_digital_item: #{e}"
|
|
@@ -205,12 +197,12 @@ end
|
|
|
205
197
|
|
|
206
198
|
This returns an Array which contains the response data, status code and headers.
|
|
207
199
|
|
|
208
|
-
> <Array(<ItemDigitalItemResponse>, Integer, Hash)> get_digital_item_with_http_info(digital_item_oid
|
|
200
|
+
> <Array(<ItemDigitalItemResponse>, Integer, Hash)> get_digital_item_with_http_info(digital_item_oid)
|
|
209
201
|
|
|
210
202
|
```ruby
|
|
211
203
|
begin
|
|
212
204
|
# Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
|
|
213
|
-
data, status_code, headers = api_instance.get_digital_item_with_http_info(digital_item_oid
|
|
205
|
+
data, status_code, headers = api_instance.get_digital_item_with_http_info(digital_item_oid)
|
|
214
206
|
p status_code # => 2xx
|
|
215
207
|
p headers # => { ... }
|
|
216
208
|
p data # => <ItemDigitalItemResponse>
|
|
@@ -224,12 +216,6 @@ end
|
|
|
224
216
|
| Name | Type | Description | Notes |
|
|
225
217
|
| ---- | ---- | ----------- | ----- |
|
|
226
218
|
| **digital_item_oid** | **Integer** | The digital item oid to retrieve. | |
|
|
227
|
-
| **_limit** | **Integer** | The maximum number of records to return on this one API call. (Default 100, Max 2000) | [optional][default to 100] |
|
|
228
|
-
| **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
|
|
229
|
-
| **_since** | **String** | Fetch items that have been created/modified since this date/time. | [optional] |
|
|
230
|
-
| **_sort** | **String** | The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional] |
|
|
231
|
-
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
|
232
|
-
| **_placeholders** | **Boolean** | Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API. | [optional] |
|
|
233
219
|
|
|
234
220
|
### Return type
|
|
235
221
|
|
|
@@ -164,12 +164,6 @@ module UltracartClient
|
|
|
164
164
|
# 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.
|
|
165
165
|
# @param digital_item_oid [Integer] The digital item oid to retrieve.
|
|
166
166
|
# @param [Hash] opts the optional parameters
|
|
167
|
-
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Default 100, Max 2000) (default to 100)
|
|
168
|
-
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
|
|
169
|
-
# @option opts [String] :_since Fetch items that have been created/modified since this date/time.
|
|
170
|
-
# @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.
|
|
171
|
-
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
|
172
|
-
# @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
|
|
173
167
|
# @return [ItemDigitalItemResponse]
|
|
174
168
|
def get_digital_item(digital_item_oid, opts = {})
|
|
175
169
|
data, _status_code, _headers = get_digital_item_with_http_info(digital_item_oid, opts)
|
|
@@ -180,12 +174,6 @@ module UltracartClient
|
|
|
180
174
|
# 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.
|
|
181
175
|
# @param digital_item_oid [Integer] The digital item oid to retrieve.
|
|
182
176
|
# @param [Hash] opts the optional parameters
|
|
183
|
-
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Default 100, Max 2000) (default to 100)
|
|
184
|
-
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
|
|
185
|
-
# @option opts [String] :_since Fetch items that have been created/modified since this date/time.
|
|
186
|
-
# @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.
|
|
187
|
-
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
|
188
|
-
# @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
|
|
189
177
|
# @return [Array<(ItemDigitalItemResponse, Integer, Hash)>] ItemDigitalItemResponse data, response status code and response headers
|
|
190
178
|
def get_digital_item_with_http_info(digital_item_oid, opts = {})
|
|
191
179
|
if @api_client.config.debugging
|
|
@@ -200,12 +188,6 @@ module UltracartClient
|
|
|
200
188
|
|
|
201
189
|
# query parameters
|
|
202
190
|
query_params = opts[:query_params] || {}
|
|
203
|
-
query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
|
|
204
|
-
query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
|
|
205
|
-
query_params[:'_since'] = opts[:'_since'] if !opts[:'_since'].nil?
|
|
206
|
-
query_params[:'_sort'] = opts[:'_sort'] if !opts[:'_sort'].nil?
|
|
207
|
-
query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
|
|
208
|
-
query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
|
|
209
191
|
|
|
210
192
|
# header parameters
|
|
211
193
|
header_params = opts[:header_params] || {}
|