ultracart_rest_api_v2_typescript 3.10.67 → 3.10.68
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 +58 -1
- package/dist/api.d.ts +57 -1
- 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.68
|
|
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.68 --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.68 | 11/21/2022 | adjusted conversation event model |
|
|
57
58
|
| 3.10.67 | 11/15/2022 | conversation methods bug fix |
|
|
58
59
|
| 3.10.66 | 11/15/2022 | conversations - enw events for add coupon and items |
|
|
59
60
|
| 3.10.65 | 11/15/2022 | order api new method is order refundable |
|
package/api.ts
CHANGED
|
@@ -6496,6 +6496,18 @@ export interface ConversationAgentAuthResponse {
|
|
|
6496
6496
|
* @interface ConversationEventAddCoupon
|
|
6497
6497
|
*/
|
|
6498
6498
|
export interface ConversationEventAddCoupon {
|
|
6499
|
+
/**
|
|
6500
|
+
*
|
|
6501
|
+
* @type {string}
|
|
6502
|
+
* @memberof ConversationEventAddCoupon
|
|
6503
|
+
*/
|
|
6504
|
+
agent_arn?: string;
|
|
6505
|
+
/**
|
|
6506
|
+
*
|
|
6507
|
+
* @type {string}
|
|
6508
|
+
* @memberof ConversationEventAddCoupon
|
|
6509
|
+
*/
|
|
6510
|
+
agent_name?: string;
|
|
6499
6511
|
/**
|
|
6500
6512
|
*
|
|
6501
6513
|
* @type {string}
|
|
@@ -6515,7 +6527,19 @@ export interface ConversationEventAddItem {
|
|
|
6515
6527
|
* @type {string}
|
|
6516
6528
|
* @memberof ConversationEventAddItem
|
|
6517
6529
|
*/
|
|
6518
|
-
|
|
6530
|
+
agent_arn?: string;
|
|
6531
|
+
/**
|
|
6532
|
+
*
|
|
6533
|
+
* @type {string}
|
|
6534
|
+
* @memberof ConversationEventAddItem
|
|
6535
|
+
*/
|
|
6536
|
+
agent_name?: string;
|
|
6537
|
+
/**
|
|
6538
|
+
*
|
|
6539
|
+
* @type {Array<CartItem>}
|
|
6540
|
+
* @memberof ConversationEventAddItem
|
|
6541
|
+
*/
|
|
6542
|
+
items?: Array<CartItem>;
|
|
6519
6543
|
}
|
|
6520
6544
|
|
|
6521
6545
|
/**
|
|
@@ -6655,6 +6679,32 @@ export interface ConversationEventTyping {
|
|
|
6655
6679
|
value?: string;
|
|
6656
6680
|
}
|
|
6657
6681
|
|
|
6682
|
+
/**
|
|
6683
|
+
*
|
|
6684
|
+
* @export
|
|
6685
|
+
* @interface ConversationEventWebchatContext
|
|
6686
|
+
*/
|
|
6687
|
+
export interface ConversationEventWebchatContext {
|
|
6688
|
+
/**
|
|
6689
|
+
*
|
|
6690
|
+
* @type {string}
|
|
6691
|
+
* @memberof ConversationEventWebchatContext
|
|
6692
|
+
*/
|
|
6693
|
+
cart_id?: string;
|
|
6694
|
+
/**
|
|
6695
|
+
*
|
|
6696
|
+
* @type {string}
|
|
6697
|
+
* @memberof ConversationEventWebchatContext
|
|
6698
|
+
*/
|
|
6699
|
+
ucacid?: string;
|
|
6700
|
+
/**
|
|
6701
|
+
*
|
|
6702
|
+
* @type {string}
|
|
6703
|
+
* @memberof ConversationEventWebchatContext
|
|
6704
|
+
*/
|
|
6705
|
+
url?: string;
|
|
6706
|
+
}
|
|
6707
|
+
|
|
6658
6708
|
/**
|
|
6659
6709
|
*
|
|
6660
6710
|
* @export
|
|
@@ -7529,6 +7579,12 @@ export interface ConversationWebsocketMessage {
|
|
|
7529
7579
|
* @memberof ConversationWebsocketMessage
|
|
7530
7580
|
*/
|
|
7531
7581
|
event_updated_message?: ConversationMessage;
|
|
7582
|
+
/**
|
|
7583
|
+
*
|
|
7584
|
+
* @type {ConversationEventWebchatContext}
|
|
7585
|
+
* @memberof ConversationWebsocketMessage
|
|
7586
|
+
*/
|
|
7587
|
+
event_webchat_context?: ConversationEventWebchatContext;
|
|
7532
7588
|
/**
|
|
7533
7589
|
*
|
|
7534
7590
|
* @type {ConversationMessage}
|
|
@@ -35841,6 +35897,7 @@ export namespace Weight {
|
|
|
35841
35897
|
*/
|
|
35842
35898
|
export enum UomEnum {
|
|
35843
35899
|
KG = <any> 'KG',
|
|
35900
|
+
G = <any> 'G',
|
|
35844
35901
|
LB = <any> 'LB',
|
|
35845
35902
|
OZ = <any> 'OZ'
|
|
35846
35903
|
}
|
package/dist/api.d.ts
CHANGED
|
@@ -6345,6 +6345,18 @@ export interface ConversationAgentAuthResponse {
|
|
|
6345
6345
|
* @interface ConversationEventAddCoupon
|
|
6346
6346
|
*/
|
|
6347
6347
|
export interface ConversationEventAddCoupon {
|
|
6348
|
+
/**
|
|
6349
|
+
*
|
|
6350
|
+
* @type {string}
|
|
6351
|
+
* @memberof ConversationEventAddCoupon
|
|
6352
|
+
*/
|
|
6353
|
+
agent_arn?: string;
|
|
6354
|
+
/**
|
|
6355
|
+
*
|
|
6356
|
+
* @type {string}
|
|
6357
|
+
* @memberof ConversationEventAddCoupon
|
|
6358
|
+
*/
|
|
6359
|
+
agent_name?: string;
|
|
6348
6360
|
/**
|
|
6349
6361
|
*
|
|
6350
6362
|
* @type {string}
|
|
@@ -6363,7 +6375,19 @@ export interface ConversationEventAddItem {
|
|
|
6363
6375
|
* @type {string}
|
|
6364
6376
|
* @memberof ConversationEventAddItem
|
|
6365
6377
|
*/
|
|
6366
|
-
|
|
6378
|
+
agent_arn?: string;
|
|
6379
|
+
/**
|
|
6380
|
+
*
|
|
6381
|
+
* @type {string}
|
|
6382
|
+
* @memberof ConversationEventAddItem
|
|
6383
|
+
*/
|
|
6384
|
+
agent_name?: string;
|
|
6385
|
+
/**
|
|
6386
|
+
*
|
|
6387
|
+
* @type {Array<CartItem>}
|
|
6388
|
+
* @memberof ConversationEventAddItem
|
|
6389
|
+
*/
|
|
6390
|
+
items?: Array<CartItem>;
|
|
6367
6391
|
}
|
|
6368
6392
|
/**
|
|
6369
6393
|
*
|
|
@@ -6497,6 +6521,31 @@ export interface ConversationEventTyping {
|
|
|
6497
6521
|
*/
|
|
6498
6522
|
value?: string;
|
|
6499
6523
|
}
|
|
6524
|
+
/**
|
|
6525
|
+
*
|
|
6526
|
+
* @export
|
|
6527
|
+
* @interface ConversationEventWebchatContext
|
|
6528
|
+
*/
|
|
6529
|
+
export interface ConversationEventWebchatContext {
|
|
6530
|
+
/**
|
|
6531
|
+
*
|
|
6532
|
+
* @type {string}
|
|
6533
|
+
* @memberof ConversationEventWebchatContext
|
|
6534
|
+
*/
|
|
6535
|
+
cart_id?: string;
|
|
6536
|
+
/**
|
|
6537
|
+
*
|
|
6538
|
+
* @type {string}
|
|
6539
|
+
* @memberof ConversationEventWebchatContext
|
|
6540
|
+
*/
|
|
6541
|
+
ucacid?: string;
|
|
6542
|
+
/**
|
|
6543
|
+
*
|
|
6544
|
+
* @type {string}
|
|
6545
|
+
* @memberof ConversationEventWebchatContext
|
|
6546
|
+
*/
|
|
6547
|
+
url?: string;
|
|
6548
|
+
}
|
|
6500
6549
|
/**
|
|
6501
6550
|
*
|
|
6502
6551
|
* @export
|
|
@@ -7350,6 +7399,12 @@ export interface ConversationWebsocketMessage {
|
|
|
7350
7399
|
* @memberof ConversationWebsocketMessage
|
|
7351
7400
|
*/
|
|
7352
7401
|
event_updated_message?: ConversationMessage;
|
|
7402
|
+
/**
|
|
7403
|
+
*
|
|
7404
|
+
* @type {ConversationEventWebchatContext}
|
|
7405
|
+
* @memberof ConversationWebsocketMessage
|
|
7406
|
+
*/
|
|
7407
|
+
event_webchat_context?: ConversationEventWebchatContext;
|
|
7353
7408
|
/**
|
|
7354
7409
|
*
|
|
7355
7410
|
* @type {ConversationMessage}
|
|
@@ -35089,6 +35144,7 @@ export declare namespace Weight {
|
|
|
35089
35144
|
*/
|
|
35090
35145
|
enum UomEnum {
|
|
35091
35146
|
KG,
|
|
35147
|
+
G,
|
|
35092
35148
|
LB,
|
|
35093
35149
|
OZ
|
|
35094
35150
|
}
|
package/dist/api.js
CHANGED
|
@@ -1135,6 +1135,7 @@ var Weight;
|
|
|
1135
1135
|
var UomEnum;
|
|
1136
1136
|
(function (UomEnum) {
|
|
1137
1137
|
UomEnum[UomEnum["KG"] = 'KG'] = "KG";
|
|
1138
|
+
UomEnum[UomEnum["G"] = 'G'] = "G";
|
|
1138
1139
|
UomEnum[UomEnum["LB"] = 'LB'] = "LB";
|
|
1139
1140
|
UomEnum[UomEnum["OZ"] = 'OZ'] = "OZ";
|
|
1140
1141
|
})(UomEnum = Weight.UomEnum || (Weight.UomEnum = {}));
|