webitel-sdk 0.1.109 → 0.1.112

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.
Files changed (92) hide show
  1. package/bundles/index.esm.js +770 -1
  2. package/bundles/index.esm.js.map +1 -1
  3. package/bundles/index.esm.min.js +1 -1
  4. package/bundles/index.esm.min.js.map +1 -1
  5. package/bundles/index.umd.js +880 -0
  6. package/bundles/index.umd.js.map +1 -1
  7. package/bundles/index.umd.min.js +1 -1
  8. package/bundles/index.umd.min.js.map +1 -1
  9. package/esm2015/api/cognitive-profile-service-api.js +657 -0
  10. package/esm2015/api/cognitive-profile-service-api.js.map +1 -0
  11. package/esm2015/api/file-service-api.js +144 -0
  12. package/esm2015/api/file-service-api.js.map +1 -0
  13. package/esm2015/api/index.js.map +1 -1
  14. package/esm2015/api/protobuf-any.js +13 -0
  15. package/esm2015/api/protobuf-any.js.map +1 -0
  16. package/esm2015/api/runtime-error.js +13 -0
  17. package/esm2015/api/runtime-error.js.map +1 -0
  18. package/esm2015/api/storage-cognitive-profile.js +13 -0
  19. package/esm2015/api/storage-cognitive-profile.js.map +1 -0
  20. package/esm2015/api/storage-create-cognitive-profile-request.js +13 -0
  21. package/esm2015/api/storage-create-cognitive-profile-request.js.map +1 -0
  22. package/esm2015/api/storage-delete-files-request.js +13 -0
  23. package/esm2015/api/storage-delete-files-request.js.map +1 -0
  24. package/esm2015/api/storage-list-cognitive-profile.js +13 -0
  25. package/esm2015/api/storage-list-cognitive-profile.js.map +1 -0
  26. package/esm2015/api/storage-patch-cognitive-profile-request.js +13 -0
  27. package/esm2015/api/storage-patch-cognitive-profile-request.js.map +1 -0
  28. package/esm2015/api/storage-update-cognitive-profile-request.js +13 -0
  29. package/esm2015/api/storage-update-cognitive-profile-request.js.map +1 -0
  30. package/esm2015/api.js +2 -0
  31. package/esm2015/api.js.map +1 -1
  32. package/esm5/api/cognitive-profile-service-api.js +743 -0
  33. package/esm5/api/cognitive-profile-service-api.js.map +1 -0
  34. package/esm5/api/file-service-api.js +165 -0
  35. package/esm5/api/file-service-api.js.map +1 -0
  36. package/esm5/api/index.js.map +1 -1
  37. package/esm5/api/protobuf-any.js +13 -0
  38. package/esm5/api/protobuf-any.js.map +1 -0
  39. package/esm5/api/runtime-error.js +13 -0
  40. package/esm5/api/runtime-error.js.map +1 -0
  41. package/esm5/api/storage-cognitive-profile.js +13 -0
  42. package/esm5/api/storage-cognitive-profile.js.map +1 -0
  43. package/esm5/api/storage-create-cognitive-profile-request.js +13 -0
  44. package/esm5/api/storage-create-cognitive-profile-request.js.map +1 -0
  45. package/esm5/api/storage-delete-files-request.js +13 -0
  46. package/esm5/api/storage-delete-files-request.js.map +1 -0
  47. package/esm5/api/storage-list-cognitive-profile.js +13 -0
  48. package/esm5/api/storage-list-cognitive-profile.js.map +1 -0
  49. package/esm5/api/storage-patch-cognitive-profile-request.js +13 -0
  50. package/esm5/api/storage-patch-cognitive-profile-request.js.map +1 -0
  51. package/esm5/api/storage-update-cognitive-profile-request.js +13 -0
  52. package/esm5/api/storage-update-cognitive-profile-request.js.map +1 -0
  53. package/esm5/api.js +2 -0
  54. package/esm5/api.js.map +1 -1
  55. package/package.json +1 -1
  56. package/types/api/cognitive-profile-service-api.d.ts +254 -0
  57. package/types/api/cognitive-profile-service-api.d.ts.map +1 -0
  58. package/types/api/engine-active-call.d.ts +6 -0
  59. package/types/api/engine-active-call.d.ts.map +1 -1
  60. package/types/api/engine-create-queue-request.d.ts +6 -0
  61. package/types/api/engine-create-queue-request.d.ts.map +1 -1
  62. package/types/api/engine-history-call.d.ts +6 -0
  63. package/types/api/engine-history-call.d.ts.map +1 -1
  64. package/types/api/engine-patch-queue-request.d.ts +6 -0
  65. package/types/api/engine-patch-queue-request.d.ts.map +1 -1
  66. package/types/api/engine-queue.d.ts +6 -0
  67. package/types/api/engine-queue.d.ts.map +1 -1
  68. package/types/api/engine-update-queue-request.d.ts +6 -0
  69. package/types/api/engine-update-queue-request.d.ts.map +1 -1
  70. package/types/api/file-service-api.d.ts +71 -0
  71. package/types/api/file-service-api.d.ts.map +1 -0
  72. package/types/api/index.d.ts +6 -0
  73. package/types/api/index.d.ts.map +1 -1
  74. package/types/api/protobuf-any.d.ts +31 -0
  75. package/types/api/protobuf-any.d.ts.map +1 -0
  76. package/types/api/runtime-error.d.ts +44 -0
  77. package/types/api/runtime-error.d.ts.map +1 -0
  78. package/types/api/storage-cognitive-profile.d.ts +94 -0
  79. package/types/api/storage-cognitive-profile.d.ts.map +1 -0
  80. package/types/api/storage-create-cognitive-profile-request.d.ts +63 -0
  81. package/types/api/storage-create-cognitive-profile-request.d.ts.map +1 -0
  82. package/types/api/storage-delete-files-request.d.ts +25 -0
  83. package/types/api/storage-delete-files-request.d.ts.map +1 -0
  84. package/types/api/storage-list-cognitive-profile.d.ts +32 -0
  85. package/types/api/storage-list-cognitive-profile.d.ts.map +1 -0
  86. package/types/api/storage-patch-cognitive-profile-request.d.ts +75 -0
  87. package/types/api/storage-patch-cognitive-profile-request.d.ts.map +1 -0
  88. package/types/api/storage-update-cognitive-profile-request.d.ts +69 -0
  89. package/types/api/storage-update-cognitive-profile-request.d.ts.map +1 -0
  90. package/types/api.d.ts +2 -0
  91. package/types/api.d.ts.map +1 -1
  92. package/types/socket/form.d.ts +1 -1
