ultracart_api 4.0.195 → 4.0.197

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f26b248b637505cfa791a06bf2a401e79b85c9796f99bb47811a67b49365e495
4
- data.tar.gz: 3e73d0cdb28a68ea701909dcd2e9870ed11668707d9a500b10cd01803592d8bb
3
+ metadata.gz: f2784f07f189e230fe029edd42b52d99fe196c6093cdd0dcc43eefba74900c58
4
+ data.tar.gz: 1094508d865ba1c18228e81aa4c6d33ac371d480a26bc65547a1a5d22b96c0ae
5
5
  SHA512:
6
- metadata.gz: 798a5f9345a487a413d2d4765b0d69f37fd1255d7fcca8b269b43718f3c8fcd3e3d5f79dde6fd19ef8b7cb91afca66eb9284c645cd2173b4dfb18d65992a6a2a
7
- data.tar.gz: 41b57f1f36756676abc90ee4a37fa188ba648473bed1ea47afb13884896f1cb1ee5afd8446ddd0a8050974c174502b73b69261ee7cfe883c025dc6e15e0250f1
6
+ metadata.gz: 47241c700a8a7512f79059e9d0e8cb207eade292f27356d070fc2019ae3c7b468dd640ce10b8228654c07effe0f6e9629099c842d8f7a609292eae31a3f519da
7
+ data.tar.gz: 80146a5f7fe5a43cc850a760ccee772b47b4992465843e1ef4504a59b33d2e3b5dd5adb8b8f300be61a10c11eb82dc33704355461652ccf135afe4c8d898dfdf
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.197
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.197.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.197.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.197'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1406,6 +1406,8 @@ Not every change is committed to every SDK.
1406
1406
 
1407
1407
  | Version | Date | Comments |
1408
1408
  | --: | :-: | --- |
1409
+ | 4.0.197 | 01/10/2024 | workflow tasks - support for searching by tags |
1410
+ | 4.0.196 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
1409
1411
  | 4.0.195 | 01/03/2024 | workflow - add task_context field to task obj |
1410
1412
  | 4.0.194 | 12/15/2023 | bug fix on bad docs breaking yaml schema |
1411
1413
  | 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,
@@ -20,6 +20,7 @@
20
20
  | **object_type** | **String** | Object Type | [optional] |
21
21
  | **priority** | **String** | Priority | [optional] |
22
22
  | **status** | **String** | Status of the workflow task | [optional] |
23
+ | **tags** | **Array<String>** | Tasks that are tagged with the specified tags | [optional] |
23
24
  | **unassigned** | **Boolean** | Tasks that are unassigned to a user or group | [optional] |
24
25
 
25
26
  ## Example
@@ -44,6 +45,7 @@ instance = UltracartClient::WorkflowTasksRequest.new(
44
45
  object_type: null,
45
46
  priority: null,
46
47
  status: null,
48
+ tags: null,
47
49
  unassigned: null
48
50
  )
49
51
  ```
@@ -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
@@ -62,6 +62,9 @@ module UltracartClient
62
62
  # Status of the workflow task
63
63
  attr_accessor :status
64
64
 
65
+ # Tasks that are tagged with the specified tags
66
+ attr_accessor :tags
67
+
65
68
  # Tasks that are unassigned to a user or group
66
69
  attr_accessor :unassigned
67
70
 
@@ -106,6 +109,7 @@ module UltracartClient
106
109
  :'object_type' => :'object_type',
107
110
  :'priority' => :'priority',
108
111
  :'status' => :'status',
112
+ :'tags' => :'tags',
109
113
  :'unassigned' => :'unassigned'
110
114
  }
111
115
  end
@@ -134,6 +138,7 @@ module UltracartClient
134
138
  :'object_type' => :'String',
135
139
  :'priority' => :'String',
136
140
  :'status' => :'String',
141
+ :'tags' => :'Array<String>',
137
142
  :'unassigned' => :'Boolean'
138
143
  }
139
144
  end
@@ -223,6 +228,12 @@ module UltracartClient
223
228
  self.status = attributes[:'status']
224
229
  end
225
230
 
231
+ if attributes.key?(:'tags')
232
+ if (value = attributes[:'tags']).is_a?(Array)
233
+ self.tags = value
234
+ end
235
+ end
236
+
226
237
  if attributes.key?(:'unassigned')
227
238
  self.unassigned = attributes[:'unassigned']
228
239
  end
@@ -298,6 +309,7 @@ module UltracartClient
298
309
  object_type == o.object_type &&
299
310
  priority == o.priority &&
300
311
  status == o.status &&
312
+ tags == o.tags &&
301
313
  unassigned == o.unassigned
302
314
  end
303
315
 
@@ -310,7 +322,7 @@ module UltracartClient
310
322
  # Calculates hash code according to all attributes.
311
323
  # @return [Integer] Hash code
312
324
  def hash
313
- [assigned_to_group_id, assigned_to_me, assigned_to_user_id, created_by, created_dts_begin, created_dts_end, delay_until_dts_begin, delay_until_dts_end, due_dts_begin, due_dts_end, last_update_dts_begin, last_update_dts_end, object_email, object_type, priority, status, unassigned].hash
325
+ [assigned_to_group_id, assigned_to_me, assigned_to_user_id, created_by, created_dts_begin, created_dts_end, delay_until_dts_begin, delay_until_dts_end, due_dts_begin, due_dts_end, last_update_dts_begin, last_update_dts_end, object_email, object_type, priority, status, tags, unassigned].hash
314
326
  end
315
327
 
316
328
  # 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.197'
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.197
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