ultracart_rest_api_v2_typescript 3.10.65 → 3.10.66
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 +44 -2
- package/dist/api.d.ts +42 -2
- package/dist/api.js +2 -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.66
|
|
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.66 --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.66 | 11/15/2022 | conversations - enw events for add coupon and items |
|
|
57
58
|
| 3.10.65 | 11/15/2022 | order api new method is order refundable |
|
|
58
59
|
| 3.10.64 | 11/15/2022 | increase order property length to 10k char |
|
|
59
60
|
| 3.10.63 | 11/14/2022 | conversations - add allowed values for update agent status |
|
package/api.ts
CHANGED
|
@@ -6490,6 +6490,34 @@ export interface ConversationAgentAuthResponse {
|
|
|
6490
6490
|
warning?: Warning;
|
|
6491
6491
|
}
|
|
6492
6492
|
|
|
6493
|
+
/**
|
|
6494
|
+
*
|
|
6495
|
+
* @export
|
|
6496
|
+
* @interface ConversationEventAddCoupon
|
|
6497
|
+
*/
|
|
6498
|
+
export interface ConversationEventAddCoupon {
|
|
6499
|
+
/**
|
|
6500
|
+
*
|
|
6501
|
+
* @type {string}
|
|
6502
|
+
* @memberof ConversationEventAddCoupon
|
|
6503
|
+
*/
|
|
6504
|
+
coupon_code?: string;
|
|
6505
|
+
}
|
|
6506
|
+
|
|
6507
|
+
/**
|
|
6508
|
+
*
|
|
6509
|
+
* @export
|
|
6510
|
+
* @interface ConversationEventAddItem
|
|
6511
|
+
*/
|
|
6512
|
+
export interface ConversationEventAddItem {
|
|
6513
|
+
/**
|
|
6514
|
+
*
|
|
6515
|
+
* @type {string}
|
|
6516
|
+
* @memberof ConversationEventAddItem
|
|
6517
|
+
*/
|
|
6518
|
+
item_id?: string;
|
|
6519
|
+
}
|
|
6520
|
+
|
|
6493
6521
|
/**
|
|
6494
6522
|
*
|
|
6495
6523
|
* @export
|
|
@@ -7423,6 +7451,18 @@ export interface ConversationWebsocketMessage {
|
|
|
7423
7451
|
* @memberof ConversationWebsocketMessage
|
|
7424
7452
|
*/
|
|
7425
7453
|
conversation_uuid?: string;
|
|
7454
|
+
/**
|
|
7455
|
+
*
|
|
7456
|
+
* @type {ConversationEventAddCoupon}
|
|
7457
|
+
* @memberof ConversationWebsocketMessage
|
|
7458
|
+
*/
|
|
7459
|
+
event_add_coupon?: ConversationEventAddCoupon;
|
|
7460
|
+
/**
|
|
7461
|
+
*
|
|
7462
|
+
* @type {ConversationEventAddItem}
|
|
7463
|
+
* @memberof ConversationWebsocketMessage
|
|
7464
|
+
*/
|
|
7465
|
+
event_add_item?: ConversationEventAddItem;
|
|
7426
7466
|
/**
|
|
7427
7467
|
*
|
|
7428
7468
|
* @type {ConversationSummary}
|
|
@@ -7523,7 +7563,9 @@ export namespace ConversationWebsocketMessage {
|
|
|
7523
7563
|
Rrweb = <any> 'rrweb',
|
|
7524
7564
|
ParticipantUpdate = <any> 'participant update',
|
|
7525
7565
|
ReadMessage = <any> 'read message',
|
|
7526
|
-
Typing = <any> 'typing'
|
|
7566
|
+
Typing = <any> 'typing',
|
|
7567
|
+
AddCoupon = <any> 'add coupon',
|
|
7568
|
+
AddItem = <any> 'add item'
|
|
7527
7569
|
}
|
|
7528
7570
|
/**
|
|
7529
7571
|
* @export
|
|
@@ -28970,7 +29012,7 @@ export interface OrderRefundableResponse {
|
|
|
28970
29012
|
*/
|
|
28971
29013
|
metadata?: ResponseMetadata;
|
|
28972
29014
|
/**
|
|
28973
|
-
* Whether the order is refundable or not.
|
|
29015
|
+
* Whether the order is refundable or not. Null should be interpreted as false.
|
|
28974
29016
|
* @type {boolean}
|
|
28975
29017
|
* @memberof OrderRefundableResponse
|
|
28976
29018
|
*/
|
package/dist/api.d.ts
CHANGED
|
@@ -6339,6 +6339,32 @@ export interface ConversationAgentAuthResponse {
|
|
|
6339
6339
|
*/
|
|
6340
6340
|
warning?: Warning;
|
|
6341
6341
|
}
|
|
6342
|
+
/**
|
|
6343
|
+
*
|
|
6344
|
+
* @export
|
|
6345
|
+
* @interface ConversationEventAddCoupon
|
|
6346
|
+
*/
|
|
6347
|
+
export interface ConversationEventAddCoupon {
|
|
6348
|
+
/**
|
|
6349
|
+
*
|
|
6350
|
+
* @type {string}
|
|
6351
|
+
* @memberof ConversationEventAddCoupon
|
|
6352
|
+
*/
|
|
6353
|
+
coupon_code?: string;
|
|
6354
|
+
}
|
|
6355
|
+
/**
|
|
6356
|
+
*
|
|
6357
|
+
* @export
|
|
6358
|
+
* @interface ConversationEventAddItem
|
|
6359
|
+
*/
|
|
6360
|
+
export interface ConversationEventAddItem {
|
|
6361
|
+
/**
|
|
6362
|
+
*
|
|
6363
|
+
* @type {string}
|
|
6364
|
+
* @memberof ConversationEventAddItem
|
|
6365
|
+
*/
|
|
6366
|
+
item_id?: string;
|
|
6367
|
+
}
|
|
6342
6368
|
/**
|
|
6343
6369
|
*
|
|
6344
6370
|
* @export
|
|
@@ -7246,6 +7272,18 @@ export interface ConversationWebsocketMessage {
|
|
|
7246
7272
|
* @memberof ConversationWebsocketMessage
|
|
7247
7273
|
*/
|
|
7248
7274
|
conversation_uuid?: string;
|
|
7275
|
+
/**
|
|
7276
|
+
*
|
|
7277
|
+
* @type {ConversationEventAddCoupon}
|
|
7278
|
+
* @memberof ConversationWebsocketMessage
|
|
7279
|
+
*/
|
|
7280
|
+
event_add_coupon?: ConversationEventAddCoupon;
|
|
7281
|
+
/**
|
|
7282
|
+
*
|
|
7283
|
+
* @type {ConversationEventAddItem}
|
|
7284
|
+
* @memberof ConversationWebsocketMessage
|
|
7285
|
+
*/
|
|
7286
|
+
event_add_item?: ConversationEventAddItem;
|
|
7249
7287
|
/**
|
|
7250
7288
|
*
|
|
7251
7289
|
* @type {ConversationSummary}
|
|
@@ -7345,7 +7383,9 @@ export declare namespace ConversationWebsocketMessage {
|
|
|
7345
7383
|
Rrweb,
|
|
7346
7384
|
ParticipantUpdate,
|
|
7347
7385
|
ReadMessage,
|
|
7348
|
-
Typing
|
|
7386
|
+
Typing,
|
|
7387
|
+
AddCoupon,
|
|
7388
|
+
AddItem
|
|
7349
7389
|
}
|
|
7350
7390
|
/**
|
|
7351
7391
|
* @export
|
|
@@ -28363,7 +28403,7 @@ export interface OrderRefundableResponse {
|
|
|
28363
28403
|
*/
|
|
28364
28404
|
metadata?: ResponseMetadata;
|
|
28365
28405
|
/**
|
|
28366
|
-
* Whether the order is refundable or not.
|
|
28406
|
+
* Whether the order is refundable or not. Null should be interpreted as false.
|
|
28367
28407
|
* @type {boolean}
|
|
28368
28408
|
* @memberof OrderRefundableResponse
|
|
28369
28409
|
*/
|
package/dist/api.js
CHANGED
|
@@ -505,6 +505,8 @@ var ConversationWebsocketMessage;
|
|
|
505
505
|
EventTypeEnum[EventTypeEnum["ParticipantUpdate"] = 'participant update'] = "ParticipantUpdate";
|
|
506
506
|
EventTypeEnum[EventTypeEnum["ReadMessage"] = 'read message'] = "ReadMessage";
|
|
507
507
|
EventTypeEnum[EventTypeEnum["Typing"] = 'typing'] = "Typing";
|
|
508
|
+
EventTypeEnum[EventTypeEnum["AddCoupon"] = 'add coupon'] = "AddCoupon";
|
|
509
|
+
EventTypeEnum[EventTypeEnum["AddItem"] = 'add item'] = "AddItem";
|
|
508
510
|
})(EventTypeEnum = ConversationWebsocketMessage.EventTypeEnum || (ConversationWebsocketMessage.EventTypeEnum = {}));
|
|
509
511
|
/**
|
|
510
512
|
* @export
|