ultracart_rest_api_v2_typescript 3.10.96 → 3.10.98
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 +39 -1
- package/dist/api.d.ts +38 -1
- package/dist/api.js +1 -1
- 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.98
|
|
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.98 --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.98 | 01/17/2023 | changed convo webchat constant |
|
|
58
|
+
| 3.10.97 | 01/17/2023 | support for checkout item properties |
|
|
57
59
|
| 3.10.96 | 01/14/2023 | add external_id to the point of sale location object |
|
|
58
60
|
| 3.10.95 | 01/13/2023 | channel - ops to manage ship to prefs |
|
|
59
61
|
| 3.10.94 | 01/11/2023 | conversations - adjust search results to return multiple convo summaries |
|
package/api.ts
CHANGED
|
@@ -3377,6 +3377,12 @@ export interface CartItem {
|
|
|
3377
3377
|
* @memberof CartItem
|
|
3378
3378
|
*/
|
|
3379
3379
|
preorder?: boolean;
|
|
3380
|
+
/**
|
|
3381
|
+
* Properties associated with the item
|
|
3382
|
+
* @type {Array<CartItemProperty>}
|
|
3383
|
+
* @memberof CartItem
|
|
3384
|
+
*/
|
|
3385
|
+
properties?: Array<CartItemProperty>;
|
|
3380
3386
|
/**
|
|
3381
3387
|
* quantity
|
|
3382
3388
|
* @type {number}
|
|
@@ -3746,6 +3752,38 @@ export interface CartItemPhysical {
|
|
|
3746
3752
|
width?: Distance;
|
|
3747
3753
|
}
|
|
3748
3754
|
|
|
3755
|
+
/**
|
|
3756
|
+
*
|
|
3757
|
+
* @export
|
|
3758
|
+
* @interface CartItemProperty
|
|
3759
|
+
*/
|
|
3760
|
+
export interface CartItemProperty {
|
|
3761
|
+
/**
|
|
3762
|
+
* True if this property is displayed to the customer
|
|
3763
|
+
* @type {boolean}
|
|
3764
|
+
* @memberof CartItemProperty
|
|
3765
|
+
*/
|
|
3766
|
+
display?: boolean;
|
|
3767
|
+
/**
|
|
3768
|
+
* The date/time that the property expires and is deleted
|
|
3769
|
+
* @type {string}
|
|
3770
|
+
* @memberof CartItemProperty
|
|
3771
|
+
*/
|
|
3772
|
+
expiration_dts?: string;
|
|
3773
|
+
/**
|
|
3774
|
+
* Name
|
|
3775
|
+
* @type {string}
|
|
3776
|
+
* @memberof CartItemProperty
|
|
3777
|
+
*/
|
|
3778
|
+
name?: string;
|
|
3779
|
+
/**
|
|
3780
|
+
* Value
|
|
3781
|
+
* @type {string}
|
|
3782
|
+
* @memberof CartItemProperty
|
|
3783
|
+
*/
|
|
3784
|
+
value?: string;
|
|
3785
|
+
}
|
|
3786
|
+
|
|
3749
3787
|
/**
|
|
3750
3788
|
*
|
|
3751
3789
|
* @export
|
|
@@ -8792,7 +8830,7 @@ export namespace ConversationWebsocketMessage {
|
|
|
8792
8830
|
Rrweb = <any> 'rrweb',
|
|
8793
8831
|
ParticipantUpdate = <any> 'participant update',
|
|
8794
8832
|
ParticipantJoin = <any> 'participant join',
|
|
8795
|
-
|
|
8833
|
+
ParticipantLeft = <any> 'participant left',
|
|
8796
8834
|
ReadMessage = <any> 'read message',
|
|
8797
8835
|
Typing = <any> 'typing',
|
|
8798
8836
|
AddCoupon = <any> 'add coupon',
|
package/dist/api.d.ts
CHANGED
|
@@ -3298,6 +3298,12 @@ export interface CartItem {
|
|
|
3298
3298
|
* @memberof CartItem
|
|
3299
3299
|
*/
|
|
3300
3300
|
preorder?: boolean;
|
|
3301
|
+
/**
|
|
3302
|
+
* Properties associated with the item
|
|
3303
|
+
* @type {Array<CartItemProperty>}
|
|
3304
|
+
* @memberof CartItem
|
|
3305
|
+
*/
|
|
3306
|
+
properties?: Array<CartItemProperty>;
|
|
3301
3307
|
/**
|
|
3302
3308
|
* quantity
|
|
3303
3309
|
* @type {number}
|
|
@@ -3658,6 +3664,37 @@ export interface CartItemPhysical {
|
|
|
3658
3664
|
*/
|
|
3659
3665
|
width?: Distance;
|
|
3660
3666
|
}
|
|
3667
|
+
/**
|
|
3668
|
+
*
|
|
3669
|
+
* @export
|
|
3670
|
+
* @interface CartItemProperty
|
|
3671
|
+
*/
|
|
3672
|
+
export interface CartItemProperty {
|
|
3673
|
+
/**
|
|
3674
|
+
* True if this property is displayed to the customer
|
|
3675
|
+
* @type {boolean}
|
|
3676
|
+
* @memberof CartItemProperty
|
|
3677
|
+
*/
|
|
3678
|
+
display?: boolean;
|
|
3679
|
+
/**
|
|
3680
|
+
* The date/time that the property expires and is deleted
|
|
3681
|
+
* @type {string}
|
|
3682
|
+
* @memberof CartItemProperty
|
|
3683
|
+
*/
|
|
3684
|
+
expiration_dts?: string;
|
|
3685
|
+
/**
|
|
3686
|
+
* Name
|
|
3687
|
+
* @type {string}
|
|
3688
|
+
* @memberof CartItemProperty
|
|
3689
|
+
*/
|
|
3690
|
+
name?: string;
|
|
3691
|
+
/**
|
|
3692
|
+
* Value
|
|
3693
|
+
* @type {string}
|
|
3694
|
+
* @memberof CartItemProperty
|
|
3695
|
+
*/
|
|
3696
|
+
value?: string;
|
|
3697
|
+
}
|
|
3661
3698
|
/**
|
|
3662
3699
|
*
|
|
3663
3700
|
* @export
|
|
@@ -8582,7 +8619,7 @@ export declare namespace ConversationWebsocketMessage {
|
|
|
8582
8619
|
Rrweb,
|
|
8583
8620
|
ParticipantUpdate,
|
|
8584
8621
|
ParticipantJoin,
|
|
8585
|
-
|
|
8622
|
+
ParticipantLeft,
|
|
8586
8623
|
ReadMessage,
|
|
8587
8624
|
Typing,
|
|
8588
8625
|
AddCoupon,
|
package/dist/api.js
CHANGED
|
@@ -605,7 +605,7 @@ var ConversationWebsocketMessage;
|
|
|
605
605
|
EventTypeEnum[EventTypeEnum["Rrweb"] = 'rrweb'] = "Rrweb";
|
|
606
606
|
EventTypeEnum[EventTypeEnum["ParticipantUpdate"] = 'participant update'] = "ParticipantUpdate";
|
|
607
607
|
EventTypeEnum[EventTypeEnum["ParticipantJoin"] = 'participant join'] = "ParticipantJoin";
|
|
608
|
-
EventTypeEnum[EventTypeEnum["
|
|
608
|
+
EventTypeEnum[EventTypeEnum["ParticipantLeft"] = 'participant left'] = "ParticipantLeft";
|
|
609
609
|
EventTypeEnum[EventTypeEnum["ReadMessage"] = 'read message'] = "ReadMessage";
|
|
610
610
|
EventTypeEnum[EventTypeEnum["Typing"] = 'typing'] = "Typing";
|
|
611
611
|
EventTypeEnum[EventTypeEnum["AddCoupon"] = 'add coupon'] = "AddCoupon";
|