@webitel/api-services 0.0.30 → 0.0.32
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 +4 -3
- package/src/api/defaults/getDefaultInstance/getDefaultInstance.ts +2 -1
- package/src/api/transformers/generateUrl/generateUrl.transformer.ts +1 -1
- package/src/gen/_docs/html/assets/navigation.js +1 -1
- package/src/gen/_docs/html/assets/search.js +1 -1
- package/src/gen/_docs/html/index.html +1 -1
- package/src/gen/_docs/html/interfaces/_models_webitelCasesFile.WebitelCasesFile.html +4 -5
- package/src/gen/_docs/html/interfaces/_models_webitelContactsIMClient.WebitelContactsIMClient.html +4 -2
- package/src/gen/_docs/html/modules/_models.html +1 -1
- package/src/gen/_docs/html/modules/index.html +1 -1
- package/src/gen/_docs/html/types/_models_searchCases2Params.SearchCases2Params.html +4 -12
- package/src/gen/_docs/html/types/_models_searchCasesParams.SearchCasesParams.html +4 -12
- package/src/gen/_docs/html/variables/case-files_case-files.zod.gen.deleteFileResponse.html +1 -1
- package/src/gen/_docs/html/variables/case-files_case-files.zod.gen.listFilesResponse.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.createCaseResponse.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.deleteCaseResponse.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.locateCaseResponse.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCases2QueryParams.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCasesQueryParams.html +1 -1
- package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsCreateContactResponse.html +1 -1
- package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsDeleteContactResponse.html +1 -1
- package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsLocateContactResponse.html +1 -1
- package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsUpdateContactResponse.html +1 -1
- package/src/gen/_docs/html/variables/imclients_imclients.zod.gen.iMClientsListIMClientsResponse.html +1 -1
- package/src/gen/_models/index.ts +0 -1
- package/src/gen/_models/searchCases2Params.ts +2 -18
- package/src/gen/_models/searchCasesParams.ts +2 -18
- package/src/gen/_models/webitelCasesFile.ts +2 -3
- package/src/gen/_models/webitelContactsIMClient.ts +2 -0
- package/src/gen/case-files/case-files.msw.api.gen.ts +8 -26
- package/src/gen/case-files/case-files.zod.gen.ts +2 -12
- package/src/gen/cases/cases.msw.api.gen.ts +28 -91
- package/src/gen/cases/cases.zod.gen.ts +13 -74
- package/src/gen/contacts/contacts.msw.api.gen.ts +20 -0
- package/src/gen/contacts/contacts.zod.gen.ts +20 -0
- package/src/gen/groups/groups.msw.api.gen.ts +8 -0
- package/src/gen/groups/groups.zod.gen.ts +8 -0
- package/src/gen/imclients/imclients.msw.api.gen.ts +4 -0
- package/src/gen/imclients/imclients.zod.gen.ts +1 -0
- package/types/defaults/index.d.ts +2 -0
- package/types/gen/_models/agentAbsenceServiceUpdateAgentAbsenceBodyItem.d.ts +1 -1
- package/types/gen/_models/agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody.d.ts +2 -2
- package/types/gen/_models/apiAccessStoreToggleDefaultAccessBody.d.ts +1 -1
- package/types/gen/_models/apiCustomer.d.ts +2 -2
- package/types/gen/_models/apiDevice.d.ts +1 -1
- package/types/gen/_models/apiLDAPCatalog.d.ts +4 -4
- package/types/gen/_models/apiLDAPUpdateLDAPCatalogBodyCatalog.d.ts +4 -4
- package/types/gen/_models/apiLDAProcess.d.ts +2 -2
- package/types/gen/_models/apiLicenseV1.d.ts +1 -1
- package/types/gen/_models/apiRole.d.ts +3 -3
- package/types/gen/_models/apiRolesUpdateRoleBodyRole.d.ts +3 -3
- package/types/gen/_models/apiUser.d.ts +1 -1
- package/types/gen/_models/apiUsersUpdateUserBodyUser.d.ts +1 -1
- package/types/gen/_models/configServicePatchConfigBody.d.ts +15 -0
- package/types/gen/_models/configServiceUpdateConfigBody.d.ts +14 -0
- package/types/gen/_models/contactsUpdateContactBody.d.ts +1 -1
- package/types/gen/_models/engineActiveCall.d.ts +2 -2
- package/types/gen/_models/engineAgent.d.ts +1 -1
- package/types/gen/_models/engineAgentInQueueStatistics.d.ts +1 -1
- package/types/gen/_models/engineAggregateHistoryCallRequest.d.ts +1 -1
- package/types/gen/_models/engineAttempt.d.ts +1 -1
- package/types/gen/_models/engineAttemptHistory.d.ts +1 -1
- package/types/gen/_models/engineAuditFormServicePatchAuditFormBody.d.ts +1 -1
- package/types/gen/_models/engineAuditFormServiceUpdateAuditFormBody.d.ts +1 -1
- package/types/gen/_models/engineAuditRate.d.ts +2 -2
- package/types/gen/_models/engineCreateAuditFormRequest.d.ts +1 -1
- package/types/gen/_models/engineCreateCallRequest.d.ts +1 -1
- package/types/gen/_models/engineCreateMemberBulkItem.d.ts +1 -1
- package/types/gen/_models/engineCreateOutboundResourceRequest.d.ts +2 -2
- package/types/gen/_models/engineCreateQueueRequest.d.ts +2 -2
- package/types/gen/_models/engineCreateRoutingSchemaRequest.d.ts +1 -1
- package/types/gen/_models/engineCreateTriggerRequest.d.ts +2 -2
- package/types/gen/_models/engineDeleteAllMembersRequest.d.ts +1 -1
- package/types/gen/_models/engineHistoryCall.d.ts +6 -6
- package/types/gen/_models/engineListReportGeneral.d.ts +1 -1
- package/types/gen/_models/engineOutboundResource.d.ts +1 -1
- package/types/gen/_models/engineOutboundResourceServicePatchOutboundResourceBody.d.ts +1 -1
- package/types/gen/_models/engineOutboundResourceServiceUpdateOutboundResourceBody.d.ts +1 -1
- package/types/gen/_models/engineQuestion.d.ts +1 -1
- package/types/gen/_models/engineQueue.d.ts +2 -2
- package/types/gen/_models/engineQueueReportGeneral.d.ts +1 -1
- package/types/gen/_models/engineQueueServicePatchQueueBody.d.ts +2 -2
- package/types/gen/_models/engineQueueServiceUpdateQueueBody.d.ts +2 -2
- package/types/gen/_models/engineRoutingSchema.d.ts +2 -2
- package/types/gen/_models/engineRoutingSchemaServicePatchRoutingSchemaBody.d.ts +1 -1
- package/types/gen/_models/engineRoutingSchemaServiceUpdateRoutingSchemaBody.d.ts +1 -1
- package/types/gen/_models/engineTeamHook.d.ts +1 -1
- package/types/gen/_models/engineTeamHookServiceCreateTeamHookBody.d.ts +1 -1
- package/types/gen/_models/engineTeamHookServicePatchTeamHookBody.d.ts +1 -1
- package/types/gen/_models/engineTeamHookServiceUpdateTeamHookBody.d.ts +1 -1
- package/types/gen/_models/engineTrigger.d.ts +1 -1
- package/types/gen/_models/engineTriggerJob.d.ts +1 -1
- package/types/gen/_models/engineTriggerObjectType.d.ts +0 -1
- package/types/gen/_models/engineTriggerServicePatchTriggerBody.d.ts +1 -1
- package/types/gen/_models/engineTriggerServiceUpdateTriggerBody.d.ts +1 -1
- package/types/gen/_models/fileServiceSearchFilesChannelItem.d.ts +0 -2
- package/types/gen/_models/groupsAddContactsToGroupParams.d.ts +12 -0
- package/types/gen/_models/loggerDeleteConfigBulkRequest.d.ts +9 -0
- package/types/gen/_models/loggerDeleteConfigLogsRequest.d.ts +10 -0
- package/types/gen/_models/loggerDeleteConfigLogsResponse.d.ts +9 -0
- package/types/gen/_models/pauseTemplateServiceUpdatePauseTemplateBodyItem.d.ts +1 -1
- package/types/gen/_models/readSystemObjectsParams.d.ts +9 -0
- package/types/gen/_models/searchConfigObjectItem.d.ts +25 -0
- package/types/gen/_models/searchConfigParams.d.ts +18 -0
- package/types/gen/_models/searchLogByConfigIdActionItem.d.ts +14 -0
- package/types/gen/_models/searchLogByConfigIdParams.d.ts +19 -0
- package/types/gen/_models/searchLogByRecordIdActionItem.d.ts +14 -0
- package/types/gen/_models/searchLogByRecordIdParams.d.ts +22 -0
- package/types/gen/_models/searchLogByUserIdActionItem.d.ts +14 -0
- package/types/gen/_models/searchLogByUserIdParams.d.ts +25 -0
- package/types/gen/_models/storageCreateImportTemplateRequest.d.ts +1 -1
- package/types/gen/_models/storageFile.d.ts +2 -2
- package/types/gen/_models/storageFilePolicy.d.ts +1 -1
- package/types/gen/_models/storageImportTemplate.d.ts +2 -2
- package/types/gen/_models/storageSafeUploadFileResponseMetadata.d.ts +1 -1
- package/types/gen/_models/storageUpdateCognitiveProfileRequest.d.ts +2 -2
- package/types/gen/_models/storageUpdateImportTemplateRequest.d.ts +1 -1
- package/types/gen/_models/storageUploadFileChannel.d.ts +0 -2
- package/types/gen/_models/storageUploadFileResponse.d.ts +1 -1
- package/types/gen/_models/storageUploadFileUrlResponse.d.ts +1 -1
- package/types/gen/_models/usersUpdateUser2Body.d.ts +1 -1
- package/types/gen/_models/usersUpdateUserBody.d.ts +1 -1
- package/types/gen/_models/usersUpdateUserUserBody.d.ts +1 -1
- package/types/gen/_models/webitelCasesCallEvent.d.ts +1 -1
- package/types/gen/_models/webitelCasesCase.d.ts +1 -1
- package/types/gen/_models/webitelCasesChatEvent.d.ts +1 -1
- package/types/gen/_models/webitelCasesEmailEvent.d.ts +1 -1
- package/types/gen/_models/webitelCasesInputCreateService.d.ts +1 -1
- package/types/gen/_models/webitelCasesInputService.d.ts +1 -1
- package/types/gen/_models/webitelCasesInputSource.d.ts +1 -0
- package/types/gen/_models/webitelCasesService.d.ts +1 -1
- package/types/gen/_models/webitelCasesSource.d.ts +6 -5
- package/types/gen/_models/webitelChatAgentChat.d.ts +1 -1
- package/types/gen/_models/webitelChatBroadcastMessageRequest.d.ts +1 -1
- package/types/gen/_models/webitelChatChatMessage.d.ts +2 -2
- package/types/gen/_models/webitelChatContactChat.d.ts +1 -1
- package/types/gen/_models/webitelChatDialog.d.ts +1 -1
- package/types/gen/_models/webitelChatGetContactChatHistoryResponse.d.ts +2 -2
- package/types/gen/_models/webitelContactsComment.d.ts +1 -1
- package/types/gen/_models/webitelProtoDataStruct.d.ts +1 -1
- package/types/gen/_models/wfmAbsence.d.ts +1 -1
- package/types/gen/_models/wfmAgentScheduleShift.d.ts +2 -2
- package/types/gen/_models/wfmAgentWorkingSchedule.d.ts +1 -1
- package/types/gen/_models/wfmPauseTemplate.d.ts +1 -1
- package/types/gen/_models/wfmSearchAgentsWorkingScheduleResponse.d.ts +1 -1
- package/types/gen/agent-chat-service/agent-chat-service.zod.gen.d.ts +1 -1
- package/types/gen/articles/articles.api.gen.d.ts +1 -1
- package/types/gen/call-service/call-service.zod.gen.d.ts +6 -6
- package/types/gen/cases-chat-catalog/cases-chat-catalog.zod.gen.d.ts +1 -1
- package/types/gen/catalog/catalog.zod.gen.d.ts +3 -3
- package/types/gen/config-service/config-service.zod.gen.d.ts +2 -2
- package/types/gen/contacts/contacts.zod.gen.d.ts +2 -2
- package/types/gen/contacts-chat-catalog/contacts-chat-catalog.zod.gen.d.ts +2 -2
- package/types/gen/dictionaries/dictionaries.zod.gen.d.ts +33 -33
- package/types/gen/extensions/extensions.zod.gen.d.ts +24 -24
- package/types/gen/file-policies-service/file-policies-service.zod.gen.d.ts +0 -18
- package/types/gen/file-service/file-service.api.gen.d.ts +1 -3
- package/types/gen/file-service/file-service.msw.api.gen.d.ts +1 -3
- package/types/gen/file-service/file-service.zod.gen.d.ts +0 -18
- package/types/gen/ldap/ldap.api.gen.d.ts +1 -1
- package/types/gen/ldap/ldap.msw.api.gen.d.ts +1 -1
- package/types/gen/logger-service/logger-service.zod.gen.d.ts +5 -5
- package/types/gen/timeline/timeline.zod.gen.d.ts +2 -2
- package/types/gen/trigger-service/trigger-service.zod.gen.d.ts +15 -24
- package/types/gen/types/types.zod.gen.d.ts +6 -6
- package/src/gen/_docs/html/interfaces/_models_webitelCasesCaseQueryTarget.WebitelCasesCaseQueryTarget.html +0 -10
- package/src/gen/_docs/html/modules/_models_webitelCasesCaseQueryTarget.html +0 -1
- package/src/gen/_models/webitelCasesCaseQueryTarget.ts +0 -20
- package/types/gen/_models/webitelCasesCaseQueryTarget.d.ts +0 -19
package/src/gen/_docs/html/variables/imclients_imclients.zod.gen.iMClientsListIMClientsResponse.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>iMClientsListIMClientsResponse | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Documentation</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/imclients_imclients.zod.gen.html">imclients/imclients.zod.gen</a></li><li><a href="" aria-current="page">iMClientsListIMClientsResponse</a></li></ul><h1>Variable iMClientsListIMClientsResponse<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">iMClientsListIMClientsResponse</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-type">ZodArray</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">app</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">createdAt</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">createdBy</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">etag</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">protocol</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">updatedAt</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">updatedBy</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">user</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">ver</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodNumber</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">via</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">next</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodBoolean</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">page</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodNumber</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">Documentation</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>iMClientsListIMClientsResponse | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Documentation</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/imclients_imclients.zod.gen.html">imclients/imclients.zod.gen</a></li><li><a href="" aria-current="page">iMClientsListIMClientsResponse</a></li></ul><h1>Variable iMClientsListIMClientsResponse<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">iMClientsListIMClientsResponse</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-type">ZodArray</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">app</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">createdAt</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">createdBy</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">etag</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">externalId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">protocol</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">updatedAt</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">updatedBy</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">user</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-type">ZodObject</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">ver</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodNumber</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">via</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodString</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">next</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodBoolean</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">page</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ZodOptional</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ZodNumber</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-type">$strip</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">Documentation</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
package/src/gen/_models/index.ts
CHANGED
|
@@ -1115,7 +1115,6 @@ export * from './webitelCasesCaseFileList';
|
|
|
1115
1115
|
export * from './webitelCasesCaseLink';
|
|
1116
1116
|
export * from './webitelCasesCaseLinkList';
|
|
1117
1117
|
export * from './webitelCasesCaseList';
|
|
1118
|
-
export * from './webitelCasesCaseQueryTarget';
|
|
1119
1118
|
export * from './webitelCasesCaseTimelineEventType';
|
|
1120
1119
|
export * from './webitelCasesCatalog';
|
|
1121
1120
|
export * from './webitelCasesCatalogList';
|
|
@@ -35,23 +35,7 @@ export type SearchCases2Params = {
|
|
|
35
35
|
*/
|
|
36
36
|
filters?: string[];
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Specify which fields to apply 'q' to.
|
|
39
39
|
*/
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Search in case subject.
|
|
43
|
-
*/
|
|
44
|
-
queryTargetSubject?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Search in case name or number.
|
|
47
|
-
*/
|
|
48
|
-
queryTargetName?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Search in contact's email, phone, etc.
|
|
51
|
-
*/
|
|
52
|
-
queryTargetContactInfo?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Search in case id
|
|
55
|
-
*/
|
|
56
|
-
queryTargetId?: boolean;
|
|
40
|
+
qin?: string;
|
|
57
41
|
};
|
|
@@ -39,23 +39,7 @@ export type SearchCasesParams = {
|
|
|
39
39
|
*/
|
|
40
40
|
contactId?: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Specify which fields to apply 'q' to.
|
|
43
43
|
*/
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Search in case subject.
|
|
47
|
-
*/
|
|
48
|
-
queryTargetSubject?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Search in case name or number.
|
|
51
|
-
*/
|
|
52
|
-
queryTargetName?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Search in contact's email, phone, etc.
|
|
55
|
-
*/
|
|
56
|
-
queryTargetContactInfo?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Search in case id
|
|
59
|
-
*/
|
|
60
|
-
queryTargetId?: boolean;
|
|
44
|
+
qin?: string;
|
|
61
45
|
};
|
|
@@ -4,17 +4,16 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { GeneralExtendedLookup } from './generalExtendedLookup';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Metadata for a file associated with a case.
|
|
11
11
|
*/
|
|
12
12
|
export interface WebitelCasesFile {
|
|
13
|
-
author?: GeneralLookup;
|
|
14
13
|
/** Creation timestamp in Unix milliseconds. */
|
|
15
14
|
createdAt?: string;
|
|
16
15
|
/** Creator of the file. */
|
|
17
|
-
createdBy?:
|
|
16
|
+
createdBy?: GeneralExtendedLookup;
|
|
18
17
|
/** Storage file ID. */
|
|
19
18
|
id?: string;
|
|
20
19
|
/** MIME type of the file. */
|
|
@@ -21,6 +21,8 @@ Name will be name of the gateway. */
|
|
|
21
21
|
/** Unique ID of the latest version of the update.
|
|
22
22
|
This ID changes after any update to the underlying value(s). */
|
|
23
23
|
etag?: string;
|
|
24
|
+
/** External user id. */
|
|
25
|
+
externalId?: string;
|
|
24
26
|
/** The unique ID of the association. Never changes. */
|
|
25
27
|
id?: string;
|
|
26
28
|
/** Protocol used to connect the IM client. */
|
|
@@ -18,19 +18,6 @@ export const getListFilesResponseMock = (
|
|
|
18
18
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
19
19
|
(_, i) => i + 1,
|
|
20
20
|
).map(() => ({
|
|
21
|
-
author: faker.helpers.arrayElement([
|
|
22
|
-
{
|
|
23
|
-
id: faker.helpers.arrayElement([
|
|
24
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
25
|
-
undefined,
|
|
26
|
-
]),
|
|
27
|
-
name: faker.helpers.arrayElement([
|
|
28
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
29
|
-
undefined,
|
|
30
|
-
]),
|
|
31
|
-
},
|
|
32
|
-
undefined,
|
|
33
|
-
]),
|
|
34
21
|
createdAt: faker.helpers.arrayElement([
|
|
35
22
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
36
23
|
undefined,
|
|
@@ -45,6 +32,10 @@ export const getListFilesResponseMock = (
|
|
|
45
32
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
46
33
|
undefined,
|
|
47
34
|
]),
|
|
35
|
+
type: faker.helpers.arrayElement([
|
|
36
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
37
|
+
undefined,
|
|
38
|
+
]),
|
|
48
39
|
},
|
|
49
40
|
undefined,
|
|
50
41
|
]),
|
|
@@ -82,19 +73,6 @@ export const getListFilesResponseMock = (
|
|
|
82
73
|
export const getDeleteFileResponseMock = (
|
|
83
74
|
overrideResponse: Partial<WebitelCasesFile> = {},
|
|
84
75
|
): WebitelCasesFile => ({
|
|
85
|
-
author: faker.helpers.arrayElement([
|
|
86
|
-
{
|
|
87
|
-
id: faker.helpers.arrayElement([
|
|
88
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
89
|
-
undefined,
|
|
90
|
-
]),
|
|
91
|
-
name: faker.helpers.arrayElement([
|
|
92
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
93
|
-
undefined,
|
|
94
|
-
]),
|
|
95
|
-
},
|
|
96
|
-
undefined,
|
|
97
|
-
]),
|
|
98
76
|
createdAt: faker.helpers.arrayElement([
|
|
99
77
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
100
78
|
undefined,
|
|
@@ -109,6 +87,10 @@ export const getDeleteFileResponseMock = (
|
|
|
109
87
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
110
88
|
undefined,
|
|
111
89
|
]),
|
|
90
|
+
type: faker.helpers.arrayElement([
|
|
91
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
92
|
+
undefined,
|
|
93
|
+
]),
|
|
112
94
|
},
|
|
113
95
|
undefined,
|
|
114
96
|
]),
|
|
@@ -33,12 +33,6 @@ export const listFilesResponse = zod
|
|
|
33
33
|
.array(
|
|
34
34
|
zod
|
|
35
35
|
.object({
|
|
36
|
-
author: zod
|
|
37
|
-
.object({
|
|
38
|
-
id: zod.string().optional(),
|
|
39
|
-
name: zod.string().optional(),
|
|
40
|
-
})
|
|
41
|
-
.optional(),
|
|
42
36
|
createdAt: zod
|
|
43
37
|
.string()
|
|
44
38
|
.optional()
|
|
@@ -47,6 +41,7 @@ export const listFilesResponse = zod
|
|
|
47
41
|
.object({
|
|
48
42
|
id: zod.string().optional(),
|
|
49
43
|
name: zod.string().optional(),
|
|
44
|
+
type: zod.string().optional(),
|
|
50
45
|
})
|
|
51
46
|
.optional(),
|
|
52
47
|
id: zod.string().optional().describe('Storage file ID.'),
|
|
@@ -77,12 +72,6 @@ export const deleteFileParams = zod.object({
|
|
|
77
72
|
|
|
78
73
|
export const deleteFileResponse = zod
|
|
79
74
|
.object({
|
|
80
|
-
author: zod
|
|
81
|
-
.object({
|
|
82
|
-
id: zod.string().optional(),
|
|
83
|
-
name: zod.string().optional(),
|
|
84
|
-
})
|
|
85
|
-
.optional(),
|
|
86
75
|
createdAt: zod
|
|
87
76
|
.string()
|
|
88
77
|
.optional()
|
|
@@ -91,6 +80,7 @@ export const deleteFileResponse = zod
|
|
|
91
80
|
.object({
|
|
92
81
|
id: zod.string().optional(),
|
|
93
82
|
name: zod.string().optional(),
|
|
83
|
+
type: zod.string().optional(),
|
|
94
84
|
})
|
|
95
85
|
.optional(),
|
|
96
86
|
id: zod.string().optional().describe('Storage file ID.'),
|
|
@@ -236,19 +236,6 @@ export const getSearchCasesResponseMock = (
|
|
|
236
236
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
237
237
|
(_, i) => i + 1,
|
|
238
238
|
).map(() => ({
|
|
239
|
-
author: faker.helpers.arrayElement([
|
|
240
|
-
{
|
|
241
|
-
id: faker.helpers.arrayElement([
|
|
242
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
243
|
-
undefined,
|
|
244
|
-
]),
|
|
245
|
-
name: faker.helpers.arrayElement([
|
|
246
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
247
|
-
undefined,
|
|
248
|
-
]),
|
|
249
|
-
},
|
|
250
|
-
undefined,
|
|
251
|
-
]),
|
|
252
239
|
createdAt: faker.helpers.arrayElement([
|
|
253
240
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
254
241
|
undefined,
|
|
@@ -263,6 +250,10 @@ export const getSearchCasesResponseMock = (
|
|
|
263
250
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
264
251
|
undefined,
|
|
265
252
|
]),
|
|
253
|
+
type: faker.helpers.arrayElement([
|
|
254
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
255
|
+
undefined,
|
|
256
|
+
]),
|
|
266
257
|
},
|
|
267
258
|
undefined,
|
|
268
259
|
]),
|
|
@@ -1056,19 +1047,6 @@ export const getCreateCaseResponseMock = (
|
|
|
1056
1047
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
1057
1048
|
(_, i) => i + 1,
|
|
1058
1049
|
).map(() => ({
|
|
1059
|
-
author: faker.helpers.arrayElement([
|
|
1060
|
-
{
|
|
1061
|
-
id: faker.helpers.arrayElement([
|
|
1062
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1063
|
-
undefined,
|
|
1064
|
-
]),
|
|
1065
|
-
name: faker.helpers.arrayElement([
|
|
1066
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1067
|
-
undefined,
|
|
1068
|
-
]),
|
|
1069
|
-
},
|
|
1070
|
-
undefined,
|
|
1071
|
-
]),
|
|
1072
1050
|
createdAt: faker.helpers.arrayElement([
|
|
1073
1051
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1074
1052
|
undefined,
|
|
@@ -1083,6 +1061,10 @@ export const getCreateCaseResponseMock = (
|
|
|
1083
1061
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1084
1062
|
undefined,
|
|
1085
1063
|
]),
|
|
1064
|
+
type: faker.helpers.arrayElement([
|
|
1065
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1066
|
+
undefined,
|
|
1067
|
+
]),
|
|
1086
1068
|
},
|
|
1087
1069
|
undefined,
|
|
1088
1070
|
]),
|
|
@@ -1850,19 +1832,6 @@ export const getDeleteCaseResponseMock = (
|
|
|
1850
1832
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
1851
1833
|
(_, i) => i + 1,
|
|
1852
1834
|
).map(() => ({
|
|
1853
|
-
author: faker.helpers.arrayElement([
|
|
1854
|
-
{
|
|
1855
|
-
id: faker.helpers.arrayElement([
|
|
1856
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1857
|
-
undefined,
|
|
1858
|
-
]),
|
|
1859
|
-
name: faker.helpers.arrayElement([
|
|
1860
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1861
|
-
undefined,
|
|
1862
|
-
]),
|
|
1863
|
-
},
|
|
1864
|
-
undefined,
|
|
1865
|
-
]),
|
|
1866
1835
|
createdAt: faker.helpers.arrayElement([
|
|
1867
1836
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1868
1837
|
undefined,
|
|
@@ -1877,6 +1846,10 @@ export const getDeleteCaseResponseMock = (
|
|
|
1877
1846
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1878
1847
|
undefined,
|
|
1879
1848
|
]),
|
|
1849
|
+
type: faker.helpers.arrayElement([
|
|
1850
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
1851
|
+
undefined,
|
|
1852
|
+
]),
|
|
1880
1853
|
},
|
|
1881
1854
|
undefined,
|
|
1882
1855
|
]),
|
|
@@ -2644,19 +2617,6 @@ export const getLocateCaseResponseMock = (
|
|
|
2644
2617
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
2645
2618
|
(_, i) => i + 1,
|
|
2646
2619
|
).map(() => ({
|
|
2647
|
-
author: faker.helpers.arrayElement([
|
|
2648
|
-
{
|
|
2649
|
-
id: faker.helpers.arrayElement([
|
|
2650
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
2651
|
-
undefined,
|
|
2652
|
-
]),
|
|
2653
|
-
name: faker.helpers.arrayElement([
|
|
2654
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
2655
|
-
undefined,
|
|
2656
|
-
]),
|
|
2657
|
-
},
|
|
2658
|
-
undefined,
|
|
2659
|
-
]),
|
|
2660
2620
|
createdAt: faker.helpers.arrayElement([
|
|
2661
2621
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
2662
2622
|
undefined,
|
|
@@ -2671,6 +2631,10 @@ export const getLocateCaseResponseMock = (
|
|
|
2671
2631
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
2672
2632
|
undefined,
|
|
2673
2633
|
]),
|
|
2634
|
+
type: faker.helpers.arrayElement([
|
|
2635
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
2636
|
+
undefined,
|
|
2637
|
+
]),
|
|
2674
2638
|
},
|
|
2675
2639
|
undefined,
|
|
2676
2640
|
]),
|
|
@@ -3445,19 +3409,6 @@ export const getUpdateCase2ResponseMock = (
|
|
|
3445
3409
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
3446
3410
|
(_, i) => i + 1,
|
|
3447
3411
|
).map(() => ({
|
|
3448
|
-
author: faker.helpers.arrayElement([
|
|
3449
|
-
{
|
|
3450
|
-
id: faker.helpers.arrayElement([
|
|
3451
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
3452
|
-
undefined,
|
|
3453
|
-
]),
|
|
3454
|
-
name: faker.helpers.arrayElement([
|
|
3455
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
3456
|
-
undefined,
|
|
3457
|
-
]),
|
|
3458
|
-
},
|
|
3459
|
-
undefined,
|
|
3460
|
-
]),
|
|
3461
3412
|
createdAt: faker.helpers.arrayElement([
|
|
3462
3413
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
3463
3414
|
undefined,
|
|
@@ -3472,6 +3423,10 @@ export const getUpdateCase2ResponseMock = (
|
|
|
3472
3423
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
3473
3424
|
undefined,
|
|
3474
3425
|
]),
|
|
3426
|
+
type: faker.helpers.arrayElement([
|
|
3427
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
3428
|
+
undefined,
|
|
3429
|
+
]),
|
|
3475
3430
|
},
|
|
3476
3431
|
undefined,
|
|
3477
3432
|
]),
|
|
@@ -4281,19 +4236,6 @@ export const getUpdateCaseResponseMock = (
|
|
|
4281
4236
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
4282
4237
|
(_, i) => i + 1,
|
|
4283
4238
|
).map(() => ({
|
|
4284
|
-
author: faker.helpers.arrayElement([
|
|
4285
|
-
{
|
|
4286
|
-
id: faker.helpers.arrayElement([
|
|
4287
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
4288
|
-
undefined,
|
|
4289
|
-
]),
|
|
4290
|
-
name: faker.helpers.arrayElement([
|
|
4291
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
4292
|
-
undefined,
|
|
4293
|
-
]),
|
|
4294
|
-
},
|
|
4295
|
-
undefined,
|
|
4296
|
-
]),
|
|
4297
4239
|
createdAt: faker.helpers.arrayElement([
|
|
4298
4240
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
4299
4241
|
undefined,
|
|
@@ -4308,6 +4250,10 @@ export const getUpdateCaseResponseMock = (
|
|
|
4308
4250
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
4309
4251
|
undefined,
|
|
4310
4252
|
]),
|
|
4253
|
+
type: faker.helpers.arrayElement([
|
|
4254
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
4255
|
+
undefined,
|
|
4256
|
+
]),
|
|
4311
4257
|
},
|
|
4312
4258
|
undefined,
|
|
4313
4259
|
]),
|
|
@@ -5120,19 +5066,6 @@ export const getSearchCases2ResponseMock = (
|
|
|
5120
5066
|
{ length: faker.number.int({ min: 1, max: 10 }) },
|
|
5121
5067
|
(_, i) => i + 1,
|
|
5122
5068
|
).map(() => ({
|
|
5123
|
-
author: faker.helpers.arrayElement([
|
|
5124
|
-
{
|
|
5125
|
-
id: faker.helpers.arrayElement([
|
|
5126
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
5127
|
-
undefined,
|
|
5128
|
-
]),
|
|
5129
|
-
name: faker.helpers.arrayElement([
|
|
5130
|
-
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
5131
|
-
undefined,
|
|
5132
|
-
]),
|
|
5133
|
-
},
|
|
5134
|
-
undefined,
|
|
5135
|
-
]),
|
|
5136
5069
|
createdAt: faker.helpers.arrayElement([
|
|
5137
5070
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
5138
5071
|
undefined,
|
|
@@ -5147,6 +5080,10 @@ export const getSearchCases2ResponseMock = (
|
|
|
5147
5080
|
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
5148
5081
|
undefined,
|
|
5149
5082
|
]),
|
|
5083
|
+
type: faker.helpers.arrayElement([
|
|
5084
|
+
faker.string.alpha({ length: { min: 10, max: 20 } }),
|
|
5085
|
+
undefined,
|
|
5086
|
+
]),
|
|
5150
5087
|
},
|
|
5151
5088
|
undefined,
|
|
5152
5089
|
]),
|