@webitel/api-services 0.0.25 → 0.0.27
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/package.json +3 -2
- package/src/api/axios/generateInstance.ts +30 -25
- package/src/api/axios/index.ts +1 -1
- package/src/api/clients/_shared/generatePermissionsApi.ts +80 -80
- package/src/api/clients/agents/agentChats.ts +48 -51
- package/src/api/clients/agents/agents.ts +207 -209
- package/src/api/clients/buckets/buckets.ts +78 -80
- package/src/api/clients/calendars/calendars.ts +169 -175
- package/src/api/clients/caseCloseReasonGroups/caseCloseReasonGroups.ts +92 -94
- package/src/api/clients/caseCloseReasons/caseCloseReasons.ts +92 -98
- package/src/api/clients/casePriorities/casePriorities.ts +103 -105
- package/src/api/clients/caseServiceCatalogs/serviceCatalogs.ts +159 -161
- package/src/api/clients/caseServices/services.ts +141 -143
- package/src/api/clients/caseSources/caseSources.ts +84 -89
- package/src/api/clients/caseStatusConditions/caseStatusConditions.ts +128 -130
- package/src/api/clients/caseStatuses/caseStatuses.ts +87 -89
- package/src/api/clients/catalog/catalog.ts +25 -30
- package/src/api/clients/chatGateways/chatGateways.ts +235 -234
- package/src/api/clients/chatGateways/defaults/defaultChatGateway.ts +18 -16
- package/src/api/clients/chatGateways/defaults/webChatGateway.ts +71 -68
- package/src/api/clients/chatGateways/enums/WebchatAlternativeChannel.enum.ts +9 -11
- package/src/api/clients/chatGateways/scripts/generateUri.ts +12 -8
- package/src/api/clients/communications/communications.ts +102 -104
- package/src/api/clients/configurations/configurations.ts +105 -107
- package/src/api/clients/contactGroups/contactGroups.ts +141 -144
- package/src/api/clients/flows/flow.ts +177 -183
- package/src/api/clients/gateways/defaults/defaultGateway.ts +5 -5
- package/src/api/clients/gateways/defaults/registerGateway.ts +6 -6
- package/src/api/clients/gateways/defaults/trunkingGateway.ts +10 -10
- package/src/api/clients/gateways/gateways.ts +140 -142
- package/src/api/clients/index.ts +34 -34
- package/src/api/clients/labels/labels.ts +38 -41
- package/src/api/clients/lists/blacklists.ts +84 -86
- package/src/api/clients/media/media.ts +76 -82
- package/src/api/clients/object/object.ts +87 -89
- package/src/api/clients/queues/defaults/processing.ts +9 -9
- package/src/api/clients/queues/queues.ts +186 -192
- package/src/api/clients/quickReplies/quickReplies.ts +80 -89
- package/src/api/clients/roles/roles.ts +157 -159
- package/src/api/clients/skills/skills.ts +78 -80
- package/src/api/clients/slaConditions/slaConditions.ts +131 -133
- package/src/api/clients/slas/slas.ts +82 -84
- package/src/api/clients/teams/teams.ts +108 -110
- package/src/api/clients/users/__tests__/users.spec.ts +226 -226
- package/src/api/clients/users/users.ts +184 -186
- package/src/api/clients/wtTypes/_shared/utils/sortDynamicFields.ts +13 -13
- package/src/api/clients/wtTypes/sysTypes/sysTypes.ts +48 -52
- package/src/api/clients/wtTypes/typeExtensions/typeExtensions.ts +85 -93
- package/src/api/clients//321/201ontacts/contactChatMessagesHistory.ts +72 -72
- package/src/api/clients//321/201ontacts/contacts.ts +286 -288
- package/src/api/clients//321/201ontacts/enums/ContactsSearchMode.ts +5 -5
- package/src/api/defaults/getDefaultGetListResponse/getDefaultGetListResponse.ts +7 -5
- package/src/api/defaults/getDefaultGetParams/getDefaultGetParams.ts +10 -5
- package/src/api/defaults/getDefaultInstance/getDefaultInstance.ts +18 -18
- package/src/api/defaults/getDefaultOpenAPIConfig/getDefaultOpenAPIConfig.ts +10 -8
- package/src/api/defaults/index.ts +4 -4
- package/src/api/index.ts +1 -1
- package/src/api/interceptors/index.ts +1 -1
- package/src/api/interceptors/request/index.ts +1 -1
- package/src/api/interceptors/request/updateToken.interceptor.ts +10 -9
- package/src/api/interceptors/response/handleUnauthorized.interceptor.ts +13 -11
- package/src/api/interceptors/response/index.ts +1 -1
- package/src/api/transformers/addQueryParamsToUrl/addQueryParamsToUrl.transformer.ts +9 -9
- package/src/api/transformers/applyTransform.ts +20 -13
- package/src/api/transformers/camelToSnake/camelToSnake.transformer.ts +1 -1
- package/src/api/transformers/generateUrl/generateUrl.transformer.ts +6 -6
- package/src/api/transformers/index.ts +13 -14
- package/src/api/transformers/log/log.transformer.ts +2 -2
- package/src/api/transformers/merge/merge.transformer.ts +3 -3
- package/src/api/transformers/mergeEach/mergeEach.transformer.ts +3 -3
- package/src/api/transformers/notify/notify.transformer.ts +24 -24
- package/src/api/transformers/sanitize/sanitize.transformer.ts +7 -7
- package/src/api/transformers/skipIf/skipIf.ts +10 -10
- package/src/api/transformers/snakeToCamel/snakeToCamel.transformer.ts +1 -1
- package/src/api/transformers/starToSearch/starToSearch.transformer.ts +7 -7
- package/src/gen/_models/agentAbsenceServiceUpdateAgentAbsenceBodyItem.ts +2 -1
- package/src/gen/_models/agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody.ts +3 -2
- package/src/gen/_models/apiAccessStoreToggleDefaultAccessBody.ts +2 -1
- package/src/gen/_models/apiCustomer.ts +3 -2
- package/src/gen/_models/apiDevice.ts +2 -1
- package/src/gen/_models/apiLDAPCatalog.ts +5 -4
- package/src/gen/_models/apiLDAPUpdateLDAPCatalogBodyCatalog.ts +5 -4
- package/src/gen/_models/apiLDAProcess.ts +3 -2
- package/src/gen/_models/apiLicenseV1.ts +2 -1
- package/src/gen/_models/apiRole.ts +4 -3
- package/src/gen/_models/apiRolesUpdateRoleBodyRole.ts +4 -3
- package/src/gen/_models/apiUser.ts +2 -1
- package/src/gen/_models/apiUsersUpdateUserBodyUser.ts +2 -1
- package/src/gen/_models/contactsUpdateContactBody.ts +2 -1
- package/src/gen/_models/engineActiveCall.ts +3 -2
- package/src/gen/_models/engineAgent.ts +2 -1
- package/src/gen/_models/engineAgentInQueueStatistics.ts +2 -1
- package/src/gen/_models/engineAggregateHistoryCallRequest.ts +2 -1
- package/src/gen/_models/engineAttempt.ts +2 -1
- package/src/gen/_models/engineAttemptHistory.ts +2 -1
- package/src/gen/_models/engineAuditFormServicePatchAuditFormBody.ts +2 -1
- package/src/gen/_models/engineAuditFormServiceUpdateAuditFormBody.ts +2 -1
- package/src/gen/_models/engineAuditRate.ts +3 -2
- package/src/gen/_models/engineCreateAuditFormRequest.ts +2 -1
- package/src/gen/_models/engineCreateCallRequest.ts +2 -1
- package/src/gen/_models/engineCreateMemberBulkItem.ts +2 -1
- package/src/gen/_models/engineCreateOutboundResourceRequest.ts +3 -2
- package/src/gen/_models/engineCreateQueueRequest.ts +3 -2
- package/src/gen/_models/engineCreateRoutingSchemaRequest.ts +2 -1
- package/src/gen/_models/engineCreateTriggerRequest.ts +3 -2
- package/src/gen/_models/engineDeleteAllMembersRequest.ts +2 -1
- package/src/gen/_models/engineHistoryCall.ts +7 -6
- package/src/gen/_models/engineListReportGeneral.ts +2 -1
- package/src/gen/_models/engineOutboundResource.ts +2 -1
- package/src/gen/_models/engineOutboundResourceServicePatchOutboundResourceBody.ts +2 -1
- package/src/gen/_models/engineOutboundResourceServiceUpdateOutboundResourceBody.ts +2 -1
- package/src/gen/_models/engineQuestion.ts +2 -1
- package/src/gen/_models/engineQueue.ts +3 -2
- package/src/gen/_models/engineQueueReportGeneral.ts +2 -1
- package/src/gen/_models/engineQueueServicePatchQueueBody.ts +3 -2
- package/src/gen/_models/engineQueueServiceUpdateQueueBody.ts +3 -2
- package/src/gen/_models/engineRoutingSchema.ts +3 -2
- package/src/gen/_models/engineRoutingSchemaServicePatchRoutingSchemaBody.ts +2 -1
- package/src/gen/_models/engineRoutingSchemaServiceUpdateRoutingSchemaBody.ts +2 -1
- package/src/gen/_models/engineTeamHook.ts +2 -1
- package/src/gen/_models/engineTeamHookServiceCreateTeamHookBody.ts +2 -1
- package/src/gen/_models/engineTeamHookServicePatchTeamHookBody.ts +2 -1
- package/src/gen/_models/engineTeamHookServiceUpdateTeamHookBody.ts +2 -1
- package/src/gen/_models/engineTrigger.ts +2 -1
- package/src/gen/_models/engineTriggerJob.ts +2 -1
- package/src/gen/_models/engineTriggerServicePatchTriggerBody.ts +2 -1
- package/src/gen/_models/engineTriggerServiceUpdateTriggerBody.ts +2 -1
- package/src/gen/_models/index.ts +26 -26
- package/src/gen/_models/pauseTemplateServiceUpdatePauseTemplateBodyItem.ts +2 -1
- package/src/gen/_models/storageCreateImportTemplateRequest.ts +2 -1
- package/src/gen/_models/storageFile.ts +3 -2
- package/src/gen/_models/storageFilePolicy.ts +2 -1
- package/src/gen/_models/storageImportTemplate.ts +3 -2
- package/src/gen/_models/storageSafeUploadFileResponseMetadata.ts +2 -1
- package/src/gen/_models/storageUpdateCognitiveProfileRequest.ts +3 -2
- package/src/gen/_models/storageUpdateImportTemplateRequest.ts +2 -1
- package/src/gen/_models/storageUploadFileResponse.ts +2 -1
- package/src/gen/_models/storageUploadFileUrlResponse.ts +2 -1
- package/src/gen/_models/updateRelatedCase2Body.ts +2 -1
- package/src/gen/_models/updateRelatedCaseBody.ts +2 -1
- package/src/gen/_models/updateRelatedCaseInputBody.ts +2 -1
- package/src/gen/_models/usersUpdateUser2Body.ts +2 -1
- package/src/gen/_models/usersUpdateUserBody.ts +2 -1
- package/src/gen/_models/usersUpdateUserUserBody.ts +2 -1
- package/src/gen/_models/webitelCasesCallEvent.ts +2 -1
- package/src/gen/_models/webitelCasesCase.ts +2 -1
- package/src/gen/_models/webitelCasesChatEvent.ts +2 -1
- package/src/gen/_models/webitelCasesEmailEvent.ts +2 -1
- package/src/gen/_models/webitelCasesInputCreateService.ts +2 -1
- package/src/gen/_models/webitelCasesInputService.ts +2 -1
- package/src/gen/_models/webitelCasesService.ts +2 -1
- package/src/gen/_models/webitelChatAgentChat.ts +2 -1
- package/src/gen/_models/webitelChatBroadcastMessageRequest.ts +2 -1
- package/src/gen/_models/webitelChatChatMessage.ts +3 -2
- package/src/gen/_models/webitelChatContactChat.ts +2 -1
- package/src/gen/_models/webitelChatDialog.ts +2 -1
- package/src/gen/_models/webitelChatGetContactChatHistoryResponse.ts +3 -2
- package/src/gen/_models/webitelContactsComment.ts +2 -1
- package/src/gen/_models/webitelProtoDataStruct.ts +2 -1
- package/src/gen/_models/wfmAbsence.ts +2 -1
- package/src/gen/_models/wfmAgentScheduleShift.ts +3 -2
- package/src/gen/_models/wfmAgentWorkingSchedule.ts +2 -1
- package/src/gen/_models/wfmPauseTemplate.ts +2 -1
- package/src/gen/_models/wfmSearchAgentsWorkingScheduleResponse.ts +2 -1
- package/src/gen/access-store/access-store.msw.api.gen.ts +1 -1
- package/src/gen/access-store/access-store.zod.gen.ts +2 -2
- package/src/gen/agent-absence-service/agent-absence-service.msw.api.gen.ts +2 -3
- package/src/gen/agent-chat-service/agent-chat-service.msw.api.gen.ts +2 -3
- package/src/gen/agent-pause-cause-service/agent-pause-cause-service.msw.api.gen.ts +1 -1
- package/src/gen/agent-service/agent-service.msw.api.gen.ts +1 -1
- package/src/gen/agent-skill-service/agent-skill-service.msw.api.gen.ts +1 -1
- package/src/gen/agent-team-service/agent-team-service.msw.api.gen.ts +1 -1
- package/src/gen/agent-working-conditions-service/agent-working-conditions-service.msw.api.gen.ts +1 -1
- package/src/gen/agent-working-schedule-service/agent-working-schedule-service.msw.api.gen.ts +2 -3
- package/src/gen/articles/articles.api.gen.ts +1 -1
- package/src/gen/articles/articles.msw.api.gen.ts +1 -1
- package/src/gen/audit-form-service/audit-form-service.msw.api.gen.ts +2 -3
- package/src/gen/auth/auth.msw.api.gen.ts +1 -1
- package/src/gen/auth/auth.zod.gen.ts +1 -1
- package/src/gen/backend-profile-service/backend-profile-service.msw.api.gen.ts +1 -1
- package/src/gen/bucket-service/bucket-service.msw.api.gen.ts +1 -1
- package/src/gen/calendar-service/calendar-service.msw.api.gen.ts +1 -1
- package/src/gen/call-service/call-service.msw.api.gen.ts +5 -6
- package/src/gen/call-service/call-service.zod.gen.ts +1 -1
- package/src/gen/case-comments/case-comments.msw.api.gen.ts +1 -1
- package/src/gen/case-communications/case-communications.msw.api.gen.ts +1 -1
- package/src/gen/case-files/case-files.msw.api.gen.ts +1 -1
- package/src/gen/case-links/case-links.msw.api.gen.ts +1 -1
- package/src/gen/case-timeline/case-timeline.msw.api.gen.ts +2 -3
- package/src/gen/cases/cases.msw.api.gen.ts +2 -3
- package/src/gen/cases-chat-catalog/cases-chat-catalog.msw.api.gen.ts +2 -3
- package/src/gen/cases-chat-catalog/cases-chat-catalog.zod.gen.ts +1 -1
- package/src/gen/catalog/catalog.msw.api.gen.ts +2 -3
- package/src/gen/catalog/catalog.zod.gen.ts +3 -3
- package/src/gen/catalogs/catalogs.msw.api.gen.ts +1 -1
- package/src/gen/catalogs/catalogs.zod.gen.ts +4 -4
- package/src/gen/classes/classes.msw.api.gen.ts +1 -1
- package/src/gen/classes/classes.zod.gen.ts +1 -1
- package/src/gen/close-reason-groups/close-reason-groups.msw.api.gen.ts +1 -1
- package/src/gen/close-reasons/close-reasons.msw.api.gen.ts +1 -1
- package/src/gen/cognitive-profile-service/cognitive-profile-service.msw.api.gen.ts +2 -3
- package/src/gen/communication-type-service/communication-type-service.msw.api.gen.ts +2 -3
- package/src/gen/config-service/config-service.msw.api.gen.ts +1 -1
- package/src/gen/contact-groups/contact-groups.msw.api.gen.ts +1 -1
- package/src/gen/contact-linking-service/contact-linking-service.msw.api.gen.ts +1 -1
- package/src/gen/contacts/contacts.msw.api.gen.ts +1 -1
- package/src/gen/contacts/contacts.zod.gen.ts +2 -2
- package/src/gen/contacts-chat-catalog/contacts-chat-catalog.msw.api.gen.ts +2 -3
- package/src/gen/contacts-chat-catalog/contacts-chat-catalog.zod.gen.ts +2 -2
- package/src/gen/customers/customers.msw.api.gen.ts +1 -1
- package/src/gen/customers/customers.zod.gen.ts +4 -4
- package/src/gen/devices/devices.msw.api.gen.ts +1 -1
- package/src/gen/devices/devices.zod.gen.ts +1 -1
- package/src/gen/dictionaries/dictionaries.msw.api.gen.ts +2 -3
- package/src/gen/dictionaries/dictionaries.zod.gen.ts +16 -16
- package/src/gen/domains/domains.msw.api.gen.ts +1 -1
- package/src/gen/dynamic-conditions/dynamic-conditions.msw.api.gen.ts +1 -1
- package/src/gen/dynamic-groups/dynamic-groups.msw.api.gen.ts +1 -1
- package/src/gen/email-profile-service/email-profile-service.msw.api.gen.ts +2 -3
- package/src/gen/emails/emails.msw.api.gen.ts +1 -1
- package/src/gen/extensions/extensions.msw.api.gen.ts +2 -3
- package/src/gen/extensions/extensions.zod.gen.ts +10 -10
- package/src/gen/file-policies-service/file-policies-service.msw.api.gen.ts +2 -3
- package/src/gen/file-service/file-service.msw.api.gen.ts +2 -3
- package/src/gen/file-transcript-service/file-transcript-service.msw.api.gen.ts +1 -1
- package/src/gen/forecast-calculation-service/forecast-calculation-service.msw.api.gen.ts +1 -1
- package/src/gen/ftsservice/ftsservice.msw.api.gen.ts +1 -1
- package/src/gen/groups/groups.msw.api.gen.ts +2 -3
- package/src/gen/imclients/imclients.msw.api.gen.ts +1 -1
- package/src/gen/import-template-service/import-template-service.msw.api.gen.ts +2 -3
- package/src/gen/index.ts +249 -249
- package/src/gen/knowledgebase-search/knowledgebase-search.msw.api.gen.ts +1 -1
- package/src/gen/labels/labels.msw.api.gen.ts +1 -1
- package/src/gen/ldap/ldap.api.gen.ts +4 -4
- package/src/gen/ldap/ldap.msw.api.gen.ts +3 -3
- package/src/gen/ldap/ldap.zod.gen.ts +6 -6
- package/src/gen/list-service/list-service.msw.api.gen.ts +1 -1
- package/src/gen/logger-service/logger-service.msw.api.gen.ts +1 -1
- package/src/gen/managers/managers.msw.api.gen.ts +1 -1
- package/src/gen/media-file-service/media-file-service.msw.api.gen.ts +1 -1
- package/src/gen/member-service/member-service.msw.api.gen.ts +1 -1
- package/src/gen/member-service/member-service.zod.gen.ts +1 -1
- package/src/gen/messages-service/messages-service.msw.api.gen.ts +1 -1
- package/src/gen/oauth2-federation/oauth2-federation.msw.api.gen.ts +1 -1
- package/src/gen/oauth2-federation/oauth2-federation.zod.gen.ts +2 -2
- package/src/gen/outbound-resource-group-service/outbound-resource-group-service.msw.api.gen.ts +1 -1
- package/src/gen/outbound-resource-service/outbound-resource-service.msw.api.gen.ts +1 -1
- package/src/gen/pause-template-service/pause-template-service.msw.api.gen.ts +1 -1
- package/src/gen/permissions/permissions.msw.api.gen.ts +1 -1
- package/src/gen/permissions/permissions.zod.gen.ts +1 -1
- package/src/gen/phones/phones.msw.api.gen.ts +1 -1
- package/src/gen/presence/presence.msw.api.gen.ts +1 -1
- package/src/gen/preset-query-service/preset-query-service.msw.api.gen.ts +1 -1
- package/src/gen/priorities/priorities.msw.api.gen.ts +1 -1
- package/src/gen/queue-bucket-service/queue-bucket-service.msw.api.gen.ts +1 -1
- package/src/gen/queue-hook-service/queue-hook-service.msw.api.gen.ts +1 -1
- package/src/gen/queue-resources-service/queue-resources-service.msw.api.gen.ts +1 -1
- package/src/gen/queue-service/queue-service.msw.api.gen.ts +1 -1
- package/src/gen/queue-skill-service/queue-skill-service.msw.api.gen.ts +1 -1
- package/src/gen/quick-replies-service/quick-replies-service.msw.api.gen.ts +1 -1
- package/src/gen/region-service/region-service.msw.api.gen.ts +1 -1
- package/src/gen/related-cases/related-cases.msw.api.gen.ts +2 -3
- package/src/gen/routing-chat-plan-service/routing-chat-plan-service.msw.api.gen.ts +1 -1
- package/src/gen/routing-outbound-call-service/routing-outbound-call-service.msw.api.gen.ts +1 -1
- package/src/gen/routing-schema-service/routing-schema-service.msw.api.gen.ts +2 -3
- package/src/gen/routing-variable-service/routing-variable-service.msw.api.gen.ts +1 -1
- package/src/gen/schema-variables-service/schema-variables-service.msw.api.gen.ts +1 -1
- package/src/gen/schema-version-service/schema-version-service.msw.api.gen.ts +1 -1
- package/src/gen/services/services.msw.api.gen.ts +1 -1
- package/src/gen/shift-template-service/shift-template-service.msw.api.gen.ts +1 -1
- package/src/gen/skill-service/skill-service.msw.api.gen.ts +1 -1
- package/src/gen/slaconditions/slaconditions.msw.api.gen.ts +1 -1
- package/src/gen/slas/slas.msw.api.gen.ts +1 -1
- package/src/gen/sources/sources.msw.api.gen.ts +2 -3
- package/src/gen/spaces/spaces.msw.api.gen.ts +1 -1
- package/src/gen/spaces/spaces.zod.gen.ts +1 -1
- package/src/gen/status-conditions/status-conditions.msw.api.gen.ts +1 -1
- package/src/gen/statuses/statuses.msw.api.gen.ts +1 -1
- package/src/gen/system-setting-service/system-setting-service.msw.api.gen.ts +2 -3
- package/src/gen/tags/tags.msw.api.gen.ts +1 -1
- package/src/gen/team-hook-service/team-hook-service.msw.api.gen.ts +2 -3
- package/src/gen/team-trigger-service/team-trigger-service.msw.api.gen.ts +1 -1
- package/src/gen/timeline/timeline.msw.api.gen.ts +2 -3
- package/src/gen/timezones/timezones.msw.api.gen.ts +1 -1
- package/src/gen/trigger-service/trigger-service.msw.api.gen.ts +7 -8
- package/src/gen/two-factor-authentication/two-factor-authentication.msw.api.gen.ts +1 -1
- package/src/gen/types/types.msw.api.gen.ts +2 -3
- package/src/gen/types/types.zod.gen.ts +4 -4
- package/src/gen/user-access-tokens/user-access-tokens.msw.api.gen.ts +1 -1
- package/src/gen/user-helper-service/user-helper-service.msw.api.gen.ts +1 -1
- package/src/gen/users/users.msw.api.gen.ts +1 -1
- package/src/gen/users/users.zod.gen.ts +12 -12
- package/src/gen/variables/variables.msw.api.gen.ts +1 -1
- package/src/gen/web-hook-service/web-hook-service.msw.api.gen.ts +1 -1
- package/src/gen/working-condition-service/working-condition-service.msw.api.gen.ts +1 -1
- package/src/gen/working-schedule-service/working-schedule-service.msw.api.gen.ts +2 -3
- package/src/utils/gen/index.ts +35 -33
- package/src/utils/index.ts +11 -6
- package/src/validations/caseSource/caseSource.validations.ts +3 -5
- package/types/api/axios/generateInstance.d.ts +9 -2
- package/types/api/axios/index.d.ts +1 -1
- package/types/api/clients/agents/agentChats.d.ts +1 -2
- package/types/api/clients/agents/agents.d.ts +1 -2
- package/types/api/clients/buckets/buckets.d.ts +1 -2
- package/types/api/clients/calendars/calendars.d.ts +1 -2
- package/types/api/clients/caseCloseReasonGroups/caseCloseReasonGroups.d.ts +1 -2
- package/types/api/clients/caseCloseReasons/caseCloseReasons.d.ts +1 -2
- package/types/api/clients/casePriorities/casePriorities.d.ts +1 -2
- package/types/api/clients/caseServiceCatalogs/serviceCatalogs.d.ts +1 -2
- package/types/api/clients/caseServices/services.d.ts +1 -2
- package/types/api/clients/caseSources/caseSources.d.ts +1 -2
- package/types/api/clients/caseStatusConditions/caseStatusConditions.d.ts +1 -2
- package/types/api/clients/caseStatuses/caseStatuses.d.ts +1 -2
- package/types/api/clients/catalog/catalog.d.ts +1 -2
- package/types/api/clients/chatGateways/chatGateways.d.ts +4 -2
- package/types/api/clients/chatGateways/defaults/defaultChatGateway.d.ts +5 -2
- package/types/api/clients/chatGateways/defaults/webChatGateway.d.ts +6 -2
- package/types/api/clients/chatGateways/enums/WebchatAlternativeChannel.enum.d.ts +6 -2
- package/types/api/clients/chatGateways/scripts/generateUri.d.ts +5 -2
- package/types/api/clients/communications/communications.d.ts +1 -2
- package/types/api/clients/configurations/configurations.d.ts +1 -2
- package/types/api/clients/contactGroups/contactGroups.d.ts +1 -2
- package/types/api/clients/flows/flow.d.ts +1 -2
- package/types/api/clients/gateways/gateways.d.ts +1 -2
- package/types/api/clients/index.d.ts +1 -1
- package/types/api/clients/labels/labels.d.ts +1 -2
- package/types/api/clients/lists/blacklists.d.ts +1 -2
- package/types/api/clients/media/media.d.ts +3 -4
- package/types/api/clients/object/object.d.ts +1 -2
- package/types/api/clients/queues/queues.d.ts +1 -2
- package/types/api/clients/quickReplies/quickReplies.d.ts +1 -2
- package/types/api/clients/roles/roles.d.ts +1 -2
- package/types/api/clients/skills/skills.d.ts +1 -2
- package/types/api/clients/slaConditions/slaConditions.d.ts +1 -2
- package/types/api/clients/slas/slas.d.ts +1 -2
- package/types/api/clients/teams/teams.d.ts +1 -2
- package/types/api/clients/users/users.d.ts +1 -2
- package/types/api/clients/wtTypes/_shared/utils/sortDynamicFields.d.ts +1 -1
- package/types/api/clients/wtTypes/sysTypes/sysTypes.d.ts +1 -16
- package/types/api/clients/wtTypes/typeExtensions/typeExtensions.d.ts +1 -17
- package/types/api/clients//321/201ontacts/contactChatMessagesHistory.d.ts +1 -2
- package/types/api/clients//321/201ontacts/contacts.d.ts +1 -2
- package/types/api/defaults/getDefaultGetListResponse/getDefaultGetListResponse.d.ts +5 -2
- package/types/api/defaults/getDefaultGetParams/getDefaultGetParams.d.ts +8 -2
- package/types/api/defaults/getDefaultInstance/getDefaultInstance.d.ts +5 -3
- package/types/api/defaults/getDefaultOpenAPIConfig/getDefaultOpenAPIConfig.d.ts +5 -2
- package/types/api/interceptors/request/updateToken.interceptor.d.ts +4 -2
- package/types/api/interceptors/response/handleUnauthorized.interceptor.d.ts +5 -2
- package/types/api/transformers/applyTransform.d.ts +10 -2
- package/types/api/transformers/index.d.ts +2 -3
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import qs from 'qs';
|
|
2
|
-
import generateInstance from '../../axios/generateInstance';
|
|
3
|
-
import updateTokenInterceptor from '../../interceptors/request/updateToken.interceptor';
|
|
4
|
-
import handleUnauthorizedInterceptor from '../../interceptors/response/handleUnauthorized.interceptor';
|
|
2
|
+
import { generateInstance } from '../../axios/generateInstance';
|
|
3
|
+
import { updateTokenInterceptor } from '../../interceptors/request/updateToken.interceptor';
|
|
4
|
+
import { handleUnauthorizedInterceptor } from '../../interceptors/response/handleUnauthorized.interceptor';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Creates a default Axios instance with standard configuration
|
|
8
|
+
* @returns Configured Axios instance
|
|
9
|
+
*/
|
|
10
|
+
export const getDefaultInstance = () => {
|
|
11
|
+
return generateInstance({
|
|
12
|
+
interceptors: {
|
|
13
|
+
request: [updateTokenInterceptor],
|
|
14
|
+
response: [handleUnauthorizedInterceptor],
|
|
15
|
+
},
|
|
16
|
+
baseURL: import.meta.env.VITE_API_URL,
|
|
17
|
+
paramsSerializer: (params) => {
|
|
18
|
+
return qs.stringify(params);
|
|
19
|
+
},
|
|
20
|
+
});
|
|
17
21
|
};
|
|
18
|
-
|
|
19
|
-
export { getDefaultInstance };
|
|
20
|
-
|
|
21
|
-
export default getDefaultInstance;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Configuration } from 'webitel-sdk';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Creates a default configuration for OpenAPI clients
|
|
5
|
+
* @returns Configuration object with basePath, apiKey, and accessToken
|
|
6
|
+
*/
|
|
7
|
+
export const getDefaultOpenAPIConfig = () =>
|
|
8
|
+
new Configuration({
|
|
9
|
+
basePath: import.meta.env.VITE_API_URL,
|
|
10
|
+
apiKey: localStorage.getItem('access-key') || '',
|
|
11
|
+
accessToken: localStorage.getItem('access-key') || '',
|
|
12
|
+
});
|
|
@@ -4,8 +4,8 @@ import getDefaultInstance from './getDefaultInstance/getDefaultInstance';
|
|
|
4
4
|
import getDefaultOpenAPIConfig from './getDefaultOpenAPIConfig/getDefaultOpenAPIConfig';
|
|
5
5
|
|
|
6
6
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
getDefaultGetListResponse,
|
|
8
|
+
getDefaultGetParams,
|
|
9
|
+
getDefaultInstance,
|
|
10
|
+
getDefaultOpenAPIConfig,
|
|
11
11
|
};
|
package/src/api/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Export request interceptors
|
|
2
|
-
export { default as updateTokenInterceptor } from './updateToken.interceptor';
|
|
2
|
+
export { default as updateTokenInterceptor } from './updateToken.interceptor';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Axios request interceptor that updates the X-Webitel-Access header with the current access token
|
|
3
|
+
*/
|
|
4
|
+
export const updateTokenInterceptor = [
|
|
5
|
+
(config) => {
|
|
6
|
+
config.headers['X-Webitel-Access'] =
|
|
7
|
+
localStorage.getItem('access-token') || '';
|
|
8
|
+
return config;
|
|
9
|
+
},
|
|
10
|
+
(error) => Promise.reject(error),
|
|
8
11
|
];
|
|
9
|
-
|
|
10
|
-
export default updateTokenInterceptor;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Axios response interceptor that handles 401 Unauthorized responses
|
|
3
|
+
* by removing the access token from localStorage
|
|
4
|
+
*/
|
|
5
|
+
export const handleUnauthorizedInterceptor = [
|
|
6
|
+
(response) => response,
|
|
7
|
+
(error) => {
|
|
8
|
+
if (error.response && error.response.status === 401) {
|
|
9
|
+
console.warn('intercepted 401');
|
|
10
|
+
localStorage.removeItem('access-token');
|
|
11
|
+
}
|
|
12
|
+
return Promise.reject(error);
|
|
13
|
+
},
|
|
10
14
|
];
|
|
11
|
-
|
|
12
|
-
export default handleUnauthorizedInterceptor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Export response interceptors
|
|
2
|
-
export { default as handleUnauthorizedInterceptor } from './handleUnauthorized.interceptor';
|
|
2
|
+
export { default as handleUnauthorizedInterceptor } from './handleUnauthorized.interceptor';
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
// This function adds query parameters to a given URL.
|
|
3
3
|
// Where queryArray is an array of query parameters in the format 'key=value'.
|
|
4
4
|
const addQueryParamsToUrl = (queryArray) => (url) => {
|
|
5
|
-
|
|
5
|
+
let modifyUrl = url;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
if (queryArray && queryArray.length > 0) {
|
|
8
|
+
if (modifyUrl.includes('?')) {
|
|
9
|
+
modifyUrl += `&${queryArray.join('&')}`;
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
return modifyUrl;
|
|
12
|
+
}
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
modifyUrl += `?${queryArray.join('&')}`;
|
|
15
|
+
}
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
return modifyUrl;
|
|
18
18
|
};
|
|
19
19
|
export default addQueryParamsToUrl;
|
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Applies a series of transformers to a target object
|
|
3
|
+
* @param target - The object to transform
|
|
4
|
+
* @param transformers - Array of transformer functions to apply
|
|
5
|
+
* @param options - Configuration options
|
|
6
|
+
* @param options.debug - Whether to log debug information
|
|
7
|
+
* @param options.withContext - Context to pass to transformers
|
|
8
|
+
* @returns The transformed object
|
|
9
|
+
*/
|
|
10
|
+
export const applyTransform = (
|
|
11
|
+
target,
|
|
12
|
+
transformers,
|
|
13
|
+
{ debug = false, withContext = null } = {},
|
|
5
14
|
) => {
|
|
6
|
-
|
|
7
|
-
|
|
15
|
+
return transformers.reduce((result, transformer, index) => {
|
|
16
|
+
if (debug) console.info(`applyTransform debug on step ${index}`, result);
|
|
8
17
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
18
|
+
if (withContext) {
|
|
19
|
+
return transformer(result, withContext);
|
|
20
|
+
}
|
|
12
21
|
|
|
13
|
-
|
|
14
|
-
|
|
22
|
+
return transformer(result);
|
|
23
|
+
}, target);
|
|
15
24
|
};
|
|
16
|
-
|
|
17
|
-
export default applyTransform;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import qs from 'query-string';
|
|
2
2
|
|
|
3
3
|
const generateUrlTransformer = (baseUrl) => (params) => {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
const stringifyOptions = {
|
|
5
|
+
skipEmptyString: true,
|
|
6
|
+
skipNull: true,
|
|
7
|
+
};
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
const url = `${baseUrl}?${qs.stringify(params, stringifyOptions)}`;
|
|
10
|
+
return url;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
export default generateUrlTransformer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import addQueryParamsToUrl from './addQueryParamsToUrl/addQueryParamsToUrl.transformer';
|
|
2
|
-
import applyTransform from './applyTransform';
|
|
2
|
+
import { applyTransform } from './applyTransform';
|
|
3
3
|
import camelToSnake from './camelToSnake/camelToSnake.transformer';
|
|
4
4
|
import generateUrl from './generateUrl/generateUrl.transformer';
|
|
5
5
|
import log from './log/log.transformer';
|
|
@@ -12,17 +12,16 @@ import snakeToCamel from './snakeToCamel/snakeToCamel.transformer';
|
|
|
12
12
|
import starToSearch from './starToSearch/starToSearch.transformer';
|
|
13
13
|
|
|
14
14
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
addQueryParamsToUrl,
|
|
16
|
+
applyTransform,
|
|
17
|
+
camelToSnake,
|
|
18
|
+
generateUrl,
|
|
19
|
+
log,
|
|
20
|
+
merge,
|
|
21
|
+
mergeEach,
|
|
22
|
+
notify,
|
|
23
|
+
sanitize,
|
|
24
|
+
skipIf,
|
|
25
|
+
snakeToCamel,
|
|
26
|
+
starToSearch,
|
|
26
27
|
};
|
|
27
|
-
|
|
28
|
-
export default applyTransform;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import eventBus from '../../../scripts/eventBus';
|
|
2
2
|
|
|
3
3
|
const notifyTransformer = (notificationObject) => {
|
|
4
|
-
|
|
4
|
+
/*
|
|
5
5
|
if passed arg is function, then this notification - static content,
|
|
6
6
|
predefined before actual transformer is called in applyTransform flow
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
if (typeof notificationObject === 'function') {
|
|
9
|
+
/*
|
|
10
10
|
so, create a callback which will send notification with params, passed to it
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
const callback = ({ type, text }) =>
|
|
13
|
+
eventBus.$emit('notification', {
|
|
14
|
+
type,
|
|
15
|
+
text,
|
|
16
|
+
});
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
/*
|
|
19
19
|
and, then, return a function, which will be called in main applyTransform flow,
|
|
20
20
|
calling passed arg function with callback, and returning actual notify payload
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
22
|
+
return (payload) => {
|
|
23
|
+
notificationObject({ callback });
|
|
24
|
+
return payload;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
if (notificationObject instanceof Error) {
|
|
28
|
+
eventBus.$emit('notification', {
|
|
29
|
+
type: 'error',
|
|
30
|
+
text:
|
|
31
|
+
notificationObject.response?.data?.detail ||
|
|
32
|
+
notificationObject.response?.data?.message ||
|
|
33
|
+
notificationObject,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
return notificationObject;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
export default notifyTransformer;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const sanitizeTransformer = (fieldsToSend) => (item) => {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
return Object.keys(item).reduce((sanitizedItem, key) => {
|
|
3
|
+
if (fieldsToSend.indexOf(key) === -1) return sanitizedItem;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
return {
|
|
6
|
+
...sanitizedItem,
|
|
7
|
+
[key]: item[key],
|
|
8
|
+
};
|
|
9
|
+
}, {});
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
export default sanitizeTransformer;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export const skipIf =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
(
|
|
3
|
+
transformer: (...payload: unknown[]) => unknown,
|
|
4
|
+
ifFn: boolean | ((...payload: unknown[]) => boolean),
|
|
5
|
+
) =>
|
|
6
|
+
(payload: unknown) => {
|
|
7
|
+
if (typeof ifFn === 'function' ? ifFn(payload) : ifFn) {
|
|
8
|
+
return payload;
|
|
9
|
+
}
|
|
10
|
+
return transformer(payload);
|
|
11
|
+
};
|
|
@@ -4,12 +4,12 @@ import get from 'lodash/get';
|
|
|
4
4
|
import updateObject from '../../../scripts/updateObject';
|
|
5
5
|
|
|
6
6
|
const starToSearchTransformer =
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
(path = 'search') =>
|
|
8
|
+
(params) => {
|
|
9
|
+
const copy = deepcopy(params);
|
|
10
|
+
const value = get(copy, path);
|
|
11
|
+
if (!value || value.slice(-1) === '*') return copy;
|
|
12
|
+
return updateObject({ obj: copy, path, value: `${value}*` });
|
|
13
|
+
};
|
|
14
14
|
|
|
15
15
|
export default starToSearchTransformer;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type { WfmAbsenceType } from './wfmAbsenceType';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
|
|
8
|
+
import type { WfmAbsenceType } from './wfmAbsenceType';
|
|
8
9
|
import type { WfmLookupEntity } from './wfmLookupEntity';
|
|
9
10
|
|
|
10
11
|
export type AgentAbsenceServiceUpdateAgentAbsenceBodyItem = {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import type { AgentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBodyItems } from './agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBodyItems';
|
|
2
|
-
import type { WfmFilterBetween } from './wfmFilterBetween';
|
|
3
1
|
/**
|
|
4
2
|
* Generated by orval v7.10.0 🍺
|
|
5
3
|
* Do not edit manually.
|
|
6
4
|
* Webitel API
|
|
7
5
|
* OpenAPI spec version: 24.04.0
|
|
8
6
|
*/
|
|
7
|
+
|
|
8
|
+
import type { AgentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBodyItems } from './agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBodyItems';
|
|
9
|
+
import type { WfmFilterBetween } from './wfmFilterBetween';
|
|
9
10
|
import type { WfmLookupEntity } from './wfmLookupEntity';
|
|
10
11
|
|
|
11
12
|
export type AgentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody = {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type { ApiAccessStoreToggleDefaultAccessBodyObject } from './apiAccessStoreToggleDefaultAccessBodyObject';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
|
|
8
|
+
import type { ApiAccessStoreToggleDefaultAccessBodyObject } from './apiAccessStoreToggleDefaultAccessBodyObject';
|
|
8
9
|
import type { ApiGrantAccessRequestV1 } from './apiGrantAccessRequestV1';
|
|
9
10
|
|
|
10
11
|
export interface ApiAccessStoreToggleDefaultAccessBody {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import type { ApiCustomerLimit } from './apiCustomerLimit';
|
|
2
|
-
import type { ApiLicenseV1 } from './apiLicenseV1';
|
|
3
1
|
/**
|
|
4
2
|
* Generated by orval v7.10.0 🍺
|
|
5
3
|
* Do not edit manually.
|
|
6
4
|
* Webitel API
|
|
7
5
|
* OpenAPI spec version: 24.04.0
|
|
8
6
|
*/
|
|
7
|
+
|
|
8
|
+
import type { ApiCustomerLimit } from './apiCustomerLimit';
|
|
9
|
+
import type { ApiLicenseV1 } from './apiLicenseV1';
|
|
9
10
|
import type { ApiObjectId } from './apiObjectId';
|
|
10
11
|
import type { ApiVerification } from './apiVerification';
|
|
11
12
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type { ApiDeviceProvision } from './apiDeviceProvision';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
|
|
8
|
+
import type { ApiDeviceProvision } from './apiDeviceProvision';
|
|
8
9
|
import type { ApiUserId } from './apiUserId';
|
|
9
10
|
|
|
10
11
|
export interface ApiDevice {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import type { ApiLDAPCatalogTLSConfig } from './apiLDAPCatalogTLSConfig';
|
|
2
|
-
import type { ApiLDAPTemplate } from './apiLDAPTemplate';
|
|
3
|
-
import type { ApiLDAProcess } from './apiLDAProcess';
|
|
4
|
-
import type { ApiLDAProcessOptions } from './apiLDAProcessOptions';
|
|
5
1
|
/**
|
|
6
2
|
* Generated by orval v7.10.0 🍺
|
|
7
3
|
* Do not edit manually.
|
|
8
4
|
* Webitel API
|
|
9
5
|
* OpenAPI spec version: 24.04.0
|
|
10
6
|
*/
|
|
7
|
+
|
|
8
|
+
import type { ApiLDAPCatalogTLSConfig } from './apiLDAPCatalogTLSConfig';
|
|
9
|
+
import type { ApiLDAProcess } from './apiLDAProcess';
|
|
10
|
+
import type { ApiLDAProcessOptions } from './apiLDAProcessOptions';
|
|
11
|
+
import type { ApiLDAPTemplate } from './apiLDAPTemplate';
|
|
11
12
|
import type { ApiUserId } from './apiUserId';
|
|
12
13
|
|
|
13
14
|
export interface ApiLDAPCatalog {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import type { ApiLDAPCatalogTLSConfig } from './apiLDAPCatalogTLSConfig';
|
|
2
|
-
import type { ApiLDAPTemplate } from './apiLDAPTemplate';
|
|
3
|
-
import type { ApiLDAProcess } from './apiLDAProcess';
|
|
4
|
-
import type { ApiLDAProcessOptions } from './apiLDAProcessOptions';
|
|
5
1
|
/**
|
|
6
2
|
* Generated by orval v7.10.0 🍺
|
|
7
3
|
* Do not edit manually.
|
|
8
4
|
* Webitel API
|
|
9
5
|
* OpenAPI spec version: 24.04.0
|
|
10
6
|
*/
|
|
7
|
+
|
|
8
|
+
import type { ApiLDAPCatalogTLSConfig } from './apiLDAPCatalogTLSConfig';
|
|
9
|
+
import type { ApiLDAProcess } from './apiLDAProcess';
|
|
10
|
+
import type { ApiLDAProcessOptions } from './apiLDAProcessOptions';
|
|
11
|
+
import type { ApiLDAPTemplate } from './apiLDAPTemplate';
|
|
11
12
|
import type { ApiUserId } from './apiUserId';
|
|
12
13
|
|
|
13
14
|
/**
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import type { ApiLDAPObjentry } from './apiLDAPObjentry';
|
|
2
|
-
import type { ApiLDAProcessOptions } from './apiLDAProcessOptions';
|
|
3
1
|
/**
|
|
4
2
|
* Generated by orval v7.10.0 🍺
|
|
5
3
|
* Do not edit manually.
|
|
6
4
|
* Webitel API
|
|
7
5
|
* OpenAPI spec version: 24.04.0
|
|
8
6
|
*/
|
|
7
|
+
|
|
8
|
+
import type { ApiLDAPObjentry } from './apiLDAPObjentry';
|
|
9
|
+
import type { ApiLDAProcessOptions } from './apiLDAProcessOptions';
|
|
9
10
|
import type { ApiRoleId } from './apiRoleId';
|
|
10
11
|
|
|
11
12
|
export interface ApiLDAProcess {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type { ApiLicenseUser } from './apiLicenseUser';
|
|
2
1
|
/**
|
|
3
2
|
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Webitel API
|
|
6
5
|
* OpenAPI spec version: 24.04.0
|
|
7
6
|
*/
|
|
7
|
+
|
|
8
|
+
import type { ApiLicenseUser } from './apiLicenseUser';
|
|
8
9
|
import type { ApiVerification } from './apiVerification';
|
|
9
10
|
|
|
10
11
|
export interface ApiLicenseV1 {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import type { ApiObjectId } from './apiObjectId';
|
|
2
|
-
import type { ApiPermission } from './apiPermission';
|
|
3
|
-
import type { ApiRoleMetadata } from './apiRoleMetadata';
|
|
4
1
|
/**
|
|
5
2
|
* Generated by orval v7.10.0 🍺
|
|
6
3
|
* Do not edit manually.
|
|
7
4
|
* Webitel API
|
|
8
5
|
* OpenAPI spec version: 24.04.0
|
|
9
6
|
*/
|
|
7
|
+
|
|
8
|
+
import type { ApiObjectId } from './apiObjectId';
|
|
9
|
+
import type { ApiPermission } from './apiPermission';
|
|
10
|
+
import type { ApiRoleMetadata } from './apiRoleMetadata';
|
|
10
11
|
import type { ApiUserId } from './apiUserId';
|
|
11
12
|
|
|
12
13
|
export interface ApiRole {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import type { ApiObjectId } from './apiObjectId';
|
|
2
|
-
import type { ApiPermission } from './apiPermission';
|
|
3
|
-
import type { ApiRolesUpdateRoleBodyRoleMetadata } from './apiRolesUpdateRoleBodyRoleMetadata';
|
|
4
1
|
/**
|
|
5
2
|
* Generated by orval v7.10.0 🍺
|
|
6
3
|
* Do not edit manually.
|
|
7
4
|
* Webitel API
|
|
8
5
|
* OpenAPI spec version: 24.04.0
|
|
9
6
|
*/
|
|
7
|
+
|
|
8
|
+
import type { ApiObjectId } from './apiObjectId';
|
|
9
|
+
import type { ApiPermission } from './apiPermission';
|
|
10
|
+
import type { ApiRolesUpdateRoleBodyRoleMetadata } from './apiRolesUpdateRoleBodyRoleMetadata';
|
|
10
11
|
import type { ApiUserId } from './apiUserId';
|
|
11
12
|
|
|
12
13
|
export type ApiRolesUpdateRoleBodyRole = {
|