webitel-sdk 23.9.2 → 23.9.4
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/bundles/index.esm.js +1007 -3
- package/bundles/index.esm.js.map +1 -1
- package/bundles/index.esm.min.js +1 -1
- package/bundles/index.esm.min.js.map +1 -1
- package/bundles/index.umd.js +1122 -6
- package/bundles/index.umd.js.map +1 -1
- package/bundles/index.umd.min.js +1 -1
- package/bundles/index.umd.min.js.map +1 -1
- package/esm2015/api/index.js +2 -0
- package/esm2015/api/index.js.map +1 -1
- package/esm2015/api/newupdate-of-the-timezone-link.js +13 -0
- package/esm2015/api/newupdate-of-the-timezone-link.js.map +1 -0
- package/esm2015/api/newupdate-of-the-timezone-link1.js +13 -0
- package/esm2015/api/newupdate-of-the-timezone-link1.js.map +1 -0
- package/esm2015/api/timezones-api.js +991 -0
- package/esm2015/api/timezones-api.js.map +1 -0
- package/esm2015/api.js +1 -0
- package/esm2015/api.js.map +1 -1
- package/esm2015/socket/call.js +5 -2
- package/esm2015/socket/call.js.map +1 -1
- package/esm5/api/index.js +2 -0
- package/esm5/api/index.js.map +1 -1
- package/esm5/api/newupdate-of-the-timezone-link.js +13 -0
- package/esm5/api/newupdate-of-the-timezone-link.js.map +1 -0
- package/esm5/api/newupdate-of-the-timezone-link1.js +13 -0
- package/esm5/api/newupdate-of-the-timezone-link1.js.map +1 -0
- package/esm5/api/timezones-api.js +1103 -0
- package/esm5/api/timezones-api.js.map +1 -0
- package/esm5/api.js +1 -0
- package/esm5/api.js.map +1 -1
- package/esm5/socket/call.js +7 -6
- package/esm5/socket/call.js.map +1 -1
- package/package.json +1 -1
- package/types/api/index.d.ts +2 -0
- package/types/api/index.d.ts.map +1 -1
- package/types/api/newupdate-of-the-timezone-link.d.ts +32 -0
- package/types/api/newupdate-of-the-timezone-link.d.ts.map +1 -0
- package/types/api/newupdate-of-the-timezone-link1.d.ts +32 -0
- package/types/api/newupdate-of-the-timezone-link1.d.ts.map +1 -0
- package/types/api/timezones-api.d.ts +402 -0
- package/types/api/timezones-api.d.ts.map +1 -0
- package/types/api/webitel-contacts-input-timezone.d.ts +8 -13
- package/types/api/webitel-contacts-input-timezone.d.ts.map +1 -1
- package/types/api/webitel-contacts-label-info.d.ts +1 -13
- package/types/api/webitel-contacts-label-info.d.ts.map +1 -1
- package/types/api/webitel-contacts-timezone-list.d.ts +1 -1
- package/types/api/webitel-contacts-timezone.d.ts +2 -14
- package/types/api/webitel-contacts-timezone.d.ts.map +1 -1
- package/types/api.d.ts +1 -0
- package/types/api.d.ts.map +1 -1
- package/types/socket/call.d.ts.map +1 -1
package/bundles/index.esm.js
CHANGED
|
@@ -35238,6 +35238,981 @@ class SystemSettingServiceApi extends BaseAPI {
|
|
|
35238
35238
|
}
|
|
35239
35239
|
}
|
|
35240
35240
|
|
|
35241
|
+
// tslint:disable
|
|
35242
|
+
/**
|
|
35243
|
+
* TimezonesApi - axios parameter creator
|
|
35244
|
+
* @export
|
|
35245
|
+
*/
|
|
35246
|
+
const TimezonesApiAxiosParamCreator = function (configuration) {
|
|
35247
|
+
return {
|
|
35248
|
+
/**
|
|
35249
|
+
*
|
|
35250
|
+
* @summary Remove the Contact\'s timezone association.
|
|
35251
|
+
* @param {string} contactId Contact ID associated with.
|
|
35252
|
+
* @param {string} etag Unique ID to remove.
|
|
35253
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
35254
|
+
* @param {*} [options] Override http request option.
|
|
35255
|
+
* @throws {RequiredError}
|
|
35256
|
+
*/
|
|
35257
|
+
deleteTimezone: async (contactId, etag, fields, options = {}) => {
|
|
35258
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
35259
|
+
if (contactId === null || contactId === undefined) {
|
|
35260
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling deleteTimezone.');
|
|
35261
|
+
}
|
|
35262
|
+
// verify required parameter 'etag' is not null or undefined
|
|
35263
|
+
if (etag === null || etag === undefined) {
|
|
35264
|
+
throw new RequiredError('etag', 'Required parameter etag was null or undefined when calling deleteTimezone.');
|
|
35265
|
+
}
|
|
35266
|
+
const localVarPath = `/contacts/{contact_id}/timezones/{etag}`
|
|
35267
|
+
.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)))
|
|
35268
|
+
.replace(`{${'etag'}}`, encodeURIComponent(String(etag)));
|
|
35269
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
35270
|
+
let baseOptions;
|
|
35271
|
+
if (configuration) {
|
|
35272
|
+
baseOptions = configuration.baseOptions;
|
|
35273
|
+
}
|
|
35274
|
+
const localVarRequestOptions = {
|
|
35275
|
+
method: 'DELETE',
|
|
35276
|
+
...baseOptions,
|
|
35277
|
+
...options,
|
|
35278
|
+
};
|
|
35279
|
+
const localVarHeaderParameter = {};
|
|
35280
|
+
const localVarQueryParameter = {};
|
|
35281
|
+
// authentication AccessToken required
|
|
35282
|
+
if (configuration && configuration.apiKey) {
|
|
35283
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
35284
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
35285
|
+
: await configuration.apiKey;
|
|
35286
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
35287
|
+
}
|
|
35288
|
+
if (fields) {
|
|
35289
|
+
localVarQueryParameter['fields'] = fields;
|
|
35290
|
+
}
|
|
35291
|
+
localVarUrlObj.query = {
|
|
35292
|
+
...localVarUrlObj.query,
|
|
35293
|
+
...localVarQueryParameter,
|
|
35294
|
+
...options.query,
|
|
35295
|
+
};
|
|
35296
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
35297
|
+
delete localVarUrlObj.search;
|
|
35298
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35299
|
+
localVarRequestOptions.headers = {
|
|
35300
|
+
...localVarHeaderParameter,
|
|
35301
|
+
...headersFromBaseOptions,
|
|
35302
|
+
...options.headers,
|
|
35303
|
+
};
|
|
35304
|
+
return {
|
|
35305
|
+
url: format(localVarUrlObj),
|
|
35306
|
+
options: localVarRequestOptions,
|
|
35307
|
+
};
|
|
35308
|
+
},
|
|
35309
|
+
/**
|
|
35310
|
+
*
|
|
35311
|
+
* @summary Remove the Contact\'s timezone(s).
|
|
35312
|
+
* @param {string} contactId Contact ID associated with.
|
|
35313
|
+
* @param {Array<string>} etag Set of unique ID(s) to remove.
|
|
35314
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
35315
|
+
* @param {*} [options] Override http request option.
|
|
35316
|
+
* @throws {RequiredError}
|
|
35317
|
+
*/
|
|
35318
|
+
deleteTimezones: async (contactId, etag, fields, options = {}) => {
|
|
35319
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
35320
|
+
if (contactId === null || contactId === undefined) {
|
|
35321
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling deleteTimezones.');
|
|
35322
|
+
}
|
|
35323
|
+
// verify required parameter 'etag' is not null or undefined
|
|
35324
|
+
if (etag === null || etag === undefined) {
|
|
35325
|
+
throw new RequiredError('etag', 'Required parameter etag was null or undefined when calling deleteTimezones.');
|
|
35326
|
+
}
|
|
35327
|
+
const localVarPath = `/contacts/{contact_id}/timezones`.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)));
|
|
35328
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
35329
|
+
let baseOptions;
|
|
35330
|
+
if (configuration) {
|
|
35331
|
+
baseOptions = configuration.baseOptions;
|
|
35332
|
+
}
|
|
35333
|
+
const localVarRequestOptions = {
|
|
35334
|
+
method: 'DELETE',
|
|
35335
|
+
...baseOptions,
|
|
35336
|
+
...options,
|
|
35337
|
+
};
|
|
35338
|
+
const localVarHeaderParameter = {};
|
|
35339
|
+
const localVarQueryParameter = {};
|
|
35340
|
+
// authentication AccessToken required
|
|
35341
|
+
if (configuration && configuration.apiKey) {
|
|
35342
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
35343
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
35344
|
+
: await configuration.apiKey;
|
|
35345
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
35346
|
+
}
|
|
35347
|
+
if (fields) {
|
|
35348
|
+
localVarQueryParameter['fields'] = fields;
|
|
35349
|
+
}
|
|
35350
|
+
if (etag) {
|
|
35351
|
+
localVarQueryParameter['etag'] = etag;
|
|
35352
|
+
}
|
|
35353
|
+
localVarUrlObj.query = {
|
|
35354
|
+
...localVarUrlObj.query,
|
|
35355
|
+
...localVarQueryParameter,
|
|
35356
|
+
...options.query,
|
|
35357
|
+
};
|
|
35358
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
35359
|
+
delete localVarUrlObj.search;
|
|
35360
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35361
|
+
localVarRequestOptions.headers = {
|
|
35362
|
+
...localVarHeaderParameter,
|
|
35363
|
+
...headersFromBaseOptions,
|
|
35364
|
+
...options.headers,
|
|
35365
|
+
};
|
|
35366
|
+
return {
|
|
35367
|
+
url: format(localVarUrlObj),
|
|
35368
|
+
options: localVarRequestOptions,
|
|
35369
|
+
};
|
|
35370
|
+
},
|
|
35371
|
+
/**
|
|
35372
|
+
*
|
|
35373
|
+
* @summary List of the Contact\'s timezone(s).
|
|
35374
|
+
* @param {string} contactId Contact ID associated with.
|
|
35375
|
+
* @param {number} [page] Page number of result dataset records. offset = (page*size)
|
|
35376
|
+
* @param {number} [size] Size count of records on result page. limit = (size++)
|
|
35377
|
+
* @param {string} [q] Search term: location name; `?` - matches any one character `*` - matches 0 or more characters
|
|
35378
|
+
* @param {Array<string>} [sort] Sort the result according to fields.
|
|
35379
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
35380
|
+
* @param {Array<string>} [id] Record(s) with unique ID only.
|
|
35381
|
+
* @param {boolean} [primary] Primary timezone only.
|
|
35382
|
+
* @param {*} [options] Override http request option.
|
|
35383
|
+
* @throws {RequiredError}
|
|
35384
|
+
*/
|
|
35385
|
+
listTimezones: async (contactId, page, size, q, sort, fields, id, primary, options = {}) => {
|
|
35386
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
35387
|
+
if (contactId === null || contactId === undefined) {
|
|
35388
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling listTimezones.');
|
|
35389
|
+
}
|
|
35390
|
+
const localVarPath = `/contacts/{contact_id}/timezones`.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)));
|
|
35391
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
35392
|
+
let baseOptions;
|
|
35393
|
+
if (configuration) {
|
|
35394
|
+
baseOptions = configuration.baseOptions;
|
|
35395
|
+
}
|
|
35396
|
+
const localVarRequestOptions = {
|
|
35397
|
+
method: 'GET',
|
|
35398
|
+
...baseOptions,
|
|
35399
|
+
...options,
|
|
35400
|
+
};
|
|
35401
|
+
const localVarHeaderParameter = {};
|
|
35402
|
+
const localVarQueryParameter = {};
|
|
35403
|
+
// authentication AccessToken required
|
|
35404
|
+
if (configuration && configuration.apiKey) {
|
|
35405
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
35406
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
35407
|
+
: await configuration.apiKey;
|
|
35408
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
35409
|
+
}
|
|
35410
|
+
if (page !== undefined) {
|
|
35411
|
+
localVarQueryParameter['page'] = page;
|
|
35412
|
+
}
|
|
35413
|
+
if (size !== undefined) {
|
|
35414
|
+
localVarQueryParameter['size'] = size;
|
|
35415
|
+
}
|
|
35416
|
+
if (q !== undefined) {
|
|
35417
|
+
localVarQueryParameter['q'] = q;
|
|
35418
|
+
}
|
|
35419
|
+
if (sort) {
|
|
35420
|
+
localVarQueryParameter['sort'] = sort;
|
|
35421
|
+
}
|
|
35422
|
+
if (fields) {
|
|
35423
|
+
localVarQueryParameter['fields'] = fields;
|
|
35424
|
+
}
|
|
35425
|
+
if (id) {
|
|
35426
|
+
localVarQueryParameter['id'] = id;
|
|
35427
|
+
}
|
|
35428
|
+
if (primary !== undefined) {
|
|
35429
|
+
localVarQueryParameter['primary'] = primary;
|
|
35430
|
+
}
|
|
35431
|
+
localVarUrlObj.query = {
|
|
35432
|
+
...localVarUrlObj.query,
|
|
35433
|
+
...localVarQueryParameter,
|
|
35434
|
+
...options.query,
|
|
35435
|
+
};
|
|
35436
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
35437
|
+
delete localVarUrlObj.search;
|
|
35438
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35439
|
+
localVarRequestOptions.headers = {
|
|
35440
|
+
...localVarHeaderParameter,
|
|
35441
|
+
...headersFromBaseOptions,
|
|
35442
|
+
...options.headers,
|
|
35443
|
+
};
|
|
35444
|
+
return {
|
|
35445
|
+
url: format(localVarUrlObj),
|
|
35446
|
+
options: localVarRequestOptions,
|
|
35447
|
+
};
|
|
35448
|
+
},
|
|
35449
|
+
/**
|
|
35450
|
+
*
|
|
35451
|
+
* @summary Locate the Contact\'s timezone association.
|
|
35452
|
+
* @param {string} contactId Contact source ID.
|
|
35453
|
+
* @param {string} etag Unique timezone link IDentifier. Accept: `etag` (obsolete+) or `id`.
|
|
35454
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result.
|
|
35455
|
+
* @param {*} [options] Override http request option.
|
|
35456
|
+
* @throws {RequiredError}
|
|
35457
|
+
*/
|
|
35458
|
+
locateTimezone: async (contactId, etag, fields, options = {}) => {
|
|
35459
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
35460
|
+
if (contactId === null || contactId === undefined) {
|
|
35461
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling locateTimezone.');
|
|
35462
|
+
}
|
|
35463
|
+
// verify required parameter 'etag' is not null or undefined
|
|
35464
|
+
if (etag === null || etag === undefined) {
|
|
35465
|
+
throw new RequiredError('etag', 'Required parameter etag was null or undefined when calling locateTimezone.');
|
|
35466
|
+
}
|
|
35467
|
+
const localVarPath = `/contacts/{contact_id}/timezones/{etag}`
|
|
35468
|
+
.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)))
|
|
35469
|
+
.replace(`{${'etag'}}`, encodeURIComponent(String(etag)));
|
|
35470
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
35471
|
+
let baseOptions;
|
|
35472
|
+
if (configuration) {
|
|
35473
|
+
baseOptions = configuration.baseOptions;
|
|
35474
|
+
}
|
|
35475
|
+
const localVarRequestOptions = {
|
|
35476
|
+
method: 'GET',
|
|
35477
|
+
...baseOptions,
|
|
35478
|
+
...options,
|
|
35479
|
+
};
|
|
35480
|
+
const localVarHeaderParameter = {};
|
|
35481
|
+
const localVarQueryParameter = {};
|
|
35482
|
+
// authentication AccessToken required
|
|
35483
|
+
if (configuration && configuration.apiKey) {
|
|
35484
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
35485
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
35486
|
+
: await configuration.apiKey;
|
|
35487
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
35488
|
+
}
|
|
35489
|
+
if (fields) {
|
|
35490
|
+
localVarQueryParameter['fields'] = fields;
|
|
35491
|
+
}
|
|
35492
|
+
localVarUrlObj.query = {
|
|
35493
|
+
...localVarUrlObj.query,
|
|
35494
|
+
...localVarQueryParameter,
|
|
35495
|
+
...options.query,
|
|
35496
|
+
};
|
|
35497
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
35498
|
+
delete localVarUrlObj.search;
|
|
35499
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35500
|
+
localVarRequestOptions.headers = {
|
|
35501
|
+
...localVarHeaderParameter,
|
|
35502
|
+
...headersFromBaseOptions,
|
|
35503
|
+
...options.headers,
|
|
35504
|
+
};
|
|
35505
|
+
return {
|
|
35506
|
+
url: format(localVarUrlObj),
|
|
35507
|
+
options: localVarRequestOptions,
|
|
35508
|
+
};
|
|
35509
|
+
},
|
|
35510
|
+
/**
|
|
35511
|
+
*
|
|
35512
|
+
* @summary Associate more timezone(s) with the Contact.
|
|
35513
|
+
* @param {string} contactId Link contact ID.
|
|
35514
|
+
* @param {Array<WebitelContactsInputTimezone>} input Array of the unique User(s) to associate with the Contact. Any duplicate of an already linked user{id} will result in an error.
|
|
35515
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
35516
|
+
* @param {*} [options] Override http request option.
|
|
35517
|
+
* @throws {RequiredError}
|
|
35518
|
+
*/
|
|
35519
|
+
mergeTimezones: async (contactId, input, fields, options = {}) => {
|
|
35520
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
35521
|
+
if (contactId === null || contactId === undefined) {
|
|
35522
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling mergeTimezones.');
|
|
35523
|
+
}
|
|
35524
|
+
// verify required parameter 'input' is not null or undefined
|
|
35525
|
+
if (input === null || input === undefined) {
|
|
35526
|
+
throw new RequiredError('input', 'Required parameter input was null or undefined when calling mergeTimezones.');
|
|
35527
|
+
}
|
|
35528
|
+
const localVarPath = `/contacts/{contact_id}/timezones`.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)));
|
|
35529
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
35530
|
+
let baseOptions;
|
|
35531
|
+
if (configuration) {
|
|
35532
|
+
baseOptions = configuration.baseOptions;
|
|
35533
|
+
}
|
|
35534
|
+
const localVarRequestOptions = {
|
|
35535
|
+
method: 'POST',
|
|
35536
|
+
...baseOptions,
|
|
35537
|
+
...options,
|
|
35538
|
+
};
|
|
35539
|
+
const localVarHeaderParameter = {};
|
|
35540
|
+
const localVarQueryParameter = {};
|
|
35541
|
+
// authentication AccessToken required
|
|
35542
|
+
if (configuration && configuration.apiKey) {
|
|
35543
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
35544
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
35545
|
+
: await configuration.apiKey;
|
|
35546
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
35547
|
+
}
|
|
35548
|
+
if (fields) {
|
|
35549
|
+
localVarQueryParameter['fields'] = fields;
|
|
35550
|
+
}
|
|
35551
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35552
|
+
localVarUrlObj.query = {
|
|
35553
|
+
...localVarUrlObj.query,
|
|
35554
|
+
...localVarQueryParameter,
|
|
35555
|
+
...options.query,
|
|
35556
|
+
};
|
|
35557
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
35558
|
+
delete localVarUrlObj.search;
|
|
35559
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35560
|
+
localVarRequestOptions.headers = {
|
|
35561
|
+
...localVarHeaderParameter,
|
|
35562
|
+
...headersFromBaseOptions,
|
|
35563
|
+
...options.headers,
|
|
35564
|
+
};
|
|
35565
|
+
const needsSerialization = typeof input !== 'string' ||
|
|
35566
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
35567
|
+
localVarRequestOptions.data = needsSerialization
|
|
35568
|
+
? JSON.stringify(input !== undefined ? input : {})
|
|
35569
|
+
: input || '';
|
|
35570
|
+
return {
|
|
35571
|
+
url: format(localVarUrlObj),
|
|
35572
|
+
options: localVarRequestOptions,
|
|
35573
|
+
};
|
|
35574
|
+
},
|
|
35575
|
+
/**
|
|
35576
|
+
*
|
|
35577
|
+
* @summary Resets all timezones of the contact according to the input dataset.
|
|
35578
|
+
* @param {string} contactId Link contact ID.
|
|
35579
|
+
* @param {Array<WebitelContactsInputTimezone>} input Final set of timezone(s) to be linked with the contact. Timezone(s) that are already linked with the contact but not given in here will be removed.
|
|
35580
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
35581
|
+
* @param {*} [options] Override http request option.
|
|
35582
|
+
* @throws {RequiredError}
|
|
35583
|
+
*/
|
|
35584
|
+
resetTimezones: async (contactId, input, fields, options = {}) => {
|
|
35585
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
35586
|
+
if (contactId === null || contactId === undefined) {
|
|
35587
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling resetTimezones.');
|
|
35588
|
+
}
|
|
35589
|
+
// verify required parameter 'input' is not null or undefined
|
|
35590
|
+
if (input === null || input === undefined) {
|
|
35591
|
+
throw new RequiredError('input', 'Required parameter input was null or undefined when calling resetTimezones.');
|
|
35592
|
+
}
|
|
35593
|
+
const localVarPath = `/contacts/{contact_id}/timezones`.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)));
|
|
35594
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
35595
|
+
let baseOptions;
|
|
35596
|
+
if (configuration) {
|
|
35597
|
+
baseOptions = configuration.baseOptions;
|
|
35598
|
+
}
|
|
35599
|
+
const localVarRequestOptions = {
|
|
35600
|
+
method: 'PUT',
|
|
35601
|
+
...baseOptions,
|
|
35602
|
+
...options,
|
|
35603
|
+
};
|
|
35604
|
+
const localVarHeaderParameter = {};
|
|
35605
|
+
const localVarQueryParameter = {};
|
|
35606
|
+
// authentication AccessToken required
|
|
35607
|
+
if (configuration && configuration.apiKey) {
|
|
35608
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
35609
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
35610
|
+
: await configuration.apiKey;
|
|
35611
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
35612
|
+
}
|
|
35613
|
+
if (fields) {
|
|
35614
|
+
localVarQueryParameter['fields'] = fields;
|
|
35615
|
+
}
|
|
35616
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35617
|
+
localVarUrlObj.query = {
|
|
35618
|
+
...localVarUrlObj.query,
|
|
35619
|
+
...localVarQueryParameter,
|
|
35620
|
+
...options.query,
|
|
35621
|
+
};
|
|
35622
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
35623
|
+
delete localVarUrlObj.search;
|
|
35624
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35625
|
+
localVarRequestOptions.headers = {
|
|
35626
|
+
...localVarHeaderParameter,
|
|
35627
|
+
...headersFromBaseOptions,
|
|
35628
|
+
...options.headers,
|
|
35629
|
+
};
|
|
35630
|
+
const needsSerialization = typeof input !== 'string' ||
|
|
35631
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
35632
|
+
localVarRequestOptions.data = needsSerialization
|
|
35633
|
+
? JSON.stringify(input !== undefined ? input : {})
|
|
35634
|
+
: input || '';
|
|
35635
|
+
return {
|
|
35636
|
+
url: format(localVarUrlObj),
|
|
35637
|
+
options: localVarRequestOptions,
|
|
35638
|
+
};
|
|
35639
|
+
},
|
|
35640
|
+
/**
|
|
35641
|
+
*
|
|
35642
|
+
* @summary Update the Contact\'s timezone details.
|
|
35643
|
+
* @param {string} contactId Link contact ID.
|
|
35644
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
35645
|
+
* @param {NEWUpdateOfTheTimezoneLink} input
|
|
35646
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
35647
|
+
* @param {*} [options] Override http request option.
|
|
35648
|
+
* @throws {RequiredError}
|
|
35649
|
+
*/
|
|
35650
|
+
updateTimezone: async (contactId, etag, input, fields, options = {}) => {
|
|
35651
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
35652
|
+
if (contactId === null || contactId === undefined) {
|
|
35653
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling updateTimezone.');
|
|
35654
|
+
}
|
|
35655
|
+
// verify required parameter 'etag' is not null or undefined
|
|
35656
|
+
if (etag === null || etag === undefined) {
|
|
35657
|
+
throw new RequiredError('etag', 'Required parameter etag was null or undefined when calling updateTimezone.');
|
|
35658
|
+
}
|
|
35659
|
+
// verify required parameter 'input' is not null or undefined
|
|
35660
|
+
if (input === null || input === undefined) {
|
|
35661
|
+
throw new RequiredError('input', 'Required parameter input was null or undefined when calling updateTimezone.');
|
|
35662
|
+
}
|
|
35663
|
+
const localVarPath = `/contacts/{contact_id}/timezones/{etag}`
|
|
35664
|
+
.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)))
|
|
35665
|
+
.replace(`{${'etag'}}`, encodeURIComponent(String(etag)));
|
|
35666
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
35667
|
+
let baseOptions;
|
|
35668
|
+
if (configuration) {
|
|
35669
|
+
baseOptions = configuration.baseOptions;
|
|
35670
|
+
}
|
|
35671
|
+
const localVarRequestOptions = {
|
|
35672
|
+
method: 'PUT',
|
|
35673
|
+
...baseOptions,
|
|
35674
|
+
...options,
|
|
35675
|
+
};
|
|
35676
|
+
const localVarHeaderParameter = {};
|
|
35677
|
+
const localVarQueryParameter = {};
|
|
35678
|
+
// authentication AccessToken required
|
|
35679
|
+
if (configuration && configuration.apiKey) {
|
|
35680
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
35681
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
35682
|
+
: await configuration.apiKey;
|
|
35683
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
35684
|
+
}
|
|
35685
|
+
if (fields) {
|
|
35686
|
+
localVarQueryParameter['fields'] = fields;
|
|
35687
|
+
}
|
|
35688
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35689
|
+
localVarUrlObj.query = {
|
|
35690
|
+
...localVarUrlObj.query,
|
|
35691
|
+
...localVarQueryParameter,
|
|
35692
|
+
...options.query,
|
|
35693
|
+
};
|
|
35694
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
35695
|
+
delete localVarUrlObj.search;
|
|
35696
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35697
|
+
localVarRequestOptions.headers = {
|
|
35698
|
+
...localVarHeaderParameter,
|
|
35699
|
+
...headersFromBaseOptions,
|
|
35700
|
+
...options.headers,
|
|
35701
|
+
};
|
|
35702
|
+
const needsSerialization = typeof input !== 'string' ||
|
|
35703
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
35704
|
+
localVarRequestOptions.data = needsSerialization
|
|
35705
|
+
? JSON.stringify(input !== undefined ? input : {})
|
|
35706
|
+
: input || '';
|
|
35707
|
+
return {
|
|
35708
|
+
url: format(localVarUrlObj),
|
|
35709
|
+
options: localVarRequestOptions,
|
|
35710
|
+
};
|
|
35711
|
+
},
|
|
35712
|
+
/**
|
|
35713
|
+
*
|
|
35714
|
+
* @summary Update the Contact\'s timezone details.
|
|
35715
|
+
* @param {string} contactId Link contact ID.
|
|
35716
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
35717
|
+
* @param {NEWUpdateOfTheTimezoneLink1} input
|
|
35718
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
35719
|
+
* @param {*} [options] Override http request option.
|
|
35720
|
+
* @throws {RequiredError}
|
|
35721
|
+
*/
|
|
35722
|
+
updateTimezone2: async (contactId, etag, input, fields, options = {}) => {
|
|
35723
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
35724
|
+
if (contactId === null || contactId === undefined) {
|
|
35725
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling updateTimezone2.');
|
|
35726
|
+
}
|
|
35727
|
+
// verify required parameter 'etag' is not null or undefined
|
|
35728
|
+
if (etag === null || etag === undefined) {
|
|
35729
|
+
throw new RequiredError('etag', 'Required parameter etag was null or undefined when calling updateTimezone2.');
|
|
35730
|
+
}
|
|
35731
|
+
// verify required parameter 'input' is not null or undefined
|
|
35732
|
+
if (input === null || input === undefined) {
|
|
35733
|
+
throw new RequiredError('input', 'Required parameter input was null or undefined when calling updateTimezone2.');
|
|
35734
|
+
}
|
|
35735
|
+
const localVarPath = `/contacts/{contact_id}/timezones/{etag}`
|
|
35736
|
+
.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)))
|
|
35737
|
+
.replace(`{${'etag'}}`, encodeURIComponent(String(etag)));
|
|
35738
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
35739
|
+
let baseOptions;
|
|
35740
|
+
if (configuration) {
|
|
35741
|
+
baseOptions = configuration.baseOptions;
|
|
35742
|
+
}
|
|
35743
|
+
const localVarRequestOptions = {
|
|
35744
|
+
method: 'PATCH',
|
|
35745
|
+
...baseOptions,
|
|
35746
|
+
...options,
|
|
35747
|
+
};
|
|
35748
|
+
const localVarHeaderParameter = {};
|
|
35749
|
+
const localVarQueryParameter = {};
|
|
35750
|
+
// authentication AccessToken required
|
|
35751
|
+
if (configuration && configuration.apiKey) {
|
|
35752
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
35753
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
35754
|
+
: await configuration.apiKey;
|
|
35755
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
35756
|
+
}
|
|
35757
|
+
if (fields) {
|
|
35758
|
+
localVarQueryParameter['fields'] = fields;
|
|
35759
|
+
}
|
|
35760
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35761
|
+
localVarUrlObj.query = {
|
|
35762
|
+
...localVarUrlObj.query,
|
|
35763
|
+
...localVarQueryParameter,
|
|
35764
|
+
...options.query,
|
|
35765
|
+
};
|
|
35766
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
35767
|
+
delete localVarUrlObj.search;
|
|
35768
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35769
|
+
localVarRequestOptions.headers = {
|
|
35770
|
+
...localVarHeaderParameter,
|
|
35771
|
+
...headersFromBaseOptions,
|
|
35772
|
+
...options.headers,
|
|
35773
|
+
};
|
|
35774
|
+
const needsSerialization = typeof input !== 'string' ||
|
|
35775
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
35776
|
+
localVarRequestOptions.data = needsSerialization
|
|
35777
|
+
? JSON.stringify(input !== undefined ? input : {})
|
|
35778
|
+
: input || '';
|
|
35779
|
+
return {
|
|
35780
|
+
url: format(localVarUrlObj),
|
|
35781
|
+
options: localVarRequestOptions,
|
|
35782
|
+
};
|
|
35783
|
+
},
|
|
35784
|
+
};
|
|
35785
|
+
};
|
|
35786
|
+
/**
|
|
35787
|
+
* TimezonesApi - functional programming interface
|
|
35788
|
+
* @export
|
|
35789
|
+
*/
|
|
35790
|
+
const TimezonesApiFp = function (configuration) {
|
|
35791
|
+
return {
|
|
35792
|
+
/**
|
|
35793
|
+
*
|
|
35794
|
+
* @summary Remove the Contact\'s timezone association.
|
|
35795
|
+
* @param {string} contactId Contact ID associated with.
|
|
35796
|
+
* @param {string} etag Unique ID to remove.
|
|
35797
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
35798
|
+
* @param {*} [options] Override http request option.
|
|
35799
|
+
* @throws {RequiredError}
|
|
35800
|
+
*/
|
|
35801
|
+
async deleteTimezone(contactId, etag, fields, options) {
|
|
35802
|
+
const localVarAxiosArgs = await TimezonesApiAxiosParamCreator(configuration).deleteTimezone(contactId, etag, fields, options);
|
|
35803
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
35804
|
+
const axiosRequestArgs = {
|
|
35805
|
+
...localVarAxiosArgs.options,
|
|
35806
|
+
url: basePath + localVarAxiosArgs.url,
|
|
35807
|
+
};
|
|
35808
|
+
return axios.request(axiosRequestArgs);
|
|
35809
|
+
};
|
|
35810
|
+
},
|
|
35811
|
+
/**
|
|
35812
|
+
*
|
|
35813
|
+
* @summary Remove the Contact\'s timezone(s).
|
|
35814
|
+
* @param {string} contactId Contact ID associated with.
|
|
35815
|
+
* @param {Array<string>} etag Set of unique ID(s) to remove.
|
|
35816
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
35817
|
+
* @param {*} [options] Override http request option.
|
|
35818
|
+
* @throws {RequiredError}
|
|
35819
|
+
*/
|
|
35820
|
+
async deleteTimezones(contactId, etag, fields, options) {
|
|
35821
|
+
const localVarAxiosArgs = await TimezonesApiAxiosParamCreator(configuration).deleteTimezones(contactId, etag, fields, options);
|
|
35822
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
35823
|
+
const axiosRequestArgs = {
|
|
35824
|
+
...localVarAxiosArgs.options,
|
|
35825
|
+
url: basePath + localVarAxiosArgs.url,
|
|
35826
|
+
};
|
|
35827
|
+
return axios.request(axiosRequestArgs);
|
|
35828
|
+
};
|
|
35829
|
+
},
|
|
35830
|
+
/**
|
|
35831
|
+
*
|
|
35832
|
+
* @summary List of the Contact\'s timezone(s).
|
|
35833
|
+
* @param {string} contactId Contact ID associated with.
|
|
35834
|
+
* @param {number} [page] Page number of result dataset records. offset = (page*size)
|
|
35835
|
+
* @param {number} [size] Size count of records on result page. limit = (size++)
|
|
35836
|
+
* @param {string} [q] Search term: location name; `?` - matches any one character `*` - matches 0 or more characters
|
|
35837
|
+
* @param {Array<string>} [sort] Sort the result according to fields.
|
|
35838
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
35839
|
+
* @param {Array<string>} [id] Record(s) with unique ID only.
|
|
35840
|
+
* @param {boolean} [primary] Primary timezone only.
|
|
35841
|
+
* @param {*} [options] Override http request option.
|
|
35842
|
+
* @throws {RequiredError}
|
|
35843
|
+
*/
|
|
35844
|
+
async listTimezones(contactId, page, size, q, sort, fields, id, primary, options) {
|
|
35845
|
+
const localVarAxiosArgs = await TimezonesApiAxiosParamCreator(configuration).listTimezones(contactId, page, size, q, sort, fields, id, primary, options);
|
|
35846
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
35847
|
+
const axiosRequestArgs = {
|
|
35848
|
+
...localVarAxiosArgs.options,
|
|
35849
|
+
url: basePath + localVarAxiosArgs.url,
|
|
35850
|
+
};
|
|
35851
|
+
return axios.request(axiosRequestArgs);
|
|
35852
|
+
};
|
|
35853
|
+
},
|
|
35854
|
+
/**
|
|
35855
|
+
*
|
|
35856
|
+
* @summary Locate the Contact\'s timezone association.
|
|
35857
|
+
* @param {string} contactId Contact source ID.
|
|
35858
|
+
* @param {string} etag Unique timezone link IDentifier. Accept: `etag` (obsolete+) or `id`.
|
|
35859
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result.
|
|
35860
|
+
* @param {*} [options] Override http request option.
|
|
35861
|
+
* @throws {RequiredError}
|
|
35862
|
+
*/
|
|
35863
|
+
async locateTimezone(contactId, etag, fields, options) {
|
|
35864
|
+
const localVarAxiosArgs = await TimezonesApiAxiosParamCreator(configuration).locateTimezone(contactId, etag, fields, options);
|
|
35865
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
35866
|
+
const axiosRequestArgs = {
|
|
35867
|
+
...localVarAxiosArgs.options,
|
|
35868
|
+
url: basePath + localVarAxiosArgs.url,
|
|
35869
|
+
};
|
|
35870
|
+
return axios.request(axiosRequestArgs);
|
|
35871
|
+
};
|
|
35872
|
+
},
|
|
35873
|
+
/**
|
|
35874
|
+
*
|
|
35875
|
+
* @summary Associate more timezone(s) with the Contact.
|
|
35876
|
+
* @param {string} contactId Link contact ID.
|
|
35877
|
+
* @param {Array<WebitelContactsInputTimezone>} input Array of the unique User(s) to associate with the Contact. Any duplicate of an already linked user{id} will result in an error.
|
|
35878
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
35879
|
+
* @param {*} [options] Override http request option.
|
|
35880
|
+
* @throws {RequiredError}
|
|
35881
|
+
*/
|
|
35882
|
+
async mergeTimezones(contactId, input, fields, options) {
|
|
35883
|
+
const localVarAxiosArgs = await TimezonesApiAxiosParamCreator(configuration).mergeTimezones(contactId, input, fields, options);
|
|
35884
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
35885
|
+
const axiosRequestArgs = {
|
|
35886
|
+
...localVarAxiosArgs.options,
|
|
35887
|
+
url: basePath + localVarAxiosArgs.url,
|
|
35888
|
+
};
|
|
35889
|
+
return axios.request(axiosRequestArgs);
|
|
35890
|
+
};
|
|
35891
|
+
},
|
|
35892
|
+
/**
|
|
35893
|
+
*
|
|
35894
|
+
* @summary Resets all timezones of the contact according to the input dataset.
|
|
35895
|
+
* @param {string} contactId Link contact ID.
|
|
35896
|
+
* @param {Array<WebitelContactsInputTimezone>} input Final set of timezone(s) to be linked with the contact. Timezone(s) that are already linked with the contact but not given in here will be removed.
|
|
35897
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
35898
|
+
* @param {*} [options] Override http request option.
|
|
35899
|
+
* @throws {RequiredError}
|
|
35900
|
+
*/
|
|
35901
|
+
async resetTimezones(contactId, input, fields, options) {
|
|
35902
|
+
const localVarAxiosArgs = await TimezonesApiAxiosParamCreator(configuration).resetTimezones(contactId, input, fields, options);
|
|
35903
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
35904
|
+
const axiosRequestArgs = {
|
|
35905
|
+
...localVarAxiosArgs.options,
|
|
35906
|
+
url: basePath + localVarAxiosArgs.url,
|
|
35907
|
+
};
|
|
35908
|
+
return axios.request(axiosRequestArgs);
|
|
35909
|
+
};
|
|
35910
|
+
},
|
|
35911
|
+
/**
|
|
35912
|
+
*
|
|
35913
|
+
* @summary Update the Contact\'s timezone details.
|
|
35914
|
+
* @param {string} contactId Link contact ID.
|
|
35915
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
35916
|
+
* @param {NEWUpdateOfTheTimezoneLink} input
|
|
35917
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
35918
|
+
* @param {*} [options] Override http request option.
|
|
35919
|
+
* @throws {RequiredError}
|
|
35920
|
+
*/
|
|
35921
|
+
async updateTimezone(contactId, etag, input, fields, options) {
|
|
35922
|
+
const localVarAxiosArgs = await TimezonesApiAxiosParamCreator(configuration).updateTimezone(contactId, etag, input, fields, options);
|
|
35923
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
35924
|
+
const axiosRequestArgs = {
|
|
35925
|
+
...localVarAxiosArgs.options,
|
|
35926
|
+
url: basePath + localVarAxiosArgs.url,
|
|
35927
|
+
};
|
|
35928
|
+
return axios.request(axiosRequestArgs);
|
|
35929
|
+
};
|
|
35930
|
+
},
|
|
35931
|
+
/**
|
|
35932
|
+
*
|
|
35933
|
+
* @summary Update the Contact\'s timezone details.
|
|
35934
|
+
* @param {string} contactId Link contact ID.
|
|
35935
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
35936
|
+
* @param {NEWUpdateOfTheTimezoneLink1} input
|
|
35937
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
35938
|
+
* @param {*} [options] Override http request option.
|
|
35939
|
+
* @throws {RequiredError}
|
|
35940
|
+
*/
|
|
35941
|
+
async updateTimezone2(contactId, etag, input, fields, options) {
|
|
35942
|
+
const localVarAxiosArgs = await TimezonesApiAxiosParamCreator(configuration).updateTimezone2(contactId, etag, input, fields, options);
|
|
35943
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
35944
|
+
const axiosRequestArgs = {
|
|
35945
|
+
...localVarAxiosArgs.options,
|
|
35946
|
+
url: basePath + localVarAxiosArgs.url,
|
|
35947
|
+
};
|
|
35948
|
+
return axios.request(axiosRequestArgs);
|
|
35949
|
+
};
|
|
35950
|
+
},
|
|
35951
|
+
};
|
|
35952
|
+
};
|
|
35953
|
+
/**
|
|
35954
|
+
* TimezonesApi - factory interface
|
|
35955
|
+
* @export
|
|
35956
|
+
*/
|
|
35957
|
+
const TimezonesApiFactory = function (configuration, basePath, axios) {
|
|
35958
|
+
return {
|
|
35959
|
+
/**
|
|
35960
|
+
*
|
|
35961
|
+
* @summary Remove the Contact\'s timezone association.
|
|
35962
|
+
* @param {string} contactId Contact ID associated with.
|
|
35963
|
+
* @param {string} etag Unique ID to remove.
|
|
35964
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
35965
|
+
* @param {*} [options] Override http request option.
|
|
35966
|
+
* @throws {RequiredError}
|
|
35967
|
+
*/
|
|
35968
|
+
deleteTimezone(contactId, etag, fields, options) {
|
|
35969
|
+
return TimezonesApiFp(configuration)
|
|
35970
|
+
.deleteTimezone(contactId, etag, fields, options)
|
|
35971
|
+
.then((request) => request(axios, basePath));
|
|
35972
|
+
},
|
|
35973
|
+
/**
|
|
35974
|
+
*
|
|
35975
|
+
* @summary Remove the Contact\'s timezone(s).
|
|
35976
|
+
* @param {string} contactId Contact ID associated with.
|
|
35977
|
+
* @param {Array<string>} etag Set of unique ID(s) to remove.
|
|
35978
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
35979
|
+
* @param {*} [options] Override http request option.
|
|
35980
|
+
* @throws {RequiredError}
|
|
35981
|
+
*/
|
|
35982
|
+
deleteTimezones(contactId, etag, fields, options) {
|
|
35983
|
+
return TimezonesApiFp(configuration)
|
|
35984
|
+
.deleteTimezones(contactId, etag, fields, options)
|
|
35985
|
+
.then((request) => request(axios, basePath));
|
|
35986
|
+
},
|
|
35987
|
+
/**
|
|
35988
|
+
*
|
|
35989
|
+
* @summary List of the Contact\'s timezone(s).
|
|
35990
|
+
* @param {string} contactId Contact ID associated with.
|
|
35991
|
+
* @param {number} [page] Page number of result dataset records. offset = (page*size)
|
|
35992
|
+
* @param {number} [size] Size count of records on result page. limit = (size++)
|
|
35993
|
+
* @param {string} [q] Search term: location name; `?` - matches any one character `*` - matches 0 or more characters
|
|
35994
|
+
* @param {Array<string>} [sort] Sort the result according to fields.
|
|
35995
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
35996
|
+
* @param {Array<string>} [id] Record(s) with unique ID only.
|
|
35997
|
+
* @param {boolean} [primary] Primary timezone only.
|
|
35998
|
+
* @param {*} [options] Override http request option.
|
|
35999
|
+
* @throws {RequiredError}
|
|
36000
|
+
*/
|
|
36001
|
+
listTimezones(contactId, page, size, q, sort, fields, id, primary, options) {
|
|
36002
|
+
return TimezonesApiFp(configuration)
|
|
36003
|
+
.listTimezones(contactId, page, size, q, sort, fields, id, primary, options)
|
|
36004
|
+
.then((request) => request(axios, basePath));
|
|
36005
|
+
},
|
|
36006
|
+
/**
|
|
36007
|
+
*
|
|
36008
|
+
* @summary Locate the Contact\'s timezone association.
|
|
36009
|
+
* @param {string} contactId Contact source ID.
|
|
36010
|
+
* @param {string} etag Unique timezone link IDentifier. Accept: `etag` (obsolete+) or `id`.
|
|
36011
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result.
|
|
36012
|
+
* @param {*} [options] Override http request option.
|
|
36013
|
+
* @throws {RequiredError}
|
|
36014
|
+
*/
|
|
36015
|
+
locateTimezone(contactId, etag, fields, options) {
|
|
36016
|
+
return TimezonesApiFp(configuration)
|
|
36017
|
+
.locateTimezone(contactId, etag, fields, options)
|
|
36018
|
+
.then((request) => request(axios, basePath));
|
|
36019
|
+
},
|
|
36020
|
+
/**
|
|
36021
|
+
*
|
|
36022
|
+
* @summary Associate more timezone(s) with the Contact.
|
|
36023
|
+
* @param {string} contactId Link contact ID.
|
|
36024
|
+
* @param {Array<WebitelContactsInputTimezone>} input Array of the unique User(s) to associate with the Contact. Any duplicate of an already linked user{id} will result in an error.
|
|
36025
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
36026
|
+
* @param {*} [options] Override http request option.
|
|
36027
|
+
* @throws {RequiredError}
|
|
36028
|
+
*/
|
|
36029
|
+
mergeTimezones(contactId, input, fields, options) {
|
|
36030
|
+
return TimezonesApiFp(configuration)
|
|
36031
|
+
.mergeTimezones(contactId, input, fields, options)
|
|
36032
|
+
.then((request) => request(axios, basePath));
|
|
36033
|
+
},
|
|
36034
|
+
/**
|
|
36035
|
+
*
|
|
36036
|
+
* @summary Resets all timezones of the contact according to the input dataset.
|
|
36037
|
+
* @param {string} contactId Link contact ID.
|
|
36038
|
+
* @param {Array<WebitelContactsInputTimezone>} input Final set of timezone(s) to be linked with the contact. Timezone(s) that are already linked with the contact but not given in here will be removed.
|
|
36039
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
36040
|
+
* @param {*} [options] Override http request option.
|
|
36041
|
+
* @throws {RequiredError}
|
|
36042
|
+
*/
|
|
36043
|
+
resetTimezones(contactId, input, fields, options) {
|
|
36044
|
+
return TimezonesApiFp(configuration)
|
|
36045
|
+
.resetTimezones(contactId, input, fields, options)
|
|
36046
|
+
.then((request) => request(axios, basePath));
|
|
36047
|
+
},
|
|
36048
|
+
/**
|
|
36049
|
+
*
|
|
36050
|
+
* @summary Update the Contact\'s timezone details.
|
|
36051
|
+
* @param {string} contactId Link contact ID.
|
|
36052
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
36053
|
+
* @param {NEWUpdateOfTheTimezoneLink} input
|
|
36054
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
36055
|
+
* @param {*} [options] Override http request option.
|
|
36056
|
+
* @throws {RequiredError}
|
|
36057
|
+
*/
|
|
36058
|
+
updateTimezone(contactId, etag, input, fields, options) {
|
|
36059
|
+
return TimezonesApiFp(configuration)
|
|
36060
|
+
.updateTimezone(contactId, etag, input, fields, options)
|
|
36061
|
+
.then((request) => request(axios, basePath));
|
|
36062
|
+
},
|
|
36063
|
+
/**
|
|
36064
|
+
*
|
|
36065
|
+
* @summary Update the Contact\'s timezone details.
|
|
36066
|
+
* @param {string} contactId Link contact ID.
|
|
36067
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
36068
|
+
* @param {NEWUpdateOfTheTimezoneLink1} input
|
|
36069
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
36070
|
+
* @param {*} [options] Override http request option.
|
|
36071
|
+
* @throws {RequiredError}
|
|
36072
|
+
*/
|
|
36073
|
+
updateTimezone2(contactId, etag, input, fields, options) {
|
|
36074
|
+
return TimezonesApiFp(configuration)
|
|
36075
|
+
.updateTimezone2(contactId, etag, input, fields, options)
|
|
36076
|
+
.then((request) => request(axios, basePath));
|
|
36077
|
+
},
|
|
36078
|
+
};
|
|
36079
|
+
};
|
|
36080
|
+
/**
|
|
36081
|
+
* TimezonesApi - object-oriented interface
|
|
36082
|
+
* @export
|
|
36083
|
+
* @class TimezonesApi
|
|
36084
|
+
* @extends {BaseAPI}
|
|
36085
|
+
*/
|
|
36086
|
+
class TimezonesApi extends BaseAPI {
|
|
36087
|
+
/**
|
|
36088
|
+
*
|
|
36089
|
+
* @summary Remove the Contact\'s timezone association.
|
|
36090
|
+
* @param {string} contactId Contact ID associated with.
|
|
36091
|
+
* @param {string} etag Unique ID to remove.
|
|
36092
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
36093
|
+
* @param {*} [options] Override http request option.
|
|
36094
|
+
* @throws {RequiredError}
|
|
36095
|
+
* @memberof TimezonesApi
|
|
36096
|
+
*/
|
|
36097
|
+
deleteTimezone(contactId, etag, fields, options) {
|
|
36098
|
+
return TimezonesApiFp(this.configuration)
|
|
36099
|
+
.deleteTimezone(contactId, etag, fields, options)
|
|
36100
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36101
|
+
}
|
|
36102
|
+
/**
|
|
36103
|
+
*
|
|
36104
|
+
* @summary Remove the Contact\'s timezone(s).
|
|
36105
|
+
* @param {string} contactId Contact ID associated with.
|
|
36106
|
+
* @param {Array<string>} etag Set of unique ID(s) to remove.
|
|
36107
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
36108
|
+
* @param {*} [options] Override http request option.
|
|
36109
|
+
* @throws {RequiredError}
|
|
36110
|
+
* @memberof TimezonesApi
|
|
36111
|
+
*/
|
|
36112
|
+
deleteTimezones(contactId, etag, fields, options) {
|
|
36113
|
+
return TimezonesApiFp(this.configuration)
|
|
36114
|
+
.deleteTimezones(contactId, etag, fields, options)
|
|
36115
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36116
|
+
}
|
|
36117
|
+
/**
|
|
36118
|
+
*
|
|
36119
|
+
* @summary List of the Contact\'s timezone(s).
|
|
36120
|
+
* @param {string} contactId Contact ID associated with.
|
|
36121
|
+
* @param {number} [page] Page number of result dataset records. offset = (page*size)
|
|
36122
|
+
* @param {number} [size] Size count of records on result page. limit = (size++)
|
|
36123
|
+
* @param {string} [q] Search term: location name; `?` - matches any one character `*` - matches 0 or more characters
|
|
36124
|
+
* @param {Array<string>} [sort] Sort the result according to fields.
|
|
36125
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
36126
|
+
* @param {Array<string>} [id] Record(s) with unique ID only.
|
|
36127
|
+
* @param {boolean} [primary] Primary timezone only.
|
|
36128
|
+
* @param {*} [options] Override http request option.
|
|
36129
|
+
* @throws {RequiredError}
|
|
36130
|
+
* @memberof TimezonesApi
|
|
36131
|
+
*/
|
|
36132
|
+
listTimezones(contactId, page, size, q, sort, fields, id, primary, options) {
|
|
36133
|
+
return TimezonesApiFp(this.configuration)
|
|
36134
|
+
.listTimezones(contactId, page, size, q, sort, fields, id, primary, options)
|
|
36135
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36136
|
+
}
|
|
36137
|
+
/**
|
|
36138
|
+
*
|
|
36139
|
+
* @summary Locate the Contact\'s timezone association.
|
|
36140
|
+
* @param {string} contactId Contact source ID.
|
|
36141
|
+
* @param {string} etag Unique timezone link IDentifier. Accept: `etag` (obsolete+) or `id`.
|
|
36142
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result.
|
|
36143
|
+
* @param {*} [options] Override http request option.
|
|
36144
|
+
* @throws {RequiredError}
|
|
36145
|
+
* @memberof TimezonesApi
|
|
36146
|
+
*/
|
|
36147
|
+
locateTimezone(contactId, etag, fields, options) {
|
|
36148
|
+
return TimezonesApiFp(this.configuration)
|
|
36149
|
+
.locateTimezone(contactId, etag, fields, options)
|
|
36150
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36151
|
+
}
|
|
36152
|
+
/**
|
|
36153
|
+
*
|
|
36154
|
+
* @summary Associate more timezone(s) with the Contact.
|
|
36155
|
+
* @param {string} contactId Link contact ID.
|
|
36156
|
+
* @param {Array<WebitelContactsInputTimezone>} input Array of the unique User(s) to associate with the Contact. Any duplicate of an already linked user{id} will result in an error.
|
|
36157
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
36158
|
+
* @param {*} [options] Override http request option.
|
|
36159
|
+
* @throws {RequiredError}
|
|
36160
|
+
* @memberof TimezonesApi
|
|
36161
|
+
*/
|
|
36162
|
+
mergeTimezones(contactId, input, fields, options) {
|
|
36163
|
+
return TimezonesApiFp(this.configuration)
|
|
36164
|
+
.mergeTimezones(contactId, input, fields, options)
|
|
36165
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36166
|
+
}
|
|
36167
|
+
/**
|
|
36168
|
+
*
|
|
36169
|
+
* @summary Resets all timezones of the contact according to the input dataset.
|
|
36170
|
+
* @param {string} contactId Link contact ID.
|
|
36171
|
+
* @param {Array<WebitelContactsInputTimezone>} input Final set of timezone(s) to be linked with the contact. Timezone(s) that are already linked with the contact but not given in here will be removed.
|
|
36172
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
36173
|
+
* @param {*} [options] Override http request option.
|
|
36174
|
+
* @throws {RequiredError}
|
|
36175
|
+
* @memberof TimezonesApi
|
|
36176
|
+
*/
|
|
36177
|
+
resetTimezones(contactId, input, fields, options) {
|
|
36178
|
+
return TimezonesApiFp(this.configuration)
|
|
36179
|
+
.resetTimezones(contactId, input, fields, options)
|
|
36180
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36181
|
+
}
|
|
36182
|
+
/**
|
|
36183
|
+
*
|
|
36184
|
+
* @summary Update the Contact\'s timezone details.
|
|
36185
|
+
* @param {string} contactId Link contact ID.
|
|
36186
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
36187
|
+
* @param {NEWUpdateOfTheTimezoneLink} input
|
|
36188
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
36189
|
+
* @param {*} [options] Override http request option.
|
|
36190
|
+
* @throws {RequiredError}
|
|
36191
|
+
* @memberof TimezonesApi
|
|
36192
|
+
*/
|
|
36193
|
+
updateTimezone(contactId, etag, input, fields, options) {
|
|
36194
|
+
return TimezonesApiFp(this.configuration)
|
|
36195
|
+
.updateTimezone(contactId, etag, input, fields, options)
|
|
36196
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36197
|
+
}
|
|
36198
|
+
/**
|
|
36199
|
+
*
|
|
36200
|
+
* @summary Update the Contact\'s timezone details.
|
|
36201
|
+
* @param {string} contactId Link contact ID.
|
|
36202
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
36203
|
+
* @param {NEWUpdateOfTheTimezoneLink1} input
|
|
36204
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
36205
|
+
* @param {*} [options] Override http request option.
|
|
36206
|
+
* @throws {RequiredError}
|
|
36207
|
+
* @memberof TimezonesApi
|
|
36208
|
+
*/
|
|
36209
|
+
updateTimezone2(contactId, etag, input, fields, options) {
|
|
36210
|
+
return TimezonesApiFp(this.configuration)
|
|
36211
|
+
.updateTimezone2(contactId, etag, input, fields, options)
|
|
36212
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36213
|
+
}
|
|
36214
|
+
}
|
|
36215
|
+
|
|
35241
36216
|
// tslint:disable
|
|
35242
36217
|
/**
|
|
35243
36218
|
* TriggerServiceApi - axios parameter creator
|
|
@@ -41144,6 +42119,32 @@ var LoggerAvailableSystemObjects;
|
|
|
41144
42119
|
* Do not edit the class manually.
|
|
41145
42120
|
*/
|
|
41146
42121
|
|
|
42122
|
+
// tslint:disable
|
|
42123
|
+
/**
|
|
42124
|
+
* Webitel API
|
|
42125
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
42126
|
+
*
|
|
42127
|
+
* The version of the OpenAPI document: 23.07.0
|
|
42128
|
+
* Contact: support@webitel.com
|
|
42129
|
+
*
|
|
42130
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
42131
|
+
* https://openapi-generator.tech
|
|
42132
|
+
* Do not edit the class manually.
|
|
42133
|
+
*/
|
|
42134
|
+
|
|
42135
|
+
// tslint:disable
|
|
42136
|
+
/**
|
|
42137
|
+
* Webitel API
|
|
42138
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
42139
|
+
*
|
|
42140
|
+
* The version of the OpenAPI document: 23.07.0
|
|
42141
|
+
* Contact: support@webitel.com
|
|
42142
|
+
*
|
|
42143
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
42144
|
+
* https://openapi-generator.tech
|
|
42145
|
+
* Do not edit the class manually.
|
|
42146
|
+
*/
|
|
42147
|
+
|
|
41147
42148
|
// tslint:disable
|
|
41148
42149
|
/**
|
|
41149
42150
|
* Webitel API
|
|
@@ -43796,12 +44797,15 @@ class Call {
|
|
|
43796
44797
|
if (this.autoAnswered) {
|
|
43797
44798
|
return;
|
|
43798
44799
|
}
|
|
43799
|
-
this.
|
|
44800
|
+
if (this._autoAnswerTimerId) {
|
|
44801
|
+
clearTimeout(this._autoAnswerTimerId);
|
|
44802
|
+
}
|
|
43800
44803
|
this._autoAnswerTimerId = setTimeout(async () => {
|
|
43801
44804
|
if (this.autoAnswered) {
|
|
43802
44805
|
return;
|
|
43803
44806
|
}
|
|
43804
|
-
this.autoAnswered =
|
|
44807
|
+
this.autoAnswered = true;
|
|
44808
|
+
await this.answer(req);
|
|
43805
44809
|
}, this.autoAnswerDelay);
|
|
43806
44810
|
}
|
|
43807
44811
|
async hangup(cause) {
|
|
@@ -45612,5 +46616,5 @@ class ExternalClient extends ee_3 {
|
|
|
45612
46616
|
|
|
45613
46617
|
// tslint:disable
|
|
45614
46618
|
|
|
45615
|
-
export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, AuditFormServiceApiAxiosParamCreator, AuditFormServiceApiFp, AuditFormServiceApiFactory, AuditFormServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, CatalogApiAxiosParamCreator, CatalogApiFp, CatalogApiFactory, CatalogApi, ChatHelperServiceApiAxiosParamCreator, ChatHelperServiceApiFp, ChatHelperServiceApiFactory, ChatHelperServiceApi, CognitiveProfileServiceApiAxiosParamCreator, CognitiveProfileServiceApiFp, CognitiveProfileServiceApiFactory, CognitiveProfileServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, ConfigServiceApiAxiosParamCreator, ConfigServiceApiFp, ConfigServiceApiFactory, ConfigServiceApi, ContactsApiAxiosParamCreator, ContactsApiFp, ContactsApiFactory, ContactsApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, EmailsApiAxiosParamCreator, EmailsApiFp, EmailsApiFactory, EmailsApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, LabelsApiAxiosParamCreator, LabelsApiFp, LabelsApiFactory, LabelsApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, LoggerServiceApiAxiosParamCreator, LoggerServiceApiFp, LoggerServiceApiFactory, LoggerServiceApi, ManagersApiAxiosParamCreator, ManagersApiFp, ManagersApiFactory, ManagersApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, PhonesApiAxiosParamCreator, PhonesApiFp, PhonesApiFactory, PhonesApi, PresetQueryServiceApiAxiosParamCreator, PresetQueryServiceApiFp, PresetQueryServiceApiFactory, PresetQueryServiceApi, QueueBucketServiceApiAxiosParamCreator, QueueBucketServiceApiFp, QueueBucketServiceApiFactory, QueueBucketServiceApi, QueueHookServiceApiAxiosParamCreator, QueueHookServiceApiFp, QueueHookServiceApiFactory, QueueHookServiceApi, QueueResourcesServiceApiAxiosParamCreator, QueueResourcesServiceApiFp, QueueResourcesServiceApiFactory, QueueResourcesServiceApi, QueueServiceApiAxiosParamCreator, QueueServiceApiFp, QueueServiceApiFactory, QueueServiceApi, QueueSkillServiceApiAxiosParamCreator, QueueSkillServiceApiFp, QueueSkillServiceApiFactory, QueueSkillServiceApi, RegionServiceApiAxiosParamCreator, RegionServiceApiFp, RegionServiceApiFactory, RegionServiceApi, RoutingChatPlanServiceApiAxiosParamCreator, RoutingChatPlanServiceApiFp, RoutingChatPlanServiceApiFactory, RoutingChatPlanServiceApi, RoutingOutboundCallServiceApiAxiosParamCreator, RoutingOutboundCallServiceApiFp, RoutingOutboundCallServiceApiFactory, RoutingOutboundCallServiceApi, RoutingSchemaServiceApiAxiosParamCreator, RoutingSchemaServiceApiFp, RoutingSchemaServiceApiFactory, RoutingSchemaServiceApi, RoutingVariableServiceApiAxiosParamCreator, RoutingVariableServiceApiFp, RoutingVariableServiceApiFactory, RoutingVariableServiceApi, SkillServiceApiAxiosParamCreator, SkillServiceApiFp, SkillServiceApiFactory, SkillServiceApi, SystemSettingServiceApiAxiosParamCreator, SystemSettingServiceApiFp, SystemSettingServiceApiFactory, SystemSettingServiceApi, TriggerServiceApiAxiosParamCreator, TriggerServiceApiFp, TriggerServiceApiFactory, TriggerServiceApi, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, VariablesApiAxiosParamCreator, VariablesApiFp, VariablesApiFactory, VariablesApi, Configuration, EngineAuditQuestionType, EngineBoolFilter, EngineCommunicationChannels, EnginePresetQuerySection, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, GoogleProtobufNullValue, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState, LoggerAction, LoggerAvailableSystemObjects, ProtobufNullValue, StorageImportSourceType, StorageProviderType, StorageServiceType, StorageUploadStatusCode, WebitelContactsAccessMode, JobState, Response, Client, CallReportingStatus, EavesdropState, EavesdropType, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, DeclineCause, ChatActions, ConversationState, Conversation, TypeErrors, DeviceNotFoundError, DeviceNotAllowPermissionError, RolePermissionError, LicencePermissionError, PauseNotAllowedError, SipClient, ExternalClient, SipPhone, Log };
|
|
46619
|
+
export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, AuditFormServiceApiAxiosParamCreator, AuditFormServiceApiFp, AuditFormServiceApiFactory, AuditFormServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, CatalogApiAxiosParamCreator, CatalogApiFp, CatalogApiFactory, CatalogApi, ChatHelperServiceApiAxiosParamCreator, ChatHelperServiceApiFp, ChatHelperServiceApiFactory, ChatHelperServiceApi, CognitiveProfileServiceApiAxiosParamCreator, CognitiveProfileServiceApiFp, CognitiveProfileServiceApiFactory, CognitiveProfileServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, ConfigServiceApiAxiosParamCreator, ConfigServiceApiFp, ConfigServiceApiFactory, ConfigServiceApi, ContactsApiAxiosParamCreator, ContactsApiFp, ContactsApiFactory, ContactsApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, EmailsApiAxiosParamCreator, EmailsApiFp, EmailsApiFactory, EmailsApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, LabelsApiAxiosParamCreator, LabelsApiFp, LabelsApiFactory, LabelsApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, LoggerServiceApiAxiosParamCreator, LoggerServiceApiFp, LoggerServiceApiFactory, LoggerServiceApi, ManagersApiAxiosParamCreator, ManagersApiFp, ManagersApiFactory, ManagersApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, PhonesApiAxiosParamCreator, PhonesApiFp, PhonesApiFactory, PhonesApi, PresetQueryServiceApiAxiosParamCreator, PresetQueryServiceApiFp, PresetQueryServiceApiFactory, PresetQueryServiceApi, QueueBucketServiceApiAxiosParamCreator, QueueBucketServiceApiFp, QueueBucketServiceApiFactory, QueueBucketServiceApi, QueueHookServiceApiAxiosParamCreator, QueueHookServiceApiFp, QueueHookServiceApiFactory, QueueHookServiceApi, QueueResourcesServiceApiAxiosParamCreator, QueueResourcesServiceApiFp, QueueResourcesServiceApiFactory, QueueResourcesServiceApi, QueueServiceApiAxiosParamCreator, QueueServiceApiFp, QueueServiceApiFactory, QueueServiceApi, QueueSkillServiceApiAxiosParamCreator, QueueSkillServiceApiFp, QueueSkillServiceApiFactory, QueueSkillServiceApi, RegionServiceApiAxiosParamCreator, RegionServiceApiFp, RegionServiceApiFactory, RegionServiceApi, RoutingChatPlanServiceApiAxiosParamCreator, RoutingChatPlanServiceApiFp, RoutingChatPlanServiceApiFactory, RoutingChatPlanServiceApi, RoutingOutboundCallServiceApiAxiosParamCreator, RoutingOutboundCallServiceApiFp, RoutingOutboundCallServiceApiFactory, RoutingOutboundCallServiceApi, RoutingSchemaServiceApiAxiosParamCreator, RoutingSchemaServiceApiFp, RoutingSchemaServiceApiFactory, RoutingSchemaServiceApi, RoutingVariableServiceApiAxiosParamCreator, RoutingVariableServiceApiFp, RoutingVariableServiceApiFactory, RoutingVariableServiceApi, SkillServiceApiAxiosParamCreator, SkillServiceApiFp, SkillServiceApiFactory, SkillServiceApi, SystemSettingServiceApiAxiosParamCreator, SystemSettingServiceApiFp, SystemSettingServiceApiFactory, SystemSettingServiceApi, TimezonesApiAxiosParamCreator, TimezonesApiFp, TimezonesApiFactory, TimezonesApi, TriggerServiceApiAxiosParamCreator, TriggerServiceApiFp, TriggerServiceApiFactory, TriggerServiceApi, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, VariablesApiAxiosParamCreator, VariablesApiFp, VariablesApiFactory, VariablesApi, Configuration, EngineAuditQuestionType, EngineBoolFilter, EngineCommunicationChannels, EnginePresetQuerySection, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, GoogleProtobufNullValue, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState, LoggerAction, LoggerAvailableSystemObjects, ProtobufNullValue, StorageImportSourceType, StorageProviderType, StorageServiceType, StorageUploadStatusCode, WebitelContactsAccessMode, JobState, Response, Client, CallReportingStatus, EavesdropState, EavesdropType, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, DeclineCause, ChatActions, ConversationState, Conversation, TypeErrors, DeviceNotFoundError, DeviceNotAllowPermissionError, RolePermissionError, LicencePermissionError, PauseNotAllowedError, SipClient, ExternalClient, SipPhone, Log };
|
|
45616
46620
|
//# sourceMappingURL=index.esm.js.map
|