ultracart_rest_api_v2_typescript 3.10.26 → 3.10.29
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 +82 -2
- package/dist/api.d.ts +81 -2
- 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.29
|
|
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.29 --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.29 | 07/29/2022 | conversation development |
|
|
58
|
+
| 3.10.28 | 07/28/2022 | conversation bug fixes |
|
|
59
|
+
| 3.10.27 | 07/28/2022 | conversation message upload keys property |
|
|
57
60
|
| 3.10.26 | 07/26/2022 | conversations - queue statistics |
|
|
58
61
|
| 3.10.25 | 07/25/2022 | conversation development |
|
|
59
62
|
| 3.10.24 | 07/25/2022 | conversations bug fixes |
|
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}
|
|
@@ -6423,6 +6423,12 @@ export interface ConversationMessage {
|
|
|
6423
6423
|
* @memberof ConversationMessage
|
|
6424
6424
|
*/
|
|
6425
6425
|
body?: string;
|
|
6426
|
+
/**
|
|
6427
|
+
*
|
|
6428
|
+
* @type {string}
|
|
6429
|
+
* @memberof ConversationMessage
|
|
6430
|
+
*/
|
|
6431
|
+
client_message_id?: string;
|
|
6426
6432
|
/**
|
|
6427
6433
|
*
|
|
6428
6434
|
* @type {Array<string>}
|
|
@@ -6441,6 +6447,12 @@ export interface ConversationMessage {
|
|
|
6441
6447
|
* @memberof ConversationMessage
|
|
6442
6448
|
*/
|
|
6443
6449
|
transport_statuses?: Array<ConversationMessageTransportStatus>;
|
|
6450
|
+
/**
|
|
6451
|
+
*
|
|
6452
|
+
* @type {Array<string>}
|
|
6453
|
+
* @memberof ConversationMessage
|
|
6454
|
+
*/
|
|
6455
|
+
upload_keys?: Array<string>;
|
|
6444
6456
|
}
|
|
6445
6457
|
|
|
6446
6458
|
/**
|
|
@@ -6709,12 +6721,44 @@ export interface ConversationSummary {
|
|
|
6709
6721
|
* @memberof ConversationSummary
|
|
6710
6722
|
*/
|
|
6711
6723
|
message_count?: number;
|
|
6724
|
+
/**
|
|
6725
|
+
* Start of the conversation date/time
|
|
6726
|
+
* @type {string}
|
|
6727
|
+
* @memberof ConversationSummary
|
|
6728
|
+
*/
|
|
6729
|
+
start_dts?: string;
|
|
6712
6730
|
/**
|
|
6713
6731
|
*
|
|
6714
6732
|
* @type {boolean}
|
|
6715
6733
|
* @memberof ConversationSummary
|
|
6716
6734
|
*/
|
|
6717
6735
|
unread_messages?: boolean;
|
|
6736
|
+
/**
|
|
6737
|
+
*
|
|
6738
|
+
* @type {boolean}
|
|
6739
|
+
* @memberof ConversationSummary
|
|
6740
|
+
*/
|
|
6741
|
+
visible?: boolean;
|
|
6742
|
+
}
|
|
6743
|
+
|
|
6744
|
+
/**
|
|
6745
|
+
*
|
|
6746
|
+
* @export
|
|
6747
|
+
* @interface ConversationTwilioAccount
|
|
6748
|
+
*/
|
|
6749
|
+
export interface ConversationTwilioAccount {
|
|
6750
|
+
/**
|
|
6751
|
+
*
|
|
6752
|
+
* @type {string}
|
|
6753
|
+
* @memberof ConversationTwilioAccount
|
|
6754
|
+
*/
|
|
6755
|
+
merchant_id?: string;
|
|
6756
|
+
/**
|
|
6757
|
+
*
|
|
6758
|
+
* @type {Array<string>}
|
|
6759
|
+
* @memberof ConversationTwilioAccount
|
|
6760
|
+
*/
|
|
6761
|
+
twilio_phone_numbers?: Array<string>;
|
|
6718
6762
|
}
|
|
6719
6763
|
|
|
6720
6764
|
/**
|
|
@@ -6765,6 +6809,30 @@ export interface ConversationWebchatQueueStatus {
|
|
|
6765
6809
|
* @memberof ConversationWebchatQueueStatus
|
|
6766
6810
|
*/
|
|
6767
6811
|
customer_active_count?: number;
|
|
6812
|
+
/**
|
|
6813
|
+
*
|
|
6814
|
+
* @type {number}
|
|
6815
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6816
|
+
*/
|
|
6817
|
+
customer_average_abandon_time_seconds?: number;
|
|
6818
|
+
/**
|
|
6819
|
+
*
|
|
6820
|
+
* @type {number}
|
|
6821
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6822
|
+
*/
|
|
6823
|
+
customer_average_chat_time_seconds?: number;
|
|
6824
|
+
/**
|
|
6825
|
+
*
|
|
6826
|
+
* @type {number}
|
|
6827
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6828
|
+
*/
|
|
6829
|
+
customer_average_hold_time_seconds?: number;
|
|
6830
|
+
/**
|
|
6831
|
+
*
|
|
6832
|
+
* @type {number}
|
|
6833
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6834
|
+
*/
|
|
6835
|
+
customer_chat_count?: number;
|
|
6768
6836
|
/**
|
|
6769
6837
|
*
|
|
6770
6838
|
* @type {number}
|
|
@@ -6853,12 +6921,24 @@ export interface ConversationWebchatQueueStatusQueueEntry {
|
|
|
6853
6921
|
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6854
6922
|
*/
|
|
6855
6923
|
conversation_webchat_queue_uuid?: string;
|
|
6924
|
+
/**
|
|
6925
|
+
*
|
|
6926
|
+
* @type {string}
|
|
6927
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6928
|
+
*/
|
|
6929
|
+
email?: string;
|
|
6856
6930
|
/**
|
|
6857
6931
|
* Date/time the customer joined the queue
|
|
6858
6932
|
* @type {string}
|
|
6859
6933
|
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6860
6934
|
*/
|
|
6861
6935
|
join_dts?: string;
|
|
6936
|
+
/**
|
|
6937
|
+
*
|
|
6938
|
+
* @type {string}
|
|
6939
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6940
|
+
*/
|
|
6941
|
+
question?: string;
|
|
6862
6942
|
}
|
|
6863
6943
|
|
|
6864
6944
|
/**
|
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}
|
|
@@ -6272,6 +6272,12 @@ export interface ConversationMessage {
|
|
|
6272
6272
|
* @memberof ConversationMessage
|
|
6273
6273
|
*/
|
|
6274
6274
|
body?: string;
|
|
6275
|
+
/**
|
|
6276
|
+
*
|
|
6277
|
+
* @type {string}
|
|
6278
|
+
* @memberof ConversationMessage
|
|
6279
|
+
*/
|
|
6280
|
+
client_message_id?: string;
|
|
6275
6281
|
/**
|
|
6276
6282
|
*
|
|
6277
6283
|
* @type {Array<string>}
|
|
@@ -6290,6 +6296,12 @@ export interface ConversationMessage {
|
|
|
6290
6296
|
* @memberof ConversationMessage
|
|
6291
6297
|
*/
|
|
6292
6298
|
transport_statuses?: Array<ConversationMessageTransportStatus>;
|
|
6299
|
+
/**
|
|
6300
|
+
*
|
|
6301
|
+
* @type {Array<string>}
|
|
6302
|
+
* @memberof ConversationMessage
|
|
6303
|
+
*/
|
|
6304
|
+
upload_keys?: Array<string>;
|
|
6293
6305
|
}
|
|
6294
6306
|
/**
|
|
6295
6307
|
*
|
|
@@ -6550,12 +6562,43 @@ export interface ConversationSummary {
|
|
|
6550
6562
|
* @memberof ConversationSummary
|
|
6551
6563
|
*/
|
|
6552
6564
|
message_count?: number;
|
|
6565
|
+
/**
|
|
6566
|
+
* Start of the conversation date/time
|
|
6567
|
+
* @type {string}
|
|
6568
|
+
* @memberof ConversationSummary
|
|
6569
|
+
*/
|
|
6570
|
+
start_dts?: string;
|
|
6553
6571
|
/**
|
|
6554
6572
|
*
|
|
6555
6573
|
* @type {boolean}
|
|
6556
6574
|
* @memberof ConversationSummary
|
|
6557
6575
|
*/
|
|
6558
6576
|
unread_messages?: boolean;
|
|
6577
|
+
/**
|
|
6578
|
+
*
|
|
6579
|
+
* @type {boolean}
|
|
6580
|
+
* @memberof ConversationSummary
|
|
6581
|
+
*/
|
|
6582
|
+
visible?: boolean;
|
|
6583
|
+
}
|
|
6584
|
+
/**
|
|
6585
|
+
*
|
|
6586
|
+
* @export
|
|
6587
|
+
* @interface ConversationTwilioAccount
|
|
6588
|
+
*/
|
|
6589
|
+
export interface ConversationTwilioAccount {
|
|
6590
|
+
/**
|
|
6591
|
+
*
|
|
6592
|
+
* @type {string}
|
|
6593
|
+
* @memberof ConversationTwilioAccount
|
|
6594
|
+
*/
|
|
6595
|
+
merchant_id?: string;
|
|
6596
|
+
/**
|
|
6597
|
+
*
|
|
6598
|
+
* @type {Array<string>}
|
|
6599
|
+
* @memberof ConversationTwilioAccount
|
|
6600
|
+
*/
|
|
6601
|
+
twilio_phone_numbers?: Array<string>;
|
|
6559
6602
|
}
|
|
6560
6603
|
/**
|
|
6561
6604
|
*
|
|
@@ -6605,6 +6648,30 @@ export interface ConversationWebchatQueueStatus {
|
|
|
6605
6648
|
* @memberof ConversationWebchatQueueStatus
|
|
6606
6649
|
*/
|
|
6607
6650
|
customer_active_count?: number;
|
|
6651
|
+
/**
|
|
6652
|
+
*
|
|
6653
|
+
* @type {number}
|
|
6654
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6655
|
+
*/
|
|
6656
|
+
customer_average_abandon_time_seconds?: number;
|
|
6657
|
+
/**
|
|
6658
|
+
*
|
|
6659
|
+
* @type {number}
|
|
6660
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6661
|
+
*/
|
|
6662
|
+
customer_average_chat_time_seconds?: number;
|
|
6663
|
+
/**
|
|
6664
|
+
*
|
|
6665
|
+
* @type {number}
|
|
6666
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6667
|
+
*/
|
|
6668
|
+
customer_average_hold_time_seconds?: number;
|
|
6669
|
+
/**
|
|
6670
|
+
*
|
|
6671
|
+
* @type {number}
|
|
6672
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6673
|
+
*/
|
|
6674
|
+
customer_chat_count?: number;
|
|
6608
6675
|
/**
|
|
6609
6676
|
*
|
|
6610
6677
|
* @type {number}
|
|
@@ -6691,12 +6758,24 @@ export interface ConversationWebchatQueueStatusQueueEntry {
|
|
|
6691
6758
|
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6692
6759
|
*/
|
|
6693
6760
|
conversation_webchat_queue_uuid?: string;
|
|
6761
|
+
/**
|
|
6762
|
+
*
|
|
6763
|
+
* @type {string}
|
|
6764
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6765
|
+
*/
|
|
6766
|
+
email?: string;
|
|
6694
6767
|
/**
|
|
6695
6768
|
* Date/time the customer joined the queue
|
|
6696
6769
|
* @type {string}
|
|
6697
6770
|
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6698
6771
|
*/
|
|
6699
6772
|
join_dts?: string;
|
|
6773
|
+
/**
|
|
6774
|
+
*
|
|
6775
|
+
* @type {string}
|
|
6776
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6777
|
+
*/
|
|
6778
|
+
question?: string;
|
|
6700
6779
|
}
|
|
6701
6780
|
/**
|
|
6702
6781
|
*
|