webitel-sdk 0.1.109 → 0.1.110

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 (36) hide show
  1. package/bundles/index.esm.js +129 -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 +151 -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/file-service-api.js +144 -0
  10. package/esm2015/api/file-service-api.js.map +1 -0
  11. package/esm2015/api/index.js.map +1 -1
  12. package/esm2015/api/storage-delete-files-request.js +13 -0
  13. package/esm2015/api/storage-delete-files-request.js.map +1 -0
  14. package/esm2015/api.js +1 -0
  15. package/esm2015/api.js.map +1 -1
  16. package/esm5/api/file-service-api.js +165 -0
  17. package/esm5/api/file-service-api.js.map +1 -0
  18. package/esm5/api/index.js.map +1 -1
  19. package/esm5/api/storage-delete-files-request.js +13 -0
  20. package/esm5/api/storage-delete-files-request.js.map +1 -0
  21. package/esm5/api.js +1 -0
  22. package/esm5/api.js.map +1 -1
  23. package/package.json +1 -1
  24. package/types/api/engine-active-call.d.ts +6 -0
  25. package/types/api/engine-active-call.d.ts.map +1 -1
  26. package/types/api/engine-history-call.d.ts +6 -0
  27. package/types/api/engine-history-call.d.ts.map +1 -1
  28. package/types/api/file-service-api.d.ts +71 -0
  29. package/types/api/file-service-api.d.ts.map +1 -0
  30. package/types/api/index.d.ts +1 -0
  31. package/types/api/index.d.ts.map +1 -1
  32. package/types/api/storage-delete-files-request.d.ts +25 -0
  33. package/types/api/storage-delete-files-request.d.ts.map +1 -0
  34. package/types/api.d.ts +1 -0
  35. package/types/api.d.ts.map +1 -1
  36. package/types/socket/form.d.ts +1 -1
@@ -9262,6 +9262,134 @@ class EmailProfileServiceApi extends BaseAPI {
9262
9262
  }
9263
9263
  }
9264
9264
 
9265
+ // tslint:disable
9266
+ /**
9267
+ * FileServiceApi - axios parameter creator
9268
+ * @export
9269
+ */
9270
+ const FileServiceApiAxiosParamCreator = function (configuration) {
9271
+ return {
9272
+ /**
9273
+ *
9274
+ * @param {StorageDeleteFilesRequest} body
9275
+ * @param {*} [options] Override http request option.
9276
+ * @throws {RequiredError}
9277
+ */
9278
+ deleteFiles: async (body, options = {}) => {
9279
+ // verify required parameter 'body' is not null or undefined
9280
+ if (body === null || body === undefined) {
9281
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteFiles.');
9282
+ }
9283
+ const localVarPath = `/storage/file`;
9284
+ const localVarUrlObj = parse(localVarPath, true);
9285
+ let baseOptions;
9286
+ if (configuration) {
9287
+ baseOptions = configuration.baseOptions;
9288
+ }
9289
+ const localVarRequestOptions = {
9290
+ method: 'DELETE',
9291
+ ...baseOptions,
9292
+ ...options,
9293
+ };
9294
+ const localVarHeaderParameter = {};
9295
+ const localVarQueryParameter = {};
9296
+ // authentication AccessToken required
9297
+ if (configuration && configuration.apiKey) {
9298
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
9299
+ ? await configuration.apiKey('X-Webitel-Access')
9300
+ : await configuration.apiKey;
9301
+ localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
9302
+ }
9303
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9304
+ localVarUrlObj.query = {
9305
+ ...localVarUrlObj.query,
9306
+ ...localVarQueryParameter,
9307
+ ...options.query,
9308
+ };
9309
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
9310
+ delete localVarUrlObj.search;
9311
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9312
+ localVarRequestOptions.headers = {
9313
+ ...localVarHeaderParameter,
9314
+ ...headersFromBaseOptions,
9315
+ ...options.headers,
9316
+ };
9317
+ const needsSerialization = typeof body !== 'string' ||
9318
+ localVarRequestOptions.headers['Content-Type'] === 'application/json';
9319
+ localVarRequestOptions.data = needsSerialization
9320
+ ? JSON.stringify(body !== undefined ? body : {})
9321
+ : body || '';
9322
+ return {
9323
+ url: format(localVarUrlObj),
9324
+ options: localVarRequestOptions,
9325
+ };
9326
+ },
9327
+ };
9328
+ };
9329
+ /**
9330
+ * FileServiceApi - functional programming interface
9331
+ * @export
9332
+ */
9333
+ const FileServiceApiFp = function (configuration) {
9334
+ return {
9335
+ /**
9336
+ *
9337
+ * @param {StorageDeleteFilesRequest} body
9338
+ * @param {*} [options] Override http request option.
9339
+ * @throws {RequiredError}
9340
+ */
9341
+ async deleteFiles(body, options) {
9342
+ const localVarAxiosArgs = await FileServiceApiAxiosParamCreator(configuration).deleteFiles(body, options);
9343
+ return (axios = globalAxios, basePath = BASE_PATH) => {
9344
+ const axiosRequestArgs = {
9345
+ ...localVarAxiosArgs.options,
9346
+ url: basePath + localVarAxiosArgs.url,
9347
+ };
9348
+ return axios.request(axiosRequestArgs);
9349
+ };
9350
+ },
9351
+ };
9352
+ };
9353
+ /**
9354
+ * FileServiceApi - factory interface
9355
+ * @export
9356
+ */
9357
+ const FileServiceApiFactory = function (configuration, basePath, axios) {
9358
+ return {
9359
+ /**
9360
+ *
9361
+ * @param {StorageDeleteFilesRequest} body
9362
+ * @param {*} [options] Override http request option.
9363
+ * @throws {RequiredError}
9364
+ */
9365
+ deleteFiles(body, options) {
9366
+ return FileServiceApiFp(configuration)
9367
+ .deleteFiles(body, options)
9368
+ .then((request) => request(axios, basePath));
9369
+ },
9370
+ };
9371
+ };
9372
+ /**
9373
+ * FileServiceApi - object-oriented interface
9374
+ * @export
9375
+ * @class FileServiceApi
9376
+ * @extends {BaseAPI}
9377
+ */
9378
+ class FileServiceApi extends BaseAPI {
9379
+ /**
9380
+ *
9381
+ * @param {StorageDeleteFilesRequest} body
9382
+ * @param {*} [options] Override http request option.
9383
+ * @throws {RequiredError}
9384
+ * @memberof FileServiceApi
9385
+ */
9386
+ deleteFiles(body, options) {
9387
+ return FileServiceApiFp(this.configuration)
9388
+ .deleteFiles(body, options)
9389
+ .then((request) => request(this.axios, this.basePath));
9390
+ }
9391
+ }
9392
+
9265
9393
  // tslint:disable
9266
9394
  /**
9267
9395
  * ListServiceApi - axios parameter creator
@@ -25429,5 +25557,5 @@ class ExternalClient extends ee_3 {
25429
25557
 
25430
25558
  // tslint:disable
25431
25559
 
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 };
25560
+ 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, 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
25561
  //# sourceMappingURL=index.esm.js.map