ultracart_api 4.0.240 → 4.0.242

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.
@@ -14,26 +14,26 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module UltracartClient
17
- class WebhookSampleRequestResponse
17
+ class WebhookReflowResponse
18
18
  attr_accessor :error
19
19
 
20
20
  attr_accessor :metadata
21
21
 
22
+ attr_accessor :reflow
23
+
22
24
  # Indicates if API call was successful
23
25
  attr_accessor :success
24
26
 
25
27
  attr_accessor :warning
26
28
 
27
- attr_accessor :webhook_sample_request
28
-
29
29
  # Attribute mapping from ruby-style variable name to JSON key.
30
30
  def self.attribute_map
31
31
  {
32
32
  :'error' => :'error',
33
33
  :'metadata' => :'metadata',
34
+ :'reflow' => :'reflow',
34
35
  :'success' => :'success',
35
- :'warning' => :'warning',
36
- :'webhook_sample_request' => :'webhook_sample_request'
36
+ :'warning' => :'warning'
37
37
  }
38
38
  end
39
39
 
@@ -47,9 +47,9 @@ module UltracartClient
47
47
  {
48
48
  :'error' => :'Error',
49
49
  :'metadata' => :'ResponseMetadata',
50
+ :'reflow' => :'WebhookReflow',
50
51
  :'success' => :'Boolean',
51
- :'warning' => :'Warning',
52
- :'webhook_sample_request' => :'WebhookSampleRequest'
52
+ :'warning' => :'Warning'
53
53
  }
54
54
  end
55
55
 
@@ -63,13 +63,13 @@ module UltracartClient
63
63
  # @param [Hash] attributes Model attributes in the form of hash
64
64
  def initialize(attributes = {})
65
65
  if (!attributes.is_a?(Hash))
66
- fail ArgumentError, "The input argument (attributes) must be a hash in `UltracartClient::WebhookSampleRequestResponse` initialize method"
66
+ fail ArgumentError, "The input argument (attributes) must be a hash in `UltracartClient::WebhookReflowResponse` initialize method"
67
67
  end
68
68
 
69
69
  # check to see if the attribute exists and convert string to symbol for hash key
70
70
  attributes = attributes.each_with_object({}) { |(k, v), h|
71
71
  if (!self.class.attribute_map.key?(k.to_sym))
72
- fail ArgumentError, "`#{k}` is not a valid attribute in `UltracartClient::WebhookSampleRequestResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
72
+ fail ArgumentError, "`#{k}` is not a valid attribute in `UltracartClient::WebhookReflowResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
73
73
  end
74
74
  h[k.to_sym] = v
75
75
  }
@@ -82,6 +82,10 @@ module UltracartClient
82
82
  self.metadata = attributes[:'metadata']
83
83
  end
84
84
 
85
+ if attributes.key?(:'reflow')
86
+ self.reflow = attributes[:'reflow']
87
+ end
88
+
85
89
  if attributes.key?(:'success')
86
90
  self.success = attributes[:'success']
87
91
  end
@@ -89,10 +93,6 @@ module UltracartClient
89
93
  if attributes.key?(:'warning')
90
94
  self.warning = attributes[:'warning']
91
95
  end
92
-
93
- if attributes.key?(:'webhook_sample_request')
94
- self.webhook_sample_request = attributes[:'webhook_sample_request']
95
- end
96
96
  end
97
97
 
98
98
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -115,9 +115,9 @@ module UltracartClient
115
115
  self.class == o.class &&
116
116
  error == o.error &&
117
117
  metadata == o.metadata &&
118
+ reflow == o.reflow &&
118
119
  success == o.success &&
119
- warning == o.warning &&
120
- webhook_sample_request == o.webhook_sample_request
120
+ warning == o.warning
121
121
  end
122
122
 
123
123
  # @see the `==` method
@@ -129,7 +129,7 @@ module UltracartClient
129
129
  # Calculates hash code according to all attributes.
130
130
  # @return [Integer] Hash code
131
131
  def hash
132
- [error, metadata, success, warning, webhook_sample_request].hash
132
+ [error, metadata, reflow, success, warning].hash
133
133
  end
134
134
 
135
135
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.240'
14
+ VERSION = '4.0.242'
15
15
  end
data/lib/ultracart_api.rb CHANGED
@@ -634,6 +634,7 @@ require 'ultracart_api/models/order_by_token_query'
634
634
  require 'ultracart_api/models/order_channel_partner'
