ultracart_api 3.10.142 → 3.10.144
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/OrderApi.md +8 -2
- data/docs/OrderShipping.md +1 -0
- data/docs/ReportDataSet.md +1 -0
- data/docs/ReportExecuteQueriesRequest.md +1 -0
- data/lib/ultracart_api/api/order_api.rb +6 -0
- data/lib/ultracart_api/models/order_shipping.rb +11 -1
- data/lib/ultracart_api/models/report_data_set.rb +11 -1
- data/lib/ultracart_api/models/report_execute_queries_request.rb +11 -1
- 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: 39c91f3ec6d30a93f663f0997ee62f848084921310f2d5eb0b09148ab9354734
|
4
|
+
data.tar.gz: e81d1627f998da6ca6ab68a3487a2af4669863cf70fb1fc501223a62128bf6b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbac4795105adf91ef40b69f671e38dc3416d8766171ca72ac5ad9030849ed11089ba566b6339250dc56388ce051317fc3e088ceb5acb97031c41dad15c1adfa
|
7
|
+
data.tar.gz: 35b34271cc9b26e8ef39eafd176d121bc49787d7084d49ffe5ebeaaa792b571e9dd6f35958a28bb19a8be5330a6ae63eea68c2a7b9d7a37326ba0881a40462b4
|
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.144
|
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.144.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.144.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.144'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1356,6 +1356,8 @@ Not every change is committed to every SDK.
|
|
1356
1356
|
|
1357
1357
|
| Version | Date | Comments |
|
1358
1358
|
| --: | :-: | --- |
|
1359
|
+
| 3.10.144 | 06/15/2023 | add pickup_dts to order.shipping object |
|
1360
|
+
| 3.10.143 | 06/14/2023 | dw bi: add request_dts on the execute queries request and report data set objects |
|
1359
1361
|
| 3.10.142 | 06/09/2023 | distribution center pickup times |
|
1360
1362
|
| 3.10.141 | 06/08/2023 | customer profile qb tax exempt reason code field |
|
1361
1363
|
| 3.10.140 | 06/06/2023 | auto order add_ons |
|
data/docs/OrderApi.md
CHANGED
@@ -86,7 +86,7 @@ Name | Type | Description | Notes
|
|
86
86
|
|
87
87
|
|
88
88
|
# **cancel_order**
|
89
|
-
> BaseResponse cancel_order(order_id)
|
89
|
+
> BaseResponse cancel_order(order_id, opts)
|
90
90
|
|
91
91
|
Cancel an order
|
92
92
|
|
@@ -104,10 +104,14 @@ api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, fa
|
|
104
104
|
|
105
105
|
order_id = 'order_id_example' # String | The order id to cancel.
|
106
106
|
|
107
|
+
opts = {
|
108
|
+
lock_self_ship_orders: true, # BOOLEAN | Flag to prevent a order shipping during a refund process
|
109
|
+
skip_refund_and_hold: true # BOOLEAN | Skip refund and move order to Held Orders department
|
110
|
+
}
|
107
111
|
|
108
112
|
begin
|
109
113
|
#Cancel an order
|
110
|
-
result = api_instance.cancel_order(order_id)
|
114
|
+
result = api_instance.cancel_order(order_id, opts)
|
111
115
|
p result
|
112
116
|
rescue UltracartClient::ApiError => e
|
113
117
|
puts "Exception when calling OrderApi->cancel_order: #{e}"
|
@@ -119,6 +123,8 @@ end
|
|
119
123
|
Name | Type | Description | Notes
|
120
124
|
------------- | ------------- | ------------- | -------------
|
121
125
|
**order_id** | **String**| The order id to cancel. |
|
126
|
+
**lock_self_ship_orders** | **BOOLEAN**| Flag to prevent a order shipping during a refund process | [optional]
|
127
|
+
**skip_refund_and_hold** | **BOOLEAN**| Skip refund and move order to Held Orders department | [optional]
|
122
128
|
|
123
129
|
### Return type
|
124
130
|
|
data/docs/OrderShipping.md
CHANGED
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**least_cost_route** | **BOOLEAN** | If true, instructs UltraCart to apply the cheapest shipping method to this order. Used only for channel partner order inserts. | [optional]
|
19
19
|
**least_cost_route_shipping_methods** | **Array<String>** | List of shipping methods to consider if least_code_route is true. Used only for channel parter order inserts. | [optional]
|
20
20
|
**lift_gate** | **BOOLEAN** | Lift gate requested (LTL shipping methods only) | [optional]
|
21
|
+
**pickup_dts** | **String** | Date/time the order should be picked up locally. | [optional]
|
21
22
|
**postal_code** | **String** | Postal code | [optional]
|
22
23
|
**rma** | **String** | RMA number | [optional]
|
23
24
|
**ship_on_date** | **String** | Date the customer is requesting that the order ship on. Typically used for perishable product delivery. | [optional]
|
data/docs/ReportDataSet.md
CHANGED
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**merchant_id** | **String** | Merchant that owns this data set | [optional]
|
16
16
|
**page_count** | **Integer** | The total number of pages in the result set | [optional]
|
17
17
|
**page_size** | **Integer** | The size of the pages | [optional]
|
18
|
+
**request_dts** | **String** | Date/Time of the client submitted the request. Can be used to resolve out of order query completion results | [optional]
|
18
19
|
**schema** | [**Array<ReportDataSetSchema>**](ReportDataSetSchema.md) | The schema associated with the data set. | [optional]
|
19
20
|
**security_level** | **String** | Security level this dataset was read from. | [optional]
|
20
21
|
**timezone** | **String** | | [optional]
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**default_project_id** | **String** | | [optional]
|
10
10
|
**merchant_id** | **String** | | [optional]
|
11
11
|
**queries** | [**Array<ReportDataSetQuery>**](ReportDataSetQuery.md) | An array of queries that we want the lambda function to execute. | [optional]
|
12
|
+
**request_dts** | **String** | Date/Time of the client submitted the request. Can be used to resolve out of order query completion results | [optional]
|
12
13
|
**security_level** | **String** | Security level to execute report under | [optional]
|
13
14
|
|
14
15
|
|
@@ -97,6 +97,8 @@ module UltracartClient
|
|
97
97
|
# Cancel an order on the UltraCart account. If the success flag is false, then consult the error message for why it failed.
|
98
98
|
# @param order_id The order id to cancel.
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
|
+
# @option opts [BOOLEAN] :lock_self_ship_orders Flag to prevent a order shipping during a refund process
|
101
|
+
# @option opts [BOOLEAN] :skip_refund_and_hold Skip refund and move order to Held Orders department
|
100
102
|
# @return [BaseResponse]
|
101
103
|
def cancel_order(order_id, opts = {})
|
102
104
|
data, _status_code, _headers = cancel_order_with_http_info(order_id, opts)
|
@@ -107,6 +109,8 @@ module UltracartClient
|
|
107
109
|
# Cancel an order on the UltraCart account. If the success flag is false, then consult the error message for why it failed.
|
108
110
|
# @param order_id The order id to cancel.
|
109
111
|
# @param [Hash] opts the optional parameters
|
112
|
+
# @option opts [BOOLEAN] :lock_self_ship_orders Flag to prevent a order shipping during a refund process
|
113
|
+
# @option opts [BOOLEAN] :skip_refund_and_hold Skip refund and move order to Held Orders department
|
110
114
|
# @return [Array<(BaseResponse, Fixnum, Hash)>] BaseResponse data, response status code and response headers
|
111
115
|
def cancel_order_with_http_info(order_id, opts = {})
|
112
116
|
if @api_client.config.debugging
|
@@ -121,6 +125,8 @@ module UltracartClient
|
|
121
125
|
|
122
126
|
# query parameters
|
123
127
|
query_params = {}
|
128
|
+
query_params[:'lock_self_ship_orders'] = opts[:'lock_self_ship_orders'] if !opts[:'lock_self_ship_orders'].nil?
|
129
|
+
query_params[:'skip_refund_and_hold'] = opts[:'skip_refund_and_hold'] if !opts[:'skip_refund_and_hold'].nil?
|
124
130
|
|
125
131
|
# header parameters
|
126
132
|
header_params = {}
|
@@ -59,6 +59,9 @@ module UltracartClient
|
|
59
59
|
# Lift gate requested (LTL shipping methods only)
|
60
60
|
attr_accessor :lift_gate
|
61
61
|
|
62
|
+
# Date/time the order should be picked up locally.
|
63
|
+
attr_accessor :pickup_dts
|
64
|
+
|
62
65
|
# Postal code
|
63
66
|
attr_accessor :postal_code
|
64
67
|
|
@@ -121,6 +124,7 @@ module UltracartClient
|
|
121
124
|
:'least_cost_route' => :'least_cost_route',
|
122
125
|
:'least_cost_route_shipping_methods' => :'least_cost_route_shipping_methods',
|
123
126
|
:'lift_gate' => :'lift_gate',
|
127
|
+
:'pickup_dts' => :'pickup_dts',
|
124
128
|
:'postal_code' => :'postal_code',
|
125
129
|
:'rma' => :'rma',
|
126
130
|
:'ship_on_date' => :'ship_on_date',
|
@@ -157,6 +161,7 @@ module UltracartClient
|
|
157
161
|
:'least_cost_route' => :'BOOLEAN',
|
158
162
|
:'least_cost_route_shipping_methods' => :'Array<String>',
|
159
163
|
:'lift_gate' => :'BOOLEAN',
|
164
|
+
:'pickup_dts' => :'String',
|
160
165
|
:'postal_code' => :'String',
|
161
166
|
:'rma' => :'String',
|
162
167
|
:'ship_on_date' => :'String',
|
@@ -245,6 +250,10 @@ module UltracartClient
|
|
245
250
|
self.lift_gate = attributes[:'lift_gate']
|
246
251
|
end
|
247
252
|
|
253
|
+
if attributes.has_key?(:'pickup_dts')
|
254
|
+
self.pickup_dts = attributes[:'pickup_dts']
|
255
|
+
end
|
256
|
+
|
248
257
|
if attributes.has_key?(:'postal_code')
|
249
258
|
self.postal_code = attributes[:'postal_code']
|
250
259
|
end
|
@@ -598,6 +607,7 @@ module UltracartClient
|
|
598
607
|
least_cost_route == o.least_cost_route &&
|
599
608
|
least_cost_route_shipping_methods == o.least_cost_route_shipping_methods &&
|
600
609
|
lift_gate == o.lift_gate &&
|
610
|
+
pickup_dts == o.pickup_dts &&
|
601
611
|
postal_code == o.postal_code &&
|
602
612
|
rma == o.rma &&
|
603
613
|
ship_on_date == o.ship_on_date &&
|
@@ -624,7 +634,7 @@ module UltracartClient
|
|
624
634
|
# Calculates hash code according to all attributes.
|
625
635
|
# @return [Fixnum] Hash code
|
626
636
|
def hash
|
627
|
-
[address1, address2, city, company, country_code, day_phone, day_phone_e164, delivery_date, evening_phone, evening_phone_e164, first_name, last_name, least_cost_route, least_cost_route_shipping_methods, lift_gate, postal_code, rma, ship_on_date, ship_to_residential, shipping_3rd_party_account_number, shipping_date, shipping_department_status, shipping_method, shipping_method_accounting_code, special_instructions, state_region, title, tracking_number_details, tracking_numbers, weight].hash
|
637
|
+
[address1, address2, city, company, country_code, day_phone, day_phone_e164, delivery_date, evening_phone, evening_phone_e164, first_name, last_name, least_cost_route, least_cost_route_shipping_methods, lift_gate, pickup_dts, postal_code, rma, ship_on_date, ship_to_residential, shipping_3rd_party_account_number, shipping_date, shipping_department_status, shipping_method, shipping_method_accounting_code, special_instructions, state_region, title, tracking_number_details, tracking_numbers, weight].hash
|
628
638
|
end
|
629
639
|
|
630
640
|
# Builds the object from hash
|
@@ -49,6 +49,9 @@ module UltracartClient
|
|
49
49
|
# The size of the pages
|
50
50
|
attr_accessor :page_size
|
51
51
|
|
52
|
+
# Date/Time of the client submitted the request. Can be used to resolve out of order query completion results
|
53
|
+
attr_accessor :request_dts
|
54
|
+
|
52
55
|
# The schema associated with the data set.
|
53
56
|
attr_accessor :schema
|
54
57
|
|
@@ -97,6 +100,7 @@ module UltracartClient
|
|
97
100
|
:'merchant_id' => :'merchant_id',
|
98
101
|
:'page_count' => :'page_count',
|
99
102
|
:'page_size' => :'page_size',
|
103
|
+
:'request_dts' => :'request_dts',
|
100
104
|
:'schema' => :'schema',
|
101
105
|
:'security_level' => :'security_level',
|
102
106
|
:'timezone' => :'timezone',
|
@@ -119,6 +123,7 @@ module UltracartClient
|
|
119
123
|
:'merchant_id' => :'String',
|
120
124
|
:'page_count' => :'Integer',
|
121
125
|
:'page_size' => :'Integer',
|
126
|
+
:'request_dts' => :'String',
|
122
127
|
:'schema' => :'Array<ReportDataSetSchema>',
|
123
128
|
:'security_level' => :'String',
|
124
129
|
:'timezone' => :'String',
|
@@ -184,6 +189,10 @@ module UltracartClient
|
|
184
189
|
self.page_size = attributes[:'page_size']
|
185
190
|
end
|
186
191
|
|
192
|
+
if attributes.has_key?(:'request_dts')
|
193
|
+
self.request_dts = attributes[:'request_dts']
|
194
|
+
end
|
195
|
+
|
187
196
|
if attributes.has_key?(:'schema')
|
188
197
|
if (value = attributes[:'schema']).is_a?(Array)
|
189
198
|
self.schema = value
|
@@ -245,6 +254,7 @@ module UltracartClient
|
|
245
254
|
merchant_id == o.merchant_id &&
|
246
255
|
page_count == o.page_count &&
|
247
256
|
page_size == o.page_size &&
|
257
|
+
request_dts == o.request_dts &&
|
248
258
|
schema == o.schema &&
|
249
259
|
security_level == o.security_level &&
|
250
260
|
timezone == o.timezone &&
|
@@ -260,7 +270,7 @@ module UltracartClient
|
|
260
270
|
# Calculates hash code according to all attributes.
|
261
271
|
# @return [Fixnum] Hash code
|
262
272
|
def hash
|
263
|
-
[data_set_query_uuid, data_set_uuid, destination_table_id, error_message, executed_sql, for_object_id, for_object_type, initial_pages, max_results, merchant_id, page_count, page_size, schema, security_level, timezone, user_data].hash
|
273
|
+
[data_set_query_uuid, data_set_uuid, destination_table_id, error_message, executed_sql, for_object_id, for_object_type, initial_pages, max_results, merchant_id, page_count, page_size, request_dts, schema, security_level, timezone, user_data].hash
|
264
274
|
end
|
265
275
|
|
266
276
|
# Builds the object from hash
|
@@ -29,6 +29,9 @@ module UltracartClient
|
|
29
29
|
# An array of queries that we want the lambda function to execute.
|
30
30
|
attr_accessor :queries
|
31
31
|
|
32
|
+
# Date/Time of the client submitted the request. Can be used to resolve out of order query completion results
|
33
|
+
attr_accessor :request_dts
|
34
|
+
|
32
35
|
# Security level to execute report under
|
33
36
|
attr_accessor :security_level
|
34
37
|
|
@@ -63,6 +66,7 @@ module UltracartClient
|
|
63
66
|
:'default_project_id' => :'default_project_id',
|
64
67
|
:'merchant_id' => :'merchant_id',
|
65
68
|
:'queries' => :'queries',
|
69
|
+
:'request_dts' => :'request_dts',
|
66
70
|
:'security_level' => :'security_level'
|
67
71
|
}
|
68
72
|
end
|
@@ -76,6 +80,7 @@ module UltracartClient
|
|
76
80
|
:'default_project_id' => :'String',
|
77
81
|
:'merchant_id' => :'String',
|
78
82
|
:'queries' => :'Array<ReportDataSetQuery>',
|
83
|
+
:'request_dts' => :'String',
|
79
84
|
:'security_level' => :'String'
|
80
85
|
}
|
81
86
|
end
|
@@ -114,6 +119,10 @@ module UltracartClient
|
|
114
119
|
end
|
115
120
|
end
|
116
121
|
|
122
|
+
if attributes.has_key?(:'request_dts')
|
123
|
+
self.request_dts = attributes[:'request_dts']
|
124
|
+
end
|
125
|
+
|
117
126
|
if attributes.has_key?(:'security_level')
|
118
127
|
self.security_level = attributes[:'security_level']
|
119
128
|
end
|
@@ -155,6 +164,7 @@ module UltracartClient
|
|
155
164
|
default_project_id == o.default_project_id &&
|
156
165
|
merchant_id == o.merchant_id &&
|
157
166
|
queries == o.queries &&
|
167
|
+
request_dts == o.request_dts &&
|
158
168
|
security_level == o.security_level
|
159
169
|
end
|
160
170
|
|
@@ -167,7 +177,7 @@ module UltracartClient
|
|
167
177
|
# Calculates hash code according to all attributes.
|
168
178
|
# @return [Fixnum] Hash code
|
169
179
|
def hash
|
170
|
-
[client_uuid, connection_id, default_dataset_id, default_project_id, merchant_id, queries, security_level].hash
|
180
|
+
[client_uuid, connection_id, default_dataset_id, default_project_id, merchant_id, queries, request_dts, security_level].hash
|
171
181
|
end
|
172
182
|
|
173
183
|
# 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: 3.10.
|
4
|
+
version: 3.10.144
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|