@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
|
@@ -1169,13 +1169,6 @@ export const getSearchQueueReportGeneralResponseMock = (
|
|
|
1169
1169
|
): EngineListReportGeneral => ({
|
|
1170
1170
|
aggs: faker.helpers.arrayElement([
|
|
1171
1171
|
{
|
|
1172
|
-
busy: faker.helpers.arrayElement([
|
|
1173
|
-
faker.number.int({
|
|
1174
|
-
min: undefined,
|
|
1175
|
-
max: undefined,
|
|
1176
|
-
}),
|
|
1177
|
-
undefined,
|
|
1178
|
-
]),
|
|
1179
1172
|
free: faker.helpers.arrayElement([
|
|
1180
1173
|
faker.number.int({
|
|
1181
1174
|
min: undefined,
|
|
@@ -1233,13 +1226,6 @@ export const getSearchQueueReportGeneralResponseMock = (
|
|
|
1233
1226
|
]),
|
|
1234
1227
|
agentStatus: faker.helpers.arrayElement([
|
|
1235
1228
|
{
|
|
1236
|
-
busy: faker.helpers.arrayElement([
|
|
1237
|
-
faker.number.int({
|
|
1238
|
-
min: undefined,
|
|
1239
|
-
max: undefined,
|
|
1240
|
-
}),
|
|
1241
|
-
undefined,
|
|
1242
|
-
]),
|
|
1243
1229
|
free: faker.helpers.arrayElement([
|
|
1244
1230
|
faker.number.int({
|
|
1245
1231
|
min: undefined,
|
|
@@ -414,7 +414,6 @@ export const SearchQueueReportGeneralQueryParams = zod.object({
|
|
|
414
414
|
export const SearchQueueReportGeneralResponse = zod.object({
|
|
415
415
|
aggs: zod
|
|
416
416
|
.object({
|
|
417
|
-
busy: zod.number().optional(),
|
|
418
417
|
free: zod.number().optional(),
|
|
419
418
|
offline: zod.number().optional(),
|
|
420
419
|
online: zod.number().optional(),
|
|
@@ -428,7 +427,6 @@ export const SearchQueueReportGeneralResponse = zod.object({
|
|
|
428
427
|
abandoned: zod.number().optional(),
|
|
429
428
|
agentStatus: zod
|
|
430
429
|
.object({
|
|
431
|
-
busy: zod.number().optional(),
|
|
432
430
|
free: zod.number().optional(),
|
|
433
431
|
offline: zod.number().optional(),
|
|
434
432
|
online: zod.number().optional(),
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import { faker } from '@faker-js/faker';
|
|
8
8
|
import type { RequestHandlerOptions } from 'msw';
|
|
9
9
|
import { HttpResponse, http } from 'msw';
|
|
10
|
-
import type { DataStructList,
|
|
10
|
+
import type { DataStructList, ProtodataStruct } from '.././_models';
|
|
11
11
|
import { TypeKind } from '.././_models';
|
|
12
12
|
|
|
13
13
|
export const getSearchTypesResponseMock = (
|
|
@@ -877,8 +877,8 @@ export const getSearchTypesResponseMock = (
|
|
|
877
877
|
});
|
|
878
878
|
|
|
879
879
|
export const getLocateResponseMock = (
|
|
880
|
-
overrideResponse: Partial<
|
|
881
|
-
):
|
|
880
|
+
overrideResponse: Partial<ProtodataStruct> = {},
|
|
881
|
+
): ProtodataStruct => ({
|
|
882
882
|
about: faker.helpers.arrayElement([
|
|
883
883
|
faker.string.alpha({
|
|
884
884
|
length: {
|
|
@@ -1751,10 +1751,10 @@ export const getSearchTypesMockHandler = (
|
|
|
1751
1751
|
|
|
1752
1752
|
export const getLocateMockHandler = (
|
|
1753
1753
|
overrideResponse?:
|
|
1754
|
-
|
|
|
1754
|
+
| ProtodataStruct
|
|
1755
1755
|
| ((
|
|
1756
1756
|
info: Parameters<Parameters<typeof http.get>[1]>[0],
|
|
1757
|
-
) => Promise<
|
|
1757
|
+
) => Promise<ProtodataStruct> | ProtodataStruct),
|
|
1758
1758
|
options?: RequestHandlerOptions,
|
|
1759
1759
|
) => {
|
|
1760
1760
|
return http.get(
|
package/src/gen/types/types.ts
CHANGED
|
@@ -10,7 +10,7 @@ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
|
10
10
|
|
|
11
11
|
import type {
|
|
12
12
|
DataStructList,
|
|
13
|
-
|
|
13
|
+
ProtodataStruct,
|
|
14
14
|
SearchTypesParams,
|
|
15
15
|
} from '.././_models';
|
|
16
16
|
|
|
@@ -40,7 +40,7 @@ export const // --- title start
|
|
|
40
40
|
/**
|
|
41
41
|
* @summary Structured data type details.
|
|
42
42
|
*/
|
|
43
|
-
const locate = <TData = AxiosResponse<
|
|
43
|
+
const locate = <TData = AxiosResponse<ProtodataStruct>>(
|
|
44
44
|
path: string,
|
|
45
45
|
options?: AxiosRequestConfig,
|
|
46
46
|
): Promise<TData> => {
|
|
@@ -54,6 +54,6 @@ export const // --- title start
|
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
export type SearchTypesResult = AxiosResponse<DataStructList>;
|
|
57
|
-
export type LocateResult = AxiosResponse<
|
|
57
|
+
export type LocateResult = AxiosResponse<ProtodataStruct>;
|
|
58
58
|
|
|
59
59
|
// --- footer end
|
|
@@ -19,41 +19,37 @@ export const AddUserAccessTokenQueryParams = zod.object({
|
|
|
19
19
|
),
|
|
20
20
|
});
|
|
21
21
|
|
|
22
|
-
export const AddUserAccessTokenBody = zod
|
|
23
|
-
.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
})
|
|
54
|
-
.describe(
|
|
55
|
-
'processing\n------------\ntoken.user.id // [required] authorization\ntoken.usage // [optional] short description',
|
|
56
|
-
);
|
|
22
|
+
export const AddUserAccessTokenBody = zod.object({
|
|
23
|
+
createdAt: zod.string().optional(),
|
|
24
|
+
createdBy: zod
|
|
25
|
+
.object({
|
|
26
|
+
id: zod.string().optional(),
|
|
27
|
+
name: zod.string().optional(),
|
|
28
|
+
})
|
|
29
|
+
.optional(),
|
|
30
|
+
deletedAt: zod.string().optional(),
|
|
31
|
+
deletedBy: zod
|
|
32
|
+
.object({
|
|
33
|
+
id: zod.string().optional(),
|
|
34
|
+
name: zod.string().optional(),
|
|
35
|
+
})
|
|
36
|
+
.optional(),
|
|
37
|
+
id: zod.string().optional(),
|
|
38
|
+
token: zod.string().optional(),
|
|
39
|
+
updatedAt: zod.string().optional(),
|
|
40
|
+
updatedBy: zod
|
|
41
|
+
.object({
|
|
42
|
+
id: zod.string().optional(),
|
|
43
|
+
name: zod.string().optional(),
|
|
44
|
+
})
|
|
45
|
+
.optional(),
|
|
46
|
+
usage: zod.string().optional(),
|
|
47
|
+
user: zod
|
|
48
|
+
.object({
|
|
49
|
+
name: zod.string().optional(),
|
|
50
|
+
})
|
|
51
|
+
.optional(),
|
|
52
|
+
});
|
|
57
53
|
|
|
58
54
|
export const AddUserAccessTokenResponse = zod
|
|
59
55
|
.object({
|
|
@@ -6,12 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { AddUserAccessTokenBodyUser } from './addUserAccessTokenBodyUser';
|
|
8
8
|
import type { ApiObjectId } from './apiObjectId';
|
|
9
|
-
/**
|
|
10
|
-
* processing
|
|
11
|
-
------------
|
|
12
|
-
token.user.id // [required] authorization
|
|
13
|
-
token.usage // [optional] short description
|
|
14
|
-
*/
|
|
15
9
|
export type AddUserAccessTokenBody = {
|
|
16
10
|
createdAt?: string;
|
|
17
11
|
createdBy?: ApiObjectId;
|
|
@@ -6,12 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { AddUserAccessTokenBodyUser } from './addUserAccessTokenBodyUser';
|
|
8
8
|
import type { ApiObjectId } from './apiObjectId';
|
|
9
|
-
/**
|
|
10
|
-
* processing
|
|
11
|
-
------------
|
|
12
|
-
token.user.id // [required] authorization
|
|
13
|
-
token.usage // [optional] short description
|
|
14
|
-
*/
|
|
15
9
|
export type AddUserAccessTokenBody = {
|
|
16
10
|
createdAt?: string;
|
|
17
11
|
createdBy?: ApiObjectId;
|
|
@@ -6,19 +6,19 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { ContactsCallFile } from './contactsCallFile';
|
|
8
8
|
import type { ContactsTranscriptLookup } from './contactsTranscriptLookup';
|
|
9
|
-
import type {
|
|
9
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
10
10
|
export interface ContactsCallEvent {
|
|
11
11
|
closedAt?: string;
|
|
12
12
|
duration?: string;
|
|
13
13
|
files?: ContactsCallFile[];
|
|
14
|
-
flowScheme?:
|
|
15
|
-
gateway?:
|
|
14
|
+
flowScheme?: WebitelcontactsLookup;
|
|
15
|
+
gateway?: WebitelcontactsLookup;
|
|
16
16
|
id?: string;
|
|
17
17
|
isDetailed?: boolean;
|
|
18
18
|
isInbound?: boolean;
|
|
19
19
|
isMissed?: boolean;
|
|
20
|
-
participants?:
|
|
21
|
-
queue?:
|
|
20
|
+
participants?: WebitelcontactsLookup[];
|
|
21
|
+
queue?: WebitelcontactsLookup;
|
|
22
22
|
totalDuration?: string;
|
|
23
23
|
transcripts?: ContactsTranscriptLookup[];
|
|
24
24
|
}
|
|
@@ -6,19 +6,19 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { ContactsCallFile } from './contactsCallFile';
|
|
8
8
|
import type { ContactsTranscriptLookup } from './contactsTranscriptLookup';
|
|
9
|
-
import type {
|
|
9
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
10
10
|
export interface ContactsCallEvent {
|
|
11
11
|
closedAt?: string;
|
|
12
12
|
duration?: string;
|
|
13
13
|
files?: ContactsCallFile[];
|
|
14
|
-
flowScheme?:
|
|
15
|
-
gateway?:
|
|
14
|
+
flowScheme?: WebitelcontactsLookup;
|
|
15
|
+
gateway?: WebitelcontactsLookup;
|
|
16
16
|
id?: string;
|
|
17
17
|
isDetailed?: boolean;
|
|
18
18
|
isInbound?: boolean;
|
|
19
19
|
isMissed?: boolean;
|
|
20
|
-
participants?:
|
|
21
|
-
queue?:
|
|
20
|
+
participants?: WebitelcontactsLookup[];
|
|
21
|
+
queue?: WebitelcontactsLookup;
|
|
22
22
|
totalDuration?: string;
|
|
23
23
|
transcripts?: ContactsTranscriptLookup[];
|
|
24
24
|
}
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
8
8
|
export interface ContactsChatEvent {
|
|
9
9
|
closedAt?: string;
|
|
10
10
|
duration?: string;
|
|
11
|
-
flowScheme?:
|
|
12
|
-
gateway?:
|
|
11
|
+
flowScheme?: WebitelcontactsLookup;
|
|
12
|
+
gateway?: WebitelcontactsLookup;
|
|
13
13
|
id?: string;
|
|
14
14
|
isDetailed?: boolean;
|
|
15
15
|
isInbound?: boolean;
|
|
16
16
|
isMissed?: boolean;
|
|
17
|
-
participants?:
|
|
18
|
-
queue?:
|
|
17
|
+
participants?: WebitelcontactsLookup[];
|
|
18
|
+
queue?: WebitelcontactsLookup;
|
|
19
19
|
}
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
8
8
|
export interface ContactsChatEvent {
|
|
9
9
|
closedAt?: string;
|
|
10
10
|
duration?: string;
|
|
11
|
-
flowScheme?:
|
|
12
|
-
gateway?:
|
|
11
|
+
flowScheme?: WebitelcontactsLookup;
|
|
12
|
+
gateway?: WebitelcontactsLookup;
|
|
13
13
|
id?: string;
|
|
14
14
|
isDetailed?: boolean;
|
|
15
15
|
isInbound?: boolean;
|
|
16
16
|
isMissed?: boolean;
|
|
17
|
-
participants?:
|
|
18
|
-
queue?:
|
|
17
|
+
participants?: WebitelcontactsLookup[];
|
|
18
|
+
queue?: WebitelcontactsLookup;
|
|
19
19
|
}
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { CommentFormat } from './commentFormat';
|
|
8
|
-
import type {
|
|
8
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
9
9
|
export interface ContactsComment {
|
|
10
10
|
/** The user who created this Field. */
|
|
11
11
|
createdAt?: string;
|
|
12
12
|
/** Timestamp(milli) of the Field creation. */
|
|
13
|
-
createdBy?:
|
|
13
|
+
createdBy?: WebitelcontactsLookup;
|
|
14
14
|
/** Unique ID of the latest version of the update.
|
|
15
15
|
This ID changes after any update to the underlying value(s). */
|
|
16
16
|
etag?: string;
|
|
@@ -24,7 +24,7 @@ This ID changes after any update to the underlying value(s). */
|
|
|
24
24
|
Take part in Etag generation. */
|
|
25
25
|
updatedAt?: string;
|
|
26
26
|
/** The user who performed last Update. */
|
|
27
|
-
updatedBy?:
|
|
27
|
+
updatedBy?: WebitelcontactsLookup;
|
|
28
28
|
/** Version of the latest update. Numeric sequence. */
|
|
29
29
|
ver?: number;
|
|
30
30
|
}
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { CommentFormat } from './commentFormat';
|
|
8
|
-
import type {
|
|
8
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
9
9
|
export interface ContactsComment {
|
|
10
10
|
/** The user who created this Field. */
|
|
11
11
|
createdAt?: string;
|
|
12
12
|
/** Timestamp(milli) of the Field creation. */
|
|
13
|
-
createdBy?:
|
|
13
|
+
createdBy?: WebitelcontactsLookup;
|
|
14
14
|
/** Unique ID of the latest version of the update.
|
|
15
15
|
This ID changes after any update to the underlying value(s). */
|
|
16
16
|
etag?: string;
|
|
@@ -24,7 +24,7 @@ This ID changes after any update to the underlying value(s). */
|
|
|
24
24
|
Take part in Etag generation. */
|
|
25
25
|
updatedAt?: string;
|
|
26
26
|
/** The user who performed last Update. */
|
|
27
|
-
updatedBy?:
|
|
27
|
+
updatedBy?: WebitelcontactsLookup;
|
|
28
28
|
/** Version of the latest update. Numeric sequence. */
|
|
29
29
|
ver?: number;
|
|
30
30
|
}
|
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
8
8
|
export interface ContactsCondition {
|
|
9
9
|
/** The ID of the assignee that should be assigned if the condition is met (optional). */
|
|
10
|
-
assignee?:
|
|
10
|
+
assignee?: WebitelcontactsLookup;
|
|
11
11
|
/** The timestamp (in milliseconds) of when the condition was created. */
|
|
12
12
|
createdAt?: string;
|
|
13
13
|
/** The user who created this condition. */
|
|
14
|
-
createdBy?:
|
|
14
|
+
createdBy?: WebitelcontactsLookup;
|
|
15
15
|
/** The query or condition expression used to evaluate the group. */
|
|
16
16
|
expression?: string;
|
|
17
17
|
/** The ID of the static group that should be assigned if the condition is met. */
|
|
18
|
-
group?:
|
|
18
|
+
group?: WebitelcontactsLookup;
|
|
19
19
|
/** The unique ID of the condition. */
|
|
20
20
|
id?: string;
|
|
21
21
|
/** The timestamp (in milliseconds) of the last update. */
|
|
22
22
|
updatedAt?: string;
|
|
23
23
|
/** The user who performed the last update. */
|
|
24
|
-
updatedBy?:
|
|
24
|
+
updatedBy?: WebitelcontactsLookup;
|
|
25
25
|
}
|
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
8
8
|
export interface ContactsCondition {
|
|
9
9
|
/** The ID of the assignee that should be assigned if the condition is met (optional). */
|
|
10
|
-
assignee?:
|
|
10
|
+
assignee?: WebitelcontactsLookup;
|
|
11
11
|
/** The timestamp (in milliseconds) of when the condition was created. */
|
|
12
12
|
createdAt?: string;
|
|
13
13
|
/** The user who created this condition. */
|
|
14
|
-
createdBy?:
|
|
14
|
+
createdBy?: WebitelcontactsLookup;
|
|
15
15
|
/** The query or condition expression used to evaluate the group. */
|
|
16
16
|
expression?: string;
|
|
17
17
|
/** The ID of the static group that should be assigned if the condition is met. */
|
|
18
|
-
group?:
|
|
18
|
+
group?: WebitelcontactsLookup;
|
|
19
19
|
/** The unique ID of the condition. */
|
|
20
20
|
id?: string;
|
|
21
21
|
/** The timestamp (in milliseconds) of the last update. */
|
|
22
22
|
updatedAt?: string;
|
|
23
23
|
/** The user who performed the last update. */
|
|
24
|
-
updatedBy?:
|
|
24
|
+
updatedBy?: WebitelcontactsLookup;
|
|
25
25
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
8
8
|
/**
|
|
9
9
|
* The Contact's Group association.
|
|
10
10
|
*/
|
|
@@ -12,19 +12,19 @@ export interface ContactsContactGroup {
|
|
|
12
12
|
/** The user who created this Field. */
|
|
13
13
|
createdAt?: string;
|
|
14
14
|
/** Timestamp(milli) of the Field creation. */
|
|
15
|
-
createdBy?:
|
|
15
|
+
createdBy?: WebitelcontactsLookup;
|
|
16
16
|
/** Unique ID of the latest version of the update.
|
|
17
17
|
This ID changes after any update to the underlying value(s). */
|
|
18
18
|
etag?: string;
|
|
19
19
|
/** Group of contacts associated. */
|
|
20
|
-
group?:
|
|
20
|
+
group?: WebitelcontactsLookup;
|
|
21
21
|
/** The unique ID of the association. Never changes. */
|
|
22
22
|
id?: string;
|
|
23
23
|
/** Timestamp(milli) of the last Field update.
|
|
24
24
|
Take part in Etag generation. */
|
|
25
25
|
updatedAt?: string;
|
|
26
26
|
/** The user who performed last Update. */
|
|
27
|
-
updatedBy?:
|
|
27
|
+
updatedBy?: WebitelcontactsLookup;
|
|
28
28
|
/** Version of the latest update. Numeric sequence. */
|
|
29
29
|
ver?: number;
|
|
30
30
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
8
8
|
/**
|
|
9
9
|
* The Contact's Group association.
|
|
10
10
|
*/
|
|
@@ -12,19 +12,19 @@ export interface ContactsContactGroup {
|
|
|
12
12
|
/** The user who created this Field. */
|
|
13
13
|
createdAt?: string;
|
|
14
14
|
/** Timestamp(milli) of the Field creation. */
|
|
15
|
-
createdBy?:
|
|
15
|
+
createdBy?: WebitelcontactsLookup;
|
|
16
16
|
/** Unique ID of the latest version of the update.
|
|
17
17
|
This ID changes after any update to the underlying value(s). */
|
|
18
18
|
etag?: string;
|
|
19
19
|
/** Group of contacts associated. */
|
|
20
|
-
group?:
|
|
20
|
+
group?: WebitelcontactsLookup;
|
|
21
21
|
/** The unique ID of the association. Never changes. */
|
|
22
22
|
id?: string;
|
|
23
23
|
/** Timestamp(milli) of the last Field update.
|
|
24
24
|
Take part in Etag generation. */
|
|
25
25
|
updatedAt?: string;
|
|
26
26
|
/** The user who performed last Update. */
|
|
27
|
-
updatedBy?:
|
|
27
|
+
updatedBy?: WebitelcontactsLookup;
|
|
28
28
|
/** Version of the latest update. Numeric sequence. */
|
|
29
29
|
ver?: number;
|
|
30
30
|
}
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { WebitelcontactsContact } from './webitelcontactsContact';
|
|
8
8
|
/**
|
|
9
9
|
* Contact dataset.
|
|
10
10
|
*/
|
|
11
11
|
export interface ContactsContactList {
|
|
12
12
|
/** Contact(s) dataset page. */
|
|
13
|
-
data?:
|
|
13
|
+
data?: WebitelcontactsContact[];
|
|
14
14
|
next?: boolean;
|
|
15
15
|
/** The page number of the partial result. */
|
|
16
16
|
page?: number;
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { WebitelcontactsContact } from './webitelcontactsContact';
|
|
8
8
|
/**
|
|
9
9
|
* Contact dataset.
|
|
10
10
|
*/
|
|
11
11
|
export interface ContactsContactList {
|
|
12
12
|
/** Contact(s) dataset page. */
|
|
13
|
-
data?:
|
|
13
|
+
data?: WebitelcontactsContact[];
|
|
14
14
|
next?: boolean;
|
|
15
15
|
/** The page number of the partial result. */
|
|
16
16
|
page?: number;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { ContactsInputDynamicCondition } from './contactsInputDynamicCondition';
|
|
8
|
-
import type {
|
|
8
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
9
9
|
/**
|
|
10
10
|
* Request message for creating a new dynamic group.
|
|
11
11
|
*/
|
|
@@ -13,7 +13,7 @@ export interface ContactsCreateDynamicGroupRequest {
|
|
|
13
13
|
/** Input details for the dynamic group. */
|
|
14
14
|
condition?: ContactsInputDynamicCondition[];
|
|
15
15
|
/** Default static group to assign if no conditions are met. */
|
|
16
|
-
defaultGroup?:
|
|
16
|
+
defaultGroup?: WebitelcontactsLookup;
|
|
17
17
|
/** The description of the dynamic group. */
|
|
18
18
|
description?: string;
|
|
19
19
|
/** Enabled status of the dynamic group: active/inactive. */
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { ContactsInputDynamicCondition } from './contactsInputDynamicCondition';
|
|
8
|
-
import type {
|
|
8
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
9
9
|
/**
|
|
10
10
|
* Request message for creating a new dynamic group.
|
|
11
11
|
*/
|
|
@@ -13,7 +13,7 @@ export interface ContactsCreateDynamicGroupRequest {
|
|
|
13
13
|
/** Input details for the dynamic group. */
|
|
14
14
|
condition?: ContactsInputDynamicCondition[];
|
|
15
15
|
/** Default static group to assign if no conditions are met. */
|
|
16
|
-
defaultGroup?:
|
|
16
|
+
defaultGroup?: WebitelcontactsLookup;
|
|
17
17
|
/** The description of the dynamic group. */
|
|
18
18
|
description?: string;
|
|
19
19
|
/** Enabled status of the dynamic group: active/inactive. */
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
8
8
|
export interface ContactsDynamicCondition {
|
|
9
9
|
/** The ID of the assignee that should be assigned if the condition is met (optional). */
|
|
10
|
-
assignee?:
|
|
10
|
+
assignee?: WebitelcontactsLookup;
|
|
11
11
|
/** The query or condition expression used to evaluate the group. */
|
|
12
12
|
expression?: string;
|
|
13
13
|
/** The ID of the static group that should be assigned if the condition is met. */
|
|
14
|
-
group?:
|
|
14
|
+
group?: WebitelcontactsLookup;
|
|
15
15
|
/** The unique ID of the condition. */
|
|
16
16
|
id?: string;
|
|
17
17
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
8
8
|
export interface ContactsDynamicCondition {
|
|
9
9
|
/** The ID of the assignee that should be assigned if the condition is met (optional). */
|
|
10
|
-
assignee?:
|
|
10
|
+
assignee?: WebitelcontactsLookup;
|
|
11
11
|
/** The query or condition expression used to evaluate the group. */
|
|
12
12
|
expression?: string;
|
|
13
13
|
/** The ID of the static group that should be assigned if the condition is met. */
|
|
14
|
-
group?:
|
|
14
|
+
group?: WebitelcontactsLookup;
|
|
15
15
|
/** The unique ID of the condition. */
|
|
16
16
|
id?: string;
|
|
17
17
|
}
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { ContactsDynamicCondition } from './contactsDynamicCondition';
|
|
8
|
-
import type {
|
|
8
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
9
9
|
export interface ContactsDynamicGroup {
|
|
10
10
|
/** List of dynamic conditions associated with the group. */
|
|
11
11
|
conditions?: ContactsDynamicCondition[];
|
|
12
12
|
/** Timestamp(milli) of the group's creation. */
|
|
13
13
|
createdAt?: string;
|
|
14
14
|
/** The user who created this dynamic group. */
|
|
15
|
-
createdBy?:
|
|
15
|
+
createdBy?: WebitelcontactsLookup;
|
|
16
16
|
/** Default static group to be assigned if no conditions are met. */
|
|
17
|
-
defaultGroup?:
|
|
17
|
+
defaultGroup?: WebitelcontactsLookup;
|
|
18
18
|
/** The description of the dynamic group. */
|
|
19
19
|
description?: string;
|
|
20
20
|
/** Enabled status of the group: active or inactive. */
|
|
@@ -26,5 +26,5 @@ export interface ContactsDynamicGroup {
|
|
|
26
26
|
/** Timestamp(milli) of the last group update. */
|
|
27
27
|
updatedAt?: string;
|
|
28
28
|
/** The user who performed the last update. */
|
|
29
|
-
updatedBy?:
|
|
29
|
+
updatedBy?: WebitelcontactsLookup;
|
|
30
30
|
}
|