ultracart_api 3.10.224 → 3.10.225
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 +7 -6
- data/docs/FulfillmentApi.md +3 -3
- data/docs/ItemPaymentProcessing.md +1 -0
- data/docs/OauthApi.md +2 -2
- data/docs/WebhookApi.md +2 -2
- data/docs/WebhookReflow.md +9 -0
- data/docs/{WebhookSampleRequestResponse.md → WebhookReflowResponse.md} +2 -2
- data/lib/ultracart_api/api/fulfillment_api.rb +5 -5
- data/lib/ultracart_api/api/oauth_api.rb +2 -2
- data/lib/ultracart_api/api/webhook_api.rb +3 -3
- data/lib/ultracart_api/models/item_payment_processing.rb +11 -1
- data/lib/ultracart_api/models/{webhook_sample_request.rb → webhook_reflow.rb} +14 -38
- data/lib/ultracart_api/models/{webhook_sample_request_response.rb → webhook_reflow_response.rb} +14 -14
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +2 -2
- metadata +6 -6
- data/docs/WebhookSampleRequest.md +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bb966b86d46878c1462183bde9968d5203b230a599d3f3e891d861a2adcfa22
|
4
|
+
data.tar.gz: 54bb8441772708dd2ed51a71e0409868459c360cce184633500a920b4bc3b794
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 625a8b9ae4dd61218a4c35945c47af2d2f0abf518205db080e4e562e25caf409c3b5c4f6772a09efd04a10e9014e3e620e3dedec0b6a2e91c5f78b7088b21b8e
|
7
|
+
data.tar.gz: 1e4d7b54c69b01cb1ebbe58e44d69a685057a38601a0e7f507f8031bae7a258edf87ed1cb3a1905e467eb6238e4f2cccff9161862add335de5883b28f3359e91
|
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.225
|
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.225.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.225.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.225'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1421,9 +1421,9 @@ Class | Method | HTTP request | Description
|
|
1421
1421
|
- [UltracartClient::WebhookLogResponse](docs/WebhookLogResponse.md)
|
1422
1422
|
- [UltracartClient::WebhookLogSummariesResponse](docs/WebhookLogSummariesResponse.md)
|
1423
1423
|
- [UltracartClient::WebhookLogSummary](docs/WebhookLogSummary.md)
|
1424
|
+
- [UltracartClient::WebhookReflow](docs/WebhookReflow.md)
|
1425
|
+
- [UltracartClient::WebhookReflowResponse](docs/WebhookReflowResponse.md)
|
1424
1426
|
- [UltracartClient::WebhookResponse](docs/WebhookResponse.md)
|
1425
|
-
- [UltracartClient::WebhookSampleRequest](docs/WebhookSampleRequest.md)
|
1426
|
-
- [UltracartClient::WebhookSampleRequestResponse](docs/WebhookSampleRequestResponse.md)
|
1427
1427
|
- [UltracartClient::WebhooksResponse](docs/WebhooksResponse.md)
|
1428
1428
|
- [UltracartClient::Weight](docs/Weight.md)
|
1429
1429
|
- [UltracartClient::WorkflowAgentAuth](docs/WorkflowAgentAuth.md)
|
@@ -1516,6 +1516,7 @@ Not every change is committed to every SDK.
|
|
1516
1516
|
|
1517
1517
|
| Version | Date | Comments |
|
1518
1518
|
| --: | :-: | --- |
|
1519
|
+
| 3.10.225 | 02/18/2025 | small bug fixes for incorrect return types on several methods |
|
1519
1520
|
| 3.10.224 | 02/06/2025 | added storefront_host_name to channel partner order object |
|
1520
1521
|
| 3.10.223 | 01/09/2025 | fix for broken 4.0.39 due to incorrect query sig on getCustomers |
|
1521
1522
|
| 3.10.222 | 01/09/2025 | added emails parameter to customer queries, refundOrder added to Channel partner |
|
data/docs/FulfillmentApi.md
CHANGED
@@ -65,7 +65,7 @@ nil (empty response body)
|
|
65
65
|
|
66
66
|
|
67
67
|
# **generate_packing_slip**
|
68
|
-
>
|
68
|
+
> OrderPackingSlipResponse generate_packing_slip(distribution_center_code, order_id)
|
69
69
|
|
70
70
|
Generate a packing slip for this order for the given distribution center.
|
71
71
|
|
@@ -104,7 +104,7 @@ Name | Type | Description | Notes
|
|
104
104
|
|
105
105
|
### Return type
|
106
106
|
|
107
|
-
[**
|
107
|
+
[**OrderPackingSlipResponse**](OrderPackingSlipResponse.md)
|
108
108
|
|
109
109
|
### Authorization
|
110
110
|
|
@@ -122,7 +122,7 @@ Name | Type | Description | Notes
|
|
122
122
|
|
123
123
|
Retrieve orders queued up for this distribution center.
|
124
124
|
|
125
|
-
Retrieves up to 100 orders that are queued up in this distribution center. You must acknowledge them before additional new orders will be returned. There is NO record chunking. You'll get the same 100 records again and again until you acknowledge orders. The orders that are returned contain only items for this distribution center and are by default completely expanded with billing,
|
125
|
+
Retrieves up to 100 orders that are queued up in this distribution center. You must acknowledge them before additional new orders will be returned. There is NO record chunking. You'll get the same 100 records again and again until you acknowledge orders. The orders that are returned contain only items for this distribution center and are by default completely expanded with billing, channel_partner, checkout, coupons, customer_profile, edi, gift, gift_certificate, internal, items, payment, shipping, summary, taxes.
|
126
126
|
|
127
127
|
### Example
|
128
128
|
```ruby
|
@@ -4,6 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**block_prepaid** | **BOOLEAN** | True if prepaid cards should be blocked from buying this item | [optional]
|
7
|
+
**block_refunds** | **BOOLEAN** | True if this item should block any refund attempts | [optional]
|
7
8
|
**credit_card_transaction_type** | **String** | Credit card transaction type | [optional]
|
8
9
|
**no_realtime_charge** | **BOOLEAN** | True if no real-time charge should be performed on this item. | [optional]
|
9
10
|
**payment_method_validity** | **Array<String>** | Payment method validity | [optional]
|
data/docs/OauthApi.md
CHANGED
@@ -31,7 +31,7 @@ grant_type = 'grant_type_example' # String | Type of grant
|
|
31
31
|
|
32
32
|
opts = {
|
33
33
|
code: 'code_example', # String | Authorization code received back from the browser redirect
|
34
|
-
redirect_uri: 'redirect_uri_example', # String | The URI that you redirect the browser to
|
34
|
+
redirect_uri: 'redirect_uri_example', # String | The URI that you redirect the browser to start the authorization process
|
35
35
|
refresh_token: 'refresh_token_example' # String | The refresh token received during the original grant_type=authorization_code that can be used to return a new access token
|
36
36
|
}
|
37
37
|
|
@@ -51,7 +51,7 @@ Name | Type | Description | Notes
|
|
51
51
|
**client_id** | **String**| The OAuth application client_id. |
|
52
52
|
**grant_type** | **String**| Type of grant |
|
53
53
|
**code** | **String**| Authorization code received back from the browser redirect | [optional]
|
54
|
-
**redirect_uri** | **String**| The URI that you redirect the browser to
|
54
|
+
**redirect_uri** | **String**| The URI that you redirect the browser to start the authorization process | [optional]
|
55
55
|
**refresh_token** | **String**| The refresh token received during the original grant_type=authorization_code that can be used to return a new access token | [optional]
|
56
56
|
|
57
57
|
### Return type
|
data/docs/WebhookApi.md
CHANGED
@@ -336,7 +336,7 @@ Name | Type | Description | Notes
|
|
336
336
|
|
337
337
|
|
338
338
|
# **resend_event**
|
339
|
-
>
|
339
|
+
> WebhookReflowResponse resend_event(webhook_oid, event_name)
|
340
340
|
|
341
341
|
Resend events to the webhook endpoint.
|
342
342
|
|
@@ -375,7 +375,7 @@ Name | Type | Description | Notes
|
|
375
375
|
|
376
376
|
### Return type
|
377
377
|
|
378
|
-
[**
|
378
|
+
[**WebhookReflowResponse**](WebhookReflowResponse.md)
|
379
379
|
|
380
380
|
### Authorization
|
381
381
|
|
@@ -1,12 +1,12 @@
|
|
1
|
-
# UltracartClient::
|
1
|
+
# UltracartClient::WebhookReflowResponse
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**error** | [**Error**](Error.md) | | [optional]
|
7
7
|
**metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
|
8
|
+
**reflow** | [**WebhookReflow**](WebhookReflow.md) | | [optional]
|
8
9
|
**success** | **BOOLEAN** | Indicates if API call was successful | [optional]
|
9
10
|
**warning** | [**Warning**](Warning.md) | | [optional]
|
10
|
-
**webhook_sample_request** | [**WebhookSampleRequest**](WebhookSampleRequest.md) | | [optional]
|
11
11
|
|
12
12
|
|
@@ -97,7 +97,7 @@ module UltracartClient
|
|
97
97
|
# @param distribution_center_code Distribution center code
|
98
98
|
# @param order_id Order ID
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
|
-
# @return [
|
100
|
+
# @return [OrderPackingSlipResponse]
|
101
101
|
def generate_packing_slip(distribution_center_code, order_id, opts = {})
|
102
102
|
data, _status_code, _headers = generate_packing_slip_with_http_info(distribution_center_code, order_id, opts)
|
103
103
|
data
|
@@ -108,7 +108,7 @@ module UltracartClient
|
|
108
108
|
# @param distribution_center_code Distribution center code
|
109
109
|
# @param order_id Order ID
|
110
110
|
# @param [Hash] opts the optional parameters
|
111
|
-
# @return [Array<(
|
111
|
+
# @return [Array<(OrderPackingSlipResponse, Fixnum, Hash)>] OrderPackingSlipResponse data, response status code and response headers
|
112
112
|
def generate_packing_slip_with_http_info(distribution_center_code, order_id, opts = {})
|
113
113
|
if @api_client.config.debugging
|
114
114
|
@api_client.config.logger.debug 'Calling API: FulfillmentApi.generate_packing_slip ...'
|
@@ -147,14 +147,14 @@ module UltracartClient
|
|
147
147
|
:form_params => form_params,
|
148
148
|
:body => post_body,
|
149
149
|
:auth_names => auth_names,
|
150
|
-
:return_type => '
|
150
|
+
:return_type => 'OrderPackingSlipResponse')
|
151
151
|
if @api_client.config.debugging
|
152
152
|
@api_client.config.logger.debug "API called: FulfillmentApi#generate_packing_slip\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
153
153
|
end
|
154
154
|
return data, status_code, headers
|
155
155
|
end
|
156
156
|
# Retrieve orders queued up for this distribution center.
|
157
|
-
# Retrieves up to 100 orders that are queued up in this distribution center. You must acknowledge them before additional new orders will be returned. There is NO record chunking. You'll get the same 100 records again and again until you acknowledge orders. The orders that are returned contain only items for this distribution center and are by default completely expanded with billing,
|
157
|
+
# Retrieves up to 100 orders that are queued up in this distribution center. You must acknowledge them before additional new orders will be returned. There is NO record chunking. You'll get the same 100 records again and again until you acknowledge orders. The orders that are returned contain only items for this distribution center and are by default completely expanded with billing, channel_partner, checkout, coupons, customer_profile, edi, gift, gift_certificate, internal, items, payment, shipping, summary, taxes.
|
158
158
|
# @param distribution_center_code Distribution center code
|
159
159
|
# @param [Hash] opts the optional parameters
|
160
160
|
# @return [OrdersResponse]
|
@@ -164,7 +164,7 @@ module UltracartClient
|
|
164
164
|
end
|
165
165
|
|
166
166
|
# Retrieve orders queued up for this distribution center.
|
167
|
-
# Retrieves up to 100 orders that are queued up in this distribution center. You must acknowledge them before additional new orders will be returned. There is NO record chunking. You'll get the same 100 records again and again until you acknowledge orders. The orders that are returned contain only items for this distribution center and are by default completely expanded with billing,
|
167
|
+
# Retrieves up to 100 orders that are queued up in this distribution center. You must acknowledge them before additional new orders will be returned. There is NO record chunking. You'll get the same 100 records again and again until you acknowledge orders. The orders that are returned contain only items for this distribution center and are by default completely expanded with billing, channel_partner, checkout, coupons, customer_profile, edi, gift, gift_certificate, internal, items, payment, shipping, summary, taxes.
|
168
168
|
# @param distribution_center_code Distribution center code
|
169
169
|
# @param [Hash] opts the optional parameters
|
170
170
|
# @return [Array<(OrdersResponse, Fixnum, Hash)>] OrdersResponse data, response status code and response headers
|
@@ -38,7 +38,7 @@ module UltracartClient
|
|
38
38
|
# @param grant_type Type of grant
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @option opts [String] :code Authorization code received back from the browser redirect
|
41
|
-
# @option opts [String] :redirect_uri The URI that you redirect the browser to
|
41
|
+
# @option opts [String] :redirect_uri The URI that you redirect the browser to start the authorization process
|
42
42
|
# @option opts [String] :refresh_token The refresh token received during the original grant_type=authorization_code that can be used to return a new access token
|
43
43
|
# @return [OauthTokenResponse]
|
44
44
|
def oauth_access_token(client_id, grant_type, opts = {})
|
@@ -52,7 +52,7 @@ module UltracartClient
|
|
52
52
|
# @param grant_type Type of grant
|
53
53
|
# @param [Hash] opts the optional parameters
|
54
54
|
# @option opts [String] :code Authorization code received back from the browser redirect
|
55
|
-
# @option opts [String] :redirect_uri The URI that you redirect the browser to
|
55
|
+
# @option opts [String] :redirect_uri The URI that you redirect the browser to start the authorization process
|
56
56
|
# @option opts [String] :refresh_token The refresh token received during the original grant_type=authorization_code that can be used to return a new access token
|
57
57
|
# @return [Array<(OauthTokenResponse, Fixnum, Hash)>] OauthTokenResponse data, response status code and response headers
|
58
58
|
def oauth_access_token_with_http_info(client_id, grant_type, opts = {})
|
@@ -390,7 +390,7 @@ module UltracartClient
|
|
390
390
|
# @param webhook_oid The webhook oid that is receiving the reflowed events.
|
391
391
|
# @param event_name The event to reflow.
|
392
392
|
# @param [Hash] opts the optional parameters
|
393
|
-
# @return [
|
393
|
+
# @return [WebhookReflowResponse]
|
394
394
|
def resend_event(webhook_oid, event_name, opts = {})
|
395
395
|
data, _status_code, _headers = resend_event_with_http_info(webhook_oid, event_name, opts)
|
396
396
|
data
|
@@ -401,7 +401,7 @@ module UltracartClient
|
|
401
401
|
# @param webhook_oid The webhook oid that is receiving the reflowed events.
|
402
402
|
# @param event_name The event to reflow.
|
403
403
|
# @param [Hash] opts the optional parameters
|
404
|
-
# @return [Array<(
|
404
|
+
# @return [Array<(WebhookReflowResponse, Fixnum, Hash)>] WebhookReflowResponse data, response status code and response headers
|
405
405
|
def resend_event_with_http_info(webhook_oid, event_name, opts = {})
|
406
406
|
if @api_client.config.debugging
|
407
407
|
@api_client.config.logger.debug 'Calling API: WebhookApi.resend_event ...'
|
@@ -440,7 +440,7 @@ module UltracartClient
|
|
440
440
|
:form_params => form_params,
|
441
441
|
:body => post_body,
|
442
442
|
:auth_names => auth_names,
|
443
|
-
:return_type => '
|
443
|
+
:return_type => 'WebhookReflowResponse')
|
444
444
|
if @api_client.config.debugging
|
445
445
|
@api_client.config.logger.debug "API called: WebhookApi#resend_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
446
446
|
end
|
@@ -17,6 +17,9 @@ module UltracartClient
|
|
17
17
|
# True if prepaid cards should be blocked from buying this item
|
18
18
|
attr_accessor :block_prepaid
|
19
19
|
|
20
|
+
# True if this item should block any refund attempts
|
21
|
+
attr_accessor :block_refunds
|
22
|
+
|
20
23
|
# Credit card transaction type
|
21
24
|
attr_accessor :credit_card_transaction_type
|
22
25
|
|
@@ -33,6 +36,7 @@ module UltracartClient
|
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
35
38
|
:'block_prepaid' => :'block_prepaid',
|
39
|
+
:'block_refunds' => :'block_refunds',
|
36
40
|
:'credit_card_transaction_type' => :'credit_card_transaction_type',
|
37
41
|
:'no_realtime_charge' => :'no_realtime_charge',
|
38
42
|
:'payment_method_validity' => :'payment_method_validity',
|
@@ -44,6 +48,7 @@ module UltracartClient
|
|
44
48
|
def self.swagger_types
|
45
49
|
{
|
46
50
|
:'block_prepaid' => :'BOOLEAN',
|
51
|
+
:'block_refunds' => :'BOOLEAN',
|
47
52
|
:'credit_card_transaction_type' => :'String',
|
48
53
|
:'no_realtime_charge' => :'BOOLEAN',
|
49
54
|
:'payment_method_validity' => :'Array<String>',
|
@@ -63,6 +68,10 @@ module UltracartClient
|
|
63
68
|
self.block_prepaid = attributes[:'block_prepaid']
|
64
69
|
end
|
65
70
|
|
71
|
+
if attributes.has_key?(:'block_refunds')
|
72
|
+
self.block_refunds = attributes[:'block_refunds']
|
73
|
+
end
|
74
|
+
|
66
75
|
if attributes.has_key?(:'credit_card_transaction_type')
|
67
76
|
self.credit_card_transaction_type = attributes[:'credit_card_transaction_type']
|
68
77
|
end
|
@@ -103,6 +112,7 @@ module UltracartClient
|
|
103
112
|
return true if self.equal?(o)
|
104
113
|
self.class == o.class &&
|
105
114
|
block_prepaid == o.block_prepaid &&
|
115
|
+
block_refunds == o.block_refunds &&
|
106
116
|
credit_card_transaction_type == o.credit_card_transaction_type &&
|
107
117
|
no_realtime_charge == o.no_realtime_charge &&
|
108
118
|
payment_method_validity == o.payment_method_validity &&
|
@@ -118,7 +128,7 @@ module UltracartClient
|
|
118
128
|
# Calculates hash code according to all attributes.
|
119
129
|
# @return [Fixnum] Hash code
|
120
130
|
def hash
|
121
|
-
[block_prepaid, credit_card_transaction_type, no_realtime_charge, payment_method_validity, rotating_transaction_gateway_codes].hash
|
131
|
+
[block_prepaid, block_refunds, credit_card_transaction_type, no_realtime_charge, payment_method_validity, rotating_transaction_gateway_codes].hash
|
122
132
|
end
|
123
133
|
|
124
134
|
# Builds the object from hash
|
@@ -13,36 +13,24 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module UltracartClient
|
16
|
-
class
|
17
|
-
|
18
|
-
attr_accessor :request
|
16
|
+
class WebhookReflow
|
17
|
+
attr_accessor :event_name
|
19
18
|
|
20
|
-
|
21
|
-
attr_accessor :request_headers
|
22
|
-
|
23
|
-
# Request id
|
24
|
-
attr_accessor :request_id
|
25
|
-
|
26
|
-
# URI to send request to
|
27
|
-
attr_accessor :uri
|
19
|
+
attr_accessor :queued
|
28
20
|
|
29
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
22
|
def self.attribute_map
|
31
23
|
{
|
32
|
-
:'
|
33
|
-
:'
|
34
|
-
:'request_id' => :'request_id',
|
35
|
-
:'uri' => :'uri'
|
24
|
+
:'event_name' => :'event_name',
|
25
|
+
:'queued' => :'queued'
|
36
26
|
}
|
37
27
|
end
|
38
28
|
|
39
29
|
# Attribute type mapping.
|
40
30
|
def self.swagger_types
|
41
31
|
{
|
42
|
-
:'
|
43
|
-
:'
|
44
|
-
:'request_id' => :'String',
|
45
|
-
:'uri' => :'String'
|
32
|
+
:'event_name' => :'String',
|
33
|
+
:'queued' => :'BOOLEAN'
|
46
34
|
}
|
47
35
|
end
|
48
36
|
|
@@ -54,22 +42,12 @@ module UltracartClient
|
|
54
42
|
# convert string to symbol for hash key
|
55
43
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
56
44
|
|
57
|
-
if attributes.has_key?(:'
|
58
|
-
self.
|
59
|
-
end
|
60
|
-
|
61
|
-
if attributes.has_key?(:'request_headers')
|
62
|
-
if (value = attributes[:'request_headers']).is_a?(Array)
|
63
|
-
self.request_headers = value
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
if attributes.has_key?(:'request_id')
|
68
|
-
self.request_id = attributes[:'request_id']
|
45
|
+
if attributes.has_key?(:'event_name')
|
46
|
+
self.event_name = attributes[:'event_name']
|
69
47
|
end
|
70
48
|
|
71
|
-
if attributes.has_key?(:'
|
72
|
-
self.
|
49
|
+
if attributes.has_key?(:'queued')
|
50
|
+
self.queued = attributes[:'queued']
|
73
51
|
end
|
74
52
|
end
|
75
53
|
|
@@ -91,10 +69,8 @@ module UltracartClient
|
|
91
69
|
def ==(o)
|
92
70
|
return true if self.equal?(o)
|
93
71
|
self.class == o.class &&
|
94
|
-
|
95
|
-
|
96
|
-
request_id == o.request_id &&
|
97
|
-
uri == o.uri
|
72
|
+
event_name == o.event_name &&
|
73
|
+
queued == o.queued
|
98
74
|
end
|
99
75
|
|
100
76
|
# @see the `==` method
|
@@ -106,7 +82,7 @@ module UltracartClient
|
|
106
82
|
# Calculates hash code according to all attributes.
|
107
83
|
# @return [Fixnum] Hash code
|
108
84
|
def hash
|
109
|
-
[
|
85
|
+
[event_name, queued].hash
|
110
86
|
end
|
111
87
|
|
112
88
|
# Builds the object from hash
|
data/lib/ultracart_api/models/{webhook_sample_request_response.rb → webhook_reflow_response.rb}
RENAMED
@@ -13,26 +13,26 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module UltracartClient
|
16
|
-
class
|
16
|
+
class WebhookReflowResponse
|
17
17
|
attr_accessor :error
|
18
18
|
|
19
19
|
attr_accessor :metadata
|
20
20
|
|
21
|
+
attr_accessor :reflow
|
22
|
+
|
21
23
|
# Indicates if API call was successful
|
22
24
|
attr_accessor :success
|
23
25
|
|
24
26
|
attr_accessor :warning
|
25
27
|
|
26
|
-
attr_accessor :webhook_sample_request
|
27
|
-
|
28
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
29
|
def self.attribute_map
|
30
30
|
{
|
31
31
|
:'error' => :'error',
|
32
32
|
:'metadata' => :'metadata',
|
33
|
+
:'reflow' => :'reflow',
|
33
34
|
:'success' => :'success',
|
34
|
-
:'warning' => :'warning'
|
35
|
-
:'webhook_sample_request' => :'webhook_sample_request'
|
35
|
+
:'warning' => :'warning'
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
@@ -41,9 +41,9 @@ module UltracartClient
|
|
41
41
|
{
|
42
42
|
:'error' => :'Error',
|
43
43
|
:'metadata' => :'ResponseMetadata',
|
44
|
+
:'reflow' => :'WebhookReflow',
|
44
45
|
:'success' => :'BOOLEAN',
|
45
|
-
:'warning' => :'Warning'
|
46
|
-
:'webhook_sample_request' => :'WebhookSampleRequest'
|
46
|
+
:'warning' => :'Warning'
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
@@ -63,6 +63,10 @@ module UltracartClient
|
|
63
63
|
self.metadata = attributes[:'metadata']
|
64
64
|
end
|
65
65
|
|
66
|
+
if attributes.has_key?(:'reflow')
|
67
|
+
self.reflow = attributes[:'reflow']
|
68
|
+
end
|
69
|
+
|
66
70
|
if attributes.has_key?(:'success')
|
67
71
|
self.success = attributes[:'success']
|
68
72
|
end
|
@@ -70,10 +74,6 @@ module UltracartClient
|
|
70
74
|
if attributes.has_key?(:'warning')
|
71
75
|
self.warning = attributes[:'warning']
|
72
76
|
end
|
73
|
-
|
74
|
-
if attributes.has_key?(:'webhook_sample_request')
|
75
|
-
self.webhook_sample_request = attributes[:'webhook_sample_request']
|
76
|
-
end
|
77
77
|
end
|
78
78
|
|
79
79
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -96,9 +96,9 @@ module UltracartClient
|
|
96
96
|
self.class == o.class &&
|
97
97
|
error == o.error &&
|
98
98
|
metadata == o.metadata &&
|
99
|
+
reflow == o.reflow &&
|
99
100
|
success == o.success &&
|
100
|
-
warning == o.warning
|
101
|
-
webhook_sample_request == o.webhook_sample_request
|
101
|
+
warning == o.warning
|
102
102
|
end
|
103
103
|
|
104
104
|
# @see the `==` method
|
@@ -110,7 +110,7 @@ module UltracartClient
|
|
110
110
|
# Calculates hash code according to all attributes.
|
111
111
|
# @return [Fixnum] Hash code
|
112
112
|
def hash
|
113
|
-
[error, metadata, success, warning
|
113
|
+
[error, metadata, reflow, success, warning].hash
|
114
114
|
end
|
115
115
|
|
116
116
|
# Builds the object from hash
|
data/lib/ultracart_api.rb
CHANGED
@@ -850,9 +850,9 @@ require 'ultracart_api/models/webhook_log'
|
|
850
850
|
require 'ultracart_api/models/webhook_log_response'
|
851
851
|
require 'ultracart_api/models/webhook_log_summaries_response'
|
852
852
|
require 'ultracart_api/models/webhook_log_summary'
|
853
|
+
require 'ultracart_api/models/webhook_reflow'
|
854
|
+
require 'ultracart_api/models/webhook_reflow_response'
|
853
855
|
require 'ultracart_api/models/webhook_response'
|
854
|
-
require 'ultracart_api/models/webhook_sample_request'
|
855
|
-
require 'ultracart_api/models/webhook_sample_request_response'
|
856
856
|
require 'ultracart_api/models/webhooks_response'
|
857
857
|
require 'ultracart_api/models/weight'
|
858
858
|
require 'ultracart_api/models/workflow_agent_auth'
|
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.225
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -1074,9 +1074,9 @@ files:
|
|
1074
1074
|
- docs/WebhookLogResponse.md
|
1075
1075
|
- docs/WebhookLogSummariesResponse.md
|
1076
1076
|
- docs/WebhookLogSummary.md
|
1077
|
+
- docs/WebhookReflow.md
|
1078
|
+
- docs/WebhookReflowResponse.md
|
1077
1079
|
- docs/WebhookResponse.md
|
1078
|
-
- docs/WebhookSampleRequest.md
|
1079
|
-
- docs/WebhookSampleRequestResponse.md
|
1080
1080
|
- docs/WebhooksResponse.md
|
1081
1081
|
- docs/Weight.md
|
1082
1082
|
- docs/WorkflowAgentAuth.md
|
@@ -1957,9 +1957,9 @@ files:
|
|
1957
1957
|
- lib/ultracart_api/models/webhook_log_response.rb
|
1958
1958
|
- lib/ultracart_api/models/webhook_log_summaries_response.rb
|
1959
1959
|
- lib/ultracart_api/models/webhook_log_summary.rb
|
1960
|
+
- lib/ultracart_api/models/webhook_reflow.rb
|
1961
|
+
- lib/ultracart_api/models/webhook_reflow_response.rb
|
1960
1962
|
- lib/ultracart_api/models/webhook_response.rb
|
1961
|
-
- lib/ultracart_api/models/webhook_sample_request.rb
|
1962
|
-
- lib/ultracart_api/models/webhook_sample_request_response.rb
|
1963
1963
|
- lib/ultracart_api/models/webhooks_response.rb
|
1964
1964
|
- lib/ultracart_api/models/weight.rb
|
1965
1965
|
- lib/ultracart_api/models/workflow_agent_auth.rb
|
@@ -1,11 +0,0 @@
|
|
1
|
-
# UltracartClient::WebhookSampleRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**request** | **String** | Request | [optional]
|
7
|
-
**request_headers** | [**Array<HTTPHeader>**](HTTPHeader.md) | Request headers | [optional]
|
8
|
-
**request_id** | **String** | Request id | [optional]
|
9
|
-
**uri** | **String** | URI to send request to | [optional]
|
10
|
-
|
11
|
-
|