ultracart_api 3.10.178 → 3.10.179

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b524385bb0691e45d2c970d7efaffe9c1f8c5ad160f973ed1c4c3ff69c257416
4
- data.tar.gz: d3d413ab77a535e600bba948cd3e84ed6c691a98438043d53793ad87b59f762e
3
+ metadata.gz: a30a8f1c4e6966fbd17f9f047e321d91e646c5cedd5b974def1b09bfe9ac61cf
4
+ data.tar.gz: 40011cb8de421206f3bb3c41ff13ec4a79a660cd01efb9695dbbd3b2095cc241
5
5
  SHA512:
6
- metadata.gz: aa1aed5d0fa41da8ca7aca043d1b074630b7aeb15ac7d4ea101072e84bbfcc95e837890f08a606cbe341f63dff343530ccaee9cf0d5b945fe44968c1e092bfd7
7
- data.tar.gz: 10250cef183253c441d27bb2af940202d3d76ce88c7fc856192dfff1fd275fc67b1c43a2bc3e9e7c6181da43dd1c9cd01be7fc2b032cd8c3967f5878cabb07b3
6
+ metadata.gz: e141a1f7b9d1b575aa2ba4c08821f92fecd5a7324387a95e5f0cf9a80b443aacb3d4a6dc0ab0caf1af162d1da36f12cbb9133e4a9af32eea5e3059528e3037f1
7
+ data.tar.gz: c61ed8837006d9fffadf49e5c193866ba4a342a50d21e10bebfda7f843e384566c4c45f90b41b1d473ee83459267951ecd5b8a6ecff18c0e4ca27eeecd9f7915
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.178
10
+ - Package version: 3.10.179
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.178.gem
27
+ gem install ./ultracart_api-3.10.179.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.178.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.179.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.178'
35
+ gem 'ultracart_api', '~> 3.10.179'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1398,6 +1398,7 @@ Not every change is committed to every SDK.
1398
1398
 
1399
1399
  | Version | Date | Comments |
1400
1400
  | --: | :-: | --- |
1401
+ | 3.10.179 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
1401
1402
  | 3.10.178 | 01/03/2024 | workflow - add task_context field to task obj |
1402
1403
  | 3.10.177 | 12/15/2023 | bug fix on bad docs breaking yaml schema |
1403
1404
  | 3.10.176 | 12/12/2023 | webhook - added event ruler property |
data/docs/CartSummary.md CHANGED
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
8
8
  **arbitrary_tax_rate** | [**Currency**](Currency.md) | | [optional]
9
9
  **arbitrary_taxable_subtotal** | [**Currency**](Currency.md) | | [optional]
10
10
  **health_benefit_card_amount** | [**Currency**](Currency.md) | | [optional]
11
+ **health_benefit_card_balance** | [**Currency**](Currency.md) | | [optional]
12
+ **health_benefit_card_requirements** | **String** | Health benefit card requirements | [optional]
11
13
  **internal_gift_certificate_amount** | [**Currency**](Currency.md) | | [optional]
12
14
  **shipping_handling** | [**Currency**](Currency.md) | | [optional]
13
15
  **shipping_handling_discount** | [**Currency**](Currency.md) | | [optional]
data/docs/OrderApi.md CHANGED
@@ -1144,7 +1144,7 @@ Name | Type | Description | Notes
1144
1144
 
1145
1145
  Refund an order
1146
1146
 
1147
- Perform a refund operation on an order and then update the order if successful
1147
+ Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
1148
1148
 
1149
1149
  ### Example
