ultracart_rest_api_v2_typescript 3.10.71 → 3.10.73
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 +30 -0
- package/dist/api.d.ts +30 -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.73
|
|
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.73 --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.73 | 11/30/2022 | conversations - add order and auto order information to webchat context |
|
|
58
|
+
| 3.10.72 | 11/30/2022 | order item - addl fields for linking kits to kit components |
|
|
57
59
|
| 3.10.71 | 11/29/2022 | converstation marked convo read method |
|
|
58
60
|
| 3.10.70 | 11/21/2022 | coupon - addl optional minimums for percent off msrp items coupon |
|
|
59
61
|
| 3.10.69 | 11/21/2022 | conversation context method |
|
package/api.ts
CHANGED
|
@@ -7231,6 +7231,12 @@ export interface ConversationTwilioAccount {
|
|
|
7231
7231
|
* @interface ConversationWebchatContext
|
|
7232
7232
|
*/
|
|
7233
7233
|
export interface ConversationWebchatContext {
|
|
7234
|
+
/**
|
|
7235
|
+
*
|
|
7236
|
+
* @type {Array<AutoOrder>}
|
|
7237
|
+
* @memberof ConversationWebchatContext
|
|
7238
|
+
*/
|
|
7239
|
+
auto_orders?: Array<AutoOrder>;
|
|
7234
7240
|
/**
|
|
7235
7241
|
*
|
|
7236
7242
|
* @type {Cart}
|
|
@@ -7243,6 +7249,12 @@ export interface ConversationWebchatContext {
|
|
|
7243
7249
|
* @memberof ConversationWebchatContext
|
|
7244
7250
|
*/
|
|
7245
7251
|
current_url?: string;
|
|
7252
|
+
/**
|
|
7253
|
+
*
|
|
7254
|
+
* @type {Array<Order>}
|
|
7255
|
+
* @memberof ConversationWebchatContext
|
|
7256
|
+
*/
|
|
7257
|
+
orders?: Array<Order>;
|
|
7246
7258
|
/**
|
|
7247
7259
|
*
|
|
7248
7260
|
* @type {Array<HitPageView>}
|
|
@@ -27963,6 +27975,12 @@ export interface OrderItem {
|
|
|
27963
27975
|
* @memberof OrderItem
|
|
27964
27976
|
*/
|
|
27965
27977
|
height?: Distance;
|
|
27978
|
+
/**
|
|
27979
|
+
* Index of the item on the order (one based index)
|
|
27980
|
+
* @type {number}
|
|
27981
|
+
* @memberof OrderItem
|
|
27982
|
+
*/
|
|
27983
|
+
item_index?: number;
|
|
27966
27984
|
/**
|
|
27967
27985
|
* Item reference object identifier used to linked to auto order item record
|
|
27968
27986
|
* @type {number}
|
|
@@ -28035,6 +28053,18 @@ export interface OrderItem {
|
|
|
28035
28053
|
* @memberof OrderItem
|
|
28036
28054
|
*/
|
|
28037
28055
|
packed_by_user?: string;
|
|
28056
|
+
/**
|
|
28057
|
+
* If this item is a kit component, this is the item index of the parent item (kit)
|
|
28058
|
+
* @type {number}
|
|
28059
|
+
* @memberof OrderItem
|
|
28060
|
+
*/
|
|
28061
|
+
parent_item_index?: number;
|
|
28062
|
+
/**
|
|
28063
|
+
* If this item is a kit component, this is the item id of the parent item (kit)
|
|
28064
|
+
* @type {string}
|
|
28065
|
+
* @memberof OrderItem
|
|
28066
|
+
*/
|
|
28067
|
+
parent_merchant_item_id?: string;
|
|
28038
28068
|
/**
|
|
28039
28069
|
* Perishable class of the item
|
|
28040
28070
|
* @type {string}
|
package/dist/api.d.ts
CHANGED
|
@@ -7058,6 +7058,12 @@ export interface ConversationTwilioAccount {
|
|
|
7058
7058
|
* @interface ConversationWebchatContext
|
|
7059
7059
|
*/
|
|
7060
7060
|
export interface ConversationWebchatContext {
|
|
7061
|
+
/**
|
|
7062
|
+
*
|
|
7063
|
+
* @type {Array<AutoOrder>}
|
|
7064
|
+
* @memberof ConversationWebchatContext
|
|
7065
|
+
*/
|
|
7066
|
+
auto_orders?: Array<AutoOrder>;
|
|
7061
7067
|
/**
|
|
7062
7068
|
*
|
|
7063
7069
|
* @type {Cart}
|
|
@@ -7070,6 +7076,12 @@ export interface ConversationWebchatContext {
|
|
|
7070
7076
|
* @memberof ConversationWebchatContext
|
|
7071
7077
|
*/
|
|
7072
7078
|
current_url?: string;
|
|
7079
|
+
/**
|
|
7080
|
+
*
|
|
7081
|
+
* @type {Array<Order>}
|
|
7082
|
+
* @memberof ConversationWebchatContext
|
|
7083
|
+
*/
|
|
7084
|
+
orders?: Array<Order>;
|
|
7073
7085
|
/**
|
|
7074
7086
|
*
|
|
7075
7087
|
* @type {Array<HitPageView>}
|
|
@@ -27379,6 +27391,12 @@ export interface OrderItem {
|
|
|
27379
27391
|
* @memberof OrderItem
|
|
27380
27392
|
*/
|
|
27381
27393
|
height?: Distance;
|
|
27394
|
+
/**
|
|
27395
|
+
* Index of the item on the order (one based index)
|
|
27396
|
+
* @type {number}
|
|
27397
|
+
* @memberof OrderItem
|
|
27398
|
+
*/
|
|
27399
|
+
item_index?: number;
|
|
27382
27400
|
/**
|
|
27383
27401
|
* Item reference object identifier used to linked to auto order item record
|
|
27384
27402
|
* @type {number}
|
|
@@ -27451,6 +27469,18 @@ export interface OrderItem {
|
|
|
27451
27469
|
* @memberof OrderItem
|
|
27452
27470
|
*/
|
|
27453
27471
|
packed_by_user?: string;
|
|
27472
|
+
/**
|
|
27473
|
+
* If this item is a kit component, this is the item index of the parent item (kit)
|
|
27474
|
+
* @type {number}
|
|
27475
|
+
* @memberof OrderItem
|
|
27476
|
+
*/
|
|
27477
|
+
parent_item_index?: number;
|
|
27478
|
+
/**
|
|
27479
|
+
* If this item is a kit component, this is the item id of the parent item (kit)
|
|
27480
|
+
* @type {string}
|
|
27481
|
+
* @memberof OrderItem
|
|
27482
|
+
*/
|
|
27483
|
+
parent_merchant_item_id?: string;
|
|
27454
27484
|
/**
|
|
27455
27485
|
* Perishable class of the item
|
|
27456
27486
|
* @type {string}
|