@@ -8138,6 +8138,647 @@ class CallServiceApi extends BaseAPI {
8138
8138
  }
8139
8139
  }
8140
8140
 
8141
+ // tslint:disable
8142
+ /**
8143
+ * CognitiveProfileServiceApi - axios parameter creator
8144
+ * @export
8145
+ */
8146
+ const CognitiveProfileServiceApiAxiosParamCreator = function (configuration) {
8147
+ return {
8148
+ /**
8149
+ *
8150
+ * @param {StorageCreateCognitiveProfileRequest} body
8151
+ * @param {*} [options] Override http request option.
8152
+ * @throws {RequiredError}
8153
+ */
8154
+ createCognitiveProfile: async (body, options = {}) => {
8155
+ // verify required parameter 'body' is not null or undefined
8156
+ if (body === null || body === undefined) {
8157
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling createCognitiveProfile.');
8158
+ }
8159
+ const localVarPath = `/storage/cognitive_profiles`;
8160
+ const localVarUrlObj = parse(localVarPath, true);
8161
+ let baseOptions;
8162
+ if (configuration) {
8163
+ baseOptions = configuration.baseOptions;
8164
+ }
8165
+ const localVarRequestOptions = {
8166
+ method: 'POST',
8167
+ ...baseOptions,
8168
+ ...options,
8169
+ };
8170
+ const localVarHeaderParameter = {};
8171
+ const localVarQueryParameter = {};
8172
+ // authentication AccessToken required
8173
+ if (configuration && configuration.apiKey) {
8174
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
8175
+ ? await configuration.apiKey('X-Webitel-Access')
8176
+ : await configuration.apiKey;
8177
+ localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
8178
+ }
8179
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8180
+ localVarUrlObj.query = {
8181
+ ...localVarUrlObj.query,
8182
+ ...localVarQueryParameter,
8183
+ ...options.query,
8184
+ };
8185
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
8186
+ delete localVarUrlObj.search;
8187
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8188
+ localVarRequestOptions.headers = {
8189
+ ...localVarHeaderParameter,
8190
+ ...headersFromBaseOptions,
8191
+ ...options.headers,
8192
+ };
8193
+ const needsSerialization = typeof body !== 'string' ||
8194
+ localVarRequestOptions.headers['Content-Type'] === 'application/json';
8195
+ localVarRequestOptions.data = needsSerialization
8196
+ ? JSON.stringify(body !== undefined ? body : {})
8197
+ : body || '';
8198
+ return {
8199
+ url: format(localVarUrlObj),
8200
+ options: localVarRequestOptions,
8201
+ };
8202
+ },
8203
+ /**
8204
+ *
8205
+ * @summary Remove BackendProfile
8206
+ * @param {string} id
8207
+ * @param {*} [options] Override http request option.
8208
+ * @throws {RequiredError}
8209
+ */
8210
+ deleteCognitiveProfile: async (id, options = {}) => {
8211
+ // verify required parameter 'id' is not null or undefined
8212
+ if (id === null || id === undefined) {
8213
+ throw new RequiredError('id', 'Required parameter id was null or undefined when calling deleteCognitiveProfile.');
8214
+ }
8215
+ const localVarPath = `/storage/cognitive_profiles/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
8216
+ const localVarUrlObj = parse(localVarPath, true);
8217
+ let baseOptions;
8218
+ if (configuration) {
8219
+ baseOptions = configuration.baseOptions;
8220
+ }
8221
+ const localVarRequestOptions = {
8222
+ method: 'DELETE',
8223
+ ...baseOptions,
8224
+ ...options,
8225
+ };
8226
+ const localVarHeaderParameter = {};
8227
+ const localVarQueryParameter = {};
8228
+ // authentication AccessToken required
8229
+ if (configuration && configuration.apiKey) {
8230
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
8231
+ ? await configuration.apiKey('X-Webitel-Access')
8232
+ : await configuration.apiKey;
8233
+ localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
8234
+ }
8235
+ localVarUrlObj.query = {
8236
+ ...localVarUrlObj.query,
8237
+ ...localVarQueryParameter,
8238
+ ...options.query,
8239
+ };
8240
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
8241
+ delete localVarUrlObj.search;
8242
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8243
+ localVarRequestOptions.headers = {
8244
+ ...localVarHeaderParameter,
8245
+ ...headersFromBaseOptions,
8246
+ ...options.headers,
8247
+ };
8248
+ return {
8249
+ url: format(localVarUrlObj),
8250
+ options: localVarRequestOptions,
8251
+ };
8252
+ },
8253
+ /**
8254
+ *
8255
+ * @param {string} id
8256
+ * @param {StoragePatchCognitiveProfileRequest} body
8257
+ * @param {*} [options] Override http request option.
8258
+ * @throws {RequiredError}
8259
+ */
8260
+ patchCognitiveProfile: async (id, body, options = {}) => {
8261
+ // verify required parameter 'id' is not null or undefined
8262
+ if (id === null || id === undefined) {
8263
+ throw new RequiredError('id', 'Required parameter id was null or undefined when calling patchCognitiveProfile.');
8264
+ }
8265
+ // verify required parameter 'body' is not null or undefined
8266
+ if (body === null || body === undefined) {
8267
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchCognitiveProfile.');
8268
+ }
8269
+ const localVarPath = `/storage/cognitive_profiles/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
8270
+ const localVarUrlObj = parse(localVarPath, true);
8271
+ let baseOptions;
8272
+ if (configuration) {
8273
+ baseOptions = configuration.baseOptions;
8274
+ }
8275
+ const localVarRequestOptions = {
8276
+ method: 'PATCH',
8277
+ ...baseOptions,
8278
+ ...options,
8279
+ };
8280
+ const localVarHeaderParameter = {};
8281
+ const localVarQueryParameter = {};
8282
+ // authentication AccessToken required
8283
+ if (configuration && configuration.apiKey) {
8284
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
8285
+ ? await configuration.apiKey('X-Webitel-Access')
8286
+ : await configuration.apiKey;
8287
+ localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
8288
+ }
8289
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8290
+ localVarUrlObj.query = {
8291
+ ...localVarUrlObj.query,
8292
+ ...localVarQueryParameter,
8293
+ ...options.query,
8294
+ };
8295
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
8296
+ delete localVarUrlObj.search;
8297
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8298
+ localVarRequestOptions.headers = {
8299
+ ...localVarHeaderParameter,
8300
+ ...headersFromBaseOptions,
8301
+ ...options.headers,
8302
+ };
8303
+ const needsSerialization = typeof body !== 'string' ||
8304
+ localVarRequestOptions.headers['Content-Type'] === 'application/json';
8305
+ localVarRequestOptions.data = needsSerialization
8306
+ ? JSON.stringify(body !== undefined ? body : {})
8307
+ : body || '';
8308
+ return {
8309
+ url: format(localVarUrlObj),
8310
+ options: localVarRequestOptions,
8311
+ };
8312
+ },
8313
+ /**
8314
+ *
8315
+ * @param {string} id
8316
+ * @param {*} [options] Override http request option.
8317
+ * @throws {RequiredError}
8318
+ */
8319
+ readCognitiveProfile: async (id, options = {}) => {
8320
+ // verify required parameter 'id' is not null or undefined
8321
+ if (id === null || id === undefined) {
8322
+ throw new RequiredError('id', 'Required parameter id was null or undefined when calling readCognitiveProfile.');
8323
+ }
8324
+ const localVarPath = `/storage/cognitive_profiles/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
8325
+ const localVarUrlObj = parse(localVarPath, true);
8326
+ let baseOptions;
8327
+ if (configuration) {
8328
+ baseOptions = configuration.baseOptions;
8329
+ }
8330
+ const localVarRequestOptions = {
8331
+ method: 'GET',
8332
+ ...baseOptions,
8333
+ ...options,
8334
+ };
8335
+ const localVarHeaderParameter = {};
8336
+ const localVarQueryParameter = {};
8337
+ // authentication AccessToken required
8338
+ if (configuration && configuration.apiKey) {
8339
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
8340
+ ? await configuration.apiKey('X-Webitel-Access')
8341
+ : await configuration.apiKey;
8342
+ localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
8343
+ }
8344
+ localVarUrlObj.query = {
8345
+ ...localVarUrlObj.query,
8346
+ ...localVarQueryParameter,
8347
+ ...options.query,
8348
+ };
8349
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
8350
+ delete localVarUrlObj.search;
8351
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8352
+ localVarRequestOptions.headers = {
8353
+ ...localVarHeaderParameter,
8354
+ ...headersFromBaseOptions,
8355
+ ...options.headers,
8356
+ };
8357
+ return {
8358
+ url: format(localVarUrlObj),
8359
+ options: localVarRequestOptions,
8360
+ };
8361
+ },
8362
+ /**
8363
+ *
8364
+ * @param {number} [page]
8365
+ * @param {number} [size]
8366
+ * @param {string} [q]
8367
+ * @param {string} [sort]
8368
+ * @param {Array<string>} [fields]
8369
+ * @param {Array<string>} [id]
8370
+ * @param {Array<string>} [service]
8371
+ * @param {*} [options] Override http request option.
8372
+ * @throws {RequiredError}
8373
+ */
8374
+ searchCognitiveProfile: async (page, size, q, sort, fields, id, service, options = {}) => {
8375
+ const localVarPath = `/storage/cognitive_profiles`;
8376
+ const localVarUrlObj = parse(localVarPath, true);
8377
+ let baseOptions;
8378
+ if (configuration) {
8379
+ baseOptions = configuration.baseOptions;
8380
+ }
8381
+ const localVarRequestOptions = {
8382
+ method: 'GET',
8383
+ ...baseOptions,
8384
+ ...options,
8385
+ };
8386
+ const localVarHeaderParameter = {};
8387
+ const localVarQueryParameter = {};
8388
+ // authentication AccessToken required
8389
+ if (configuration && configuration.apiKey) {
8390
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
8391
+ ? await configuration.apiKey('X-Webitel-Access')
8392
+ : await configuration.apiKey;
8393
+ localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
8394
+ }
8395
+ if (page !== undefined) {
8396
+ localVarQueryParameter['page'] = page;
8397
+ }
8398
+ if (size !== undefined) {
8399
+ localVarQueryParameter['size'] = size;
8400
+ }
8401
+ if (q !== undefined) {
8402
+ localVarQueryParameter['q'] = q;
8403
+ }
8404
+ if (sort !== undefined) {
8405
+ localVarQueryParameter['sort'] = sort;
8406
+ }
8407
+ if (fields) {
8408
+ localVarQueryParameter['fields'] = fields;
8409
+ }
8410
+ if (id) {
8411
+ localVarQueryParameter['id'] = id;
8412
+ }
8413
+ if (service) {
8414
+ localVarQueryParameter['service'] = service;
8415
+ }
8416
+ localVarUrlObj.query = {
8417
+ ...localVarUrlObj.query,
8418
+ ...localVarQueryParameter,
8419
+ ...options.query,
8420
+ };
8421
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
8422
+ delete localVarUrlObj.search;
8423
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8424
+ localVarRequestOptions.headers = {
8425
+ ...localVarHeaderParameter,
8426
+ ...headersFromBaseOptions,
8427
+ ...options.headers,
8428
+ };
8429
+ return {
8430
+ url: format(localVarUrlObj),
8431
+ options: localVarRequestOptions,
8432
+ };
8433
+ },
8434
+ /**
8435
+ *
8436
+ * @param {string} id
8437
+ * @param {StorageUpdateCognitiveProfileRequest} body
8438
+ * @param {*} [options] Override http request option.
8439
+ * @throws {RequiredError}
8440
+ */
8441
+ updateCognitiveProfile: async (id, body, options = {}) => {
8442
+ // verify required parameter 'id' is not null or undefined
8443
+ if (id === null || id === undefined) {
8444
+ throw new RequiredError('id', 'Required parameter id was null or undefined when calling updateCognitiveProfile.');
8445
+ }
8446
+ // verify required parameter 'body' is not null or undefined
8447
+ if (body === null || body === undefined) {
8448
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateCognitiveProfile.');
8449
+ }
8450
+ const localVarPath = `/storage/cognitive_profiles/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
8451
+ const localVarUrlObj = parse(localVarPath, true);
8452
+ let baseOptions;
8453
+ if (configuration) {
8454
+ baseOptions = configuration.baseOptions;
8455
+ }
8456
+ const localVarRequestOptions = {
8457
+ method: 'PUT',
8458
+ ...baseOptions,
8459
+ ...options,
8460
+ };
8461
+ const localVarHeaderParameter = {};
8462
+ const localVarQueryParameter = {};
8463
+ // authentication AccessToken required
8464
+ if (configuration && configuration.apiKey) {
8465
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
8466
+ ? await configuration.apiKey('X-Webitel-Access')
8467
+ : await configuration.apiKey;
8468
+ localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
8469
+ }
8470
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8471
+ localVarUrlObj.query = {
8472
+ ...localVarUrlObj.query,
8473
+ ...localVarQueryParameter,
8474
+ ...options.query,
8475
+ };
8476
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
8477
+ delete localVarUrlObj.search;
8478
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8479
+ localVarRequestOptions.headers = {
8480
+ ...localVarHeaderParameter,
8481
+ ...headersFromBaseOptions,
8482
+ ...options.headers,
8483
+ };
8484
+ const needsSerialization = typeof body !== 'string' ||
8485
+ localVarRequestOptions.headers['Content-Type'] === 'application/json';
8486
+ localVarRequestOptions.data = needsSerialization
8487
+ ? JSON.stringify(body !== undefined ? body : {})
8488
+ : body || '';
8489
+ return {
8490
+ url: format(localVarUrlObj),
8491
+ options: localVarRequestOptions,
8492
+ };
8493
+ },
8494
+ };
8495
+ };
8496
+ /**
8497
+ * CognitiveProfileServiceApi - functional programming interface
8498
+ * @export
8499
+ */
8500
+ const CognitiveProfileServiceApiFp = function (configuration) {
8501
+ return {
8502
+ /**
8503
+ *
8504
+ * @param {StorageCreateCognitiveProfileRequest} body
8505
+ * @param {*} [options] Override http request option.
8506
+ * @throws {RequiredError}
8507
+ */
8508
+ async createCognitiveProfile(body, options) {
8509
+ const localVarAxiosArgs = await CognitiveProfileServiceApiAxiosParamCreator(configuration).createCognitiveProfile(body, options);
8510
+ return (axios = globalAxios, basePath = BASE_PATH) => {
8511
+ const axiosRequestArgs = {
8512
+ ...localVarAxiosArgs.options,
8513
+ url: basePath + localVarAxiosArgs.url,
8514
+ };
8515
+ return axios.request(axiosRequestArgs);
8516
+ };
8517
+ },
8518
+ /**
8519
+ *
8520
+ * @summary Remove BackendProfile
8521
+ * @param {string} id
8522
+ * @param {*} [options] Override http request option.
8523
+ * @throws {RequiredError}
8524
+ */
8525
+ async deleteCognitiveProfile(id, options) {
8526
+ const localVarAxiosArgs = await CognitiveProfileServiceApiAxiosParamCreator(configuration).deleteCognitiveProfile(id, options);
8527
+ return (axios = globalAxios, basePath = BASE_PATH) => {
8528
+ const axiosRequestArgs = {
8529
+ ...localVarAxiosArgs.options,
8530
+ url: basePath + localVarAxiosArgs.url,
8531
+ };
8532
+ return axios.request(axiosRequestArgs);
8533
+ };
8534
+ },
8535
+ /**
8536
+ *
8537
+ * @param {string} id
8538
+ * @param {StoragePatchCognitiveProfileRequest} body
8539
+ * @param {*} [options] Override http request option.
8540
+ * @throws {RequiredError}
8541
+ */
8542
+ async patchCognitiveProfile(id, body, options) {
8543
+ const localVarAxiosArgs = await CognitiveProfileServiceApiAxiosParamCreator(configuration).patchCognitiveProfile(id, body, options);
8544
+ return (axios = globalAxios, basePath = BASE_PATH) => {
8545
+ const axiosRequestArgs = {
8546
+ ...localVarAxiosArgs.options,
8547
+ url: basePath + localVarAxiosArgs.url,
8548
+ };
8549
+ return axios.request(axiosRequestArgs);
8550
+ };
8551
+ },
8552
+ /**
8553
+ *
8554
+ * @param {string} id
8555
+ * @param {*} [options] Override http request option.
8556
+ * @throws {RequiredError}
8557
+ */
8558
+ async readCognitiveProfile(id, options) {
8559
+ const localVarAxiosArgs = await CognitiveProfileServiceApiAxiosParamCreator(configuration).readCognitiveProfile(id, options);
8560
+ return (axios = globalAxios, basePath = BASE_PATH) => {
8561
+ const axiosRequestArgs = {
8562
+ ...localVarAxiosArgs.options,
8563
+ url: basePath + localVarAxiosArgs.url,
8564
+ };
8565
+ return axios.request(axiosRequestArgs);
8566
+ };
8567
+ },
8568
+ /**
8569
+ *
8570
+ * @param {number} [page]
8571
+ * @param {number} [size]
8572
+ * @param {string} [q]
8573
+ * @param {string} [sort]
8574
+ * @param {Array<string>} [fields]
8575
+ * @param {Array<string>} [id]
8576
+ * @param {Array<string>} [service]
8577
+ * @param {*} [options] Override http request option.
8578
+ * @throws {RequiredError}
8579
+ */
8580
+ async searchCognitiveProfile(page, size, q, sort, fields, id, service, options) {
8581
+ const localVarAxiosArgs = await CognitiveProfileServiceApiAxiosParamCreator(configuration).searchCognitiveProfile(page, size, q, sort, fields, id, service, options);
8582
+ return (axios = globalAxios, basePath = BASE_PATH) => {
8583
+ const axiosRequestArgs = {
8584
+ ...localVarAxiosArgs.options,
8585
+ url: basePath + localVarAxiosArgs.url,
8586
+ };
8587
+ return axios.request(axiosRequestArgs);
8588
+ };
8589
+ },
8590
+ /**
8591
+ *
8592
+ * @param {string} id
8593
+ * @param {StorageUpdateCognitiveProfileRequest} body
8594
+ * @param {*} [options] Override http request option.
8595
+ * @throws {RequiredError}
8596
+ */
8597
+ async updateCognitiveProfile(id, body, options) {
8598
+ const localVarAxiosArgs = await CognitiveProfileServiceApiAxiosParamCreator(configuration).updateCognitiveProfile(id, body, options);
8599
+ return (axios = globalAxios, basePath = BASE_PATH) => {
8600
+ const axiosRequestArgs = {
8601
+ ...localVarAxiosArgs.options,
8602
+ url: basePath + localVarAxiosArgs.url,
8603
+ };
8604
+ return axios.request(axiosRequestArgs);
8605
+ };
8606
+ },
8607
+ };
8608
+ };
8609
+ /**
8610
+ * CognitiveProfileServiceApi - factory interface
8611
+ * @export
8612
+ */
8613
+ const CognitiveProfileServiceApiFactory = function (configuration, basePath, axios) {
8614
+ return {
8615
+ /**
8616
+ *
8617
+ * @param {StorageCreateCognitiveProfileRequest} body
8618
+ * @param {*} [options] Override http request option.
8619
+ * @throws {RequiredError}
8620
+ */
8621
+ createCognitiveProfile(body, options) {
8622
+ return CognitiveProfileServiceApiFp(configuration)
8623
+ .createCognitiveProfile(body, options)
8624
+ .then((request) => request(axios, basePath));
8625
+ },
8626
+ /**
8627
+ *
8628
+ * @summary Remove BackendProfile
8629
+ * @param {string} id
8630
+ * @param {*} [options] Override http request option.
8631
+ * @throws {RequiredError}
8632
+ */
8633
+ deleteCognitiveProfile(id, options) {
8634
+ return CognitiveProfileServiceApiFp(configuration)
8635
+ .deleteCognitiveProfile(id, options)
8636
+ .then((request) => request(axios, basePath));
8637
+ },
8638
+ /**
8639
+ *
8640
+ * @param {string} id
8641
+ * @param {StoragePatchCognitiveProfileRequest} body
8642
+ * @param {*} [options] Override http request option.
8643
+ * @throws {RequiredError}
8644
+ */
8645
+ patchCognitiveProfile(id, body, options) {
8646
+ return CognitiveProfileServiceApiFp(configuration)
8647
+ .patchCognitiveProfile(id, body, options)
8648
+ .then((request) => request(axios, basePath));
8649
+ },
8650
+ /**
8651
+ *
8652
+ * @param {string} id
8653
+ * @param {*} [options] Override http request option.
8654
+ * @throws {RequiredError}
8655
+ */
8656
+ readCognitiveProfile(id, options) {
8657
+ return CognitiveProfileServiceApiFp(configuration)
8658
+ .readCognitiveProfile(id, options)
8659
+ .then((request) => request(axios, basePath));
8660
+ },
8661
+ /**
8662
+ *
8663
+ * @param {number} [page]
8664
+ * @param {number} [size]
8665
+ * @param {string} [q]
8666
+ * @param {string} [sort]
8667
+ * @param {Array<string>} [fields]
8668
+ * @param {Array<string>} [id]
8669
+ * @param {Array<string>} [service]
8670
+ * @param {*} [options] Override http request option.
8671
+ * @throws {RequiredError}
8672
+ */
8673
+ searchCognitiveProfile(page, size, q, sort, fields, id, service, options) {
8674
+ return CognitiveProfileServiceApiFp(configuration)
8675
+ .searchCognitiveProfile(page, size, q, sort, fields, id, service, options)
8676
+ .then((request) => request(axios, basePath));
8677
+ },
8678
+ /**
8679
+ *
8680
+ * @param {string} id
8681
+ * @param {StorageUpdateCognitiveProfileRequest} body
8682
+ * @param {*} [options] Override http request option.
8683
+ * @throws {RequiredError}
8684
+ */
8685
+ updateCognitiveProfile(id, body, options) {
8686
+ return CognitiveProfileServiceApiFp(configuration)
8687
+ .updateCognitiveProfile(id, body, options)
8688
+ .then((request) => request(axios, basePath));
8689
+ },
8690
+ };
8691
+ };
8692
+ /**
8693
+ * CognitiveProfileServiceApi - object-oriented interface
8694
+ * @export
8695
+ * @class CognitiveProfileServiceApi
8696
+ * @extends {BaseAPI}
8697
+ */
8698
+ class CognitiveProfileServiceApi extends BaseAPI {
8699
+ /**
8700
+ *
8701
+ * @param {StorageCreateCognitiveProfileRequest} body
8702
+ * @param {*} [options] Override http request option.
8703
+ * @throws {RequiredError}
8704
+ * @memberof CognitiveProfileServiceApi
8705
+ */
8706
+ createCognitiveProfile(body, options) {
8707
+ return CognitiveProfileServiceApiFp(this.configuration)
8708
+ .createCognitiveProfile(body, options)
8709
+ .then((request) => request(this.axios, this.basePath));
8710
+ }
8711
+ /**
8712
+ *
8713
+ * @summary Remove BackendProfile
8714
+ * @param {string} id
8715
+ * @param {*} [options] Override http request option.
8716
+ * @throws {RequiredError}
8717
+ * @memberof CognitiveProfileServiceApi
8718
+ */
8719
+ deleteCognitiveProfile(id, options) {
8720
+ return CognitiveProfileServiceApiFp(this.configuration)
8721
+ .deleteCognitiveProfile(id, options)
8722
+ .then((request) => request(this.axios, this.basePath));
8723
+ }
8724
+ /**
8725
+ *
8726
+ * @param {string} id
8727
+ * @param {StoragePatchCognitiveProfileRequest} body
8728
+ * @param {*} [options] Override http request option.
8729
+ * @throws {RequiredError}
8730
+ * @memberof CognitiveProfileServiceApi
8731
+ */
8732
+ patchCognitiveProfile(id, body, options) {
8733
+ return CognitiveProfileServiceApiFp(this.configuration)
8734
+ .patchCognitiveProfile(id, body, options)
8735
+ .then((request) => request(this.axios, this.basePath));
8736
+ }
8737
+ /**
8738
+ *
8739
+ * @param {string} id
8740
+ * @param {*} [options] Override http request option.
8741
+ * @throws {RequiredError}
8742
+ * @memberof CognitiveProfileServiceApi
8743
+ */
8744
+ readCognitiveProfile(id, options) {
8745
+ return CognitiveProfileServiceApiFp(this.configuration)
8746
+ .readCognitiveProfile(id, options)
8747
+ .then((request) => request(this.axios, this.basePath));
8748
+ }
8749
+ /**
8750
+ *
8751
+ * @param {number} [page]
8752
+ * @param {number} [size]
8753
+ * @param {string} [q]
8754
+ * @param {string} [sort]
8755
+ * @param {Array<string>} [fields]
8756
+ * @param {Array<string>} [id]
8757
+ * @param {Array<string>} [service]
8758
+ * @param {*} [options] Override http request option.
8759
+ * @throws {RequiredError}
8760
+ * @memberof CognitiveProfileServiceApi
8761
+ */
8762
+ searchCognitiveProfile(page, size, q, sort, fields, id, service, options) {
8763
+ return CognitiveProfileServiceApiFp(this.configuration)
8764
+ .searchCognitiveProfile(page, size, q, sort, fields, id, service, options)
8765
+ .then((request) => request(this.axios, this.basePath));
8766
+ }
8767
+ /**
8768
+ *
8769
+ * @param {string} id
8770
+ * @param {StorageUpdateCognitiveProfileRequest} body
8771
+ * @param {*} [options] Override http request option.
8772
+ * @throws {RequiredError}
8773
+ * @memberof CognitiveProfileServiceApi
8774
+ */
8775
+ updateCognitiveProfile(id, body, options) {
8776
+ return CognitiveProfileServiceApiFp(this.configuration)
8777
+ .updateCognitiveProfile(id, body, options)
8778
+ .then((request) => request(this.axios, this.basePath));
8779
+ }
8780
+ }
8781
+
8141
8782
  // tslint:disable
