@webitel/api-services 0.1.48 → 0.1.50
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 +17 -2
- package/src/api/clients/agents/agentAbsence.ts +2 -2
- package/src/api/clients/agents/agents.ts +21 -9
- package/src/api/clients/emails/emails.ts +7 -6
- package/src/api/clients/fileServices/fileServices.ts +51 -27
- package/src/api/clients/oauthApps/oauthApps.ts +3 -2
- package/src/api/clients/pdfServices/pdfServices.ts +2 -2
- package/src/api/clients/quickReplies/quickReplies.ts +1 -1
- package/src/api/clients/wtTypes/_shared/utils/sortDynamicFields.ts +15 -4
- package/src/api/clients//321/201ontacts/contactChatMessagesHistory.ts +1 -1
- package/src/api/clients//321/201ontacts/contacts.ts +15 -4
- package/src/api/interceptors/request/updateToken.interceptor.ts +8 -1
- package/src/api/interceptors/response/handleUnauthorized.interceptor.ts +5 -1
- package/src/api/transformers/notify/notify.transformer.ts +10 -3
- package/src/api/transformers/translateError/translateError.transformer.ts +6 -2
- package/src/gen/_models/{oAuth2FederationUpdateOAuthServiceBody.ts → apiOAuthServiceBody.ts} +4 -5
- package/src/gen/_models/{oAuth2FederationUpdateOAuthServiceBody.zod.ts → apiOAuthServiceBody.zod.ts} +4 -5
- package/src/gen/_models/contactsInputContact.ts +0 -3
- package/src/gen/_models/contactsInputContact.zod.ts +0 -3
- package/src/gen/_models/{deleteSpaceParams.ts → createArticleArticlesParams.ts} +1 -1
- package/src/gen/_models/{deleteSpaceParams.zod.ts → createArticleArticlesParams.zod.ts} +1 -1
- package/src/gen/_models/{locateSpaceParams.ts → createSpaceSpacesParams.ts} +1 -1
- package/src/gen/_models/{locateSpaceParams.zod.ts → createSpaceSpacesParams.zod.ts} +1 -1
- package/src/gen/_models/dataBatchCreateDatasetResponse.ts +18 -0
- package/src/gen/_models/dataBatchCreateDatasetResponse.zod.ts +18 -0
- package/src/gen/_models/dataBatchCreateError.ts +16 -0
- package/src/gen/_models/dataBatchCreateError.zod.ts +16 -0
- package/src/gen/_models/{deleteArticleParams.ts → deleteArticleArticlesParams.ts} +1 -1
- package/src/gen/_models/{deleteArticleParams.zod.ts → deleteArticleArticlesParams.zod.ts} +1 -1
- package/src/gen/_models/{createArticleParams.ts → deleteSpaceSpacesParams.ts} +1 -1
- package/src/gen/_models/{createArticleParams.zod.ts → deleteSpaceSpacesParams.zod.ts} +1 -1
- package/src/gen/_models/dictionariesBatchCreateDataBody.ts +17 -0
- package/src/gen/_models/dictionariesBatchCreateDataBody.zod.ts +17 -0
- package/src/gen/_models/{webitelImApiGatewayV1VariableEntryRequestValue.ts → dictionariesBatchCreateDataBodyRowsItem.ts} +1 -4
- package/src/gen/_models/{webitelImApiGatewayV1VariableEntryRequestValue.zod.ts → dictionariesBatchCreateDataBodyRowsItem.zod.ts} +1 -4
- package/src/gen/_models/engineAssignAttemptResponse.ts +10 -0
- package/src/gen/_models/engineAssignAttemptResponse.zod.ts +10 -0
- package/src/gen/_models/engineMemberServiceAssignAttemptBody.ts +11 -0
- package/src/gen/_models/engineMemberServiceAssignAttemptBody.zod.ts +11 -0
- package/src/gen/_models/engineSystemSettingName.ts +1 -0
- package/src/gen/_models/engineSystemSettingName.zod.ts +1 -0
- package/src/gen/_models/engineTaskProcessing.ts +1 -0
- package/src/gen/_models/engineTaskProcessing.zod.ts +1 -0
- package/src/gen/_models/index.ts +21 -16
- package/src/gen/_models/{listArticlesParams.ts → listArticlesArticlesParams.ts} +1 -1
- package/src/gen/_models/{listArticlesParams.zod.ts → listArticlesArticlesParams.zod.ts} +1 -1
- package/src/gen/_models/{listSpacesParams.ts → listSpacesSpacesParams.ts} +1 -1
- package/src/gen/_models/{listSpacesParams.zod.ts → listSpacesSpacesParams.zod.ts} +1 -1
- package/src/gen/_models/{locateArticleParams.ts → locateArticleArticlesParams.ts} +1 -1
- package/src/gen/_models/{locateArticleParams.zod.ts → locateArticleArticlesParams.zod.ts} +1 -1
- package/src/gen/_models/{createSpaceParams.ts → locateSpaceSpacesParams.ts} +1 -1
- package/src/gen/_models/{createSpaceParams.zod.ts → locateSpaceSpacesParams.zod.ts} +1 -1
- package/src/gen/_models/searchSystemSettingNameItem.ts +1 -0
- package/src/gen/_models/searchSystemSettingNameItem.zod.ts +1 -0
- package/src/gen/_models/{updateArticleBody.ts → updateArticleArticlesBody.ts} +1 -1
- package/src/gen/_models/{updateArticleBody.zod.ts → updateArticleArticlesBody.zod.ts} +1 -1
- package/src/gen/_models/updateArticleArticlesParams.ts +13 -0
- package/src/gen/_models/updateArticleArticlesParams.zod.ts +13 -0
- package/src/gen/_models/updateContactBody.ts +0 -3
- package/src/gen/_models/updateContactBody.zod.ts +0 -3
- package/src/gen/_models/updateOAuthService2Params.ts +13 -0
- package/src/gen/_models/updateOAuthService2Params.zod.ts +13 -0
- package/src/gen/_models/updateOAuthServiceParams.ts +13 -0
- package/src/gen/_models/updateOAuthServiceParams.zod.ts +13 -0
- package/src/gen/_models/{updateSpaceBody.ts → updateSpaceSpacesBody.ts} +1 -1
- package/src/gen/_models/{updateSpaceBody.zod.ts → updateSpaceSpacesBody.zod.ts} +1 -1
- package/src/gen/_models/updateSpaceSpacesParams.ts +13 -0
- package/src/gen/_models/updateSpaceSpacesParams.zod.ts +13 -0
- package/src/gen/_models/webitelContactsContact.ts +0 -3
- package/src/gen/_models/webitelContactsContact.zod.ts +0 -3
- package/src/gen/_models/webitelImApiGatewayV1VariableEntry.ts +1 -2
- package/src/gen/_models/webitelImApiGatewayV1VariableEntry.zod.ts +1 -2
- package/src/gen/_models/webitelImApiGatewayV1VariableEntryRequest.ts +1 -2
- package/src/gen/_models/webitelImApiGatewayV1VariableEntryRequest.zod.ts +1 -2
- package/src/gen/access-store/access-store.ts +1 -1
- package/src/gen/agent-absence-service/agent-absence-service.ts +1 -1
- package/src/gen/agent-chat-service/agent-chat-service.ts +1 -1
- package/src/gen/agent-pause-cause-service/agent-pause-cause-service.ts +1 -1
- package/src/gen/agent-service/agent-service.ts +1 -1
- package/src/gen/agent-skill-service/agent-skill-service.ts +1 -1
- package/src/gen/agent-team-service/agent-team-service.ts +1 -1
- package/src/gen/agent-working-conditions-service/agent-working-conditions-service.ts +1 -1
- package/src/gen/agent-working-schedule-service/agent-working-schedule-service.ts +1 -1
- package/src/gen/articles/articles.faker.ts +5 -5
- package/src/gen/articles/articles.msw.ts +20 -20
- package/src/gen/articles/articles.ts +32 -29
- package/src/gen/articles/articles.zod.ts +17 -17
- package/src/gen/audit-form-service/audit-form-service.ts +1 -1
- package/src/gen/auth/auth.ts +1 -1
- package/src/gen/backend-profile-service/backend-profile-service.ts +1 -1
- package/src/gen/bucket-service/bucket-service.ts +1 -1
- package/src/gen/calendar-service/calendar-service.ts +1 -1
- package/src/gen/call-service/call-service.ts +1 -1
- package/src/gen/case-comments/case-comments.ts +1 -1
- package/src/gen/case-communications/case-communications.ts +1 -1
- package/src/gen/case-files/case-files.ts +1 -1
- package/src/gen/case-links/case-links.ts +1 -1
- package/src/gen/case-timeline/case-timeline.ts +1 -1
- package/src/gen/cases/cases.ts +1 -1
- package/src/gen/cases-chat-catalog/cases-chat-catalog.ts +1 -1
- package/src/gen/catalogs/catalogs.ts +1 -1
- package/src/gen/classes/classes.ts +1 -1
- package/src/gen/close-reason-groups/close-reason-groups.ts +1 -1
- package/src/gen/close-reasons/close-reasons.ts +1 -1
- package/src/gen/cognitive-profile-service/cognitive-profile-service.ts +1 -1
- package/src/gen/comments/comments.ts +1 -1
- package/src/gen/communication-type-service/communication-type-service.ts +1 -1
- package/src/gen/config-service/config-service.ts +1 -1
- package/src/gen/contact-groups/contact-groups.ts +1 -1
- package/src/gen/contact-linking-service/contact-linking-service.ts +1 -1
- package/src/gen/contacts/contacts.faker.ts +117 -1277
- package/src/gen/contacts/contacts.msw.ts +117 -1277
- package/src/gen/contacts/contacts.ts +1 -2
- package/src/gen/contacts/contacts.zod.ts +7 -638
- package/src/gen/contacts-chat-catalog/contacts-chat-catalog.ts +1 -1
- package/src/gen/customers/customers.ts +1 -1
- package/src/gen/devices/devices.ts +1 -1
- package/src/gen/dictionaries/dictionaries.faker.ts +65 -0
- package/src/gen/dictionaries/dictionaries.msw.ts +94 -0
- package/src/gen/dictionaries/dictionaries.ts +21 -1
- package/src/gen/dictionaries/dictionaries.zod.ts +46 -0
- package/src/gen/domains/domains.ts +1 -1
- package/src/gen/dynamic-conditions/dynamic-conditions.ts +1 -1
- package/src/gen/dynamic-groups/dynamic-groups.ts +1 -1
- package/src/gen/email-profile-service/email-profile-service.ts +1 -1
- package/src/gen/emails/emails.ts +1 -1
- package/src/gen/extensions/extensions.ts +1 -1
- package/src/gen/feedback-service/feedback-service.ts +1 -1
- package/src/gen/file-policies-service/file-policies-service.ts +1 -1
- package/src/gen/file-service/file-service.ts +1 -1
- package/src/gen/file-transcript-service/file-transcript-service.ts +1 -1
- package/src/gen/forecast-calculation-service/forecast-calculation-service.ts +1 -1
- package/src/gen/ftsservice/ftsservice.ts +1 -1
- package/src/gen/groups/groups.faker.ts +0 -376
- package/src/gen/groups/groups.msw.ts +0 -376
- package/src/gen/groups/groups.ts +1 -1
- package/src/gen/groups/groups.zod.ts +0 -190
- package/src/gen/imclients/imclients.ts +1 -1
- package/src/gen/import-template-service/import-template-service.ts +1 -1
- package/src/gen/index.ts +2362 -97
- package/src/gen/knowledgebase-search/knowledgebase-search.ts +1 -1
- package/src/gen/labels/labels.ts +1 -1
- package/src/gen/languages/languages.ts +1 -1
- package/src/gen/ldap/ldap.ts +1 -1
- package/src/gen/list-service/list-service.ts +1 -1
- package/src/gen/logger-service/logger-service.ts +1 -1
- package/src/gen/managers/managers.ts +1 -1
- package/src/gen/media-file-service/media-file-service.ts +1 -1
- package/src/gen/meeting-service/meeting-service.ts +1 -1
- package/src/gen/member-service/member-service.faker.ts +4 -0
- package/src/gen/member-service/member-service.msw.ts +31 -0
- package/src/gen/member-service/member-service.ts +16 -1
- package/src/gen/member-service/member-service.zod.ts +15 -0
- package/src/gen/messages/messages.ts +1 -1
- package/src/gen/oauth2-federation/oauth2-federation.ts +21 -14
- package/src/gen/oauth2-federation/oauth2-federation.zod.ts +90 -88
- package/src/gen/outbound-resource-group-service/outbound-resource-group-service.ts +1 -1
- package/src/gen/outbound-resource-service/outbound-resource-service.ts +1 -1
- package/src/gen/pause-template-service/pause-template-service.ts +1 -1
- package/src/gen/pdf-service/pdf-service.ts +1 -1
- package/src/gen/permissions/permissions.ts +1 -1
- package/src/gen/phones/phones.ts +1 -1
- package/src/gen/photos/photos.ts +1 -1
- package/src/gen/presence/presence.ts +1 -1
- package/src/gen/preset-query-service/preset-query-service.ts +1 -1
- package/src/gen/priorities/priorities.ts +1 -1
- package/src/gen/queue-bucket-service/queue-bucket-service.ts +1 -1
- package/src/gen/queue-hook-service/queue-hook-service.ts +1 -1
- package/src/gen/queue-resources-service/queue-resources-service.ts +1 -1
- package/src/gen/queue-service/queue-service.faker.ts +24 -0
- package/src/gen/queue-service/queue-service.msw.ts +24 -0
- package/src/gen/queue-service/queue-service.ts +1 -1
- package/src/gen/queue-service/queue-service.zod.ts +9 -0
- package/src/gen/queue-skill-service/queue-skill-service.ts +1 -1
- package/src/gen/quick-replies-service/quick-replies-service.ts +1 -1
- package/src/gen/records/records.ts +1 -1
- package/src/gen/region-service/region-service.ts +1 -1
- package/src/gen/related-cases/related-cases.ts +1 -1
- package/src/gen/routing-chat-plan-service/routing-chat-plan-service.ts +1 -1
- package/src/gen/routing-outbound-call-service/routing-outbound-call-service.ts +1 -1
- package/src/gen/routing-schema-service/routing-schema-service.ts +1 -1
- package/src/gen/routing-variable-service/routing-variable-service.ts +1 -1
- package/src/gen/schema-variables-service/schema-variables-service.ts +1 -1
- package/src/gen/schema-version-service/schema-version-service.ts +1 -1
- package/src/gen/services/services.ts +1 -1
- package/src/gen/shift-template-service/shift-template-service.ts +1 -1
- package/src/gen/skill-service/skill-service.ts +1 -1
- package/src/gen/slaconditions/slaconditions.ts +1 -1
- package/src/gen/slas/slas.ts +1 -1
- package/src/gen/sources/sources.ts +1 -1
- package/src/gen/sources/sources.zod.ts +2 -0
- package/src/gen/spaces/spaces.faker.ts +5 -5
- package/src/gen/spaces/spaces.msw.ts +20 -20
- package/src/gen/spaces/spaces.ts +29 -29
- package/src/gen/spaces/spaces.zod.ts +22 -22
- package/src/gen/status-conditions/status-conditions.ts +1 -1
- package/src/gen/statuses/statuses.ts +1 -1
- package/src/gen/system-setting-service/system-setting-service.ts +1 -1
- package/src/gen/system-setting-service/system-setting-service.zod.ts +8 -0
- package/src/gen/tags/tags.ts +1 -1
- package/src/gen/team-hook-service/team-hook-service.ts +1 -1
- package/src/gen/team-trigger-service/team-trigger-service.ts +1 -1
- package/src/gen/timeline/timeline.ts +1 -1
- package/src/gen/timezones/timezones.ts +1 -1
- package/src/gen/trigger-service/trigger-service.ts +1 -1
- package/src/gen/two-factor-authentication/two-factor-authentication.ts +1 -1
- package/src/gen/types/types.ts +1 -1
- package/src/gen/user-access-tokens/user-access-tokens.ts +1 -1
- package/src/gen/user-helper-service/user-helper-service.ts +1 -1
- package/src/gen/users/users.ts +1 -1
- package/src/gen/variables/variables.ts +1 -1
- package/src/gen/web-hook-service/web-hook-service.ts +1 -1
- package/src/gen/webitel-im-api-gateway-v1-account/webitel-im-api-gateway-v1-account.ts +1 -1
- package/src/gen/webitel-im-api-gateway-v1-bots/webitel-im-api-gateway-v1-bots.ts +1 -1
- package/src/gen/webitel-im-api-gateway-v1-contacts/webitel-im-api-gateway-v1-contacts.ts +1 -1
- package/src/gen/webitel-im-api-gateway-v1-contactsettingsmanagement/webitel-im-api-gateway-v1-contactsettingsmanagement.ts +1 -1
- package/src/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.ts +1 -1
- package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.ts +1 -1
- package/src/gen/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.ts +1 -1
- package/src/gen/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.ts +9 -9
- package/src/gen/webitel-im-api-gateway-v1-threadpermission/webitel-im-api-gateway-v1-threadpermission.ts +1 -1
- package/src/gen/webitel-im-api-provider-v1-facebookservice/webitel-im-api-provider-v1-facebookservice.ts +1 -1
- package/src/gen/webitel-im-api-provider-v1-metaappservice/webitel-im-api-provider-v1-metaappservice.ts +1 -1
- package/src/gen/webitel-im-api-provider-v1-metaoauthservice/webitel-im-api-provider-v1-metaoauthservice.ts +1 -1
- package/src/gen/webitel-im-api-provider-v1-whatsappservice/webitel-im-api-provider-v1-whatsappservice.ts +1 -1
- package/src/gen/webitel-im-provider-v1-facebookservice/webitel-im-provider-v1-facebookservice.ts +1 -1
- package/src/gen/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.ts +1 -1
- package/src/gen/webitel-im-provider-v1-gatetemplateservice/webitel-im-provider-v1-gatetemplateservice.ts +1 -1
- package/src/gen/webitel-im-provider-v1-metaappservice/webitel-im-provider-v1-metaappservice.ts +1 -1
- package/src/gen/webitel-im-provider-v1-metaoauthservice/webitel-im-provider-v1-metaoauthservice.ts +1 -1
- package/src/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.ts +1 -1
- package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.ts +1 -1
- package/src/gen/working-condition-service/working-condition-service.ts +1 -1
- package/src/gen/working-schedule-service/working-schedule-service.ts +1 -1
- package/src/utils/gen/index.ts +2 -2
- package/src/validations/OAuth/OAuth.validations.ts +1 -0
- package/types/api/axios/generateInstance.d.ts +9 -1
- package/types/api/clients/agents/agentAbsence.d.ts +1 -1
- package/types/api/clients/emails/emails.d.ts +1 -2
- package/types/api/clients/fileServices/fileServices.d.ts +11 -3
- package/types/api/clients/index.d.ts +1 -1
- package/types/api/clients/pdfServices/pdfServices.d.ts +6 -2
- package/types/api/defaults/getDefaultInstance/getDefaultInstance.d.ts +1 -1
- package/types/api/interceptors/request/updateToken.interceptor.d.ts +2 -1
- package/types/api/interceptors/response/handleUnauthorized.interceptor.d.ts +2 -1
- package/types/gen/_models/{oAuth2FederationUpdateOAuthServiceBody.d.ts → apiOAuthServiceBody.d.ts} +4 -5
- package/types/gen/_models/{oAuth2FederationUpdateOAuthServiceBody.zod.d.ts → apiOAuthServiceBody.zod.d.ts} +4 -5
- package/types/gen/_models/contactsInputContact.d.ts +0 -3
- package/types/gen/_models/contactsInputContact.zod.d.ts +0 -3
- package/types/gen/_models/{deleteSpaceParams.d.ts → createArticleArticlesParams.d.ts} +1 -1
- package/types/gen/_models/{deleteSpaceParams.zod.d.ts → createArticleArticlesParams.zod.d.ts} +1 -1
- package/types/gen/_models/{locateSpaceParams.d.ts → createSpaceSpacesParams.d.ts} +1 -1
- package/types/gen/_models/{locateSpaceParams.zod.d.ts → createSpaceSpacesParams.zod.d.ts} +1 -1
- package/types/gen/_models/dataBatchCreateDatasetResponse.d.ts +17 -0
- package/types/gen/_models/dataBatchCreateDatasetResponse.zod.d.ts +17 -0
- package/types/gen/_models/dataBatchCreateError.d.ts +15 -0
- package/types/gen/_models/dataBatchCreateError.zod.d.ts +15 -0
- package/types/gen/_models/{deleteArticleParams.d.ts → deleteArticleArticlesParams.d.ts} +1 -1
- package/types/gen/_models/{deleteArticleParams.zod.d.ts → deleteArticleArticlesParams.zod.d.ts} +1 -1
- package/types/gen/_models/{createArticleParams.d.ts → deleteSpaceSpacesParams.d.ts} +1 -1
- package/types/gen/_models/{createArticleParams.zod.d.ts → deleteSpaceSpacesParams.zod.d.ts} +1 -1
- package/types/gen/_models/dictionariesBatchCreateDataBody.d.ts +16 -0
- package/types/gen/_models/dictionariesBatchCreateDataBody.zod.d.ts +16 -0
- package/types/gen/_models/{webitelImApiGatewayV1VariableEntryRequestValue.d.ts → dictionariesBatchCreateDataBodyRowsItem.d.ts} +1 -4
- package/types/gen/_models/{webitelImApiGatewayV1VariableEntryRequestValue.zod.d.ts → dictionariesBatchCreateDataBodyRowsItem.zod.d.ts} +1 -4
- package/types/gen/_models/engineAssignAttemptResponse.d.ts +9 -0
- package/types/gen/_models/engineAssignAttemptResponse.zod.d.ts +9 -0
- package/types/gen/_models/engineMemberServiceAssignAttemptBody.d.ts +10 -0
- package/types/gen/_models/engineMemberServiceAssignAttemptBody.zod.d.ts +10 -0
- package/types/gen/_models/engineSystemSettingName.d.ts +1 -0
- package/types/gen/_models/engineSystemSettingName.zod.d.ts +1 -0
- package/types/gen/_models/engineTaskProcessing.d.ts +1 -0
- package/types/gen/_models/engineTaskProcessing.zod.d.ts +1 -0
- package/types/gen/_models/{listArticlesParams.d.ts → listArticlesArticlesParams.d.ts} +1 -1
- package/types/gen/_models/{listArticlesParams.zod.d.ts → listArticlesArticlesParams.zod.d.ts} +1 -1
- package/types/gen/_models/{listSpacesParams.d.ts → listSpacesSpacesParams.d.ts} +1 -1
- package/types/gen/_models/{listSpacesParams.zod.d.ts → listSpacesSpacesParams.zod.d.ts} +1 -1
- package/types/gen/_models/{locateArticleParams.d.ts → locateArticleArticlesParams.d.ts} +1 -1
- package/types/gen/_models/{locateArticleParams.zod.d.ts → locateArticleArticlesParams.zod.d.ts} +1 -1
- package/types/gen/_models/{createSpaceParams.d.ts → locateSpaceSpacesParams.d.ts} +1 -1
- package/types/gen/_models/{createSpaceParams.zod.d.ts → locateSpaceSpacesParams.zod.d.ts} +1 -1
- package/types/gen/_models/searchSystemSettingNameItem.d.ts +1 -0
- package/types/gen/_models/searchSystemSettingNameItem.zod.d.ts +1 -0
- package/types/gen/_models/{updateArticleBody.d.ts → updateArticleArticlesBody.d.ts} +1 -1
- package/types/gen/_models/{updateArticleBody.zod.d.ts → updateArticleArticlesBody.zod.d.ts} +1 -1
- package/types/gen/_models/updateArticleArticlesParams.d.ts +12 -0
- package/types/gen/_models/updateArticleArticlesParams.zod.d.ts +12 -0
- package/types/gen/_models/updateContactBody.d.ts +0 -3
- package/types/gen/_models/updateContactBody.zod.d.ts +0 -3
- package/types/gen/_models/updateOAuthService2Params.d.ts +12 -0
- package/types/gen/_models/updateOAuthService2Params.zod.d.ts +12 -0
- package/types/gen/_models/updateOAuthServiceParams.d.ts +12 -0
- package/types/gen/_models/updateOAuthServiceParams.zod.d.ts +12 -0
- package/types/gen/_models/{updateSpaceBody.d.ts → updateSpaceSpacesBody.d.ts} +1 -1
- package/types/gen/_models/{updateSpaceBody.zod.d.ts → updateSpaceSpacesBody.zod.d.ts} +1 -1
- package/types/gen/_models/updateSpaceSpacesParams.d.ts +12 -0
- package/types/gen/_models/updateSpaceSpacesParams.zod.d.ts +12 -0
- package/types/gen/_models/webitelContactsContact.d.ts +0 -3
- package/types/gen/_models/webitelContactsContact.zod.d.ts +0 -3
- package/types/gen/_models/webitelImApiGatewayV1VariableEntry.d.ts +1 -2
- package/types/gen/_models/webitelImApiGatewayV1VariableEntry.zod.d.ts +1 -2
- package/types/gen/_models/webitelImApiGatewayV1VariableEntryRequest.d.ts +1 -2
- package/types/gen/_models/webitelImApiGatewayV1VariableEntryRequest.zod.d.ts +1 -2
- package/types/gen/access-store/access-store.d.ts +1 -1
- package/types/gen/agent-absence-service/agent-absence-service.d.ts +1 -1
- package/types/gen/agent-chat-service/agent-chat-service.d.ts +1 -1
- package/types/gen/agent-pause-cause-service/agent-pause-cause-service.d.ts +1 -1
- package/types/gen/agent-service/agent-service.d.ts +1 -1
- package/types/gen/agent-skill-service/agent-skill-service.d.ts +1 -1
- package/types/gen/agent-team-service/agent-team-service.d.ts +1 -1
- package/types/gen/agent-working-conditions-service/agent-working-conditions-service.d.ts +1 -1
- package/types/gen/agent-working-schedule-service/agent-working-schedule-service.d.ts +1 -1
- package/types/gen/articles/articles.d.ts +12 -12
- package/types/gen/articles/articles.faker.d.ts +5 -5
- package/types/gen/articles/articles.msw.d.ts +10 -10
- package/types/gen/articles/articles.zod.d.ts +17 -17
- package/types/gen/audit-form-service/audit-form-service.d.ts +1 -1
- package/types/gen/auth/auth.d.ts +1 -1
- package/types/gen/backend-profile-service/backend-profile-service.d.ts +1 -1
- package/types/gen/bucket-service/bucket-service.d.ts +1 -1
- package/types/gen/calendar-service/calendar-service.d.ts +1 -1
- package/types/gen/call-service/call-service.d.ts +1 -1
- package/types/gen/case-comments/case-comments.d.ts +1 -1
- package/types/gen/case-communications/case-communications.d.ts +1 -1
- package/types/gen/case-files/case-files.d.ts +1 -1
- package/types/gen/case-links/case-links.d.ts +1 -1
- package/types/gen/case-timeline/case-timeline.d.ts +1 -1
- package/types/gen/cases/cases.d.ts +1 -1
- package/types/gen/cases-chat-catalog/cases-chat-catalog.d.ts +1 -1
- package/types/gen/catalogs/catalogs.d.ts +1 -1
- package/types/gen/classes/classes.d.ts +1 -1
- package/types/gen/close-reason-groups/close-reason-groups.d.ts +1 -1
- package/types/gen/close-reasons/close-reasons.d.ts +1 -1
- package/types/gen/cognitive-profile-service/cognitive-profile-service.d.ts +1 -1
- package/types/gen/comments/comments.d.ts +1 -1
- package/types/gen/communication-type-service/communication-type-service.d.ts +1 -1
- package/types/gen/config-service/config-service.d.ts +1 -1
- package/types/gen/contact-groups/contact-groups.d.ts +1 -1
- package/types/gen/contact-linking-service/contact-linking-service.d.ts +1 -1
- package/types/gen/contacts/contacts.d.ts +1 -1
- package/types/gen/contacts/contacts.zod.d.ts +0 -194
- package/types/gen/contacts-chat-catalog/contacts-chat-catalog.d.ts +1 -1
- package/types/gen/customers/customers.d.ts +1 -1
- package/types/gen/devices/devices.d.ts +1 -1
- package/types/gen/dictionaries/dictionaries.d.ts +4 -2
- package/types/gen/dictionaries/dictionaries.faker.d.ts +2 -1
- package/types/gen/dictionaries/dictionaries.msw.d.ts +3 -1
- package/types/gen/dictionaries/dictionaries.zod.d.ts +21 -0
- package/types/gen/domains/domains.d.ts +1 -1
- package/types/gen/dynamic-conditions/dynamic-conditions.d.ts +1 -1
- package/types/gen/dynamic-groups/dynamic-groups.d.ts +1 -1
- package/types/gen/email-profile-service/email-profile-service.d.ts +1 -1
- package/types/gen/emails/emails.d.ts +1 -1
- package/types/gen/extensions/extensions.d.ts +1 -1
- package/types/gen/feedback-service/feedback-service.d.ts +1 -1
- package/types/gen/file-policies-service/file-policies-service.d.ts +1 -1
- package/types/gen/file-service/file-service.d.ts +1 -1
- package/types/gen/file-transcript-service/file-transcript-service.d.ts +1 -1
- package/types/gen/forecast-calculation-service/forecast-calculation-service.d.ts +1 -1
- package/types/gen/ftsservice/ftsservice.d.ts +1 -1
- package/types/gen/groups/groups.d.ts +1 -1
- package/types/gen/groups/groups.zod.d.ts +0 -56
- package/types/gen/imclients/imclients.d.ts +1 -1
- package/types/gen/import-template-service/import-template-service.d.ts +1 -1
- package/types/gen/knowledgebase-search/knowledgebase-search.d.ts +1 -1
- package/types/gen/labels/labels.d.ts +1 -1
- package/types/gen/languages/languages.d.ts +1 -1
- package/types/gen/ldap/ldap.d.ts +1 -1
- package/types/gen/list-service/list-service.d.ts +1 -1
- package/types/gen/logger-service/logger-service.d.ts +1 -1
- package/types/gen/managers/managers.d.ts +1 -1
- package/types/gen/media-file-service/media-file-service.d.ts +1 -1
- package/types/gen/meeting-service/meeting-service.d.ts +1 -1
- package/types/gen/member-service/member-service.d.ts +4 -2
- package/types/gen/member-service/member-service.faker.d.ts +2 -1
- package/types/gen/member-service/member-service.msw.d.ts +3 -1
- package/types/gen/member-service/member-service.zod.d.ts +7 -0
- package/types/gen/messages/messages.d.ts +1 -1
- package/types/gen/oauth2-federation/oauth2-federation.d.ts +4 -4
- package/types/gen/oauth2-federation/oauth2-federation.zod.d.ts +62 -62
- package/types/gen/outbound-resource-group-service/outbound-resource-group-service.d.ts +1 -1
- package/types/gen/outbound-resource-service/outbound-resource-service.d.ts +1 -1
- package/types/gen/pause-template-service/pause-template-service.d.ts +1 -1
- package/types/gen/pdf-service/pdf-service.d.ts +1 -1
- package/types/gen/permissions/permissions.d.ts +1 -1
- package/types/gen/phones/phones.d.ts +1 -1
- package/types/gen/photos/photos.d.ts +1 -1
- package/types/gen/presence/presence.d.ts +1 -1
- package/types/gen/preset-query-service/preset-query-service.d.ts +1 -1
- package/types/gen/priorities/priorities.d.ts +1 -1
- package/types/gen/queue-bucket-service/queue-bucket-service.d.ts +1 -1
- package/types/gen/queue-hook-service/queue-hook-service.d.ts +1 -1
- package/types/gen/queue-resources-service/queue-resources-service.d.ts +1 -1
- package/types/gen/queue-service/queue-service.d.ts +1 -1
- package/types/gen/queue-service/queue-service.zod.d.ts +9 -0
- package/types/gen/queue-skill-service/queue-skill-service.d.ts +1 -1
- package/types/gen/quick-replies-service/quick-replies-service.d.ts +1 -1
- package/types/gen/records/records.d.ts +1 -1
- package/types/gen/region-service/region-service.d.ts +1 -1
- package/types/gen/related-cases/related-cases.d.ts +1 -1
- package/types/gen/routing-chat-plan-service/routing-chat-plan-service.d.ts +1 -1
- package/types/gen/routing-outbound-call-service/routing-outbound-call-service.d.ts +1 -1
- package/types/gen/routing-schema-service/routing-schema-service.d.ts +1 -1
- package/types/gen/routing-variable-service/routing-variable-service.d.ts +1 -1
- package/types/gen/schema-variables-service/schema-variables-service.d.ts +1 -1
- package/types/gen/schema-version-service/schema-version-service.d.ts +1 -1
- package/types/gen/services/services.d.ts +1 -1
- package/types/gen/shift-template-service/shift-template-service.d.ts +1 -1
- package/types/gen/skill-service/skill-service.d.ts +1 -1
- package/types/gen/slaconditions/slaconditions.d.ts +1 -1
- package/types/gen/slas/slas.d.ts +1 -1
- package/types/gen/sources/sources.d.ts +1 -1
- package/types/gen/spaces/spaces.d.ts +12 -12
- package/types/gen/spaces/spaces.faker.d.ts +5 -5
- package/types/gen/spaces/spaces.msw.d.ts +10 -10
- package/types/gen/spaces/spaces.zod.d.ts +19 -19
- package/types/gen/status-conditions/status-conditions.d.ts +1 -1
- package/types/gen/statuses/statuses.d.ts +1 -1
- package/types/gen/system-setting-service/system-setting-service.d.ts +1 -1
- package/types/gen/system-setting-service/system-setting-service.zod.d.ts +8 -0
- package/types/gen/tags/tags.d.ts +1 -1
- package/types/gen/team-hook-service/team-hook-service.d.ts +1 -1
- package/types/gen/team-trigger-service/team-trigger-service.d.ts +1 -1
- package/types/gen/timeline/timeline.d.ts +1 -1
- package/types/gen/timezones/timezones.d.ts +1 -1
- package/types/gen/trigger-service/trigger-service.d.ts +1 -1
- package/types/gen/two-factor-authentication/two-factor-authentication.d.ts +1 -1
- package/types/gen/types/types.d.ts +1 -1
- package/types/gen/user-access-tokens/user-access-tokens.d.ts +1 -1
- package/types/gen/user-helper-service/user-helper-service.d.ts +1 -1
- package/types/gen/users/users.d.ts +1 -1
- package/types/gen/variables/variables.d.ts +1 -1
- package/types/gen/web-hook-service/web-hook-service.d.ts +1 -1
- package/types/gen/webitel-im-api-gateway-v1-account/webitel-im-api-gateway-v1-account.d.ts +1 -1
- package/types/gen/webitel-im-api-gateway-v1-bots/webitel-im-api-gateway-v1-bots.d.ts +1 -1
- package/types/gen/webitel-im-api-gateway-v1-contacts/webitel-im-api-gateway-v1-contacts.d.ts +1 -1
- package/types/gen/webitel-im-api-gateway-v1-contactsettingsmanagement/webitel-im-api-gateway-v1-contactsettingsmanagement.d.ts +1 -1
- package/types/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.d.ts +1 -1
- package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.d.ts +1 -1
- package/types/gen/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.d.ts +1 -1
- package/types/gen/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.d.ts +9 -9
- package/types/gen/webitel-im-api-gateway-v1-threadpermission/webitel-im-api-gateway-v1-threadpermission.d.ts +1 -1
- package/types/gen/webitel-im-api-provider-v1-facebookservice/webitel-im-api-provider-v1-facebookservice.d.ts +1 -1
- package/types/gen/webitel-im-api-provider-v1-metaappservice/webitel-im-api-provider-v1-metaappservice.d.ts +1 -1
- package/types/gen/webitel-im-api-provider-v1-metaoauthservice/webitel-im-api-provider-v1-metaoauthservice.d.ts +1 -1
- package/types/gen/webitel-im-api-provider-v1-whatsappservice/webitel-im-api-provider-v1-whatsappservice.d.ts +1 -1
- package/types/gen/webitel-im-provider-v1-facebookservice/webitel-im-provider-v1-facebookservice.d.ts +1 -1
- package/types/gen/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.d.ts +1 -1
- package/types/gen/webitel-im-provider-v1-gatetemplateservice/webitel-im-provider-v1-gatetemplateservice.d.ts +1 -1
- package/types/gen/webitel-im-provider-v1-metaappservice/webitel-im-provider-v1-metaappservice.d.ts +1 -1
- package/types/gen/webitel-im-provider-v1-metaoauthservice/webitel-im-provider-v1-metaoauthservice.d.ts +1 -1
- package/types/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.d.ts +1 -1
- package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.d.ts +1 -1
- package/types/gen/working-condition-service/working-condition-service.d.ts +1 -1
- package/types/gen/working-schedule-service/working-schedule-service.d.ts +1 -1
- package/types/utils/gen/index.d.ts +1 -1
- package/src/gen/_models/oAuth2FederationUpdateOAuthServiceBodyBody.ts +0 -10
- package/src/gen/_models/oAuth2FederationUpdateOAuthServiceBodyBody.zod.ts +0 -10
- package/src/gen/_models/updateArticleParams.ts +0 -13
- package/src/gen/_models/updateArticleParams.zod.ts +0 -13
- package/src/gen/_models/updateSpaceParams.ts +0 -13
- package/src/gen/_models/updateSpaceParams.zod.ts +0 -13
- package/src/gen/_models/webitelImApiGatewayV1VariableEntryValue.ts +0 -14
- package/src/gen/_models/webitelImApiGatewayV1VariableEntryValue.zod.ts +0 -14
- package/types/gen/_models/oAuth2FederationUpdateOAuthServiceBodyBody.d.ts +0 -8
- package/types/gen/_models/oAuth2FederationUpdateOAuthServiceBodyBody.zod.d.ts +0 -8
- package/types/gen/_models/updateArticleParams.d.ts +0 -12
- package/types/gen/_models/updateArticleParams.zod.d.ts +0 -12
- package/types/gen/_models/updateSpaceParams.d.ts +0 -12
- package/types/gen/_models/updateSpaceParams.zod.d.ts +0 -12
- package/types/gen/_models/webitelImApiGatewayV1VariableEntryValue.d.ts +0 -13
- package/types/gen/_models/webitelImApiGatewayV1VariableEntryValue.zod.d.ts +0 -13
|
@@ -8,10 +8,10 @@ import * as zod from 'zod';
|
|
|
8
8
|
/**
|
|
9
9
|
* @summary List of the Space's Article(s).
|
|
10
10
|
*/
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const ListArticlesArticlesParams: zod.ZodObject<{
|
|
12
12
|
space_id: zod.ZodString;
|
|
13
13
|
}, zod.z.core.$strip>;
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const ListArticlesArticlesQueryParams: zod.ZodObject<{
|
|
15
15
|
page: zod.ZodOptional<zod.ZodNumber>;
|
|
16
16
|
size: zod.ZodOptional<zod.ZodNumber>;
|
|
17
17
|
sort: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
@@ -21,7 +21,7 @@ export declare const ListArticlesQueryParams: zod.ZodObject<{
|
|
|
21
21
|
state: zod.ZodOptional<zod.ZodBoolean>;
|
|
22
22
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
23
23
|
}, zod.z.core.$strip>;
|
|
24
|
-
export declare const
|
|
24
|
+
export declare const ListArticlesArticlesResponse: zod.ZodObject<{
|
|
25
25
|
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
26
26
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
27
27
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -50,13 +50,13 @@ export declare const ListArticlesResponse: zod.ZodObject<{
|
|
|
50
50
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
51
51
|
page: zod.ZodOptional<zod.ZodNumber>;
|
|
52
52
|
}, zod.z.core.$strip>;
|
|
53
|
-
export declare const
|
|
53
|
+
export declare const CreateArticleArticlesParams: zod.ZodObject<{
|
|
54
54
|
space_id: zod.ZodString;
|
|
55
55
|
}, zod.z.core.$strip>;
|
|
56
|
-
export declare const
|
|
56
|
+
export declare const CreateArticleArticlesQueryParams: zod.ZodObject<{
|
|
57
57
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
58
58
|
}, zod.z.core.$strip>;
|
|
59
|
-
export declare const
|
|
59
|
+
export declare const CreateArticleArticlesBody: zod.ZodObject<{
|
|
60
60
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
61
61
|
etag: zod.ZodString;
|
|
62
62
|
parentArticle: zod.ZodOptional<zod.ZodString>;
|
|
@@ -66,7 +66,7 @@ export declare const CreateArticleBody: zod.ZodObject<{
|
|
|
66
66
|
text: zod.ZodOptional<zod.ZodString>;
|
|
67
67
|
title: zod.ZodOptional<zod.ZodString>;
|
|
68
68
|
}, zod.z.core.$strip>;
|
|
69
|
-
export declare const
|
|
69
|
+
export declare const CreateArticleArticlesResponse: zod.ZodObject<{
|
|
70
70
|
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
71
71
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
72
72
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -214,14 +214,14 @@ export declare const LocateArticleVersionResponse: zod.ZodObject<{
|
|
|
214
214
|
/**
|
|
215
215
|
* @summary Remove the space's Article association.
|
|
216
216
|
*/
|
|
217
|
-
export declare const
|
|
217
|
+
export declare const DeleteArticleArticlesParams: zod.ZodObject<{
|
|
218
218
|
space_id: zod.ZodString;
|
|
219
219
|
etag: zod.ZodString;
|
|
220
220
|
}, zod.z.core.$strip>;
|
|
221
|
-
export declare const
|
|
221
|
+
export declare const DeleteArticleArticlesQueryParams: zod.ZodObject<{
|
|
222
222
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
223
223
|
}, zod.z.core.$strip>;
|
|
224
|
-
export declare const
|
|
224
|
+
export declare const DeleteArticleArticlesResponse: zod.ZodObject<{
|
|
225
225
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
226
226
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
227
227
|
createdBy: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -249,14 +249,14 @@ export declare const DeleteArticleResponse: zod.ZodObject<{
|
|
|
249
249
|
/**
|
|
250
250
|
* @summary Locate the space's Article association.
|
|
251
251
|
*/
|
|
252
|
-
export declare const
|
|
252
|
+
export declare const LocateArticleArticlesParams: zod.ZodObject<{
|
|
253
253
|
space_id: zod.ZodString;
|
|
254
254
|
etag: zod.ZodString;
|
|
255
255
|
}, zod.z.core.$strip>;
|
|
256
|
-
export declare const
|
|
256
|
+
export declare const LocateArticleArticlesQueryParams: zod.ZodObject<{
|
|
257
257
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
258
258
|
}, zod.z.core.$strip>;
|
|
259
|
-
export declare const
|
|
259
|
+
export declare const LocateArticleArticlesResponse: zod.ZodObject<{
|
|
260
260
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
261
261
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
262
262
|
createdBy: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -284,14 +284,14 @@ export declare const LocateArticleResponse: zod.ZodObject<{
|
|
|
284
284
|
/**
|
|
285
285
|
* @summary Update the space's Article details.
|
|
286
286
|
*/
|
|
287
|
-
export declare const
|
|
287
|
+
export declare const UpdateArticleArticlesParams: zod.ZodObject<{
|
|
288
288
|
space_id: zod.ZodString;
|
|
289
289
|
etag: zod.ZodString;
|
|
290
290
|
}, zod.z.core.$strip>;
|
|
291
|
-
export declare const
|
|
291
|
+
export declare const UpdateArticleArticlesQueryParams: zod.ZodObject<{
|
|
292
292
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
293
293
|
}, zod.z.core.$strip>;
|
|
294
|
-
export declare const
|
|
294
|
+
export declare const UpdateArticleArticlesBody: zod.ZodObject<{
|
|
295
295
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
296
296
|
parentArticle: zod.ZodOptional<zod.ZodString>;
|
|
297
297
|
pinned: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -300,7 +300,7 @@ export declare const UpdateArticleBody: zod.ZodObject<{
|
|
|
300
300
|
text: zod.ZodOptional<zod.ZodString>;
|
|
301
301
|
title: zod.ZodOptional<zod.ZodString>;
|
|
302
302
|
}, zod.z.core.$strip>;
|
|
303
|
-
export declare const
|
|
303
|
+
export declare const UpdateArticleArticlesResponse: zod.ZodObject<{
|
|
304
304
|
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
305
305
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
306
306
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { EngineAuditForm, EngineAuditFormServicePatchAuditFormBody, EngineAuditFormServiceUpdateAuditFormBody, EngineAuditFormServiceUpdateAuditRateBody, EngineAuditRate, EngineCreateAuditFormRateRequest, EngineCreateAuditFormRequest, EngineListAuditForm, EngineListAuditRate, SearchAuditFormParams, SearchAuditRateParams } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getAuditFormService: (axiosInstance?: AxiosInstance) => {
|
package/types/gen/auth/auth.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { ApiLoginResponse, ApiUserinfo, SignupParams, UserInfo2Params, UserInfoParams } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getAuth: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { DeleteBackendProfileParams, ReadBackendProfileParams, SearchBackendProfileParams, StorageBackendProfile, StorageBackendProfileServicePatchBackendProfileBody, StorageBackendProfileServiceUpdateBackendProfileBody, StorageCreateBackendProfileRequest, StorageListBackendProfile } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getBackendProfileService: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { DeleteBucketParams, EngineBucket, EngineBucketServiceUpdateBucketBody, EngineCreateBucketRequest, EngineListBucket, ReadBucketParams, SearchBucketParams } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getBucketService: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { DeleteCalendarParams, EngineCalendar, EngineCalendarServiceUpdateCalendarBody, EngineCreateCalendarRequest, EngineListCalendar, EngineListTimezoneResponse, ReadCalendarParams, SearchCalendarParams, SearchTimezonesParams } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCalendarService: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { EngineActiveCall, EngineAggregateHistoryCallRequest, EngineBlindTransferCallResponse, EngineCallAnnotation, EngineCallServiceBlindTransferCallBody, EngineCallServiceCreateCallAnnotationBody, EngineCallServiceDtmfCallBody, EngineCallServiceEavesdropCallBody, EngineCallServiceHangupCallBody, EngineCallServiceHoldCallBody, EngineCallServicePatchHistoryCallBody, EngineCallServiceRedialCallBody, EngineCallServiceSetVariablesCallBody, EngineCallServiceUnHoldCallBody, EngineCallServiceUpdateCallAnnotationBody, EngineConfirmPushResponse, EngineCreateCallRequest, EngineCreateCallResponse, EngineDtmfCallResponse, EngineHangupCallResponse, EngineHistoryCall, EngineHoldCallResponse, EngineListAggregate, EngineListCall, EngineListHistoryCall, EngineSearchHistoryCallRequest, EngineSetVariablesCallResponse, ReadCallParams, SearchActiveCallParams, SearchHistoryCallParams } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCallService: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { DeleteCommentParams, ListCommentsParams, LocateCommentParams, PublishCommentParams, UpdateComment2Body, UpdateComment2Params, UpdateCommentBody, UpdateCommentParams, WebitelCasesCaseComment, WebitelCasesCaseCommentList, WebitelCasesInputCaseComment } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCaseComments: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { LinkCommunicationParams, ListCommunicationsParams, UnlinkCommunicationParams, WebitelCasesInputCaseCommunication, WebitelCasesLinkCommunicationResponse, WebitelCasesListCommunicationsResponse, WebitelCasesUnlinkCommunicationResponse } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCaseCommunications: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { ListFilesParams, WebitelCasesCaseFileList, WebitelCasesFile } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCaseFiles: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { CreateLinkParams, ListLinksParams, LocateLinkParams, UpdateLink2Body, UpdateLink2Params, UpdateLinkBody, UpdateLinkParams, WebitelCasesCaseLink, WebitelCasesCaseLinkList } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCaseLinks: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { GetTimelineParams, WebitelCasesGetTimelineCounterResponse, WebitelCasesGetTimelineResponse } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCaseTimeline: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { CreateCaseParams, DeleteCaseParams, ExportCases200, ExportCasesParams, LocateCaseParams, SearchCases2Params, SearchCasesParams, UpdateCase2Body, UpdateCase2Params, UpdateCaseBody, UpdateCaseParams, WebitelCasesCase, WebitelCasesCaseList, WebitelCasesInputCreateCase, WebitelCasesUpdateCaseResponse } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCases: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { CasesChatCatalogGetCaseChatHistoryParams, WebitelChatChatMessages } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCasesChatCatalog: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { CreateCatalogParams, ListCatalogsParams, LocateCatalogParams, UpdateCatalog2Params, UpdateCatalogParams, WebitelCasesCatalog, WebitelCasesCatalogList, WebitelCasesInputCatalog, WebitelCasesLocateCatalogResponse } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCatalogs: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { ApiReadClassResponse, ApiSearchClassesResponse, ApiUpdateClassResponse, ClassesUpdateClassBody, ReadClassParams, SearchClassesParams } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getClasses: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { CreateCloseReasonGroupParams, ListCloseReasonGroupsParams, LocateCloseReasonGroupParams, UpdateCloseReasonGroup2Params, UpdateCloseReasonGroupParams, WebitelCasesCloseReasonGroup, WebitelCasesCloseReasonGroupList, WebitelCasesInputCloseReasonGroup, WebitelCasesInputCloseReasonGroupBody, WebitelCasesLocateCloseReasonGroupResponse } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCloseReasonGroups: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { CreateCloseReasonParams, ListCloseReasonsParams, LocateCloseReasonParams, UpdateCloseReason2Params, UpdateCloseReasonParams, WebitelCasesCloseReason, WebitelCasesCloseReasonList, WebitelCasesInputCloseReason, WebitelCasesLocateCloseReasonResponse } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCloseReasons: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { SearchCognitiveProfileParams, SearchCognitiveProfileVoicesParams, StorageCognitiveProfile, StorageCognitiveProfileServicePatchCognitiveProfileBody, StorageCognitiveProfileServiceUpdateCognitiveProfileBody, StorageCreateCognitiveProfileRequest, StorageListCognitiveProfile, StorageListCognitiveProfileVoices } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCognitiveProfileService: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { ContactsComment, ContactsCommentList, ContactsInputComment, DeleteCommentCommentsParams, PublishCommentCommentsParams, SearchCommentsParams, UpdateCommentCommentsBody, UpdateCommentCommentsParams } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getComments: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { DeleteCommunicationTypeParams, EngineCommunicationType, EngineCommunicationTypeRequest, EngineCommunicationTypeServicePatchCommunicationTypeBody, EngineCommunicationTypeServiceUpdateCommunicationTypeBody, EngineListCommunicationType, ReadCommunicationTypeParams, SearchCommunicationTypeParams } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCommunicationTypeService: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { ConfigServicePatchConfigBody, ConfigServiceReadSystemObjectsParams, ConfigServiceSearchConfigParams, ConfigServiceUpdateConfigBody, LoggerConfig, LoggerConfigs, LoggerCreateConfigRequest, LoggerEmpty, LoggerSystemObjects } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getConfigService: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { ContactsContactGroup, ContactsContactGroupList, ContactsInputContactGroup, DeleteContactGroupParams, DeleteContactGroupsParams, ListContactGroupsParams, LocateContactGroupParams, MergeContactGroupsParams, ResetContactGroupsParams, UpdateContactGroup2Body, UpdateContactGroup2Params, UpdateContactGroupBody, UpdateContactGroupParams } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getContactGroups: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { ContactLinkingServiceCreateContactFromConversationParams, ContactLinkingServiceLinkContactToClientParams, WebitelChatEmptyResponse, WebitelChatLookup } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getContactLinkingService: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { ContactsContactList, ContactsCreateContactsBulkResponse, ContactsInputContact, CreateContactParams, CreateContactsParams, DeleteContactParams, LocateContactParams, SearchContactsParams, UpdateContactBody, UpdateContactParams, WebitelContactsContact } from '../_models';
|
|
3
3
|
type IfEquals<X, Y, A = X, B = never> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? A : B;
|
|
4
4
|
type WritableKeys<T> = {
|
|
@@ -27,7 +27,6 @@ import * as zod from 'zod';
|
|
|
27
27
|
* | `managers` | list[manager!]
|
|
28
28
|
* | `comments` | list[comment!]
|
|
29
29
|
* | `addresses` | list[address!]
|
|
30
|
-
* | `languages` | list[language!]
|
|
31
30
|
* | `timezones` | list[timezone!]
|
|
32
31
|
* | `variables` | list[variable!]
|
|
33
32
|
* | `imclients` | list[imClient!]
|
|
@@ -220,34 +219,6 @@ export declare const SearchContactsResponse: zod.ZodObject<{
|
|
|
220
219
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
221
220
|
page: zod.ZodOptional<zod.ZodNumber>;
|
|
222
221
|
}, zod.z.core.$strip>>;
|
|
223
|
-
languages: zod.ZodOptional<zod.ZodObject<{
|
|
224
|
-
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
225
|
-
code: zod.ZodOptional<zod.ZodString>;
|
|
226
|
-
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
227
|
-
createdBy: zod.ZodOptional<zod.ZodObject<{
|
|
228
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
229
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
230
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
231
|
-
}, zod.z.core.$strip>>;
|
|
232
|
-
etag: zod.ZodOptional<zod.ZodString>;
|
|
233
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
234
|
-
lang: zod.ZodOptional<zod.ZodString>;
|
|
235
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
236
|
-
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
237
|
-
region: zod.ZodOptional<zod.ZodString>;
|
|
238
|
-
script: zod.ZodOptional<zod.ZodString>;
|
|
239
|
-
tag: zod.ZodOptional<zod.ZodString>;
|
|
240
|
-
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
241
|
-
updatedBy: zod.ZodOptional<zod.ZodObject<{
|
|
242
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
243
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
244
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
245
|
-
}, zod.z.core.$strip>>;
|
|
246
|
-
ver: zod.ZodOptional<zod.ZodNumber>;
|
|
247
|
-
}, zod.z.core.$strip>>>;
|
|
248
|
-
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
249
|
-
page: zod.ZodOptional<zod.ZodNumber>;
|
|
250
|
-
}, zod.z.core.$strip>>;
|
|
251
222
|
managers: zod.ZodOptional<zod.ZodObject<{
|
|
252
223
|
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
253
224
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -461,11 +432,6 @@ export declare const CreateContactBody: zod.ZodObject<{
|
|
|
461
432
|
etag: zod.ZodOptional<zod.ZodString>;
|
|
462
433
|
label: zod.ZodOptional<zod.ZodString>;
|
|
463
434
|
}, zod.z.core.$strip>>>;
|
|
464
|
-
languages: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
465
|
-
etag: zod.ZodString;
|
|
466
|
-
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
467
|
-
tag: zod.ZodOptional<zod.ZodString>;
|
|
468
|
-
}, zod.z.core.$strip>>>;
|
|
469
435
|
managers: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
470
436
|
etag: zod.ZodString;
|
|
471
437
|
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -671,34 +637,6 @@ export declare const CreateContactResponse: zod.ZodObject<{
|
|
|
671
637
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
672
638
|
page: zod.ZodOptional<zod.ZodNumber>;
|
|
673
639
|
}, zod.z.core.$strip>>;
|
|
674
|
-
languages: zod.ZodOptional<zod.ZodObject<{
|
|
675
|
-
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
676
|
-
code: zod.ZodOptional<zod.ZodString>;
|
|
677
|
-
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
678
|
-
createdBy: zod.ZodOptional<zod.ZodObject<{
|
|
679
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
680
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
681
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
682
|
-
}, zod.z.core.$strip>>;
|
|
683
|
-
etag: zod.ZodOptional<zod.ZodString>;
|
|
684
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
685
|
-
lang: zod.ZodOptional<zod.ZodString>;
|
|
686
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
687
|
-
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
688
|
-
region: zod.ZodOptional<zod.ZodString>;
|
|
689
|
-
script: zod.ZodOptional<zod.ZodString>;
|
|
690
|
-
tag: zod.ZodOptional<zod.ZodString>;
|
|
691
|
-
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
692
|
-
updatedBy: zod.ZodOptional<zod.ZodObject<{
|
|
693
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
694
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
695
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
696
|
-
}, zod.z.core.$strip>>;
|
|
697
|
-
ver: zod.ZodOptional<zod.ZodNumber>;
|
|
698
|
-
}, zod.z.core.$strip>>>;
|
|
699
|
-
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
700
|
-
page: zod.ZodOptional<zod.ZodNumber>;
|
|
701
|
-
}, zod.z.core.$strip>>;
|
|
702
640
|
managers: zod.ZodOptional<zod.ZodObject<{
|
|
703
641
|
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
704
642
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -909,11 +847,6 @@ export declare const CreateContactsBodyItem: zod.ZodObject<{
|
|
|
909
847
|
etag: zod.ZodOptional<zod.ZodString>;
|
|
910
848
|
label: zod.ZodOptional<zod.ZodString>;
|
|
911
849
|
}, zod.z.core.$strip>>>;
|
|
912
|
-
languages: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
913
|
-
etag: zod.ZodString;
|
|
914
|
-
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
915
|
-
tag: zod.ZodOptional<zod.ZodString>;
|
|
916
|
-
}, zod.z.core.$strip>>>;
|
|
917
850
|
managers: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
918
851
|
etag: zod.ZodString;
|
|
919
852
|
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -1008,11 +941,6 @@ export declare const CreateContactsBody: zod.ZodArray<zod.ZodObject<{
|
|
|
1008
941
|
etag: zod.ZodOptional<zod.ZodString>;
|
|
1009
942
|
label: zod.ZodOptional<zod.ZodString>;
|
|
1010
943
|
}, zod.z.core.$strip>>>;
|
|
1011
|
-
languages: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1012
|
-
etag: zod.ZodString;
|
|
1013
|
-
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
1014
|
-
tag: zod.ZodOptional<zod.ZodString>;
|
|
1015
|
-
}, zod.z.core.$strip>>>;
|
|
1016
944
|
managers: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1017
945
|
etag: zod.ZodString;
|
|
1018
946
|
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -1220,34 +1148,6 @@ export declare const CreateContactsResponse: zod.ZodObject<{
|
|
|
1220
1148
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
1221
1149
|
page: zod.ZodOptional<zod.ZodNumber>;
|
|
1222
1150
|
}, zod.z.core.$strip>>;
|
|
1223
|
-
languages: zod.ZodOptional<zod.ZodObject<{
|
|
1224
|
-
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1225
|
-
code: zod.ZodOptional<zod.ZodString>;
|
|
1226
|
-
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
1227
|
-
createdBy: zod.ZodOptional<zod.ZodObject<{
|
|
1228
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
1229
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
1230
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
1231
|
-
}, zod.z.core.$strip>>;
|
|
1232
|
-
etag: zod.ZodOptional<zod.ZodString>;
|
|
1233
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
1234
|
-
lang: zod.ZodOptional<zod.ZodString>;
|
|
1235
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
1236
|
-
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
1237
|
-
region: zod.ZodOptional<zod.ZodString>;
|
|
1238
|
-
script: zod.ZodOptional<zod.ZodString>;
|
|
1239
|
-
tag: zod.ZodOptional<zod.ZodString>;
|
|
1240
|
-
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
1241
|
-
updatedBy: zod.ZodOptional<zod.ZodObject<{
|
|
1242
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
1243
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
1244
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
1245
|
-
}, zod.z.core.$strip>>;
|
|
1246
|
-
ver: zod.ZodOptional<zod.ZodNumber>;
|
|
1247
|
-
}, zod.z.core.$strip>>>;
|
|
1248
|
-
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
1249
|
-
page: zod.ZodOptional<zod.ZodNumber>;
|
|
1250
|
-
}, zod.z.core.$strip>>;
|
|
1251
1151
|
managers: zod.ZodOptional<zod.ZodObject<{
|
|
1252
1152
|
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1253
1153
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -1460,11 +1360,6 @@ export declare const CreateContactsResponse: zod.ZodObject<{
|
|
|
1460
1360
|
etag: zod.ZodOptional<zod.ZodString>;
|
|
1461
1361
|
label: zod.ZodOptional<zod.ZodString>;
|
|
1462
1362
|
}, zod.z.core.$strip>>>;
|
|
1463
|
-
languages: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1464
|
-
etag: zod.ZodString;
|
|
1465
|
-
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
1466
|
-
tag: zod.ZodOptional<zod.ZodString>;
|
|
1467
|
-
}, zod.z.core.$strip>>>;
|
|
1468
1363
|
managers: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1469
1364
|
etag: zod.ZodString;
|
|
1470
1365
|
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -1687,34 +1582,6 @@ export declare const DeleteContactResponse: zod.ZodObject<{
|
|
|
1687
1582
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
1688
1583
|
page: zod.ZodOptional<zod.ZodNumber>;
|
|
1689
1584
|
}, zod.z.core.$strip>>;
|
|
1690
|
-
languages: zod.ZodOptional<zod.ZodObject<{
|
|
1691
|
-
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1692
|
-
code: zod.ZodOptional<zod.ZodString>;
|
|
1693
|
-
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
1694
|
-
createdBy: zod.ZodOptional<zod.ZodObject<{
|
|
1695
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
1696
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
1697
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
1698
|
-
}, zod.z.core.$strip>>;
|
|
1699
|
-
etag: zod.ZodOptional<zod.ZodString>;
|
|
1700
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
1701
|
-
lang: zod.ZodOptional<zod.ZodString>;
|
|
1702
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
1703
|
-
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
1704
|
-
region: zod.ZodOptional<zod.ZodString>;
|
|
1705
|
-
script: zod.ZodOptional<zod.ZodString>;
|
|
1706
|
-
tag: zod.ZodOptional<zod.ZodString>;
|
|
1707
|
-
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
1708
|
-
updatedBy: zod.ZodOptional<zod.ZodObject<{
|
|
1709
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
1710
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
1711
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
1712
|
-
}, zod.z.core.$strip>>;
|
|
1713
|
-
ver: zod.ZodOptional<zod.ZodNumber>;
|
|
1714
|
-
}, zod.z.core.$strip>>>;
|
|
1715
|
-
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
1716
|
-
page: zod.ZodOptional<zod.ZodNumber>;
|
|
1717
|
-
}, zod.z.core.$strip>>;
|
|
1718
1585
|
managers: zod.ZodOptional<zod.ZodObject<{
|
|
1719
1586
|
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1720
1587
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2044,34 +1911,6 @@ export declare const LocateContactResponse: zod.ZodObject<{
|
|
|
2044
1911
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
2045
1912
|
page: zod.ZodOptional<zod.ZodNumber>;
|
|
2046
1913
|
}, zod.z.core.$strip>>;
|
|
2047
|
-
languages: zod.ZodOptional<zod.ZodObject<{
|
|
2048
|
-
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2049
|
-
code: zod.ZodOptional<zod.ZodString>;
|
|
2050
|
-
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
2051
|
-
createdBy: zod.ZodOptional<zod.ZodObject<{
|
|
2052
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
2053
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
2054
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
2055
|
-
}, zod.z.core.$strip>>;
|
|
2056
|
-
etag: zod.ZodOptional<zod.ZodString>;
|
|
2057
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
2058
|
-
lang: zod.ZodOptional<zod.ZodString>;
|
|
2059
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
2060
|
-
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
2061
|
-
region: zod.ZodOptional<zod.ZodString>;
|
|
2062
|
-
script: zod.ZodOptional<zod.ZodString>;
|
|
2063
|
-
tag: zod.ZodOptional<zod.ZodString>;
|
|
2064
|
-
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
2065
|
-
updatedBy: zod.ZodOptional<zod.ZodObject<{
|
|
2066
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
2067
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
2068
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
2069
|
-
}, zod.z.core.$strip>>;
|
|
2070
|
-
ver: zod.ZodOptional<zod.ZodNumber>;
|
|
2071
|
-
}, zod.z.core.$strip>>>;
|
|
2072
|
-
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
2073
|
-
page: zod.ZodOptional<zod.ZodNumber>;
|
|
2074
|
-
}, zod.z.core.$strip>>;
|
|
2075
1914
|
managers: zod.ZodOptional<zod.ZodObject<{
|
|
2076
1915
|
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2077
1916
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2284,11 +2123,6 @@ export declare const UpdateContactBody: zod.ZodObject<{
|
|
|
2284
2123
|
etag: zod.ZodOptional<zod.ZodString>;
|
|
2285
2124
|
label: zod.ZodOptional<zod.ZodString>;
|
|
2286
2125
|
}, zod.z.core.$strip>>>;
|
|
2287
|
-
languages: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2288
|
-
etag: zod.ZodString;
|
|
2289
|
-
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
2290
|
-
tag: zod.ZodOptional<zod.ZodString>;
|
|
2291
|
-
}, zod.z.core.$strip>>>;
|
|
2292
2126
|
managers: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2293
2127
|
etag: zod.ZodString;
|
|
2294
2128
|
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -2494,34 +2328,6 @@ export declare const UpdateContactResponse: zod.ZodObject<{
|
|
|
2494
2328
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
2495
2329
|
page: zod.ZodOptional<zod.ZodNumber>;
|
|
2496
2330
|
}, zod.z.core.$strip>>;
|
|
2497
|
-
languages: zod.ZodOptional<zod.ZodObject<{
|
|
2498
|
-
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2499
|
-
code: zod.ZodOptional<zod.ZodString>;
|
|
2500
|
-
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
2501
|
-
createdBy: zod.ZodOptional<zod.ZodObject<{
|
|
2502
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
2503
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
2504
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
2505
|
-
}, zod.z.core.$strip>>;
|
|
2506
|
-
etag: zod.ZodOptional<zod.ZodString>;
|
|
2507
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
2508
|
-
lang: zod.ZodOptional<zod.ZodString>;
|
|
2509
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
2510
|
-
primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
2511
|
-
region: zod.ZodOptional<zod.ZodString>;
|
|
2512
|
-
script: zod.ZodOptional<zod.ZodString>;
|
|
2513
|
-
tag: zod.ZodOptional<zod.ZodString>;
|
|
2514
|
-
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
2515
|
-
updatedBy: zod.ZodOptional<zod.ZodObject<{
|
|
2516
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
2517
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
2518
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
2519
|
-
}, zod.z.core.$strip>>;
|
|
2520
|
-
ver: zod.ZodOptional<zod.ZodNumber>;
|
|
2521
|
-
}, zod.z.core.$strip>>>;
|
|
2522
|
-
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
2523
|
-
page: zod.ZodOptional<zod.ZodNumber>;
|
|
2524
|
-
}, zod.z.core.$strip>>;
|
|
2525
2331
|
managers: zod.ZodOptional<zod.ZodObject<{
|
|
2526
2332
|
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2527
2333
|
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { ContactsChatCatalogGetContactChatHistory2Params, ContactsChatCatalogGetContactChatHistoryParams, WebitelChatGetContactChatHistoryResponse } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getContactsChatCatalog: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { ApiGetCustomerResponse, ApiLicenseUsageResponse, ApiLicenseUsersResponse, ApiServerInfoResponse, ApiUpdateCustomerResponse, GetCustomer2Params, GetCustomerParams, LicenseUsage2Params, LicenseUsage3Params, LicenseUsageParams, LicenseUsersParams, UpdateCustomerParams } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getCustomers: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import type { ApiCreateDeviceResponse, ApiDeleteDeviceResponse, ApiDevice, ApiDeviceAuditResponse, ApiListRegistrationsResponse, ApiReadDeviceResponse, ApiSearchDeviceResponse, ApiUpdateDeviceResponse, DeleteDevice2Params, DeleteDeviceParams, ListRegistrationsParams, ReadDeviceParams, SearchDeviceAuditParams, SearchDeviceParams, UpdateDevice2Body, UpdateDevice2Params, UpdateDeviceBody, UpdateDeviceParams } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getDevices: (axiosInstance?: AxiosInstance) => {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type { CreateData200, CreateDataBody, DataDataset, DataInputDictionary, DataStructList, DeleteData2Params, DeleteDataParams, DeleteTypeParams, DictionariesImportCSVBody, LocateData200, LocateDataParams, ProtoDataStruct, SearchDataParams, SearchTypeParams, UpdateData2Body, UpdateData2Params, UpdateData200, UpdateData2200, UpdateDataBody, UpdateDataParams, UpdateTypeParams } from '../_models';
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
+
import type { CreateData200, CreateDataBody, DataBatchCreateDatasetResponse, DataDataset, DataInputDictionary, DataStructList, DeleteData2Params, DeleteDataParams, DeleteTypeParams, DictionariesBatchCreateDataBody, DictionariesImportCSVBody, LocateData200, LocateDataParams, ProtoDataStruct, SearchDataParams, SearchTypeParams, UpdateData2Body, UpdateData2Params, UpdateData200, UpdateData2200, UpdateDataBody, UpdateDataParams, UpdateTypeParams } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getDictionaries: (axiosInstance?: AxiosInstance) => {
|
|
5
5
|
deleteData: (repo: string, params: DeleteDataParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<DataDataset>>;
|
|
6
6
|
searchData: (repo: string, params?: SearchDataParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<DataDataset>>;
|
|
7
7
|
createData: (repo: string, createDataBody: CreateDataBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CreateData200>>;
|
|
8
|
+
batchCreateData: (repo: string, dictionariesBatchCreateDataBody: DictionariesBatchCreateDataBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<DataBatchCreateDatasetResponse>>;
|
|
8
9
|
importCSV: (repo: string, dictionariesImportCSVBody: DictionariesImportCSVBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<DataDataset>>;
|
|
9
10
|
deleteData2: (repo: string, id: string[], params?: DeleteData2Params, options?: AxiosRequestConfig) => Promise<AxiosResponse<DataDataset>>;
|
|
10
11
|
locateData: (repo: string, id: string, params?: LocateDataParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<LocateData200>>;
|
|
@@ -19,6 +20,7 @@ getDictionaries: (axiosInstance?: AxiosInstance) => {
|
|
|
19
20
|
export type DeleteDataResult = AxiosResponse<DataDataset>;
|
|
20
21
|
export type SearchDataResult = AxiosResponse<DataDataset>;
|
|
21
22
|
export type CreateDataResult = AxiosResponse<CreateData200>;
|
|
23
|
+
export type BatchCreateDataResult = AxiosResponse<DataBatchCreateDatasetResponse>;
|
|
22
24
|
export type ImportCSVResult = AxiosResponse<DataDataset>;
|
|
23
25
|
export type DeleteData2Result = AxiosResponse<DataDataset>;
|
|
24
26
|
export type LocateDataResult = AxiosResponse<LocateData200>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { CreateData200, DataDataset, DataStructList, LocateData200, ProtoDataStruct, UpdateData200, UpdateData2200 } from '../_models';
|
|
1
|
+
import type { CreateData200, DataBatchCreateDatasetResponse, DataDataset, DataStructList, LocateData200, ProtoDataStruct, UpdateData200, UpdateData2200 } from '../_models';
|
|
2
2
|
export declare const getDeleteDataResponseMock: (overrideResponse?: Partial<Extract<DataDataset, object>>) => DataDataset;
|
|
3
3
|
export declare const getSearchDataResponseMock: (overrideResponse?: Partial<Extract<DataDataset, object>>) => DataDataset;
|
|
4
4
|
export declare const getCreateDataResponseMock: () => CreateData200;
|
|
5
|
+
export declare const getBatchCreateDataResponseMock: (overrideResponse?: Partial<Extract<DataBatchCreateDatasetResponse, object>>) => DataBatchCreateDatasetResponse;
|
|
5
6
|
export declare const getImportCSVResponseMock: (overrideResponse?: Partial<Extract<DataDataset, object>>) => DataDataset;
|
|
6
7
|
export declare const getDeleteData2ResponseMock: (overrideResponse?: Partial<Extract<DataDataset, object>>) => DataDataset;
|
|
7
8
|
export declare const getLocateDataResponseMock: () => LocateData200;
|