ultracart_api 4.0.195 → 4.0.196

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: f26b248b637505cfa791a06bf2a401e79b85c9796f99bb47811a67b49365e495
4
- data.tar.gz: 3e73d0cdb28a68ea701909dcd2e9870ed11668707d9a500b10cd01803592d8bb
3
+ metadata.gz: 3c55f53122912472b5f1486d5873c6e8855d3f77e9c36266b389b4e185845b44
4
+ data.tar.gz: 8f2918ed1962e0d4783034f8608fb7cd00b12bd043ce0b0f66a3f95dfdd9df7b
5
5
  SHA512:
6
- metadata.gz: 798a5f9345a487a413d2d4765b0d69f37fd1255d7fcca8b269b43718f3c8fcd3e3d5f79dde6fd19ef8b7cb91afca66eb9284c645cd2173b4dfb18d65992a6a2a
7
- data.tar.gz: 41b57f1f36756676abc90ee4a37fa188ba648473bed1ea47afb13884896f1cb1ee5afd8446ddd0a8050974c174502b73b69261ee7cfe883c025dc6e15e0250f1
6
+ metadata.gz: a91867ba183e2426b47ca233a47c1499cd7108a39aa42a223d6daec7f9b7a05506a5209d273c48cf70fbcbb1eac3f2a0649c261adaa967663229e3586a755f10
7
+ data.tar.gz: 23a19c9840ebf972664d36bf7fa0ac8cad3c6be3f8132cd47495f43ceadad8dc9e61171bfd0ed3acc2068d87d5fb81f11725429c83a2b53abfdc0f50e425fa7a
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.195
10
+ - Package version: 4.0.196
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.195.gem
27
+ gem install ./ultracart_api-4.0.196.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.195.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.196.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.195'
36
+ gem 'ultracart_api', '~> 4.0.196'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1406,6 +1406,7 @@ Not every change is committed to every SDK.
1406
1406
 
1407
1407
  | Version | Date | Comments |
1408
1408
  | --: | :-: | --- |
1409
+ | 4.0.196 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
1409
1410
  | 4.0.195 | 01/03/2024 | workflow - add task_context field to task obj |
1410
1411
  | 4.0.194 | 12/15/2023 | bug fix on bad docs breaking yaml schema |
1411
1412
  | 4.0.193 | 12/12/2023 | webhook - added event ruler property |
data/docs/CartSummary.md CHANGED
@@ -9,6 +9,8 @@
9
9
  | **arbitrary_tax_rate** | [**Currency**](Currency.md) | | [optional] |
10
10
  | **arbitrary_taxable_subtotal** | [**Currency**](Currency.md) | | [optional] |
11
11
  | **health_benefit_card_amount** | [**Currency**](Currency.md) | | [optional] |
12
+ | **health_benefit_card_balance** | [**Currency**](Currency.md) | | [optional] |
13
+ | **health_benefit_card_requirements** | **String** | Health benefit card requirements | [optional] |
12
14
  | **internal_gift_certificate_amount** | [**Currency**](Currency.md) | | [optional] |
13
15
  | **shipping_handling** | [**Currency**](Currency.md) | | [optional] |
14
16
  | **shipping_handling_discount** | [**Currency**](Currency.md) | | [optional] |
