ultracart_api 4.0.205 → 4.0.207
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 +6 -4
- data/docs/ChannelPartnerOrder.md +2 -0
- data/docs/WorkflowTask.md +4 -0
- data/lib/ultracart_api/models/channel_partner_order.rb +11 -1
- data/lib/ultracart_api/models/workflow_task.rb +21 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a32e4b9b9e2284bec156283fc8e2a8a5769a6d7383066cb07462e7f38e05033
|
4
|
+
data.tar.gz: 675ca6a156c05dd76b79c48fe3b1db21680a6883e1ba093ce55609f7bb6d2869
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 334694a3dcb0653697d5d7300d371374fd70022d58e05ea31b69624aaa75c360a996adc6c37e8fd523e03712742dfe4c5807a8752669f786fdb1e3ee1dd0e97b
|
7
|
+
data.tar.gz: e6b619b10baf628f0228e970386f0e90ecc07afe6bcd68d9ea86c0f7cb069da46c5e68a987df9e6965cb97704dba03e33a9b51dd3efa1dbffcd68f7f0956b89c
|
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.
|
10
|
+
- Package version: 4.0.207
|
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.
|
27
|
+
gem install ./ultracart_api-4.0.207.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.207.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.
|
36
|
+
gem 'ultracart_api', '~> 4.0.207'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1494,6 +1494,8 @@ Not every change is committed to every SDK.
|
|
1494
1494
|
|
1495
1495
|
| Version | Date | Comments |
|
1496
1496
|
| --: | :-: | --- |
|
1497
|
+
| 4.0.207 | 03/25/2024 | workflowtask - add global_task_number and object_task_number |
|
1498
|
+
| 4.0.206 | 03/25/2024 | added sales_rep_code to Channel partner order |
|
1497
1499
|
| 4.0.205 | 03/19/2024 | workflow task - method to obtain open task count |
|
1498
1500
|
| 4.0.204 | 03/19/2024 | workflow task - addl status values, expiration_dts, and system task type |
|
1499
1501
|
| 4.0.203 | 03/15/2024 | workflow - getWorkflowAgentWebsocketAuthorization method added |
|
data/docs/ChannelPartnerOrder.md
CHANGED
@@ -60,6 +60,7 @@
|
|
60
60
|
| **payment_method** | **String** | Payment method | [optional] |
|
61
61
|
| **purchase_order_number** | **String** | Purchase order number | [optional] |
|
62
62
|
| **rotating_transaction_gateway_code** | **String** | The rotating transaction gateway code for the gateway used to charge this order | [optional] |
|
63
|
+
| **sales_rep_code** | **String** | Sales rep code | [optional] |
|
63
64
|
| **screen_branding_theme_code** | **String** | Screen branding theme code | [optional] |
|
64
65
|
| **ship_on_date** | **String** | Date the customer is requesting that the order ship on. Typically used for perishable product delivery. | [optional] |
|
65
66
|
| **ship_to_residential** | **Boolean** | True if the shipping adress is residential. Effects the methods that are available to the customer as well as the price of the shipping method. | [optional] |
|
@@ -147,6 +148,7 @@ instance = UltracartClient::ChannelPartnerOrder.new(
|
|
147
148
|
payment_method: null,
|
148
149
|
purchase_order_number: null,
|
149
150
|
rotating_transaction_gateway_code: null,
|
151
|
+
sales_rep_code: null,
|
150
152
|
screen_branding_theme_code: null,
|
151
153
|
ship_on_date: null,
|
152
154
|
ship_to_residential: null,
|
data/docs/WorkflowTask.md
CHANGED
@@ -15,12 +15,14 @@
|
|
15
15
|
| **dependant_workflow_task_uuid** | **String** | Dependant Workflow Task UUID (must be completed before this task can be completed) | [optional] |
|
16
16
|
| **due_dts** | **String** | Date/time that the workflow task is due | [optional] |
|
17
17
|
| **expiration_dts** | **String** | Date/time that the workflow task will expire and be closed. This is set by system generated tasks. | [optional] |
|
18
|
+
| **global_task_number** | **Integer** | Global task numer | [optional] |
|
18
19
|
| **histories** | [**Array<WorkflowTaskHistory>**](WorkflowTaskHistory.md) | Array of history records for the task | [optional] |
|
19
20
|
| **last_update_dts** | **String** | Date/time that the workflow task was last updated | [optional] |
|
20
21
|
| **merchant_id** | **String** | Merchant ID | [optional] |
|
21
22
|
| **notes** | [**Array<WorkflowNote>**](WorkflowNote.md) | Notes on the Workflow Task | [optional] |
|
22
23
|
| **object_email** | **String** | Object is associated with customer email | [optional] |
|
23
24
|
| **object_id** | **String** | Object ID | [optional] |
|
25
|
+
| **object_task_number** | **Integer** | Object specific task numer | [optional] |
|
24
26
|
| **object_type** | **String** | Object Type | [optional] |
|
25
27
|
| **object_url** | **String** | Object URL | [optional] |
|
26
28
|
| **priority** | **String** | Priority | [optional] |
|
@@ -51,12 +53,14 @@ instance = UltracartClient::WorkflowTask.new(
|
|
51
53
|
dependant_workflow_task_uuid: null,
|
52
54
|
due_dts: null,
|
53
55
|
expiration_dts: null,
|
56
|
+
global_task_number: null,
|
54
57
|
histories: null,
|
55
58
|
last_update_dts: null,
|
56
59
|
merchant_id: null,
|
57
60
|
notes: null,
|
58
61
|
object_email: null,
|
59
62
|
object_id: null,
|
63
|
+
object_task_number: null,
|
60
64
|
object_type: null,
|
61
65
|
object_url: null,
|
62
66
|
priority: null,
|
@@ -183,6 +183,9 @@ module UltracartClient
|
|
183
183
|
# The rotating transaction gateway code for the gateway used to charge this order
|
184
184
|
attr_accessor :rotating_transaction_gateway_code
|
185
185
|
|
186
|
+
# Sales rep code
|
187
|
+
attr_accessor :sales_rep_code
|
188
|
+
|
186
189
|
# Screen branding theme code
|
187
190
|
attr_accessor :screen_branding_theme_code
|
188
191
|
|
@@ -335,6 +338,7 @@ module UltracartClient
|
|
335
338
|
:'payment_method' => :'payment_method',
|
336
339
|
:'purchase_order_number' => :'purchase_order_number',
|
337
340
|
:'rotating_transaction_gateway_code' => :'rotating_transaction_gateway_code',
|
341
|
+
:'sales_rep_code' => :'sales_rep_code',
|
338
342
|
:'screen_branding_theme_code' => :'screen_branding_theme_code',
|
339
343
|
:'ship_on_date' => :'ship_on_date',
|
340
344
|
:'ship_to_residential' => :'ship_to_residential',
|
@@ -426,6 +430,7 @@ module UltracartClient
|
|
426
430
|
:'payment_method' => :'String',
|
427
431
|
:'purchase_order_number' => :'String',
|
428
432
|
:'rotating_transaction_gateway_code' => :'String',
|
433
|
+
:'sales_rep_code' => :'String',
|
429
434
|
:'screen_branding_theme_code' => :'String',
|
430
435
|
:'ship_on_date' => :'String',
|
431
436
|
:'ship_to_residential' => :'Boolean',
|
@@ -704,6 +709,10 @@ module UltracartClient
|
|
704
709
|
self.rotating_transaction_gateway_code = attributes[:'rotating_transaction_gateway_code']
|
705
710
|
end
|
706
711
|
|
712
|
+
if attributes.key?(:'sales_rep_code')
|
713
|
+
self.sales_rep_code = attributes[:'sales_rep_code']
|
714
|
+
end
|
715
|
+
|
707
716
|
if attributes.key?(:'screen_branding_theme_code')
|
708
717
|
self.screen_branding_theme_code = attributes[:'screen_branding_theme_code']
|
709
718
|
end
|
@@ -1442,6 +1451,7 @@ module UltracartClient
|
|
1442
1451
|
payment_method == o.payment_method &&
|
1443
1452
|
purchase_order_number == o.purchase_order_number &&
|
1444
1453
|
rotating_transaction_gateway_code == o.rotating_transaction_gateway_code &&
|
1454
|
+
sales_rep_code == o.sales_rep_code &&
|
1445
1455
|
screen_branding_theme_code == o.screen_branding_theme_code &&
|
1446
1456
|
ship_on_date == o.ship_on_date &&
|
1447
1457
|
ship_to_residential == o.ship_to_residential &&
|
@@ -1477,7 +1487,7 @@ module UltracartClient
|
|
1477
1487
|
# Calculates hash code according to all attributes.
|
1478
1488
|
# @return [Integer] Hash code
|
1479
1489
|
def hash
|
1480
|
-
[advertising_source, affiliate_id, affiliate_sub_id, arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, associate_with_customer_profile_if_present, auto_approve_purchase_order, billto_address1, billto_address2, billto_city, billto_company, billto_country_code, billto_day_phone, billto_evening_phone, billto_first_name, billto_last_name, billto_postal_code, billto_state_region, billto_title, cc_email, channel_partner_order_id, consider_recurring, coupons, credit_card_authorization_amount, credit_card_authorization_dts, credit_card_authorization_number, credit_card_expiration_month, credit_card_expiration_year, credit_card_type, custom_field1, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, delivery_date, email, gift, gift_email, gift_message, hosted_fields_card_token, hosted_fields_cvv_token, insurance_application_id, insurance_claim_id, ip_address, items, least_cost_route, least_cost_route_shipping_methods, mailing_list_opt_in, no_realtime_payment_processing, payment_method, purchase_order_number, rotating_transaction_gateway_code, screen_branding_theme_code, ship_on_date, ship_to_residential, shipping_method, shipto_address1, shipto_address2, shipto_city, shipto_company, shipto_country_code, shipto_day_phone, shipto_evening_phone, shipto_first_name, shipto_last_name, shipto_postal_code, shipto_state_region, shipto_title, skip_payment_processing, special_instructions, store_completed, store_if_payment_declines, tax_county, tax_exempt, transaction, treat_warnings_as_errors].hash
|
1490
|
+
[advertising_source, affiliate_id, affiliate_sub_id, arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, associate_with_customer_profile_if_present, auto_approve_purchase_order, billto_address1, billto_address2, billto_city, billto_company, billto_country_code, billto_day_phone, billto_evening_phone, billto_first_name, billto_last_name, billto_postal_code, billto_state_region, billto_title, cc_email, channel_partner_order_id, consider_recurring, coupons, credit_card_authorization_amount, credit_card_authorization_dts, credit_card_authorization_number, credit_card_expiration_month, credit_card_expiration_year, credit_card_type, custom_field1, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, delivery_date, email, gift, gift_email, gift_message, hosted_fields_card_token, hosted_fields_cvv_token, insurance_application_id, insurance_claim_id, ip_address, items, least_cost_route, least_cost_route_shipping_methods, mailing_list_opt_in, no_realtime_payment_processing, payment_method, purchase_order_number, rotating_transaction_gateway_code, sales_rep_code, screen_branding_theme_code, ship_on_date, ship_to_residential, shipping_method, shipto_address1, shipto_address2, shipto_city, shipto_company, shipto_country_code, shipto_day_phone, shipto_evening_phone, shipto_first_name, shipto_last_name, shipto_postal_code, shipto_state_region, shipto_title, skip_payment_processing, special_instructions, store_completed, store_if_payment_declines, tax_county, tax_exempt, transaction, treat_warnings_as_errors].hash
|
1481
1491
|
end
|
1482
1492
|
|
1483
1493
|
# Builds the object from hash
|
@@ -47,6 +47,9 @@ module UltracartClient
|
|
47
47
|
# Date/time that the workflow task will expire and be closed. This is set by system generated tasks.
|
48
48
|
attr_accessor :expiration_dts
|
49
49
|
|
50
|
+
# Global task numer
|
51
|
+
attr_accessor :global_task_number
|
52
|
+
|
50
53
|
# Array of history records for the task
|
51
54
|
attr_accessor :histories
|
52
55
|
|
@@ -65,6 +68,9 @@ module UltracartClient
|
|
65
68
|
# Object ID
|
66
69
|
attr_accessor :object_id
|
67
70
|
|
71
|
+
# Object specific task numer
|
72
|
+
attr_accessor :object_task_number
|
73
|
+
|
68
74
|
# Object Type
|
69
75
|
attr_accessor :object_type
|
70
76
|
|
@@ -137,12 +143,14 @@ module UltracartClient
|
|
137
143
|
:'dependant_workflow_task_uuid' => :'dependant_workflow_task_uuid',
|
138
144
|
:'due_dts' => :'due_dts',
|
139
145
|
:'expiration_dts' => :'expiration_dts',
|
146
|
+
:'global_task_number' => :'global_task_number',
|
140
147
|
:'histories' => :'histories',
|
141
148
|
:'last_update_dts' => :'last_update_dts',
|
142
149
|
:'merchant_id' => :'merchant_id',
|
143
150
|
:'notes' => :'notes',
|
144
151
|
:'object_email' => :'object_email',
|
145
152
|
:'object_id' => :'object_id',
|
153
|
+
:'object_task_number' => :'object_task_number',
|
146
154
|
:'object_type' => :'object_type',
|
147
155
|
:'object_url' => :'object_url',
|
148
156
|
:'priority' => :'priority',
|
@@ -177,12 +185,14 @@ module UltracartClient
|
|
177
185
|
:'dependant_workflow_task_uuid' => :'String',
|
178
186
|
:'due_dts' => :'String',
|
179
187
|
:'expiration_dts' => :'String',
|
188
|
+
:'global_task_number' => :'Integer',
|
180
189
|
:'histories' => :'Array<WorkflowTaskHistory>',
|
181
190
|
:'last_update_dts' => :'String',
|
182
191
|
:'merchant_id' => :'String',
|
183
192
|
:'notes' => :'Array<WorkflowNote>',
|
184
193
|
:'object_email' => :'String',
|
185
194
|
:'object_id' => :'String',
|
195
|
+
:'object_task_number' => :'Integer',
|
186
196
|
:'object_type' => :'String',
|
187
197
|
:'object_url' => :'String',
|
188
198
|
:'priority' => :'String',
|
@@ -265,6 +275,10 @@ module UltracartClient
|
|
265
275
|
self.expiration_dts = attributes[:'expiration_dts']
|
266
276
|
end
|
267
277
|
|
278
|
+
if attributes.key?(:'global_task_number')
|
279
|
+
self.global_task_number = attributes[:'global_task_number']
|
280
|
+
end
|
281
|
+
|
268
282
|
if attributes.key?(:'histories')
|
269
283
|
if (value = attributes[:'histories']).is_a?(Array)
|
270
284
|
self.histories = value
|
@@ -293,6 +307,10 @@ module UltracartClient
|
|
293
307
|
self.object_id = attributes[:'object_id']
|
294
308
|
end
|
295
309
|
|
310
|
+
if attributes.key?(:'object_task_number')
|
311
|
+
self.object_task_number = attributes[:'object_task_number']
|
312
|
+
end
|
313
|
+
|
296
314
|
if attributes.key?(:'object_type')
|
297
315
|
self.object_type = attributes[:'object_type']
|
298
316
|
end
|
@@ -423,12 +441,14 @@ module UltracartClient
|
|
423
441
|
dependant_workflow_task_uuid == o.dependant_workflow_task_uuid &&
|
424
442
|
due_dts == o.due_dts &&
|
425
443
|
expiration_dts == o.expiration_dts &&
|
444
|
+
global_task_number == o.global_task_number &&
|
426
445
|
histories == o.histories &&
|
427
446
|
last_update_dts == o.last_update_dts &&
|
428
447
|
merchant_id == o.merchant_id &&
|
429
448
|
notes == o.notes &&
|
430
449
|
object_email == o.object_email &&
|
431
450
|
object_id == o.object_id &&
|
451
|
+
object_task_number == o.object_task_number &&
|
432
452
|
object_type == o.object_type &&
|
433
453
|
object_url == o.object_url &&
|
434
454
|
priority == o.priority &&
|
@@ -452,7 +472,7 @@ module UltracartClient
|
|
452
472
|
# Calculates hash code according to all attributes.
|
453
473
|
# @return [Integer] Hash code
|
454
474
|
def hash
|
455
|
-
[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, expiration_dts, histories, last_update_dts, merchant_id, notes, object_email, object_id, object_type, object_url, priority, properties, related_workflow_task_uuid, status, system_task_type, tags, task_context, task_details, task_name, workflow_task_uuid].hash
|
475
|
+
[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, expiration_dts, global_task_number, histories, last_update_dts, merchant_id, notes, object_email, object_id, object_task_number, object_type, object_url, priority, properties, related_workflow_task_uuid, status, system_task_type, tags, task_context, task_details, task_name, workflow_task_uuid].hash
|
456
476
|
end
|
457
477
|
|
458
478
|
# Builds the object from hash
|
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.
|
4
|
+
version: 4.0.207
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|