ultracart_rest_api_v2_typescript 3.10.60 → 3.10.62
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 +35 -2
- package/dist/api.d.ts +34 -2
- package/dist/api.js +1 -0
- 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.62
|
|
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.62 --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.62 | 11/09/2022 | conversations - add an enum of event typing |
|
|
58
|
+
| 3.10.61 | 11/04/2022 | new coupon type percent based on msrp |
|
|
57
59
|
| 3.10.60 | 10/31/2022 | communication bug fix on dup annonation |
|
|
58
60
|
| 3.10.59 | 10/31/2022 | communications - addl statistics on EmailStepStat object |
|
|
59
61
|
| 3.10.58 | 10/26/2022 | esp - methods for sms testing |
|
package/api.ts
CHANGED
|
@@ -7488,7 +7488,8 @@ export namespace ConversationWebsocketMessage {
|
|
|
7488
7488
|
QueueStatusUpdate = <any> 'queue status update',
|
|
7489
7489
|
Rrweb = <any> 'rrweb',
|
|
7490
7490
|
ParticipantUpdate = <any> 'participant update',
|
|
7491
|
-
ReadMessage = <any> 'read message'
|
|
7491
|
+
ReadMessage = <any> 'read message',
|
|
7492
|
+
Typing = <any> 'typing'
|
|
7492
7493
|
}
|
|
7493
7494
|
/**
|
|
7494
7495
|
* @export
|
|
@@ -7934,6 +7935,12 @@ export interface Coupon {
|
|
|
7934
7935
|
* @memberof Coupon
|
|
7935
7936
|
*/
|
|
7936
7937
|
tiered_percent_off_subtotal?: CouponTieredPercentOffSubtotal;
|
|
7938
|
+
/**
|
|
7939
|
+
*
|
|
7940
|
+
* @type {CouponTieredPercentOffSubtotalBasedOnMSRP}
|
|
7941
|
+
* @memberof Coupon
|
|
7942
|
+
*/
|
|
7943
|
+
tiered_percent_off_subtotal_based_on_msrp?: CouponTieredPercentOffSubtotalBasedOnMSRP;
|
|
7937
7944
|
/**
|
|
7938
7945
|
* Who may use this coupon.
|
|
7939
7946
|
* @type {string}
|
|
@@ -9710,6 +9717,26 @@ export interface CouponTieredPercentOffSubtotal {
|
|
|
9710
9717
|
tiers?: Array<CouponTierPercent>;
|
|
9711
9718
|
}
|
|
9712
9719
|
|
|
9720
|
+
/**
|
|
9721
|
+
*
|
|
9722
|
+
* @export
|
|
9723
|
+
* @interface CouponTieredPercentOffSubtotalBasedOnMSRP
|
|
9724
|
+
*/
|
|
9725
|
+
export interface CouponTieredPercentOffSubtotalBasedOnMSRP {
|
|
9726
|
+
/**
|
|
9727
|
+
* An optional list of items of which a quantity of one or many must be purchased for coupon to be valid. If empty, all items apply toward subtotal amount.
|
|
9728
|
+
* @type {Array<string>}
|
|
9729
|
+
* @memberof CouponTieredPercentOffSubtotalBasedOnMSRP
|
|
9730
|
+
*/
|
|
9731
|
+
items?: Array<string>;
|
|
9732
|
+
/**
|
|
9733
|
+
* A list of discount tiers.
|
|
9734
|
+
* @type {Array<CouponTierPercent>}
|
|
9735
|
+
* @memberof CouponTieredPercentOffSubtotalBasedOnMSRP
|
|
9736
|
+
*/
|
|
9737
|
+
tiers?: Array<CouponTierPercent>;
|
|
9738
|
+
}
|
|
9739
|
+
|
|
9713
9740
|
/**
|
|
9714
9741
|
*
|
|
9715
9742
|
* @export
|
|
@@ -22120,7 +22147,13 @@ export interface ItemFulfillmentAddon {
|
|
|
22120
22147
|
*/
|
|
22121
22148
|
add_item_oid?: number;
|
|
22122
22149
|
/**
|
|
22123
|
-
*
|
|
22150
|
+
* Initial Order Only
|
|
22151
|
+
* @type {boolean}
|
|
22152
|
+
* @memberof ItemFulfillmentAddon
|
|
22153
|
+
*/
|
|
22154
|
+
initial_order_only?: boolean;
|
|
22155
|
+
/**
|
|
22156
|
+
* Once Per Order
|
|
22124
22157
|
* @type {boolean}
|
|
22125
22158
|
* @memberof ItemFulfillmentAddon
|
|
22126
22159
|
*/
|
package/dist/api.d.ts
CHANGED
|
@@ -7311,7 +7311,8 @@ export declare namespace ConversationWebsocketMessage {
|
|
|
7311
7311
|
QueueStatusUpdate,
|
|
7312
7312
|
Rrweb,
|
|
7313
7313
|
ParticipantUpdate,
|
|
7314
|
-
ReadMessage
|
|
7314
|
+
ReadMessage,
|
|
7315
|
+
Typing
|
|
7315
7316
|
}
|
|
7316
7317
|
/**
|
|
7317
7318
|
* @export
|
|
@@ -7753,6 +7754,12 @@ export interface Coupon {
|
|
|
7753
7754
|
* @memberof Coupon
|
|
7754
7755
|
*/
|
|
7755
7756
|
tiered_percent_off_subtotal?: CouponTieredPercentOffSubtotal;
|
|
7757
|
+
/**
|
|
7758
|
+
*
|
|
7759
|
+
* @type {CouponTieredPercentOffSubtotalBasedOnMSRP}
|
|
7760
|
+
* @memberof Coupon
|
|
7761
|
+
*/
|
|
7762
|
+
tiered_percent_off_subtotal_based_on_msrp?: CouponTieredPercentOffSubtotalBasedOnMSRP;
|
|
7756
7763
|
/**
|
|
7757
7764
|
* Who may use this coupon.
|
|
7758
7765
|
* @type {string}
|
|
@@ -9469,6 +9476,25 @@ export interface CouponTieredPercentOffSubtotal {
|
|
|
9469
9476
|
*/
|
|
9470
9477
|
tiers?: Array<CouponTierPercent>;
|
|
9471
9478
|
}
|
|
9479
|
+
/**
|
|
9480
|
+
*
|
|
9481
|
+
* @export
|
|
9482
|
+
* @interface CouponTieredPercentOffSubtotalBasedOnMSRP
|
|
9483
|
+
*/
|
|
9484
|
+
export interface CouponTieredPercentOffSubtotalBasedOnMSRP {
|
|
9485
|
+
/**
|
|
9486
|
+
* An optional list of items of which a quantity of one or many must be purchased for coupon to be valid. If empty, all items apply toward subtotal amount.
|
|
9487
|
+
* @type {Array<string>}
|
|
9488
|
+
* @memberof CouponTieredPercentOffSubtotalBasedOnMSRP
|
|
9489
|
+
*/
|
|
9490
|
+
items?: Array<string>;
|
|
9491
|
+
/**
|
|
9492
|
+
* A list of discount tiers.
|
|
9493
|
+
* @type {Array<CouponTierPercent>}
|
|
9494
|
+
* @memberof CouponTieredPercentOffSubtotalBasedOnMSRP
|
|
9495
|
+
*/
|
|
9496
|
+
tiers?: Array<CouponTierPercent>;
|
|
9497
|
+
}
|
|
9472
9498
|
/**
|
|
9473
9499
|
*
|
|
9474
9500
|
* @export
|
|
@@ -21653,7 +21679,13 @@ export interface ItemFulfillmentAddon {
|
|
|
21653
21679
|
*/
|
|
21654
21680
|
add_item_oid?: number;
|
|
21655
21681
|
/**
|
|
21656
|
-
*
|
|
21682
|
+
* Initial Order Only
|
|
21683
|
+
* @type {boolean}
|
|
21684
|
+
* @memberof ItemFulfillmentAddon
|
|
21685
|
+
*/
|
|
21686
|
+
initial_order_only?: boolean;
|
|
21687
|
+
/**
|
|
21688
|
+
* Once Per Order
|
|
21657
21689
|
* @type {boolean}
|
|
21658
21690
|
* @memberof ItemFulfillmentAddon
|
|
21659
21691
|
*/
|
package/dist/api.js
CHANGED
|
@@ -487,6 +487,7 @@ var ConversationWebsocketMessage;
|
|
|
487
487
|
EventTypeEnum[EventTypeEnum["Rrweb"] = 'rrweb'] = "Rrweb";
|
|
488
488
|
EventTypeEnum[EventTypeEnum["ParticipantUpdate"] = 'participant update'] = "ParticipantUpdate";
|
|
489
489
|
EventTypeEnum[EventTypeEnum["ReadMessage"] = 'read message'] = "ReadMessage";
|
|
490
|
+
EventTypeEnum[EventTypeEnum["Typing"] = 'typing'] = "Typing";
|
|
490
491
|
})(EventTypeEnum = ConversationWebsocketMessage.EventTypeEnum || (ConversationWebsocketMessage.EventTypeEnum = {}));
|
|
491
492
|
/**
|
|
492
493
|
* @export
|