8142
8783
  /**
8143
8784
  * CommunicationTypeServiceApi - axios parameter creator
@@ -9262,6 +9903,134 @@ class EmailProfileServiceApi extends BaseAPI {
9262
9903
  }
9263
9904
  }
9264
9905
 
9906
+ // tslint:disable
9907
+ /**
9908
+ * FileServiceApi - axios parameter creator
9909
+ * @export
9910
+ */
9911
+ const FileServiceApiAxiosParamCreator = function (configuration) {
9912
+ return {
9913
+ /**
9914
+ *
9915
+ * @param {StorageDeleteFilesRequest} body
9916
+ * @param {*} [options] Override http request option.
9917
+ * @throws {RequiredError}
9918
+ */
9919
+ deleteFiles: async (body, options = {}) => {
9920
+ // verify required parameter 'body' is not null or undefined
9921
+ if (body === null || body === undefined) {
9922
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteFiles.');
9923
+ }
9924
+ const localVarPath = `/storage/file`;
9925
+ const localVarUrlObj = parse(localVarPath, true);
9926
+ let baseOptions;
9927
+ if (configuration) {
9928
+ baseOptions = configuration.baseOptions;
9929
+ }
9930
+ const localVarRequestOptions = {
9931
+ method: 'DELETE',
9932
+ ...baseOptions,
9933
+ ...options,
9934
+ };
9935
+ const localVarHeaderParameter = {};
9936
+ const localVarQueryParameter = {};
9937
+ // authentication AccessToken required
9938
+ if (configuration && configuration.apiKey) {
9939
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
9940
+ ? await configuration.apiKey('X-Webitel-Access')
9941
+ : await configuration.apiKey;
9942
+ localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
9943
+ }
9944
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9945
+ localVarUrlObj.query = {
9946
+ ...localVarUrlObj.query,
9947
+ ...localVarQueryParameter,
9948
+ ...options.query,
9949
+ };
9950
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
9951
+ delete localVarUrlObj.search;
9952
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9953
+ localVarRequestOptions.headers = {
9954
+ ...localVarHeaderParameter,
9955
+ ...headersFromBaseOptions,
9956
+ ...options.headers,
9957
+ };
9958
+ const needsSerialization = typeof body !== 'string' ||
9959
+ localVarRequestOptions.headers['Content-Type'] === 'application/json';
9960
+ localVarRequestOptions.data = needsSerialization
9961
+ ? JSON.stringify(body !== undefined ? body : {})
9962
+ : body || '';
9963
+ return {
9964
+ url: format(localVarUrlObj),
9965
+ options: localVarRequestOptions,
9966
+ };
9967
+ },
9968
+ };
9969
+ };
9970
+ /**
9971
+ * FileServiceApi - functional programming interface
9972
+ * @export
9973
+ */
9974
+ const FileServiceApiFp = function (configuration) {
9975
+ return {
9976
+ /**
9977
+ *
9978
+ * @param {StorageDeleteFilesRequest} body
9979
+ * @param {*} [options] Override http request option.
9980
+ * @throws {RequiredError}
9981
+ */
9982
+ async deleteFiles(body, options) {
9983
+ const localVarAxiosArgs = await FileServiceApiAxiosParamCreator(configuration).deleteFiles(body, options);
9984
+ return (axios = globalAxios, basePath = BASE_PATH) => {
9985
+ const axiosRequestArgs = {
9986
+ ...localVarAxiosArgs.options,
9987
+ url: basePath + localVarAxiosArgs.url,
9988
+ };
9989
+ return axios.request(axiosRequestArgs);
9990
+ };
9991
+ },
9992
+ };
9993
+ };
9994
+ /**
9995
+ * FileServiceApi - factory interface
9996
+ * @export
9997
+ */
9998
+ const FileServiceApiFactory = function (configuration, basePath, axios) {
9999
+ return {
10000
+ /**
10001
+ *
10002
+ * @param {StorageDeleteFilesRequest} body
10003
+ * @param {*} [options] Override http request option.
10004
+ * @throws {RequiredError}
10005
+ */
10006
+ deleteFiles(body, options) {
10007
+ return FileServiceApiFp(configuration)
10008
+ .deleteFiles(body, options)
10009
+ .then((request) => request(axios, basePath));
10010
+ },
10011
+ };
10012
+ };
10013
+ /**
10014
+ * FileServiceApi - object-oriented interface
10015
+ * @export
10016
+ * @class FileServiceApi
10017
+ * @extends {BaseAPI}
10018
+ */
10019
+ class FileServiceApi extends BaseAPI {
10020
+ /**
10021
+ *
10022
+ * @param {StorageDeleteFilesRequest} body
10023
+ * @param {*} [options] Override http request option.
10024
+ * @throws {RequiredError}
10025
+ * @memberof FileServiceApi
10026
+ */
10027
+ deleteFiles(body, options) {
10028
+ return FileServiceApiFp(this.configuration)
10029
+ .deleteFiles(body, options)
10030
+ .then((request) => request(this.axios, this.basePath));
10031
+ }
10032
+ }
10033
+
9265
10034
  // tslint:disable
9266
10035
  /**
9267
10036
  * ListServiceApi - axios parameter creator
@@ -25429,5 +26198,5 @@ class ExternalClient extends ee_3 {
25429
26198
 
25430
26199
  // tslint:disable
25431
26200
 
25432
- export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, 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, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, Configuration, Response, Client, CallReportingStatus, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, ChatActions, ConversationState, Conversation, DeviceNotFoundError, DeviceNotAllowPermissionError, SipClient, ExternalClient, SipPhone, Log };
26201
+ export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, CognitiveProfileServiceApiAxiosParamCreator, CognitiveProfileServiceApiFp, CognitiveProfileServiceApiFactory, CognitiveProfileServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, 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, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, Configuration, Response, Client, CallReportingStatus, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, ChatActions, ConversationState, Conversation, DeviceNotFoundError, DeviceNotAllowPermissionError, SipClient, ExternalClient, SipPhone, Log };
25433
26202
  //# sourceMappingURL=index.esm.js.map