ultracart_rest_api_v2_typescript 3.10.25 → 3.10.28
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 +459 -1
- package/dist/api.d.ts +325 -1
- package/dist/api.js +181 -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.28
|
|
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.28 --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.28 | 07/28/2022 | conversation bug fixes |
|
|
58
|
+
| 3.10.27 | 07/28/2022 | conversation message upload keys property |
|
|
59
|
+
| 3.10.26 | 07/26/2022 | conversations - queue statistics |
|
|
57
60
|
| 3.10.25 | 07/25/2022 | conversation development |
|
|
58
61
|
| 3.10.24 | 07/25/2022 | conversations bug fixes |
|
|
59
62
|
| 3.10.23 | 07/25/2022 | conversations - add a websocket message model |
|
package/api.ts
CHANGED
|
@@ -6441,6 +6441,12 @@ export interface ConversationMessage {
|
|
|
6441
6441
|
* @memberof ConversationMessage
|
|
6442
6442
|
*/
|
|
6443
6443
|
transport_statuses?: Array<ConversationMessageTransportStatus>;
|
|
6444
|
+
/**
|
|
6445
|
+
*
|
|
6446
|
+
* @type {Array<string>}
|
|
6447
|
+
* @memberof ConversationMessage
|
|
6448
|
+
*/
|
|
6449
|
+
upload_keys?: Array<string>;
|
|
6444
6450
|
}
|
|
6445
6451
|
|
|
6446
6452
|
/**
|
|
@@ -6717,6 +6723,238 @@ export interface ConversationSummary {
|
|
|
6717
6723
|
unread_messages?: boolean;
|
|
6718
6724
|
}
|
|
6719
6725
|
|
|
6726
|
+
/**
|
|
6727
|
+
*
|
|
6728
|
+
* @export
|
|
6729
|
+
* @interface ConversationWebchatQueueStatus
|
|
6730
|
+
*/
|
|
6731
|
+
export interface ConversationWebchatQueueStatus {
|
|
6732
|
+
/**
|
|
6733
|
+
*
|
|
6734
|
+
* @type {number}
|
|
6735
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6736
|
+
*/
|
|
6737
|
+
agent_available_count?: number;
|
|
6738
|
+
/**
|
|
6739
|
+
*
|
|
6740
|
+
* @type {number}
|
|
6741
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6742
|
+
*/
|
|
6743
|
+
agent_busy_count?: number;
|
|
6744
|
+
/**
|
|
6745
|
+
*
|
|
6746
|
+
* @type {number}
|
|
6747
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6748
|
+
*/
|
|
6749
|
+
agent_count?: number;
|
|
6750
|
+
/**
|
|
6751
|
+
*
|
|
6752
|
+
* @type {number}
|
|
6753
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6754
|
+
*/
|
|
6755
|
+
agent_unavailable_count?: number;
|
|
6756
|
+
/**
|
|
6757
|
+
*
|
|
6758
|
+
* @type {Array<ConversationWebchatQueueStatusAgent>}
|
|
6759
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6760
|
+
*/
|
|
6761
|
+
agents?: Array<ConversationWebchatQueueStatusAgent>;
|
|
6762
|
+
/**
|
|
6763
|
+
*
|
|
6764
|
+
* @type {number}
|
|
6765
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6766
|
+
*/
|
|
6767
|
+
customer_abandon_count?: number;
|
|
6768
|
+
/**
|
|
6769
|
+
*
|
|
6770
|
+
* @type {number}
|
|
6771
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6772
|
+
*/
|
|
6773
|
+
customer_active_count?: number;
|
|
6774
|
+
/**
|
|
6775
|
+
*
|
|
6776
|
+
* @type {number}
|
|
6777
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6778
|
+
*/
|
|
6779
|
+
customer_average_abandon_time_seconds?: number;
|
|
6780
|
+
/**
|
|
6781
|
+
*
|
|
6782
|
+
* @type {number}
|
|
6783
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6784
|
+
*/
|
|
6785
|
+
customer_average_chat_time_seconds?: number;
|
|
6786
|
+
/**
|
|
6787
|
+
*
|
|
6788
|
+
* @type {number}
|
|
6789
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6790
|
+
*/
|
|
6791
|
+
customer_average_hold_time_seconds?: number;
|
|
6792
|
+
/**
|
|
6793
|
+
*
|
|
6794
|
+
* @type {number}
|
|
6795
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6796
|
+
*/
|
|
6797
|
+
customer_chat_count?: number;
|
|
6798
|
+
/**
|
|
6799
|
+
*
|
|
6800
|
+
* @type {number}
|
|
6801
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6802
|
+
*/
|
|
6803
|
+
customer_waiting_count?: number;
|
|
6804
|
+
/**
|
|
6805
|
+
* Date/time that the oldest person joined the queue
|
|
6806
|
+
* @type {string}
|
|
6807
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6808
|
+
*/
|
|
6809
|
+
customer_waiting_join_dts?: string;
|
|
6810
|
+
/**
|
|
6811
|
+
*
|
|
6812
|
+
* @type {Array<ConversationWebchatQueueStatusQueueEntry>}
|
|
6813
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6814
|
+
*/
|
|
6815
|
+
queue_entries?: Array<ConversationWebchatQueueStatusQueueEntry>;
|
|
6816
|
+
/**
|
|
6817
|
+
*
|
|
6818
|
+
* @type {string}
|
|
6819
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6820
|
+
*/
|
|
6821
|
+
queue_name?: string;
|
|
6822
|
+
}
|
|
6823
|
+
|
|
6824
|
+
/**
|
|
6825
|
+
*
|
|
6826
|
+
* @export
|
|
6827
|
+
* @interface ConversationWebchatQueueStatusAgent
|
|
6828
|
+
*/
|
|
6829
|
+
export interface ConversationWebchatQueueStatusAgent {
|
|
6830
|
+
/**
|
|
6831
|
+
*
|
|
6832
|
+
* @type {string}
|
|
6833
|
+
* @memberof ConversationWebchatQueueStatusAgent
|
|
6834
|
+
*/
|
|
6835
|
+
agent_status?: string;
|
|
6836
|
+
/**
|
|
6837
|
+
*
|
|
6838
|
+
* @type {string}
|
|
6839
|
+
* @memberof ConversationWebchatQueueStatusAgent
|
|
6840
|
+
*/
|
|
6841
|
+
conversation_participant_arn?: string;
|
|
6842
|
+
/**
|
|
6843
|
+
*
|
|
6844
|
+
* @type {string}
|
|
6845
|
+
* @memberof ConversationWebchatQueueStatusAgent
|
|
6846
|
+
*/
|
|
6847
|
+
conversation_participant_name?: string;
|
|
6848
|
+
/**
|
|
6849
|
+
* Date/time that this agent took their last chat
|
|
6850
|
+
* @type {string}
|
|
6851
|
+
* @memberof ConversationWebchatQueueStatusAgent
|
|
6852
|
+
*/
|
|
6853
|
+
last_chat_dts?: string;
|
|
6854
|
+
/**
|
|
6855
|
+
*
|
|
6856
|
+
* @type {boolean}
|
|
6857
|
+
* @memberof ConversationWebchatQueueStatusAgent
|
|
6858
|
+
*/
|
|
6859
|
+
next_round_robin?: boolean;
|
|
6860
|
+
}
|
|
6861
|
+
|
|
6862
|
+
/**
|
|
6863
|
+
*
|
|
6864
|
+
* @export
|
|
6865
|
+
* @interface ConversationWebchatQueueStatusQueueEntry
|
|
6866
|
+
*/
|
|
6867
|
+
export interface ConversationWebchatQueueStatusQueueEntry {
|
|
6868
|
+
/**
|
|
6869
|
+
*
|
|
6870
|
+
* @type {string}
|
|
6871
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6872
|
+
*/
|
|
6873
|
+
conversation_participant_arn?: string;
|
|
6874
|
+
/**
|
|
6875
|
+
*
|
|
6876
|
+
* @type {string}
|
|
6877
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6878
|
+
*/
|
|
6879
|
+
conversation_participant_name?: string;
|
|
6880
|
+
/**
|
|
6881
|
+
*
|
|
6882
|
+
* @type {string}
|
|
6883
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6884
|
+
*/
|
|
6885
|
+
conversation_webchat_queue_uuid?: string;
|
|
6886
|
+
/**
|
|
6887
|
+
*
|
|
6888
|
+
* @type {string}
|
|
6889
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6890
|
+
*/
|
|
6891
|
+
email?: string;
|
|
6892
|
+
/**
|
|
6893
|
+
* Date/time the customer joined the queue
|
|
6894
|
+
* @type {string}
|
|
6895
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6896
|
+
*/
|
|
6897
|
+
join_dts?: string;
|
|
6898
|
+
/**
|
|
6899
|
+
*
|
|
6900
|
+
* @type {string}
|
|
6901
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6902
|
+
*/
|
|
6903
|
+
question?: string;
|
|
6904
|
+
}
|
|
6905
|
+
|
|
6906
|
+
/**
|
|
6907
|
+
*
|
|
6908
|
+
* @export
|
|
6909
|
+
* @interface ConversationWebchatQueueStatusUpdateRequest
|
|
6910
|
+
*/
|
|
6911
|
+
export interface ConversationWebchatQueueStatusUpdateRequest {
|
|
6912
|
+
/**
|
|
6913
|
+
*
|
|
6914
|
+
* @type {string}
|
|
6915
|
+
* @memberof ConversationWebchatQueueStatusUpdateRequest
|
|
6916
|
+
*/
|
|
6917
|
+
agent_status?: string;
|
|
6918
|
+
}
|
|
6919
|
+
|
|
6920
|
+
/**
|
|
6921
|
+
*
|
|
6922
|
+
* @export
|
|
6923
|
+
* @interface ConversationWebchatQueueStatusesResponse
|
|
6924
|
+
*/
|
|
6925
|
+
export interface ConversationWebchatQueueStatusesResponse {
|
|
6926
|
+
/**
|
|
6927
|
+
*
|
|
6928
|
+
* @type {ModelError}
|
|
6929
|
+
* @memberof ConversationWebchatQueueStatusesResponse
|
|
6930
|
+
*/
|
|
6931
|
+
error?: ModelError;
|
|
6932
|
+
/**
|
|
6933
|
+
*
|
|
6934
|
+
* @type {ResponseMetadata}
|
|
6935
|
+
* @memberof ConversationWebchatQueueStatusesResponse
|
|
6936
|
+
*/
|
|
6937
|
+
metadata?: ResponseMetadata;
|
|
6938
|
+
/**
|
|
6939
|
+
*
|
|
6940
|
+
* @type {Array<ConversationWebchatQueueStatus>}
|
|
6941
|
+
* @memberof ConversationWebchatQueueStatusesResponse
|
|
6942
|
+
*/
|
|
6943
|
+
queue_statuses?: Array<ConversationWebchatQueueStatus>;
|
|
6944
|
+
/**
|
|
6945
|
+
* Indicates if API call was successful
|
|
6946
|
+
* @type {boolean}
|
|
6947
|
+
* @memberof ConversationWebchatQueueStatusesResponse
|
|
6948
|
+
*/
|
|
6949
|
+
success?: boolean;
|
|
6950
|
+
/**
|
|
6951
|
+
*
|
|
6952
|
+
* @type {Warning}
|
|
6953
|
+
* @memberof ConversationWebchatQueueStatusesResponse
|
|
6954
|
+
*/
|
|
6955
|
+
warning?: Warning;
|
|
6956
|
+
}
|
|
6957
|
+
|
|
6720
6958
|
/**
|
|
6721
6959
|
*
|
|
6722
6960
|
* @export
|
|
@@ -6753,6 +6991,12 @@ export interface ConversationWebsocketMessage {
|
|
|
6753
6991
|
* @memberof ConversationWebsocketMessage
|
|
6754
6992
|
*/
|
|
6755
6993
|
event_queue_position?: ConversationEventQueuePosition;
|
|
6994
|
+
/**
|
|
6995
|
+
*
|
|
6996
|
+
* @type {ConversationWebchatQueueStatus}
|
|
6997
|
+
* @memberof ConversationWebsocketMessage
|
|
6998
|
+
*/
|
|
6999
|
+
event_queue_status_update?: ConversationWebchatQueueStatus;
|
|
6756
7000
|
/**
|
|
6757
7001
|
* Type of event
|
|
6758
7002
|
* @type {string}
|
|
@@ -6794,7 +7038,8 @@ export namespace ConversationWebsocketMessage {
|
|
|
6794
7038
|
ConversationClosed = <any> 'conversation closed',
|
|
6795
7039
|
NewConversation = <any> 'new conversation',
|
|
6796
7040
|
NewMessage = <any> 'new message',
|
|
6797
|
-
UpdatedMessage = <any> 'updated message'
|
|
7041
|
+
UpdatedMessage = <any> 'updated message',
|
|
7042
|
+
QueueStatusUpdate = <any> 'queue status update'
|
|
6798
7043
|
}
|
|
6799
7044
|
/**
|
|
6800
7045
|
* @export
|
|
@@ -38748,6 +38993,52 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
38748
38993
|
options: localVarRequestOptions,
|
|
38749
38994
|
};
|
|
38750
38995
|
},
|
|
38996
|
+
/**
|
|
38997
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
38998
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
38999
|
+
* @param {*} [options] Override http request option.
|
|
39000
|
+
* @throws {RequiredError}
|
|
39001
|
+
*/
|
|
39002
|
+
getConversationWebchatQueueStatuses(options: any = {}): FetchArgs {
|
|
39003
|
+
const localVarPath = `/conversation/conversations/queues/statuses`;
|
|
39004
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
39005
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
39006
|
+
const localVarHeaderParameter = {} as any;
|
|
39007
|
+
const localVarQueryParameter = {} as any;
|
|
39008
|
+
|
|
39009
|
+
if(configuration && configuration.apiVersion) {
|
|
39010
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
39011
|
+
}
|
|
39012
|
+
|
|
39013
|
+
|
|
39014
|
+
|
|
39015
|
+
// authentication ultraCartOauth required
|
|
39016
|
+
// oauth required
|
|
39017
|
+
if (configuration && configuration.accessToken) {
|
|
39018
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
39019
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_read"])
|
|
39020
|
+
: configuration.accessToken;
|
|
39021
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
39022
|
+
}
|
|
39023
|
+
|
|
39024
|
+
// authentication ultraCartSimpleApiKey required
|
|
39025
|
+
if (configuration && configuration.apiKey) {
|
|
39026
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
39027
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
39028
|
+
: configuration.apiKey;
|
|
39029
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
39030
|
+
}
|
|
39031
|
+
|
|
39032
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
39033
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
39034
|
+
delete localVarUrlObj.search;
|
|
39035
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
39036
|
+
|
|
39037
|
+
return {
|
|
39038
|
+
url: url.format(localVarUrlObj),
|
|
39039
|
+
options: localVarRequestOptions,
|
|
39040
|
+
};
|
|
39041
|
+
},
|
|
38751
39042
|
/**
|
|
38752
39043
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
38753
39044
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -38958,6 +39249,67 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
38958
39249
|
const needsSerialization = (<any>"ConversationStartRequest" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
38959
39250
|
localVarRequestOptions.body = needsSerialization ? JSON.stringify(start_request || {}) : (start_request || "");
|
|
38960
39251
|
|
|
39252
|
+
return {
|
|
39253
|
+
url: url.format(localVarUrlObj),
|
|
39254
|
+
options: localVarRequestOptions,
|
|
39255
|
+
};
|
|
39256
|
+
},
|
|
39257
|
+
/**
|
|
39258
|
+
* Update status within the queue
|
|
39259
|
+
* @summary Update status within the queue
|
|
39260
|
+
* @param {string} queue_name
|
|
39261
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
39262
|
+
* @param {*} [options] Override http request option.
|
|
39263
|
+
* @throws {RequiredError}
|
|
39264
|
+
*/
|
|
39265
|
+
updateConversationWebchatQueueStatus(queue_name: string, status_request: ConversationWebchatQueueStatusUpdateRequest, options: any = {}): FetchArgs {
|
|
39266
|
+
// verify required parameter 'queue_name' is not null or undefined
|
|
39267
|
+
if (queue_name === null || queue_name === undefined) {
|
|
39268
|
+
throw new RequiredError('queue_name','Required parameter queue_name was null or undefined when calling updateConversationWebchatQueueStatus.');
|
|
39269
|
+
}
|
|
39270
|
+
// verify required parameter 'status_request' is not null or undefined
|
|
39271
|
+
if (status_request === null || status_request === undefined) {
|
|
39272
|
+
throw new RequiredError('status_request','Required parameter status_request was null or undefined when calling updateConversationWebchatQueueStatus.');
|
|
39273
|
+
}
|
|
39274
|
+
const localVarPath = `/conversation/conversations/queues/{queue_name}/status`
|
|
39275
|
+
.replace(`{${"queue_name"}}`, encodeURIComponent(String(queue_name)));
|
|
39276
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
39277
|
+
const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
|
|
39278
|
+
const localVarHeaderParameter = {} as any;
|
|
39279
|
+
const localVarQueryParameter = {} as any;
|
|
39280
|
+
|
|
39281
|
+
if(configuration && configuration.apiVersion) {
|
|
39282
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
39283
|
+
}
|
|
39284
|
+
|
|
39285
|
+
|
|
39286
|
+
|
|
39287
|
+
// authentication ultraCartOauth required
|
|
39288
|
+
// oauth required
|
|
39289
|
+
if (configuration && configuration.accessToken) {
|
|
39290
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
39291
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_write"])
|
|
39292
|
+
: configuration.accessToken;
|
|
39293
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
39294
|
+
}
|
|
39295
|
+
|
|
39296
|
+
// authentication ultraCartSimpleApiKey required
|
|
39297
|
+
if (configuration && configuration.apiKey) {
|
|
39298
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
39299
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
39300
|
+
: configuration.apiKey;
|
|
39301
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
39302
|
+
}
|
|
39303
|
+
|
|
39304
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
39305
|
+
|
|
39306
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
39307
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
39308
|
+
delete localVarUrlObj.search;
|
|
39309
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
39310
|
+
const needsSerialization = (<any>"ConversationWebchatQueueStatusUpdateRequest" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
39311
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(status_request || {}) : (status_request || "");
|
|
39312
|
+
|
|
38961
39313
|
return {
|
|
38962
39314
|
url: url.format(localVarUrlObj),
|
|
38963
39315
|
options: localVarRequestOptions,
|
|
@@ -39034,6 +39386,26 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
39034
39386
|
});
|
|
39035
39387
|
};
|
|
39036
39388
|
},
|
|
39389
|
+
/**
|
|
39390
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
39391
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
39392
|
+
* @param {*} [options] Override http request option.
|
|
39393
|
+
* @throws {RequiredError}
|
|
39394
|
+
*/
|
|
39395
|
+
getConversationWebchatQueueStatuses(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationWebchatQueueStatusesResponse> {
|
|
39396
|
+
const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).getConversationWebchatQueueStatuses(options);
|
|
39397
|
+
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
39398
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
39399
|
+
|
|
39400
|
+
if (response.status >= 200 && response.status < 300) {
|
|
39401
|
+
return response.json();
|
|
39402
|
+
|
|
39403
|
+
} else {
|
|
39404
|
+
throw response;
|
|
39405
|
+
}
|
|
39406
|
+
});
|
|
39407
|
+
};
|
|
39408
|
+
},
|
|
39037
39409
|
/**
|
|
39038
39410
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
39039
39411
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -39119,6 +39491,28 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
39119
39491
|
});
|
|
39120
39492
|
};
|
|
39121
39493
|
},
|
|
39494
|
+
/**
|
|
39495
|
+
* Update status within the queue
|
|
39496
|
+
* @summary Update status within the queue
|
|
39497
|
+
* @param {string} queue_name
|
|
39498
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
39499
|
+
* @param {*} [options] Override http request option.
|
|
39500
|
+
* @throws {RequiredError}
|
|
39501
|
+
*/
|
|
39502
|
+
updateConversationWebchatQueueStatus(queue_name: string, status_request: ConversationWebchatQueueStatusUpdateRequest, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response> {
|
|
39503
|
+
const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).updateConversationWebchatQueueStatus(queue_name, status_request, options);
|
|
39504
|
+
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
39505
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
39506
|
+
|
|
39507
|
+
if (response.status >= 200 && response.status < 300) {
|
|
39508
|
+
return response;
|
|
39509
|
+
|
|
39510
|
+
} else {
|
|
39511
|
+
throw response;
|
|
39512
|
+
}
|
|
39513
|
+
});
|
|
39514
|
+
};
|
|
39515
|
+
},
|
|
39122
39516
|
}
|
|
39123
39517
|
};
|
|
39124
39518
|
|
|
@@ -39157,6 +39551,15 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
39157
39551
|
getConversationMultimediaUploadUrl(extension: string, options?: any) {
|
|
39158
39552
|
return ConversationApiFp(configuration).getConversationMultimediaUploadUrl(extension, options)(fetch, basePath);
|
|
39159
39553
|
},
|
|
39554
|
+
/**
|
|
39555
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
39556
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
39557
|
+
* @param {*} [options] Override http request option.
|
|
39558
|
+
* @throws {RequiredError}
|
|
39559
|
+
*/
|
|
39560
|
+
getConversationWebchatQueueStatuses(options?: any) {
|
|
39561
|
+
return ConversationApiFp(configuration).getConversationWebchatQueueStatuses(options)(fetch, basePath);
|
|
39562
|
+
},
|
|
39160
39563
|
/**
|
|
39161
39564
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
39162
39565
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -39198,6 +39601,17 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
39198
39601
|
startConversation(start_request: ConversationStartRequest, options?: any) {
|
|
39199
39602
|
return ConversationApiFp(configuration).startConversation(start_request, options)(fetch, basePath);
|
|
39200
39603
|
},
|
|
39604
|
+
/**
|
|
39605
|
+
* Update status within the queue
|
|
39606
|
+
* @summary Update status within the queue
|
|
39607
|
+
* @param {string} queue_name
|
|
39608
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
39609
|
+
* @param {*} [options] Override http request option.
|
|
39610
|
+
* @throws {RequiredError}
|
|
39611
|
+
*/
|
|
39612
|
+
updateConversationWebchatQueueStatus(queue_name: string, status_request: ConversationWebchatQueueStatusUpdateRequest, options?: any) {
|
|
39613
|
+
return ConversationApiFp(configuration).updateConversationWebchatQueueStatus(queue_name, status_request, options)(fetch, basePath);
|
|
39614
|
+
},
|
|
39201
39615
|
};
|
|
39202
39616
|
};
|
|
39203
39617
|
|
|
@@ -39236,6 +39650,15 @@ export interface ConversationApiInterface {
|
|
|
39236
39650
|
*/
|
|
39237
39651
|
getConversationMultimediaUploadUrl(extension: string, options?: any): Promise<ConversationMultimediaUploadUrlResponse>;
|
|
39238
39652
|
|
|
39653
|
+
/**
|
|
39654
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
39655
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
39656
|
+
* @param {*} [options] Override http request option.
|
|
39657
|
+
* @throws {RequiredError}
|
|
39658
|
+
* @memberof ConversationApiInterface
|
|
39659
|
+
*/
|
|
39660
|
+
getConversationWebchatQueueStatuses(options?: any): Promise<ConversationWebchatQueueStatusesResponse>;
|
|
39661
|
+
|
|
39239
39662
|
/**
|
|
39240
39663
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
39241
39664
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -39277,6 +39700,17 @@ export interface ConversationApiInterface {
|
|
|
39277
39700
|
*/
|
|
39278
39701
|
startConversation(start_request: ConversationStartRequest, options?: any): Promise<ConversationStartResponse>;
|
|
39279
39702
|
|
|
39703
|
+
/**
|
|
39704
|
+
* Update status within the queue
|
|
39705
|
+
* @summary Update status within the queue
|
|
39706
|
+
* @param {string} queue_name
|
|
39707
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
39708
|
+
* @param {*} [options] Override http request option.
|
|
39709
|
+
* @throws {RequiredError}
|
|
39710
|
+
* @memberof ConversationApiInterface
|
|
39711
|
+
*/
|
|
39712
|
+
updateConversationWebchatQueueStatus(queue_name: string, status_request: ConversationWebchatQueueStatusUpdateRequest, options?: any): Promise<{}>;
|
|
39713
|
+
|
|
39280
39714
|
}
|
|
39281
39715
|
|
|
39282
39716
|
/**
|
|
@@ -39321,6 +39755,17 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
39321
39755
|
return ConversationApiFp(this.configuration).getConversationMultimediaUploadUrl(extension, options)(this.fetch, this.basePath);
|
|
39322
39756
|
}
|
|
39323
39757
|
|
|
39758
|
+
/**
|
|
39759
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
39760
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
39761
|
+
* @param {*} [options] Override http request option.
|
|
39762
|
+
* @throws {RequiredError}
|
|
39763
|
+
* @memberof ConversationApi
|
|
39764
|
+
*/
|
|
39765
|
+
public getConversationWebchatQueueStatuses(options?: any) {
|
|
39766
|
+
return ConversationApiFp(this.configuration).getConversationWebchatQueueStatuses(options)(this.fetch, this.basePath);
|
|
39767
|
+
}
|
|
39768
|
+
|
|
39324
39769
|
/**
|
|
39325
39770
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
39326
39771
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -39370,6 +39815,19 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
39370
39815
|
return ConversationApiFp(this.configuration).startConversation(start_request, options)(this.fetch, this.basePath);
|
|
39371
39816
|
}
|
|
39372
39817
|
|
|
39818
|
+
/**
|
|
39819
|
+
* Update status within the queue
|
|
39820
|
+
* @summary Update status within the queue
|
|
39821
|
+
* @param {string} queue_name
|
|
39822
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
39823
|
+
* @param {*} [options] Override http request option.
|
|
39824
|
+
* @throws {RequiredError}
|
|
39825
|
+
* @memberof ConversationApi
|
|
39826
|
+
*/
|
|
39827
|
+
public updateConversationWebchatQueueStatus(queue_name: string, status_request: ConversationWebchatQueueStatusUpdateRequest, options?: any) {
|
|
39828
|
+
return ConversationApiFp(this.configuration).updateConversationWebchatQueueStatus(queue_name, status_request, options)(this.fetch, this.basePath);
|
|
39829
|
+
}
|
|
39830
|
+
|
|
39373
39831
|
}
|
|
39374
39832
|
|
|
39375
39833
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -6290,6 +6290,12 @@ export interface ConversationMessage {
|
|
|
6290
6290
|
* @memberof ConversationMessage
|
|
6291
6291
|
*/
|
|
6292
6292
|
transport_statuses?: Array<ConversationMessageTransportStatus>;
|
|
6293
|
+
/**
|
|
6294
|
+
*
|
|
6295
|
+
* @type {Array<string>}
|
|
6296
|
+
* @memberof ConversationMessage
|
|
6297
|
+
*/
|
|
6298
|
+
upload_keys?: Array<string>;
|
|
6293
6299
|
}
|
|
6294
6300
|
/**
|
|
6295
6301
|
*
|
|
@@ -6557,6 +6563,233 @@ export interface ConversationSummary {
|
|
|
6557
6563
|
*/
|
|
6558
6564
|
unread_messages?: boolean;
|
|
6559
6565
|
}
|
|
6566
|
+
/**
|
|
6567
|
+
*
|
|
6568
|
+
* @export
|
|
6569
|
+
* @interface ConversationWebchatQueueStatus
|
|
6570
|
+
*/
|
|
6571
|
+
export interface ConversationWebchatQueueStatus {
|
|
6572
|
+
/**
|
|
6573
|
+
*
|
|
6574
|
+
* @type {number}
|
|
6575
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6576
|
+
*/
|
|
6577
|
+
agent_available_count?: number;
|
|
6578
|
+
/**
|
|
6579
|
+
*
|
|
6580
|
+
* @type {number}
|
|
6581
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6582
|
+
*/
|
|
6583
|
+
agent_busy_count?: number;
|
|
6584
|
+
/**
|
|
6585
|
+
*
|
|
6586
|
+
* @type {number}
|
|
6587
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6588
|
+
*/
|
|
6589
|
+
agent_count?: number;
|
|
6590
|
+
/**
|
|
6591
|
+
*
|
|
6592
|
+
* @type {number}
|
|
6593
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6594
|
+
*/
|
|
6595
|
+
agent_unavailable_count?: number;
|
|
6596
|
+
/**
|
|
6597
|
+
*
|
|
6598
|
+
* @type {Array<ConversationWebchatQueueStatusAgent>}
|
|
6599
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6600
|
+
*/
|
|
6601
|
+
agents?: Array<ConversationWebchatQueueStatusAgent>;
|
|
6602
|
+
/**
|
|
6603
|
+
*
|
|
6604
|
+
* @type {number}
|
|
6605
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6606
|
+
*/
|
|
6607
|
+
customer_abandon_count?: number;
|
|
6608
|
+
/**
|
|
6609
|
+
*
|
|
6610
|
+
* @type {number}
|
|
6611
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6612
|
+
*/
|
|
6613
|
+
customer_active_count?: number;
|
|
6614
|
+
/**
|
|
6615
|
+
*
|
|
6616
|
+
* @type {number}
|
|
6617
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6618
|
+
*/
|
|
6619
|
+
customer_average_abandon_time_seconds?: number;
|
|
6620
|
+
/**
|
|
6621
|
+
*
|
|
6622
|
+
* @type {number}
|
|
6623
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6624
|
+
*/
|
|
6625
|
+
customer_average_chat_time_seconds?: number;
|
|
6626
|
+
/**
|
|
6627
|
+
*
|
|
6628
|
+
* @type {number}
|
|
6629
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6630
|
+
*/
|
|
6631
|
+
customer_average_hold_time_seconds?: number;
|
|
6632
|
+
/**
|
|
6633
|
+
*
|
|
6634
|
+
* @type {number}
|
|
6635
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6636
|
+
*/
|
|
6637
|
+
customer_chat_count?: number;
|
|
6638
|
+
/**
|
|
6639
|
+
*
|
|
6640
|
+
* @type {number}
|
|
6641
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6642
|
+
*/
|
|
6643
|
+
customer_waiting_count?: number;
|
|
6644
|
+
/**
|
|
6645
|
+
* Date/time that the oldest person joined the queue
|
|
6646
|
+
* @type {string}
|
|
6647
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6648
|
+
*/
|
|
6649
|
+
customer_waiting_join_dts?: string;
|
|
6650
|
+
/**
|
|
6651
|
+
*
|
|
6652
|
+
* @type {Array<ConversationWebchatQueueStatusQueueEntry>}
|
|
6653
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6654
|
+
*/
|
|
6655
|
+
queue_entries?: Array<ConversationWebchatQueueStatusQueueEntry>;
|
|
6656
|
+
/**
|
|
6657
|
+
*
|
|
6658
|
+
* @type {string}
|
|
6659
|
+
* @memberof ConversationWebchatQueueStatus
|
|
6660
|
+
*/
|
|
6661
|
+
queue_name?: string;
|
|
6662
|
+
}
|
|
6663
|
+
/**
|
|
6664
|
+
*
|
|
6665
|
+
* @export
|
|
6666
|
+
* @interface ConversationWebchatQueueStatusAgent
|
|
6667
|
+
*/
|
|
6668
|
+
export interface ConversationWebchatQueueStatusAgent {
|
|
6669
|
+
/**
|
|
6670
|
+
*
|
|
6671
|
+
* @type {string}
|
|
6672
|
+
* @memberof ConversationWebchatQueueStatusAgent
|
|
6673
|
+
*/
|
|
6674
|
+
agent_status?: string;
|
|
6675
|
+
/**
|
|
6676
|
+
*
|
|
6677
|
+
* @type {string}
|
|
6678
|
+
* @memberof ConversationWebchatQueueStatusAgent
|
|
6679
|
+
*/
|
|
6680
|
+
conversation_participant_arn?: string;
|
|
6681
|
+
/**
|
|
6682
|
+
*
|
|
6683
|
+
* @type {string}
|
|
6684
|
+
* @memberof ConversationWebchatQueueStatusAgent
|
|
6685
|
+
*/
|
|
6686
|
+
conversation_participant_name?: string;
|
|
6687
|
+
/**
|
|
6688
|
+
* Date/time that this agent took their last chat
|
|
6689
|
+
* @type {string}
|
|
6690
|
+
* @memberof ConversationWebchatQueueStatusAgent
|
|
6691
|
+
*/
|
|
6692
|
+
last_chat_dts?: string;
|
|
6693
|
+
/**
|
|
6694
|
+
*
|
|
6695
|
+
* @type {boolean}
|
|
6696
|
+
* @memberof ConversationWebchatQueueStatusAgent
|
|
6697
|
+
*/
|
|
6698
|
+
next_round_robin?: boolean;
|
|
6699
|
+
}
|
|
6700
|
+
/**
|
|
6701
|
+
*
|
|
6702
|
+
* @export
|
|
6703
|
+
* @interface ConversationWebchatQueueStatusQueueEntry
|
|
6704
|
+
*/
|
|
6705
|
+
export interface ConversationWebchatQueueStatusQueueEntry {
|
|
6706
|
+
/**
|
|
6707
|
+
*
|
|
6708
|
+
* @type {string}
|
|
6709
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6710
|
+
*/
|
|
6711
|
+
conversation_participant_arn?: string;
|
|
6712
|
+
/**
|
|
6713
|
+
*
|
|
6714
|
+
* @type {string}
|
|
6715
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6716
|
+
*/
|
|
6717
|
+
conversation_participant_name?: string;
|
|
6718
|
+
/**
|
|
6719
|
+
*
|
|
6720
|
+
* @type {string}
|
|
6721
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6722
|
+
*/
|
|
6723
|
+
conversation_webchat_queue_uuid?: string;
|
|
6724
|
+
/**
|
|
6725
|
+
*
|
|
6726
|
+
* @type {string}
|
|
6727
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6728
|
+
*/
|
|
6729
|
+
email?: string;
|
|
6730
|
+
/**
|
|
6731
|
+
* Date/time the customer joined the queue
|
|
6732
|
+
* @type {string}
|
|
6733
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6734
|
+
*/
|
|
6735
|
+
join_dts?: string;
|
|
6736
|
+
/**
|
|
6737
|
+
*
|
|
6738
|
+
* @type {string}
|
|
6739
|
+
* @memberof ConversationWebchatQueueStatusQueueEntry
|
|
6740
|
+
*/
|
|
6741
|
+
question?: string;
|
|
6742
|
+
}
|
|
6743
|
+
/**
|
|
6744
|
+
*
|
|
6745
|
+
* @export
|
|
6746
|
+
* @interface ConversationWebchatQueueStatusUpdateRequest
|
|
6747
|
+
*/
|
|
6748
|
+
export interface ConversationWebchatQueueStatusUpdateRequest {
|
|
6749
|
+
/**
|
|
6750
|
+
*
|
|
6751
|
+
* @type {string}
|
|
6752
|
+
* @memberof ConversationWebchatQueueStatusUpdateRequest
|
|
6753
|
+
*/
|
|
6754
|
+
agent_status?: string;
|
|
6755
|
+
}
|
|
6756
|
+
/**
|
|
6757
|
+
*
|
|
6758
|
+
* @export
|
|
6759
|
+
* @interface ConversationWebchatQueueStatusesResponse
|
|
6760
|
+
*/
|
|
6761
|
+
export interface ConversationWebchatQueueStatusesResponse {
|
|
6762
|
+
/**
|
|
6763
|
+
*
|
|
6764
|
+
* @type {ModelError}
|
|
6765
|
+
* @memberof ConversationWebchatQueueStatusesResponse
|
|
6766
|
+
*/
|
|
6767
|
+
error?: ModelError;
|
|
6768
|
+
/**
|
|
6769
|
+
*
|
|
6770
|
+
* @type {ResponseMetadata}
|
|
6771
|
+
* @memberof ConversationWebchatQueueStatusesResponse
|
|
6772
|
+
*/
|
|
6773
|
+
metadata?: ResponseMetadata;
|
|
6774
|
+
/**
|
|
6775
|
+
*
|
|
6776
|
+
* @type {Array<ConversationWebchatQueueStatus>}
|
|
6777
|
+
* @memberof ConversationWebchatQueueStatusesResponse
|
|
6778
|
+
*/
|
|
6779
|
+
queue_statuses?: Array<ConversationWebchatQueueStatus>;
|
|
6780
|
+
/**
|
|
6781
|
+
* Indicates if API call was successful
|
|
6782
|
+
* @type {boolean}
|
|
6783
|
+
* @memberof ConversationWebchatQueueStatusesResponse
|
|
6784
|
+
*/
|
|
6785
|
+
success?: boolean;
|
|
6786
|
+
/**
|
|
6787
|
+
*
|
|
6788
|
+
* @type {Warning}
|
|
6789
|
+
* @memberof ConversationWebchatQueueStatusesResponse
|
|
6790
|
+
*/
|
|
6791
|
+
warning?: Warning;
|
|
6792
|
+
}
|
|
6560
6793
|
/**
|
|
6561
6794
|
*
|
|
6562
6795
|
* @export
|
|
@@ -6593,6 +6826,12 @@ export interface ConversationWebsocketMessage {
|
|
|
6593
6826
|
* @memberof ConversationWebsocketMessage
|
|
6594
6827
|
*/
|
|
6595
6828
|
event_queue_position?: ConversationEventQueuePosition;
|
|
6829
|
+
/**
|
|
6830
|
+
*
|
|
6831
|
+
* @type {ConversationWebchatQueueStatus}
|
|
6832
|
+
* @memberof ConversationWebsocketMessage
|
|
6833
|
+
*/
|
|
6834
|
+
event_queue_status_update?: ConversationWebchatQueueStatus;
|
|
6596
6835
|
/**
|
|
6597
6836
|
* Type of event
|
|
6598
6837
|
* @type {string}
|
|
@@ -6633,7 +6872,8 @@ export declare namespace ConversationWebsocketMessage {
|
|
|
6633
6872
|
ConversationClosed,
|
|
6634
6873
|
NewConversation,
|
|
6635
6874
|
NewMessage,
|
|
6636
|
-
UpdatedMessage
|
|
6875
|
+
UpdatedMessage,
|
|
6876
|
+
QueueStatusUpdate
|
|
6637
6877
|
}
|
|
6638
6878
|
/**
|
|
6639
6879
|
* @export
|
|
@@ -34921,6 +35161,13 @@ export declare const ConversationApiFetchParamCreator: (configuration?: Configur
|
|
|
34921
35161
|
* @throws {RequiredError}
|
|
34922
35162
|
*/
|
|
34923
35163
|
getConversationMultimediaUploadUrl(extension: string, options?: any): FetchArgs;
|
|
35164
|
+
/**
|
|
35165
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
35166
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
35167
|
+
* @param {*} [options] Override http request option.
|
|
35168
|
+
* @throws {RequiredError}
|
|
35169
|
+
*/
|
|
35170
|
+
getConversationWebchatQueueStatuses(options?: any): FetchArgs;
|
|
34924
35171
|
/**
|
|
34925
35172
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
34926
35173
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -34954,6 +35201,15 @@ export declare const ConversationApiFetchParamCreator: (configuration?: Configur
|
|
|
34954
35201
|
* @throws {RequiredError}
|
|
34955
35202
|
*/
|
|
34956
35203
|
startConversation(start_request: ConversationStartRequest, options?: any): FetchArgs;
|
|
35204
|
+
/**
|
|
35205
|
+
* Update status within the queue
|
|
35206
|
+
* @summary Update status within the queue
|
|
35207
|
+
* @param {string} queue_name
|
|
35208
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
35209
|
+
* @param {*} [options] Override http request option.
|
|
35210
|
+
* @throws {RequiredError}
|
|
35211
|
+
*/
|
|
35212
|
+
updateConversationWebchatQueueStatus(queue_name: string, status_request: ConversationWebchatQueueStatusUpdateRequest, options?: any): FetchArgs;
|
|
34957
35213
|
};
|
|
34958
35214
|
/**
|
|
34959
35215
|
* ConversationApi - functional programming interface
|
|
@@ -34983,6 +35239,13 @@ export declare const ConversationApiFp: (configuration?: Configuration) => {
|
|
|
34983
35239
|
* @throws {RequiredError}
|
|
34984
35240
|
*/
|
|
34985
35241
|
getConversationMultimediaUploadUrl(extension: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationMultimediaUploadUrlResponse>;
|
|
35242
|
+
/**
|
|
35243
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
35244
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
35245
|
+
* @param {*} [options] Override http request option.
|
|
35246
|
+
* @throws {RequiredError}
|
|
35247
|
+
*/
|
|
35248
|
+
getConversationWebchatQueueStatuses(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationWebchatQueueStatusesResponse>;
|
|
34986
35249
|
/**
|
|
34987
35250
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
34988
35251
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -35016,6 +35279,15 @@ export declare const ConversationApiFp: (configuration?: Configuration) => {
|
|
|
35016
35279
|
* @throws {RequiredError}
|
|
35017
35280
|
*/
|
|
35018
35281
|
startConversation(start_request: ConversationStartRequest, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationStartResponse>;
|
|
35282
|
+
/**
|
|
35283
|
+
* Update status within the queue
|
|
35284
|
+
* @summary Update status within the queue
|
|
35285
|
+
* @param {string} queue_name
|
|
35286
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
35287
|
+
* @param {*} [options] Override http request option.
|
|
35288
|
+
* @throws {RequiredError}
|
|
35289
|
+
*/
|
|
35290
|
+
updateConversationWebchatQueueStatus(queue_name: string, status_request: ConversationWebchatQueueStatusUpdateRequest, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
35019
35291
|
};
|
|
35020
35292
|
/**
|
|
35021
35293
|
* ConversationApi - factory interface
|
|
@@ -35045,6 +35317,13 @@ export declare const ConversationApiFactory: (configuration?: Configuration, fet
|
|
|
35045
35317
|
* @throws {RequiredError}
|
|
35046
35318
|
*/
|
|
35047
35319
|
getConversationMultimediaUploadUrl(extension: string, options?: any): Promise<ConversationMultimediaUploadUrlResponse>;
|
|
35320
|
+
/**
|
|
35321
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
35322
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
35323
|
+
* @param {*} [options] Override http request option.
|
|
35324
|
+
* @throws {RequiredError}
|
|
35325
|
+
*/
|
|
35326
|
+
getConversationWebchatQueueStatuses(options?: any): Promise<ConversationWebchatQueueStatusesResponse>;
|
|
35048
35327
|
/**
|
|
35049
35328
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
35050
35329
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -35078,6 +35357,15 @@ export declare const ConversationApiFactory: (configuration?: Configuration, fet
|
|
|
35078
35357
|
* @throws {RequiredError}
|
|
35079
35358
|
*/
|
|
35080
35359
|
startConversation(start_request: ConversationStartRequest, options?: any): Promise<ConversationStartResponse>;
|
|
35360
|
+
/**
|
|
35361
|
+
* Update status within the queue
|
|
35362
|
+
* @summary Update status within the queue
|
|
35363
|
+
* @param {string} queue_name
|
|
35364
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
35365
|
+
* @param {*} [options] Override http request option.
|
|
35366
|
+
* @throws {RequiredError}
|
|
35367
|
+
*/
|
|
35368
|
+
updateConversationWebchatQueueStatus(queue_name: string, status_request: ConversationWebchatQueueStatusUpdateRequest, options?: any): Promise<Response>;
|
|
35081
35369
|
};
|
|
35082
35370
|
/**
|
|
35083
35371
|
* ConversationApi - interface
|
|
@@ -35111,6 +35399,14 @@ export interface ConversationApiInterface {
|
|
|
35111
35399
|
* @memberof ConversationApiInterface
|
|
35112
35400
|
*/
|
|
35113
35401
|
getConversationMultimediaUploadUrl(extension: string, options?: any): Promise<ConversationMultimediaUploadUrlResponse>;
|
|
35402
|
+
/**
|
|
35403
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
35404
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
35405
|
+
* @param {*} [options] Override http request option.
|
|
35406
|
+
* @throws {RequiredError}
|
|
35407
|
+
* @memberof ConversationApiInterface
|
|
35408
|
+
*/
|
|
35409
|
+
getConversationWebchatQueueStatuses(options?: any): Promise<ConversationWebchatQueueStatusesResponse>;
|
|
35114
35410
|
/**
|
|
35115
35411
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
35116
35412
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -35148,6 +35444,16 @@ export interface ConversationApiInterface {
|
|
|
35148
35444
|
* @memberof ConversationApiInterface
|
|
35149
35445
|
*/
|
|
35150
35446
|
startConversation(start_request: ConversationStartRequest, options?: any): Promise<ConversationStartResponse>;
|
|
35447
|
+
/**
|
|
35448
|
+
* Update status within the queue
|
|
35449
|
+
* @summary Update status within the queue
|
|
35450
|
+
* @param {string} queue_name
|
|
35451
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
35452
|
+
* @param {*} [options] Override http request option.
|
|
35453
|
+
* @throws {RequiredError}
|
|
35454
|
+
* @memberof ConversationApiInterface
|
|
35455
|
+
*/
|
|
35456
|
+
updateConversationWebchatQueueStatus(queue_name: string, status_request: ConversationWebchatQueueStatusUpdateRequest, options?: any): Promise<{}>;
|
|
35151
35457
|
}
|
|
35152
35458
|
/**
|
|
35153
35459
|
* ConversationApi - object-oriented interface
|
|
@@ -35182,6 +35488,14 @@ export declare class ConversationApi extends BaseAPI implements ConversationApiI
|
|
|
35182
35488
|
* @memberof ConversationApi
|
|
35183
35489
|
*/
|
|
35184
35490
|
getConversationMultimediaUploadUrl(extension: string, options?: any): Promise<ConversationMultimediaUploadUrlResponse>;
|
|
35491
|
+
/**
|
|
35492
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
35493
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
35494
|
+
* @param {*} [options] Override http request option.
|
|
35495
|
+
* @throws {RequiredError}
|
|
35496
|
+
* @memberof ConversationApi
|
|
35497
|
+
*/
|
|
35498
|
+
getConversationWebchatQueueStatuses(options?: any): Promise<ConversationWebchatQueueStatusesResponse>;
|
|
35185
35499
|
/**
|
|
35186
35500
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
35187
35501
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -35219,6 +35533,16 @@ export declare class ConversationApi extends BaseAPI implements ConversationApiI
|
|
|
35219
35533
|
* @memberof ConversationApi
|
|
35220
35534
|
*/
|
|
35221
35535
|
startConversation(start_request: ConversationStartRequest, options?: any): Promise<ConversationStartResponse>;
|
|
35536
|
+
/**
|
|
35537
|
+
* Update status within the queue
|
|
35538
|
+
* @summary Update status within the queue
|
|
35539
|
+
* @param {string} queue_name
|
|
35540
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
35541
|
+
* @param {*} [options] Override http request option.
|
|
35542
|
+
* @throws {RequiredError}
|
|
35543
|
+
* @memberof ConversationApi
|
|
35544
|
+
*/
|
|
35545
|
+
updateConversationWebchatQueueStatus(queue_name: string, status_request: ConversationWebchatQueueStatusUpdateRequest, options?: any): Promise<Response>;
|
|
35222
35546
|
}
|
|
35223
35547
|
/**
|
|
35224
35548
|
* CouponApi - fetch parameter creator
|
package/dist/api.js
CHANGED
|
@@ -377,6 +377,7 @@ var ConversationWebsocketMessage;
|
|
|
377
377
|
EventTypeEnum[EventTypeEnum["NewConversation"] = 'new conversation'] = "NewConversation";
|
|
378
378
|
EventTypeEnum[EventTypeEnum["NewMessage"] = 'new message'] = "NewMessage";
|
|
379
379
|
EventTypeEnum[EventTypeEnum["UpdatedMessage"] = 'updated message'] = "UpdatedMessage";
|
|
380
|
+
EventTypeEnum[EventTypeEnum["QueueStatusUpdate"] = 'queue status update'] = "QueueStatusUpdate";
|
|
380
381
|
})(EventTypeEnum = ConversationWebsocketMessage.EventTypeEnum || (ConversationWebsocketMessage.EventTypeEnum = {}));
|
|
381
382
|
/**
|
|
382
383
|
* @export
|
|
@@ -5458,6 +5459,46 @@ var ConversationApiFetchParamCreator = function (configuration) {
|
|
|
5458
5459
|
options: localVarRequestOptions,
|
|
5459
5460
|
};
|
|
5460
5461
|
},
|
|
5462
|
+
/**
|
|
5463
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
5464
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
5465
|
+
* @param {*} [options] Override http request option.
|
|
5466
|
+
* @throws {RequiredError}
|
|
5467
|
+
*/
|
|
5468
|
+
getConversationWebchatQueueStatuses: function (options) {
|
|
5469
|
+
if (options === void 0) { options = {}; }
|
|
5470
|
+
var localVarPath = "/conversation/conversations/queues/statuses";
|
|
5471
|
+
var localVarUrlObj = url.parse(localVarPath, true);
|
|
5472
|
+
var localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
5473
|
+
var localVarHeaderParameter = {};
|
|
5474
|
+
var localVarQueryParameter = {};
|
|
5475
|
+
if (configuration && configuration.apiVersion) {
|
|
5476
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
5477
|
+
}
|
|
5478
|
+
// authentication ultraCartOauth required
|
|
5479
|
+
// oauth required
|
|
5480
|
+
if (configuration && configuration.accessToken) {
|
|
5481
|
+
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
5482
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_read"])
|
|
5483
|
+
: configuration.accessToken;
|
|
5484
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
5485
|
+
}
|
|
5486
|
+
// authentication ultraCartSimpleApiKey required
|
|
5487
|
+
if (configuration && configuration.apiKey) {
|
|
5488
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
5489
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
5490
|
+
: configuration.apiKey;
|
|
5491
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
5492
|
+
}
|
|
5493
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
5494
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
5495
|
+
delete localVarUrlObj.search;
|
|
5496
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
5497
|
+
return {
|
|
5498
|
+
url: url.format(localVarUrlObj),
|
|
5499
|
+
options: localVarRequestOptions,
|
|
5500
|
+
};
|
|
5501
|
+
},
|
|
5461
5502
|
/**
|
|
5462
5503
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
5463
5504
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -5646,6 +5687,60 @@ var ConversationApiFetchParamCreator = function (configuration) {
|
|
|
5646
5687
|
options: localVarRequestOptions,
|
|
5647
5688
|
};
|
|
5648
5689
|
},
|
|
5690
|
+
/**
|
|
5691
|
+
* Update status within the queue
|
|
5692
|
+
* @summary Update status within the queue
|
|
5693
|
+
* @param {string} queue_name
|
|
5694
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
5695
|
+
* @param {*} [options] Override http request option.
|
|
5696
|
+
* @throws {RequiredError}
|
|
5697
|
+
*/
|
|
5698
|
+
updateConversationWebchatQueueStatus: function (queue_name, status_request, options) {
|
|
5699
|
+
if (options === void 0) { options = {}; }
|
|
5700
|
+
// verify required parameter 'queue_name' is not null or undefined
|
|
5701
|
+
if (queue_name === null || queue_name === undefined) {
|
|
5702
|
+
throw new RequiredError('queue_name', 'Required parameter queue_name was null or undefined when calling updateConversationWebchatQueueStatus.');
|
|
5703
|
+
}
|
|
5704
|
+
// verify required parameter 'status_request' is not null or undefined
|
|
5705
|
+
if (status_request === null || status_request === undefined) {
|
|
5706
|
+
throw new RequiredError('status_request', 'Required parameter status_request was null or undefined when calling updateConversationWebchatQueueStatus.');
|
|
5707
|
+
}
|
|
5708
|
+
var localVarPath = "/conversation/conversations/queues/{queue_name}/status"
|
|
5709
|
+
.replace("{".concat("queue_name", "}"), encodeURIComponent(String(queue_name)));
|
|
5710
|
+
var localVarUrlObj = url.parse(localVarPath, true);
|
|
5711
|
+
var localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
|
|
5712
|
+
var localVarHeaderParameter = {};
|
|
5713
|
+
var localVarQueryParameter = {};
|
|
5714
|
+
if (configuration && configuration.apiVersion) {
|
|
5715
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
5716
|
+
}
|
|
5717
|
+
// authentication ultraCartOauth required
|
|
5718
|
+
// oauth required
|
|
5719
|
+
if (configuration && configuration.accessToken) {
|
|
5720
|
+
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
5721
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_write"])
|
|
5722
|
+
: configuration.accessToken;
|
|
5723
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
5724
|
+
}
|
|
5725
|
+
// authentication ultraCartSimpleApiKey required
|
|
5726
|
+
if (configuration && configuration.apiKey) {
|
|
5727
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
5728
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
5729
|
+
: configuration.apiKey;
|
|
5730
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
5731
|
+
}
|
|
5732
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5733
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
5734
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
5735
|
+
delete localVarUrlObj.search;
|
|
5736
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
5737
|
+
var needsSerialization = ("ConversationWebchatQueueStatusUpdateRequest" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
5738
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(status_request || {}) : (status_request || "");
|
|
5739
|
+
return {
|
|
5740
|
+
url: url.format(localVarUrlObj),
|
|
5741
|
+
options: localVarRequestOptions,
|
|
5742
|
+
};
|
|
5743
|
+
},
|
|
5649
5744
|
};
|
|
5650
5745
|
};
|
|
5651
5746
|
exports.ConversationApiFetchParamCreator = ConversationApiFetchParamCreator;
|
|
@@ -5720,6 +5815,27 @@ var ConversationApiFp = function (configuration) {
|
|
|
5720
5815
|
});
|
|
5721
5816
|
};
|
|
5722
5817
|
},
|
|
5818
|
+
/**
|
|
5819
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
5820
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
5821
|
+
* @param {*} [options] Override http request option.
|
|
5822
|
+
* @throws {RequiredError}
|
|
5823
|
+
*/
|
|
5824
|
+
getConversationWebchatQueueStatuses: function (options) {
|
|
5825
|
+
var localVarFetchArgs = (0, exports.ConversationApiFetchParamCreator)(configuration).getConversationWebchatQueueStatuses(options);
|
|
5826
|
+
return function (fetch, basePath) {
|
|
5827
|
+
if (fetch === void 0) { fetch = portableFetch; }
|
|
5828
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
5829
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
5830
|
+
if (response.status >= 200 && response.status < 300) {
|
|
5831
|
+
return response.json();
|
|
5832
|
+
}
|
|
5833
|
+
else {
|
|
5834
|
+
throw response;
|
|
5835
|
+
}
|
|
5836
|
+
});
|
|
5837
|
+
};
|
|
5838
|
+
},
|
|
5723
5839
|
/**
|
|
5724
5840
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
5725
5841
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -5809,6 +5925,29 @@ var ConversationApiFp = function (configuration) {
|
|
|
5809
5925
|
});
|
|
5810
5926
|
};
|
|
5811
5927
|
},
|
|
5928
|
+
/**
|
|
5929
|
+
* Update status within the queue
|
|
5930
|
+
* @summary Update status within the queue
|
|
5931
|
+
* @param {string} queue_name
|
|
5932
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
5933
|
+
* @param {*} [options] Override http request option.
|
|
5934
|
+
* @throws {RequiredError}
|
|
5935
|
+
*/
|
|
5936
|
+
updateConversationWebchatQueueStatus: function (queue_name, status_request, options) {
|
|
5937
|
+
var localVarFetchArgs = (0, exports.ConversationApiFetchParamCreator)(configuration).updateConversationWebchatQueueStatus(queue_name, status_request, options);
|
|
5938
|
+
return function (fetch, basePath) {
|
|
5939
|
+
if (fetch === void 0) { fetch = portableFetch; }
|
|
5940
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
5941
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
5942
|
+
if (response.status >= 200 && response.status < 300) {
|
|
5943
|
+
return response;
|
|
5944
|
+
}
|
|
5945
|
+
else {
|
|
5946
|
+
throw response;
|
|
5947
|
+
}
|
|
5948
|
+
});
|
|
5949
|
+
};
|
|
5950
|
+
},
|
|
5812
5951
|
};
|
|
5813
5952
|
};
|
|
5814
5953
|
exports.ConversationApiFp = ConversationApiFp;
|
|
@@ -5847,6 +5986,15 @@ var ConversationApiFactory = function (configuration, fetch, basePath) {
|
|
|
5847
5986
|
getConversationMultimediaUploadUrl: function (extension, options) {
|
|
5848
5987
|
return (0, exports.ConversationApiFp)(configuration).getConversationMultimediaUploadUrl(extension, options)(fetch, basePath);
|
|
5849
5988
|
},
|
|
5989
|
+
/**
|
|
5990
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
5991
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
5992
|
+
* @param {*} [options] Override http request option.
|
|
5993
|
+
* @throws {RequiredError}
|
|
5994
|
+
*/
|
|
5995
|
+
getConversationWebchatQueueStatuses: function (options) {
|
|
5996
|
+
return (0, exports.ConversationApiFp)(configuration).getConversationWebchatQueueStatuses(options)(fetch, basePath);
|
|
5997
|
+
},
|
|
5850
5998
|
/**
|
|
5851
5999
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
5852
6000
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -5888,6 +6036,17 @@ var ConversationApiFactory = function (configuration, fetch, basePath) {
|
|
|
5888
6036
|
startConversation: function (start_request, options) {
|
|
5889
6037
|
return (0, exports.ConversationApiFp)(configuration).startConversation(start_request, options)(fetch, basePath);
|
|
5890
6038
|
},
|
|
6039
|
+
/**
|
|
6040
|
+
* Update status within the queue
|
|
6041
|
+
* @summary Update status within the queue
|
|
6042
|
+
* @param {string} queue_name
|
|
6043
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
6044
|
+
* @param {*} [options] Override http request option.
|
|
6045
|
+
* @throws {RequiredError}
|
|
6046
|
+
*/
|
|
6047
|
+
updateConversationWebchatQueueStatus: function (queue_name, status_request, options) {
|
|
6048
|
+
return (0, exports.ConversationApiFp)(configuration).updateConversationWebchatQueueStatus(queue_name, status_request, options)(fetch, basePath);
|
|
6049
|
+
},
|
|
5891
6050
|
};
|
|
5892
6051
|
};
|
|
5893
6052
|
exports.ConversationApiFactory = ConversationApiFactory;
|
|
@@ -5934,6 +6093,16 @@ var ConversationApi = /** @class */ (function (_super) {
|
|
|
5934
6093
|
ConversationApi.prototype.getConversationMultimediaUploadUrl = function (extension, options) {
|
|
5935
6094
|
return (0, exports.ConversationApiFp)(this.configuration).getConversationMultimediaUploadUrl(extension, options)(this.fetch, this.basePath);
|
|
5936
6095
|
};
|
|
6096
|
+
/**
|
|
6097
|
+
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
6098
|
+
* @summary Retrieve a conversation webchat queue statuses
|
|
6099
|
+
* @param {*} [options] Override http request option.
|
|
6100
|
+
* @throws {RequiredError}
|
|
6101
|
+
* @memberof ConversationApi
|
|
6102
|
+
*/
|
|
6103
|
+
ConversationApi.prototype.getConversationWebchatQueueStatuses = function (options) {
|
|
6104
|
+
return (0, exports.ConversationApiFp)(this.configuration).getConversationWebchatQueueStatuses(options)(this.fetch, this.basePath);
|
|
6105
|
+
};
|
|
5937
6106
|
/**
|
|
5938
6107
|
* Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
|
5939
6108
|
* @summary Retrieve a list of conversation summaries newest to oldest
|
|
@@ -5979,6 +6148,18 @@ var ConversationApi = /** @class */ (function (_super) {
|
|
|
5979
6148
|
ConversationApi.prototype.startConversation = function (start_request, options) {
|
|
5980
6149
|
return (0, exports.ConversationApiFp)(this.configuration).startConversation(start_request, options)(this.fetch, this.basePath);
|
|
5981
6150
|
};
|
|
6151
|
+
/**
|
|
6152
|
+
* Update status within the queue
|
|
6153
|
+
* @summary Update status within the queue
|
|
6154
|
+
* @param {string} queue_name
|
|
6155
|
+
* @param {ConversationWebchatQueueStatusUpdateRequest} status_request Status request
|
|
6156
|
+
* @param {*} [options] Override http request option.
|
|
6157
|
+
* @throws {RequiredError}
|
|
6158
|
+
* @memberof ConversationApi
|
|
6159
|
+
*/
|
|
6160
|
+
ConversationApi.prototype.updateConversationWebchatQueueStatus = function (queue_name, status_request, options) {
|
|
6161
|
+
return (0, exports.ConversationApiFp)(this.configuration).updateConversationWebchatQueueStatus(queue_name, status_request, options)(this.fetch, this.basePath);
|
|
6162
|
+
};
|
|
5982
6163
|
return ConversationApi;
|
|
5983
6164
|
}(BaseAPI));
|
|
5984
6165
|
exports.ConversationApi = ConversationApi;
|