@@ -34,6 +36,8 @@ instance = UltracartClient::CartSummary.new(
34
36
  arbitrary_tax_rate: null,
35
37
  arbitrary_taxable_subtotal: null,
36
38
  health_benefit_card_amount: null,
39
+ health_benefit_card_balance: null,
40
+ health_benefit_card_requirements: null,
37
41
  internal_gift_certificate_amount: null,
38
42
  shipping_handling: null,
39
43
  shipping_handling_discount: null,
data/docs/OrderApi.md CHANGED
@@ -1565,7 +1565,7 @@ end
1565
1565
 
1566
1566
  Refund an order
1567
1567
 
1568
- Perform a refund operation on an order and then update the order if successful
1568
+ 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.
1569
1569
 
1570
1570
  ### Examples
1571
1571
 
data/docs/WorkflowTask.md CHANGED
@@ -12,6 +12,7 @@
12
12
  | **created_by** | [**WorkflowUser**](WorkflowUser.md) | | [optional] |
13
13
  | **created_dts** | **String** | Date/time that the workflow task was created | [optional] |
14
14
  | **delay_until_dts** | **String** | Date/time that the workflow task should delay until | [optional] |
15
+ | **dependant_workflow_task_uuid** | **String** | Dependant Workflow Task UUID (must be completed before this task can be completed) | [optional] |
15
16
  | **due_dts** | **String** | Date/time that the workflow task is due | [optional] |
16
17
  | **histories** | [**Array<WorkflowTaskHistory>**](WorkflowTaskHistory.md) | Array of history records for the task | [optional] |
17
18
  | **last_update_dts** | **String** | Date/time that the workflow task was last updated | [optional] |
@@ -22,7 +23,9 @@
22
23
  | **object_type** | **String** | Object Type | [optional] |
23
24
  | **object_url** | **String** | Object URL | [optional] |
24
25
  | **priority** | **String** | Priority | [optional] |
26
+ | **related_workflow_task_uuid** | **String** | Related Workflow Task UUID | [optional] |
25
27
  | **status** | **String** | Status of the workflow task | [optional] |
28
+ | **tags** | **Array<String>** | Tags | [optional] |
26
29
  | **task_context** | **String** | User friendly string of the task context | [optional] |
27
30
  | **task_details** | **String** | Task Details | [optional] |
28
31
  | **task_name** | **String** | Task Name | [optional] |
@@ -42,6 +45,7 @@ instance = UltracartClient::WorkflowTask.new(
42
45
  created_by: null,
43
46
  created_dts: null,
44
47
  delay_until_dts: null,
48
+ dependant_workflow_task_uuid: null,
45
49
  due_dts: null,
46
50
  histories: null,
47
51
  last_update_dts: null,
@@ -52,7 +56,9 @@ instance = UltracartClient::WorkflowTask.new(
52
56
  object_type: null,
53
57
  object_url: null,
54
58
  priority: null,
59
+ related_workflow_task_uuid: null,
55
60
  status: null,
61
+ tags: null,
56
62
  task_context: null,
57
63
  task_details: null,
58
64
  task_name: null,
@@ -1481,7 +1481,7 @@ module UltracartClient
1481
1481
  end
1482
1482
 
1483
1483
  # Refund an order
1484
- # Perform a refund operation on an order and then update the order if successful
1484
+ # 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.
1485
1485
  # @param order_id [String] The order id to refund.
1486
1486
  # @param order [Order] Order to refund
1487
1487
  # @param [Hash] opts the optional parameters
@@ -1499,7 +1499,7 @@ module UltracartClient
1499
1499
  end
1500
1500
 
1501
1501
  # Refund an order
1502
- # Perform a refund operation on an order and then update the order if successful
1502
+ # 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.
1503
1503
  # @param order_id [String] The order id to refund.
1504
1504
  # @param order [Order] Order to refund
1505
1505
  # @param [Hash] opts the optional parameters
@@ -25,6 +25,11 @@ module UltracartClient
25
25
 
26
26
  attr_accessor :health_benefit_card_amount
27
27
 
28
+ attr_accessor :health_benefit_card_balance
29
+
30
+ # Health benefit card requirements
31
+ attr_accessor :health_benefit_card_requirements
32
+
28
33
  attr_accessor :internal_gift_certificate_amount
29
34
 
30
35
  attr_accessor :shipping_handling
@@ -59,6 +64,8 @@ module UltracartClient
59
64
  :'arbitrary_tax_rate' => :'arbitrary_tax_rate',
60
65
  :'arbitrary_taxable_subtotal' => :'arbitrary_taxable_subtotal',
61
66
  :'health_benefit_card_amount' => :'health_benefit_card_amount',
67
+ :'health_benefit_card_balance' => :'health_benefit_card_balance',
68
+ :'health_benefit_card_requirements' => :'health_benefit_card_requirements',
62
69
  :'internal_gift_certificate_amount' => :'internal_gift_certificate_amount',
63
70
  :'shipping_handling' => :'shipping_handling',
64
71
  :'shipping_handling_discount' => :'shipping_handling_discount',
@@ -88,6 +95,8 @@ module UltracartClient
88
95
  :'arbitrary_tax_rate' => :'Currency',
89
96
  :'arbitrary_taxable_subtotal' => :'Currency',
90
97
  :'health_benefit_card_amount' => :'Currency',
98
+ :'health_benefit_card_balance' => :'Currency',
99
+ :'health_benefit_card_requirements' => :'String',
91
100
  :'internal_gift_certificate_amount' => :'Currency',
92
101
  :'shipping_handling' => :'Currency',
93
102
  :'shipping_handling_discount' => :'Currency',
@@ -145,6 +154,14 @@ module UltracartClient
145
154
  self.health_benefit_card_amount = attributes[:'health_benefit_card_amount']
146
155
  end
147
156
 
157
+ if attributes.key?(:'health_benefit_card_balance')
158
+ self.health_benefit_card_balance = attributes[:'health_benefit_card_balance']
159
+ end
160
+
161
+ if attributes.key?(:'health_benefit_card_requirements')
162
+ self.health_benefit_card_requirements = attributes[:'health_benefit_card_requirements']
163
+ end
164
+
148
165
  if attributes.key?(:'internal_gift_certificate_amount')
149
166
  self.internal_gift_certificate_amount = attributes[:'internal_gift_certificate_amount']
150
167
  end
@@ -221,6 +238,8 @@ module UltracartClient
221
238
  arbitrary_tax_rate == o.arbitrary_tax_rate &&
222
239
  arbitrary_taxable_subtotal == o.arbitrary_taxable_subtotal &&
223
240
  health_benefit_card_amount == o.health_benefit_card_amount &&
241
+ health_benefit_card_balance == o.health_benefit_card_balance &&
242
+ health_benefit_card_requirements == o.health_benefit_card_requirements &&
224
243
  internal_gift_certificate_amount == o.internal_gift_certificate_amount &&
225
244
  shipping_handling == o.shipping_handling &&
226
245
  shipping_handling_discount == o.shipping_handling_discount &&
@@ -245,7 +264,7 @@ module UltracartClient
245
264
  # Calculates hash code according to all attributes.
246
265
  # @return [Integer] Hash code
247
266
  def hash
248
- [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
267
+ [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
249
268
  end
250
269
 
251
270
  # Builds the object from hash
@@ -38,6 +38,9 @@ module UltracartClient
38
38
  # Date/time that the workflow task should delay until
39
39
  attr_accessor :delay_until_dts
40
40
 
41
+ # Dependant Workflow Task UUID (must be completed before this task can be completed)
42
+ attr_accessor :dependant_workflow_task_uuid
43
+
41
44
  # Date/time that the workflow task is due
42
45
  attr_accessor :due_dts
43
46
 
@@ -68,9 +71,15 @@ module UltracartClient
68
71
  # Priority
69
72
  attr_accessor :priority
70
73
 
74
+ # Related Workflow Task UUID
75
+ attr_accessor :related_workflow_task_uuid
76
+
71
77
  # Status of the workflow task
72
78
  attr_accessor :status
73
79
 
80
+ # Tags
81
+ attr_accessor :tags
82
+
74
83
  # User friendly string of the task context
75
84
  attr_accessor :task_context
76
85
 
@@ -116,6 +125,7 @@ module UltracartClient
116
125
  :'created_by' => :'created_by',
117
126
  :'created_dts' => :'created_dts',
118
127
  :'delay_until_dts' => :'delay_until_dts',
128
+ :'dependant_workflow_task_uuid' => :'dependant_workflow_task_uuid',
119
129
  :'due_dts' => :'due_dts',
120
130
  :'histories' => :'histories',
121
131
  :'last_update_dts' => :'last_update_dts',
@@ -126,7 +136,9 @@ module UltracartClient
126
136
  :'object_type' => :'object_type',
127
137
  :'object_url' => :'object_url',
128
138
  :'priority' => :'priority',
139
+ :'related_workflow_task_uuid' => :'related_workflow_task_uuid',
129
140
  :'status' => :'status',
141
+ :'tags' => :'tags',
130
142
  :'task_context' => :'task_context',
131
143
  :'task_details' => :'task_details',
132
144
  :'task_name' => :'task_name',
@@ -150,6 +162,7 @@ module UltracartClient
150
162
  :'created_by' => :'WorkflowUser',
151
163
  :'created_dts' => :'String',
152
164
  :'delay_until_dts' => :'String',
165
+ :'dependant_workflow_task_uuid' => :'String',
153
166
  :'due_dts' => :'String',
154
167
  :'histories' => :'Array<WorkflowTaskHistory>',
155
168
  :'last_update_dts' => :'String',
@@ -160,7 +173,9 @@ module UltracartClient
160
173
  :'object_type' => :'String',
161
174
  :'object_url' => :'String',
162
175
  :'priority' => :'String',
176
+ :'related_workflow_task_uuid' => :'String',
163
177
  :'status' => :'String',
178
+ :'tags' => :'Array<String>',
164
179
  :'task_context' => :'String',
165
180
  :'task_details' => :'String',
166
181
  :'task_name' => :'String',
@@ -223,6 +238,10 @@ module UltracartClient
223
238
  self.delay_until_dts = attributes[:'delay_until_dts']
224
239
  end
225
240
 
241
+ if attributes.key?(:'dependant_workflow_task_uuid')
242
+ self.dependant_workflow_task_uuid = attributes[:'dependant_workflow_task_uuid']
243
+ end
244
+
226
245
  if attributes.key?(:'due_dts')
227
246
  self.due_dts = attributes[:'due_dts']
228
247
  end
@@ -267,10 +286,20 @@ module UltracartClient
267
286
  self.priority = attributes[:'priority']
268
287
  end
269
288
 
289
+ if attributes.key?(:'related_workflow_task_uuid')
290
+ self.related_workflow_task_uuid = attributes[:'related_workflow_task_uuid']
291
+ end
292
+
270
293
  if attributes.key?(:'status')
271
294
  self.status = attributes[:'status']
272
295
  end
273
296
 
297
+ if attributes.key?(:'tags')
298
+ if (value = attributes[:'tags']).is_a?(Array)
299
+ self.tags = value
300
+ end
301
+ end
302
+
274
303
  if attributes.key?(:'task_context')
275
304
  self.task_context = attributes[:'task_context']
276
305
  end
@@ -350,6 +379,7 @@ module UltracartClient
350
379
  created_by == o.created_by &&
351
380
  created_dts == o.created_dts &&
352
381
  delay_until_dts == o.delay_until_dts &&
382
+ dependant_workflow_task_uuid == o.dependant_workflow_task_uuid &&
353
383
  due_dts == o.due_dts &&
354
384
  histories == o.histories &&
355
385
  last_update_dts == o.last_update_dts &&
@@ -360,7 +390,9 @@ module UltracartClient
360
390
  object_type == o.object_type &&
361
391
  object_url == o.object_url &&
362
392
  priority == o.priority &&
393
+ related_workflow_task_uuid == o.related_workflow_task_uuid &&
363
394
  status == o.status &&
395
+ tags == o.tags &&
364
396
  task_context == o.task_context &&
365
397
  task_details == o.task_details &&
366
398
  task_name == o.task_name &&
@@ -376,7 +408,7 @@ module UltracartClient
376
408
  # Calculates hash code according to all attributes.
377
409
  # @return [Integer] Hash code
378
410
  def hash
379
- [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
411
+ [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
380
412
  end
381
413
 
382
414
  # 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.195'
14
+ VERSION = '4.0.196'
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: 4.0.195
4
+ version: 4.0.196
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