ultracart_rest_api_v2_typescript 3.10.100 → 3.10.102
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 +4 -2
- package/api.ts +280 -6
- package/dist/api.d.ts +161 -6
- package/dist/api.js +160 -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.102
|
|
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.102 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 3.10.102 | 01/19/2023 | convo - getConversationPermissions added |
|
|
58
|
+
| 3.10.101 | 01/18/2023 | conversation get dept member list method added |
|
|
57
59
|
| 3.10.100 | 01/18/2023 | conversation dept members |
|
|
58
60
|
| 3.10.99 | 01/18/2023 | channel partner ship to pref desc field |
|
|
59
61
|
| 3.10.98 | 01/17/2023 | changed convo webchat constant |
|
package/api.ts
CHANGED
|
@@ -7036,6 +7036,44 @@ export interface ConversationDepartmentMember {
|
|
|
7036
7036
|
user_id?: number;
|
|
7037
7037
|
}
|
|
7038
7038
|
|
|
7039
|
+
/**
|
|
7040
|
+
*
|
|
7041
|
+
* @export
|
|
7042
|
+
* @interface ConversationDepartmentMembersResponse
|
|
7043
|
+
*/
|
|
7044
|
+
export interface ConversationDepartmentMembersResponse {
|
|
7045
|
+
/**
|
|
7046
|
+
*
|
|
7047
|
+
* @type {Array<ConversationDepartmentMember>}
|
|
7048
|
+
* @memberof ConversationDepartmentMembersResponse
|
|
7049
|
+
*/
|
|
7050
|
+
conversation_department_members?: Array<ConversationDepartmentMember>;
|
|
7051
|
+
/**
|
|
7052
|
+
*
|
|
7053
|
+
* @type {ModelError}
|
|
7054
|
+
* @memberof ConversationDepartmentMembersResponse
|
|
7055
|
+
*/
|
|
7056
|
+
error?: ModelError;
|
|
7057
|
+
/**
|
|
7058
|
+
*
|
|
7059
|
+
* @type {ResponseMetadata}
|
|
7060
|
+
* @memberof ConversationDepartmentMembersResponse
|
|
7061
|
+
*/
|
|
7062
|
+
metadata?: ResponseMetadata;
|
|
7063
|
+
/**
|
|
7064
|
+
* Indicates if API call was successful
|
|
7065
|
+
* @type {boolean}
|
|
7066
|
+
* @memberof ConversationDepartmentMembersResponse
|
|
7067
|
+
*/
|
|
7068
|
+
success?: boolean;
|
|
7069
|
+
/**
|
|
7070
|
+
*
|
|
7071
|
+
* @type {Warning}
|
|
7072
|
+
* @memberof ConversationDepartmentMembersResponse
|
|
7073
|
+
*/
|
|
7074
|
+
warning?: Warning;
|
|
7075
|
+
}
|
|
7076
|
+
|
|
7039
7077
|
/**
|
|
7040
7078
|
*
|
|
7041
7079
|
* @export
|
|
@@ -7106,12 +7144,6 @@ export interface ConversationDepartmentsResponse {
|
|
|
7106
7144
|
* @memberof ConversationDepartmentsResponse
|
|
7107
7145
|
*/
|
|
7108
7146
|
metadata?: ResponseMetadata;
|
|
7109
|
-
/**
|
|
7110
|
-
*
|
|
7111
|
-
* @type {boolean}
|
|
7112
|
-
* @memberof ConversationDepartmentsResponse
|
|
7113
|
-
*/
|
|
7114
|
-
read_only?: boolean;
|
|
7115
7147
|
/**
|
|
7116
7148
|
* Indicates if API call was successful
|
|
7117
7149
|
* @type {boolean}
|
|
@@ -8059,6 +8091,58 @@ export interface ConversationParticipant {
|
|
|
8059
8091
|
unread_messages?: number;
|
|
8060
8092
|
}
|
|
8061
8093
|
|
|
8094
|
+
/**
|
|
8095
|
+
*
|
|
8096
|
+
* @export
|
|
8097
|
+
* @interface ConversationPermissions
|
|
8098
|
+
*/
|
|
8099
|
+
export interface ConversationPermissions {
|
|
8100
|
+
/**
|
|
8101
|
+
*
|
|
8102
|
+
* @type {boolean}
|
|
8103
|
+
* @memberof ConversationPermissions
|
|
8104
|
+
*/
|
|
8105
|
+
edit_settings?: boolean;
|
|
8106
|
+
}
|
|
8107
|
+
|
|
8108
|
+
/**
|
|
8109
|
+
*
|
|
8110
|
+
* @export
|
|
8111
|
+
* @interface ConversationPermissionsResponse
|
|
8112
|
+
*/
|
|
8113
|
+
export interface ConversationPermissionsResponse {
|
|
8114
|
+
/**
|
|
8115
|
+
*
|
|
8116
|
+
* @type {ModelError}
|
|
8117
|
+
* @memberof ConversationPermissionsResponse
|
|
8118
|
+
*/
|
|
8119
|
+
error?: ModelError;
|
|
8120
|
+
/**
|
|
8121
|
+
*
|
|
8122
|
+
* @type {ResponseMetadata}
|
|
8123
|
+
* @memberof ConversationPermissionsResponse
|
|
8124
|
+
*/
|
|
8125
|
+
metadata?: ResponseMetadata;
|
|
8126
|
+
/**
|
|
8127
|
+
*
|
|
8128
|
+
* @type {ConversationPermissions}
|
|
8129
|
+
* @memberof ConversationPermissionsResponse
|
|
8130
|
+
*/
|
|
8131
|
+
permissions?: ConversationPermissions;
|
|
8132
|
+
/**
|
|
8133
|
+
* Indicates if API call was successful
|
|
8134
|
+
* @type {boolean}
|
|
8135
|
+
* @memberof ConversationPermissionsResponse
|
|
8136
|
+
*/
|
|
8137
|
+
success?: boolean;
|
|
8138
|
+
/**
|
|
8139
|
+
*
|
|
8140
|
+
* @type {Warning}
|
|
8141
|
+
* @memberof ConversationPermissionsResponse
|
|
8142
|
+
*/
|
|
8143
|
+
warning?: Warning;
|
|
8144
|
+
}
|
|
8145
|
+
|
|
8062
8146
|
/**
|
|
8063
8147
|
*
|
|
8064
8148
|
* @export
|
|
@@ -44072,6 +44156,52 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
44072
44156
|
options: localVarRequestOptions,
|
|
44073
44157
|
};
|
|
44074
44158
|
},
|
|
44159
|
+
/**
|
|
44160
|
+
* Retrieve a list of possible department members
|
|
44161
|
+
* @summary Retrieve a list of possible department members
|
|
44162
|
+
* @param {*} [options] Override http request option.
|
|
44163
|
+
* @throws {RequiredError}
|
|
44164
|
+
*/
|
|
44165
|
+
getConversationDepartmentMemberList(options: any = {}): FetchArgs {
|
|
44166
|
+
const localVarPath = `/conversation/department_members`;
|
|
44167
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
44168
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
44169
|
+
const localVarHeaderParameter = {} as any;
|
|
44170
|
+
const localVarQueryParameter = {} as any;
|
|
44171
|
+
|
|
44172
|
+
if(configuration && configuration.apiVersion) {
|
|
44173
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
44174
|
+
}
|
|
44175
|
+
|
|
44176
|
+
|
|
44177
|
+
|
|
44178
|
+
// authentication ultraCartOauth required
|
|
44179
|
+
// oauth required
|
|
44180
|
+
if (configuration && configuration.accessToken) {
|
|
44181
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
44182
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_read"])
|
|
44183
|
+
: configuration.accessToken;
|
|
44184
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
44185
|
+
}
|
|
44186
|
+
|
|
44187
|
+
// authentication ultraCartSimpleApiKey required
|
|
44188
|
+
if (configuration && configuration.apiKey) {
|
|
44189
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
44190
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
44191
|
+
: configuration.apiKey;
|
|
44192
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
44193
|
+
}
|
|
44194
|
+
|
|
44195
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
44196
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
44197
|
+
delete localVarUrlObj.search;
|
|
44198
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
44199
|
+
|
|
44200
|
+
return {
|
|
44201
|
+
url: url.format(localVarUrlObj),
|
|
44202
|
+
options: localVarRequestOptions,
|
|
44203
|
+
};
|
|
44204
|
+
},
|
|
44075
44205
|
/**
|
|
44076
44206
|
* Retrieve a list of departments ordered by name
|
|
44077
44207
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -44279,6 +44409,52 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
44279
44409
|
options: localVarRequestOptions,
|
|
44280
44410
|
};
|
|
44281
44411
|
},
|
|
44412
|
+
/**
|
|
44413
|
+
* Retrieve conversation permissions
|
|
44414
|
+
* @summary Retrieve conversation permissions
|
|
44415
|
+
* @param {*} [options] Override http request option.
|
|
44416
|
+
* @throws {RequiredError}
|
|
44417
|
+
*/
|
|
44418
|
+
getConversationPermissions(options: any = {}): FetchArgs {
|
|
44419
|
+
const localVarPath = `/conversation/permissions`;
|
|
44420
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
44421
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
44422
|
+
const localVarHeaderParameter = {} as any;
|
|
44423
|
+
const localVarQueryParameter = {} as any;
|
|
44424
|
+
|
|
44425
|
+
if(configuration && configuration.apiVersion) {
|
|
44426
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
44427
|
+
}
|
|
44428
|
+
|
|
44429
|
+
|
|
44430
|
+
|
|
44431
|
+
// authentication ultraCartOauth required
|
|
44432
|
+
// oauth required
|
|
44433
|
+
if (configuration && configuration.accessToken) {
|
|
44434
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
44435
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_read"])
|
|
44436
|
+
: configuration.accessToken;
|
|
44437
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
44438
|
+
}
|
|
44439
|
+
|
|
44440
|
+
// authentication ultraCartSimpleApiKey required
|
|
44441
|
+
if (configuration && configuration.apiKey) {
|
|
44442
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
44443
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
44444
|
+
: configuration.apiKey;
|
|
44445
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
44446
|
+
}
|
|
44447
|
+
|
|
44448
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
44449
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
44450
|
+
delete localVarUrlObj.search;
|
|
44451
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
44452
|
+
|
|
44453
|
+
return {
|
|
44454
|
+
url: url.format(localVarUrlObj),
|
|
44455
|
+
options: localVarRequestOptions,
|
|
44456
|
+
};
|
|
44457
|
+
},
|
|
44282
44458
|
/**
|
|
44283
44459
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
44284
44460
|
* @summary Retrieve a conversation webchat queue statuses
|
|
@@ -45356,6 +45532,26 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
45356
45532
|
});
|
|
45357
45533
|
};
|
|
45358
45534
|
},
|
|
45535
|
+
/**
|
|
45536
|
+
* Retrieve a list of possible department members
|
|
45537
|
+
* @summary Retrieve a list of possible department members
|
|
45538
|
+
* @param {*} [options] Override http request option.
|
|
45539
|
+
* @throws {RequiredError}
|
|
45540
|
+
*/
|
|
45541
|
+
getConversationDepartmentMemberList(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationDepartmentMembersResponse> {
|
|
45542
|
+
const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).getConversationDepartmentMemberList(options);
|
|
45543
|
+
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
45544
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
45545
|
+
|
|
45546
|
+
if (response.status >= 200 && response.status < 300) {
|
|
45547
|
+
return response.json();
|
|
45548
|
+
|
|
45549
|
+
} else {
|
|
45550
|
+
throw response;
|
|
45551
|
+
}
|
|
45552
|
+
});
|
|
45553
|
+
};
|
|
45554
|
+
},
|
|
45359
45555
|
/**
|
|
45360
45556
|
* Retrieve a list of departments ordered by name
|
|
45361
45557
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -45440,6 +45636,26 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
45440
45636
|
});
|
|
45441
45637
|
};
|
|
45442
45638
|
},
|
|
45639
|
+
/**
|
|
45640
|
+
* Retrieve conversation permissions
|
|
45641
|
+
* @summary Retrieve conversation permissions
|
|
45642
|
+
* @param {*} [options] Override http request option.
|
|
45643
|
+
* @throws {RequiredError}
|
|
45644
|
+
*/
|
|
45645
|
+
getConversationPermissions(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationPermissionsResponse> {
|
|
45646
|
+
const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).getConversationPermissions(options);
|
|
45647
|
+
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
45648
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
45649
|
+
|
|
45650
|
+
if (response.status >= 200 && response.status < 300) {
|
|
45651
|
+
return response.json();
|
|
45652
|
+
|
|
45653
|
+
} else {
|
|
45654
|
+
throw response;
|
|
45655
|
+
}
|
|
45656
|
+
});
|
|
45657
|
+
};
|
|
45658
|
+
},
|
|
45443
45659
|
/**
|
|
45444
45660
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
45445
45661
|
* @summary Retrieve a conversation webchat queue statuses
|
|
@@ -45870,6 +46086,15 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
45870
46086
|
getConversationContext(conversation_uuid: string, options?: any) {
|
|
45871
46087
|
return ConversationApiFp(configuration).getConversationContext(conversation_uuid, options)(fetch, basePath);
|
|
45872
46088
|
},
|
|
46089
|
+
/**
|
|
46090
|
+
* Retrieve a list of possible department members
|
|
46091
|
+
* @summary Retrieve a list of possible department members
|
|
46092
|
+
* @param {*} [options] Override http request option.
|
|
46093
|
+
* @throws {RequiredError}
|
|
46094
|
+
*/
|
|
46095
|
+
getConversationDepartmentMemberList(options?: any) {
|
|
46096
|
+
return ConversationApiFp(configuration).getConversationDepartmentMemberList(options)(fetch, basePath);
|
|
46097
|
+
},
|
|
45873
46098
|
/**
|
|
45874
46099
|
* Retrieve a list of departments ordered by name
|
|
45875
46100
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -45910,6 +46135,15 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
45910
46135
|
getConversationMultimediaUploadUrl(extension: string, options?: any) {
|
|
45911
46136
|
return ConversationApiFp(configuration).getConversationMultimediaUploadUrl(extension, options)(fetch, basePath);
|
|
45912
46137
|
},
|
|
46138
|
+
/**
|
|
46139
|
+
* Retrieve conversation permissions
|
|
46140
|
+
* @summary Retrieve conversation permissions
|
|
46141
|
+
* @param {*} [options] Override http request option.
|
|
46142
|
+
* @throws {RequiredError}
|
|
46143
|
+
*/
|
|
46144
|
+
getConversationPermissions(options?: any) {
|
|
46145
|
+
return ConversationApiFp(configuration).getConversationPermissions(options)(fetch, basePath);
|
|
46146
|
+
},
|
|
45913
46147
|
/**
|
|
45914
46148
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
45915
46149
|
* @summary Retrieve a conversation webchat queue statuses
|
|
@@ -46164,6 +46398,15 @@ export interface ConversationApiInterface {
|
|
|
46164
46398
|
*/
|
|
46165
46399
|
getConversationContext(conversation_uuid: string, options?: any): Promise<ConversationWebchatContext>;
|
|
46166
46400
|
|
|
46401
|
+
/**
|
|
46402
|
+
* Retrieve a list of possible department members
|
|
46403
|
+
* @summary Retrieve a list of possible department members
|
|
46404
|
+
* @param {*} [options] Override http request option.
|
|
46405
|
+
* @throws {RequiredError}
|
|
46406
|
+
* @memberof ConversationApiInterface
|
|
46407
|
+
*/
|
|
46408
|
+
getConversationDepartmentMemberList(options?: any): Promise<ConversationDepartmentMembersResponse>;
|
|
46409
|
+
|
|
46167
46410
|
/**
|
|
46168
46411
|
* Retrieve a list of departments ordered by name
|
|
46169
46412
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -46204,6 +46447,15 @@ export interface ConversationApiInterface {
|
|
|
46204
46447
|
*/
|
|
46205
46448
|
getConversationMultimediaUploadUrl(extension: string, options?: any): Promise<ConversationMultimediaUploadUrlResponse>;
|
|
46206
46449
|
|
|
46450
|
+
/**
|
|
46451
|
+
* Retrieve conversation permissions
|
|
46452
|
+
* @summary Retrieve conversation permissions
|
|
46453
|
+
* @param {*} [options] Override http request option.
|
|
46454
|
+
* @throws {RequiredError}
|
|
46455
|
+
* @memberof ConversationApiInterface
|
|
46456
|
+
*/
|
|
46457
|
+
getConversationPermissions(options?: any): Promise<ConversationPermissionsResponse>;
|
|
46458
|
+
|
|
46207
46459
|
/**
|
|
46208
46460
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
46209
46461
|
* @summary Retrieve a conversation webchat queue statuses
|
|
@@ -46474,6 +46726,17 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
46474
46726
|
return ConversationApiFp(this.configuration).getConversationContext(conversation_uuid, options)(this.fetch, this.basePath);
|
|
46475
46727
|
}
|
|
46476
46728
|
|
|
46729
|
+
/**
|
|
46730
|
+
* Retrieve a list of possible department members
|
|
46731
|
+
* @summary Retrieve a list of possible department members
|
|
46732
|
+
* @param {*} [options] Override http request option.
|
|
46733
|
+
* @throws {RequiredError}
|
|
46734
|
+
* @memberof ConversationApi
|
|
46735
|
+
*/
|
|
46736
|
+
public getConversationDepartmentMemberList(options?: any) {
|
|
46737
|
+
return ConversationApiFp(this.configuration).getConversationDepartmentMemberList(options)(this.fetch, this.basePath);
|
|
46738
|
+
}
|
|
46739
|
+
|
|
46477
46740
|
/**
|
|
46478
46741
|
* Retrieve a list of departments ordered by name
|
|
46479
46742
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -46522,6 +46785,17 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
46522
46785
|
return ConversationApiFp(this.configuration).getConversationMultimediaUploadUrl(extension, options)(this.fetch, this.basePath);
|
|
46523
46786
|
}
|
|
46524
46787
|
|
|
46788
|
+
/**
|
|
46789
|
+
* Retrieve conversation permissions
|
|
46790
|
+
* @summary Retrieve conversation permissions
|
|
46791
|
+
* @param {*} [options] Override http request option.
|
|
46792
|
+
* @throws {RequiredError}
|
|
46793
|
+
* @memberof ConversationApi
|
|
46794
|
+
*/
|
|
46795
|
+
public getConversationPermissions(options?: any) {
|
|
46796
|
+
return ConversationApiFp(this.configuration).getConversationPermissions(options)(this.fetch, this.basePath);
|
|
46797
|
+
}
|
|
46798
|
+
|
|
46525
46799
|
/**
|
|
46526
46800
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
46527
46801
|
* @summary Retrieve a conversation webchat queue statuses
|
package/dist/api.d.ts
CHANGED
|
@@ -6870,6 +6870,43 @@ export interface ConversationDepartmentMember {
|
|
|
6870
6870
|
*/
|
|
6871
6871
|
user_id?: number;
|
|
6872
6872
|
}
|
|
6873
|
+
/**
|
|
6874
|
+
*
|
|
6875
|
+
* @export
|
|
6876
|
+
* @interface ConversationDepartmentMembersResponse
|
|
6877
|
+
*/
|
|
6878
|
+
export interface ConversationDepartmentMembersResponse {
|
|
6879
|
+
/**
|
|
6880
|
+
*
|
|
6881
|
+
* @type {Array<ConversationDepartmentMember>}
|
|
6882
|
+
* @memberof ConversationDepartmentMembersResponse
|
|
6883
|
+
*/
|
|
6884
|
+
conversation_department_members?: Array<ConversationDepartmentMember>;
|
|
6885
|
+
/**
|
|
6886
|
+
*
|
|
6887
|
+
* @type {ModelError}
|
|
6888
|
+
* @memberof ConversationDepartmentMembersResponse
|
|
6889
|
+
*/
|
|
6890
|
+
error?: ModelError;
|
|
6891
|
+
/**
|
|
6892
|
+
*
|
|
6893
|
+
* @type {ResponseMetadata}
|
|
6894
|
+
* @memberof ConversationDepartmentMembersResponse
|
|
6895
|
+
*/
|
|
6896
|
+
metadata?: ResponseMetadata;
|
|
6897
|
+
/**
|
|
6898
|
+
* Indicates if API call was successful
|
|
6899
|
+
* @type {boolean}
|
|
6900
|
+
* @memberof ConversationDepartmentMembersResponse
|
|
6901
|
+
*/
|
|
6902
|
+
success?: boolean;
|
|
6903
|
+
/**
|
|
6904
|
+
*
|
|
6905
|
+
* @type {Warning}
|
|
6906
|
+
* @memberof ConversationDepartmentMembersResponse
|
|
6907
|
+
*/
|
|
6908
|
+
warning?: Warning;
|
|
6909
|
+
}
|
|
6873
6910
|
/**
|
|
6874
6911
|
*
|
|
6875
6912
|
* @export
|
|
@@ -6938,12 +6975,6 @@ export interface ConversationDepartmentsResponse {
|
|
|
6938
6975
|
* @memberof ConversationDepartmentsResponse
|
|
6939
6976
|
*/
|
|
6940
6977
|
metadata?: ResponseMetadata;
|
|
6941
|
-
/**
|
|
6942
|
-
*
|
|
6943
|
-
* @type {boolean}
|
|
6944
|
-
* @memberof ConversationDepartmentsResponse
|
|
6945
|
-
*/
|
|
6946
|
-
read_only?: boolean;
|
|
6947
6978
|
/**
|
|
6948
6979
|
* Indicates if API call was successful
|
|
6949
6980
|
* @type {boolean}
|
|
@@ -7864,6 +7895,56 @@ export interface ConversationParticipant {
|
|
|
7864
7895
|
*/
|
|
7865
7896
|
unread_messages?: number;
|
|
7866
7897
|
}
|
|
7898
|
+
/**
|
|
7899
|
+
*
|
|
7900
|
+
* @export
|
|
7901
|
+
* @interface ConversationPermissions
|
|
7902
|
+
*/
|
|
7903
|
+
export interface ConversationPermissions {
|
|
7904
|
+
/**
|
|
7905
|
+
*
|
|
7906
|
+
* @type {boolean}
|
|
7907
|
+
* @memberof ConversationPermissions
|
|
7908
|
+
*/
|
|
7909
|
+
edit_settings?: boolean;
|
|
7910
|
+
}
|
|
7911
|
+
/**
|
|
7912
|
+
*
|
|
7913
|
+
* @export
|
|
7914
|
+
* @interface ConversationPermissionsResponse
|
|
7915
|
+
*/
|
|
7916
|
+
export interface ConversationPermissionsResponse {
|
|
7917
|
+
/**
|
|
7918
|
+
*
|
|
7919
|
+
* @type {ModelError}
|
|
7920
|
+
* @memberof ConversationPermissionsResponse
|
|
7921
|
+
*/
|
|
7922
|
+
error?: ModelError;
|
|
7923
|
+
/**
|
|
7924
|
+
*
|
|
7925
|
+
* @type {ResponseMetadata}
|
|
7926
|
+
* @memberof ConversationPermissionsResponse
|
|
7927
|
+
*/
|
|
7928
|
+
metadata?: ResponseMetadata;
|
|
7929
|
+
/**
|
|
7930
|
+
*
|
|
7931
|
+
* @type {ConversationPermissions}
|
|
7932
|
+
* @memberof ConversationPermissionsResponse
|
|
7933
|
+
*/
|
|
7934
|
+
permissions?: ConversationPermissions;
|
|
7935
|
+
/**
|
|
7936
|
+
* Indicates if API call was successful
|
|
7937
|
+
* @type {boolean}
|
|
7938
|
+
* @memberof ConversationPermissionsResponse
|
|
7939
|
+
*/
|
|
7940
|
+
success?: boolean;
|
|
7941
|
+
/**
|
|
7942
|
+
*
|
|
7943
|
+
* @type {Warning}
|
|
7944
|
+
* @memberof ConversationPermissionsResponse
|
|
7945
|
+
*/
|
|
7946
|
+
warning?: Warning;
|
|
7947
|
+
}
|
|
7867
7948
|
/**
|
|
7868
7949
|
*
|
|
7869
7950
|
* @export
|
|
@@ -39539,6 +39620,13 @@ export declare const ConversationApiFetchParamCreator: (configuration?: Configur
|
|
|
39539
39620
|
* @throws {RequiredError}
|
|
39540
39621
|
*/
|
|
39541
39622
|
getConversationContext(conversation_uuid: string, options?: any): FetchArgs;
|
|
39623
|
+
/**
|
|
39624
|
+
* Retrieve a list of possible department members
|
|
39625
|
+
* @summary Retrieve a list of possible department members
|
|
39626
|
+
* @param {*} [options] Override http request option.
|
|
39627
|
+
* @throws {RequiredError}
|
|
39628
|
+
*/
|
|
39629
|
+
getConversationDepartmentMemberList(options?: any): FetchArgs;
|
|
39542
39630
|
/**
|
|
39543
39631
|
* Retrieve a list of departments ordered by name
|
|
39544
39632
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -39571,6 +39659,13 @@ export declare const ConversationApiFetchParamCreator: (configuration?: Configur
|
|
|
39571
39659
|
* @throws {RequiredError}
|
|
39572
39660
|
*/
|
|
39573
39661
|
getConversationMultimediaUploadUrl(extension: string, options?: any): FetchArgs;
|
|
39662
|
+
/**
|
|
39663
|
+
* Retrieve conversation permissions
|
|
39664
|
+
* @summary Retrieve conversation permissions
|
|
39665
|
+
* @param {*} [options] Override http request option.
|
|
39666
|
+
* @throws {RequiredError}
|
|
39667
|
+
*/
|
|
39668
|
+
getConversationPermissions(options?: any): FetchArgs;
|
|
39574
39669
|
/**
|
|
39575
39670
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
39576
39671
|
* @summary Retrieve a conversation webchat queue statuses
|
|
@@ -39774,6 +39869,13 @@ export declare const ConversationApiFp: (configuration?: Configuration) => {
|
|
|
39774
39869
|
* @throws {RequiredError}
|
|
39775
39870
|
*/
|
|
39776
39871
|
getConversationContext(conversation_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationWebchatContext>;
|
|
39872
|
+
/**
|
|
39873
|
+
* Retrieve a list of possible department members
|
|
39874
|
+
* @summary Retrieve a list of possible department members
|
|
39875
|
+
* @param {*} [options] Override http request option.
|
|
39876
|
+
* @throws {RequiredError}
|
|
39877
|
+
*/
|
|
39878
|
+
getConversationDepartmentMemberList(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationDepartmentMembersResponse>;
|
|
39777
39879
|
/**
|
|
39778
39880
|
* Retrieve a list of departments ordered by name
|
|
39779
39881
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -39806,6 +39908,13 @@ export declare const ConversationApiFp: (configuration?: Configuration) => {
|
|
|
39806
39908
|
* @throws {RequiredError}
|
|
39807
39909
|
*/
|
|
39808
39910
|
getConversationMultimediaUploadUrl(extension: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationMultimediaUploadUrlResponse>;
|
|
39911
|
+
/**
|
|
39912
|
+
* Retrieve conversation permissions
|
|
39913
|
+
* @summary Retrieve conversation permissions
|
|
39914
|
+
* @param {*} [options] Override http request option.
|
|
39915
|
+
* @throws {RequiredError}
|
|
39916
|
+
*/
|
|
39917
|
+
getConversationPermissions(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationPermissionsResponse>;
|
|
39809
39918
|
/**
|
|
39810
39919
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
39811
39920
|
* @summary Retrieve a conversation webchat queue statuses
|
|
@@ -40009,6 +40118,13 @@ export declare const ConversationApiFactory: (configuration?: Configuration, fet
|
|
|
40009
40118
|
* @throws {RequiredError}
|
|
40010
40119
|
*/
|
|
40011
40120
|
getConversationContext(conversation_uuid: string, options?: any): Promise<ConversationWebchatContext>;
|
|
40121
|
+
/**
|
|
40122
|
+
* Retrieve a list of possible department members
|
|
40123
|
+
* @summary Retrieve a list of possible department members
|
|
40124
|
+
* @param {*} [options] Override http request option.
|
|
40125
|
+
* @throws {RequiredError}
|
|
40126
|
+
*/
|
|
40127
|
+
getConversationDepartmentMemberList(options?: any): Promise<ConversationDepartmentMembersResponse>;
|
|
40012
40128
|
/**
|
|
40013
40129
|
* Retrieve a list of departments ordered by name
|
|
40014
40130
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -40041,6 +40157,13 @@ export declare const ConversationApiFactory: (configuration?: Configuration, fet
|
|
|
40041
40157
|
* @throws {RequiredError}
|
|
40042
40158
|
*/
|
|
40043
40159
|
getConversationMultimediaUploadUrl(extension: string, options?: any): Promise<ConversationMultimediaUploadUrlResponse>;
|
|
40160
|
+
/**
|
|
40161
|
+
* Retrieve conversation permissions
|
|
40162
|
+
* @summary Retrieve conversation permissions
|
|
40163
|
+
* @param {*} [options] Override http request option.
|
|
40164
|
+
* @throws {RequiredError}
|
|
40165
|
+
*/
|
|
40166
|
+
getConversationPermissions(options?: any): Promise<ConversationPermissionsResponse>;
|
|
40044
40167
|
/**
|
|
40045
40168
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
40046
40169
|
* @summary Retrieve a conversation webchat queue statuses
|
|
@@ -40253,6 +40376,14 @@ export interface ConversationApiInterface {
|
|
|
40253
40376
|
* @memberof ConversationApiInterface
|
|
40254
40377
|
*/
|
|
40255
40378
|
getConversationContext(conversation_uuid: string, options?: any): Promise<ConversationWebchatContext>;
|
|
40379
|
+
/**
|
|
40380
|
+
* Retrieve a list of possible department members
|
|
40381
|
+
* @summary Retrieve a list of possible department members
|
|
40382
|
+
* @param {*} [options] Override http request option.
|
|
40383
|
+
* @throws {RequiredError}
|
|
40384
|
+
* @memberof ConversationApiInterface
|
|
40385
|
+
*/
|
|
40386
|
+
getConversationDepartmentMemberList(options?: any): Promise<ConversationDepartmentMembersResponse>;
|
|
40256
40387
|
/**
|
|
40257
40388
|
* Retrieve a list of departments ordered by name
|
|
40258
40389
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -40289,6 +40420,14 @@ export interface ConversationApiInterface {
|
|
|
40289
40420
|
* @memberof ConversationApiInterface
|
|
40290
40421
|
*/
|
|
40291
40422
|
getConversationMultimediaUploadUrl(extension: string, options?: any): Promise<ConversationMultimediaUploadUrlResponse>;
|
|
40423
|
+
/**
|
|
40424
|
+
* Retrieve conversation permissions
|
|
40425
|
+
* @summary Retrieve conversation permissions
|
|
40426
|
+
* @param {*} [options] Override http request option.
|
|
40427
|
+
* @throws {RequiredError}
|
|
40428
|
+
* @memberof ConversationApiInterface
|
|
40429
|
+
*/
|
|
40430
|
+
getConversationPermissions(options?: any): Promise<ConversationPermissionsResponse>;
|
|
40292
40431
|
/**
|
|
40293
40432
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
40294
40433
|
* @summary Retrieve a conversation webchat queue statuses
|
|
@@ -40518,6 +40657,14 @@ export declare class ConversationApi extends BaseAPI implements ConversationApiI
|
|
|
40518
40657
|
* @memberof ConversationApi
|
|
40519
40658
|
*/
|
|
40520
40659
|
getConversationContext(conversation_uuid: string, options?: any): Promise<ConversationWebchatContext>;
|
|
40660
|
+
/**
|
|
40661
|
+
* Retrieve a list of possible department members
|
|
40662
|
+
* @summary Retrieve a list of possible department members
|
|
40663
|
+
* @param {*} [options] Override http request option.
|
|
40664
|
+
* @throws {RequiredError}
|
|
40665
|
+
* @memberof ConversationApi
|
|
40666
|
+
*/
|
|
40667
|
+
getConversationDepartmentMemberList(options?: any): Promise<ConversationDepartmentMembersResponse>;
|
|
40521
40668
|
/**
|
|
40522
40669
|
* Retrieve a list of departments ordered by name
|
|
40523
40670
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -40554,6 +40701,14 @@ export declare class ConversationApi extends BaseAPI implements ConversationApiI
|
|
|
40554
40701
|
* @memberof ConversationApi
|
|
40555
40702
|
*/
|
|
40556
40703
|
getConversationMultimediaUploadUrl(extension: string, options?: any): Promise<ConversationMultimediaUploadUrlResponse>;
|
|
40704
|
+
/**
|
|
40705
|
+
* Retrieve conversation permissions
|
|
40706
|
+
* @summary Retrieve conversation permissions
|
|
40707
|
+
* @param {*} [options] Override http request option.
|
|
40708
|
+
* @throws {RequiredError}
|
|
40709
|
+
* @memberof ConversationApi
|
|
40710
|
+
*/
|
|
40711
|
+
getConversationPermissions(options?: any): Promise<ConversationPermissionsResponse>;
|
|
40557
40712
|
/**
|
|
40558
40713
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
40559
40714
|
* @summary Retrieve a conversation webchat queue statuses
|
package/dist/api.js
CHANGED
|
@@ -6507,6 +6507,46 @@ var ConversationApiFetchParamCreator = function (configuration) {
|
|
|
6507
6507
|
options: localVarRequestOptions,
|
|
6508
6508
|
};
|
|
6509
6509
|
},
|
|
6510
|
+
/**
|
|
6511
|
+
* Retrieve a list of possible department members
|
|
6512
|
+
* @summary Retrieve a list of possible department members
|
|
6513
|
+
* @param {*} [options] Override http request option.
|
|
6514
|
+
* @throws {RequiredError}
|
|
6515
|
+
*/
|
|
6516
|
+
getConversationDepartmentMemberList: function (options) {
|
|
6517
|
+
if (options === void 0) { options = {}; }
|
|
6518
|
+
var localVarPath = "/conversation/department_members";
|
|
6519
|
+
var localVarUrlObj = url.parse(localVarPath, true);
|
|
6520
|
+
var localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
6521
|
+
var localVarHeaderParameter = {};
|
|
6522
|
+
var localVarQueryParameter = {};
|
|
6523
|
+
if (configuration && configuration.apiVersion) {
|
|
6524
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
6525
|
+
}
|
|
6526
|
+
// authentication ultraCartOauth required
|
|
6527
|
+
// oauth required
|
|
6528
|
+
if (configuration && configuration.accessToken) {
|
|
6529
|
+
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
6530
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_read"])
|
|
6531
|
+
: configuration.accessToken;
|
|
6532
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
6533
|
+
}
|
|
6534
|
+
// authentication ultraCartSimpleApiKey required
|
|
6535
|
+
if (configuration && configuration.apiKey) {
|
|
6536
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6537
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
6538
|
+
: configuration.apiKey;
|
|
6539
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
6540
|
+
}
|
|
6541
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
6542
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6543
|
+
delete localVarUrlObj.search;
|
|
6544
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
6545
|
+
return {
|
|
6546
|
+
url: url.format(localVarUrlObj),
|
|
6547
|
+
options: localVarRequestOptions,
|
|
6548
|
+
};
|
|
6549
|
+
},
|
|
6510
6550
|
/**
|
|
6511
6551
|
* Retrieve a list of departments ordered by name
|
|
6512
6552
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -6689,6 +6729,46 @@ var ConversationApiFetchParamCreator = function (configuration) {
|
|
|
6689
6729
|
options: localVarRequestOptions,
|
|
6690
6730
|
};
|
|
6691
6731
|
},
|
|
6732
|
+
/**
|
|
6733
|
+
* Retrieve conversation permissions
|
|
6734
|
+
* @summary Retrieve conversation permissions
|
|
6735
|
+
* @param {*} [options] Override http request option.
|
|
6736
|
+
* @throws {RequiredError}
|
|
6737
|
+
*/
|
|
6738
|
+
getConversationPermissions: function (options) {
|
|
6739
|
+
if (options === void 0) { options = {}; }
|
|
6740
|
+
var localVarPath = "/conversation/permissions";
|
|
6741
|
+
var localVarUrlObj = url.parse(localVarPath, true);
|
|
6742
|
+
var localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
6743
|
+
var localVarHeaderParameter = {};
|
|
6744
|
+
var localVarQueryParameter = {};
|
|
6745
|
+
if (configuration && configuration.apiVersion) {
|
|
6746
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
6747
|
+
}
|
|
6748
|
+
// authentication ultraCartOauth required
|
|
6749
|
+
// oauth required
|
|
6750
|
+
if (configuration && configuration.accessToken) {
|
|
6751
|
+
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
6752
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_read"])
|
|
6753
|
+
: configuration.accessToken;
|
|
6754
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
6755
|
+
}
|
|
6756
|
+
// authentication ultraCartSimpleApiKey required
|
|
6757
|
+
if (configuration && configuration.apiKey) {
|
|
6758
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6759
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
6760
|
+
: configuration.apiKey;
|
|
6761
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
6762
|
+
}
|
|
6763
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
6764
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
6765
|
+
delete localVarUrlObj.search;
|
|
6766
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
6767
|
+
return {
|
|
6768
|
+
url: url.format(localVarUrlObj),
|
|
6769
|
+
options: localVarRequestOptions,
|
|
6770
|
+
};
|
|
6771
|
+
},
|
|
6692
6772
|
/**
|
|
6693
6773
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
6694
6774
|
* @summary Retrieve a conversation webchat queue statuses
|
|
@@ -7662,6 +7742,27 @@ var ConversationApiFp = function (configuration) {
|
|
|
7662
7742
|
});
|
|
7663
7743
|
};
|
|
7664
7744
|
},
|
|
7745
|
+
/**
|
|
7746
|
+
* Retrieve a list of possible department members
|
|
7747
|
+
* @summary Retrieve a list of possible department members
|
|
7748
|
+
* @param {*} [options] Override http request option.
|
|
7749
|
+
* @throws {RequiredError}
|
|
7750
|
+
*/
|
|
7751
|
+
getConversationDepartmentMemberList: function (options) {
|
|
7752
|
+
var localVarFetchArgs = (0, exports.ConversationApiFetchParamCreator)(configuration).getConversationDepartmentMemberList(options);
|
|
7753
|
+
return function (fetch, basePath) {
|
|
7754
|
+
if (fetch === void 0) { fetch = portableFetch; }
|
|
7755
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
7756
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
7757
|
+
if (response.status >= 200 && response.status < 300) {
|
|
7758
|
+
return response.json();
|
|
7759
|
+
}
|
|
7760
|
+
else {
|
|
7761
|
+
throw response;
|
|
7762
|
+
}
|
|
7763
|
+
});
|
|
7764
|
+
};
|
|
7765
|
+
},
|
|
7665
7766
|
/**
|
|
7666
7767
|
* Retrieve a list of departments ordered by name
|
|
7667
7768
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -7750,6 +7851,27 @@ var ConversationApiFp = function (configuration) {
|
|
|
7750
7851
|
});
|
|
7751
7852
|
};
|
|
7752
7853
|
},
|
|
7854
|
+
/**
|
|
7855
|
+
* Retrieve conversation permissions
|
|
7856
|
+
* @summary Retrieve conversation permissions
|
|
7857
|
+
* @param {*} [options] Override http request option.
|
|
7858
|
+
* @throws {RequiredError}
|
|
7859
|
+
*/
|
|
7860
|
+
getConversationPermissions: function (options) {
|
|
7861
|
+
var localVarFetchArgs = (0, exports.ConversationApiFetchParamCreator)(configuration).getConversationPermissions(options);
|
|
7862
|
+
return function (fetch, basePath) {
|
|
7863
|
+
if (fetch === void 0) { fetch = portableFetch; }
|
|
7864
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
7865
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
7866
|
+
if (response.status >= 200 && response.status < 300) {
|
|
7867
|
+
return response.json();
|
|
7868
|
+
}
|
|
7869
|
+
else {
|
|
7870
|
+
throw response;
|
|
7871
|
+
}
|
|
7872
|
+
});
|
|
7873
|
+
};
|
|
7874
|
+
},
|
|
7753
7875
|
/**
|
|
7754
7876
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
7755
7877
|
* @summary Retrieve a conversation webchat queue statuses
|
|
@@ -8196,6 +8318,15 @@ var ConversationApiFactory = function (configuration, fetch, basePath) {
|
|
|
8196
8318
|
getConversationContext: function (conversation_uuid, options) {
|
|
8197
8319
|
return (0, exports.ConversationApiFp)(configuration).getConversationContext(conversation_uuid, options)(fetch, basePath);
|
|
8198
8320
|
},
|
|
8321
|
+
/**
|
|
8322
|
+
* Retrieve a list of possible department members
|
|
8323
|
+
* @summary Retrieve a list of possible department members
|
|
8324
|
+
* @param {*} [options] Override http request option.
|
|
8325
|
+
* @throws {RequiredError}
|
|
8326
|
+
*/
|
|
8327
|
+
getConversationDepartmentMemberList: function (options) {
|
|
8328
|
+
return (0, exports.ConversationApiFp)(configuration).getConversationDepartmentMemberList(options)(fetch, basePath);
|
|
8329
|
+
},
|
|
8199
8330
|
/**
|
|
8200
8331
|
* Retrieve a list of departments ordered by name
|
|
8201
8332
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -8236,6 +8367,15 @@ var ConversationApiFactory = function (configuration, fetch, basePath) {
|
|
|
8236
8367
|
getConversationMultimediaUploadUrl: function (extension, options) {
|
|
8237
8368
|
return (0, exports.ConversationApiFp)(configuration).getConversationMultimediaUploadUrl(extension, options)(fetch, basePath);
|
|
8238
8369
|
},
|
|
8370
|
+
/**
|
|
8371
|
+
* Retrieve conversation permissions
|
|
8372
|
+
* @summary Retrieve conversation permissions
|
|
8373
|
+
* @param {*} [options] Override http request option.
|
|
8374
|
+
* @throws {RequiredError}
|
|
8375
|
+
*/
|
|
8376
|
+
getConversationPermissions: function (options) {
|
|
8377
|
+
return (0, exports.ConversationApiFp)(configuration).getConversationPermissions(options)(fetch, basePath);
|
|
8378
|
+
},
|
|
8239
8379
|
/**
|
|
8240
8380
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
8241
8381
|
* @summary Retrieve a conversation webchat queue statuses
|
|
@@ -8503,6 +8643,16 @@ var ConversationApi = /** @class */ (function (_super) {
|
|
|
8503
8643
|
ConversationApi.prototype.getConversationContext = function (conversation_uuid, options) {
|
|
8504
8644
|
return (0, exports.ConversationApiFp)(this.configuration).getConversationContext(conversation_uuid, options)(this.fetch, this.basePath);
|
|
8505
8645
|
};
|
|
8646
|
+
/**
|
|
8647
|
+
* Retrieve a list of possible department members
|
|
8648
|
+
* @summary Retrieve a list of possible department members
|
|
8649
|
+
* @param {*} [options] Override http request option.
|
|
8650
|
+
* @throws {RequiredError}
|
|
8651
|
+
* @memberof ConversationApi
|
|
8652
|
+
*/
|
|
8653
|
+
ConversationApi.prototype.getConversationDepartmentMemberList = function (options) {
|
|
8654
|
+
return (0, exports.ConversationApiFp)(this.configuration).getConversationDepartmentMemberList(options)(this.fetch, this.basePath);
|
|
8655
|
+
};
|
|
8506
8656
|
/**
|
|
8507
8657
|
* Retrieve a list of departments ordered by name
|
|
8508
8658
|
* @summary Retrieve a list of departments ordered by name
|
|
@@ -8547,6 +8697,16 @@ var ConversationApi = /** @class */ (function (_super) {
|
|
|
8547
8697
|
ConversationApi.prototype.getConversationMultimediaUploadUrl = function (extension, options) {
|
|
8548
8698
|
return (0, exports.ConversationApiFp)(this.configuration).getConversationMultimediaUploadUrl(extension, options)(this.fetch, this.basePath);
|
|
8549
8699
|
};
|
|
8700
|
+
/**
|
|
8701
|
+
* Retrieve conversation permissions
|
|
8702
|
+
* @summary Retrieve conversation permissions
|
|
8703
|
+
* @param {*} [options] Override http request option.
|
|
8704
|
+
* @throws {RequiredError}
|
|
8705
|
+
* @memberof ConversationApi
|
|
8706
|
+
*/
|
|
8707
|
+
ConversationApi.prototype.getConversationPermissions = function (options) {
|
|
8708
|
+
return (0, exports.ConversationApiFp)(this.configuration).getConversationPermissions(options)(this.fetch, this.basePath);
|
|
8709
|
+
};
|
|
8550
8710
|
/**
|
|
8551
8711
|
* Retrieve a conversation webchat queue statuses including agent status and queue entries
|
|
8552
8712
|
* @summary Retrieve a conversation webchat queue statuses
|