ultracart_rest_api_v2_typescript 3.10.178 → 3.10.179
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 +3 -2
- package/api.ts +35 -5
- package/dist/api.d.ts +35 -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.179
|
|
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.179 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,7 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 3.10.179 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
|
|
57
58
|
| 3.10.178 | 01/03/2024 | workflow - add task_context field to task obj |
|
|
58
59
|
| 3.10.177 | 12/15/2023 | bug fix on bad docs breaking yaml schema |
|
|
59
60
|
| 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}
|
|
@@ -64636,7 +64666,7 @@ export const OrderApiFetchParamCreator = function (configuration?: Configuration
|
|
|
64636
64666
|
};
|
|
64637
64667
|
},
|
|
64638
64668
|
/**
|
|
64639
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
64669
|
+
* 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
64670
|
* @summary Refund an order
|
|
64641
64671
|
* @param {Order} order Order to refund
|
|
64642
64672
|
* @param {string} order_id The order id to refund.
|
|
@@ -65547,7 +65577,7 @@ export const OrderApiFp = function(configuration?: Configuration) {
|
|
|
65547
65577
|
};
|
|
65548
65578
|
},
|
|
65549
65579
|
/**
|
|
65550
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
65580
|
+
* 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
65581
|
* @summary Refund an order
|
|
65552
65582
|
* @param {Order} order Order to refund
|
|
65553
65583
|
* @param {string} order_id The order id to refund.
|
|
@@ -65959,7 +65989,7 @@ export const OrderApiFactory = function (configuration?: Configuration, fetch?:
|
|
|
65959
65989
|
return OrderApiFp(configuration).processPayment(order_id, process_payment_request, options)(fetch, basePath);
|
|
65960
65990
|
},
|
|
65961
65991
|
/**
|
|
65962
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
65992
|
+
* 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
65993
|
* @summary Refund an order
|
|
65964
65994
|
* @param {Order} order Order to refund
|
|
65965
65995
|
* @param {string} order_id The order id to refund.
|
|
@@ -66294,7 +66324,7 @@ export interface OrderApiInterface {
|
|
|
66294
66324
|
processPayment(order_id: string, process_payment_request: OrderProcessPaymentRequest, options?: any): Promise<OrderProcessPaymentResponse>;
|
|
66295
66325
|
|
|
66296
66326
|
/**
|
|
66297
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
66327
|
+
* 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
66328
|
* @summary Refund an order
|
|
66299
66329
|
* @param {Order} order Order to refund
|
|
66300
66330
|
* @param {string} order_id The order id to refund.
|
|
@@ -66669,7 +66699,7 @@ export class OrderApi extends BaseAPI implements OrderApiInterface {
|
|
|
66669
66699
|
}
|
|
66670
66700
|
|
|
66671
66701
|
/**
|
|
66672
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
66702
|
+
* 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
66703
|
* @summary Refund an order
|
|
66674
66704
|
* @param {Order} order Order to refund
|
|
66675
66705
|
* @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}
|
|
@@ -50135,7 +50165,7 @@ export declare const OrderApiFetchParamCreator: (configuration?: Configuration)
|
|
|
50135
50165
|
*/
|
|
50136
50166
|
processPayment(order_id: string, process_payment_request: OrderProcessPaymentRequest, options?: any): FetchArgs;
|
|
50137
50167
|
/**
|
|
50138
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
50168
|
+
* 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
50169
|
* @summary Refund an order
|
|
50140
50170
|
* @param {Order} order Order to refund
|
|
50141
50171
|
* @param {string} order_id The order id to refund.
|
|
@@ -50413,7 +50443,7 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
50413
50443
|
*/
|
|
50414
50444
|
processPayment(order_id: string, process_payment_request: OrderProcessPaymentRequest, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrderProcessPaymentResponse>;
|
|
50415
50445
|
/**
|
|
50416
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
50446
|
+
* 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
50447
|
* @summary Refund an order
|
|
50418
50448
|
* @param {Order} order Order to refund
|
|
50419
50449
|
* @param {string} order_id The order id to refund.
|
|
@@ -50691,7 +50721,7 @@ export declare const OrderApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
50691
50721
|
*/
|
|
50692
50722
|
processPayment(order_id: string, process_payment_request: OrderProcessPaymentRequest, options?: any): Promise<OrderProcessPaymentResponse>;
|
|
50693
50723
|
/**
|
|
50694
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
50724
|
+
* 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
50725
|
* @summary Refund an order
|
|
50696
50726
|
* @param {Order} order Order to refund
|
|
50697
50727
|
* @param {string} order_id The order id to refund.
|
|
@@ -50990,7 +51020,7 @@ export interface OrderApiInterface {
|
|
|
50990
51020
|
*/
|
|
50991
51021
|
processPayment(order_id: string, process_payment_request: OrderProcessPaymentRequest, options?: any): Promise<OrderProcessPaymentResponse>;
|
|
50992
51022
|
/**
|
|
50993
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
51023
|
+
* 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
51024
|
* @summary Refund an order
|
|
50995
51025
|
* @param {Order} order Order to refund
|
|
50996
51026
|
* @param {string} order_id The order id to refund.
|
|
@@ -51297,7 +51327,7 @@ export declare class OrderApi extends BaseAPI implements OrderApiInterface {
|
|
|
51297
51327
|
*/
|
|
51298
51328
|
processPayment(order_id: string, process_payment_request: OrderProcessPaymentRequest, options?: any): Promise<OrderProcessPaymentResponse>;
|
|
51299
51329
|
/**
|
|
51300
|
-
* Perform a refund operation on an order and then update the order if successful
|
|
51330
|
+
* 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
51331
|
* @summary Refund an order
|
|
51302
51332
|
* @param {Order} order Order to refund
|
|
51303
51333
|
* @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.
|