635
635
  require 'ultracart_api/models/order_checkout'
636
636
  require 'ultracart_api/models/order_coupon'
637
+ require 'ultracart_api/models/order_current_stage_history'
637
638
  require 'ultracart_api/models/order_digital_item'
638
639
  require 'ultracart_api/models/order_digital_order'
639
640
  require 'ultracart_api/models/order_edi'
@@ -848,9 +849,9 @@ require 'ultracart_api/models/webhook_log'
848
849
  require 'ultracart_api/models/webhook_log_response'
849
850
  require 'ultracart_api/models/webhook_log_summaries_response'
850
851
  require 'ultracart_api/models/webhook_log_summary'
852
+ require 'ultracart_api/models/webhook_reflow'
853
+ require 'ultracart_api/models/webhook_reflow_response'
851
854
  require 'ultracart_api/models/webhook_response'
852
- require 'ultracart_api/models/webhook_sample_request'
853
- require 'ultracart_api/models/webhook_sample_request_response'
854
855
  require 'ultracart_api/models/webhooks_response'
855
856
  require 'ultracart_api/models/weight'
856
857
  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: 4.0.240
4
+ version: 4.0.242
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-09 00:00:00.000000000 Z
11
+ date: 2025-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -693,6 +693,7 @@ files:
693
693
  - docs/OrderChannelPartner.md
694
694
  - docs/OrderCheckout.md
695
695
  - docs/OrderCoupon.md
696
+ - docs/OrderCurrentStageHistory.md
696
697
  - docs/OrderDigitalItem.md
697
698
  - docs/OrderDigitalOrder.md
698
699
  - docs/OrderEdi.md
@@ -912,9 +913,9 @@ files:
912
913
  - docs/WebhookLogResponse.md
913
914
  - docs/WebhookLogSummariesResponse.md
914
915
  - docs/WebhookLogSummary.md
916
+ - docs/WebhookReflow.md
917
+ - docs/WebhookReflowResponse.md
915
918
  - docs/WebhookResponse.md
916
- - docs/WebhookSampleRequest.md
917
- - docs/WebhookSampleRequestResponse.md
918
919
  - docs/WebhooksResponse.md
919
920
  - docs/Weight.md
920
921
  - docs/WorkflowAgentAuth.md
@@ -1579,6 +1580,7 @@ files:
1579
1580
  - lib/ultracart_api/models/order_channel_partner.rb
1580
1581
  - lib/ultracart_api/models/order_checkout.rb
1581
1582
  - lib/ultracart_api/models/order_coupon.rb
1583
+ - lib/ultracart_api/models/order_current_stage_history.rb
1582
1584
  - lib/ultracart_api/models/order_digital_item.rb
1583
1585
  - lib/ultracart_api/models/order_digital_order.rb
1584
1586
  - lib/ultracart_api/models/order_edi.rb
@@ -1793,9 +1795,9 @@ files:
1793
1795
  - lib/ultracart_api/models/webhook_log_response.rb
1794
1796
  - lib/ultracart_api/models/webhook_log_summaries_response.rb
1795
1797
  - lib/ultracart_api/models/webhook_log_summary.rb
1798
+ - lib/ultracart_api/models/webhook_reflow.rb
1799
+ - lib/ultracart_api/models/webhook_reflow_response.rb
1796
1800
  - lib/ultracart_api/models/webhook_response.rb
1797
- - lib/ultracart_api/models/webhook_sample_request.rb
1798
- - lib/ultracart_api/models/webhook_sample_request_response.rb
1799
1801
  - lib/ultracart_api/models/webhooks_response.rb
1800
1802
  - lib/ultracart_api/models/weight.rb
1801
1803
  - lib/ultracart_api/models/workflow_agent_auth.rb
@@ -1,24 +0,0 @@
1
- # UltracartClient::WebhookSampleRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **request** | **String** | Request | [optional] |
8
- | **request_headers** | [**Array<HTTPHeader>**](HTTPHeader.md) | Request headers | [optional] |
9
- | **request_id** | **String** | Request id | [optional] |
10
- | **uri** | **String** | URI to send request to | [optional] |
11
-
12
- ## Example
13
-
14
- ```ruby
15
- require 'ultracart_api'
16
-
17
- instance = UltracartClient::WebhookSampleRequest.new(
18
- request: null,
19
- request_headers: null,
20
- request_id: null,
21
- uri: null
22
- )
23
- ```
24
-