ultracart_rest_api_v2_typescript 3.10.27 → 3.10.30
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 +5 -2
- package/api.ts +148 -4
- package/dist/api.d.ts +144 -4
- package/dist/api.js +37 -3
- 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.30
|
|
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.30 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,9 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 3.10.30 | 08/01/2022 | conversation event refinement |
|
|
58
|
+
| 3.10.29 | 07/29/2022 | conversation development |
|
|
59
|
+
| 3.10.28 | 07/28/2022 | conversation bug fixes |
|
|
57
60
|
| 3.10.27 | 07/28/2022 | conversation message upload keys property |
|
|
58
61
|
| 3.10.26 | 07/26/2022 | conversations - queue statistics |
|
|
59
62
|
| 3.10.25 | 07/25/2022 | conversation development |
|
package/api.ts
CHANGED
|
@@ -6329,10 +6329,10 @@ export interface ConversationAgentAuth {
|
|
|
6329
6329
|
merchant_id?: string;
|
|
6330
6330
|
/**
|
|
6331
6331
|
*
|
|
6332
|
-
* @type {Array<
|
|
6332
|
+
* @type {Array<ConversationTwilioAccount>}
|
|
6333
6333
|
* @memberof ConversationAgentAuth
|
|
6334
6334
|
*/
|
|
6335
|
-
|
|
6335
|
+
twilio_accounts?: Array<ConversationTwilioAccount>;
|
|
6336
6336
|
/**
|
|
6337
6337
|
*
|
|
6338
6338
|
* @type {string}
|
|
@@ -6399,6 +6399,71 @@ export interface ConversationEventQueuePosition {
|
|
|
6399
6399
|
position?: number;
|
|
6400
6400
|
}
|
|
6401
6401
|
|
|
6402
|
+
/**
|
|
6403
|
+
*
|
|
6404
|
+
* @export
|
|
6405
|
+
* @interface ConversationEventRRWeb
|
|
6406
|
+
*/
|
|
6407
|
+
export interface ConversationEventRRWeb {
|
|
6408
|
+
/**
|
|
6409
|
+
*
|
|
6410
|
+
* @type {string}
|
|
6411
|
+
* @memberof ConversationEventRRWeb
|
|
6412
|
+
*/
|
|
6413
|
+
data?: string;
|
|
6414
|
+
/**
|
|
6415
|
+
*
|
|
6416
|
+
* @type {number}
|
|
6417
|
+
* @memberof ConversationEventRRWeb
|
|
6418
|
+
*/
|
|
6419
|
+
data_part?: number;
|
|
6420
|
+
/**
|
|
6421
|
+
*
|
|
6422
|
+
* @type {string}
|
|
6423
|
+
* @memberof ConversationEventRRWeb
|
|
6424
|
+
*/
|
|
6425
|
+
data_sha256?: string;
|
|
6426
|
+
/**
|
|
6427
|
+
*
|
|
6428
|
+
* @type {number}
|
|
6429
|
+
* @memberof ConversationEventRRWeb
|
|
6430
|
+
*/
|
|
6431
|
+
data_total_parts?: number;
|
|
6432
|
+
/**
|
|
6433
|
+
*
|
|
6434
|
+
* @type {string}
|
|
6435
|
+
* @memberof ConversationEventRRWeb
|
|
6436
|
+
*/
|
|
6437
|
+
data_total_sha256?: string;
|
|
6438
|
+
/**
|
|
6439
|
+
*
|
|
6440
|
+
* @type {number}
|
|
6441
|
+
* @memberof ConversationEventRRWeb
|
|
6442
|
+
*/
|
|
6443
|
+
event_index?: number;
|
|
6444
|
+
/**
|
|
6445
|
+
* Type of event
|
|
6446
|
+
* @type {string}
|
|
6447
|
+
* @memberof ConversationEventRRWeb
|
|
6448
|
+
*/
|
|
6449
|
+
type?: ConversationEventRRWeb.TypeEnum;
|
|
6450
|
+
}
|
|
6451
|
+
|
|
6452
|
+
/**
|
|
6453
|
+
* @export
|
|
6454
|
+
* @namespace ConversationEventRRWeb
|
|
6455
|
+
*/
|
|
6456
|
+
export namespace ConversationEventRRWeb {
|
|
6457
|
+
/**
|
|
6458
|
+
* @export
|
|
6459
|
+
* @enum {string}
|
|
6460
|
+
*/
|
|
6461
|
+
export enum TypeEnum {
|
|
6462
|
+
Init = <any> 'init',
|
|
6463
|
+
Events = <any> 'events'
|
|
6464
|
+
}
|
|
6465
|
+
}
|
|
6466
|
+
|
|
6402
6467
|
/**
|
|
6403
6468
|
*
|
|
6404
6469
|
* @export
|
|
@@ -6423,6 +6488,12 @@ export interface ConversationMessage {
|
|
|
6423
6488
|
* @memberof ConversationMessage
|
|
6424
6489
|
*/
|
|
6425
6490
|
body?: string;
|
|
6491
|
+
/**
|
|
6492
|
+
*
|
|
6493
|
+
* @type {string}
|
|
6494
|
+
* @memberof ConversationMessage
|
|
6495
|
+
*/
|
|
6496
|
+
client_message_id?: string;
|
|
6426
6497
|
/**
|
|
6427
6498
|
*
|
|
6428
6499
|
* @type {Array<string>}
|
|
@@ -6441,6 +6512,12 @@ export interface ConversationMessage {
|
|
|
6441
6512
|
* @memberof ConversationMessage
|
|
6442
6513
|
*/
|
|
6443
6514
|
transport_statuses?: Array<ConversationMessageTransportStatus>;
|
|
6515
|
+
/**
|
|
6516
|
+
* Message type
|
|
6517
|
+
* @type {string}
|
|
6518
|
+
* @memberof ConversationMessage
|
|
6519
|
+
*/
|
|
6520
|
+
type?: ConversationMessage.TypeEnum;
|
|
6444
6521
|
/**
|
|
6445
6522
|
*
|
|
6446
6523
|
* @type {Array<string>}
|
|
@@ -6449,6 +6526,21 @@ export interface ConversationMessage {
|
|
|
6449
6526
|
upload_keys?: Array<string>;
|
|
6450
6527
|
}
|
|
6451
6528
|
|
|
6529
|
+
/**
|
|
6530
|
+
* @export
|
|
6531
|
+
* @namespace ConversationMessage
|
|
6532
|
+
*/
|
|
6533
|
+
export namespace ConversationMessage {
|
|
6534
|
+
/**
|
|
6535
|
+
* @export
|
|
6536
|
+
* @enum {string}
|
|
6537
|
+
*/
|
|
6538
|
+
export enum TypeEnum {
|
|
6539
|
+
Message = <any> 'message',
|
|
6540
|
+
Notice = <any> 'notice'
|
|
6541
|
+
}
|
|
6542
|
+
}
|
|
6543
|
+
|
|
6452
6544
|
/**
|
|
6453
6545
|
*
|
|
6454
6546
|
* @export
|
|
@@ -6715,12 +6807,44 @@ export interface ConversationSummary {
|
|
|
6715
6807
|
* @memberof ConversationSummary
|
|
6716
6808
|
*/
|
|
6717
6809
|
message_count?: number;
|
|
6810
|
+
/**
|
|
6811
|
+
* Start of the conversation date/time
|
|
6812
|
+
* @type {string}
|
|
6813
|
+
* @memberof ConversationSummary
|
|
6814
|
+
*/
|
|
6815
|
+
start_dts?: string;
|
|
6718
6816
|
/**
|
|
6719
6817
|
*
|
|
6720
6818
|
* @type {boolean}
|
|
6721
6819
|
* @memberof ConversationSummary
|
|
6722
6820
|
*/
|
|
6723
6821
|
unread_messages?: boolean;
|
|
6822
|
+
/**
|
|
6823
|
+
*
|
|
6824
|
+
* @type {boolean}
|
|
6825
|
+
* @memberof ConversationSummary
|
|
6826
|
+
*/
|
|
6827
|
+
visible?: boolean;
|
|
6828
|
+
}
|
|
6829
|
+
|
|
6830
|
+
/**
|
|
6831
|
+
*
|
|
6832
|
+
* @export
|
|
6833
|
+
* @interface ConversationTwilioAccount
|
|
6834
|
+
*/
|
|
6835
|
+
export interface ConversationTwilioAccount {
|
|
6836
|
+
/**
|
|
6837
|
+
*
|
|
6838
|
+
* @type {string}
|
|
6839
|
+
* @memberof ConversationTwilioAccount
|
|
6840
|
+
*/
|
|
6841
|
+
merchant_id?: string;
|
|
6842
|
+
/**
|
|
6843
|
+
*
|
|
6844
|
+
* @type {Array<string>}
|
|
6845
|
+
* @memberof ConversationTwilioAccount
|
|
6846
|
+
*/
|
|
6847
|
+
twilio_phone_numbers?: Array<string>;
|
|
6724
6848
|
}
|
|
6725
6849
|
|
|
6726
6850
|
/**
|
|
@@ -6789,6 +6913,12 @@ export interface ConversationWebchatQueueStatus {
|
|
|
6789
6913
|
* @memberof ConversationWebchatQueueStatus
|
|
6790
6914
|
*/
|
|
6791
6915
|
customer_average_hold_time_seconds?: number;
|
|
6916
|
+
/**
|
|
6917
|
+
*
|
|
6918
|
+
* @type {number}
|
|
6919
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6920
|
+
*/
|
|
6921
|
+
customer_chat_count?: number;
|
|
6792
6922
|
/**
|
|
6793
6923
|
*
|
|
6794
6924
|
* @type {number}
|
|
@@ -6877,6 +7007,12 @@ export interface ConversationWebchatQueueStatusQueueEntry {
|
|
|
6877
7007
|
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6878
7008
|
*/
|
|
6879
7009
|
conversation_webchat_queue_uuid?: string;
|
|
7010
|
+
/**
|
|
7011
|
+
*
|
|
7012
|
+
* @type {string}
|
|
7013
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
7014
|
+
*/
|
|
7015
|
+
email?: string;
|
|
6880
7016
|
/**
|
|
6881
7017
|
* Date/time the customer joined the queue
|
|
6882
7018
|
* @type {string}
|
|
@@ -6985,6 +7121,12 @@ export interface ConversationWebsocketMessage {
|
|
|
6985
7121
|
* @memberof ConversationWebsocketMessage
|
|
6986
7122
|
*/
|
|
6987
7123
|
event_queue_status_update?: ConversationWebchatQueueStatus;
|
|
7124
|
+
/**
|
|
7125
|
+
*
|
|
7126
|
+
* @type {ConversationEventRRWeb}
|
|
7127
|
+
* @memberof ConversationWebsocketMessage
|
|
7128
|
+
*/
|
|
7129
|
+
event_rrweb?: ConversationEventRRWeb;
|
|
6988
7130
|
/**
|
|
6989
7131
|
* Type of event
|
|
6990
7132
|
* @type {string}
|
|
@@ -7027,7 +7169,8 @@ export namespace ConversationWebsocketMessage {
|
|
|
7027
7169
|
NewConversation = <any> 'new conversation',
|
|
7028
7170
|
NewMessage = <any> 'new message',
|
|
7029
7171
|
UpdatedMessage = <any> 'updated message',
|
|
7030
|
-
QueueStatusUpdate = <any> 'queue status update'
|
|
7172
|
+
QueueStatusUpdate = <any> 'queue status update',
|
|
7173
|
+
Rrweb = <any> 'rrweb'
|
|
7031
7174
|
}
|
|
7032
7175
|
/**
|
|
7033
7176
|
* @export
|
|
@@ -7036,7 +7179,8 @@ export namespace ConversationWebsocketMessage {
|
|
|
7036
7179
|
export enum TypeEnum {
|
|
7037
7180
|
Message = <any> 'message',
|
|
7038
7181
|
Event = <any> 'event',
|
|
7039
|
-
Ping = <any> 'ping'
|
|
7182
|
+
Ping = <any> 'ping',
|
|
7183
|
+
CheckQueuePosition = <any> 'check queue position'
|
|
7040
7184
|
}
|
|
7041
7185
|
}
|
|
7042
7186
|
|
package/dist/api.d.ts
CHANGED
|
@@ -6181,10 +6181,10 @@ export interface ConversationAgentAuth {
|
|
|
6181
6181
|
merchant_id?: string;
|
|
6182
6182
|
/**
|
|
6183
6183
|
*
|
|
6184
|
-
* @type {Array<
|
|
6184
|
+
* @type {Array<ConversationTwilioAccount>}
|
|
6185
6185
|
* @memberof ConversationAgentAuth
|
|
6186
6186
|
*/
|
|
6187
|
-
|
|
6187
|
+
twilio_accounts?: Array<ConversationTwilioAccount>;
|
|
6188
6188
|
/**
|
|
6189
6189
|
*
|
|
6190
6190
|
* @type {string}
|
|
@@ -6248,6 +6248,69 @@ export interface ConversationEventQueuePosition {
|
|
|
6248
6248
|
*/
|
|
6249
6249
|
position?: number;
|
|
6250
6250
|
}
|
|
6251
|
+
/**
|
|
6252
|
+
*
|
|
6253
|
+
* @export
|
|
6254
|
+
* @interface ConversationEventRRWeb
|
|
6255
|
+
*/
|
|
6256
|
+
export interface ConversationEventRRWeb {
|
|
6257
|
+
/**
|
|
6258
|
+
*
|
|
6259
|
+
* @type {string}
|
|
6260
|
+
* @memberof ConversationEventRRWeb
|
|
6261
|
+
*/
|
|
6262
|
+
data?: string;
|
|
6263
|
+
/**
|
|
6264
|
+
*
|
|
6265
|
+
* @type {number}
|
|
6266
|
+
* @memberof ConversationEventRRWeb
|
|
6267
|
+
*/
|
|
6268
|
+
data_part?: number;
|
|
6269
|
+
/**
|
|
6270
|
+
*
|
|
6271
|
+
* @type {string}
|
|
6272
|
+
* @memberof ConversationEventRRWeb
|
|
6273
|
+
*/
|
|
6274
|
+
data_sha256?: string;
|
|
6275
|
+
/**
|
|
6276
|
+
*
|
|
6277
|
+
* @type {number}
|
|
6278
|
+
* @memberof ConversationEventRRWeb
|
|
6279
|
+
*/
|
|
6280
|
+
data_total_parts?: number;
|
|
6281
|
+
/**
|
|
6282
|
+
*
|
|
6283
|
+
* @type {string}
|
|
6284
|
+
* @memberof ConversationEventRRWeb
|
|
6285
|
+
*/
|
|
6286
|
+
data_total_sha256?: string;
|
|
6287
|
+
/**
|
|
6288
|
+
*
|
|
6289
|
+
* @type {number}
|
|
6290
|
+
* @memberof ConversationEventRRWeb
|
|
6291
|
+
*/
|
|
6292
|
+
event_index?: number;
|
|
6293
|
+
/**
|
|
6294
|
+
* Type of event
|
|
6295
|
+
* @type {string}
|
|
6296
|
+
* @memberof ConversationEventRRWeb
|
|
6297
|
+
*/
|
|
6298
|
+
type?: ConversationEventRRWeb.TypeEnum;
|
|
6299
|
+
}
|
|
6300
|
+
/**
|
|
6301
|
+
* @export
|
|
6302
|
+
* @namespace ConversationEventRRWeb
|
|
6303
|
+
*/
|
|
6304
|
+
export declare namespace ConversationEventRRWeb {
|
|
6305
|
+
/**
|
|
6306
|
+
* @export
|
|
6307
|
+
* @enum {string}
|
|
6308
|
+
*/
|
|
6309
|
+
enum TypeEnum {
|
|
6310
|
+
Init,
|
|
6311
|
+
Events
|
|
6312
|
+
}
|
|
6313
|
+
}
|
|
6251
6314
|
/**
|
|
6252
6315
|
*
|
|
6253
6316
|
* @export
|
|
@@ -6272,6 +6335,12 @@ export interface ConversationMessage {
|
|
|
6272
6335
|
* @memberof ConversationMessage
|
|
6273
6336
|
*/
|
|
6274
6337
|
body?: string;
|
|
6338
|
+
/**
|
|
6339
|
+
*
|
|
6340
|
+
* @type {string}
|
|
6341
|
+
* @memberof ConversationMessage
|
|
6342
|
+
*/
|
|
6343
|
+
client_message_id?: string;
|
|
6275
6344
|
/**
|
|
6276
6345
|
*
|
|
6277
6346
|
* @type {Array<string>}
|
|
@@ -6290,6 +6359,12 @@ export interface ConversationMessage {
|
|
|
6290
6359
|
* @memberof ConversationMessage
|
|
6291
6360
|
*/
|
|
6292
6361
|
transport_statuses?: Array<ConversationMessageTransportStatus>;
|
|
6362
|
+
/**
|
|
6363
|
+
* Message type
|
|
6364
|
+
* @type {string}
|
|
6365
|
+
* @memberof ConversationMessage
|
|
6366
|
+
*/
|
|
6367
|
+
type?: ConversationMessage.TypeEnum;
|
|
6293
6368
|
/**
|
|
6294
6369
|
*
|
|
6295
6370
|
* @type {Array<string>}
|
|
@@ -6297,6 +6372,20 @@ export interface ConversationMessage {
|
|
|
6297
6372
|
*/
|
|
6298
6373
|
upload_keys?: Array<string>;
|
|
6299
6374
|
}
|
|
6375
|
+
/**
|
|
6376
|
+
* @export
|
|
6377
|
+
* @namespace ConversationMessage
|
|
6378
|
+
*/
|
|
6379
|
+
export declare namespace ConversationMessage {
|
|
6380
|
+
/**
|
|
6381
|
+
* @export
|
|
6382
|
+
* @enum {string}
|
|
6383
|
+
*/
|
|
6384
|
+
enum TypeEnum {
|
|
6385
|
+
Message,
|
|
6386
|
+
Notice
|
|
6387
|
+
}
|
|
6388
|
+
}
|
|
6300
6389
|
/**
|
|
6301
6390
|
*
|
|
6302
6391
|
* @export
|
|
@@ -6556,12 +6645,43 @@ export interface ConversationSummary {
|
|
|
6556
6645
|
* @memberof ConversationSummary
|
|
6557
6646
|
*/
|
|
6558
6647
|
message_count?: number;
|
|
6648
|
+
/**
|
|
6649
|
+
* Start of the conversation date/time
|
|
6650
|
+
* @type {string}
|
|
6651
|
+
* @memberof ConversationSummary
|
|
6652
|
+
*/
|
|
6653
|
+
start_dts?: string;
|
|
6559
6654
|
/**
|
|
6560
6655
|
*
|
|
6561
6656
|
* @type {boolean}
|
|
6562
6657
|
* @memberof ConversationSummary
|
|
6563
6658
|
*/
|
|
6564
6659
|
unread_messages?: boolean;
|
|
6660
|
+
/**
|
|
6661
|
+
*
|
|
6662
|
+
* @type {boolean}
|
|
6663
|
+
* @memberof ConversationSummary
|
|
6664
|
+
*/
|
|
6665
|
+
visible?: boolean;
|
|
6666
|
+
}
|
|
6667
|
+
/**
|
|
6668
|
+
*
|
|
6669
|
+
* @export
|
|
6670
|
+
* @interface ConversationTwilioAccount
|
|
6671
|
+
*/
|
|
6672
|
+
export interface ConversationTwilioAccount {
|
|
6673
|
+
/**
|
|
6674
|
+
*
|
|
6675
|
+
* @type {string}
|
|
6676
|
+
* @memberof ConversationTwilioAccount
|
|
6677
|
+
*/
|
|
6678
|
+
merchant_id?: string;
|
|
6679
|
+
/**
|
|
6680
|
+
*
|
|
6681
|
+
* @type {Array<string>}
|
|
6682
|
+
* @memberof ConversationTwilioAccount
|
|
6683
|
+
*/
|
|
6684
|
+
twilio_phone_numbers?: Array<string>;
|
|
6565
6685
|
}
|
|
6566
6686
|
/**
|
|
6567
6687
|
*
|
|
@@ -6629,6 +6749,12 @@ export interface ConversationWebchatQueueStatus {
|
|
|
6629
6749
|
* @memberof ConversationWebchatQueueStatus
|
|
6630
6750
|
*/
|
|
6631
6751
|
customer_average_hold_time_seconds?: number;
|
|
6752
|
+
/**
|
|
6753
|
+
*
|
|
6754
|
+
* @type {number}
|
|
6755
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6756
|
+
*/
|
|
6757
|
+
customer_chat_count?: number;
|
|
6632
6758
|
/**
|
|
6633
6759
|
*
|
|
6634
6760
|
* @type {number}
|
|
@@ -6715,6 +6841,12 @@ export interface ConversationWebchatQueueStatusQueueEntry {
|
|
|
6715
6841
|
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6716
6842
|
*/
|
|
6717
6843
|
conversation_webchat_queue_uuid?: string;
|
|
6844
|
+
/**
|
|
6845
|
+
*
|
|
6846
|
+
* @type {string}
|
|
6847
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6848
|
+
*/
|
|
6849
|
+
email?: string;
|
|
6718
6850
|
/**
|
|
6719
6851
|
* Date/time the customer joined the queue
|
|
6720
6852
|
* @type {string}
|
|
@@ -6820,6 +6952,12 @@ export interface ConversationWebsocketMessage {
|
|
|
6820
6952
|
* @memberof ConversationWebsocketMessage
|
|
6821
6953
|
*/
|
|
6822
6954
|
event_queue_status_update?: ConversationWebchatQueueStatus;
|
|
6955
|
+
/**
|
|
6956
|
+
*
|
|
6957
|
+
* @type {ConversationEventRRWeb}
|
|
6958
|
+
* @memberof ConversationWebsocketMessage
|
|
6959
|
+
*/
|
|
6960
|
+
event_rrweb?: ConversationEventRRWeb;
|
|
6823
6961
|
/**
|
|
6824
6962
|
* Type of event
|
|
6825
6963
|
* @type {string}
|
|
@@ -6861,7 +6999,8 @@ export declare namespace ConversationWebsocketMessage {
|
|
|
6861
6999
|
NewConversation,
|
|
6862
7000
|
NewMessage,
|
|
6863
7001
|
UpdatedMessage,
|
|
6864
|
-
QueueStatusUpdate
|
|
7002
|
+
QueueStatusUpdate,
|
|
7003
|
+
Rrweb
|
|
6865
7004
|
}
|
|
6866
7005
|
/**
|
|
6867
7006
|
* @export
|
|
@@ -6870,7 +7009,8 @@ export declare namespace ConversationWebsocketMessage {
|
|
|
6870
7009
|
enum TypeEnum {
|
|
6871
7010
|
Message,
|
|
6872
7011
|
Event,
|
|
6873
|
-
Ping
|
|
7012
|
+
Ping,
|
|
7013
|
+
CheckQueuePosition
|
|
6874
7014
|
}
|
|
6875
7015
|
}
|
|
6876
7016
|
/**
|
package/dist/api.js
CHANGED
|
@@ -28,9 +28,9 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
28
28
|
};
|
|
29
29
|
})();
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.WebhookApi = exports.WebhookApiFactory = exports.WebhookApiFp = exports.WebhookApiFetchParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiFetchParamCreator = exports.TaxApi = exports.TaxApiFactory = exports.TaxApiFp = exports.TaxApiFetchParamCreator = exports.StorefrontApi = exports.StorefrontApiFactory = exports.StorefrontApiFp = exports.StorefrontApiFetchParamCreator = exports.SsoApi = exports.SsoApiFactory = exports.SsoApiFp = exports.SsoApiFetchParamCreator = exports.OrderApi = exports.OrderApiFactory = void 0;
|
|
31
|
+
exports.AffiliateApiFp = exports.AffiliateApiFetchParamCreator = exports.Weight = exports.Webhook = exports.TempMultimedia = exports.OrderQuery = exports.OrderPaymentECheck = exports.OrderPaymentCreditCard = exports.OrderPayment = exports.OrderItemOption = exports.OrderItem = exports.OrderFraudScore = exports.OrderFormat = exports.OrderAutoOrder = exports.OrderAffiliateLedger = exports.Order = exports.OauthTokenResponse = exports.ItemThirdPartyEmailMarketing = exports.ItemTax = exports.ItemTag = exports.ItemShippingMethod = exports.ItemShippingDestinationRestriction = exports.ItemRestrictionItem = exports.ItemRelatedItem = exports.ItemOptionValue = exports.ItemOption = exports.ItemContentMultimedia = exports.ItemAutoOrderStep = exports.Experiment = exports.EmailPerformance = exports.EmailCommseqStep = exports.Distance = exports.ConversationWebsocketMessage = exports.ConversationMessage = exports.ConversationEventRRWeb = exports.CheckoutHandoffRequest = exports.ChannelPartnerOrderItem = exports.ChannelPartnerOrder = exports.CartKitComponentOption = exports.CartItemOption = exports.CartItemMultimedia = exports.CartCustomerProfileCreditCard = exports.AutoOrderItemSimpleSchedule = exports.AutoOrderItem = exports.AutoOrder = exports.AffiliateLink = exports.AffiliateLedger = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = void 0;
|
|
32
|
+
exports.OauthApi = exports.OauthApiFactory = exports.OauthApiFp = exports.OauthApiFetchParamCreator = exports.ItemApi = exports.ItemApiFactory = exports.ItemApiFp = exports.ItemApiFetchParamCreator = exports.IntegrationLogApi = exports.IntegrationLogApiFactory = exports.IntegrationLogApiFp = exports.IntegrationLogApiFetchParamCreator = exports.GiftCertificateApi = exports.GiftCertificateApiFactory = exports.GiftCertificateApiFp = exports.GiftCertificateApiFetchParamCreator = exports.FulfillmentApi = exports.FulfillmentApiFactory = exports.FulfillmentApiFp = exports.FulfillmentApiFetchParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiFetchParamCreator = exports.CouponApi = exports.CouponApiFactory = exports.CouponApiFp = exports.CouponApiFetchParamCreator = exports.ConversationApi = exports.ConversationApiFactory = exports.ConversationApiFp = exports.ConversationApiFetchParamCreator = exports.CheckoutApi = exports.CheckoutApiFactory = exports.CheckoutApiFp = exports.CheckoutApiFetchParamCreator = exports.ChargebackApi = exports.ChargebackApiFactory = exports.ChargebackApiFp = exports.ChargebackApiFetchParamCreator = exports.ChannelPartnerApi = exports.ChannelPartnerApiFactory = exports.ChannelPartnerApiFp = exports.ChannelPartnerApiFetchParamCreator = exports.AutoOrderApi = exports.AutoOrderApiFactory = exports.AutoOrderApiFp = exports.AutoOrderApiFetchParamCreator = exports.AffiliateApi = exports.AffiliateApiFactory = void 0;
|
|
33
|
+
exports.WebhookApi = exports.WebhookApiFactory = exports.WebhookApiFp = exports.WebhookApiFetchParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiFetchParamCreator = exports.TaxApi = exports.TaxApiFactory = exports.TaxApiFp = exports.TaxApiFetchParamCreator = exports.StorefrontApi = exports.StorefrontApiFactory = exports.StorefrontApiFp = exports.StorefrontApiFetchParamCreator = exports.SsoApi = exports.SsoApiFactory = exports.SsoApiFp = exports.SsoApiFetchParamCreator = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiFetchParamCreator = void 0;
|
|
34
34
|
var url = require("url");
|
|
35
35
|
var portableFetch = require("portable-fetch");
|
|
36
36
|
var BASE_PATH = "https://secure.ultracart.com/rest/v2".replace(/\/+$/, "");
|
|
@@ -359,6 +359,38 @@ var CheckoutHandoffRequest;
|
|
|
359
359
|
OperationEnum[OperationEnum["Sezzle"] = 'sezzle'] = "Sezzle";
|
|
360
360
|
})(OperationEnum = CheckoutHandoffRequest.OperationEnum || (CheckoutHandoffRequest.OperationEnum = {}));
|
|
361
361
|
})(CheckoutHandoffRequest = exports.CheckoutHandoffRequest || (exports.CheckoutHandoffRequest = {}));
|
|
362
|
+
/**
|
|
363
|
+
* @export
|
|
364
|
+
* @namespace ConversationEventRRWeb
|
|
365
|
+
*/
|
|
366
|
+
var ConversationEventRRWeb;
|
|
367
|
+
(function (ConversationEventRRWeb) {
|
|
368
|
+
/**
|
|
369
|
+
* @export
|
|
370
|
+
* @enum {string}
|
|
371
|
+
*/
|
|
372
|
+
var TypeEnum;
|
|
373
|
+
(function (TypeEnum) {
|
|
374
|
+
TypeEnum[TypeEnum["Init"] = 'init'] = "Init";
|
|
375
|
+
TypeEnum[TypeEnum["Events"] = 'events'] = "Events";
|
|
376
|
+
})(TypeEnum = ConversationEventRRWeb.TypeEnum || (ConversationEventRRWeb.TypeEnum = {}));
|
|
377
|
+
})(ConversationEventRRWeb = exports.ConversationEventRRWeb || (exports.ConversationEventRRWeb = {}));
|
|
378
|
+
/**
|
|
379
|
+
* @export
|
|
380
|
+
* @namespace ConversationMessage
|
|
381
|
+
*/
|
|
382
|
+
var ConversationMessage;
|
|
383
|
+
(function (ConversationMessage) {
|
|
384
|
+
/**
|
|
385
|
+
* @export
|
|
386
|
+
* @enum {string}
|
|
387
|
+
*/
|
|
388
|
+
var TypeEnum;
|
|
389
|
+
(function (TypeEnum) {
|
|
390
|
+
TypeEnum[TypeEnum["Message"] = 'message'] = "Message";
|
|
391
|
+
TypeEnum[TypeEnum["Notice"] = 'notice'] = "Notice";
|
|
392
|
+
})(TypeEnum = ConversationMessage.TypeEnum || (ConversationMessage.TypeEnum = {}));
|
|
393
|
+
})(ConversationMessage = exports.ConversationMessage || (exports.ConversationMessage = {}));
|
|
362
394
|
/**
|
|
363
395
|
* @export
|
|
364
396
|
* @namespace ConversationWebsocketMessage
|
|
@@ -378,6 +410,7 @@ var ConversationWebsocketMessage;
|
|
|
378
410
|
EventTypeEnum[EventTypeEnum["NewMessage"] = 'new message'] = "NewMessage";
|
|
379
411
|
EventTypeEnum[EventTypeEnum["UpdatedMessage"] = 'updated message'] = "UpdatedMessage";
|
|
380
412
|
EventTypeEnum[EventTypeEnum["QueueStatusUpdate"] = 'queue status update'] = "QueueStatusUpdate";
|
|
413
|
+
EventTypeEnum[EventTypeEnum["Rrweb"] = 'rrweb'] = "Rrweb";
|
|
381
414
|
})(EventTypeEnum = ConversationWebsocketMessage.EventTypeEnum || (ConversationWebsocketMessage.EventTypeEnum = {}));
|
|
382
415
|
/**
|
|
383
416
|
* @export
|
|
@@ -388,6 +421,7 @@ var ConversationWebsocketMessage;
|
|
|
388
421
|
TypeEnum[TypeEnum["Message"] = 'message'] = "Message";
|
|
389
422
|
TypeEnum[TypeEnum["Event"] = 'event'] = "Event";
|
|
390
423
|
TypeEnum[TypeEnum["Ping"] = 'ping'] = "Ping";
|
|
424
|
+
TypeEnum[TypeEnum["CheckQueuePosition"] = 'check queue position'] = "CheckQueuePosition";
|
|
391
425
|
})(TypeEnum = ConversationWebsocketMessage.TypeEnum || (ConversationWebsocketMessage.TypeEnum = {}));
|
|
392
426
|
})(ConversationWebsocketMessage = exports.ConversationWebsocketMessage || (exports.ConversationWebsocketMessage = {}));
|
|
393
427
|
/**
|