@webitel/api-services 26.8.38 → 26.8.40
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/api/clients/agentCalls/__tests__/agentCalls.spec.ts +179 -0
- package/src/api/clients/agentCalls/agentCalls.ts +178 -0
- package/src/api/clients/index.ts +1 -0
- package/src/api/clients/object/object.ts +15 -1
- package/src/gen/_models/catalogGetCustomersParams.ts +4 -0
- package/src/gen/_models/catalogGetDialogsParams.ts +8 -0
- package/src/gen/_models/catalogGetHistory2Params.ts +4 -0
- package/src/gen/_models/catalogGetHistoryParams.ts +4 -0
- package/src/gen/_models/catalogGetMembersParams.ts +8 -0
- package/src/gen/_models/downloadCallScreenrecordingArchiveParams.ts +2 -2
- package/src/gen/_models/engineCallServicePatchHistoryCallAttemptBody.ts +12 -0
- package/src/gen/_models/engineCallServicePatchHistoryCallAttemptBodyVariables.ts +10 -0
- package/src/gen/_models/engineChatTag.ts +11 -0
- package/src/gen/_models/engineCreateRoutingOutboundCallRequest.ts +1 -0
- package/src/gen/_models/engineHistoryCall.ts +1 -0
- package/src/gen/_models/engineListChatTag.ts +12 -0
- package/src/gen/_models/enginePatchHistoryCallAttemptResponse.ts +13 -0
- package/src/gen/_models/enginePatchHistoryCallAttemptResponseVariables.ts +10 -0
- package/src/gen/_models/engineRoutingOutboundCall.ts +1 -0
- package/src/gen/_models/engineRoutingOutboundCallCompact.ts +1 -0
- package/src/gen/_models/engineRoutingOutboundCallServicePatchRoutingOutboundCallBody.ts +1 -0
- package/src/gen/_models/engineRoutingOutboundCallServiceUpdateRoutingOutboundCallBody.ts +1 -0
- package/src/gen/_models/engineTeamChatTagServiceCreateChatTagBody.ts +10 -0
- package/src/gen/_models/engineTeamChatTagServiceUpdateChatTagBody.ts +10 -0
- package/src/gen/_models/gateServiceListGatesTypesItem.ts +1 -0
- package/src/gen/_models/index.ts +58 -0
- package/src/gen/_models/listArticleCasesParams.ts +11 -0
- package/src/gen/_models/listCaseArticlesParams.ts +11 -0
- package/src/gen/_models/locateCaseNeighborDirection.ts +15 -0
- package/src/gen/_models/locateCaseNeighborParams.ts +27 -0
- package/src/gen/_models/locateCaseParams.ts +9 -0
- package/src/gen/_models/searchAgentChatTagParams.ts +15 -0
- package/src/gen/_models/searchChatTagParams.ts +15 -0
- package/src/gen/_models/searchRoutingOutboundCallParams.ts +1 -0
- package/src/gen/_models/searchScreenRecordingsByCallParams.ts +2 -0
- package/src/gen/_models/threadTagManagementSearchParams.ts +11 -0
- package/src/gen/_models/updateCase2Body.ts +1 -0
- package/src/gen/_models/updateCaseBody.ts +1 -0
- package/src/gen/_models/updateCaseInputBody.ts +1 -0
- package/src/gen/_models/viberBmServiceListViberBmParams.ts +12 -0
- package/src/gen/_models/webitelCasesCase.ts +5 -0
- package/src/gen/_models/webitelCasesCaseArticle.ts +24 -0
- package/src/gen/_models/webitelCasesCaseArticleList.ts +13 -0
- package/src/gen/_models/webitelCasesCaseArticleSource.ts +21 -0
- package/src/gen/_models/webitelCasesCaseNavDirection.ts +18 -0
- package/src/gen/_models/webitelCasesInputCase.ts +1 -0
- package/src/gen/_models/webitelCasesInputCaseArticle.ts +12 -0
- package/src/gen/_models/webitelCasesInputCreateCase.ts +2 -0
- package/src/gen/_models/webitelChatPeer.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1ChatTag.ts +13 -0
- package/src/gen/_models/webitelImApiGatewayV1ForwardMessagesRequest.ts +0 -5
- package/src/gen/_models/webitelImApiGatewayV1ForwardMessagesResponse.ts +3 -5
- package/src/gen/_models/webitelImApiGatewayV1RemoveThreadTagResponse.ts +10 -0
- package/src/gen/_models/webitelImApiGatewayV1ReplyToMessage.ts +1 -1
- package/src/gen/_models/webitelImApiGatewayV1SearchThreadTagsResponse.ts +11 -0
- package/src/gen/_models/webitelImApiGatewayV1SendContactRequest.ts +4 -0
- package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequest.ts +7 -0
- package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequestVariables.ts +15 -0
- package/src/gen/_models/webitelImApiGatewayV1SendLocationRequest.ts +4 -0
- package/src/gen/_models/webitelImApiGatewayV1SendTextRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendTextRequestVariables.ts +10 -0
- package/src/gen/_models/webitelImApiGatewayV1SkippedMessage.ts +2 -2
- package/src/gen/_models/webitelImApiGatewayV1ThreadTagManagementAddTagBody.ts +10 -0
- package/src/gen/_models/webitelImApiProviderV1ProviderCreateViberBmGateRequest.ts +17 -0
- package/src/gen/_models/webitelImApiProviderV1ProviderCreateViberBmGateResponse.ts +11 -0
- package/src/gen/_models/webitelImApiProviderV1ProviderDeleteViberBmGateResponse.ts +11 -0
- package/src/gen/_models/webitelImApiProviderV1ProviderGetViberBmGateResponse.ts +11 -0
- package/src/gen/_models/webitelImApiProviderV1ProviderListViberBmGatesResponse.ts +12 -0
- package/src/gen/_models/webitelImApiProviderV1ProviderUpdateViberBmGateResponse.ts +11 -0
- package/src/gen/_models/webitelImApiProviderV1ProviderViberBmGate.ts +19 -0
- package/src/gen/_models/webitelImApiProviderV1SendViberBmTemplateResponse.ts +11 -0
- package/src/gen/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBody.ts +14 -0
- package/src/gen/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.ts +11 -0
- package/src/gen/_models/webitelImApiProviderV1ViberBmServiceUpdateViberBmBody.ts +17 -0
- package/src/gen/_models/webitelImProviderV1CustomServiceUpdateCustomGateBody.ts +23 -0
- package/src/gen/_models/webitelImProviderV1Entity.ts +34 -0
- package/src/gen/_models/webitelImProviderV1ProviderCreateCustomGateRequest.ts +24 -0
- package/src/gen/_models/webitelImProviderV1ProviderCreateCustomGateResponse.ts +14 -0
- package/src/gen/_models/webitelImProviderV1ProviderCreateViberBmGateRequest.ts +20 -0
- package/src/gen/_models/webitelImProviderV1ProviderCreateViberBmGateResponse.ts +14 -0
- package/src/gen/_models/webitelImProviderV1ProviderCustomGate.ts +28 -0
- package/src/gen/_models/webitelImProviderV1ProviderDeleteCustomGateResponse.ts +11 -0
- package/src/gen/_models/webitelImProviderV1ProviderDeleteViberBmGateResponse.ts +11 -0
- package/src/gen/_models/webitelImProviderV1ProviderGetCustomGateResponse.ts +11 -0
- package/src/gen/_models/webitelImProviderV1ProviderGetViberBmGateResponse.ts +11 -0
- package/src/gen/_models/webitelImProviderV1ProviderListViberBmGatesResponse.ts +15 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.ts +8 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendTextRequest.ts +8 -0
- package/src/gen/_models/webitelImProviderV1ProviderType.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderUpdateCustomGateResponse.ts +14 -0
- package/src/gen/_models/webitelImProviderV1ProviderUpdateViberBmGateResponse.ts +14 -0
- package/src/gen/_models/webitelImProviderV1ProviderViberBmGate.ts +22 -0
- package/src/gen/_models/webitelImProviderV1SendViberBmTemplateResponse.ts +14 -0
- package/src/gen/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBody.ts +17 -0
- package/src/gen/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.ts +11 -0
- package/src/gen/_models/webitelImProviderV1ViberBmServiceUpdateViberBmBody.ts +20 -0
- package/src/gen/_models/webitelKbArticleType.ts +1 -1
- package/src/gen/_models/webitelKbAttachmentsAttachFileBody.ts +14 -0
- package/src/gen/_models/webitelKbFile.ts +1 -3
- package/src/gen-wire/_models/catalogGetCustomersParams.ts +4 -0
- package/src/gen-wire/_models/catalogGetDialogsParams.ts +8 -0
- package/src/gen-wire/_models/catalogGetHistory2Params.ts +4 -0
- package/src/gen-wire/_models/catalogGetHistoryParams.ts +4 -0
- package/src/gen-wire/_models/catalogGetMembersParams.ts +8 -0
- package/src/gen-wire/_models/downloadCallScreenrecordingArchiveParams.ts +2 -2
- package/src/gen-wire/_models/engineCallServicePatchHistoryCallAttemptBody.ts +12 -0
- package/src/gen-wire/_models/engineCallServicePatchHistoryCallAttemptBodyVariables.ts +10 -0
- package/src/gen-wire/_models/engineChatTag.ts +11 -0
- package/src/gen-wire/_models/engineCreateRoutingOutboundCallRequest.ts +1 -0
- package/src/gen-wire/_models/engineHistoryCall.ts +1 -0
- package/src/gen-wire/_models/engineListChatTag.ts +12 -0
- package/src/gen-wire/_models/enginePatchHistoryCallAttemptResponse.ts +13 -0
- package/src/gen-wire/_models/enginePatchHistoryCallAttemptResponseVariables.ts +10 -0
- package/src/gen-wire/_models/engineRoutingOutboundCall.ts +1 -0
- package/src/gen-wire/_models/engineRoutingOutboundCallCompact.ts +1 -0
- package/src/gen-wire/_models/engineRoutingOutboundCallServicePatchRoutingOutboundCallBody.ts +1 -0
- package/src/gen-wire/_models/engineRoutingOutboundCallServiceUpdateRoutingOutboundCallBody.ts +1 -0
- package/src/gen-wire/_models/engineTeamChatTagServiceCreateChatTagBody.ts +10 -0
- package/src/gen-wire/_models/engineTeamChatTagServiceUpdateChatTagBody.ts +10 -0
- package/src/gen-wire/_models/gateServiceListGatesTypesItem.ts +1 -0
- package/src/gen-wire/_models/index.ts +58 -0
- package/src/gen-wire/_models/listArticleCasesParams.ts +11 -0
- package/src/gen-wire/_models/listCaseArticlesParams.ts +11 -0
- package/src/gen-wire/_models/locateCaseNeighborDirection.ts +15 -0
- package/src/gen-wire/_models/locateCaseNeighborParams.ts +27 -0
- package/src/gen-wire/_models/locateCaseParams.ts +9 -0
- package/src/gen-wire/_models/searchAgentChatTagParams.ts +15 -0
- package/src/gen-wire/_models/searchChatTagParams.ts +15 -0
- package/src/gen-wire/_models/searchRoutingOutboundCallParams.ts +1 -0
- package/src/gen-wire/_models/searchScreenRecordingsByCallParams.ts +2 -0
- package/src/gen-wire/_models/threadTagManagementSearchParams.ts +11 -0
- package/src/gen-wire/_models/updateCase2Body.ts +1 -0
- package/src/gen-wire/_models/updateCaseBody.ts +1 -0
- package/src/gen-wire/_models/updateCaseInputBody.ts +1 -0
- package/src/gen-wire/_models/viberBmServiceListViberBmParams.ts +12 -0
- package/src/gen-wire/_models/webitelCasesCase.ts +5 -0
- package/src/gen-wire/_models/webitelCasesCaseArticle.ts +24 -0
- package/src/gen-wire/_models/webitelCasesCaseArticleList.ts +13 -0
- package/src/gen-wire/_models/webitelCasesCaseArticleSource.ts +21 -0
- package/src/gen-wire/_models/webitelCasesCaseNavDirection.ts +18 -0
- package/src/gen-wire/_models/webitelCasesInputCase.ts +1 -0
- package/src/gen-wire/_models/webitelCasesInputCaseArticle.ts +12 -0
- package/src/gen-wire/_models/webitelCasesInputCreateCase.ts +2 -0
- package/src/gen-wire/_models/webitelChatPeer.ts +2 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ChatTag.ts +13 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ForwardMessagesRequest.ts +0 -5
- package/src/gen-wire/_models/webitelImApiGatewayV1ForwardMessagesResponse.ts +3 -5
- package/src/gen-wire/_models/webitelImApiGatewayV1RemoveThreadTagResponse.ts +10 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ReplyToMessage.ts +1 -1
- package/src/gen-wire/_models/webitelImApiGatewayV1SearchThreadTagsResponse.ts +11 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1SendContactRequest.ts +4 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1SendDocumentRequest.ts +7 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1SendDocumentRequestVariables.ts +15 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1SendLocationRequest.ts +4 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1SendTextRequest.ts +2 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1SendTextRequestVariables.ts +10 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1SkippedMessage.ts +2 -2
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadTagManagementAddTagBody.ts +10 -0
- package/src/gen-wire/_models/webitelImApiProviderV1ProviderCreateViberBmGateRequest.ts +17 -0
- package/src/gen-wire/_models/webitelImApiProviderV1ProviderCreateViberBmGateResponse.ts +11 -0
- package/src/gen-wire/_models/webitelImApiProviderV1ProviderDeleteViberBmGateResponse.ts +11 -0
- package/src/gen-wire/_models/webitelImApiProviderV1ProviderGetViberBmGateResponse.ts +11 -0
- package/src/gen-wire/_models/webitelImApiProviderV1ProviderListViberBmGatesResponse.ts +12 -0
- package/src/gen-wire/_models/webitelImApiProviderV1ProviderUpdateViberBmGateResponse.ts +11 -0
- package/src/gen-wire/_models/webitelImApiProviderV1ProviderViberBmGate.ts +19 -0
- package/src/gen-wire/_models/webitelImApiProviderV1SendViberBmTemplateResponse.ts +11 -0
- package/src/gen-wire/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBody.ts +14 -0
- package/src/gen-wire/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.ts +11 -0
- package/src/gen-wire/_models/webitelImApiProviderV1ViberBmServiceUpdateViberBmBody.ts +17 -0
- package/src/gen-wire/_models/webitelImProviderV1CustomServiceUpdateCustomGateBody.ts +23 -0
- package/src/gen-wire/_models/webitelImProviderV1Entity.ts +34 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderCreateCustomGateRequest.ts +24 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderCreateCustomGateResponse.ts +14 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderCreateViberBmGateRequest.ts +20 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderCreateViberBmGateResponse.ts +14 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderCustomGate.ts +28 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderDeleteCustomGateResponse.ts +11 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderDeleteViberBmGateResponse.ts +11 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderGetCustomGateResponse.ts +11 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderGetViberBmGateResponse.ts +11 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderListViberBmGatesResponse.ts +15 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderSendDocumentRequest.ts +8 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderSendTextRequest.ts +8 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderType.ts +1 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderUpdateCustomGateResponse.ts +14 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderUpdateViberBmGateResponse.ts +14 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderViberBmGate.ts +22 -0
- package/src/gen-wire/_models/webitelImProviderV1SendViberBmTemplateResponse.ts +14 -0
- package/src/gen-wire/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBody.ts +17 -0
- package/src/gen-wire/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.ts +11 -0
- package/src/gen-wire/_models/webitelImProviderV1ViberBmServiceUpdateViberBmBody.ts +20 -0
- package/src/gen-wire/_models/webitelKbArticleType.ts +1 -1
- package/src/gen-wire/_models/webitelKbAttachmentsAttachFileBody.ts +14 -0
- package/src/gen-wire/_models/webitelKbFile.ts +1 -3
- package/src/gen-wire/agent-chat-service/agent-chat-service.zod.ts +40 -0
- package/src/gen-wire/agent-chat-tag-service/agent-chat-tag-service.ts +41 -0
- package/src/gen-wire/agent-chat-tag-service/agent-chat-tag-service.zod.ts +28 -0
- package/src/gen-wire/attachments/attachments.ts +17 -0
- package/src/gen-wire/attachments/attachments.zod.ts +42 -4
- package/src/gen-wire/call-service/call-service.ts +19 -0
- package/src/gen-wire/call-service/call-service.zod.ts +21 -0
- package/src/gen-wire/case-articles/case-articles.ts +100 -0
- package/src/gen-wire/case-articles/case-articles.zod.ts +256 -0
- package/src/gen-wire/cases/cases.ts +19 -0
- package/src/gen-wire/cases/cases.zod.ts +781 -69
- package/src/gen-wire/cases-chat-catalog/cases-chat-catalog.zod.ts +41 -0
- package/src/gen-wire/customer/customer.zod.ts +2 -0
- package/src/gen-wire/file-service/file-service.zod.ts +2 -0
- package/src/gen-wire/index.ts +58 -0
- package/src/gen-wire/index.zod.ts +151 -0
- package/src/gen-wire/logger-service/logger-service.ts +9 -0
- package/src/gen-wire/logger-service/logger-service.zod.ts +31 -0
- package/src/gen-wire/messages/messages.zod.ts +158 -0
- package/src/gen-wire/pdf-service/pdf-service.zod.ts +2 -2
- package/src/gen-wire/routing-outbound-call-service/routing-outbound-call-service.zod.ts +10 -0
- package/src/gen-wire/team-chat-tag-service/team-chat-tag-service.ts +87 -0
- package/src/gen-wire/team-chat-tag-service/team-chat-tag-service.zod.ts +69 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.ts +51 -12
- package/src/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +3 -3
- package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.ts +4 -4
- package/src/gen-wire/webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.ts +84 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.zod.ts +47 -0
- package/src/gen-wire/webitel-im-api-provider-v1-viberbmservice/webitel-im-api-provider-v1-viberbmservice.ts +93 -0
- package/src/gen-wire/webitel-im-api-provider-v1-viberbmservice/webitel-im-api-provider-v1-viberbmservice.zod.ts +154 -0
- package/src/gen-wire/webitel-im-provider-v1-customservice/webitel-im-provider-v1-customservice.ts +99 -0
- package/src/gen-wire/webitel-im-provider-v1-customservice/webitel-im-provider-v1-customservice.zod.ts +319 -0
- package/src/gen-wire/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.zod.ts +2 -0
- package/src/gen-wire/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.ts +81 -0
- package/src/gen-wire/webitel-im-provider-v1-viberbmservice/webitel-im-provider-v1-viberbmservice.ts +144 -0
- package/src/gen-wire/webitel-im-provider-v1-viberbmservice/webitel-im-provider-v1-viberbmservice.zod.ts +274 -0
- package/types/.tsbuildinfo +1 -1
- package/types/api/clients/agentCalls/agentCalls.d.ts +11 -0
- package/types/api/clients/index.d.ts +1 -0
- package/types/api/clients/object/object.d.ts +2 -1
- package/types/gen/_models/catalogGetCustomersParams.d.ts +4 -0
- package/types/gen/_models/catalogGetDialogsParams.d.ts +8 -0
- package/types/gen/_models/catalogGetHistory2Params.d.ts +4 -0
- package/types/gen/_models/catalogGetHistoryParams.d.ts +4 -0
- package/types/gen/_models/catalogGetMembersParams.d.ts +8 -0
- package/types/gen/_models/downloadCallScreenrecordingArchiveParams.d.ts +2 -2
- package/types/gen/_models/engineCallServicePatchHistoryCallAttemptBody.d.ts +11 -0
- package/types/gen/_models/engineCallServicePatchHistoryCallAttemptBodyVariables.d.ts +9 -0
- package/types/gen/_models/engineChatTag.d.ts +10 -0
- package/types/gen/_models/engineCreateRoutingOutboundCallRequest.d.ts +1 -0
- package/types/gen/_models/engineHistoryCall.d.ts +1 -0
- package/types/gen/_models/engineListChatTag.d.ts +11 -0
- package/types/gen/_models/enginePatchHistoryCallAttemptResponse.d.ts +12 -0
- package/types/gen/_models/enginePatchHistoryCallAttemptResponseVariables.d.ts +9 -0
- package/types/gen/_models/engineRoutingOutboundCall.d.ts +1 -0
- package/types/gen/_models/engineRoutingOutboundCallCompact.d.ts +1 -0
- package/types/gen/_models/engineRoutingOutboundCallServicePatchRoutingOutboundCallBody.d.ts +1 -0
- package/types/gen/_models/engineRoutingOutboundCallServiceUpdateRoutingOutboundCallBody.d.ts +1 -0
- package/types/gen/_models/engineTeamChatTagServiceCreateChatTagBody.d.ts +9 -0
- package/types/gen/_models/engineTeamChatTagServiceUpdateChatTagBody.d.ts +9 -0
- package/types/gen/_models/gateServiceListGatesTypesItem.d.ts +1 -0
- package/types/gen/_models/index.d.ts +58 -0
- package/types/gen/_models/listArticleCasesParams.d.ts +10 -0
- package/types/gen/_models/listCaseArticlesParams.d.ts +10 -0
- package/types/gen/_models/locateCaseNeighborDirection.d.ts +12 -0
- package/types/gen/_models/locateCaseNeighborParams.d.ts +26 -0
- package/types/gen/_models/locateCaseParams.d.ts +9 -0
- package/types/gen/_models/searchAgentChatTagParams.d.ts +14 -0
- package/types/gen/_models/searchChatTagParams.d.ts +14 -0
- package/types/gen/_models/searchRoutingOutboundCallParams.d.ts +1 -0
- package/types/gen/_models/searchScreenRecordingsByCallParams.d.ts +2 -0
- package/types/gen/_models/threadTagManagementSearchParams.d.ts +10 -0
- package/types/gen/_models/updateCase2Body.d.ts +1 -0
- package/types/gen/_models/updateCaseBody.d.ts +1 -0
- package/types/gen/_models/updateCaseInputBody.d.ts +1 -0
- package/types/gen/_models/viberBmServiceListViberBmParams.d.ts +11 -0
- package/types/gen/_models/webitelCasesCase.d.ts +5 -0
- package/types/gen/_models/webitelCasesCaseArticle.d.ts +23 -0
- package/types/gen/_models/webitelCasesCaseArticleList.d.ts +12 -0
- package/types/gen/_models/webitelCasesCaseArticleSource.d.ts +18 -0
- package/types/gen/_models/webitelCasesCaseNavDirection.d.ts +15 -0
- package/types/gen/_models/webitelCasesInputCase.d.ts +1 -0
- package/types/gen/_models/webitelCasesInputCaseArticle.d.ts +11 -0
- package/types/gen/_models/webitelCasesInputCreateCase.d.ts +2 -0
- package/types/gen/_models/webitelChatPeer.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1ChatTag.d.ts +12 -0
- package/types/gen/_models/webitelImApiGatewayV1ForwardMessagesRequest.d.ts +0 -5
- package/types/gen/_models/webitelImApiGatewayV1ForwardMessagesResponse.d.ts +3 -5
- package/types/gen/_models/webitelImApiGatewayV1RemoveThreadTagResponse.d.ts +9 -0
- package/types/gen/_models/webitelImApiGatewayV1ReplyToMessage.d.ts +1 -1
- package/types/gen/_models/webitelImApiGatewayV1SearchThreadTagsResponse.d.ts +10 -0
- package/types/gen/_models/webitelImApiGatewayV1SendContactRequest.d.ts +4 -0
- package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequest.d.ts +7 -0
- package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequestVariables.d.ts +14 -0
- package/types/gen/_models/webitelImApiGatewayV1SendLocationRequest.d.ts +4 -0
- package/types/gen/_models/webitelImApiGatewayV1SendTextRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendTextRequestVariables.d.ts +9 -0
- package/types/gen/_models/webitelImApiGatewayV1SkippedMessage.d.ts +2 -2
- package/types/gen/_models/webitelImApiGatewayV1ThreadTagManagementAddTagBody.d.ts +9 -0
- package/types/gen/_models/webitelImApiProviderV1ProviderCreateViberBmGateRequest.d.ts +16 -0
- package/types/gen/_models/webitelImApiProviderV1ProviderCreateViberBmGateResponse.d.ts +10 -0
- package/types/gen/_models/webitelImApiProviderV1ProviderDeleteViberBmGateResponse.d.ts +10 -0
- package/types/gen/_models/webitelImApiProviderV1ProviderGetViberBmGateResponse.d.ts +10 -0
- package/types/gen/_models/webitelImApiProviderV1ProviderListViberBmGatesResponse.d.ts +11 -0
- package/types/gen/_models/webitelImApiProviderV1ProviderUpdateViberBmGateResponse.d.ts +10 -0
- package/types/gen/_models/webitelImApiProviderV1ProviderViberBmGate.d.ts +18 -0
- package/types/gen/_models/webitelImApiProviderV1SendViberBmTemplateResponse.d.ts +10 -0
- package/types/gen/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBody.d.ts +13 -0
- package/types/gen/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.d.ts +9 -0
- package/types/gen/_models/webitelImApiProviderV1ViberBmServiceUpdateViberBmBody.d.ts +16 -0
- package/types/gen/_models/webitelImProviderV1CustomServiceUpdateCustomGateBody.d.ts +22 -0
- package/types/gen/_models/webitelImProviderV1Entity.d.ts +33 -0
- package/types/gen/_models/webitelImProviderV1ProviderCreateCustomGateRequest.d.ts +23 -0
- package/types/gen/_models/webitelImProviderV1ProviderCreateCustomGateResponse.d.ts +13 -0
- package/types/gen/_models/webitelImProviderV1ProviderCreateViberBmGateRequest.d.ts +19 -0
- package/types/gen/_models/webitelImProviderV1ProviderCreateViberBmGateResponse.d.ts +13 -0
- package/types/gen/_models/webitelImProviderV1ProviderCustomGate.d.ts +27 -0
- package/types/gen/_models/webitelImProviderV1ProviderDeleteCustomGateResponse.d.ts +10 -0
- package/types/gen/_models/webitelImProviderV1ProviderDeleteViberBmGateResponse.d.ts +10 -0
- package/types/gen/_models/webitelImProviderV1ProviderGetCustomGateResponse.d.ts +10 -0
- package/types/gen/_models/webitelImProviderV1ProviderGetViberBmGateResponse.d.ts +10 -0
- package/types/gen/_models/webitelImProviderV1ProviderListViberBmGatesResponse.d.ts +14 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.d.ts +8 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendTextRequest.d.ts +8 -0
- package/types/gen/_models/webitelImProviderV1ProviderType.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderUpdateCustomGateResponse.d.ts +13 -0
- package/types/gen/_models/webitelImProviderV1ProviderUpdateViberBmGateResponse.d.ts +13 -0
- package/types/gen/_models/webitelImProviderV1ProviderViberBmGate.d.ts +21 -0
- package/types/gen/_models/webitelImProviderV1SendViberBmTemplateResponse.d.ts +13 -0
- package/types/gen/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBody.d.ts +16 -0
- package/types/gen/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.d.ts +9 -0
- package/types/gen/_models/webitelImProviderV1ViberBmServiceUpdateViberBmBody.d.ts +19 -0
- package/types/gen/_models/webitelKbArticleType.d.ts +1 -1
- package/types/gen/_models/webitelKbAttachmentsAttachFileBody.d.ts +13 -0
- package/types/gen/_models/webitelKbFile.d.ts +1 -3
- package/types/gen-wire/_models/catalogGetCustomersParams.d.ts +4 -0
- package/types/gen-wire/_models/catalogGetDialogsParams.d.ts +8 -0
- package/types/gen-wire/_models/catalogGetHistory2Params.d.ts +4 -0
- package/types/gen-wire/_models/catalogGetHistoryParams.d.ts +4 -0
- package/types/gen-wire/_models/catalogGetMembersParams.d.ts +8 -0
- package/types/gen-wire/_models/downloadCallScreenrecordingArchiveParams.d.ts +2 -2
- package/types/gen-wire/_models/engineCallServicePatchHistoryCallAttemptBody.d.ts +11 -0
- package/types/gen-wire/_models/engineCallServicePatchHistoryCallAttemptBodyVariables.d.ts +9 -0
- package/types/gen-wire/_models/engineChatTag.d.ts +10 -0
- package/types/gen-wire/_models/engineCreateRoutingOutboundCallRequest.d.ts +1 -0
- package/types/gen-wire/_models/engineHistoryCall.d.ts +1 -0
- package/types/gen-wire/_models/engineListChatTag.d.ts +11 -0
- package/types/gen-wire/_models/enginePatchHistoryCallAttemptResponse.d.ts +12 -0
- package/types/gen-wire/_models/enginePatchHistoryCallAttemptResponseVariables.d.ts +9 -0
- package/types/gen-wire/_models/engineRoutingOutboundCall.d.ts +1 -0
- package/types/gen-wire/_models/engineRoutingOutboundCallCompact.d.ts +1 -0
- package/types/gen-wire/_models/engineRoutingOutboundCallServicePatchRoutingOutboundCallBody.d.ts +1 -0
- package/types/gen-wire/_models/engineRoutingOutboundCallServiceUpdateRoutingOutboundCallBody.d.ts +1 -0
- package/types/gen-wire/_models/engineTeamChatTagServiceCreateChatTagBody.d.ts +9 -0
- package/types/gen-wire/_models/engineTeamChatTagServiceUpdateChatTagBody.d.ts +9 -0
- package/types/gen-wire/_models/gateServiceListGatesTypesItem.d.ts +1 -0
- package/types/gen-wire/_models/index.d.ts +58 -0
- package/types/gen-wire/_models/listArticleCasesParams.d.ts +10 -0
- package/types/gen-wire/_models/listCaseArticlesParams.d.ts +10 -0
- package/types/gen-wire/_models/locateCaseNeighborDirection.d.ts +12 -0
- package/types/gen-wire/_models/locateCaseNeighborParams.d.ts +26 -0
- package/types/gen-wire/_models/locateCaseParams.d.ts +9 -0
- package/types/gen-wire/_models/searchAgentChatTagParams.d.ts +14 -0
- package/types/gen-wire/_models/searchChatTagParams.d.ts +14 -0
- package/types/gen-wire/_models/searchRoutingOutboundCallParams.d.ts +1 -0
- package/types/gen-wire/_models/searchScreenRecordingsByCallParams.d.ts +2 -0
- package/types/gen-wire/_models/threadTagManagementSearchParams.d.ts +10 -0
- package/types/gen-wire/_models/updateCase2Body.d.ts +1 -0
- package/types/gen-wire/_models/updateCaseBody.d.ts +1 -0
- package/types/gen-wire/_models/updateCaseInputBody.d.ts +1 -0
- package/types/gen-wire/_models/viberBmServiceListViberBmParams.d.ts +11 -0
- package/types/gen-wire/_models/webitelCasesCase.d.ts +5 -0
- package/types/gen-wire/_models/webitelCasesCaseArticle.d.ts +23 -0
- package/types/gen-wire/_models/webitelCasesCaseArticleList.d.ts +12 -0
- package/types/gen-wire/_models/webitelCasesCaseArticleSource.d.ts +18 -0
- package/types/gen-wire/_models/webitelCasesCaseNavDirection.d.ts +15 -0
- package/types/gen-wire/_models/webitelCasesInputCase.d.ts +1 -0
- package/types/gen-wire/_models/webitelCasesInputCaseArticle.d.ts +11 -0
- package/types/gen-wire/_models/webitelCasesInputCreateCase.d.ts +2 -0
- package/types/gen-wire/_models/webitelChatPeer.d.ts +2 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ChatTag.d.ts +12 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ForwardMessagesRequest.d.ts +0 -5
- package/types/gen-wire/_models/webitelImApiGatewayV1ForwardMessagesResponse.d.ts +3 -5
- package/types/gen-wire/_models/webitelImApiGatewayV1RemoveThreadTagResponse.d.ts +9 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ReplyToMessage.d.ts +1 -1
- package/types/gen-wire/_models/webitelImApiGatewayV1SearchThreadTagsResponse.d.ts +10 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1SendContactRequest.d.ts +4 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1SendDocumentRequest.d.ts +7 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1SendDocumentRequestVariables.d.ts +14 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1SendLocationRequest.d.ts +4 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1SendTextRequest.d.ts +2 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1SendTextRequestVariables.d.ts +9 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1SkippedMessage.d.ts +2 -2
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadTagManagementAddTagBody.d.ts +9 -0
- package/types/gen-wire/_models/webitelImApiProviderV1ProviderCreateViberBmGateRequest.d.ts +16 -0
- package/types/gen-wire/_models/webitelImApiProviderV1ProviderCreateViberBmGateResponse.d.ts +10 -0
- package/types/gen-wire/_models/webitelImApiProviderV1ProviderDeleteViberBmGateResponse.d.ts +10 -0
- package/types/gen-wire/_models/webitelImApiProviderV1ProviderGetViberBmGateResponse.d.ts +10 -0
- package/types/gen-wire/_models/webitelImApiProviderV1ProviderListViberBmGatesResponse.d.ts +11 -0
- package/types/gen-wire/_models/webitelImApiProviderV1ProviderUpdateViberBmGateResponse.d.ts +10 -0
- package/types/gen-wire/_models/webitelImApiProviderV1ProviderViberBmGate.d.ts +18 -0
- package/types/gen-wire/_models/webitelImApiProviderV1SendViberBmTemplateResponse.d.ts +10 -0
- package/types/gen-wire/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBody.d.ts +13 -0
- package/types/gen-wire/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.d.ts +9 -0
- package/types/gen-wire/_models/webitelImApiProviderV1ViberBmServiceUpdateViberBmBody.d.ts +16 -0
- package/types/gen-wire/_models/webitelImProviderV1CustomServiceUpdateCustomGateBody.d.ts +22 -0
- package/types/gen-wire/_models/webitelImProviderV1Entity.d.ts +33 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderCreateCustomGateRequest.d.ts +23 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderCreateCustomGateResponse.d.ts +13 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderCreateViberBmGateRequest.d.ts +19 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderCreateViberBmGateResponse.d.ts +13 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderCustomGate.d.ts +27 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderDeleteCustomGateResponse.d.ts +10 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderDeleteViberBmGateResponse.d.ts +10 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderGetCustomGateResponse.d.ts +10 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderGetViberBmGateResponse.d.ts +10 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderListViberBmGatesResponse.d.ts +14 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderSendDocumentRequest.d.ts +8 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderSendTextRequest.d.ts +8 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderType.d.ts +1 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderUpdateCustomGateResponse.d.ts +13 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderUpdateViberBmGateResponse.d.ts +13 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderViberBmGate.d.ts +21 -0
- package/types/gen-wire/_models/webitelImProviderV1SendViberBmTemplateResponse.d.ts +13 -0
- package/types/gen-wire/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBody.d.ts +16 -0
- package/types/gen-wire/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.d.ts +9 -0
- package/types/gen-wire/_models/webitelImProviderV1ViberBmServiceUpdateViberBmBody.d.ts +19 -0
- package/types/gen-wire/_models/webitelKbArticleType.d.ts +1 -1
- package/types/gen-wire/_models/webitelKbAttachmentsAttachFileBody.d.ts +13 -0
- package/types/gen-wire/_models/webitelKbFile.d.ts +1 -3
- package/types/gen-wire/agent-chat-service/agent-chat-service.zod.d.ts +10 -0
- package/types/gen-wire/agent-chat-tag-service/agent-chat-tag-service.d.ts +13 -0
- package/types/gen-wire/agent-chat-tag-service/agent-chat-tag-service.zod.d.ts +22 -0
- package/types/gen-wire/attachments/attachments.d.ts +3 -1
- package/types/gen-wire/attachments/attachments.zod.d.ts +22 -2
- package/types/gen-wire/call-service/call-service.d.ts +3 -1
- package/types/gen-wire/call-service/call-service.zod.d.ts +18 -0
- package/types/gen-wire/case-articles/case-articles.d.ts +19 -0
- package/types/gen-wire/case-articles/case-articles.zod.d.ts +154 -0
- package/types/gen-wire/cases/cases.d.ts +3 -1
- package/types/gen-wire/cases/cases.zod.d.ts +376 -0
- package/types/gen-wire/cases-chat-catalog/cases-chat-catalog.zod.d.ts +11 -0
- package/types/gen-wire/customer/customer.zod.d.ts +2 -0
- package/types/gen-wire/file-service/file-service.zod.d.ts +2 -0
- package/types/gen-wire/index.d.ts +20 -5
- package/types/gen-wire/index.zod.d.ts +151 -0
- package/types/gen-wire/logger-service/logger-service.d.ts +3 -1
- package/types/gen-wire/logger-service/logger-service.zod.d.ts +23 -0
- package/types/gen-wire/messages/messages.zod.d.ts +47 -0
- package/types/gen-wire/routing-outbound-call-service/routing-outbound-call-service.zod.d.ts +10 -0
- package/types/gen-wire/team-chat-tag-service/team-chat-tag-service.d.ts +19 -0
- package/types/gen-wire/team-chat-tag-service/team-chat-tag-service.zod.d.ts +54 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.d.ts +18 -2
- package/types/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +3 -3
- package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.d.ts +4 -4
- package/types/gen-wire/webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.d.ts +17 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.zod.d.ts +40 -0
- package/types/gen-wire/webitel-im-api-provider-v1-viberbmservice/webitel-im-api-provider-v1-viberbmservice.d.ts +19 -0
- package/types/gen-wire/webitel-im-api-provider-v1-viberbmservice/webitel-im-api-provider-v1-viberbmservice.zod.d.ts +102 -0
- package/types/gen-wire/webitel-im-provider-v1-customservice/webitel-im-provider-v1-customservice.d.ts +19 -0
- package/types/gen-wire/webitel-im-provider-v1-customservice/webitel-im-provider-v1-customservice.zod.d.ts +142 -0
- package/types/gen-wire/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.zod.d.ts +2 -0
- package/types/gen-wire/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.d.ts +19 -0
- package/types/gen-wire/webitel-im-provider-v1-viberbmservice/webitel-im-provider-v1-viberbmservice.d.ts +23 -0
- package/types/gen-wire/webitel-im-provider-v1-viberbmservice/webitel-im-provider-v1-viberbmservice.zod.d.ts +174 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { WebitelImProviderV1ViberBmServiceSendViberBmTemplateBodyParameters } from './webitelImProviderV1ViberBmServiceSendViberBmTemplateBodyParameters';
|
|
8
|
+
/**
|
|
9
|
+
* / SendViberBmTemplateRequest sends an approved cold-start template.
|
|
10
|
+
*/
|
|
11
|
+
export interface WebitelImProviderV1ViberBmServiceSendViberBmTemplateBody {
|
|
12
|
+
parameters?: WebitelImProviderV1ViberBmServiceSendViberBmTemplateBodyParameters;
|
|
13
|
+
language?: string;
|
|
14
|
+
template_id?: string;
|
|
15
|
+
to?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { WebitelImProviderV1Peer } from './webitelImProviderV1Peer';
|
|
8
|
+
/**
|
|
9
|
+
* / ProviderUpdateViberBmGateRequest updates settings. A non-empty api_key rotates the key.
|
|
10
|
+
*/
|
|
11
|
+
export interface WebitelImProviderV1ViberBmServiceUpdateViberBmBody {
|
|
12
|
+
api_key?: string;
|
|
13
|
+
base_url?: string;
|
|
14
|
+
enabled?: boolean;
|
|
15
|
+
name?: string;
|
|
16
|
+
peer?: WebitelImProviderV1Peer;
|
|
17
|
+
sender_name?: string;
|
|
18
|
+
webhook_secret?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* AttachFileRequest binds a file already uploaded to Storage.
|
|
9
|
+
*/
|
|
10
|
+
export interface WebitelKbAttachmentsAttachFileBody {
|
|
11
|
+
/** Storage file id, as the upload returned it. */
|
|
12
|
+
file_id?: string;
|
|
13
|
+
}
|
|
@@ -11,7 +11,7 @@ import type { GeneralExtendedLookup } from './generalExtendedLookup';
|
|
|
11
11
|
export interface WebitelKbFile {
|
|
12
12
|
/** CreatedAt timestamp (epoch ms). */
|
|
13
13
|
created_at?: string;
|
|
14
|
-
/** User who
|
|
14
|
+
/** User who attached the file. */
|
|
15
15
|
created_by?: GeneralExtendedLookup;
|
|
16
16
|
/** Storage file id. */
|
|
17
17
|
id?: string;
|
|
@@ -21,8 +21,6 @@ export interface WebitelKbFile {
|
|
|
21
21
|
name?: string;
|
|
22
22
|
/** File size in bytes. */
|
|
23
23
|
size?: string;
|
|
24
|
-
/** Storage source. */
|
|
25
|
-
source?: string;
|
|
26
24
|
/** Download url. */
|
|
27
25
|
url?: string;
|
|
28
26
|
}
|
|
@@ -20,11 +20,13 @@ export declare const AgentChatServiceGetAgentChatsResponse: zod.ZodObject<{
|
|
|
20
20
|
close_reason: zod.ZodOptional<zod.ZodString>;
|
|
21
21
|
closed_at: zod.ZodOptional<zod.ZodString>;
|
|
22
22
|
contact: zod.ZodOptional<zod.ZodObject<{
|
|
23
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
23
24
|
id: zod.ZodOptional<zod.ZodString>;
|
|
24
25
|
name: zod.ZodOptional<zod.ZodString>;
|
|
25
26
|
type: zod.ZodOptional<zod.ZodString>;
|
|
26
27
|
}, zod.z.core.$strip>>;
|
|
27
28
|
gateway: zod.ZodOptional<zod.ZodObject<{
|
|
29
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
28
30
|
id: zod.ZodOptional<zod.ZodString>;
|
|
29
31
|
name: zod.ZodOptional<zod.ZodString>;
|
|
30
32
|
type: zod.ZodOptional<zod.ZodString>;
|
|
@@ -42,17 +44,20 @@ export declare const AgentChatServiceGetAgentChatsResponse: zod.ZodObject<{
|
|
|
42
44
|
join: zod.ZodOptional<zod.ZodString>;
|
|
43
45
|
left: zod.ZodOptional<zod.ZodString>;
|
|
44
46
|
peer: zod.ZodOptional<zod.ZodObject<{
|
|
47
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
45
48
|
id: zod.ZodOptional<zod.ZodString>;
|
|
46
49
|
name: zod.ZodOptional<zod.ZodString>;
|
|
47
50
|
type: zod.ZodOptional<zod.ZodString>;
|
|
48
51
|
}, zod.z.core.$strip>>;
|
|
49
52
|
queue: zod.ZodOptional<zod.ZodObject<{
|
|
53
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
50
54
|
id: zod.ZodOptional<zod.ZodString>;
|
|
51
55
|
name: zod.ZodOptional<zod.ZodString>;
|
|
52
56
|
type: zod.ZodOptional<zod.ZodString>;
|
|
53
57
|
}, zod.z.core.$strip>>;
|
|
54
58
|
title: zod.ZodOptional<zod.ZodString>;
|
|
55
59
|
via: zod.ZodOptional<zod.ZodObject<{
|
|
60
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
56
61
|
id: zod.ZodOptional<zod.ZodString>;
|
|
57
62
|
name: zod.ZodOptional<zod.ZodString>;
|
|
58
63
|
type: zod.ZodOptional<zod.ZodString>;
|
|
@@ -69,6 +74,7 @@ export declare const AgentChatServiceGetAgentChatsResponse: zod.ZodObject<{
|
|
|
69
74
|
url: zod.ZodOptional<zod.ZodString>;
|
|
70
75
|
}, zod.z.core.$strip>>;
|
|
71
76
|
from: zod.ZodOptional<zod.ZodObject<{
|
|
77
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
72
78
|
id: zod.ZodOptional<zod.ZodString>;
|
|
73
79
|
name: zod.ZodOptional<zod.ZodString>;
|
|
74
80
|
type: zod.ZodOptional<zod.ZodString>;
|
|
@@ -107,17 +113,20 @@ export declare const AgentChatServiceGetAgentChatsResponse: zod.ZodObject<{
|
|
|
107
113
|
join: zod.ZodOptional<zod.ZodString>;
|
|
108
114
|
left: zod.ZodOptional<zod.ZodString>;
|
|
109
115
|
peer: zod.ZodOptional<zod.ZodObject<{
|
|
116
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
110
117
|
id: zod.ZodOptional<zod.ZodString>;
|
|
111
118
|
name: zod.ZodOptional<zod.ZodString>;
|
|
112
119
|
type: zod.ZodOptional<zod.ZodString>;
|
|
113
120
|
}, zod.z.core.$strip>>;
|
|
114
121
|
queue: zod.ZodOptional<zod.ZodObject<{
|
|
122
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
115
123
|
id: zod.ZodOptional<zod.ZodString>;
|
|
116
124
|
name: zod.ZodOptional<zod.ZodString>;
|
|
117
125
|
type: zod.ZodOptional<zod.ZodString>;
|
|
118
126
|
}, zod.z.core.$strip>>;
|
|
119
127
|
title: zod.ZodOptional<zod.ZodString>;
|
|
120
128
|
via: zod.ZodOptional<zod.ZodObject<{
|
|
129
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
121
130
|
id: zod.ZodOptional<zod.ZodString>;
|
|
122
131
|
name: zod.ZodOptional<zod.ZodString>;
|
|
123
132
|
type: zod.ZodOptional<zod.ZodString>;
|
|
@@ -126,6 +135,7 @@ export declare const AgentChatServiceGetAgentChatsResponse: zod.ZodObject<{
|
|
|
126
135
|
text: zod.ZodOptional<zod.ZodString>;
|
|
127
136
|
}, zod.z.core.$strip>>;
|
|
128
137
|
queue: zod.ZodOptional<zod.ZodObject<{
|
|
138
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
129
139
|
id: zod.ZodOptional<zod.ZodString>;
|
|
130
140
|
name: zod.ZodOptional<zod.ZodString>;
|
|
131
141
|
type: zod.ZodOptional<zod.ZodString>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
8
|
+
import type { EngineListChatTag, SearchAgentChatTagParams } from '../_models';
|
|
9
|
+
export declare const // --- title start
|
|
10
|
+
getAgentChatTagService: (axiosInstance?: AxiosInstance) => {
|
|
11
|
+
searchAgentChatTag: (params?: SearchAgentChatTagParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineListChatTag>>;
|
|
12
|
+
};
|
|
13
|
+
export type SearchAgentChatTagResult = AxiosResponse<EngineListChatTag>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import * as zod from 'zod';
|
|
8
|
+
export declare const SearchAgentChatTagQueryParams: zod.ZodObject<{
|
|
9
|
+
page: zod.ZodOptional<zod.ZodInt>;
|
|
10
|
+
size: zod.ZodOptional<zod.ZodInt>;
|
|
11
|
+
q: zod.ZodOptional<zod.ZodString>;
|
|
12
|
+
sort: zod.ZodOptional<zod.ZodString>;
|
|
13
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
14
|
+
id: zod.ZodOptional<zod.ZodArray<zod.ZodInt>>;
|
|
15
|
+
}, zod.z.core.$strip>;
|
|
16
|
+
export declare const SearchAgentChatTagResponse: zod.ZodObject<{
|
|
17
|
+
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
18
|
+
id: zod.ZodOptional<zod.ZodInt>;
|
|
19
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
20
|
+
}, zod.z.core.$strip>>>;
|
|
21
|
+
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
22
|
+
}, zod.z.core.$strip>;
|
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
8
|
-
import type { ListFilesAttachmentsParams, WebitelKbFile, WebitelKbFileList } from '../_models';
|
|
8
|
+
import type { ListFilesAttachmentsParams, WebitelKbAttachmentsAttachFileBody, WebitelKbFile, WebitelKbFileList } from '../_models';
|
|
9
9
|
export declare const // --- title start
|
|
10
10
|
getAttachments: (axiosInstance?: AxiosInstance) => {
|
|
11
11
|
listFilesAttachments: (articleEtag: string, params?: ListFilesAttachmentsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelKbFileList>>;
|
|
12
|
+
attachFile: (articleEtag: string, webitelKbAttachmentsAttachFileBody: WebitelKbAttachmentsAttachFileBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelKbFile>>;
|
|
12
13
|
deleteFileAttachments: (articleEtag: string, id: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelKbFile>>;
|
|
13
14
|
};
|
|
14
15
|
export type ListFilesAttachmentsResult = AxiosResponse<WebitelKbFileList>;
|
|
16
|
+
export type AttachFileResult = AxiosResponse<WebitelKbFile>;
|
|
15
17
|
export type DeleteFileAttachmentsResult = AxiosResponse<WebitelKbFile>;
|
|
@@ -31,11 +31,32 @@ export declare const ListFilesAttachmentsResponse: zod.ZodObject<{
|
|
|
31
31
|
mime: zod.ZodOptional<zod.ZodString>;
|
|
32
32
|
name: zod.ZodOptional<zod.ZodString>;
|
|
33
33
|
size: zod.ZodOptional<zod.ZodString>;
|
|
34
|
-
source: zod.ZodOptional<zod.ZodString>;
|
|
35
34
|
url: zod.ZodOptional<zod.ZodString>;
|
|
36
35
|
}, zod.z.core.$strip>>>;
|
|
37
36
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
38
37
|
}, zod.z.core.$strip>;
|
|
38
|
+
/**
|
|
39
|
+
* @summary AttachFile binds an uploaded file to an article.
|
|
40
|
+
*/
|
|
41
|
+
export declare const AttachFileParams: zod.ZodObject<{
|
|
42
|
+
article_etag: zod.ZodString;
|
|
43
|
+
}, zod.z.core.$strip>;
|
|
44
|
+
export declare const AttachFileBody: zod.ZodObject<{
|
|
45
|
+
file_id: zod.ZodOptional<zod.ZodString>;
|
|
46
|
+
}, zod.z.core.$strip>;
|
|
47
|
+
export declare const AttachFileResponse: zod.ZodObject<{
|
|
48
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
49
|
+
created_by: zod.ZodOptional<zod.ZodObject<{
|
|
50
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
51
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
52
|
+
type: zod.ZodOptional<zod.ZodString>;
|
|
53
|
+
}, zod.z.core.$strip>>;
|
|
54
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
55
|
+
mime: zod.ZodOptional<zod.ZodString>;
|
|
56
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
57
|
+
size: zod.ZodOptional<zod.ZodString>;
|
|
58
|
+
url: zod.ZodOptional<zod.ZodString>;
|
|
59
|
+
}, zod.z.core.$strip>;
|
|
39
60
|
/**
|
|
40
61
|
* @summary DeleteFile unbinds and removes a file from an article.
|
|
41
62
|
*/
|
|
@@ -54,6 +75,5 @@ export declare const DeleteFileAttachmentsResponse: zod.ZodObject<{
|
|
|
54
75
|
mime: zod.ZodOptional<zod.ZodString>;
|
|
55
76
|
name: zod.ZodOptional<zod.ZodString>;
|
|
56
77
|
size: zod.ZodOptional<zod.ZodString>;
|
|
57
|
-
source: zod.ZodOptional<zod.ZodString>;
|
|
58
78
|
url: zod.ZodOptional<zod.ZodString>;
|
|
59
79
|
}, zod.z.core.$strip>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
8
|
-
import type { EngineActiveCall, EngineAggregateHistoryCallRequest, EngineBlindTransferCallResponse, EngineCallAnnotation, EngineCallServiceBlindTransferCallBody, EngineCallServiceCreateCallAnnotationBody, EngineCallServiceDtmfCallBody, EngineCallServiceEavesdropCallBody, EngineCallServiceHangupCallBody, EngineCallServiceHoldCallBody, EngineCallServicePatchHistoryCallBody, EngineCallServiceRedialCallBody, EngineCallServiceSetVariablesCallBody, EngineCallServiceUnHoldCallBody, EngineCallServiceUpdateCallAnnotationBody, EngineConfirmPushResponse, EngineCreateCallRequest, EngineCreateCallResponse, EngineDtmfCallResponse, EngineHangupCallResponse, EngineHistoryCall, EngineHoldCallResponse, EngineListAggregate, EngineListCall, EngineListHistoryCall, EngineSearchHistoryCallRequest, EngineSetVariablesCallResponse, ReadCallParams, SearchActiveCallParams, SearchHistoryCallParams } from '../_models';
|
|
8
|
+
import type { EngineActiveCall, EngineAggregateHistoryCallRequest, EngineBlindTransferCallResponse, EngineCallAnnotation, EngineCallServiceBlindTransferCallBody, EngineCallServiceCreateCallAnnotationBody, EngineCallServiceDtmfCallBody, EngineCallServiceEavesdropCallBody, EngineCallServiceHangupCallBody, EngineCallServiceHoldCallBody, EngineCallServicePatchHistoryCallAttemptBody, EngineCallServicePatchHistoryCallBody, EngineCallServiceRedialCallBody, EngineCallServiceSetVariablesCallBody, EngineCallServiceUnHoldCallBody, EngineCallServiceUpdateCallAnnotationBody, EngineConfirmPushResponse, EngineCreateCallRequest, EngineCreateCallResponse, EngineDtmfCallResponse, EngineHangupCallResponse, EngineHistoryCall, EngineHoldCallResponse, EngineListAggregate, EngineListCall, EngineListHistoryCall, EnginePatchHistoryCallAttemptResponse, EngineSearchHistoryCallRequest, EngineSetVariablesCallResponse, ReadCallParams, SearchActiveCallParams, SearchHistoryCallParams } from '../_models';
|
|
9
9
|
export declare const // --- title start
|
|
10
10
|
getCallService: (axiosInstance?: AxiosInstance) => {
|
|
11
11
|
createCall: (engineCreateCallRequest: EngineCreateCallRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineCreateCallResponse>>;
|
|
@@ -27,6 +27,7 @@ getCallService: (axiosInstance?: AxiosInstance) => {
|
|
|
27
27
|
updateCallAnnotation: (callId: string, id: string, engineCallServiceUpdateCallAnnotationBody: EngineCallServiceUpdateCallAnnotationBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineCallAnnotation>>;
|
|
28
28
|
redialCall: (callId: string, engineCallServiceRedialCallBody: EngineCallServiceRedialCallBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineCreateCallResponse>>;
|
|
29
29
|
patchHistoryCall: (id: string, engineCallServicePatchHistoryCallBody: EngineCallServicePatchHistoryCallBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineHistoryCall>>;
|
|
30
|
+
patchHistoryCallAttempt: (id: string, engineCallServicePatchHistoryCallAttemptBody: EngineCallServicePatchHistoryCallAttemptBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<EnginePatchHistoryCallAttemptResponse>>;
|
|
30
31
|
};
|
|
31
32
|
export type CreateCallResult = AxiosResponse<EngineCreateCallResponse>;
|
|
32
33
|
export type SearchActiveCallResult = AxiosResponse<EngineListCall>;
|
|
@@ -47,3 +48,4 @@ export type DeleteCallAnnotationResult = AxiosResponse<EngineCallAnnotation>;
|
|
|
47
48
|
export type UpdateCallAnnotationResult = AxiosResponse<EngineCallAnnotation>;
|
|
48
49
|
export type RedialCallResult = AxiosResponse<EngineCreateCallResponse>;
|
|
49
50
|
export type PatchHistoryCallResult = AxiosResponse<EngineHistoryCall>;
|
|
51
|
+
export type PatchHistoryCallAttemptResult = AxiosResponse<EnginePatchHistoryCallAttemptResponse>;
|
|
@@ -601,6 +601,7 @@ export declare const SearchHistoryCallResponse: zod.ZodObject<{
|
|
|
601
601
|
id: zod.ZodOptional<zod.ZodString>;
|
|
602
602
|
name: zod.ZodOptional<zod.ZodString>;
|
|
603
603
|
}, zod.z.core.$strip>>;
|
|
604
|
+
user_agent: zod.ZodOptional<zod.ZodString>;
|
|
604
605
|
variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
605
606
|
wait_sec: zod.ZodOptional<zod.ZodInt>;
|
|
606
607
|
}, zod.z.core.$strip>>>;
|
|
@@ -897,6 +898,7 @@ export declare const SearchHistoryCallPostResponse: zod.ZodObject<{
|
|
|
897
898
|
id: zod.ZodOptional<zod.ZodString>;
|
|
898
899
|
name: zod.ZodOptional<zod.ZodString>;
|
|
899
900
|
}, zod.z.core.$strip>>;
|
|
901
|
+
user_agent: zod.ZodOptional<zod.ZodString>;
|
|
900
902
|
variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
901
903
|
wait_sec: zod.ZodOptional<zod.ZodInt>;
|
|
902
904
|
}, zod.z.core.$strip>>>;
|
|
@@ -1297,6 +1299,22 @@ export declare const PatchHistoryCallResponse: zod.ZodObject<{
|
|
|
1297
1299
|
id: zod.ZodOptional<zod.ZodString>;
|
|
1298
1300
|
name: zod.ZodOptional<zod.ZodString>;
|
|
1299
1301
|
}, zod.z.core.$strip>>;
|
|
1302
|
+
user_agent: zod.ZodOptional<zod.ZodString>;
|
|
1300
1303
|
variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
1301
1304
|
wait_sec: zod.ZodOptional<zod.ZodInt>;
|
|
1302
1305
|
}, zod.z.core.$strip>;
|
|
1306
|
+
/**
|
|
1307
|
+
* @summary PatchHistoryCallAttempt performs update of history attempt binded to call.
|
|
1308
|
+
*/
|
|
1309
|
+
export declare const PatchHistoryCallAttemptParams: zod.ZodObject<{
|
|
1310
|
+
id: zod.ZodString;
|
|
1311
|
+
}, zod.z.core.$strip>;
|
|
1312
|
+
export declare const PatchHistoryCallAttemptBody: zod.ZodObject<{
|
|
1313
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
1314
|
+
variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
1315
|
+
}, zod.z.core.$strip>;
|
|
1316
|
+
export declare const PatchHistoryCallAttemptResponse: zod.ZodObject<{
|
|
1317
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
1318
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
1319
|
+
variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
1320
|
+
}, zod.z.core.$strip>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
8
|
+
import type { ListArticleCasesParams, ListCaseArticlesParams, WebitelCasesCaseArticle, WebitelCasesCaseArticleList, WebitelCasesInputCaseArticle } from '../_models';
|
|
9
|
+
export declare const // --- title start
|
|
10
|
+
getCaseArticles: (axiosInstance?: AxiosInstance) => {
|
|
11
|
+
listArticleCases: (articleId: string, params?: ListArticleCasesParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelCasesCaseArticleList>>;
|
|
12
|
+
listCaseArticles: (caseEtag: string, params?: ListCaseArticlesParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelCasesCaseArticleList>>;
|
|
13
|
+
linkCaseArticle: (caseEtag: string, webitelCasesInputCaseArticle: WebitelCasesInputCaseArticle, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelCasesCaseArticle>>;
|
|
14
|
+
unlinkCaseArticle: (caseEtag: string, articleId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelCasesCaseArticle>>;
|
|
15
|
+
};
|
|
16
|
+
export type ListArticleCasesResult = AxiosResponse<WebitelCasesCaseArticleList>;
|
|
17
|
+
export type ListCaseArticlesResult = AxiosResponse<WebitelCasesCaseArticleList>;
|
|
18
|
+
export type LinkCaseArticleResult = AxiosResponse<WebitelCasesCaseArticle>;
|
|
19
|
+
export type UnlinkCaseArticleResult = AxiosResponse<WebitelCasesCaseArticle>;
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import * as zod from 'zod';
|
|
8
|
+
/**
|
|
9
|
+
* @summary Cases of an article the user can read.
|
|
10
|
+
*/
|
|
11
|
+
export declare const ListArticleCasesParams: zod.ZodObject<{
|
|
12
|
+
article_id: zod.ZodString;
|
|
13
|
+
}, zod.z.core.$strip>;
|
|
14
|
+
export declare const ListArticleCasesQueryParams: zod.ZodObject<{
|
|
15
|
+
page: zod.ZodOptional<zod.ZodInt>;
|
|
16
|
+
size: zod.ZodOptional<zod.ZodInt>;
|
|
17
|
+
}, zod.z.core.$strip>;
|
|
18
|
+
export declare const listArticleCasesResponseItemsItemSourceDefault = "CASE_ARTICLE_SOURCE_UNSPECIFIED";
|
|
19
|
+
export declare const ListArticleCasesResponse: zod.ZodObject<{
|
|
20
|
+
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
21
|
+
article: zod.ZodOptional<zod.ZodObject<{
|
|
22
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
23
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
24
|
+
}, zod.z.core.$strip>>;
|
|
25
|
+
case: zod.ZodOptional<zod.ZodObject<{
|
|
26
|
+
color: zod.ZodOptional<zod.ZodString>;
|
|
27
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
28
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
29
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
30
|
+
subject: zod.ZodOptional<zod.ZodString>;
|
|
31
|
+
ver: zod.ZodOptional<zod.ZodInt>;
|
|
32
|
+
}, zod.z.core.$strip>>;
|
|
33
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
34
|
+
created_by: zod.ZodOptional<zod.ZodObject<{
|
|
35
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
36
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
37
|
+
}, zod.z.core.$strip>>;
|
|
38
|
+
source: zod.ZodDefault<zod.ZodEnum<{
|
|
39
|
+
CASE_ARTICLE_SOURCE_UNSPECIFIED: "CASE_ARTICLE_SOURCE_UNSPECIFIED";
|
|
40
|
+
CASE_ARTICLE_SOURCE_MANUAL: "CASE_ARTICLE_SOURCE_MANUAL";
|
|
41
|
+
CASE_ARTICLE_SOURCE_RESOLUTION: "CASE_ARTICLE_SOURCE_RESOLUTION";
|
|
42
|
+
}>>;
|
|
43
|
+
}, zod.z.core.$strip>>>;
|
|
44
|
+
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
45
|
+
page: zod.ZodOptional<zod.ZodString>;
|
|
46
|
+
}, zod.z.core.$strip>;
|
|
47
|
+
/**
|
|
48
|
+
* @summary Articles of a case, the close article first.
|
|
49
|
+
*/
|
|
50
|
+
export declare const ListCaseArticlesParams: zod.ZodObject<{
|
|
51
|
+
case_etag: zod.ZodString;
|
|
52
|
+
}, zod.z.core.$strip>;
|
|
53
|
+
export declare const ListCaseArticlesQueryParams: zod.ZodObject<{
|
|
54
|
+
page: zod.ZodOptional<zod.ZodInt>;
|
|
55
|
+
size: zod.ZodOptional<zod.ZodInt>;
|
|
56
|
+
}, zod.z.core.$strip>;
|
|
57
|
+
export declare const listCaseArticlesResponseItemsItemSourceDefault = "CASE_ARTICLE_SOURCE_UNSPECIFIED";
|
|
58
|
+
export declare const ListCaseArticlesResponse: zod.ZodObject<{
|
|
59
|
+
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
60
|
+
article: zod.ZodOptional<zod.ZodObject<{
|
|
61
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
62
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
63
|
+
}, zod.z.core.$strip>>;
|
|
64
|
+
case: zod.ZodOptional<zod.ZodObject<{
|
|
65
|
+
color: zod.ZodOptional<zod.ZodString>;
|
|
66
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
67
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
68
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
69
|
+
subject: zod.ZodOptional<zod.ZodString>;
|
|
70
|
+
ver: zod.ZodOptional<zod.ZodInt>;
|
|
71
|
+
}, zod.z.core.$strip>>;
|
|
72
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
73
|
+
created_by: zod.ZodOptional<zod.ZodObject<{
|
|
74
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
75
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
76
|
+
}, zod.z.core.$strip>>;
|
|
77
|
+
source: zod.ZodDefault<zod.ZodEnum<{
|
|
78
|
+
CASE_ARTICLE_SOURCE_UNSPECIFIED: "CASE_ARTICLE_SOURCE_UNSPECIFIED";
|
|
79
|
+
CASE_ARTICLE_SOURCE_MANUAL: "CASE_ARTICLE_SOURCE_MANUAL";
|
|
80
|
+
CASE_ARTICLE_SOURCE_RESOLUTION: "CASE_ARTICLE_SOURCE_RESOLUTION";
|
|
81
|
+
}>>;
|
|
82
|
+
}, zod.z.core.$strip>>>;
|
|
83
|
+
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
84
|
+
page: zod.ZodOptional<zod.ZodString>;
|
|
85
|
+
}, zod.z.core.$strip>;
|
|
86
|
+
/**
|
|
87
|
+
* @summary Links an article to a case; linking it again returns the same link.
|
|
88
|
+
*/
|
|
89
|
+
export declare const LinkCaseArticleParams: zod.ZodObject<{
|
|
90
|
+
case_etag: zod.ZodString;
|
|
91
|
+
}, zod.z.core.$strip>;
|
|
92
|
+
export declare const LinkCaseArticleBody: zod.ZodObject<{
|
|
93
|
+
article: zod.ZodOptional<zod.ZodObject<{
|
|
94
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
95
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
96
|
+
}, zod.z.core.$strip>>;
|
|
97
|
+
}, zod.z.core.$strip>;
|
|
98
|
+
export declare const linkCaseArticleResponseSourceDefault = "CASE_ARTICLE_SOURCE_UNSPECIFIED";
|
|
99
|
+
export declare const LinkCaseArticleResponse: zod.ZodObject<{
|
|
100
|
+
article: zod.ZodOptional<zod.ZodObject<{
|
|
101
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
102
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
103
|
+
}, zod.z.core.$strip>>;
|
|
104
|
+
case: zod.ZodOptional<zod.ZodObject<{
|
|
105
|
+
color: zod.ZodOptional<zod.ZodString>;
|
|
106
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
107
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
108
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
109
|
+
subject: zod.ZodOptional<zod.ZodString>;
|
|
110
|
+
ver: zod.ZodOptional<zod.ZodInt>;
|
|
111
|
+
}, zod.z.core.$strip>>;
|
|
112
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
113
|
+
created_by: zod.ZodOptional<zod.ZodObject<{
|
|
114
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
115
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
116
|
+
}, zod.z.core.$strip>>;
|
|
117
|
+
source: zod.ZodDefault<zod.ZodEnum<{
|
|
118
|
+
CASE_ARTICLE_SOURCE_UNSPECIFIED: "CASE_ARTICLE_SOURCE_UNSPECIFIED";
|
|
119
|
+
CASE_ARTICLE_SOURCE_MANUAL: "CASE_ARTICLE_SOURCE_MANUAL";
|
|
120
|
+
CASE_ARTICLE_SOURCE_RESOLUTION: "CASE_ARTICLE_SOURCE_RESOLUTION";
|
|
121
|
+
}>>;
|
|
122
|
+
}, zod.z.core.$strip>;
|
|
123
|
+
/**
|
|
124
|
+
* @summary Removes a manual link; the close article is changed on the case itself.
|
|
125
|
+
*/
|
|
126
|
+
export declare const UnlinkCaseArticleParams: zod.ZodObject<{
|
|
127
|
+
case_etag: zod.ZodString;
|
|
128
|
+
article_id: zod.ZodString;
|
|
129
|
+
}, zod.z.core.$strip>;
|
|
130
|
+
export declare const unlinkCaseArticleResponseSourceDefault = "CASE_ARTICLE_SOURCE_UNSPECIFIED";
|
|
131
|
+
export declare const UnlinkCaseArticleResponse: zod.ZodObject<{
|
|
132
|
+
article: zod.ZodOptional<zod.ZodObject<{
|
|
133
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
134
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
135
|
+
}, zod.z.core.$strip>>;
|
|
136
|
+
case: zod.ZodOptional<zod.ZodObject<{
|
|
137
|
+
color: zod.ZodOptional<zod.ZodString>;
|
|
138
|
+
etag: zod.ZodOptional<zod.ZodString>;
|
|
139
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
140
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
141
|
+
subject: zod.ZodOptional<zod.ZodString>;
|
|
142
|
+
ver: zod.ZodOptional<zod.ZodInt>;
|
|
143
|
+
}, zod.z.core.$strip>>;
|
|
144
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
145
|
+
created_by: zod.ZodOptional<zod.ZodObject<{
|
|
146
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
147
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
148
|
+
}, zod.z.core.$strip>>;
|
|
149
|
+
source: zod.ZodDefault<zod.ZodEnum<{
|
|
150
|
+
CASE_ARTICLE_SOURCE_UNSPECIFIED: "CASE_ARTICLE_SOURCE_UNSPECIFIED";
|
|
151
|
+
CASE_ARTICLE_SOURCE_MANUAL: "CASE_ARTICLE_SOURCE_MANUAL";
|
|
152
|
+
CASE_ARTICLE_SOURCE_RESOLUTION: "CASE_ARTICLE_SOURCE_RESOLUTION";
|
|
153
|
+
}>>;
|
|
154
|
+
}, zod.z.core.$strip>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
8
|
-
import type { CreateCaseParams, DeleteCaseParams, ExportCases200, ExportCasesParams, LocateCaseParams, SearchCases2Params, SearchCasesParams, UpdateCase2Body, UpdateCase2Params, UpdateCaseBody, UpdateCaseParams, WebitelCasesCase, WebitelCasesCaseList, WebitelCasesInputCreateCase, WebitelCasesUpdateCaseResponse } from '../_models';
|
|
8
|
+
import type { CreateCaseParams, DeleteCaseParams, ExportCases200, ExportCasesParams, LocateCaseNeighborParams, LocateCaseParams, SearchCases2Params, SearchCasesParams, UpdateCase2Body, UpdateCase2Params, UpdateCaseBody, UpdateCaseParams, WebitelCasesCase, WebitelCasesCaseList, WebitelCasesInputCreateCase, WebitelCasesUpdateCaseResponse } from '../_models';
|
|
9
9
|
export declare const // --- title start
|
|
10
10
|
getCases: (axiosInstance?: AxiosInstance) => {
|
|
11
11
|
searchCases: (params?: SearchCasesParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelCasesCaseList>>;
|
|
@@ -13,6 +13,7 @@ getCases: (axiosInstance?: AxiosInstance) => {
|
|
|
13
13
|
exportCases: (params?: ExportCasesParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<ExportCases200>>;
|
|
14
14
|
deleteCase: (etag: string, params?: DeleteCaseParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelCasesCase>>;
|
|
15
15
|
locateCase: (etag: string, params?: LocateCaseParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelCasesCase>>;
|
|
16
|
+
locateCaseNeighbor: (etag: string, params?: LocateCaseNeighborParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelCasesCase>>;
|
|
16
17
|
updateCase2: (inputEtag: string, updateCase2Body: UpdateCase2Body, params?: UpdateCase2Params, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelCasesUpdateCaseResponse>>;
|
|
17
18
|
updateCase: (inputEtag: string, updateCaseBody: UpdateCaseBody, params?: UpdateCaseParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelCasesUpdateCaseResponse>>;
|
|
18
19
|
searchCases2: (contactId: string, params?: SearchCases2Params, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelCasesCaseList>>;
|
|
@@ -22,6 +23,7 @@ export type CreateCaseResult = AxiosResponse<WebitelCasesCase>;
|
|
|
22
23
|
export type ExportCasesResult = AxiosResponse<ExportCases200>;
|
|
23
24
|
export type DeleteCaseResult = AxiosResponse<WebitelCasesCase>;
|
|
24
25
|
export type LocateCaseResult = AxiosResponse<WebitelCasesCase>;
|
|
26
|
+
export type LocateCaseNeighborResult = AxiosResponse<WebitelCasesCase>;
|
|
25
27
|
export type UpdateCase2Result = AxiosResponse<WebitelCasesUpdateCaseResponse>;
|
|
26
28
|
export type UpdateCaseResult = AxiosResponse<WebitelCasesUpdateCaseResponse>;
|
|
27
29
|
export type SearchCases2Result = AxiosResponse<WebitelCasesCaseList>;
|