ultracart_rest_api_v2_typescript 3.10.178 → 3.10.180
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.
- package/README.md +4 -2
- package/api.ts +41 -5
- package/dist/api.d.ts +41 -5
- package/dist/api.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@3.10.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@3.10.180
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install ultracart_rest_api_v2_typescript@3.10.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@3.10.180 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 3.10.180 | 01/10/2024 | workflow tasks - support for searching by tags |
|
|
58
|
+
| 3.10.179 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
|
|
57
59
|
| 3.10.178 | 01/03/2024 | workflow - add task_context field to task obj |
|
|
58
60
|
| 3.10.177 | 12/15/2023 | bug fix on bad docs breaking yaml schema |
|
|
59
61
|
| 3.10.176 | 12/12/2023 | webhook - added event ruler property |
|
package/api.ts
CHANGED
|
@@ -5107,6 +5107,18 @@ export interface CartSummary {
|
|
|
5107
5107
|
* @memberof CartSummary
|
|
5108
5108
|
*/
|
|
5109
5109
|
health_benefit_card_amount?: Currency;
|
|
5110
|
+
/**
|
|
5111
|
+
*
|
|
5112
|
+
* @type {Currency}
|
|
5113
|
+
* @memberof CartSummary
|
|
5114
|
+
*/
|
|
5115
|
+
health_benefit_card_balance?: Currency;
|
|
5116
|
+
/**
|
|
5117
|
+
* Health benefit card requirements
|
|
5118
|
+
* @type {string}
|
|
5119
|
+
* @memberof CartSummary
|
|
5120
|
+
*/
|
|
5121
|
+
health_benefit_card_requirements?: string;
|
|
5110
5122
|
/**
|
|
5111
5123
|
*
|
|
5112
5124
|
* @type {Currency}
|
|
@@ -41411,6 +41423,12 @@ export interface WorkflowTask {
|
|
|
41411
41423
|
* @memberof WorkflowTask
|
|
41412
41424
|
*/
|
|
41413
41425
|
delay_until_dts?: string;
|
|
41426
|
+
/**
|
|
41427
|
+
* Dependant Workflow Task UUID (must be completed before this task can be completed)
|
|
41428
|
+
* @type {string}
|
|
41429
|
+
* @memberof WorkflowTask
|
|
41430
|
+
*/
|
|
41431
|
+
dependant_workflow_task_uuid?: string;
|
|
41414
41432
|
/**
|
|
41415
41433
|
* Date/time that the workflow task is due
|
|
41416
41434
|
* @type {string}
|
|
@@ -41471,12 +41489,24 @@ export interface WorkflowTask {
|
|
|
41471
41489
|
* @memberof WorkflowTask
|
|
41472
41490
|
*/
|
|
41473
41491
|
priority?: WorkflowTask.PriorityEnum;
|
|
41492
|
+
/**
|
|
41493
|
+
* Related Workflow Task UUID
|
|
41494
|
+
* @type {string}
|
|
41495
|
+
* @memberof WorkflowTask
|
|
41496
|
+
*/
|
|
41497
|
+
related_workflow_task_uuid?: string;
|
|
41474
41498
|
/**
|
|
41475
41499
|
* Status of the workflow task
|
|
41476
41500
|
* @type {string}
|
|
41477
41501
|
* @memberof WorkflowTask
|
|
41478
41502
|
*/
|
|
41479
41503
|
status?: WorkflowTask.StatusEnum;
|
|
41504
|
+
/**
|
|
41505
|
+
* Tags
|
|
41506
|
+
* @type {Array<string>}
|
|
41507
|
+
* @memberof WorkflowTask
|
|
41508
|
+
*/
|
|
41509
|
+
tags?: Array<string>;
|
|
41480
41510
|
/**
|
|
41481
41511
|
* User friendly string of the task context
|
|
41482
41512
|
* @type {string}
|
|
@@ -41713,6 +41743,12 @@ export interface WorkflowTasksRequest {
|
|
|
41713
41743
|
* @memberof WorkflowTasksRequest
|
|
41714
41744
|
*/
|
|
41715
41745
|
status?: WorkflowTasksRequest.StatusEnum;
|
|
41746
|
+
/**
|
|
41747
|
+
* Tasks that are tagged with the specified tags
|
|
41748
|
+
* @type {Array<string>}
|
|
41749
|
+
* @memberof WorkflowTasksRequest
|
|
41750
|
+
*/
|
|
41751
|
+
tags?: Array<string>;
|
|
41716
41752
|
/**
|
|
41717
41753
|
* Tasks that are unassigned to a user or group
|
|
41718
41754
|
* @type {boolean}
|
|
@@ -64636,7 +64672,7 @@ export const OrderApiFetchParamCreator = function (configuration?: Configuration
|
|
|
64636
64672
|
};
|
|
64637
64673
|
},
|
|
64638
64674
|
/**
|
|
64639
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
64675
|
+
* 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.
|
|
64640
64676
|
* @summary Refund an order
|
|
64641
64677
|
* @param {Order} order Order to refund
|
|
64642
64678
|
* @param {string} order_id The order id to refund.
|
|
@@ -65547,7 +65583,7 @@ export const OrderApiFp = function(configuration?: Configuration) {
|
|
|
65547
65583
|
};
|
|
65548
65584
|
},
|
|
65549
65585
|
/**
|
|
65550
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
65586
|
+
* 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.
|
|
65551
65587
|
* @summary Refund an order
|
|
65552
65588
|
* @param {Order} order Order to refund
|
|
65553
65589
|
* @param {string} order_id The order id to refund.
|
|
@@ -65959,7 +65995,7 @@ export const OrderApiFactory = function (configuration?: Configuration, fetch?:
|
|
|
65959
65995
|
return OrderApiFp(configuration).processPayment(order_id, process_payment_request, options)(fetch, basePath);
|
|
65960
65996
|
},
|
|
65961
65997
|
/**
|
|
65962
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
65998
|
+
* 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.
|
|
65963
65999
|
* @summary Refund an order
|
|
65964
66000
|
* @param {Order} order Order to refund
|
|
65965
66001
|
* @param {string} order_id The order id to refund.
|
|
@@ -66294,7 +66330,7 @@ export interface OrderApiInterface {
|
|
|
66294
66330
|
processPayment(order_id: string, process_payment_request: OrderProcessPaymentRequest, options?: any): Promise<OrderProcessPaymentResponse>;
|
|
66295
66331
|
|
|
66296
66332
|
/**
|
|
66297
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
66333
|
+
* 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.
|
|
66298
66334
|
* @summary Refund an order
|
|
66299
66335
|
* @param {Order} order Order to refund
|
|
66300
66336
|
* @param {string} order_id The order id to refund.
|
|
@@ -66669,7 +66705,7 @@ export class OrderApi extends BaseAPI implements OrderApiInterface {
|
|
|
66669
66705
|
}
|
|
66670
66706
|
|
|
66671
66707
|
/**
|
|
66672
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
66708
|
+
* 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.
|
|
66673
66709
|
* @summary Refund an order
|
|
66674
66710
|
* @param {Order} order Order to refund
|
|
66675
66711
|
* @param {string} order_id The order id to refund.
|
package/dist/api.d.ts
CHANGED
|
@@ -4983,6 +4983,18 @@ export interface CartSummary {
|
|
|
4983
4983
|
* @memberof CartSummary
|
|
4984
4984
|
*/
|
|
4985
4985
|
health_benefit_card_amount?: Currency;
|
|
4986
|
+
/**
|
|
4987
|
+
*
|
|
4988
|
+
* @type {Currency}
|
|
4989
|
+
* @memberof CartSummary
|
|
4990
|
+
*/
|
|
4991
|
+
health_benefit_card_balance?: Currency;
|
|
4992
|
+
/**
|
|
4993
|
+
* Health benefit card requirements
|
|
4994
|
+
* @type {string}
|
|
4995
|
+
* @memberof CartSummary
|
|
4996
|
+
*/
|
|
4997
|
+
health_benefit_card_requirements?: string;
|
|
4986
4998
|
/**
|
|
4987
4999
|
*
|
|
4988
5000
|
* @type {Currency}
|
|
@@ -40532,6 +40544,12 @@ export interface WorkflowTask {
|
|
|
40532
40544
|
* @memberof WorkflowTask
|
|
40533
40545
|
*/
|
|
40534
40546
|
delay_until_dts?: string;
|
|
40547
|
+
/**
|
|
40548
|
+
* Dependant Workflow Task UUID (must be completed before this task can be completed)
|
|
40549
|
+
* @type {string}
|
|
40550
|
+
* @memberof WorkflowTask
|
|
40551
|
+
*/
|
|
40552
|
+
dependant_workflow_task_uuid?: string;
|
|
40535
40553
|
/**
|
|
40536
40554
|
* Date/time that the workflow task is due
|
|
40537
40555
|
* @type {string}
|
|
@@ -40592,12 +40610,24 @@ export interface WorkflowTask {
|
|
|
40592
40610
|
* @memberof WorkflowTask
|
|
40593
40611
|
*/
|
|
40594
40612
|
priority?: WorkflowTask.PriorityEnum;
|
|
40613
|
+
/**
|
|
40614
|
+
* Related Workflow Task UUID
|
|
40615
|
+
* @type {string}
|
|
40616
|
+
* @memberof WorkflowTask
|
|
40617
|
+
*/
|
|
40618
|
+
related_workflow_task_uuid?: string;
|
|
40595
40619
|
/**
|
|
40596
40620
|
* Status of the workflow task
|
|
40597
40621
|
* @type {string}
|
|
40598
40622
|
* @memberof WorkflowTask
|
|
40599
40623
|
*/
|
|
40600
40624
|
status?: WorkflowTask.StatusEnum;
|
|
40625
|
+
/**
|
|
40626
|
+
* Tags
|
|
40627
|
+
* @type {Array<string>}
|
|
40628
|
+
* @memberof WorkflowTask
|
|
40629
|
+
*/
|
|
40630
|
+
tags?: Array<string>;
|
|
40601
40631
|
/**
|
|
40602
40632
|
* User friendly string of the task context
|
|
40603
40633
|
* @type {string}
|
|
@@ -40830,6 +40860,12 @@ export interface WorkflowTasksRequest {
|
|
|
40830
40860
|
* @memberof WorkflowTasksRequest
|
|
40831
40861
|
*/
|
|
40832
40862
|
status?: WorkflowTasksRequest.StatusEnum;
|
|
40863
|
+
/**
|
|
40864
|
+
* Tasks that are tagged with the specified tags
|
|
40865
|
+
* @type {Array<string>}
|
|
40866
|
+
* @memberof WorkflowTasksRequest
|
|
40867
|
+
*/
|
|
40868
|
+
tags?: Array<string>;
|
|
40833
40869
|
/**
|
|
40834
40870
|
* Tasks that are unassigned to a user or group
|
|
40835
40871
|
* @type {boolean}
|
|
@@ -50135,7 +50171,7 @@ export declare const OrderApiFetchParamCreator: (configuration?: Configuration)
|
|
|
50135
50171
|
*/
|
|
50136
50172
|
processPayment(order_id: string, process_payment_request: OrderProcessPaymentRequest, options?: any): FetchArgs;
|
|
50137
50173
|
/**
|
|
50138
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
50174
|
+
* 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.
|
|
50139
50175
|
* @summary Refund an order
|
|
50140
50176
|
* @param {Order} order Order to refund
|
|
50141
50177
|
* @param {string} order_id The order id to refund.
|
|
@@ -50413,7 +50449,7 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
50413
50449
|
*/
|
|
50414
50450
|
processPayment(order_id: string, process_payment_request: OrderProcessPaymentRequest, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrderProcessPaymentResponse>;
|
|
50415
50451
|
/**
|
|
50416
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
50452
|
+
* 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.
|
|
50417
50453
|
* @summary Refund an order
|
|
50418
50454
|
* @param {Order} order Order to refund
|
|
50419
50455
|
* @param {string} order_id The order id to refund.
|
|
@@ -50691,7 +50727,7 @@ export declare const OrderApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
50691
50727
|
*/
|
|
50692
50728
|
processPayment(order_id: string, process_payment_request: OrderProcessPaymentRequest, options?: any): Promise<OrderProcessPaymentResponse>;
|
|
50693
50729
|
/**
|
|
50694
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
50730
|
+
* 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.
|
|
50695
50731
|
* @summary Refund an order
|
|
50696
50732
|
* @param {Order} order Order to refund
|
|
50697
50733
|
* @param {string} order_id The order id to refund.
|
|
@@ -50990,7 +51026,7 @@ export interface OrderApiInterface {
|
|
|
50990
51026
|
*/
|
|
50991
51027
|
processPayment(order_id: string, process_payment_request: OrderProcessPaymentRequest, options?: any): Promise<OrderProcessPaymentResponse>;
|
|
50992
51028
|
/**
|
|
50993
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
51029
|
+
* 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.
|
|
50994
51030
|
* @summary Refund an order
|
|
50995
51031
|
* @param {Order} order Order to refund
|
|
50996
51032
|
* @param {string} order_id The order id to refund.
|
|
@@ -51297,7 +51333,7 @@ export declare class OrderApi extends BaseAPI implements OrderApiInterface {
|
|
|
51297
51333
|
*/
|
|
51298
51334
|
processPayment(order_id: string, process_payment_request: OrderProcessPaymentRequest, options?: any): Promise<OrderProcessPaymentResponse>;
|
|
51299
51335
|
/**
|
|
51300
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
51336
|
+
* 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.
|
|
51301
51337
|
* @summary Refund an order
|
|
51302
51338
|
* @param {Order} order Order to refund
|
|
51303
51339
|
* @param {string} order_id The order id to refund.
|
package/dist/api.js
CHANGED
|
@@ -20848,7 +20848,7 @@ var OrderApiFetchParamCreator = function (configuration) {
|
|
|
20848
20848
|
};
|
|
20849
20849
|
},
|
|
20850
20850
|
/**
|
|
20851
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
20851
|
+
* 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.
|
|
20852
20852
|
* @summary Refund an order
|
|
20853
20853
|
* @param {Order} order Order to refund
|
|
20854
20854
|
* @param {string} order_id The order id to refund.
|
|
@@ -21724,7 +21724,7 @@ var OrderApiFp = function (configuration) {
|
|
|
21724
21724
|
};
|
|
21725
21725
|
},
|
|
21726
21726
|
/**
|
|
21727
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
21727
|
+
* 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.
|
|
21728
21728
|
* @summary Refund an order
|
|
21729
21729
|
* @param {Order} order Order to refund
|
|
21730
21730
|
* @param {string} order_id The order id to refund.
|
|
@@ -22143,7 +22143,7 @@ var OrderApiFactory = function (configuration, fetch, basePath) {
|
|
|
22143
22143
|
return (0, exports.OrderApiFp)(configuration).processPayment(order_id, process_payment_request, options)(fetch, basePath);
|
|
22144
22144
|
},
|
|
22145
22145
|
/**
|
|
22146
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
22146
|
+
* 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.
|
|
22147
22147
|
* @summary Refund an order
|
|
22148
22148
|
* @param {Order} order Order to refund
|
|
22149
22149
|
* @param {string} order_id The order id to refund.
|
|
@@ -22503,7 +22503,7 @@ var OrderApi = /** @class */ (function (_super) {
|
|
|
22503
22503
|
return (0, exports.OrderApiFp)(this.configuration).processPayment(order_id, process_payment_request, options)(this.fetch, this.basePath);
|
|
22504
22504
|
};
|
|
22505
22505
|
/**
|
|
22506
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
22506
|
+
* 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.
|
|
22507
22507
|
* @summary Refund an order
|
|
22508
22508
|
* @param {Order} order Order to refund
|
|
22509
22509
|
* @param {string} order_id The order id to refund.
|