1150
1150
  ```ruby
data/docs/WorkflowTask.md CHANGED
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **created_by** | [**WorkflowUser**](WorkflowUser.md) | | [optional]
12
12
  **created_dts** | **String** | Date/time that the workflow task was created | [optional]
13
13
  **delay_until_dts** | **String** | Date/time that the workflow task should delay until | [optional]
14
+ **dependant_workflow_task_uuid** | **String** | Dependant Workflow Task UUID (must be completed before this task can be completed) | [optional]
14
15
  **due_dts** | **String** | Date/time that the workflow task is due | [optional]
15
16
  **histories** | [**Array<WorkflowTaskHistory>**](WorkflowTaskHistory.md) | Array of history records for the task | [optional]
16
17
  **last_update_dts** | **String** | Date/time that the workflow task was last updated | [optional]
@@ -21,7 +22,9 @@ Name | Type | Description | Notes
21
22
  **object_type** | **String** | Object Type | [optional]
22
23
  **object_url** | **String** | Object URL | [optional]
23
24
  **priority** | **String** | Priority | [optional]
25
+ **related_workflow_task_uuid** | **String** | Related Workflow Task UUID | [optional]
24
26
  **status** | **String** | Status of the workflow task | [optional]
27
+ **tags** | **Array<String>** | Tags | [optional]
25
28
  **task_context** | **String** | User friendly string of the task context | [optional]
26
29
  **task_details** | **String** | Task Details | [optional]
27
30
  **task_name** | **String** | Task Name | [optional]
@@ -1270,7 +1270,7 @@ module UltracartClient
1270
1270
  return data, status_code, headers
1271
1271
  end
1272
1272
  # Refund an order
1273
- # Perform a refund operation on an order and then update the order if successful
1273
+ # Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
1274
1274
  # @param order Order to refund
1275
1275
  # @param order_id The order id to refund.
1276
1276
  # @param [Hash] opts the optional parameters
@@ -1288,7 +1288,7 @@ module UltracartClient
1288
1288
  end
1289
1289
 
1290
1290
  # Refund an order
1291
- # Perform a refund operation on an order and then update the order if successful
1291
+ # Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
1292
1292
  # @param order Order to refund
1293
1293
  # @param order_id The order id to refund.
1294
1294
  # @param [Hash] opts the optional parameters
@@ -24,6 +24,11 @@ module UltracartClient
24
24
 
25
25
  attr_accessor :health_benefit_card_amount
26
26
 
27
+ attr_accessor :health_benefit_card_balance
28
+
29
+ # Health benefit card requirements
30
+ attr_accessor :health_benefit_card_requirements
31
+
27
32
  attr_accessor :internal_gift_certificate_amount
28
33
 
29
34
  attr_accessor :shipping_handling
@@ -58,6 +63,8 @@ module UltracartClient
58
63
  :'arbitrary_tax_rate' => :'arbitrary_tax_rate',
59
64
  :'arbitrary_taxable_subtotal' => :'arbitrary_taxable_subtotal',
60
65
  :'health_benefit_card_amount' => :'health_benefit_card_amount',
66
+ :'health_benefit_card_balance' => :'health_benefit_card_balance',
67
+ :'health_benefit_card_requirements' => :'health_benefit_card_requirements',
61
68
  :'internal_gift_certificate_amount' => :'internal_gift_certificate_amount',
62
69
  :'shipping_handling' => :'shipping_handling',
63
70
  :'shipping_handling_discount' => :'shipping_handling_discount',
@@ -82,6 +89,8 @@ module UltracartClient
82
89
  :'arbitrary_tax_rate' => :'Currency',
83
90
  :'arbitrary_taxable_subtotal' => :'Currency',
84
91
  :'health_benefit_card_amount' => :'Currency',
92
+ :'health_benefit_card_balance' => :'Currency',
93
+ :'health_benefit_card_requirements' => :'String',
85
94
  :'internal_gift_certificate_amount' => :'Currency',
86
95
  :'shipping_handling' => :'Currency',
87
96
  :'shipping_handling_discount' => :'Currency',
@@ -126,6 +135,14 @@ module UltracartClient
126
135
  self.health_benefit_card_amount = attributes[:'health_benefit_card_amount']
127
136
  end
128
137
 
138
+ if attributes.has_key?(:'health_benefit_card_balance')
139
+ self.health_benefit_card_balance = attributes[:'health_benefit_card_balance']
140
+ end
141
+
142
+ if attributes.has_key?(:'health_benefit_card_requirements')
143
+ self.health_benefit_card_requirements = attributes[:'health_benefit_card_requirements']
144
+ end
145
+
129
146
  if attributes.has_key?(:'internal_gift_certificate_amount')
130
147
  self.internal_gift_certificate_amount = attributes[:'internal_gift_certificate_amount']
131
148
  end
@@ -202,6 +219,8 @@ module UltracartClient
202
219
  arbitrary_tax_rate == o.arbitrary_tax_rate &&
203
220
  arbitrary_taxable_subtotal == o.arbitrary_taxable_subtotal &&
204
221
  health_benefit_card_amount == o.health_benefit_card_amount &&
222
+ health_benefit_card_balance == o.health_benefit_card_balance &&
223
+ health_benefit_card_requirements == o.health_benefit_card_requirements &&
205
224
  internal_gift_certificate_amount == o.internal_gift_certificate_amount &&
206
225
  shipping_handling == o.shipping_handling &&
207
226
  shipping_handling_discount == o.shipping_handling_discount &&
@@ -226,7 +245,7 @@ module UltracartClient
226
245
  # Calculates hash code according to all attributes.
227
246
  # @return [Fixnum] Hash code
228
247
  def hash
229
- [arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, health_benefit_card_amount, internal_gift_certificate_amount, shipping_handling, shipping_handling_discount, shipping_handling_with_discount, subtotal, subtotal_discount, subtotal_with_discount, surcharge, tax, taxable_subtotal, taxable_subtotal_discount, taxable_subtotal_with_discount, total].hash
248
+ [arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, health_benefit_card_amount, health_benefit_card_balance, health_benefit_card_requirements, internal_gift_certificate_amount, shipping_handling, shipping_handling_discount, shipping_handling_with_discount, subtotal, subtotal_discount, subtotal_with_discount, surcharge, tax, taxable_subtotal, taxable_subtotal_discount, taxable_subtotal_with_discount, total].hash
230
249
  end
231
250
 
232
251
  # Builds the object from hash
@@ -37,6 +37,9 @@ module UltracartClient
37
37
  # Date/time that the workflow task should delay until
38
38
  attr_accessor :delay_until_dts
39
39
 
40
+ # Dependant Workflow Task UUID (must be completed before this task can be completed)
41
+ attr_accessor :dependant_workflow_task_uuid
42
+
40
43
  # Date/time that the workflow task is due
41
44
  attr_accessor :due_dts
42
45
 
@@ -67,9 +70,15 @@ module UltracartClient
67
70
  # Priority
68
71
  attr_accessor :priority
69
72
 
73
+ # Related Workflow Task UUID
74
+ attr_accessor :related_workflow_task_uuid
75
+
70
76
  # Status of the workflow task
71
77
  attr_accessor :status
72
78
 
79
+ # Tags
80
+ attr_accessor :tags
81
+
73
82
  # User friendly string of the task context
74
83
  attr_accessor :task_context
75
84
 
@@ -115,6 +124,7 @@ module UltracartClient
115
124
  :'created_by' => :'created_by',
116
125
  :'created_dts' => :'created_dts',
117
126
  :'delay_until_dts' => :'delay_until_dts',
127
+ :'dependant_workflow_task_uuid' => :'dependant_workflow_task_uuid',
118
128
  :'due_dts' => :'due_dts',
119
129
  :'histories' => :'histories',
120
130
  :'last_update_dts' => :'last_update_dts',
@@ -125,7 +135,9 @@ module UltracartClient
125
135
  :'object_type' => :'object_type',
126
136
  :'object_url' => :'object_url',
127
137
  :'priority' => :'priority',
138
+ :'related_workflow_task_uuid' => :'related_workflow_task_uuid',
128
139
  :'status' => :'status',
140
+ :'tags' => :'tags',
129
141
  :'task_context' => :'task_context',
130
142
  :'task_details' => :'task_details',
131
143
  :'task_name' => :'task_name',
@@ -144,6 +156,7 @@ module UltracartClient
144
156
  :'created_by' => :'WorkflowUser',
145
157
  :'created_dts' => :'String',
146
158
  :'delay_until_dts' => :'String',
159
+ :'dependant_workflow_task_uuid' => :'String',
147
160
  :'due_dts' => :'String',
148
161
  :'histories' => :'Array<WorkflowTaskHistory>',
149
162
  :'last_update_dts' => :'String',
@@ -154,7 +167,9 @@ module UltracartClient
154
167
  :'object_type' => :'String',
155
168
  :'object_url' => :'String',
156
169
  :'priority' => :'String',
170
+ :'related_workflow_task_uuid' => :'String',
157
171
  :'status' => :'String',
172
+ :'tags' => :'Array<String>',
158
173
  :'task_context' => :'String',
159
174
  :'task_details' => :'String',
160
175
  :'task_name' => :'String',
@@ -204,6 +219,10 @@ module UltracartClient
204
219
  self.delay_until_dts = attributes[:'delay_until_dts']
205
220
  end
206
221
 
222
+ if attributes.has_key?(:'dependant_workflow_task_uuid')
223
+ self.dependant_workflow_task_uuid = attributes[:'dependant_workflow_task_uuid']
224
+ end
225
+
207
226
  if attributes.has_key?(:'due_dts')
208
227
  self.due_dts = attributes[:'due_dts']
209
228
  end
@@ -248,10 +267,20 @@ module UltracartClient
248
267
  self.priority = attributes[:'priority']
249
268
  end
250
269
 
270
+ if attributes.has_key?(:'related_workflow_task_uuid')
271
+ self.related_workflow_task_uuid = attributes[:'related_workflow_task_uuid']
272
+ end
273
+
251
274
  if attributes.has_key?(:'status')
252
275
  self.status = attributes[:'status']
253
276
  end
254
277
 
278
+ if attributes.has_key?(:'tags')
279
+ if (value = attributes[:'tags']).is_a?(Array)
280
+ self.tags = value
281
+ end
282
+ end
283
+
255
284
  if attributes.has_key?(:'task_context')
256
285
  self.task_context = attributes[:'task_context']
257
286
  end
@@ -331,6 +360,7 @@ module UltracartClient
331
360
  created_by == o.created_by &&
332
361
  created_dts == o.created_dts &&
333
362
  delay_until_dts == o.delay_until_dts &&
363
+ dependant_workflow_task_uuid == o.dependant_workflow_task_uuid &&
334
364
  due_dts == o.due_dts &&
335
365
  histories == o.histories &&
336
366
  last_update_dts == o.last_update_dts &&
@@ -341,7 +371,9 @@ module UltracartClient
341
371
  object_type == o.object_type &&
342
372
  object_url == o.object_url &&
343
373
  priority == o.priority &&
374
+ related_workflow_task_uuid == o.related_workflow_task_uuid &&
344
375
  status == o.status &&
376
+ tags == o.tags &&
345
377
  task_context == o.task_context &&
346
378
  task_details == o.task_details &&
347
379
  task_name == o.task_name &&
@@ -357,7 +389,7 @@ module UltracartClient
357
389
  # Calculates hash code according to all attributes.
358
390
  # @return [Fixnum] Hash code
359
391
  def hash
360
- [assigned_to_group, assigned_to_group_id, assigned_to_user, assigned_to_user_id, attachments, created_by, created_dts, delay_until_dts, due_dts, histories, last_update_dts, merchant_id, notes, object_email, object_id, object_type, object_url, priority, status, task_context, task_details, task_name, workflow_task_uuid].hash
392
+ [assigned_to_group, assigned_to_group_id, assigned_to_user, assigned_to_user_id, attachments, created_by, created_dts, delay_until_dts, dependant_workflow_task_uuid, due_dts, histories, last_update_dts, merchant_id, notes, object_email, object_id, object_type, object_url, priority, related_workflow_task_uuid, status, tags, task_context, task_details, task_name, workflow_task_uuid].hash
361
393
  end
362
394
 
363
395
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.178'
14
+ VERSION = '3.10.179'
15
15
  end
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.178
4
+ version: 3.10.179
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-03 00:00:00.000000000 Z
11
+ date: 2024-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus