@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
|
@@ -16,22 +16,22 @@ import type { ContactsPhoneList } from './contactsPhoneList';
|
|
|
16
16
|
import type { ContactsPhotoList } from './contactsPhotoList';
|
|
17
17
|
import type { ContactsTimezoneList } from './contactsTimezoneList';
|
|
18
18
|
import type { ContactsVariableList } from './contactsVariableList';
|
|
19
|
-
import type {
|
|
19
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* The Contact principal source.
|
|
23
23
|
OUTPUT purpose only.
|
|
24
24
|
*/
|
|
25
|
-
export interface
|
|
25
|
+
export interface WebitelcontactsContact {
|
|
26
26
|
/** BIO. Short description about the Contact person.
|
|
27
27
|
OPTIONAL. Multi-lined text. */
|
|
28
28
|
about?: string;
|
|
29
29
|
/** The Contact's internal comment(s). */
|
|
30
30
|
comments?: ContactsCommentList;
|
|
31
31
|
createdAt?: string;
|
|
32
|
-
createdBy?:
|
|
32
|
+
createdBy?: WebitelcontactsLookup;
|
|
33
33
|
/** READONLY. The contact's metadata. */
|
|
34
|
-
domain?:
|
|
34
|
+
domain?: WebitelcontactsLookup;
|
|
35
35
|
/** The Contact's email address(es). */
|
|
36
36
|
emails?: ContactsEmailList;
|
|
37
37
|
/** Unique ID of the latest version of the update.
|
|
@@ -61,8 +61,8 @@ This field is a singleton for Contact sources. */
|
|
|
61
61
|
/** The Contact's timezone preference(s). */
|
|
62
62
|
timezones?: ContactsTimezoneList;
|
|
63
63
|
updatedAt?: string;
|
|
64
|
-
updatedBy?:
|
|
65
|
-
user?:
|
|
64
|
+
updatedBy?: WebitelcontactsLookup;
|
|
65
|
+
user?: WebitelcontactsLookup;
|
|
66
66
|
/** Arbitrary client data that is populated by clients.
|
|
67
67
|
Duplicate keys and values are allowed. */
|
|
68
68
|
variables?: ContactsVariableList;
|
|
@@ -16,22 +16,22 @@ import type { ContactsPhoneList } from './contactsPhoneList';
|
|
|
16
16
|
import type { ContactsPhotoList } from './contactsPhotoList';
|
|
17
17
|
import type { ContactsTimezoneList } from './contactsTimezoneList';
|
|
18
18
|
import type { ContactsVariableList } from './contactsVariableList';
|
|
19
|
-
import type {
|
|
19
|
+
import type { WebitelcontactsLookup } from './webitelcontactsLookup';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* The Contact principal source.
|
|
23
23
|
OUTPUT purpose only.
|
|
24
24
|
*/
|
|
25
|
-
export interface
|
|
25
|
+
export interface WebitelcontactsContact {
|
|
26
26
|
/** BIO. Short description about the Contact person.
|
|
27
27
|
OPTIONAL. Multi-lined text. */
|
|
28
28
|
about?: string;
|
|
29
29
|
/** The Contact's internal comment(s). */
|
|
30
30
|
comments?: ContactsCommentList;
|
|
31
31
|
createdAt?: string;
|
|
32
|
-
createdBy?:
|
|
32
|
+
createdBy?: WebitelcontactsLookup;
|
|
33
33
|
/** READONLY. The contact's metadata. */
|
|
34
|
-
domain?:
|
|
34
|
+
domain?: WebitelcontactsLookup;
|
|
35
35
|
/** The Contact's email address(es). */
|
|
36
36
|
emails?: ContactsEmailList;
|
|
37
37
|
/** Unique ID of the latest version of the update.
|
|
@@ -61,8 +61,8 @@ This field is a singleton for Contact sources. */
|
|
|
61
61
|
/** The Contact's timezone preference(s). */
|
|
62
62
|
timezones?: ContactsTimezoneList;
|
|
63
63
|
updatedAt?: string;
|
|
64
|
-
updatedBy?:
|
|
65
|
-
user?:
|
|
64
|
+
updatedBy?: WebitelcontactsLookup;
|
|
65
|
+
user?: WebitelcontactsLookup;
|
|
66
66
|
/** Arbitrary client data that is populated by clients.
|
|
67
67
|
Duplicate keys and values are allowed. */
|
|
68
68
|
variables?: ContactsVariableList;
|
|
@@ -4,17 +4,17 @@
|
|
|
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
|
/**
|
|
10
10
|
* A Contact's associated Tag.
|
|
11
11
|
Output purpose only.
|
|
12
12
|
*/
|
|
13
|
-
export interface
|
|
13
|
+
export interface WebitelcontactsLabel {
|
|
14
14
|
/** The user who created this Field. */
|
|
15
15
|
createdAt?: string;
|
|
16
16
|
/** Timestamp(milli) of the Field creation. */
|
|
17
|
-
createdBy?:
|
|
17
|
+
createdBy?: WebitelcontactsLookup;
|
|
18
18
|
/** Unique ID of the latest version of the update.
|
|
19
19
|
This ID changes after any update to the underlying value(s). */
|
|
20
20
|
etag?: string;
|
|
@@ -29,7 +29,7 @@ but adding capital letters does make them easier to read:
|
|
|
29
29
|
Take part in Etag generation. */
|
|
30
30
|
updatedAt?: string;
|
|
31
31
|
/** The user who performed last Update. */
|
|
32
|
-
updatedBy?:
|
|
32
|
+
updatedBy?: WebitelcontactsLookup;
|
|
33
33
|
/** Version of the latest update. Numeric sequence. */
|
|
34
34
|
ver?: number;
|
|
35
35
|
}
|
|
@@ -4,17 +4,17 @@
|
|
|
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
|
/**
|
|
10
10
|
* A Contact's associated Tag.
|
|
11
11
|
Output purpose only.
|
|
12
12
|
*/
|
|
13
|
-
export interface
|
|
13
|
+
export interface WebitelcontactsLabel {
|
|
14
14
|
/** The user who created this Field. */
|
|
15
15
|
createdAt?: string;
|
|
16
16
|
/** Timestamp(milli) of the Field creation. */
|
|
17
|
-
createdBy?:
|
|
17
|
+
createdBy?: WebitelcontactsLookup;
|
|
18
18
|
/** Unique ID of the latest version of the update.
|
|
19
19
|
This ID changes after any update to the underlying value(s). */
|
|
20
20
|
etag?: string;
|
|
@@ -29,7 +29,7 @@ but adding capital letters does make them easier to read:
|
|
|
29
29
|
Take part in Etag generation. */
|
|
30
30
|
updatedAt?: string;
|
|
31
31
|
/** The user who performed last Update. */
|
|
32
|
-
updatedBy?:
|
|
32
|
+
updatedBy?: WebitelcontactsLookup;
|
|
33
33
|
/** Version of the latest update. Numeric sequence. */
|
|
34
34
|
ver?: number;
|
|
35
35
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Lookup reference information.
|
|
10
10
|
Simplified search filter to uniquely identify related object.
|
|
11
11
|
*/
|
|
12
|
-
export interface
|
|
12
|
+
export interface WebitelcontactsLookup {
|
|
13
13
|
/** Reference Object unique ID. */
|
|
14
14
|
id?: string;
|
|
15
15
|
/** Reference Object display name. */
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Lookup reference information.
|
|
10
10
|
Simplified search filter to uniquely identify related object.
|
|
11
11
|
*/
|
|
12
|
-
export interface
|
|
12
|
+
export interface WebitelcontactsLookup {
|
|
13
13
|
/** Reference Object unique ID. */
|
|
14
14
|
id?: string;
|
|
15
15
|
/** Reference Object display name. */
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { WebitelknowledgebaseLookup } from './webitelknowledgebaseLookup';
|
|
8
8
|
|
|
9
|
-
export interface
|
|
9
|
+
export interface WebitelknowledgebaseAttachment {
|
|
10
10
|
/** The unique ID of the association. Never changes. */
|
|
11
11
|
id?: string;
|
|
12
12
|
/** The size of the attachment. */
|
|
@@ -14,5 +14,5 @@ export interface WebitelKnowledgebaseAttachment {
|
|
|
14
14
|
/** The title of the article. */
|
|
15
15
|
title?: string;
|
|
16
16
|
/** The user who loaded this attachment. */
|
|
17
|
-
uploadedBy?:
|
|
17
|
+
uploadedBy?: WebitelknowledgebaseLookup;
|
|
18
18
|
}
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { WebitelknowledgebaseLookup } from './webitelknowledgebaseLookup';
|
|
8
8
|
|
|
9
|
-
export interface
|
|
9
|
+
export interface WebitelknowledgebaseAttachment {
|
|
10
10
|
/** The unique ID of the association. Never changes. */
|
|
11
11
|
id?: string;
|
|
12
12
|
/** The size of the attachment. */
|
|
@@ -14,5 +14,5 @@ export interface WebitelKnowledgebaseAttachment {
|
|
|
14
14
|
/** The title of the article. */
|
|
15
15
|
title?: string;
|
|
16
16
|
/** The user who loaded this attachment. */
|
|
17
|
-
uploadedBy?:
|
|
17
|
+
uploadedBy?: WebitelknowledgebaseLookup;
|
|
18
18
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Lookup reference information.
|
|
10
10
|
Simplified search filter to uniquely identify related object.
|
|
11
11
|
*/
|
|
12
|
-
export interface
|
|
12
|
+
export interface WebitelknowledgebaseLookup {
|
|
13
13
|
/** Reference Object unique ID. */
|
|
14
14
|
id?: string;
|
|
15
15
|
/** Reference Object display name. */
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Lookup reference information.
|
|
10
10
|
Simplified search filter to uniquely identify related object.
|
|
11
11
|
*/
|
|
12
|
-
export interface
|
|
12
|
+
export interface WebitelknowledgebaseLookup {
|
|
13
13
|
/** Reference Object unique ID. */
|
|
14
14
|
id?: string;
|
|
15
15
|
/** Reference Object display name. */
|
|
@@ -3726,13 +3726,6 @@ export const getSearchAgentInQueueResponseMock = (
|
|
|
3726
3726
|
}),
|
|
3727
3727
|
undefined,
|
|
3728
3728
|
]),
|
|
3729
|
-
busy: faker.helpers.arrayElement([
|
|
3730
|
-
faker.number.int({
|
|
3731
|
-
min: undefined,
|
|
3732
|
-
max: undefined,
|
|
3733
|
-
}),
|
|
3734
|
-
undefined,
|
|
3735
|
-
]),
|
|
3736
3729
|
free: faker.helpers.arrayElement([
|
|
3737
3730
|
faker.number.int({
|
|
3738
3731
|
min: undefined,
|
|
@@ -287,10 +287,6 @@ export const // --- title start
|
|
|
287
287
|
options,
|
|
288
288
|
);
|
|
289
289
|
};
|
|
290
|
-
/**
|
|
291
|
-
* @summary Searches queues where the specified agent is assigned.
|
|
292
|
-
Supports pagination, sorting and free-text search.
|
|
293
|
-
*/
|
|
294
290
|
const searchAgentInQueue = <
|
|
295
291
|
TData = AxiosResponse<EngineListAgentInQueue>,
|
|
296
292
|
>(
|
|
@@ -1101,125 +1101,51 @@ export const UpdateAgentResponse = zod.object({
|
|
|
1101
1101
|
.optional(),
|
|
1102
1102
|
});
|
|
1103
1103
|
|
|
1104
|
-
/**
|
|
1105
|
-
* @summary Searches queues where the specified agent is assigned.
|
|
1106
|
-
Supports pagination, sorting and free-text search.
|
|
1107
|
-
*/
|
|
1108
1104
|
export const SearchAgentInQueueParams = zod.object({
|
|
1109
|
-
id: zod.string()
|
|
1105
|
+
id: zod.string(),
|
|
1110
1106
|
});
|
|
1111
1107
|
|
|
1112
1108
|
export const SearchAgentInQueueQueryParams = zod.object({
|
|
1113
|
-
page: zod.number().optional()
|
|
1114
|
-
size: zod.number().optional()
|
|
1115
|
-
q: zod
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
.describe('Free-text search query.\nTypically applied to queue name.'),
|
|
1119
|
-
sort: zod.string().optional().describe('Sorting expression.'),
|
|
1120
|
-
fields: zod
|
|
1121
|
-
.array(zod.string())
|
|
1122
|
-
.optional()
|
|
1123
|
-
.describe(
|
|
1124
|
-
'List of fields to be returned in the response.\nUsed for response projection and payload optimization.',
|
|
1125
|
-
),
|
|
1109
|
+
page: zod.number().optional(),
|
|
1110
|
+
size: zod.number().optional(),
|
|
1111
|
+
q: zod.string().optional(),
|
|
1112
|
+
sort: zod.string().optional(),
|
|
1113
|
+
fields: zod.array(zod.string()).optional(),
|
|
1126
1114
|
});
|
|
1127
1115
|
|
|
1128
|
-
export const SearchAgentInQueueResponse = zod
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
.
|
|
1132
|
-
zod
|
|
1116
|
+
export const SearchAgentInQueueResponse = zod.object({
|
|
1117
|
+
items: zod
|
|
1118
|
+
.array(
|
|
1119
|
+
zod.object({
|
|
1120
|
+
activeMembers: zod.number().optional(),
|
|
1121
|
+
agents: zod
|
|
1122
|
+
.object({
|
|
1123
|
+
allowPause: zod.number().optional(),
|
|
1124
|
+
free: zod.number().optional(),
|
|
1125
|
+
offline: zod.number().optional(),
|
|
1126
|
+
online: zod.number().optional(),
|
|
1127
|
+
pause: zod.number().optional(),
|
|
1128
|
+
total: zod.number().optional(),
|
|
1129
|
+
})
|
|
1130
|
+
.optional(),
|
|
1131
|
+
countMembers: zod.number().optional(),
|
|
1132
|
+
enabled: zod.boolean().optional(),
|
|
1133
|
+
maxMemberLimit: zod.number().optional(),
|
|
1134
|
+
priority: zod.number().optional(),
|
|
1135
|
+
queue: zod
|
|
1133
1136
|
.object({
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
.optional()
|
|
1137
|
-
.describe('Number of members currently active in the queue.'),
|
|
1138
|
-
agents: zod
|
|
1139
|
-
.object({
|
|
1140
|
-
allowPause: zod
|
|
1141
|
-
.number()
|
|
1142
|
-
.optional()
|
|
1143
|
-
.describe(
|
|
1144
|
-
'Indicates whether pause is allowed for agents.\nIf unset, pause availability is not defined.',
|
|
1145
|
-
),
|
|
1146
|
-
busy: zod
|
|
1147
|
-
.number()
|
|
1148
|
-
.optional()
|
|
1149
|
-
.describe('Number of agents currently on call.'),
|
|
1150
|
-
free: zod
|
|
1151
|
-
.number()
|
|
1152
|
-
.optional()
|
|
1153
|
-
.describe(
|
|
1154
|
-
"Number of agents that are online and in 'waiting' (idle) state.",
|
|
1155
|
-
),
|
|
1156
|
-
offline: zod
|
|
1157
|
-
.number()
|
|
1158
|
-
.optional()
|
|
1159
|
-
.describe('Number of agents currently offline.'),
|
|
1160
|
-
online: zod
|
|
1161
|
-
.number()
|
|
1162
|
-
.optional()
|
|
1163
|
-
.describe('Number of agents currently online.'),
|
|
1164
|
-
pause: zod
|
|
1165
|
-
.number()
|
|
1166
|
-
.optional()
|
|
1167
|
-
.describe('Number of agents currently in pause state.'),
|
|
1168
|
-
total: zod
|
|
1169
|
-
.number()
|
|
1170
|
-
.optional()
|
|
1171
|
-
.describe('Total number of agents assigned to the queue.'),
|
|
1172
|
-
})
|
|
1173
|
-
.optional()
|
|
1174
|
-
.describe(
|
|
1175
|
-
'AgentsInQueue contains aggregated statistics\nabout agents assigned to queue.',
|
|
1176
|
-
),
|
|
1177
|
-
countMembers: zod
|
|
1178
|
-
.number()
|
|
1179
|
-
.optional()
|
|
1180
|
-
.describe('Total number of members assigned to the queue.'),
|
|
1181
|
-
enabled: zod
|
|
1182
|
-
.boolean()
|
|
1183
|
-
.optional()
|
|
1184
|
-
.describe('Indicates whether the queue is enabled.'),
|
|
1185
|
-
maxMemberLimit: zod
|
|
1186
|
-
.number()
|
|
1187
|
-
.optional()
|
|
1188
|
-
.describe('Maximum number of members allowed in the queue.'),
|
|
1189
|
-
priority: zod
|
|
1190
|
-
.number()
|
|
1191
|
-
.optional()
|
|
1192
|
-
.describe('Agent priority within the queue.'),
|
|
1193
|
-
queue: zod
|
|
1194
|
-
.object({
|
|
1195
|
-
id: zod.string().optional(),
|
|
1196
|
-
name: zod.string().optional(),
|
|
1197
|
-
})
|
|
1198
|
-
.optional(),
|
|
1199
|
-
strategy: zod
|
|
1200
|
-
.string()
|
|
1201
|
-
.optional()
|
|
1202
|
-
.describe('Call distribution strategy used by the queue.'),
|
|
1203
|
-
type: zod.number().optional().describe('Queue type.'),
|
|
1204
|
-
waitingMembers: zod
|
|
1205
|
-
.number()
|
|
1206
|
-
.optional()
|
|
1207
|
-
.describe('Number of members currently waiting in the queue.'),
|
|
1137
|
+
id: zod.string().optional(),
|
|
1138
|
+
name: zod.string().optional(),
|
|
1208
1139
|
})
|
|
1209
|
-
.
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
.describe('Indicates weather more records are available.'),
|
|
1219
|
-
})
|
|
1220
|
-
.describe(
|
|
1221
|
-
'ListAgentInQueue contains search results\nand pagination metadata.',
|
|
1222
|
-
);
|
|
1140
|
+
.optional(),
|
|
1141
|
+
strategy: zod.string().optional(),
|
|
1142
|
+
type: zod.number().optional(),
|
|
1143
|
+
waitingMembers: zod.number().optional(),
|
|
1144
|
+
}),
|
|
1145
|
+
)
|
|
1146
|
+
.optional(),
|
|
1147
|
+
next: zod.boolean().optional(),
|
|
1148
|
+
});
|
|
1223
1149
|
|
|
1224
1150
|
/**
|
|
1225
1151
|
* @summary Change agent status
|
|
@@ -49,18 +49,12 @@ export const // --- title start
|
|
|
49
49
|
// --- title end
|
|
50
50
|
(axiosInstance: AxiosInstance = axios) => {
|
|
51
51
|
// --- header end
|
|
52
|
-
/**
|
|
53
|
-
* @summary CreateCall initiates a new outbound call with specified parameters.
|
|
54
|
-
*/
|
|
55
52
|
const createCall = <TData = AxiosResponse<EngineCreateCallResponse>>(
|
|
56
53
|
engineCreateCallRequest: EngineCreateCallRequest,
|
|
57
54
|
options?: AxiosRequestConfig,
|
|
58
55
|
): Promise<TData> => {
|
|
59
56
|
return axiosInstance.post(`/calls`, engineCreateCallRequest, options);
|
|
60
57
|
};
|
|
61
|
-
/**
|
|
62
|
-
* @summary SearchActiveCall returns a list of all calls currently in progress.
|
|
63
|
-
*/
|
|
64
58
|
const searchActiveCall = <TData = AxiosResponse<EngineListCall>>(
|
|
65
59
|
params?: SearchActiveCallParams,
|
|
66
60
|
options?: AxiosRequestConfig,
|
|
@@ -73,9 +67,6 @@ export const // --- title start
|
|
|
73
67
|
},
|
|
74
68
|
});
|
|
75
69
|
};
|
|
76
|
-
/**
|
|
77
|
-
* @summary HangupCall terminates an active call session.
|
|
78
|
-
*/
|
|
79
70
|
const hangupCall = <TData = AxiosResponse<EngineHangupCallResponse>>(
|
|
80
71
|
id: string,
|
|
81
72
|
engineCallServiceHangupCallBody: EngineCallServiceHangupCallBody,
|
|
@@ -87,7 +78,7 @@ export const // --- title start
|
|
|
87
78
|
});
|
|
88
79
|
};
|
|
89
80
|
/**
|
|
90
|
-
* @summary
|
|
81
|
+
* @summary Call item
|
|
91
82
|
*/
|
|
92
83
|
const readCall = <TData = AxiosResponse<EngineActiveCall>>(
|
|
93
84
|
id: string,
|
|
@@ -103,7 +94,7 @@ export const // --- title start
|
|
|
103
94
|
});
|
|
104
95
|
};
|
|
105
96
|
/**
|
|
106
|
-
* @summary
|
|
97
|
+
* @summary Call item
|
|
107
98
|
*/
|
|
108
99
|
const confirmPush = <TData = AxiosResponse<EngineConfirmPushResponse>>(
|
|
109
100
|
id: string,
|
|
@@ -115,9 +106,6 @@ export const // --- title start
|
|
|
115
106
|
options,
|
|
116
107
|
);
|
|
117
108
|
};
|
|
118
|
-
/**
|
|
119
|
-
* @summary DtmfCall sends DTMF digits to an active call.
|
|
120
|
-
*/
|
|
121
109
|
const dtmfCall = <TData = AxiosResponse<EngineDtmfCallResponse>>(
|
|
122
110
|
id: string,
|
|
123
111
|
engineCallServiceDtmfCallBody: EngineCallServiceDtmfCallBody,
|
|
@@ -129,9 +117,6 @@ export const // --- title start
|
|
|
129
117
|
options,
|
|
130
118
|
);
|
|
131
119
|
};
|
|
132
|
-
/**
|
|
133
|
-
* @summary EavesdropCall allows a supervisor to listen, whisper, or join an active call.
|
|
134
|
-
*/
|
|
135
120
|
const eavesdropCall = <TData = AxiosResponse<EngineCreateCallResponse>>(
|
|
136
121
|
id: string,
|
|
137
122
|
engineCallServiceEavesdropCallBody: EngineCallServiceEavesdropCallBody,
|
|
@@ -143,9 +128,6 @@ export const // --- title start
|
|
|
143
128
|
options,
|
|
144
129
|
);
|
|
145
130
|
};
|
|
146
|
-
/**
|
|
147
|
-
* @summary HoldCall puts an active call on hold.
|
|
148
|
-
*/
|
|
149
131
|
const holdCall = <TData = AxiosResponse<EngineHoldCallResponse>>(
|
|
150
132
|
id: string,
|
|
151
133
|
engineCallServiceHoldCallBody: EngineCallServiceHoldCallBody,
|
|
@@ -157,9 +139,6 @@ export const // --- title start
|
|
|
157
139
|
options,
|
|
158
140
|
);
|
|
159
141
|
};
|
|
160
|
-
/**
|
|
161
|
-
* @summary BlindTransferCall redirects an active call to another destination.
|
|
162
|
-
*/
|
|
163
142
|
const blindTransferCall = <
|
|
164
143
|
TData = AxiosResponse<EngineBlindTransferCallResponse>,
|
|
165
144
|
>(
|
|
@@ -173,9 +152,6 @@ export const // --- title start
|
|
|
173
152
|
options,
|
|
174
153
|
);
|
|
175
154
|
};
|
|
176
|
-
/**
|
|
177
|
-
* @summary UnHoldCall resumes a call from hold state.
|
|
178
|
-
*/
|
|
179
155
|
const unHoldCall = <TData = AxiosResponse<EngineHoldCallResponse>>(
|
|
180
156
|
id: string,
|
|
181
157
|
engineCallServiceUnHoldCallBody: EngineCallServiceUnHoldCallBody,
|
|
@@ -187,9 +163,6 @@ export const // --- title start
|
|
|
187
163
|
options,
|
|
188
164
|
);
|
|
189
165
|
};
|
|
190
|
-
/**
|
|
191
|
-
* @summary SetVariablesCall updates call channel variables in real-time.
|
|
192
|
-
*/
|
|
193
166
|
const setVariablesCall = <
|
|
194
167
|
TData = AxiosResponse<EngineSetVariablesCallResponse>,
|
|
195
168
|
>(
|
|
@@ -204,9 +177,8 @@ export const // --- title start
|
|
|
204
177
|
);
|
|
205
178
|
};
|
|
206
179
|
/**
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
*/
|
|
180
|
+
* @summary List of call
|
|
181
|
+
*/
|
|
210
182
|
const searchHistoryCall = <TData = AxiosResponse<EngineListHistoryCall>>(
|
|
211
183
|
params?: SearchHistoryCallParams,
|
|
212
184
|
options?: AxiosRequestConfig,
|
|
@@ -220,9 +192,8 @@ Supports advanced filtering by participants, duration, causes, and custom variab
|
|
|
220
192
|
});
|
|
221
193
|
};
|
|
222
194
|
/**
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
*/
|
|
195
|
+
* @summary List of call
|
|
196
|
+
*/
|
|
226
197
|
const searchHistoryCallPost = <
|
|
227
198
|
TData = AxiosResponse<EngineListHistoryCall>,
|
|
228
199
|
>(
|
|
@@ -235,10 +206,6 @@ Ideal for large filter sets that exceed URL length limits.
|
|
|
235
206
|
options,
|
|
236
207
|
);
|
|
237
208
|
};
|
|
238
|
-
/**
|
|
239
|
-
* @summary AggregateHistoryCall performs statistical analysis on historical data.
|
|
240
|
-
Group and aggregate metrics like average duration, call counts, or peak hours.
|
|
241
|
-
*/
|
|
242
209
|
const aggregateHistoryCall = <TData = AxiosResponse<EngineListAggregate>>(
|
|
243
210
|
engineAggregateHistoryCallRequest: EngineAggregateHistoryCallRequest,
|
|
244
211
|
options?: AxiosRequestConfig,
|
|
@@ -249,9 +216,6 @@ Group and aggregate metrics like average duration, call counts, or peak hours.
|
|
|
249
216
|
options,
|
|
250
217
|
);
|
|
251
218
|
};
|
|
252
|
-
/**
|
|
253
|
-
* @summary CreateCallAnnotation adds a text note to a specific timeframe of a historical call.
|
|
254
|
-
*/
|
|
255
219
|
const createCallAnnotation = <
|
|
256
220
|
TData = AxiosResponse<EngineCallAnnotation>,
|
|
257
221
|
>(
|
|
@@ -265,9 +229,6 @@ Group and aggregate metrics like average duration, call counts, or peak hours.
|
|
|
265
229
|
options,
|
|
266
230
|
);
|
|
267
231
|
};
|
|
268
|
-
/**
|
|
269
|
-
* @summary DeleteCallAnnotation removes an annotation from a historical call.
|
|
270
|
-
*/
|
|
271
232
|
const deleteCallAnnotation = <
|
|
272
233
|
TData = AxiosResponse<EngineCallAnnotation>,
|
|
273
234
|
>(
|
|
@@ -280,9 +241,6 @@ Group and aggregate metrics like average duration, call counts, or peak hours.
|
|
|
280
241
|
options,
|
|
281
242
|
);
|
|
282
243
|
};
|
|
283
|
-
/**
|
|
284
|
-
* @summary UpdateCallAnnotation modifies an existing call note.
|
|
285
|
-
*/
|
|
286
244
|
const updateCallAnnotation = <
|
|
287
245
|
TData = AxiosResponse<EngineCallAnnotation>,
|
|
288
246
|
>(
|
|
@@ -297,9 +255,6 @@ Group and aggregate metrics like average duration, call counts, or peak hours.
|
|
|
297
255
|
options,
|
|
298
256
|
);
|
|
299
257
|
};
|
|
300
|
-
/**
|
|
301
|
-
* @summary RedialCall quickly initiates a new call using data from a previous history record.
|
|
302
|
-
*/
|
|
303
258
|
const redialCall = <TData = AxiosResponse<EngineCreateCallResponse>>(
|
|
304
259
|
callId: string,
|
|
305
260
|
engineCallServiceRedialCallBody: EngineCallServiceRedialCallBody,
|
|
@@ -311,9 +266,6 @@ Group and aggregate metrics like average duration, call counts, or peak hours.
|
|
|
311
266
|
options,
|
|
312
267
|
);
|
|
313
268
|
};
|
|
314
|
-
/**
|
|
315
|
-
* @summary PatchHistoryCall updates metadata for a completed call (e.g., variables or visibility).
|
|
316
|
-
*/
|
|
317
269
|
const patchHistoryCall = <TData = AxiosResponse<EngineHistoryCall>>(
|
|
318
270
|
id: string,
|
|
319
271
|
engineCallServicePatchHistoryCallBody: EngineCallServicePatchHistoryCallBody,
|