@webitel/api-services 0.1.9 → 0.1.10
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 +1 -1
- package/src/gen/_models/addUserAccessTokenBody.ts +0 -6
- package/src/gen/_models/addUserAccessTokenBody.zod.ts +0 -6
- package/src/gen/_models/apiLicenseV1.ts +0 -1
- package/src/gen/_models/apiLicenseV1.zod.ts +0 -1
- package/src/gen/_models/contactsCallEvent.ts +5 -5
- package/src/gen/_models/contactsCallEvent.zod.ts +5 -5
- package/src/gen/_models/contactsChatEvent.ts +5 -5
- package/src/gen/_models/contactsChatEvent.zod.ts +5 -5
- package/src/gen/_models/contactsComment.ts +3 -3
- package/src/gen/_models/contactsComment.zod.ts +3 -3
- package/src/gen/_models/contactsCondition.ts +5 -5
- package/src/gen/_models/contactsCondition.zod.ts +5 -5
- package/src/gen/_models/contactsContactGroup.ts +4 -4
- package/src/gen/_models/contactsContactGroup.zod.ts +4 -4
- package/src/gen/_models/contactsContactList.ts +2 -2
- package/src/gen/_models/contactsContactList.zod.ts +2 -2
- package/src/gen/_models/contactsCreateDynamicGroupRequest.ts +2 -2
- package/src/gen/_models/contactsCreateDynamicGroupRequest.zod.ts +2 -2
- package/src/gen/_models/contactsDynamicCondition.ts +3 -3
- package/src/gen/_models/contactsDynamicCondition.zod.ts +3 -3
- package/src/gen/_models/contactsDynamicGroup.ts +4 -4
- package/src/gen/_models/contactsDynamicGroup.zod.ts +4 -4
- package/src/gen/_models/contactsDynamicGroupInput.ts +2 -2
- package/src/gen/_models/contactsDynamicGroupInput.zod.ts +2 -2
- package/src/gen/_models/contactsEmailAddress.ts +4 -4
- package/src/gen/_models/contactsEmailAddress.zod.ts +4 -4
- package/src/gen/_models/contactsEmailEvent.ts +5 -5
- package/src/gen/_models/contactsEmailEvent.zod.ts +5 -5
- package/src/gen/_models/contactsGroup.ts +4 -4
- package/src/gen/_models/contactsGroup.zod.ts +4 -4
- package/src/gen/_models/contactsIMClient.ts +5 -5
- package/src/gen/_models/contactsIMClient.zod.ts +5 -5
- package/src/gen/_models/contactsInputCondition.ts +2 -2
- package/src/gen/_models/contactsInputCondition.zod.ts +2 -2
- package/src/gen/_models/contactsInputContactGroup.ts +2 -2
- package/src/gen/_models/contactsInputContactGroup.zod.ts +2 -2
- package/src/gen/_models/contactsInputDynamicCondition.ts +3 -3
- package/src/gen/_models/contactsInputDynamicCondition.zod.ts +3 -3
- package/src/gen/_models/contactsInputEmailAddress.ts +2 -2
- package/src/gen/_models/contactsInputEmailAddress.zod.ts +2 -2
- package/src/gen/_models/contactsInputManager.ts +2 -2
- package/src/gen/_models/contactsInputManager.zod.ts +2 -2
- package/src/gen/_models/contactsInputPhoneNumber.ts +2 -2
- package/src/gen/_models/contactsInputPhoneNumber.zod.ts +2 -2
- package/src/gen/_models/contactsInputTimezone.ts +2 -2
- package/src/gen/_models/contactsInputTimezone.zod.ts +2 -2
- package/src/gen/_models/contactsLabelList.ts +2 -2
- package/src/gen/_models/contactsLabelList.zod.ts +2 -2
- package/src/gen/_models/contactsLabelTags.ts +2 -2
- package/src/gen/_models/contactsLabelTags.zod.ts +2 -2
- package/src/gen/_models/contactsLanguage.ts +3 -3
- package/src/gen/_models/contactsLanguage.zod.ts +3 -3
- package/src/gen/_models/contactsManager.ts +4 -4
- package/src/gen/_models/contactsManager.zod.ts +4 -4
- package/src/gen/_models/contactsPhoneNumber.ts +4 -4
- package/src/gen/_models/contactsPhoneNumber.zod.ts +4 -4
- package/src/gen/_models/contactsPhoto.ts +3 -3
- package/src/gen/_models/contactsPhoto.zod.ts +3 -3
- package/src/gen/_models/contactsTimezone.ts +4 -4
- package/src/gen/_models/contactsTimezone.zod.ts +4 -4
- package/src/gen/_models/contactsTranscriptLookup.ts +2 -2
- package/src/gen/_models/contactsTranscriptLookup.zod.ts +2 -2
- package/src/gen/_models/contactsVariable.ts +3 -3
- package/src/gen/_models/contactsVariable.zod.ts +3 -3
- package/src/gen/_models/dataDataset.ts +2 -2
- package/src/gen/_models/dataDataset.zod.ts +2 -2
- package/src/gen/_models/dataField.ts +2 -2
- package/src/gen/_models/dataField.zod.ts +2 -2
- package/src/gen/_models/dataStructList.ts +2 -2
- package/src/gen/_models/dataStructList.zod.ts +2 -2
- package/src/gen/_models/datatypeLookup.ts +5 -5
- package/src/gen/_models/datatypeLookup.zod.ts +5 -5
- package/src/gen/_models/datatypeLookupQuery.ts +1 -1
- package/src/gen/_models/datatypeLookupQuery.zod.ts +1 -1
- package/src/gen/_models/datatypeLookupViolation.ts +1 -1
- package/src/gen/_models/datatypeLookupViolation.zod.ts +1 -1
- package/src/gen/_models/dictionariesImportCSVBody.ts +3 -3
- package/src/gen/_models/dictionariesImportCSVBody.zod.ts +3 -3
- package/src/gen/_models/dynamicConditionsCreateConditionBody.ts +3 -3
- package/src/gen/_models/dynamicConditionsCreateConditionBody.zod.ts +3 -3
- package/src/gen/_models/engineAgentInQueue.ts +0 -14
- package/src/gen/_models/engineAgentInQueue.zod.ts +0 -14
- package/src/gen/_models/engineAgentInQueueAgentsInQueue.ts +0 -13
- package/src/gen/_models/engineAgentInQueueAgentsInQueue.zod.ts +0 -13
- package/src/gen/_models/engineCreateCallRequestCallSettings.ts +4 -0
- package/src/gen/_models/engineCreateCallRequestCallSettings.zod.ts +4 -0
- package/src/gen/_models/engineListAgentInQueue.ts +0 -6
- package/src/gen/_models/engineListAgentInQueue.zod.ts +0 -6
- package/src/gen/_models/engineQueueReportGeneralAgentStatus.ts +0 -1
- package/src/gen/_models/engineQueueReportGeneralAgentStatus.zod.ts +0 -1
- package/src/gen/_models/importCSVRequestaction.ts +3 -3
- package/src/gen/_models/importCSVRequestaction.zod.ts +3 -3
- package/src/gen/_models/index.ts +13 -71
- package/src/gen/_models/index.zod.ts +13 -71
- package/src/gen/_models/knowledgebaseArticle.ts +3 -3
- package/src/gen/_models/knowledgebaseArticle.zod.ts +3 -3
- package/src/gen/_models/knowledgebaseArticleVersion.ts +2 -2
- package/src/gen/_models/knowledgebaseArticleVersion.zod.ts +2 -2
- package/src/gen/_models/knowledgebaseAttachmentList.ts +2 -2
- package/src/gen/_models/knowledgebaseAttachmentList.zod.ts +2 -2
- package/src/gen/_models/knowledgebaseSpace.ts +4 -4
- package/src/gen/_models/knowledgebaseSpace.zod.ts +4 -4
- package/src/gen/_models/knowledgebaseTagsList.ts +2 -2
- package/src/gen/_models/knowledgebaseTagsList.zod.ts +2 -2
- package/src/gen/_models/protodataStruct.ts +3 -3
- package/src/gen/_models/protodataStruct.zod.ts +3 -3
- package/src/gen/_models/protodataStructIndexes.ts +1 -1
- package/src/gen/_models/protodataStructIndexes.zod.ts +1 -1
- package/src/gen/_models/searchAgentInQueueParams.ts +0 -17
- package/src/gen/_models/searchAgentInQueueParams.zod.ts +0 -17
- package/src/gen/_models/searchContactsParams.ts +0 -31
- package/src/gen/_models/searchContactsParams.zod.ts +0 -31
- package/src/gen/_models/setContactLanguage2Body.ts +0 -4
- package/src/gen/_models/setContactLanguage2Body.zod.ts +0 -4
- package/src/gen/_models/setContactLanguageBody.ts +0 -4
- package/src/gen/_models/setContactLanguageBody.zod.ts +0 -4
- package/src/gen/_models/setContactLanguageInputBody.ts +0 -4
- package/src/gen/_models/setContactLanguageInputBody.zod.ts +0 -4
- package/src/gen/_models/updateContactGroup2Body.ts +2 -2
- package/src/gen/_models/updateContactGroup2Body.zod.ts +2 -2
- package/src/gen/_models/updateContactGroupBody.ts +2 -2
- package/src/gen/_models/updateContactGroupBody.zod.ts +2 -2
- package/src/gen/_models/updateContactGroupInputBody.ts +2 -2
- package/src/gen/_models/updateContactGroupInputBody.zod.ts +2 -2
- package/src/gen/_models/updateEmail2Body.ts +2 -2
- package/src/gen/_models/updateEmail2Body.zod.ts +2 -2
- package/src/gen/_models/updateEmailBody.ts +2 -2
- package/src/gen/_models/updateEmailBody.zod.ts +2 -2
- package/src/gen/_models/updateEmailInputBody.ts +2 -2
- package/src/gen/_models/updateEmailInputBody.zod.ts +2 -2
- package/src/gen/_models/updateManager2Body.ts +2 -2
- package/src/gen/_models/updateManager2Body.zod.ts +2 -2
- package/src/gen/_models/updateManagerBody.ts +2 -2
- package/src/gen/_models/updateManagerBody.zod.ts +2 -2
- package/src/gen/_models/updateManagerInputBody.ts +2 -2
- package/src/gen/_models/updateManagerInputBody.zod.ts +2 -2
- package/src/gen/_models/updatePhone2Body.ts +2 -2
- package/src/gen/_models/updatePhone2Body.zod.ts +2 -2
- package/src/gen/_models/updatePhoneBody.ts +2 -2
- package/src/gen/_models/updatePhoneBody.zod.ts +2 -2
- package/src/gen/_models/updatePhoneInputBody.ts +2 -2
- package/src/gen/_models/updatePhoneInputBody.zod.ts +2 -2
- package/src/gen/_models/updateTimezone2Body.ts +2 -2
- package/src/gen/_models/updateTimezone2Body.zod.ts +2 -2
- package/src/gen/_models/updateTimezoneBody.ts +2 -2
- package/src/gen/_models/updateTimezoneBody.zod.ts +2 -2
- package/src/gen/_models/updateTimezoneInputBody.ts +2 -2
- package/src/gen/_models/updateTimezoneInputBody.zod.ts +2 -2
- package/src/gen/_models/webitelcontactsAttachment.ts +1 -1
- package/src/gen/_models/webitelcontactsAttachment.zod.ts +1 -1
- package/src/gen/_models/webitelcontactsContact.ts +6 -6
- package/src/gen/_models/webitelcontactsContact.zod.ts +6 -6
- package/src/gen/_models/webitelcontactsLabel.ts +4 -4
- package/src/gen/_models/webitelcontactsLabel.zod.ts +4 -4
- package/src/gen/_models/webitelcontactsLookup.ts +1 -1
- package/src/gen/_models/webitelcontactsLookup.zod.ts +1 -1
- package/src/gen/_models/webitelknowledgebaseAttachment.ts +3 -3
- package/src/gen/_models/webitelknowledgebaseAttachment.zod.ts +3 -3
- package/src/gen/_models/webitelknowledgebaseLookup.ts +1 -1
- package/src/gen/_models/webitelknowledgebaseLookup.zod.ts +1 -1
- package/src/gen/_models/webitelknowledgebaseTag.ts +1 -1
- package/src/gen/_models/webitelknowledgebaseTag.zod.ts +1 -1
- package/src/gen/agent-service/agent-service.msw.ts +0 -7
- package/src/gen/agent-service/agent-service.ts +0 -4
- package/src/gen/agent-service/agent-service.zod.ts +37 -111
- package/src/gen/call-service/call-service.ts +6 -54
- package/src/gen/call-service/call-service.zod.ts +8 -52
- package/src/gen/cases/cases.msw.ts +0 -96
- package/src/gen/cases/cases.ts +0 -19
- package/src/gen/cases/cases.zod.ts +0 -36
- package/src/gen/contacts/contacts.msw.ts +17 -175
- package/src/gen/contacts/contacts.ts +10 -32
- package/src/gen/contacts/contacts.zod.ts +0 -100
- package/src/gen/customers/customers.msw.ts +0 -54
- package/src/gen/customers/customers.zod.ts +0 -6
- package/src/gen/dictionaries/dictionaries.msw.ts +13 -13
- package/src/gen/dictionaries/dictionaries.ts +7 -7
- package/src/gen/extensions/extensions.msw.ts +13 -13
- package/src/gen/extensions/extensions.ts +7 -7
- package/src/gen/index.ts +0 -10
- package/src/gen/languages/languages.zod.ts +18 -26
- package/src/gen/queue-service/queue-service.msw.ts +0 -14
- package/src/gen/queue-service/queue-service.zod.ts +0 -2
- package/src/gen/types/types.msw.ts +5 -5
- package/src/gen/types/types.ts +3 -3
- package/src/gen/user-access-tokens/user-access-tokens.zod.ts +31 -35
- package/types/gen/_models/addUserAccessTokenBody.d.ts +0 -6
- package/types/gen/_models/addUserAccessTokenBody.zod.d.ts +0 -6
- package/types/gen/_models/apiLicenseV1.d.ts +0 -1
- package/types/gen/_models/apiLicenseV1.zod.d.ts +0 -1
- package/types/gen/_models/contactsCallEvent.d.ts +5 -5
- package/types/gen/_models/contactsCallEvent.zod.d.ts +5 -5
- package/types/gen/_models/contactsChatEvent.d.ts +5 -5
- package/types/gen/_models/contactsChatEvent.zod.d.ts +5 -5
- package/types/gen/_models/contactsComment.d.ts +3 -3
- package/types/gen/_models/contactsComment.zod.d.ts +3 -3
- package/types/gen/_models/contactsCondition.d.ts +5 -5
- package/types/gen/_models/contactsCondition.zod.d.ts +5 -5
- package/types/gen/_models/contactsContactGroup.d.ts +4 -4
- package/types/gen/_models/contactsContactGroup.zod.d.ts +4 -4
- package/types/gen/_models/contactsContactList.d.ts +2 -2
- package/types/gen/_models/contactsContactList.zod.d.ts +2 -2
- package/types/gen/_models/contactsCreateDynamicGroupRequest.d.ts +2 -2
- package/types/gen/_models/contactsCreateDynamicGroupRequest.zod.d.ts +2 -2
- package/types/gen/_models/contactsDynamicCondition.d.ts +3 -3
- package/types/gen/_models/contactsDynamicCondition.zod.d.ts +3 -3
- package/types/gen/_models/contactsDynamicGroup.d.ts +4 -4
- package/types/gen/_models/contactsDynamicGroup.zod.d.ts +4 -4
- package/types/gen/_models/contactsDynamicGroupInput.d.ts +2 -2
- package/types/gen/_models/contactsDynamicGroupInput.zod.d.ts +2 -2
- package/types/gen/_models/contactsEmailAddress.d.ts +4 -4
- package/types/gen/_models/contactsEmailAddress.zod.d.ts +4 -4
- package/types/gen/_models/contactsEmailEvent.d.ts +5 -5
- package/types/gen/_models/contactsEmailEvent.zod.d.ts +5 -5
- package/types/gen/_models/contactsGroup.d.ts +4 -4
- package/types/gen/_models/contactsGroup.zod.d.ts +4 -4
- package/types/gen/_models/contactsIMClient.d.ts +5 -5
- package/types/gen/_models/contactsIMClient.zod.d.ts +5 -5
- package/types/gen/_models/contactsInputCondition.d.ts +2 -2
- package/types/gen/_models/contactsInputCondition.zod.d.ts +2 -2
- package/types/gen/_models/contactsInputContactGroup.d.ts +2 -2
- package/types/gen/_models/contactsInputContactGroup.zod.d.ts +2 -2
- package/types/gen/_models/contactsInputDynamicCondition.d.ts +3 -3
- package/types/gen/_models/contactsInputDynamicCondition.zod.d.ts +3 -3
- package/types/gen/_models/contactsInputEmailAddress.d.ts +2 -2
- package/types/gen/_models/contactsInputEmailAddress.zod.d.ts +2 -2
- package/types/gen/_models/contactsInputManager.d.ts +2 -2
- package/types/gen/_models/contactsInputManager.zod.d.ts +2 -2
- package/types/gen/_models/contactsInputPhoneNumber.d.ts +2 -2
- package/types/gen/_models/contactsInputPhoneNumber.zod.d.ts +2 -2
- package/types/gen/_models/contactsInputTimezone.d.ts +2 -2
- package/types/gen/_models/contactsInputTimezone.zod.d.ts +2 -2
- package/types/gen/_models/contactsLabelList.d.ts +2 -2
- package/types/gen/_models/contactsLabelList.zod.d.ts +2 -2
- package/types/gen/_models/contactsLabelTags.d.ts +2 -2
- package/types/gen/_models/contactsLabelTags.zod.d.ts +2 -2
- package/types/gen/_models/contactsLanguage.d.ts +3 -3
- package/types/gen/_models/contactsLanguage.zod.d.ts +3 -3
- package/types/gen/_models/contactsManager.d.ts +4 -4
- package/types/gen/_models/contactsManager.zod.d.ts +4 -4
- package/types/gen/_models/contactsPhoneNumber.d.ts +4 -4
- package/types/gen/_models/contactsPhoneNumber.zod.d.ts +4 -4
- package/types/gen/_models/contactsPhoto.d.ts +3 -3
- package/types/gen/_models/contactsPhoto.zod.d.ts +3 -3
- package/types/gen/_models/contactsTimezone.d.ts +4 -4
- package/types/gen/_models/contactsTimezone.zod.d.ts +4 -4
- package/types/gen/_models/contactsTranscriptLookup.d.ts +2 -2
- package/types/gen/_models/contactsTranscriptLookup.zod.d.ts +2 -2
- package/types/gen/_models/contactsVariable.d.ts +3 -3
- package/types/gen/_models/contactsVariable.zod.d.ts +3 -3
- package/types/gen/_models/dataDataset.d.ts +2 -2
- package/types/gen/_models/dataDataset.zod.d.ts +2 -2
- package/types/gen/_models/dataField.d.ts +2 -2
- package/types/gen/_models/dataField.zod.d.ts +2 -2
- package/types/gen/_models/dataStructList.d.ts +2 -2
- package/types/gen/_models/dataStructList.zod.d.ts +2 -2
- package/types/gen/_models/datatypeLookup.d.ts +5 -5
- package/types/gen/_models/datatypeLookup.zod.d.ts +5 -5
- package/types/gen/_models/datatypeLookupQuery.d.ts +1 -1
- package/types/gen/_models/datatypeLookupQuery.zod.d.ts +1 -1
- package/types/gen/_models/datatypeLookupViolation.d.ts +1 -1
- package/types/gen/_models/datatypeLookupViolation.zod.d.ts +1 -1
- package/types/gen/_models/dictionariesImportCSVBody.d.ts +3 -3
- package/types/gen/_models/dictionariesImportCSVBody.zod.d.ts +3 -3
- package/types/gen/_models/dynamicConditionsCreateConditionBody.d.ts +3 -3
- package/types/gen/_models/dynamicConditionsCreateConditionBody.zod.d.ts +3 -3
- package/types/gen/_models/engineAgentInQueue.d.ts +0 -14
- package/types/gen/_models/engineAgentInQueue.zod.d.ts +0 -14
- package/types/gen/_models/engineAgentInQueueAgentsInQueue.d.ts +0 -13
- package/types/gen/_models/engineAgentInQueueAgentsInQueue.zod.d.ts +0 -13
- package/types/gen/_models/engineCreateCallRequestCallSettings.d.ts +4 -0
- package/types/gen/_models/engineCreateCallRequestCallSettings.zod.d.ts +4 -0
- package/types/gen/_models/engineListAgentInQueue.d.ts +0 -6
- package/types/gen/_models/engineListAgentInQueue.zod.d.ts +0 -6
- package/types/gen/_models/engineQueueReportGeneralAgentStatus.d.ts +0 -1
- package/types/gen/_models/engineQueueReportGeneralAgentStatus.zod.d.ts +0 -1
- package/types/gen/_models/importCSVRequestaction.d.ts +2 -2
- package/types/gen/_models/importCSVRequestaction.zod.d.ts +2 -2
- package/types/gen/_models/index.zod.d.ts +19 -77
- package/types/gen/_models/knowledgebaseArticle.d.ts +3 -3
- package/types/gen/_models/knowledgebaseArticle.zod.d.ts +3 -3
- package/types/gen/_models/knowledgebaseArticleVersion.d.ts +2 -2
- package/types/gen/_models/knowledgebaseArticleVersion.zod.d.ts +2 -2
- package/types/gen/_models/knowledgebaseAttachmentList.d.ts +2 -2
- package/types/gen/_models/knowledgebaseAttachmentList.zod.d.ts +2 -2
- package/types/gen/_models/knowledgebaseSpace.d.ts +4 -4
- package/types/gen/_models/knowledgebaseSpace.zod.d.ts +4 -4
- package/types/gen/_models/knowledgebaseTagsList.d.ts +2 -2
- package/types/gen/_models/knowledgebaseTagsList.zod.d.ts +2 -2
- package/types/gen/_models/protodataStruct.d.ts +3 -3
- package/types/gen/_models/protodataStruct.zod.d.ts +3 -3
- package/types/gen/_models/protodataStructIndexes.d.ts +1 -1
- package/types/gen/_models/protodataStructIndexes.zod.d.ts +1 -1
- package/types/gen/_models/searchAgentInQueueParams.d.ts +0 -17
- package/types/gen/_models/searchAgentInQueueParams.zod.d.ts +0 -17
- package/types/gen/_models/searchContactsParams.d.ts +0 -30
- package/types/gen/_models/searchContactsParams.zod.d.ts +0 -30
- package/types/gen/_models/setContactLanguage2Body.d.ts +0 -4
- package/types/gen/_models/setContactLanguage2Body.zod.d.ts +0 -4
- package/types/gen/_models/setContactLanguageBody.d.ts +0 -4
- package/types/gen/_models/setContactLanguageBody.zod.d.ts +0 -4
- package/types/gen/_models/setContactLanguageInputBody.d.ts +0 -4
- package/types/gen/_models/setContactLanguageInputBody.zod.d.ts +0 -4
- package/types/gen/_models/updateContactGroup2Body.d.ts +2 -2
- package/types/gen/_models/updateContactGroup2Body.zod.d.ts +2 -2
- package/types/gen/_models/updateContactGroupBody.d.ts +2 -2
- package/types/gen/_models/updateContactGroupBody.zod.d.ts +2 -2
- package/types/gen/_models/updateContactGroupInputBody.d.ts +2 -2
- package/types/gen/_models/updateContactGroupInputBody.zod.d.ts +2 -2
- package/types/gen/_models/updateEmail2Body.d.ts +2 -2
- package/types/gen/_models/updateEmail2Body.zod.d.ts +2 -2
- package/types/gen/_models/updateEmailBody.d.ts +2 -2
- package/types/gen/_models/updateEmailBody.zod.d.ts +2 -2
- package/types/gen/_models/updateEmailInputBody.d.ts +2 -2
- package/types/gen/_models/updateEmailInputBody.zod.d.ts +2 -2
- package/types/gen/_models/updateManager2Body.d.ts +2 -2
- package/types/gen/_models/updateManager2Body.zod.d.ts +2 -2
- package/types/gen/_models/updateManagerBody.d.ts +2 -2
- package/types/gen/_models/updateManagerBody.zod.d.ts +2 -2
- package/types/gen/_models/updateManagerInputBody.d.ts +2 -2
- package/types/gen/_models/updateManagerInputBody.zod.d.ts +2 -2
- package/types/gen/_models/updatePhone2Body.d.ts +2 -2
- package/types/gen/_models/updatePhone2Body.zod.d.ts +2 -2
- package/types/gen/_models/updatePhoneBody.d.ts +2 -2
- package/types/gen/_models/updatePhoneBody.zod.d.ts +2 -2
- package/types/gen/_models/updatePhoneInputBody.d.ts +2 -2
- package/types/gen/_models/updatePhoneInputBody.zod.d.ts +2 -2
- package/types/gen/_models/updateTimezone2Body.d.ts +2 -2
- package/types/gen/_models/updateTimezone2Body.zod.d.ts +2 -2
- package/types/gen/_models/updateTimezoneBody.d.ts +2 -2
- package/types/gen/_models/updateTimezoneBody.zod.d.ts +2 -2
- package/types/gen/_models/updateTimezoneInputBody.d.ts +2 -2
- package/types/gen/_models/updateTimezoneInputBody.zod.d.ts +2 -2
- package/types/gen/_models/webitelcontactsAttachment.d.ts +1 -1
- package/types/gen/_models/webitelcontactsAttachment.zod.d.ts +1 -1
- package/types/gen/_models/webitelcontactsContact.d.ts +6 -6
- package/types/gen/_models/webitelcontactsContact.zod.d.ts +6 -6
- package/types/gen/_models/webitelcontactsLabel.d.ts +4 -4
- package/types/gen/_models/webitelcontactsLabel.zod.d.ts +4 -4
- package/types/gen/_models/webitelcontactsLookup.d.ts +1 -1
- package/types/gen/_models/webitelcontactsLookup.zod.d.ts +1 -1
- package/types/gen/_models/webitelknowledgebaseAttachment.d.ts +3 -3
- package/types/gen/_models/webitelknowledgebaseAttachment.zod.d.ts +3 -3
- package/types/gen/_models/webitelknowledgebaseLookup.d.ts +1 -1
- package/types/gen/_models/webitelknowledgebaseLookup.zod.d.ts +1 -1
- package/types/gen/_models/webitelknowledgebaseTag.d.ts +1 -1
- package/types/gen/_models/webitelknowledgebaseTag.zod.d.ts +1 -1
- package/types/gen/access-store/access-store.msw.d.ts +1 -1
- package/types/gen/account/account.msw.d.ts +1 -1
- package/types/gen/agent-absence-service/agent-absence-service.msw.d.ts +1 -1
- package/types/gen/agent-chat-service/agent-chat-service.msw.d.ts +1 -1
- package/types/gen/agent-pause-cause-service/agent-pause-cause-service.msw.d.ts +1 -1
- package/types/gen/agent-service/agent-service.msw.d.ts +1 -1
- package/types/gen/agent-service/agent-service.zod.d.ts +0 -5
- package/types/gen/agent-skill-service/agent-skill-service.msw.d.ts +1 -1
- package/types/gen/agent-team-service/agent-team-service.msw.d.ts +1 -1
- package/types/gen/agent-working-conditions-service/agent-working-conditions-service.msw.d.ts +1 -1
- package/types/gen/agent-working-schedule-service/agent-working-schedule-service.msw.d.ts +1 -1
- package/types/gen/articles/articles.d.ts +1 -1
- package/types/gen/articles/articles.msw.d.ts +1 -1
- package/types/gen/audit-form-service/audit-form-service.msw.d.ts +1 -1
- package/types/gen/auth/auth.msw.d.ts +1 -1
- package/types/gen/backend-profile-service/backend-profile-service.msw.d.ts +1 -1
- package/types/gen/bots/bots.msw.d.ts +1 -1
- package/types/gen/bucket-service/bucket-service.msw.d.ts +1 -1
- package/types/gen/calendar-service/calendar-service.msw.d.ts +1 -1
- package/types/gen/call-service/call-service.msw.d.ts +1 -1
- package/types/gen/call-service/call-service.zod.d.ts +8 -52
- package/types/gen/case-comments/case-comments.msw.d.ts +1 -1
- package/types/gen/case-communications/case-communications.msw.d.ts +1 -1
- package/types/gen/case-files/case-files.msw.d.ts +1 -1
- package/types/gen/case-links/case-links.msw.d.ts +1 -1
- package/types/gen/case-timeline/case-timeline.msw.d.ts +1 -1
- package/types/gen/cases/cases.d.ts +1 -3
- package/types/gen/cases/cases.msw.d.ts +2 -4
- package/types/gen/cases/cases.zod.d.ts +0 -26
- package/types/gen/cases-chat-catalog/cases-chat-catalog.msw.d.ts +1 -1
- package/types/gen/catalogs/catalogs.msw.d.ts +1 -1
- package/types/gen/classes/classes.msw.d.ts +1 -1
- package/types/gen/close-reason-groups/close-reason-groups.msw.d.ts +1 -1
- package/types/gen/close-reasons/close-reasons.msw.d.ts +1 -1
- package/types/gen/cognitive-profile-service/cognitive-profile-service.msw.d.ts +1 -1
- package/types/gen/comments/comments.msw.d.ts +1 -1
- package/types/gen/communication-type-service/communication-type-service.msw.d.ts +1 -1
- package/types/gen/config-service/config-service.msw.d.ts +1 -1
- package/types/gen/contact-groups/contact-groups.msw.d.ts +1 -1
- package/types/gen/contact-linking-service/contact-linking-service.msw.d.ts +1 -1
- package/types/gen/contacts/contacts.d.ts +10 -11
- package/types/gen/contacts/contacts.msw.d.ts +10 -12
- package/types/gen/contacts/contacts.zod.d.ts +0 -28
- package/types/gen/contacts-chat-catalog/contacts-chat-catalog.msw.d.ts +1 -1
- package/types/gen/customers/customers.msw.d.ts +1 -1
- package/types/gen/customers/customers.zod.d.ts +0 -6
- package/types/gen/devices/devices.msw.d.ts +1 -1
- package/types/gen/dictionaries/dictionaries.d.ts +7 -7
- package/types/gen/dictionaries/dictionaries.msw.d.ts +8 -8
- package/types/gen/domains/domains.msw.d.ts +1 -1
- package/types/gen/dynamic-conditions/dynamic-conditions.msw.d.ts +1 -1
- package/types/gen/dynamic-groups/dynamic-groups.msw.d.ts +1 -1
- package/types/gen/email-profile-service/email-profile-service.msw.d.ts +1 -1
- package/types/gen/emails/emails.msw.d.ts +1 -1
- package/types/gen/extensions/extensions.d.ts +7 -7
- package/types/gen/extensions/extensions.msw.d.ts +7 -7
- package/types/gen/feedback-service/feedback-service.msw.d.ts +1 -1
- package/types/gen/file-policies-service/file-policies-service.msw.d.ts +1 -1
- package/types/gen/file-service/file-service.msw.d.ts +1 -1
- package/types/gen/file-transcript-service/file-transcript-service.msw.d.ts +1 -1
- package/types/gen/forecast-calculation-service/forecast-calculation-service.msw.d.ts +1 -1
- package/types/gen/ftsservice/ftsservice.msw.d.ts +1 -1
- package/types/gen/groups/groups.msw.d.ts +1 -1
- package/types/gen/imclients/imclients.msw.d.ts +1 -1
- package/types/gen/import-template-service/import-template-service.msw.d.ts +1 -1
- package/types/gen/knowledgebase-search/knowledgebase-search.msw.d.ts +1 -1
- package/types/gen/labels/labels.msw.d.ts +1 -1
- package/types/gen/languages/languages.msw.d.ts +1 -1
- package/types/gen/ldap/ldap.d.ts +1 -1
- package/types/gen/ldap/ldap.msw.d.ts +2 -2
- package/types/gen/list-service/list-service.msw.d.ts +1 -1
- package/types/gen/logger-service/logger-service.msw.d.ts +1 -1
- package/types/gen/managers/managers.msw.d.ts +1 -1
- package/types/gen/media-file-service/media-file-service.msw.d.ts +1 -1
- package/types/gen/meeting-service/meeting-service.msw.d.ts +1 -1
- package/types/gen/member-service/member-service.msw.d.ts +1 -1
- package/types/gen/message/message.msw.d.ts +1 -1
- package/types/gen/message-history/message-history.msw.d.ts +1 -1
- package/types/gen/messages/messages.msw.d.ts +1 -1
- package/types/gen/oauth2-federation/oauth2-federation.msw.d.ts +1 -1
- package/types/gen/outbound-resource-group-service/outbound-resource-group-service.msw.d.ts +1 -1
- package/types/gen/outbound-resource-service/outbound-resource-service.msw.d.ts +1 -1
- package/types/gen/pause-template-service/pause-template-service.msw.d.ts +1 -1
- package/types/gen/pdf-service/pdf-service.msw.d.ts +1 -1
- package/types/gen/permissions/permissions.msw.d.ts +1 -1
- package/types/gen/phones/phones.msw.d.ts +1 -1
- package/types/gen/photos/photos.msw.d.ts +1 -1
- package/types/gen/presence/presence.msw.d.ts +1 -1
- package/types/gen/preset-query-service/preset-query-service.msw.d.ts +1 -1
- package/types/gen/priorities/priorities.msw.d.ts +1 -1
- package/types/gen/queue-bucket-service/queue-bucket-service.msw.d.ts +1 -1
- package/types/gen/queue-hook-service/queue-hook-service.msw.d.ts +1 -1
- package/types/gen/queue-resources-service/queue-resources-service.msw.d.ts +1 -1
- package/types/gen/queue-service/queue-service.msw.d.ts +1 -1
- package/types/gen/queue-service/queue-service.zod.d.ts +0 -2
- package/types/gen/queue-skill-service/queue-skill-service.msw.d.ts +1 -1
- package/types/gen/quick-replies-service/quick-replies-service.msw.d.ts +1 -1
- package/types/gen/records/records.d.ts +1 -1
- package/types/gen/records/records.msw.d.ts +1 -1
- package/types/gen/region-service/region-service.msw.d.ts +1 -1
- package/types/gen/related-cases/related-cases.msw.d.ts +1 -1
- package/types/gen/routing-chat-plan-service/routing-chat-plan-service.msw.d.ts +1 -1
- package/types/gen/routing-outbound-call-service/routing-outbound-call-service.msw.d.ts +1 -1
- package/types/gen/routing-schema-service/routing-schema-service.msw.d.ts +1 -1
- package/types/gen/routing-variable-service/routing-variable-service.msw.d.ts +1 -1
- package/types/gen/schema-variables-service/schema-variables-service.msw.d.ts +1 -1
- package/types/gen/schema-version-service/schema-version-service.msw.d.ts +1 -1
- package/types/gen/services/services.msw.d.ts +1 -1
- package/types/gen/shift-template-service/shift-template-service.msw.d.ts +1 -1
- package/types/gen/skill-service/skill-service.msw.d.ts +1 -1
- package/types/gen/slaconditions/slaconditions.msw.d.ts +1 -1
- package/types/gen/slas/slas.msw.d.ts +1 -1
- package/types/gen/sources/sources.msw.d.ts +1 -1
- package/types/gen/spaces/spaces.msw.d.ts +1 -1
- package/types/gen/status-conditions/status-conditions.msw.d.ts +1 -1
- package/types/gen/statuses/statuses.msw.d.ts +1 -1
- package/types/gen/system-setting-service/system-setting-service.msw.d.ts +1 -1
- package/types/gen/tags/tags.msw.d.ts +1 -1
- package/types/gen/team-hook-service/team-hook-service.msw.d.ts +1 -1
- package/types/gen/team-trigger-service/team-trigger-service.msw.d.ts +1 -1
- package/types/gen/thread-management/thread-management.msw.d.ts +1 -1
- package/types/gen/timeline/timeline.msw.d.ts +1 -1
- package/types/gen/timezones/timezones.msw.d.ts +1 -1
- package/types/gen/trigger-service/trigger-service.msw.d.ts +1 -1
- package/types/gen/two-factor-authentication/two-factor-authentication.msw.d.ts +1 -1
- package/types/gen/types/types.d.ts +3 -3
- package/types/gen/types/types.msw.d.ts +3 -3
- package/types/gen/user-access-tokens/user-access-tokens.msw.d.ts +1 -1
- package/types/gen/user-helper-service/user-helper-service.msw.d.ts +1 -1
- package/types/gen/users/users.msw.d.ts +1 -1
- package/types/gen/variables/variables.msw.d.ts +1 -1
- package/types/gen/web-hook-service/web-hook-service.msw.d.ts +1 -1
- package/types/gen/working-condition-service/working-condition-service.msw.d.ts +1 -1
- package/types/gen/working-schedule-service/working-schedule-service.msw.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { WebitelCasesCaseLink, WebitelCasesCaseLinkList } from '.././_models';
|
|
4
4
|
export declare const getListLinksResponseMock: (overrideResponse?: Partial<WebitelCasesCaseLinkList>) => WebitelCasesCaseLinkList;
|
|
5
5
|
export declare const getCreateLinkResponseMock: (overrideResponse?: Partial<WebitelCasesCaseLink>) => WebitelCasesCaseLink;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { WebitelCasesGetTimelineCounterResponse, WebitelCasesGetTimelineResponse } from '.././_models';
|
|
4
4
|
export declare const getGetTimelineResponseMock: (overrideResponse?: Partial<WebitelCasesGetTimelineResponse>) => WebitelCasesGetTimelineResponse;
|
|
5
5
|
export declare const getGetTimelineCounterResponseMock: (overrideResponse?: Partial<WebitelCasesGetTimelineCounterResponse>) => WebitelCasesGetTimelineCounterResponse;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type { CreateCaseParams, DeleteCaseParams,
|
|
2
|
+
import type { CreateCaseParams, DeleteCaseParams, 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) => {
|
|
5
5
|
searchCases: <TData = AxiosResponse<WebitelCasesCaseList, any, {}>>(params?: SearchCasesParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
6
|
createCase: <TData = AxiosResponse<WebitelCasesCase, any, {}>>(webitelCasesInputCreateCase: WebitelCasesInputCreateCase, params?: CreateCaseParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
-
exportCases: <TData = AxiosResponse<ExportCases200, any, {}>>(params?: ExportCasesParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
7
|
deleteCase: <TData = AxiosResponse<WebitelCasesCase, any, {}>>(etag: string, params?: DeleteCaseParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
8
|
locateCase: <TData = AxiosResponse<WebitelCasesCase, any, {}>>(etag: string, params?: LocateCaseParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
9
|
updateCase2: <TData = AxiosResponse<WebitelCasesUpdateCaseResponse, any, {}>>(updateCase2Body: UpdateCase2Body, params?: UpdateCase2Params, options?: AxiosRequestConfig) => Promise<TData>;
|
|
@@ -13,7 +12,6 @@ getCases: (axiosInstance?: AxiosInstance) => {
|
|
|
13
12
|
};
|
|
14
13
|
export type SearchCasesResult = AxiosResponse<WebitelCasesCaseList>;
|
|
15
14
|
export type CreateCaseResult = AxiosResponse<WebitelCasesCase>;
|
|
16
|
-
export type ExportCasesResult = AxiosResponse<ExportCases200>;
|
|
17
15
|
export type DeleteCaseResult = AxiosResponse<WebitelCasesCase>;
|
|
18
16
|
export type LocateCaseResult = AxiosResponse<WebitelCasesCase>;
|
|
19
17
|
export type UpdateCase2Result = AxiosResponse<WebitelCasesUpdateCaseResponse>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
3
|
-
import
|
|
2
|
+
import { http } from 'msw';
|
|
3
|
+
import type { WebitelCasesCase, WebitelCasesCaseList, WebitelCasesUpdateCaseResponse } from '.././_models';
|
|
4
4
|
export declare const getSearchCasesResponseMock: (overrideResponse?: Partial<WebitelCasesCaseList>) => WebitelCasesCaseList;
|
|
5
5
|
export declare const getCreateCaseResponseMock: (overrideResponse?: Partial<WebitelCasesCase>) => WebitelCasesCase;
|
|
6
|
-
export declare const getExportCasesResponseMock: (overrideResponse?: Partial<ExportCases200>) => ExportCases200;
|
|
7
6
|
export declare const getDeleteCaseResponseMock: (overrideResponse?: Partial<WebitelCasesCase>) => WebitelCasesCase;
|
|
8
7
|
export declare const getLocateCaseResponseMock: (overrideResponse?: Partial<WebitelCasesCase>) => WebitelCasesCase;
|
|
9
8
|
export declare const getUpdateCase2ResponseMock: (overrideResponse?: Partial<WebitelCasesUpdateCaseResponse>) => WebitelCasesUpdateCaseResponse;
|
|
@@ -11,7 +10,6 @@ export declare const getUpdateCaseResponseMock: (overrideResponse?: Partial<Webi
|
|
|
11
10
|
export declare const getSearchCases2ResponseMock: (overrideResponse?: Partial<WebitelCasesCaseList>) => WebitelCasesCaseList;
|
|
12
11
|
export declare const getSearchCasesMockHandler: (overrideResponse?: WebitelCasesCaseList | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WebitelCasesCaseList> | WebitelCasesCaseList), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
13
12
|
export declare const getCreateCaseMockHandler: (overrideResponse?: WebitelCasesCase | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<WebitelCasesCase> | WebitelCasesCase), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
14
|
-
export declare const getExportCasesMockHandler: (overrideResponse?: ExportCases200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ExportCases200> | ExportCases200), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
15
13
|
export declare const getDeleteCaseMockHandler: (overrideResponse?: WebitelCasesCase | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<WebitelCasesCase> | WebitelCasesCase), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
16
14
|
export declare const getLocateCaseMockHandler: (overrideResponse?: WebitelCasesCase | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WebitelCasesCase> | WebitelCasesCase), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
17
15
|
export declare const getUpdateCase2MockHandler: (overrideResponse?: WebitelCasesUpdateCaseResponse | ((info: Parameters<Parameters<typeof http.patch>[1]>[0]) => Promise<WebitelCasesUpdateCaseResponse> | WebitelCasesUpdateCaseResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -660,32 +660,6 @@ export declare const CreateCaseResponse: zod.ZodObject<{
|
|
|
660
660
|
}, zod.z.core.$strip>>;
|
|
661
661
|
ver: zod.ZodOptional<zod.ZodNumber>;
|
|
662
662
|
}, zod.z.core.$strip>;
|
|
663
|
-
/**
|
|
664
|
-
* @summary RPC method for exporting cases to CSV or XLSX format (server-side streaming).
|
|
665
|
-
*/
|
|
666
|
-
export declare const ExportCasesQueryParams: zod.ZodObject<{
|
|
667
|
-
q: zod.ZodOptional<zod.ZodString>;
|
|
668
|
-
ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
669
|
-
sort: zod.ZodOptional<zod.ZodString>;
|
|
670
|
-
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
671
|
-
filters: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
672
|
-
contactId: zod.ZodOptional<zod.ZodString>;
|
|
673
|
-
qin: zod.ZodOptional<zod.ZodString>;
|
|
674
|
-
filtersV1: zod.ZodOptional<zod.ZodString>;
|
|
675
|
-
format: zod.ZodOptional<zod.ZodString>;
|
|
676
|
-
}, zod.z.core.$strip>;
|
|
677
|
-
export declare const ExportCasesResponse: zod.ZodObject<{
|
|
678
|
-
error: zod.ZodOptional<zod.ZodObject<{
|
|
679
|
-
code: zod.ZodOptional<zod.ZodNumber>;
|
|
680
|
-
details: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
681
|
-
'@type': zod.ZodOptional<zod.ZodString>;
|
|
682
|
-
}, zod.z.core.$strip>>>;
|
|
683
|
-
message: zod.ZodOptional<zod.ZodString>;
|
|
684
|
-
}, zod.z.core.$strip>>;
|
|
685
|
-
result: zod.ZodOptional<zod.ZodObject<{
|
|
686
|
-
data: zod.ZodOptional<zod.ZodString>;
|
|
687
|
-
}, zod.z.core.$strip>>;
|
|
688
|
-
}, zod.z.core.$strip>;
|
|
689
663
|
/**
|
|
690
664
|
* @summary RPC method for deleting an existing case by its etag.
|
|
691
665
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { WebitelChatChatMessages } from '.././_models';
|
|
4
4
|
export declare const getCasesChatCatalogGetCaseChatHistoryResponseMock: (overrideResponse?: Partial<WebitelChatChatMessages>) => WebitelChatChatMessages;
|
|
5
5
|
export declare const getCasesChatCatalogGetCaseChatHistoryMockHandler: (overrideResponse?: WebitelChatChatMessages | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WebitelChatChatMessages> | WebitelChatChatMessages), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { WebitelCasesCatalog, WebitelCasesCatalogList, WebitelCasesLocateCatalogResponse } from '.././_models';
|
|
4
4
|
export declare const getListCatalogsResponseMock: (overrideResponse?: Partial<WebitelCasesCatalogList>) => WebitelCasesCatalogList;
|
|
5
5
|
export declare const getCreateCatalogResponseMock: (overrideResponse?: Partial<WebitelCasesCatalog>) => WebitelCasesCatalog;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { ApiReadClassResponse, ApiSearchClassesResponse, ApiUpdateClassResponse } from '.././_models';
|
|
4
4
|
export declare const getSearchClassesResponseMock: (overrideResponse?: Partial<ApiSearchClassesResponse>) => ApiSearchClassesResponse;
|
|
5
5
|
export declare const getUpdateClass2ResponseMock: (overrideResponse?: Partial<ApiUpdateClassResponse>) => ApiUpdateClassResponse;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { WebitelCasesCloseReasonGroup, WebitelCasesCloseReasonGroupList, WebitelCasesLocateCloseReasonGroupResponse } from '.././_models';
|
|
4
4
|
export declare const getListCloseReasonGroupsResponseMock: (overrideResponse?: Partial<WebitelCasesCloseReasonGroupList>) => WebitelCasesCloseReasonGroupList;
|
|
5
5
|
export declare const getCreateCloseReasonGroupResponseMock: (overrideResponse?: Partial<WebitelCasesCloseReasonGroup>) => WebitelCasesCloseReasonGroup;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { WebitelCasesCloseReason, WebitelCasesCloseReasonList, WebitelCasesLocateCloseReasonResponse } from '.././_models';
|
|
4
4
|
export declare const getListCloseReasonsResponseMock: (overrideResponse?: Partial<WebitelCasesCloseReasonList>) => WebitelCasesCloseReasonList;
|
|
5
5
|
export declare const getCreateCloseReasonResponseMock: (overrideResponse?: Partial<WebitelCasesCloseReason>) => WebitelCasesCloseReason;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { StorageCognitiveProfile, StorageListCognitiveProfile, StorageListCognitiveProfileVoices } from '.././_models';
|
|
4
4
|
export declare const getSearchCognitiveProfileResponseMock: (overrideResponse?: Partial<StorageListCognitiveProfile>) => StorageListCognitiveProfile;
|
|
5
5
|
export declare const getCreateCognitiveProfileResponseMock: (overrideResponse?: Partial<StorageCognitiveProfile>) => StorageCognitiveProfile;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { ContactsComment, ContactsCommentList } from '.././_models';
|
|
4
4
|
export declare const getSearchCommentsResponseMock: (overrideResponse?: Partial<ContactsCommentList>) => ContactsCommentList;
|
|
5
5
|
export declare const getPublishCommentCommentsResponseMock: (overrideResponse?: Partial<ContactsComment>) => ContactsComment;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { EngineCommunicationType, EngineListCommunicationType } from '.././_models';
|
|
4
4
|
export declare const getSearchCommunicationTypeResponseMock: (overrideResponse?: Partial<EngineListCommunicationType>) => EngineListCommunicationType;
|
|
5
5
|
export declare const getCreateCommunicationTypeResponseMock: (overrideResponse?: Partial<EngineCommunicationType>) => EngineCommunicationType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { LoggerConfig, LoggerConfigs, LoggerEmpty, LoggerSystemObjects } from '.././_models';
|
|
4
4
|
export declare const getConfigServiceReadSystemObjectsResponseMock: (overrideResponse?: Partial<LoggerSystemObjects>) => LoggerSystemObjects;
|
|
5
5
|
export declare const getConfigServiceSearchConfigResponseMock: (overrideResponse?: Partial<LoggerConfigs>) => LoggerConfigs;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { ContactsContactGroup, ContactsContactGroupList } from '.././_models';
|
|
4
4
|
export declare const getDeleteContactGroupsResponseMock: (overrideResponse?: Partial<ContactsContactGroupList>) => ContactsContactGroupList;
|
|
5
5
|
export declare const getListContactGroupsResponseMock: (overrideResponse?: Partial<ContactsContactGroupList>) => ContactsContactGroupList;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { WebitelChatEmptyResponse, WebitelChatLookup } from '.././_models';
|
|
4
4
|
export declare const getContactLinkingServiceCreateContactFromConversationResponseMock: (overrideResponse?: Partial<WebitelChatLookup>) => WebitelChatLookup;
|
|
5
5
|
export declare const getContactLinkingServiceLinkContactToClientResponseMock: () => WebitelChatEmptyResponse;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type { ContactsContactList, ContactsInputContact, CreateContactParams, DeleteContactParams, LocateContactParams, SearchContactsParams, UpdateContactBody, UpdateContactParams,
|
|
2
|
+
import type { ContactsContactList, ContactsInputContact, CreateContactParams, 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> = {
|
|
5
5
|
[P in keyof T]-?: IfEquals<{
|
|
@@ -21,15 +21,14 @@ type NonReadonly<T> = [
|
|
|
21
21
|
export declare const // --- title start
|
|
22
22
|
getContacts: (axiosInstance?: AxiosInstance) => {
|
|
23
23
|
searchContacts: <TData = AxiosResponse<ContactsContactList, any, {}>>(params?: SearchContactsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
24
|
-
createContact: <TData = AxiosResponse<
|
|
25
|
-
deleteContact: <TData = AxiosResponse<
|
|
26
|
-
locateContact: <TData = AxiosResponse<
|
|
27
|
-
updateContact: <TData = AxiosResponse<
|
|
24
|
+
createContact: <TData = AxiosResponse<WebitelcontactsContact, any, {}>>(contactsInputContact: NonReadonly<ContactsInputContact>, params?: CreateContactParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
25
|
+
deleteContact: <TData = AxiosResponse<WebitelcontactsContact, any, {}>>(etag: string, params?: DeleteContactParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
26
|
+
locateContact: <TData = AxiosResponse<WebitelcontactsContact, any, {}>>(etag: string, params?: LocateContactParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
27
|
+
updateContact: <TData = AxiosResponse<WebitelcontactsContact, any, {}>>(etag: string, updateContactBody: NonReadonly<UpdateContactBody>, params?: UpdateContactParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
28
28
|
};
|
|
29
|
-
export type SearchContactsResult = AxiosResponse<
|
|
30
|
-
export type CreateContactResult = AxiosResponse<
|
|
31
|
-
export type DeleteContactResult = AxiosResponse<
|
|
32
|
-
export type LocateContactResult = AxiosResponse<
|
|
33
|
-
export type UpdateContactResult = AxiosResponse<
|
|
34
|
-
export type SearchContactsResult = AxiosResponse<WebitelImApiGatewayV1ContactList>;
|
|
29
|
+
export type SearchContactsResult = AxiosResponse<ContactsContactList>;
|
|
30
|
+
export type CreateContactResult = AxiosResponse<WebitelcontactsContact>;
|
|
31
|
+
export type DeleteContactResult = AxiosResponse<WebitelcontactsContact>;
|
|
32
|
+
export type LocateContactResult = AxiosResponse<WebitelcontactsContact>;
|
|
33
|
+
export type UpdateContactResult = AxiosResponse<WebitelcontactsContact>;
|
|
35
34
|
export {};
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
3
|
-
import
|
|
2
|
+
import { http } from 'msw';
|
|
3
|
+
import type { ContactsContactList, WebitelcontactsContact } from '.././_models';
|
|
4
4
|
export declare const getSearchContactsResponseMock: (overrideResponse?: Partial<ContactsContactList>) => ContactsContactList;
|
|
5
|
-
export declare const getCreateContactResponseMock: (overrideResponse?: Partial<
|
|
6
|
-
export declare const getDeleteContactResponseMock: (overrideResponse?: Partial<
|
|
7
|
-
export declare const getLocateContactResponseMock: (overrideResponse?: Partial<
|
|
8
|
-
export declare const getUpdateContactResponseMock: (overrideResponse?: Partial<
|
|
9
|
-
export declare const getSearchContactsResponseMock: (overrideResponse?: Partial<WebitelImApiGatewayV1ContactList>) => WebitelImApiGatewayV1ContactList;
|
|
5
|
+
export declare const getCreateContactResponseMock: (overrideResponse?: Partial<WebitelcontactsContact>) => WebitelcontactsContact;
|
|
6
|
+
export declare const getDeleteContactResponseMock: (overrideResponse?: Partial<WebitelcontactsContact>) => WebitelcontactsContact;
|
|
7
|
+
export declare const getLocateContactResponseMock: (overrideResponse?: Partial<WebitelcontactsContact>) => WebitelcontactsContact;
|
|
8
|
+
export declare const getUpdateContactResponseMock: (overrideResponse?: Partial<WebitelcontactsContact>) => WebitelcontactsContact;
|
|
10
9
|
export declare const getSearchContactsMockHandler: (overrideResponse?: ContactsContactList | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ContactsContactList> | ContactsContactList), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
11
|
-
export declare const getCreateContactMockHandler: (overrideResponse?:
|
|
12
|
-
export declare const getDeleteContactMockHandler: (overrideResponse?:
|
|
13
|
-
export declare const getLocateContactMockHandler: (overrideResponse?:
|
|
14
|
-
export declare const getUpdateContactMockHandler: (overrideResponse?:
|
|
15
|
-
export declare const getSearchContactsMockHandler: (overrideResponse?: WebitelImApiGatewayV1ContactList | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WebitelImApiGatewayV1ContactList> | WebitelImApiGatewayV1ContactList), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
10
|
+
export declare const getCreateContactMockHandler: (overrideResponse?: WebitelcontactsContact | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<WebitelcontactsContact> | WebitelcontactsContact), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
11
|
+
export declare const getDeleteContactMockHandler: (overrideResponse?: WebitelcontactsContact | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<WebitelcontactsContact> | WebitelcontactsContact), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
12
|
+
export declare const getLocateContactMockHandler: (overrideResponse?: WebitelcontactsContact | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WebitelcontactsContact> | WebitelcontactsContact), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
13
|
+
export declare const getUpdateContactMockHandler: (overrideResponse?: WebitelcontactsContact | ((info: Parameters<Parameters<typeof http.patch>[1]>[0]) => Promise<WebitelcontactsContact> | WebitelcontactsContact), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
16
14
|
export declare const getContactsMock: () => import("msw").HttpHandler[];
|
|
@@ -2009,31 +2009,3 @@ export declare const UpdateContactResponse: zod.ZodObject<{
|
|
|
2009
2009
|
}, zod.z.core.$strip>>;
|
|
2010
2010
|
ver: zod.ZodOptional<zod.ZodNumber>;
|
|
2011
2011
|
}, zod.z.core.$strip>;
|
|
2012
|
-
/**
|
|
2013
|
-
* @summary Search retrieves a paginated list of contacts based on filters and search queries.
|
|
2014
|
-
*/
|
|
2015
|
-
export declare const SearchContactsQueryParams: zod.ZodObject<{
|
|
2016
|
-
page: zod.ZodOptional<zod.ZodNumber>;
|
|
2017
|
-
size: zod.ZodOptional<zod.ZodNumber>;
|
|
2018
|
-
sort: zod.ZodOptional<zod.ZodString>;
|
|
2019
|
-
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
2020
|
-
q: zod.ZodOptional<zod.ZodString>;
|
|
2021
|
-
type: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
2022
|
-
subjects: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
2023
|
-
}, zod.z.core.$strip>;
|
|
2024
|
-
export declare const SearchContactsResponse: zod.ZodObject<{
|
|
2025
|
-
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
2026
|
-
appId: zod.ZodOptional<zod.ZodString>;
|
|
2027
|
-
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
2028
|
-
issId: zod.ZodOptional<zod.ZodString>;
|
|
2029
|
-
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
2030
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
2031
|
-
subject: zod.ZodOptional<zod.ZodString>;
|
|
2032
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
2033
|
-
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
2034
|
-
username: zod.ZodOptional<zod.ZodString>;
|
|
2035
|
-
}, zod.z.core.$strip>>>;
|
|
2036
|
-
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
2037
|
-
page: zod.ZodOptional<zod.ZodNumber>;
|
|
2038
|
-
size: zod.ZodOptional<zod.ZodNumber>;
|
|
2039
|
-
}, zod.z.core.$strip>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { WebitelChatGetContactChatHistoryResponse } from '.././_models';
|
|
4
4
|
export declare const getContactsChatCatalogGetContactChatHistory2ResponseMock: (overrideResponse?: Partial<WebitelChatGetContactChatHistoryResponse>) => WebitelChatGetContactChatHistoryResponse;
|
|
5
5
|
export declare const getContactsChatCatalogGetContactChatHistoryResponseMock: (overrideResponse?: Partial<WebitelChatGetContactChatHistoryResponse>) => WebitelChatGetContactChatHistoryResponse;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { ApiGetCustomerResponse, ApiLicenseUsageResponse, ApiLicenseUsersResponse, ApiServerInfoResponse, ApiUpdateCustomerResponse } from '.././_models';
|
|
4
4
|
export declare const getGetCustomerResponseMock: (overrideResponse?: Partial<ApiGetCustomerResponse>) => ApiGetCustomerResponse;
|
|
5
5
|
export declare const getUpdateCustomerResponseMock: (overrideResponse?: Partial<ApiUpdateCustomerResponse>) => ApiUpdateCustomerResponse;
|
|
@@ -29,7 +29,6 @@ export declare const GetCustomerResponse: zod.ZodObject<{
|
|
|
29
29
|
competitive: zod.ZodOptional<zod.ZodBoolean>;
|
|
30
30
|
id: zod.ZodOptional<zod.ZodString>;
|
|
31
31
|
limit: zod.ZodOptional<zod.ZodNumber>;
|
|
32
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
33
32
|
notAfter: zod.ZodOptional<zod.ZodString>;
|
|
34
33
|
notBefore: zod.ZodOptional<zod.ZodString>;
|
|
35
34
|
product: zod.ZodOptional<zod.ZodString>;
|
|
@@ -84,7 +83,6 @@ export declare const UpdateCustomerResponse: zod.ZodObject<{
|
|
|
84
83
|
competitive: zod.ZodOptional<zod.ZodBoolean>;
|
|
85
84
|
id: zod.ZodOptional<zod.ZodString>;
|
|
86
85
|
limit: zod.ZodOptional<zod.ZodNumber>;
|
|
87
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
88
86
|
notAfter: zod.ZodOptional<zod.ZodString>;
|
|
89
87
|
notBefore: zod.ZodOptional<zod.ZodString>;
|
|
90
88
|
product: zod.ZodOptional<zod.ZodString>;
|
|
@@ -142,7 +140,6 @@ export declare const LicenseUsageResponse: zod.ZodObject<{
|
|
|
142
140
|
competitive: zod.ZodOptional<zod.ZodBoolean>;
|
|
143
141
|
id: zod.ZodOptional<zod.ZodString>;
|
|
144
142
|
limit: zod.ZodOptional<zod.ZodNumber>;
|
|
145
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
146
143
|
notAfter: zod.ZodOptional<zod.ZodString>;
|
|
147
144
|
notBefore: zod.ZodOptional<zod.ZodString>;
|
|
148
145
|
product: zod.ZodOptional<zod.ZodString>;
|
|
@@ -193,7 +190,6 @@ export declare const GetCustomer2Response: zod.ZodObject<{
|
|
|
193
190
|
competitive: zod.ZodOptional<zod.ZodBoolean>;
|
|
194
191
|
id: zod.ZodOptional<zod.ZodString>;
|
|
195
192
|
limit: zod.ZodOptional<zod.ZodNumber>;
|
|
196
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
197
193
|
notAfter: zod.ZodOptional<zod.ZodString>;
|
|
198
194
|
notBefore: zod.ZodOptional<zod.ZodString>;
|
|
199
195
|
product: zod.ZodOptional<zod.ZodString>;
|
|
@@ -249,7 +245,6 @@ export declare const LicenseUsage2Response: zod.ZodObject<{
|
|
|
249
245
|
competitive: zod.ZodOptional<zod.ZodBoolean>;
|
|
250
246
|
id: zod.ZodOptional<zod.ZodString>;
|
|
251
247
|
limit: zod.ZodOptional<zod.ZodNumber>;
|
|
252
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
253
248
|
notAfter: zod.ZodOptional<zod.ZodString>;
|
|
254
249
|
notBefore: zod.ZodOptional<zod.ZodString>;
|
|
255
250
|
product: zod.ZodOptional<zod.ZodString>;
|
|
@@ -294,7 +289,6 @@ export declare const LicenseUsage3Response: zod.ZodObject<{
|
|
|
294
289
|
competitive: zod.ZodOptional<zod.ZodBoolean>;
|
|
295
290
|
id: zod.ZodOptional<zod.ZodString>;
|
|
296
291
|
limit: zod.ZodOptional<zod.ZodNumber>;
|
|
297
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
298
292
|
notAfter: zod.ZodOptional<zod.ZodString>;
|
|
299
293
|
notBefore: zod.ZodOptional<zod.ZodString>;
|
|
300
294
|
product: zod.ZodOptional<zod.ZodString>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { ApiCreateDeviceResponse, ApiDeleteDeviceResponse, ApiDeviceAuditResponse, ApiListRegistrationsResponse, ApiReadDeviceResponse, ApiSearchDeviceResponse, ApiUpdateDeviceResponse } from '.././_models';
|
|
4
4
|
export declare const getDeleteDevice2ResponseMock: (overrideResponse?: Partial<ApiDeleteDeviceResponse>) => ApiDeleteDeviceResponse;
|
|
5
5
|
export declare const getSearchDeviceResponseMock: (overrideResponse?: Partial<ApiSearchDeviceResponse>) => ApiSearchDeviceResponse;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type { CreateData200, CreateDataBody, DataDataset, DataInputDictionary, DataStructList, DeleteData2Params, DeleteDataParams, DeleteTypeParams, DictionariesImportCSVBody, LocateData200, LocateDataParams,
|
|
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';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getDictionaries: (axiosInstance?: AxiosInstance) => {
|
|
5
5
|
deleteData: <TData = AxiosResponse<DataDataset, any, {}>>(repo: string, params: DeleteDataParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
@@ -12,9 +12,9 @@ getDictionaries: (axiosInstance?: AxiosInstance) => {
|
|
|
12
12
|
updateData2: <TData = AxiosResponse<UpdateData2200, any, {}>>(repo: string, id: string, updateData2Body: UpdateData2Body, params?: UpdateData2Params, options?: AxiosRequestConfig) => Promise<TData>;
|
|
13
13
|
deleteType: <TData = AxiosResponse<DataStructList, any, {}>>(params: DeleteTypeParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
14
14
|
searchType: <TData = AxiosResponse<DataStructList, any, {}>>(params?: SearchTypeParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
15
|
-
locateType: <TData = AxiosResponse<
|
|
16
|
-
createType: <TData = AxiosResponse<
|
|
17
|
-
updateType: <TData = AxiosResponse<
|
|
15
|
+
locateType: <TData = AxiosResponse<ProtodataStruct, any, {}>>(repo: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
16
|
+
createType: <TData = AxiosResponse<ProtodataStruct, any, {}>>(repo: string, dataInputDictionary: DataInputDictionary, options?: AxiosRequestConfig) => Promise<TData>;
|
|
17
|
+
updateType: <TData = AxiosResponse<ProtodataStruct, any, {}>>(repo: string, dataInputDictionary: DataInputDictionary, params?: UpdateTypeParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
18
18
|
};
|
|
19
19
|
export type DeleteDataResult = AxiosResponse<DataDataset>;
|
|
20
20
|
export type SearchDataResult = AxiosResponse<DataDataset>;
|
|
@@ -26,6 +26,6 @@ export type UpdateDataResult = AxiosResponse<UpdateData200>;
|
|
|
26
26
|
export type UpdateData2Result = AxiosResponse<UpdateData2200>;
|
|
27
27
|
export type DeleteTypeResult = AxiosResponse<DataStructList>;
|
|
28
28
|
export type SearchTypeResult = AxiosResponse<DataStructList>;
|
|
29
|
-
export type LocateTypeResult = AxiosResponse<
|
|
30
|
-
export type CreateTypeResult = AxiosResponse<
|
|
31
|
-
export type UpdateTypeResult = AxiosResponse<
|
|
29
|
+
export type LocateTypeResult = AxiosResponse<ProtodataStruct>;
|
|
30
|
+
export type CreateTypeResult = AxiosResponse<ProtodataStruct>;
|
|
31
|
+
export type UpdateTypeResult = AxiosResponse<ProtodataStruct>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
3
|
-
import
|
|
2
|
+
import { http } from 'msw';
|
|
3
|
+
import type { CreateData200, DataDataset, DataStructList, LocateData200, ProtodataStruct, UpdateData200, UpdateData2200 } from '.././_models';
|
|
4
4
|
export declare const getDeleteDataResponseMock: (overrideResponse?: Partial<DataDataset>) => DataDataset;
|
|
5
5
|
export declare const getSearchDataResponseMock: (overrideResponse?: Partial<DataDataset>) => DataDataset;
|
|
6
6
|
export declare const getCreateDataResponseMock: () => CreateData200;
|
|
@@ -11,9 +11,9 @@ export declare const getUpdateDataResponseMock: () => UpdateData200;
|
|
|
11
11
|
export declare const getUpdateData2ResponseMock: () => UpdateData2200;
|
|
12
12
|
export declare const getDeleteTypeResponseMock: (overrideResponse?: Partial<DataStructList>) => DataStructList;
|
|
13
13
|
export declare const getSearchTypeResponseMock: (overrideResponse?: Partial<DataStructList>) => DataStructList;
|
|
14
|
-
export declare const getLocateTypeResponseMock: (overrideResponse?: Partial<
|
|
15
|
-
export declare const getCreateTypeResponseMock: (overrideResponse?: Partial<
|
|
16
|
-
export declare const getUpdateTypeResponseMock: (overrideResponse?: Partial<
|
|
14
|
+
export declare const getLocateTypeResponseMock: (overrideResponse?: Partial<ProtodataStruct>) => ProtodataStruct;
|
|
15
|
+
export declare const getCreateTypeResponseMock: (overrideResponse?: Partial<ProtodataStruct>) => ProtodataStruct;
|
|
16
|
+
export declare const getUpdateTypeResponseMock: (overrideResponse?: Partial<ProtodataStruct>) => ProtodataStruct;
|
|
17
17
|
export declare const getDeleteDataMockHandler: (overrideResponse?: DataDataset | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<DataDataset> | DataDataset), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
18
18
|
export declare const getSearchDataMockHandler: (overrideResponse?: DataDataset | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DataDataset> | DataDataset), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
19
19
|
export declare const getCreateDataMockHandler: (overrideResponse?: CreateData200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<CreateData200> | CreateData200), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -24,7 +24,7 @@ export declare const getUpdateDataMockHandler: (overrideResponse?: UpdateData200
|
|
|
24
24
|
export declare const getUpdateData2MockHandler: (overrideResponse?: UpdateData2200 | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<UpdateData2200> | UpdateData2200), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
25
25
|
export declare const getDeleteTypeMockHandler: (overrideResponse?: DataStructList | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<DataStructList> | DataStructList), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
26
26
|
export declare const getSearchTypeMockHandler: (overrideResponse?: DataStructList | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DataStructList> | DataStructList), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
27
|
-
export declare const getLocateTypeMockHandler: (overrideResponse?:
|
|
28
|
-
export declare const getCreateTypeMockHandler: (overrideResponse?:
|
|
29
|
-
export declare const getUpdateTypeMockHandler: (overrideResponse?:
|
|
27
|
+
export declare const getLocateTypeMockHandler: (overrideResponse?: ProtodataStruct | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ProtodataStruct> | ProtodataStruct), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
28
|
+
export declare const getCreateTypeMockHandler: (overrideResponse?: ProtodataStruct | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ProtodataStruct> | ProtodataStruct), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
29
|
+
export declare const getUpdateTypeMockHandler: (overrideResponse?: ProtodataStruct | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<ProtodataStruct> | ProtodataStruct), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
30
30
|
export declare const getDictionariesMock: () => import("msw").HttpHandler[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { ApiCreateDomainResponse, ApiDeleteDomainResponse, ApiReadDomainResponse, ApiSearchDomainsResponse, ApiUpdateDomainResponse } from '.././_models';
|
|
4
4
|
export declare const getDeleteDomainResponseMock: () => ApiDeleteDomainResponse;
|
|
5
5
|
export declare const getReadDomainResponseMock: (overrideResponse?: Partial<ApiReadDomainResponse>) => ApiReadDomainResponse;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { ContactsCondition, ContactsConditionList, ContactsLocateConditionResponse } from '.././_models';
|
|
4
4
|
export declare const getDeleteConditionResponseMock: (overrideResponse?: Partial<ContactsCondition>) => ContactsCondition;
|
|
5
5
|
export declare const getLocateConditionResponseMock: (overrideResponse?: Partial<ContactsLocateConditionResponse>) => ContactsLocateConditionResponse;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { ContactsDynamicGroup, ContactsDynamicGroupList, ContactsLocateDynamicGroupResponse } from '.././_models';
|
|
4
4
|
export declare const getListDynamicGroupsResponseMock: (overrideResponse?: Partial<ContactsDynamicGroupList>) => ContactsDynamicGroupList;
|
|
5
5
|
export declare const getCreateDynamicGroupResponseMock: (overrideResponse?: Partial<ContactsDynamicGroup>) => ContactsDynamicGroup;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { EngineEmailProfile, EngineListEmailProfile, EngineLoginEmailProfileResponse, EngineLogoutEmailProfileResponse, EngineTestEmailProfileResponse } from '.././_models';
|
|
4
4
|
export declare const getSearchEmailProfileResponseMock: (overrideResponse?: Partial<EngineListEmailProfile>) => EngineListEmailProfile;
|
|
5
5
|
export declare const getCreateEmailProfileResponseMock: (overrideResponse?: Partial<EngineEmailProfile>) => EngineEmailProfile;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { ContactsEmailAddress, ContactsEmailList } from '.././_models';
|
|
4
4
|
export declare const getDeleteEmailsResponseMock: (overrideResponse?: Partial<ContactsEmailList>) => ContactsEmailList;
|
|
5
5
|
export declare const getListEmailsResponseMock: (overrideResponse?: Partial<ContactsEmailList>) => ContactsEmailList;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type { DataInputExtension, DataStructList, DeleteType2Params, DeleteTypeExtensionsParams,
|
|
2
|
+
import type { DataInputExtension, DataStructList, DeleteType2Params, DeleteTypeExtensionsParams, ProtodataStruct, SearchTypeExtensionsParams } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getExtensions: (axiosInstance?: AxiosInstance) => {
|
|
5
5
|
deleteType2: <TData = AxiosResponse<DataStructList, any, {}>>(params?: DeleteType2Params, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
6
|
searchTypeExtensions: <TData = AxiosResponse<DataStructList, any, {}>>(params?: SearchTypeExtensionsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
7
|
deleteTypeExtensions: <TData = AxiosResponse<DataStructList, any, {}>>(repo: string[], params?: DeleteTypeExtensionsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
8
|
-
locateTypeExtensions: <TData = AxiosResponse<
|
|
9
|
-
createTypeExtensions: <TData = AxiosResponse<
|
|
10
|
-
updateTypeExtensions: <TData = AxiosResponse<
|
|
8
|
+
locateTypeExtensions: <TData = AxiosResponse<ProtodataStruct, any, {}>>(repo: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
9
|
+
createTypeExtensions: <TData = AxiosResponse<ProtodataStruct, any, {}>>(repo: string, dataInputExtension: DataInputExtension, options?: AxiosRequestConfig) => Promise<TData>;
|
|
10
|
+
updateTypeExtensions: <TData = AxiosResponse<ProtodataStruct, any, {}>>(repo: string, dataInputExtension: DataInputExtension, options?: AxiosRequestConfig) => Promise<TData>;
|
|
11
11
|
};
|
|
12
12
|
export type DeleteType2Result = AxiosResponse<DataStructList>;
|
|
13
13
|
export type SearchTypeExtensionsResult = AxiosResponse<DataStructList>;
|
|
14
14
|
export type DeleteTypeExtensionsResult = AxiosResponse<DataStructList>;
|
|
15
|
-
export type LocateTypeExtensionsResult = AxiosResponse<
|
|
16
|
-
export type CreateTypeExtensionsResult = AxiosResponse<
|
|
17
|
-
export type UpdateTypeExtensionsResult = AxiosResponse<
|
|
15
|
+
export type LocateTypeExtensionsResult = AxiosResponse<ProtodataStruct>;
|
|
16
|
+
export type CreateTypeExtensionsResult = AxiosResponse<ProtodataStruct>;
|
|
17
|
+
export type UpdateTypeExtensionsResult = AxiosResponse<ProtodataStruct>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { http } from 'msw';
|
|
2
2
|
import type { RequestHandlerOptions } from 'msw';
|
|
3
|
-
import type { DataStructList,
|
|
3
|
+
import type { DataStructList, ProtodataStruct } from '.././_models';
|
|
4
4
|
export declare const getDeleteType2ResponseMock: (overrideResponse?: Partial<DataStructList>) => DataStructList;
|
|
5
5
|
export declare const getSearchTypeExtensionsResponseMock: (overrideResponse?: Partial<DataStructList>) => DataStructList;
|
|
6
6
|
export declare const getDeleteTypeExtensionsResponseMock: (overrideResponse?: Partial<DataStructList>) => DataStructList;
|
|
7
|
-
export declare const getLocateTypeExtensionsResponseMock: (overrideResponse?: Partial<
|
|
8
|
-
export declare const getCreateTypeExtensionsResponseMock: (overrideResponse?: Partial<
|
|
9
|
-
export declare const getUpdateTypeExtensionsResponseMock: (overrideResponse?: Partial<
|
|
7
|
+
export declare const getLocateTypeExtensionsResponseMock: (overrideResponse?: Partial<ProtodataStruct>) => ProtodataStruct;
|
|
8
|
+
export declare const getCreateTypeExtensionsResponseMock: (overrideResponse?: Partial<ProtodataStruct>) => ProtodataStruct;
|
|
9
|
+
export declare const getUpdateTypeExtensionsResponseMock: (overrideResponse?: Partial<ProtodataStruct>) => ProtodataStruct;
|
|
10
10
|
export declare const getDeleteType2MockHandler: (overrideResponse?: DataStructList | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<DataStructList> | DataStructList), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
11
11
|
export declare const getSearchTypeExtensionsMockHandler: (overrideResponse?: DataStructList | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DataStructList> | DataStructList), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
12
12
|
export declare const getDeleteTypeExtensionsMockHandler: (overrideResponse?: DataStructList | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<DataStructList> | DataStructList), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
13
|
-
export declare const getLocateTypeExtensionsMockHandler: (overrideResponse?:
|
|
14
|
-
export declare const getCreateTypeExtensionsMockHandler: (overrideResponse?:
|
|
15
|
-
export declare const getUpdateTypeExtensionsMockHandler: (overrideResponse?:
|
|
13
|
+
export declare const getLocateTypeExtensionsMockHandler: (overrideResponse?: ProtodataStruct | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ProtodataStruct> | ProtodataStruct), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
14
|
+
export declare const getCreateTypeExtensionsMockHandler: (overrideResponse?: ProtodataStruct | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ProtodataStruct> | ProtodataStruct), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
15
|
+
export declare const getUpdateTypeExtensionsMockHandler: (overrideResponse?: ProtodataStruct | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<ProtodataStruct> | ProtodataStruct), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
16
16
|
export declare const getExtensionsMock: () => import("msw").HttpHandler[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { EngineFeedback } from '.././_models';
|
|
4
4
|
export declare const getGetFeedbackResponseMock: (overrideResponse?: Partial<EngineFeedback>) => EngineFeedback;
|
|
5
5
|
export declare const getCreateFeedbackResponseMock: (overrideResponse?: Partial<EngineFeedback>) => EngineFeedback;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { StorageFilePolicy, StorageFilePolicyApplyResponse, StorageListFilePolicies, StorageMovePositionFilePolicyResponse } from '.././_models';
|
|
4
4
|
export declare const getSearchFilePoliciesResponseMock: (overrideResponse?: Partial<StorageListFilePolicies>) => StorageListFilePolicies;
|
|
5
5
|
export declare const getCreateFilePolicyResponseMock: (overrideResponse?: Partial<StorageFilePolicy>) => StorageFilePolicy;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { StorageDeleteFilesResponse, StorageListFile, StorageRestoreFilesResponse } from '.././_models';
|
|
4
4
|
export declare const getSearchFilesByCallResponseMock: (overrideResponse?: Partial<StorageListFile>) => StorageListFile;
|
|
5
5
|
export declare const getSearchScreenRecordingsByAgentResponseMock: (overrideResponse?: Partial<StorageListFile>) => StorageListFile;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { StorageDeleteFileTranscriptResponse, StorageListPhrases, StoragePutFileTranscriptResponse, StorageStartFileTranscriptResponse } from '.././_models';
|
|
4
4
|
export declare const getDeleteFileTranscriptResponseMock: (overrideResponse?: Partial<StorageDeleteFileTranscriptResponse>) => StorageDeleteFileTranscriptResponse;
|
|
5
5
|
export declare const getCreateFileTranscriptResponseMock: (overrideResponse?: Partial<StorageStartFileTranscriptResponse>) => StorageStartFileTranscriptResponse;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { WfmCreateForecastCalculationResponse, WfmDeleteForecastCalculationResponse, WfmExecuteForecastCalculationResponse, WfmReadForecastCalculationResponse, WfmSearchForecastCalculationResponse, WfmUpdateForecastCalculationResponse } from '.././_models';
|
|
4
4
|
export declare const getForecastCalculationServiceSearchForecastCalculationResponseMock: (overrideResponse?: Partial<WfmSearchForecastCalculationResponse>) => WfmSearchForecastCalculationResponse;
|
|
5
5
|
export declare const getForecastCalculationServiceCreateForecastCalculationResponseMock: (overrideResponse?: Partial<WfmCreateForecastCalculationResponse>) => WfmCreateForecastCalculationResponse;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { FtsSearchResponse } from '.././_models';
|
|
4
4
|
export declare const getSearchResponseMock: (overrideResponse?: Partial<FtsSearchResponse>) => FtsSearchResponse;
|
|
5
5
|
export declare const getSearchMockHandler: (overrideResponse?: FtsSearchResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<FtsSearchResponse> | FtsSearchResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { http } from 'msw';
|
|
2
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
|
+
import { http } from 'msw';
|
|
3
3
|
import type { ContactsContactList, ContactsGroup, ContactsGroupList, ContactsLocateGroupResponse } from '.././_models';
|
|
4
4
|
export declare const getListGroupsResponseMock: (overrideResponse?: Partial<ContactsGroupList>) => ContactsGroupList;
|
|
5
5
|
export declare const getCreateGroupResponseMock: (overrideResponse?: Partial<ContactsGroup>) => ContactsGroup;
|