@webitel/api-services 0.0.2 → 0.0.4

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.
Files changed (807) hide show
  1. package/package.json +18 -8
  2. package/src/defaults/index.ts +2 -0
  3. package/src/index.ts +1 -1
  4. package/src/validations/caseSource/caseSource.validations.ts +8 -0
  5. package/src/validations/index.ts +1 -0
  6. package/types/defaults/index.d.ts +2 -0
  7. package/types/gen/_models/index.d.ts +487 -195
  8. package/types/gen/index.d.ts +105 -51
  9. package/types/gen/sources/sources.api.gen.d.ts +44 -9
  10. package/types/index.d.ts +1 -1
  11. package/types/utils/gen/index.d.ts +2 -0
  12. package/types/validations/caseSource/caseSource.validations.d.ts +1 -0
  13. package/types/validations/index.d.ts +1 -0
  14. package/src/gen/_docs/functions/case-comments_case-comments.api.gen.getCaseComments.html +0 -179
  15. package/src/gen/_docs/functions/case-comments_case-comments.msw.api.gen.getCaseCommentsMock.html +0 -9
  16. package/src/gen/_docs/functions/case-comments_case-comments.msw.api.gen.getDeleteCommentMockHandler.html +0 -15
  17. package/src/gen/_docs/functions/case-comments_case-comments.msw.api.gen.getDeleteCommentResponseMock.html +0 -15
  18. package/src/gen/_docs/functions/case-comments_case-comments.msw.api.gen.getListCommentsMockHandler.html +0 -15
  19. package/src/gen/_docs/functions/case-comments_case-comments.msw.api.gen.getListCommentsResponseMock.html +0 -15
  20. package/src/gen/_docs/functions/case-comments_case-comments.msw.api.gen.getLocateCommentMockHandler.html +0 -15
  21. package/src/gen/_docs/functions/case-comments_case-comments.msw.api.gen.getLocateCommentResponseMock.html +0 -15
  22. package/src/gen/_docs/functions/case-comments_case-comments.msw.api.gen.getPublishCommentMockHandler.html +0 -15
  23. package/src/gen/_docs/functions/case-comments_case-comments.msw.api.gen.getPublishCommentResponseMock.html +0 -15
  24. package/src/gen/_docs/functions/case-comments_case-comments.msw.api.gen.getUpdateComment2MockHandler.html +0 -15
  25. package/src/gen/_docs/functions/case-comments_case-comments.msw.api.gen.getUpdateComment2ResponseMock.html +0 -15
  26. package/src/gen/_docs/functions/case-comments_case-comments.msw.api.gen.getUpdateCommentMockHandler.html +0 -15
  27. package/src/gen/_docs/functions/case-comments_case-comments.msw.api.gen.getUpdateCommentResponseMock.html +0 -15
  28. package/src/gen/_docs/functions/case-communications_case-communications.api.gen.getCaseCommunications.html +0 -99
  29. package/src/gen/_docs/functions/case-communications_case-communications.msw.api.gen.getCaseCommunicationsMock.html +0 -9
  30. package/src/gen/_docs/functions/case-communications_case-communications.msw.api.gen.getLinkCommunicationMockHandler.html +0 -15
  31. package/src/gen/_docs/functions/case-communications_case-communications.msw.api.gen.getLinkCommunicationResponseMock.html +0 -15
  32. package/src/gen/_docs/functions/case-communications_case-communications.msw.api.gen.getListCommunicationsMockHandler.html +0 -15
  33. package/src/gen/_docs/functions/case-communications_case-communications.msw.api.gen.getListCommunicationsResponseMock.html +0 -15
  34. package/src/gen/_docs/functions/case-communications_case-communications.msw.api.gen.getUnlinkCommunicationMockHandler.html +0 -15
  35. package/src/gen/_docs/functions/case-communications_case-communications.msw.api.gen.getUnlinkCommunicationResponseMock.html +0 -15
  36. package/src/gen/_docs/functions/case-files_case-files.api.gen.getCaseFiles.html +0 -63
  37. package/src/gen/_docs/functions/case-files_case-files.msw.api.gen.getCaseFilesMock.html +0 -9
  38. package/src/gen/_docs/functions/case-files_case-files.msw.api.gen.getDeleteFileMockHandler.html +0 -15
  39. package/src/gen/_docs/functions/case-files_case-files.msw.api.gen.getDeleteFileResponseMock.html +0 -15
  40. package/src/gen/_docs/functions/case-files_case-files.msw.api.gen.getListFilesMockHandler.html +0 -15
  41. package/src/gen/_docs/functions/case-files_case-files.msw.api.gen.getListFilesResponseMock.html +0 -15
  42. package/src/gen/_docs/functions/case-links_case-links.api.gen.getCaseLinks.html +0 -187
  43. package/src/gen/_docs/functions/case-links_case-links.msw.api.gen.getCaseLinksMock.html +0 -9
  44. package/src/gen/_docs/functions/case-links_case-links.msw.api.gen.getCreateLinkMockHandler.html +0 -15
  45. package/src/gen/_docs/functions/case-links_case-links.msw.api.gen.getCreateLinkResponseMock.html +0 -15
  46. package/src/gen/_docs/functions/case-links_case-links.msw.api.gen.getDeleteLinkMockHandler.html +0 -15
  47. package/src/gen/_docs/functions/case-links_case-links.msw.api.gen.getDeleteLinkResponseMock.html +0 -15
  48. package/src/gen/_docs/functions/case-links_case-links.msw.api.gen.getListLinksMockHandler.html +0 -15
  49. package/src/gen/_docs/functions/case-links_case-links.msw.api.gen.getListLinksResponseMock.html +0 -15
  50. package/src/gen/_docs/functions/case-links_case-links.msw.api.gen.getLocateLinkMockHandler.html +0 -15
  51. package/src/gen/_docs/functions/case-links_case-links.msw.api.gen.getLocateLinkResponseMock.html +0 -15
  52. package/src/gen/_docs/functions/case-links_case-links.msw.api.gen.getUpdateLink2MockHandler.html +0 -15
  53. package/src/gen/_docs/functions/case-links_case-links.msw.api.gen.getUpdateLink2ResponseMock.html +0 -15
  54. package/src/gen/_docs/functions/case-links_case-links.msw.api.gen.getUpdateLinkMockHandler.html +0 -15
  55. package/src/gen/_docs/functions/case-links_case-links.msw.api.gen.getUpdateLinkResponseMock.html +0 -15
  56. package/src/gen/_docs/functions/case-timeline_case-timeline.api.gen.getCaseTimeline.html +0 -61
  57. package/src/gen/_docs/functions/case-timeline_case-timeline.msw.api.gen.getCaseTimelineMock.html +0 -9
  58. package/src/gen/_docs/functions/case-timeline_case-timeline.msw.api.gen.getGetTimelineCounterMockHandler.html +0 -15
  59. package/src/gen/_docs/functions/case-timeline_case-timeline.msw.api.gen.getGetTimelineCounterResponseMock.html +0 -15
  60. package/src/gen/_docs/functions/case-timeline_case-timeline.msw.api.gen.getGetTimelineMockHandler.html +0 -15
  61. package/src/gen/_docs/functions/case-timeline_case-timeline.msw.api.gen.getGetTimelineResponseMock.html +0 -15
  62. package/src/gen/_docs/functions/cases_cases.api.gen.getCases.html +0 -199
  63. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getCasesMock.html +0 -9
  64. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getCreateCaseMockHandler.html +0 -15
  65. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getCreateCaseResponseMock.html +0 -15
  66. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getDeleteCaseMockHandler.html +0 -15
  67. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getDeleteCaseResponseMock.html +0 -15
  68. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getLocateCaseMockHandler.html +0 -15
  69. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getLocateCaseResponseMock.html +0 -15
  70. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getSearchCases2MockHandler.html +0 -15
  71. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getSearchCases2ResponseMock.html +0 -15
  72. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getSearchCasesMockHandler.html +0 -15
  73. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getSearchCasesResponseMock.html +0 -15
  74. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getUpdateCase2MockHandler.html +0 -15
  75. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getUpdateCase2ResponseMock.html +0 -15
  76. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getUpdateCaseMockHandler.html +0 -15
  77. package/src/gen/_docs/functions/cases_cases.msw.api.gen.getUpdateCaseResponseMock.html +0 -15
  78. package/src/gen/_docs/functions/catalogs_catalogs.api.gen.getCatalogs.html +0 -175
  79. package/src/gen/_docs/functions/catalogs_catalogs.msw.api.gen.getCatalogsMock.html +0 -9
  80. package/src/gen/_docs/functions/catalogs_catalogs.msw.api.gen.getCreateCatalogMockHandler.html +0 -15
  81. package/src/gen/_docs/functions/catalogs_catalogs.msw.api.gen.getCreateCatalogResponseMock.html +0 -15
  82. package/src/gen/_docs/functions/catalogs_catalogs.msw.api.gen.getDeleteCatalogMockHandler.html +0 -15
  83. package/src/gen/_docs/functions/catalogs_catalogs.msw.api.gen.getDeleteCatalogResponseMock.html +0 -15
  84. package/src/gen/_docs/functions/catalogs_catalogs.msw.api.gen.getListCatalogsMockHandler.html +0 -15
  85. package/src/gen/_docs/functions/catalogs_catalogs.msw.api.gen.getListCatalogsResponseMock.html +0 -15
  86. package/src/gen/_docs/functions/catalogs_catalogs.msw.api.gen.getLocateCatalogMockHandler.html +0 -15
  87. package/src/gen/_docs/functions/catalogs_catalogs.msw.api.gen.getLocateCatalogResponseMock.html +0 -15
  88. package/src/gen/_docs/functions/catalogs_catalogs.msw.api.gen.getUpdateCatalog2MockHandler.html +0 -15
  89. package/src/gen/_docs/functions/catalogs_catalogs.msw.api.gen.getUpdateCatalog2ResponseMock.html +0 -15
  90. package/src/gen/_docs/functions/catalogs_catalogs.msw.api.gen.getUpdateCatalogMockHandler.html +0 -15
  91. package/src/gen/_docs/functions/catalogs_catalogs.msw.api.gen.getUpdateCatalogResponseMock.html +0 -15
  92. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.api.gen.getCloseReasonGroups.html +0 -175
  93. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.msw.api.gen.getCloseReasonGroupsMock.html +0 -9
  94. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.msw.api.gen.getCreateCloseReasonGroupMockHandler.html +0 -15
  95. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.msw.api.gen.getCreateCloseReasonGroupResponseMock.html +0 -15
  96. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.msw.api.gen.getDeleteCloseReasonGroupMockHandler.html +0 -15
  97. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.msw.api.gen.getDeleteCloseReasonGroupResponseMock.html +0 -15
  98. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.msw.api.gen.getListCloseReasonGroupsMockHandler.html +0 -15
  99. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.msw.api.gen.getListCloseReasonGroupsResponseMock.html +0 -15
  100. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.msw.api.gen.getLocateCloseReasonGroupMockHandler.html +0 -15
  101. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.msw.api.gen.getLocateCloseReasonGroupResponseMock.html +0 -15
  102. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.msw.api.gen.getUpdateCloseReasonGroup2MockHandler.html +0 -15
  103. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.msw.api.gen.getUpdateCloseReasonGroup2ResponseMock.html +0 -15
  104. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.msw.api.gen.getUpdateCloseReasonGroupMockHandler.html +0 -15
  105. package/src/gen/_docs/functions/close-reason-groups_close-reason-groups.msw.api.gen.getUpdateCloseReasonGroupResponseMock.html +0 -15
  106. package/src/gen/_docs/functions/close-reasons_close-reasons.api.gen.getCloseReasons.html +0 -199
  107. package/src/gen/_docs/functions/close-reasons_close-reasons.msw.api.gen.getCloseReasonsMock.html +0 -9
  108. package/src/gen/_docs/functions/close-reasons_close-reasons.msw.api.gen.getCreateCloseReasonMockHandler.html +0 -15
  109. package/src/gen/_docs/functions/close-reasons_close-reasons.msw.api.gen.getCreateCloseReasonResponseMock.html +0 -15
  110. package/src/gen/_docs/functions/close-reasons_close-reasons.msw.api.gen.getDeleteCloseReasonMockHandler.html +0 -15
  111. package/src/gen/_docs/functions/close-reasons_close-reasons.msw.api.gen.getDeleteCloseReasonResponseMock.html +0 -15
  112. package/src/gen/_docs/functions/close-reasons_close-reasons.msw.api.gen.getListCloseReasonsMockHandler.html +0 -15
  113. package/src/gen/_docs/functions/close-reasons_close-reasons.msw.api.gen.getListCloseReasonsResponseMock.html +0 -15
  114. package/src/gen/_docs/functions/close-reasons_close-reasons.msw.api.gen.getLocateCloseReasonMockHandler.html +0 -15
  115. package/src/gen/_docs/functions/close-reasons_close-reasons.msw.api.gen.getLocateCloseReasonResponseMock.html +0 -15
  116. package/src/gen/_docs/functions/close-reasons_close-reasons.msw.api.gen.getUpdateCloseReason2MockHandler.html +0 -15
  117. package/src/gen/_docs/functions/close-reasons_close-reasons.msw.api.gen.getUpdateCloseReason2ResponseMock.html +0 -15
  118. package/src/gen/_docs/functions/close-reasons_close-reasons.msw.api.gen.getUpdateCloseReasonMockHandler.html +0 -15
  119. package/src/gen/_docs/functions/close-reasons_close-reasons.msw.api.gen.getUpdateCloseReasonResponseMock.html +0 -15
  120. package/src/gen/_docs/functions/priorities_priorities.api.gen.getPriorities.html +0 -175
  121. package/src/gen/_docs/functions/priorities_priorities.msw.api.gen.getCreatePriorityMockHandler.html +0 -15
  122. package/src/gen/_docs/functions/priorities_priorities.msw.api.gen.getCreatePriorityResponseMock.html +0 -15
  123. package/src/gen/_docs/functions/priorities_priorities.msw.api.gen.getDeletePriorityMockHandler.html +0 -15
  124. package/src/gen/_docs/functions/priorities_priorities.msw.api.gen.getDeletePriorityResponseMock.html +0 -15
  125. package/src/gen/_docs/functions/priorities_priorities.msw.api.gen.getListPrioritiesMockHandler.html +0 -15
  126. package/src/gen/_docs/functions/priorities_priorities.msw.api.gen.getListPrioritiesResponseMock.html +0 -15
  127. package/src/gen/_docs/functions/priorities_priorities.msw.api.gen.getLocatePriorityMockHandler.html +0 -15
  128. package/src/gen/_docs/functions/priorities_priorities.msw.api.gen.getLocatePriorityResponseMock.html +0 -15
  129. package/src/gen/_docs/functions/priorities_priorities.msw.api.gen.getPrioritiesMock.html +0 -9
  130. package/src/gen/_docs/functions/priorities_priorities.msw.api.gen.getUpdatePriority2MockHandler.html +0 -15
  131. package/src/gen/_docs/functions/priorities_priorities.msw.api.gen.getUpdatePriority2ResponseMock.html +0 -15
  132. package/src/gen/_docs/functions/priorities_priorities.msw.api.gen.getUpdatePriorityMockHandler.html +0 -15
  133. package/src/gen/_docs/functions/priorities_priorities.msw.api.gen.getUpdatePriorityResponseMock.html +0 -15
  134. package/src/gen/_docs/functions/related-cases_related-cases.api.gen.getRelatedCases.html +0 -187
  135. package/src/gen/_docs/functions/related-cases_related-cases.msw.api.gen.getCreateRelatedCaseMockHandler.html +0 -15
  136. package/src/gen/_docs/functions/related-cases_related-cases.msw.api.gen.getCreateRelatedCaseResponseMock.html +0 -15
  137. package/src/gen/_docs/functions/related-cases_related-cases.msw.api.gen.getDeleteRelatedCaseMockHandler.html +0 -15
  138. package/src/gen/_docs/functions/related-cases_related-cases.msw.api.gen.getDeleteRelatedCaseResponseMock.html +0 -15
  139. package/src/gen/_docs/functions/related-cases_related-cases.msw.api.gen.getListRelatedCasesMockHandler.html +0 -15
  140. package/src/gen/_docs/functions/related-cases_related-cases.msw.api.gen.getListRelatedCasesResponseMock.html +0 -15
  141. package/src/gen/_docs/functions/related-cases_related-cases.msw.api.gen.getLocateRelatedCaseMockHandler.html +0 -15
  142. package/src/gen/_docs/functions/related-cases_related-cases.msw.api.gen.getLocateRelatedCaseResponseMock.html +0 -15
  143. package/src/gen/_docs/functions/related-cases_related-cases.msw.api.gen.getRelatedCasesMock.html +0 -9
  144. package/src/gen/_docs/functions/related-cases_related-cases.msw.api.gen.getUpdateRelatedCase2MockHandler.html +0 -15
  145. package/src/gen/_docs/functions/related-cases_related-cases.msw.api.gen.getUpdateRelatedCase2ResponseMock.html +0 -15
  146. package/src/gen/_docs/functions/related-cases_related-cases.msw.api.gen.getUpdateRelatedCaseMockHandler.html +0 -15
  147. package/src/gen/_docs/functions/related-cases_related-cases.msw.api.gen.getUpdateRelatedCaseResponseMock.html +0 -15
  148. package/src/gen/_docs/functions/services_services.api.gen.getServices.html +0 -175
  149. package/src/gen/_docs/functions/services_services.msw.api.gen.getCreateServiceMockHandler.html +0 -15
  150. package/src/gen/_docs/functions/services_services.msw.api.gen.getCreateServiceResponseMock.html +0 -15
  151. package/src/gen/_docs/functions/services_services.msw.api.gen.getDeleteServiceMockHandler.html +0 -15
  152. package/src/gen/_docs/functions/services_services.msw.api.gen.getDeleteServiceResponseMock.html +0 -15
  153. package/src/gen/_docs/functions/services_services.msw.api.gen.getListServicesMockHandler.html +0 -15
  154. package/src/gen/_docs/functions/services_services.msw.api.gen.getListServicesResponseMock.html +0 -15
  155. package/src/gen/_docs/functions/services_services.msw.api.gen.getLocateServiceMockHandler.html +0 -15
  156. package/src/gen/_docs/functions/services_services.msw.api.gen.getLocateServiceResponseMock.html +0 -15
  157. package/src/gen/_docs/functions/services_services.msw.api.gen.getServicesMock.html +0 -9
  158. package/src/gen/_docs/functions/services_services.msw.api.gen.getUpdateService2MockHandler.html +0 -15
  159. package/src/gen/_docs/functions/services_services.msw.api.gen.getUpdateService2ResponseMock.html +0 -15
  160. package/src/gen/_docs/functions/services_services.msw.api.gen.getUpdateServiceMockHandler.html +0 -15
  161. package/src/gen/_docs/functions/services_services.msw.api.gen.getUpdateServiceResponseMock.html +0 -15
  162. package/src/gen/_docs/functions/slaconditions_slaconditions.api.gen.getSlaconditions.html +0 -199
  163. package/src/gen/_docs/functions/slaconditions_slaconditions.msw.api.gen.getCreateSLAConditionMockHandler.html +0 -15
  164. package/src/gen/_docs/functions/slaconditions_slaconditions.msw.api.gen.getCreateSLAConditionResponseMock.html +0 -15
  165. package/src/gen/_docs/functions/slaconditions_slaconditions.msw.api.gen.getDeleteSLAConditionMockHandler.html +0 -15
  166. package/src/gen/_docs/functions/slaconditions_slaconditions.msw.api.gen.getDeleteSLAConditionResponseMock.html +0 -15
  167. package/src/gen/_docs/functions/slaconditions_slaconditions.msw.api.gen.getListSLAConditionsMockHandler.html +0 -15
  168. package/src/gen/_docs/functions/slaconditions_slaconditions.msw.api.gen.getListSLAConditionsResponseMock.html +0 -15
  169. package/src/gen/_docs/functions/slaconditions_slaconditions.msw.api.gen.getLocateSLAConditionMockHandler.html +0 -15
  170. package/src/gen/_docs/functions/slaconditions_slaconditions.msw.api.gen.getLocateSLAConditionResponseMock.html +0 -15
  171. package/src/gen/_docs/functions/slaconditions_slaconditions.msw.api.gen.getSlaconditionsMock.html +0 -9
  172. package/src/gen/_docs/functions/slaconditions_slaconditions.msw.api.gen.getUpdateSLACondition2MockHandler.html +0 -15
  173. package/src/gen/_docs/functions/slaconditions_slaconditions.msw.api.gen.getUpdateSLACondition2ResponseMock.html +0 -15
  174. package/src/gen/_docs/functions/slaconditions_slaconditions.msw.api.gen.getUpdateSLAConditionMockHandler.html +0 -15
  175. package/src/gen/_docs/functions/slaconditions_slaconditions.msw.api.gen.getUpdateSLAConditionResponseMock.html +0 -15
  176. package/src/gen/_docs/functions/slas_slas.api.gen.getSlas.html +0 -175
  177. package/src/gen/_docs/functions/slas_slas.msw.api.gen.getCreateSLAMockHandler.html +0 -15
  178. package/src/gen/_docs/functions/slas_slas.msw.api.gen.getCreateSLAResponseMock.html +0 -15
  179. package/src/gen/_docs/functions/slas_slas.msw.api.gen.getDeleteSLAMockHandler.html +0 -15
  180. package/src/gen/_docs/functions/slas_slas.msw.api.gen.getDeleteSLAResponseMock.html +0 -15
  181. package/src/gen/_docs/functions/slas_slas.msw.api.gen.getListSLAsMockHandler.html +0 -15
  182. package/src/gen/_docs/functions/slas_slas.msw.api.gen.getListSLAsResponseMock.html +0 -15
  183. package/src/gen/_docs/functions/slas_slas.msw.api.gen.getLocateSLAMockHandler.html +0 -15
  184. package/src/gen/_docs/functions/slas_slas.msw.api.gen.getLocateSLAResponseMock.html +0 -15
  185. package/src/gen/_docs/functions/slas_slas.msw.api.gen.getSlasMock.html +0 -9
  186. package/src/gen/_docs/functions/slas_slas.msw.api.gen.getUpdateSLA2MockHandler.html +0 -15
  187. package/src/gen/_docs/functions/slas_slas.msw.api.gen.getUpdateSLA2ResponseMock.html +0 -15
  188. package/src/gen/_docs/functions/slas_slas.msw.api.gen.getUpdateSLAMockHandler.html +0 -15
  189. package/src/gen/_docs/functions/slas_slas.msw.api.gen.getUpdateSLAResponseMock.html +0 -15
  190. package/src/gen/_docs/functions/sources_sources.api.gen.getSources.html +0 -175
  191. package/src/gen/_docs/functions/sources_sources.msw.api.gen.getCreateSourceMockHandler.html +0 -15
  192. package/src/gen/_docs/functions/sources_sources.msw.api.gen.getCreateSourceResponseMock.html +0 -15
  193. package/src/gen/_docs/functions/sources_sources.msw.api.gen.getDeleteSourceMockHandler.html +0 -15
  194. package/src/gen/_docs/functions/sources_sources.msw.api.gen.getDeleteSourceResponseMock.html +0 -15
  195. package/src/gen/_docs/functions/sources_sources.msw.api.gen.getListSourcesMockHandler.html +0 -15
  196. package/src/gen/_docs/functions/sources_sources.msw.api.gen.getListSourcesResponseMock.html +0 -15
  197. package/src/gen/_docs/functions/sources_sources.msw.api.gen.getLocateSourceMockHandler.html +0 -15
  198. package/src/gen/_docs/functions/sources_sources.msw.api.gen.getLocateSourceResponseMock.html +0 -15
  199. package/src/gen/_docs/functions/sources_sources.msw.api.gen.getSourcesMock.html +0 -9
  200. package/src/gen/_docs/functions/sources_sources.msw.api.gen.getUpdateSource2MockHandler.html +0 -15
  201. package/src/gen/_docs/functions/sources_sources.msw.api.gen.getUpdateSource2ResponseMock.html +0 -15
  202. package/src/gen/_docs/functions/sources_sources.msw.api.gen.getUpdateSourceMockHandler.html +0 -15
  203. package/src/gen/_docs/functions/sources_sources.msw.api.gen.getUpdateSourceResponseMock.html +0 -15
  204. package/src/gen/_docs/functions/status-conditions_status-conditions.api.gen.getStatusConditions.html +0 -199
  205. package/src/gen/_docs/functions/status-conditions_status-conditions.msw.api.gen.getCreateStatusConditionMockHandler.html +0 -15
  206. package/src/gen/_docs/functions/status-conditions_status-conditions.msw.api.gen.getCreateStatusConditionResponseMock.html +0 -15
  207. package/src/gen/_docs/functions/status-conditions_status-conditions.msw.api.gen.getDeleteStatusConditionMockHandler.html +0 -15
  208. package/src/gen/_docs/functions/status-conditions_status-conditions.msw.api.gen.getDeleteStatusConditionResponseMock.html +0 -15
  209. package/src/gen/_docs/functions/status-conditions_status-conditions.msw.api.gen.getListStatusConditionsMockHandler.html +0 -15
  210. package/src/gen/_docs/functions/status-conditions_status-conditions.msw.api.gen.getListStatusConditionsResponseMock.html +0 -15
  211. package/src/gen/_docs/functions/status-conditions_status-conditions.msw.api.gen.getLocateStatusConditionMockHandler.html +0 -15
  212. package/src/gen/_docs/functions/status-conditions_status-conditions.msw.api.gen.getLocateStatusConditionResponseMock.html +0 -15
  213. package/src/gen/_docs/functions/status-conditions_status-conditions.msw.api.gen.getStatusConditionsMock.html +0 -9
  214. package/src/gen/_docs/functions/status-conditions_status-conditions.msw.api.gen.getUpdateStatusCondition2MockHandler.html +0 -15
  215. package/src/gen/_docs/functions/status-conditions_status-conditions.msw.api.gen.getUpdateStatusCondition2ResponseMock.html +0 -15
  216. package/src/gen/_docs/functions/status-conditions_status-conditions.msw.api.gen.getUpdateStatusConditionMockHandler.html +0 -15
  217. package/src/gen/_docs/functions/status-conditions_status-conditions.msw.api.gen.getUpdateStatusConditionResponseMock.html +0 -15
  218. package/src/gen/_docs/functions/statuses_statuses.api.gen.getStatuses.html +0 -175
  219. package/src/gen/_docs/functions/statuses_statuses.msw.api.gen.getCreateStatusMockHandler.html +0 -15
  220. package/src/gen/_docs/functions/statuses_statuses.msw.api.gen.getCreateStatusResponseMock.html +0 -15
  221. package/src/gen/_docs/functions/statuses_statuses.msw.api.gen.getDeleteStatusMockHandler.html +0 -15
  222. package/src/gen/_docs/functions/statuses_statuses.msw.api.gen.getDeleteStatusResponseMock.html +0 -15
  223. package/src/gen/_docs/functions/statuses_statuses.msw.api.gen.getListStatusesMockHandler.html +0 -15
  224. package/src/gen/_docs/functions/statuses_statuses.msw.api.gen.getListStatusesResponseMock.html +0 -15
  225. package/src/gen/_docs/functions/statuses_statuses.msw.api.gen.getLocateStatusMockHandler.html +0 -15
  226. package/src/gen/_docs/functions/statuses_statuses.msw.api.gen.getLocateStatusResponseMock.html +0 -15
  227. package/src/gen/_docs/functions/statuses_statuses.msw.api.gen.getStatusesMock.html +0 -9
  228. package/src/gen/_docs/functions/statuses_statuses.msw.api.gen.getUpdateStatus2MockHandler.html +0 -15
  229. package/src/gen/_docs/functions/statuses_statuses.msw.api.gen.getUpdateStatus2ResponseMock.html +0 -15
  230. package/src/gen/_docs/functions/statuses_statuses.msw.api.gen.getUpdateStatusMockHandler.html +0 -15
  231. package/src/gen/_docs/functions/statuses_statuses.msw.api.gen.getUpdateStatusResponseMock.html +0 -15
  232. package/src/gen/_docs/hierarchy.html +0 -3
  233. package/src/gen/_docs/index.html +0 -40
  234. package/src/gen/_docs/interfaces/_models.CasesAttachment.html +0 -38
  235. package/src/gen/_docs/interfaces/_models.CasesCallEvent.html +0 -81
  236. package/src/gen/_docs/interfaces/_models.CasesCallFile.html +0 -44
  237. package/src/gen/_docs/interfaces/_models.CasesCase.html +0 -275
  238. package/src/gen/_docs/interfaces/_models.CasesCaseComment.html +0 -105
  239. package/src/gen/_docs/interfaces/_models.CasesCaseCommentList.html +0 -29
  240. package/src/gen/_docs/interfaces/_models.CasesCaseCommunication.html +0 -45
  241. package/src/gen/_docs/interfaces/_models.CasesCaseFileList.html +0 -29
  242. package/src/gen/_docs/interfaces/_models.CasesCaseLink.html +0 -63
  243. package/src/gen/_docs/interfaces/_models.CasesCaseLinkList.html +0 -21
  244. package/src/gen/_docs/interfaces/_models.CasesCaseList.html +0 -29
  245. package/src/gen/_docs/interfaces/_models.CasesCatalog.html +0 -105
  246. package/src/gen/_docs/interfaces/_models.CasesCatalogList.html +0 -21
  247. package/src/gen/_docs/interfaces/_models.CasesChatEvent.html +0 -63
  248. package/src/gen/_docs/interfaces/_models.CasesCloseInfo.html +0 -21
  249. package/src/gen/_docs/interfaces/_models.CasesCloseReason.html +0 -51
  250. package/src/gen/_docs/interfaces/_models.CasesCloseReasonGroup.html +0 -45
  251. package/src/gen/_docs/interfaces/_models.CasesCloseReasonGroupList.html +0 -21
  252. package/src/gen/_docs/interfaces/_models.CasesCloseReasonList.html +0 -21
  253. package/src/gen/_docs/interfaces/_models.CasesCreateCaseCloseInput.html +0 -21
  254. package/src/gen/_docs/interfaces/_models.CasesCreateCaseRelatedCaseInput.html +0 -29
  255. package/src/gen/_docs/interfaces/_models.CasesCreateInputRelatedCase.html +0 -21
  256. package/src/gen/_docs/interfaces/_models.CasesDayTimeline.html +0 -33
  257. package/src/gen/_docs/interfaces/_models.CasesEmailEvent.html +0 -81
  258. package/src/gen/_docs/interfaces/_models.CasesEvent.html +0 -33
  259. package/src/gen/_docs/interfaces/_models.CasesFile.html +0 -65
  260. package/src/gen/_docs/interfaces/_models.CasesGetTimelineCounterResponse.html +0 -38
  261. package/src/gen/_docs/interfaces/_models.CasesGetTimelineResponse.html +0 -21
  262. package/src/gen/_docs/interfaces/_models.CasesInputCase.html +0 -99
  263. package/src/gen/_docs/interfaces/_models.CasesInputCaseComment.html +0 -21
  264. package/src/gen/_docs/interfaces/_models.CasesInputCaseCommunication.html +0 -21
  265. package/src/gen/_docs/interfaces/_models.CasesInputCaseLink.html +0 -26
  266. package/src/gen/_docs/interfaces/_models.CasesInputCatalog.html +0 -63
  267. package/src/gen/_docs/interfaces/_models.CasesInputCloseReason.html +0 -20
  268. package/src/gen/_docs/interfaces/_models.CasesInputCloseReasonGroup.html +0 -20
  269. package/src/gen/_docs/interfaces/_models.CasesInputCreateCase.html +0 -133
  270. package/src/gen/_docs/interfaces/_models.CasesInputCreateService.html +0 -57
  271. package/src/gen/_docs/interfaces/_models.CasesInputCreateStatusCondition.html +0 -20
  272. package/src/gen/_docs/interfaces/_models.CasesInputPriority.html +0 -26
  273. package/src/gen/_docs/interfaces/_models.CasesInputRelatedCase.html +0 -29
  274. package/src/gen/_docs/interfaces/_models.CasesInputSLA.html +0 -45
  275. package/src/gen/_docs/interfaces/_models.CasesInputSLACondition.html +0 -27
  276. package/src/gen/_docs/interfaces/_models.CasesInputService.html +0 -57
  277. package/src/gen/_docs/interfaces/_models.CasesInputSource.html +0 -27
  278. package/src/gen/_docs/interfaces/_models.CasesInputStatus.html +0 -20
  279. package/src/gen/_docs/interfaces/_models.CasesInputStatusCondition.html +0 -32
  280. package/src/gen/_docs/interfaces/_models.CasesLinkCommunicationResponse.html +0 -13
  281. package/src/gen/_docs/interfaces/_models.CasesListCommunicationsResponse.html +0 -27
  282. package/src/gen/_docs/interfaces/_models.CasesLocateCatalogResponse.html +0 -9
  283. package/src/gen/_docs/interfaces/_models.CasesLocateCloseReasonGroupResponse.html +0 -9
  284. package/src/gen/_docs/interfaces/_models.CasesLocateCloseReasonResponse.html +0 -9
  285. package/src/gen/_docs/interfaces/_models.CasesLocatePriorityResponse.html +0 -9
  286. package/src/gen/_docs/interfaces/_models.CasesLocateSLAConditionResponse.html +0 -9
  287. package/src/gen/_docs/interfaces/_models.CasesLocateSLAResponse.html +0 -9
  288. package/src/gen/_docs/interfaces/_models.CasesLocateServiceResponse.html +0 -9
  289. package/src/gen/_docs/interfaces/_models.CasesLocateSourceResponse.html +0 -13
  290. package/src/gen/_docs/interfaces/_models.CasesLocateStatusConditionResponse.html +0 -9
  291. package/src/gen/_docs/interfaces/_models.CasesLocateStatusResponse.html +0 -9
  292. package/src/gen/_docs/interfaces/_models.CasesPriority.html +0 -51
  293. package/src/gen/_docs/interfaces/_models.CasesPriorityList.html +0 -21
  294. package/src/gen/_docs/interfaces/_models.CasesRateInfo.html +0 -21
  295. package/src/gen/_docs/interfaces/_models.CasesRelatedCase.html +0 -85
  296. package/src/gen/_docs/interfaces/_models.CasesRelatedCaseList.html +0 -29
  297. package/src/gen/_docs/interfaces/_models.CasesRelatedCaseLookup.html +0 -41
  298. package/src/gen/_docs/interfaces/_models.CasesSLA.html +0 -75
  299. package/src/gen/_docs/interfaces/_models.CasesSLACondition.html +0 -63
  300. package/src/gen/_docs/interfaces/_models.CasesSLAConditionList.html +0 -21
  301. package/src/gen/_docs/interfaces/_models.CasesSLAList.html +0 -21
  302. package/src/gen/_docs/interfaces/_models.CasesService.html +0 -99
  303. package/src/gen/_docs/interfaces/_models.CasesServiceList.html +0 -21
  304. package/src/gen/_docs/interfaces/_models.CasesSource.html +0 -63
  305. package/src/gen/_docs/interfaces/_models.CasesSourceList.html +0 -29
  306. package/src/gen/_docs/interfaces/_models.CasesSourceTypeLookup.html +0 -21
  307. package/src/gen/_docs/interfaces/_models.CasesStatusCondition.html +0 -63
  308. package/src/gen/_docs/interfaces/_models.CasesStatusConditionList.html +0 -21
  309. package/src/gen/_docs/interfaces/_models.CasesStatusList.html +0 -21
  310. package/src/gen/_docs/interfaces/_models.CasesTimingInfo.html +0 -37
  311. package/src/gen/_docs/interfaces/_models.CasesTranscriptLookup.html +0 -21
  312. package/src/gen/_docs/interfaces/_models.CasesUnlinkCommunicationResponse.html +0 -13
  313. package/src/gen/_docs/interfaces/_models.GeneralExtendedLookup.html +0 -26
  314. package/src/gen/_docs/interfaces/_models.GeneralLookup.html +0 -20
  315. package/src/gen/_docs/interfaces/_models.GooglerpcStatus.html +0 -21
  316. package/src/gen/_docs/interfaces/_models.ProtobufAny.html +0 -18
  317. package/src/gen/_docs/interfaces/_models.WebitelcasesStatus.html +0 -45
  318. package/src/gen/_docs/modules/_models.html +0 -211
  319. package/src/gen/_docs/modules/case-comments_case-comments.api.gen.html +0 -16
  320. package/src/gen/_docs/modules/case-comments_case-comments.msw.api.gen.html +0 -19
  321. package/src/gen/_docs/modules/case-communications_case-communications.api.gen.html +0 -13
  322. package/src/gen/_docs/modules/case-communications_case-communications.msw.api.gen.html +0 -13
  323. package/src/gen/_docs/modules/case-files_case-files.api.gen.html +0 -12
  324. package/src/gen/_docs/modules/case-files_case-files.msw.api.gen.html +0 -11
  325. package/src/gen/_docs/modules/case-links_case-links.api.gen.html +0 -16
  326. package/src/gen/_docs/modules/case-links_case-links.msw.api.gen.html +0 -19
  327. package/src/gen/_docs/modules/case-timeline_case-timeline.api.gen.html +0 -12
  328. package/src/gen/_docs/modules/case-timeline_case-timeline.msw.api.gen.html +0 -11
  329. package/src/gen/_docs/modules/cases_cases.api.gen.html +0 -17
  330. package/src/gen/_docs/modules/cases_cases.msw.api.gen.html +0 -21
  331. package/src/gen/_docs/modules/catalogs_catalogs.api.gen.html +0 -16
  332. package/src/gen/_docs/modules/catalogs_catalogs.msw.api.gen.html +0 -19
  333. package/src/gen/_docs/modules/close-reason-groups_close-reason-groups.api.gen.html +0 -16
  334. package/src/gen/_docs/modules/close-reason-groups_close-reason-groups.msw.api.gen.html +0 -19
  335. package/src/gen/_docs/modules/close-reasons_close-reasons.api.gen.html +0 -16
  336. package/src/gen/_docs/modules/close-reasons_close-reasons.msw.api.gen.html +0 -19
  337. package/src/gen/_docs/modules/index.html +0 -3021
  338. package/src/gen/_docs/modules/priorities_priorities.api.gen.html +0 -16
  339. package/src/gen/_docs/modules/priorities_priorities.msw.api.gen.html +0 -19
  340. package/src/gen/_docs/modules/related-cases_related-cases.api.gen.html +0 -16
  341. package/src/gen/_docs/modules/related-cases_related-cases.msw.api.gen.html +0 -19
  342. package/src/gen/_docs/modules/services_services.api.gen.html +0 -16
  343. package/src/gen/_docs/modules/services_services.msw.api.gen.html +0 -19
  344. package/src/gen/_docs/modules/slaconditions_slaconditions.api.gen.html +0 -16
  345. package/src/gen/_docs/modules/slaconditions_slaconditions.msw.api.gen.html +0 -19
  346. package/src/gen/_docs/modules/slas_slas.api.gen.html +0 -16
  347. package/src/gen/_docs/modules/slas_slas.msw.api.gen.html +0 -19
  348. package/src/gen/_docs/modules/sources_sources.api.gen.html +0 -16
  349. package/src/gen/_docs/modules/sources_sources.msw.api.gen.html +0 -19
  350. package/src/gen/_docs/modules/status-conditions_status-conditions.api.gen.html +0 -16
  351. package/src/gen/_docs/modules/status-conditions_status-conditions.msw.api.gen.html +0 -19
  352. package/src/gen/_docs/modules/statuses_statuses.api.gen.html +0 -16
  353. package/src/gen/_docs/modules/statuses_statuses.msw.api.gen.html +0 -19
  354. package/src/gen/_docs/types/_models.CasesCaseCommunicationsTypes.html +0 -12
  355. package/src/gen/_docs/types/_models.CasesCaseTimelineEventType.html +0 -10
  356. package/src/gen/_docs/types/_models.CasesInputCatalogBody.html +0 -7
  357. package/src/gen/_docs/types/_models.CasesInputCloseReasonBody.html +0 -5
  358. package/src/gen/_docs/types/_models.CasesInputCloseReasonGroupBody.html +0 -5
  359. package/src/gen/_docs/types/_models.CasesInputPriorityBody.html +0 -5
  360. package/src/gen/_docs/types/_models.CasesInputSLABody.html +0 -5
  361. package/src/gen/_docs/types/_models.CasesInputSLAConditionBody.html +0 -5
  362. package/src/gen/_docs/types/_models.CasesInputServiceBody.html +0 -7
  363. package/src/gen/_docs/types/_models.CasesInputSourceBody.html +0 -5
  364. package/src/gen/_docs/types/_models.CasesInputStatusBody.html +0 -5
  365. package/src/gen/_docs/types/_models.CasesInputStatusConditionBody.html +0 -5
  366. package/src/gen/_docs/types/_models.CasesRelationType.html +0 -7
  367. package/src/gen/_docs/types/_models.CasesSourceType.html +0 -15
  368. package/src/gen/_docs/types/_models.CreateCaseParams.html +0 -18
  369. package/src/gen/_docs/types/_models.CreateCatalogParams.html +0 -16
  370. package/src/gen/_docs/types/_models.CreateCloseReasonGroupParams.html +0 -18
  371. package/src/gen/_docs/types/_models.CreateCloseReasonParams.html +0 -18
  372. package/src/gen/_docs/types/_models.CreateLinkParams.html +0 -36
  373. package/src/gen/_docs/types/_models.CreatePriorityParams.html +0 -18
  374. package/src/gen/_docs/types/_models.CreateRelatedCaseParams.html +0 -18
  375. package/src/gen/_docs/types/_models.CreateSLAConditionParams.html +0 -16
  376. package/src/gen/_docs/types/_models.CreateSLAParams.html +0 -18
  377. package/src/gen/_docs/types/_models.CreateServiceParams.html +0 -16
  378. package/src/gen/_docs/types/_models.CreateSourceParams.html +0 -16
  379. package/src/gen/_docs/types/_models.CreateStatusConditionParams.html +0 -16
  380. package/src/gen/_docs/types/_models.CreateStatusParams.html +0 -18
  381. package/src/gen/_docs/types/_models.DeleteCaseParams.html +0 -18
  382. package/src/gen/_docs/types/_models.DeleteCommentParams.html +0 -18
  383. package/src/gen/_docs/types/_models.GetTimelineParams.html +0 -59
  384. package/src/gen/_docs/types/_models.GetTimelineTypeItem.html +0 -10
  385. package/src/gen/_docs/types/_models.LinkCommunicationParams.html +0 -18
  386. package/src/gen/_docs/types/_models.ListCatalogsParams.html +0 -103
  387. package/src/gen/_docs/types/_models.ListCloseReasonGroupsParams.html +0 -46
  388. package/src/gen/_docs/types/_models.ListCloseReasonsParams.html +0 -59
  389. package/src/gen/_docs/types/_models.ListCommentsParams.html +0 -58
  390. package/src/gen/_docs/types/_models.ListCommunicationsParams.html +0 -50
  391. package/src/gen/_docs/types/_models.ListFilesParams.html +0 -58
  392. package/src/gen/_docs/types/_models.ListLinksParams.html +0 -46
  393. package/src/gen/_docs/types/_models.ListPrioritiesParams.html +0 -77
  394. package/src/gen/_docs/types/_models.ListRelatedCasesParams.html +0 -58
  395. package/src/gen/_docs/types/_models.ListSLAConditionsParams.html +0 -77
  396. package/src/gen/_docs/types/_models.ListSLAsParams.html +0 -61
  397. package/src/gen/_docs/types/_models.ListServicesParams.html +0 -77
  398. package/src/gen/_docs/types/_models.ListSourcesParams.html +0 -72
  399. package/src/gen/_docs/types/_models.ListSourcesTypeItem.html +0 -10
  400. package/src/gen/_docs/types/_models.ListStatusConditionsParams.html +0 -61
  401. package/src/gen/_docs/types/_models.ListStatusesParams.html +0 -61
  402. package/src/gen/_docs/types/_models.LocateCaseParams.html +0 -18
  403. package/src/gen/_docs/types/_models.LocateCatalogParams.html +0 -30
  404. package/src/gen/_docs/types/_models.LocateCloseReasonGroupParams.html +0 -16
  405. package/src/gen/_docs/types/_models.LocateCloseReasonParams.html +0 -16
  406. package/src/gen/_docs/types/_models.LocateCommentParams.html +0 -18
  407. package/src/gen/_docs/types/_models.LocateLinkParams.html +0 -16
  408. package/src/gen/_docs/types/_models.LocatePriorityParams.html +0 -18
  409. package/src/gen/_docs/types/_models.LocateRelatedCaseParams.html +0 -18
  410. package/src/gen/_docs/types/_models.LocateSLAConditionParams.html +0 -18
  411. package/src/gen/_docs/types/_models.LocateSLAParams.html +0 -16
  412. package/src/gen/_docs/types/_models.LocateServiceParams.html +0 -18
  413. package/src/gen/_docs/types/_models.LocateSourceParams.html +0 -18
  414. package/src/gen/_docs/types/_models.LocateStatusConditionParams.html +0 -18
  415. package/src/gen/_docs/types/_models.LocateStatusParams.html +0 -16
  416. package/src/gen/_docs/types/_models.PublishCommentParams.html +0 -18
  417. package/src/gen/_docs/types/_models.SearchCases2Params.html +0 -66
  418. package/src/gen/_docs/types/_models.SearchCasesParams.html +0 -74
  419. package/src/gen/_docs/types/_models.UnlinkCommunicationParams.html +0 -18
  420. package/src/gen/_docs/types/_models.UpdateCase2Body.html +0 -95
  421. package/src/gen/_docs/types/_models.UpdateCase2Params.html +0 -26
  422. package/src/gen/_docs/types/_models.UpdateCaseBody.html +0 -95
  423. package/src/gen/_docs/types/_models.UpdateCaseInputBody.html +0 -95
  424. package/src/gen/_docs/types/_models.UpdateCaseParams.html +0 -26
  425. package/src/gen/_docs/types/_models.UpdateCatalog2Params.html +0 -16
  426. package/src/gen/_docs/types/_models.UpdateCatalogParams.html +0 -16
  427. package/src/gen/_docs/types/_models.UpdateCloseReason2Params.html +0 -18
  428. package/src/gen/_docs/types/_models.UpdateCloseReasonGroup2Params.html +0 -18
  429. package/src/gen/_docs/types/_models.UpdateCloseReasonGroupParams.html +0 -18
  430. package/src/gen/_docs/types/_models.UpdateCloseReasonParams.html +0 -18
  431. package/src/gen/_docs/types/_models.UpdateComment2Body.html +0 -18
  432. package/src/gen/_docs/types/_models.UpdateComment2Params.html +0 -18
  433. package/src/gen/_docs/types/_models.UpdateCommentBody.html +0 -18
  434. package/src/gen/_docs/types/_models.UpdateCommentInputBody.html +0 -18
  435. package/src/gen/_docs/types/_models.UpdateCommentParams.html +0 -18
  436. package/src/gen/_docs/types/_models.UpdateLink2Body.html +0 -22
  437. package/src/gen/_docs/types/_models.UpdateLink2Params.html +0 -18
  438. package/src/gen/_docs/types/_models.UpdateLinkBody.html +0 -22
  439. package/src/gen/_docs/types/_models.UpdateLinkInputBody.html +0 -22
  440. package/src/gen/_docs/types/_models.UpdateLinkParams.html +0 -18
  441. package/src/gen/_docs/types/_models.UpdatePriority2Params.html +0 -18
  442. package/src/gen/_docs/types/_models.UpdatePriorityParams.html +0 -18
  443. package/src/gen/_docs/types/_models.UpdateRelatedCase2Body.html +0 -29
  444. package/src/gen/_docs/types/_models.UpdateRelatedCase2BodyPrimaryCase.html +0 -13
  445. package/src/gen/_docs/types/_models.UpdateRelatedCase2Params.html +0 -18
  446. package/src/gen/_docs/types/_models.UpdateRelatedCaseBody.html +0 -29
  447. package/src/gen/_docs/types/_models.UpdateRelatedCaseBodyPrimaryCase.html +0 -13
  448. package/src/gen/_docs/types/_models.UpdateRelatedCaseInputBody.html +0 -29
  449. package/src/gen/_docs/types/_models.UpdateRelatedCaseInputBodyPrimaryCase.html +0 -13
  450. package/src/gen/_docs/types/_models.UpdateRelatedCaseParams.html +0 -18
  451. package/src/gen/_docs/types/_models.UpdateSLA2Params.html +0 -18
  452. package/src/gen/_docs/types/_models.UpdateSLACondition2Params.html +0 -16
  453. package/src/gen/_docs/types/_models.UpdateSLAConditionParams.html +0 -16
  454. package/src/gen/_docs/types/_models.UpdateSLAParams.html +0 -18
  455. package/src/gen/_docs/types/_models.UpdateService2Params.html +0 -16
  456. package/src/gen/_docs/types/_models.UpdateServiceParams.html +0 -16
  457. package/src/gen/_docs/types/_models.UpdateSource2Params.html +0 -16
  458. package/src/gen/_docs/types/_models.UpdateSourceParams.html +0 -16
  459. package/src/gen/_docs/types/_models.UpdateStatus2Params.html +0 -18
  460. package/src/gen/_docs/types/_models.UpdateStatusCondition2Params.html +0 -16
  461. package/src/gen/_docs/types/_models.UpdateStatusConditionParams.html +0 -16
  462. package/src/gen/_docs/types/_models.UpdateStatusParams.html +0 -18
  463. package/src/gen/_docs/types/case-comments_case-comments.api.gen.DeleteCommentResult.html +0 -5
  464. package/src/gen/_docs/types/case-comments_case-comments.api.gen.ListCommentsResult.html +0 -5
  465. package/src/gen/_docs/types/case-comments_case-comments.api.gen.LocateCommentResult.html +0 -5
  466. package/src/gen/_docs/types/case-comments_case-comments.api.gen.PublishCommentResult.html +0 -5
  467. package/src/gen/_docs/types/case-comments_case-comments.api.gen.UpdateComment2Result.html +0 -5
  468. package/src/gen/_docs/types/case-comments_case-comments.api.gen.UpdateCommentResult.html +0 -5
  469. package/src/gen/_docs/types/case-communications_case-communications.api.gen.LinkCommunicationResult.html +0 -5
  470. package/src/gen/_docs/types/case-communications_case-communications.api.gen.ListCommunicationsResult.html +0 -5
  471. package/src/gen/_docs/types/case-communications_case-communications.api.gen.UnlinkCommunicationResult.html +0 -5
  472. package/src/gen/_docs/types/case-files_case-files.api.gen.DeleteFileResult.html +0 -5
  473. package/src/gen/_docs/types/case-files_case-files.api.gen.ListFilesResult.html +0 -5
  474. package/src/gen/_docs/types/case-links_case-links.api.gen.CreateLinkResult.html +0 -5
  475. package/src/gen/_docs/types/case-links_case-links.api.gen.DeleteLinkResult.html +0 -5
  476. package/src/gen/_docs/types/case-links_case-links.api.gen.ListLinksResult.html +0 -5
  477. package/src/gen/_docs/types/case-links_case-links.api.gen.LocateLinkResult.html +0 -5
  478. package/src/gen/_docs/types/case-links_case-links.api.gen.UpdateLink2Result.html +0 -5
  479. package/src/gen/_docs/types/case-links_case-links.api.gen.UpdateLinkResult.html +0 -5
  480. package/src/gen/_docs/types/case-timeline_case-timeline.api.gen.GetTimelineCounterResult.html +0 -5
  481. package/src/gen/_docs/types/case-timeline_case-timeline.api.gen.GetTimelineResult.html +0 -5
  482. package/src/gen/_docs/types/cases_cases.api.gen.CreateCaseResult.html +0 -5
  483. package/src/gen/_docs/types/cases_cases.api.gen.DeleteCaseResult.html +0 -5
  484. package/src/gen/_docs/types/cases_cases.api.gen.LocateCaseResult.html +0 -5
  485. package/src/gen/_docs/types/cases_cases.api.gen.SearchCases2Result.html +0 -5
  486. package/src/gen/_docs/types/cases_cases.api.gen.SearchCasesResult.html +0 -5
  487. package/src/gen/_docs/types/cases_cases.api.gen.UpdateCase2Result.html +0 -5
  488. package/src/gen/_docs/types/cases_cases.api.gen.UpdateCaseResult.html +0 -5
  489. package/src/gen/_docs/types/catalogs_catalogs.api.gen.CreateCatalogResult.html +0 -5
  490. package/src/gen/_docs/types/catalogs_catalogs.api.gen.DeleteCatalogResult.html +0 -5
  491. package/src/gen/_docs/types/catalogs_catalogs.api.gen.ListCatalogsResult.html +0 -5
  492. package/src/gen/_docs/types/catalogs_catalogs.api.gen.LocateCatalogResult.html +0 -5
  493. package/src/gen/_docs/types/catalogs_catalogs.api.gen.UpdateCatalog2Result.html +0 -5
  494. package/src/gen/_docs/types/catalogs_catalogs.api.gen.UpdateCatalogResult.html +0 -5
  495. package/src/gen/_docs/types/close-reason-groups_close-reason-groups.api.gen.CreateCloseReasonGroupResult.html +0 -5
  496. package/src/gen/_docs/types/close-reason-groups_close-reason-groups.api.gen.DeleteCloseReasonGroupResult.html +0 -5
  497. package/src/gen/_docs/types/close-reason-groups_close-reason-groups.api.gen.ListCloseReasonGroupsResult.html +0 -5
  498. package/src/gen/_docs/types/close-reason-groups_close-reason-groups.api.gen.LocateCloseReasonGroupResult.html +0 -5
  499. package/src/gen/_docs/types/close-reason-groups_close-reason-groups.api.gen.UpdateCloseReasonGroup2Result.html +0 -5
  500. package/src/gen/_docs/types/close-reason-groups_close-reason-groups.api.gen.UpdateCloseReasonGroupResult.html +0 -5
  501. package/src/gen/_docs/types/close-reasons_close-reasons.api.gen.CreateCloseReasonResult.html +0 -5
  502. package/src/gen/_docs/types/close-reasons_close-reasons.api.gen.DeleteCloseReasonResult.html +0 -5
  503. package/src/gen/_docs/types/close-reasons_close-reasons.api.gen.ListCloseReasonsResult.html +0 -5
  504. package/src/gen/_docs/types/close-reasons_close-reasons.api.gen.LocateCloseReasonResult.html +0 -5
  505. package/src/gen/_docs/types/close-reasons_close-reasons.api.gen.UpdateCloseReason2Result.html +0 -5
  506. package/src/gen/_docs/types/close-reasons_close-reasons.api.gen.UpdateCloseReasonResult.html +0 -5
  507. package/src/gen/_docs/types/priorities_priorities.api.gen.CreatePriorityResult.html +0 -5
  508. package/src/gen/_docs/types/priorities_priorities.api.gen.DeletePriorityResult.html +0 -5
  509. package/src/gen/_docs/types/priorities_priorities.api.gen.ListPrioritiesResult.html +0 -5
  510. package/src/gen/_docs/types/priorities_priorities.api.gen.LocatePriorityResult.html +0 -5
  511. package/src/gen/_docs/types/priorities_priorities.api.gen.UpdatePriority2Result.html +0 -5
  512. package/src/gen/_docs/types/priorities_priorities.api.gen.UpdatePriorityResult.html +0 -5
  513. package/src/gen/_docs/types/related-cases_related-cases.api.gen.CreateRelatedCaseResult.html +0 -5
  514. package/src/gen/_docs/types/related-cases_related-cases.api.gen.DeleteRelatedCaseResult.html +0 -5
  515. package/src/gen/_docs/types/related-cases_related-cases.api.gen.ListRelatedCasesResult.html +0 -5
  516. package/src/gen/_docs/types/related-cases_related-cases.api.gen.LocateRelatedCaseResult.html +0 -5
  517. package/src/gen/_docs/types/related-cases_related-cases.api.gen.UpdateRelatedCase2Result.html +0 -5
  518. package/src/gen/_docs/types/related-cases_related-cases.api.gen.UpdateRelatedCaseResult.html +0 -5
  519. package/src/gen/_docs/types/services_services.api.gen.CreateServiceResult.html +0 -5
  520. package/src/gen/_docs/types/services_services.api.gen.DeleteServiceResult.html +0 -5
  521. package/src/gen/_docs/types/services_services.api.gen.ListServicesResult.html +0 -5
  522. package/src/gen/_docs/types/services_services.api.gen.LocateServiceResult.html +0 -5
  523. package/src/gen/_docs/types/services_services.api.gen.UpdateService2Result.html +0 -5
  524. package/src/gen/_docs/types/services_services.api.gen.UpdateServiceResult.html +0 -5
  525. package/src/gen/_docs/types/slaconditions_slaconditions.api.gen.CreateSLAConditionResult.html +0 -5
  526. package/src/gen/_docs/types/slaconditions_slaconditions.api.gen.DeleteSLAConditionResult.html +0 -5
  527. package/src/gen/_docs/types/slaconditions_slaconditions.api.gen.ListSLAConditionsResult.html +0 -5
  528. package/src/gen/_docs/types/slaconditions_slaconditions.api.gen.LocateSLAConditionResult.html +0 -5
  529. package/src/gen/_docs/types/slaconditions_slaconditions.api.gen.UpdateSLACondition2Result.html +0 -5
  530. package/src/gen/_docs/types/slaconditions_slaconditions.api.gen.UpdateSLAConditionResult.html +0 -5
  531. package/src/gen/_docs/types/slas_slas.api.gen.CreateSLAResult.html +0 -5
  532. package/src/gen/_docs/types/slas_slas.api.gen.DeleteSLAResult.html +0 -5
  533. package/src/gen/_docs/types/slas_slas.api.gen.ListSLAsResult.html +0 -5
  534. package/src/gen/_docs/types/slas_slas.api.gen.LocateSLAResult.html +0 -5
  535. package/src/gen/_docs/types/slas_slas.api.gen.UpdateSLA2Result.html +0 -5
  536. package/src/gen/_docs/types/slas_slas.api.gen.UpdateSLAResult.html +0 -5
  537. package/src/gen/_docs/types/sources_sources.api.gen.CreateSourceResult.html +0 -5
  538. package/src/gen/_docs/types/sources_sources.api.gen.DeleteSourceResult.html +0 -5
  539. package/src/gen/_docs/types/sources_sources.api.gen.ListSourcesResult.html +0 -5
  540. package/src/gen/_docs/types/sources_sources.api.gen.LocateSourceResult.html +0 -5
  541. package/src/gen/_docs/types/sources_sources.api.gen.UpdateSource2Result.html +0 -5
  542. package/src/gen/_docs/types/sources_sources.api.gen.UpdateSourceResult.html +0 -5
  543. package/src/gen/_docs/types/status-conditions_status-conditions.api.gen.CreateStatusConditionResult.html +0 -5
  544. package/src/gen/_docs/types/status-conditions_status-conditions.api.gen.DeleteStatusConditionResult.html +0 -5
  545. package/src/gen/_docs/types/status-conditions_status-conditions.api.gen.ListStatusConditionsResult.html +0 -5
  546. package/src/gen/_docs/types/status-conditions_status-conditions.api.gen.LocateStatusConditionResult.html +0 -5
  547. package/src/gen/_docs/types/status-conditions_status-conditions.api.gen.UpdateStatusCondition2Result.html +0 -5
  548. package/src/gen/_docs/types/status-conditions_status-conditions.api.gen.UpdateStatusConditionResult.html +0 -5
  549. package/src/gen/_docs/types/statuses_statuses.api.gen.CreateStatusResult.html +0 -5
  550. package/src/gen/_docs/types/statuses_statuses.api.gen.DeleteStatusResult.html +0 -5
  551. package/src/gen/_docs/types/statuses_statuses.api.gen.ListStatusesResult.html +0 -5
  552. package/src/gen/_docs/types/statuses_statuses.api.gen.LocateStatusResult.html +0 -5
  553. package/src/gen/_docs/types/statuses_statuses.api.gen.UpdateStatus2Result.html +0 -5
  554. package/src/gen/_docs/types/statuses_statuses.api.gen.UpdateStatusResult.html +0 -5
  555. package/src/gen/_docs/variables/_models.CasesCaseCommunicationsTypes.html +0 -23
  556. package/src/gen/_docs/variables/_models.CasesCaseTimelineEventType.html +0 -19
  557. package/src/gen/_docs/variables/_models.CasesRelationType.html +0 -47
  558. package/src/gen/_docs/variables/_models.CasesSourceType.html +0 -35
  559. package/src/gen/_docs/variables/_models.GetTimelineTypeItem.html +0 -19
  560. package/src/gen/_docs/variables/_models.ListSourcesTypeItem.html +0 -35
  561. package/src/gen/_models/casesAttachment.ts +0 -14
  562. package/src/gen/_models/casesCallEvent.ts +0 -25
  563. package/src/gen/_models/casesCallFile.ts +0 -15
  564. package/src/gen/_models/casesCase.ts +0 -91
  565. package/src/gen/_models/casesCaseComment.ts +0 -37
  566. package/src/gen/_models/casesCaseCommentList.ts +0 -19
  567. package/src/gen/_models/casesCaseCommunication.ts +0 -23
  568. package/src/gen/_models/casesCaseCommunicationsTypes.ts +0 -25
  569. package/src/gen/_models/casesCaseFileList.ts +0 -19
  570. package/src/gen/_models/casesCaseLink.ts +0 -20
  571. package/src/gen/_models/casesCaseLinkList.ts +0 -13
  572. package/src/gen/_models/casesCaseList.ts +0 -19
  573. package/src/gen/_models/casesCaseTimelineEventType.ts +0 -16
  574. package/src/gen/_models/casesCatalog.ts +0 -28
  575. package/src/gen/_models/casesCatalogList.ts +0 -13
  576. package/src/gen/_models/casesChatEvent.ts +0 -21
  577. package/src/gen/_models/casesCloseInfo.ts +0 -17
  578. package/src/gen/_models/casesCloseReason.ts +0 -18
  579. package/src/gen/_models/casesCloseReasonGroup.ts +0 -17
  580. package/src/gen/_models/casesCloseReasonGroupList.ts +0 -13
  581. package/src/gen/_models/casesCloseReasonList.ts +0 -13
  582. package/src/gen/_models/casesCreateCaseCloseInput.ts +0 -17
  583. package/src/gen/_models/casesCreateCaseRelatedCaseInput.ts +0 -19
  584. package/src/gen/_models/casesCreateInputRelatedCase.ts +0 -18
  585. package/src/gen/_models/casesDayTimeline.ts +0 -15
  586. package/src/gen/_models/casesEmailEvent.ts +0 -24
  587. package/src/gen/_models/casesEvent.ts +0 -18
  588. package/src/gen/_models/casesFile.ts +0 -27
  589. package/src/gen/_models/casesGetTimelineCounterResponse.ts +0 -14
  590. package/src/gen/_models/casesGetTimelineResponse.ts +0 -13
  591. package/src/gen/_models/casesInputCase.ts +0 -29
  592. package/src/gen/_models/casesInputCaseComment.ts +0 -16
  593. package/src/gen/_models/casesInputCaseCommunication.ts +0 -17
  594. package/src/gen/_models/casesInputCaseLink.ts +0 -12
  595. package/src/gen/_models/casesInputCatalog.ts +0 -20
  596. package/src/gen/_models/casesInputCatalogBody.ts +0 -12
  597. package/src/gen/_models/casesInputCloseReason.ts +0 -11
  598. package/src/gen/_models/casesInputCloseReasonBody.ts +0 -9
  599. package/src/gen/_models/casesInputCloseReasonGroup.ts +0 -11
  600. package/src/gen/_models/casesInputCloseReasonGroupBody.ts +0 -9
  601. package/src/gen/_models/casesInputCreateCase.ts +0 -49
  602. package/src/gen/_models/casesInputCreateService.ts +0 -20
  603. package/src/gen/_models/casesInputCreateStatusCondition.ts +0 -11
  604. package/src/gen/_models/casesInputPriority.ts +0 -12
  605. package/src/gen/_models/casesInputPriorityBody.ts +0 -9
  606. package/src/gen/_models/casesInputRelatedCase.ts +0 -20
  607. package/src/gen/_models/casesInputSLA.ts +0 -17
  608. package/src/gen/_models/casesInputSLABody.ts +0 -9
  609. package/src/gen/_models/casesInputSLACondition.ts +0 -14
  610. package/src/gen/_models/casesInputSLAConditionBody.ts +0 -9
  611. package/src/gen/_models/casesInputService.ts +0 -20
  612. package/src/gen/_models/casesInputServiceBody.ts +0 -12
  613. package/src/gen/_models/casesInputSource.ts +0 -16
  614. package/src/gen/_models/casesInputSourceBody.ts +0 -9
  615. package/src/gen/_models/casesInputStatus.ts +0 -11
  616. package/src/gen/_models/casesInputStatusBody.ts +0 -9
  617. package/src/gen/_models/casesInputStatusCondition.ts +0 -13
  618. package/src/gen/_models/casesInputStatusConditionBody.ts +0 -9
  619. package/src/gen/_models/casesLinkCommunicationResponse.ts +0 -15
  620. package/src/gen/_models/casesListCommunicationsResponse.ts +0 -18
  621. package/src/gen/_models/casesLocateCatalogResponse.ts +0 -11
  622. package/src/gen/_models/casesLocateCloseReasonGroupResponse.ts +0 -11
  623. package/src/gen/_models/casesLocateCloseReasonResponse.ts +0 -11
  624. package/src/gen/_models/casesLocatePriorityResponse.ts +0 -11
  625. package/src/gen/_models/casesLocateSLAConditionResponse.ts +0 -11
  626. package/src/gen/_models/casesLocateSLAResponse.ts +0 -11
  627. package/src/gen/_models/casesLocateServiceResponse.ts +0 -11
  628. package/src/gen/_models/casesLocateSourceResponse.ts +0 -15
  629. package/src/gen/_models/casesLocateStatusConditionResponse.ts +0 -11
  630. package/src/gen/_models/casesLocateStatusResponse.ts +0 -11
  631. package/src/gen/_models/casesPriority.ts +0 -18
  632. package/src/gen/_models/casesPriorityList.ts +0 -13
  633. package/src/gen/_models/casesRateInfo.ts +0 -16
  634. package/src/gen/_models/casesRelatedCase.ts +0 -35
  635. package/src/gen/_models/casesRelatedCaseList.ts +0 -19
  636. package/src/gen/_models/casesRelatedCaseLookup.ts +0 -18
  637. package/src/gen/_models/casesRelationType.ts +0 -26
  638. package/src/gen/_models/casesSLA.ts +0 -22
  639. package/src/gen/_models/casesSLACondition.ts +0 -20
  640. package/src/gen/_models/casesSLAConditionList.ts +0 -13
  641. package/src/gen/_models/casesSLAList.ts +0 -13
  642. package/src/gen/_models/casesService.ts +0 -27
  643. package/src/gen/_models/casesServiceList.ts +0 -13
  644. package/src/gen/_models/casesSource.ts +0 -27
  645. package/src/gen/_models/casesSourceList.ts +0 -19
  646. package/src/gen/_models/casesSourceType.ts +0 -31
  647. package/src/gen/_models/casesSourceTypeLookup.ts +0 -13
  648. package/src/gen/_models/casesStatusCondition.ts +0 -20
  649. package/src/gen/_models/casesStatusConditionList.ts +0 -13
  650. package/src/gen/_models/casesStatusList.ts +0 -13
  651. package/src/gen/_models/casesTimingInfo.ts +0 -20
  652. package/src/gen/_models/casesTranscriptLookup.ts +0 -13
  653. package/src/gen/_models/casesUnlinkCommunicationResponse.ts +0 -14
  654. package/src/gen/_models/createCaseParams.ts +0 -13
  655. package/src/gen/_models/createCatalogParams.ts +0 -10
  656. package/src/gen/_models/createCloseReasonGroupParams.ts +0 -13
  657. package/src/gen/_models/createCloseReasonParams.ts +0 -13
  658. package/src/gen/_models/createLinkParams.ts +0 -16
  659. package/src/gen/_models/createPriorityParams.ts +0 -13
  660. package/src/gen/_models/createRelatedCaseParams.ts +0 -13
  661. package/src/gen/_models/createSLAConditionParams.ts +0 -10
  662. package/src/gen/_models/createSLAParams.ts +0 -13
  663. package/src/gen/_models/createServiceParams.ts +0 -10
  664. package/src/gen/_models/createSourceParams.ts +0 -10
  665. package/src/gen/_models/createStatusConditionParams.ts +0 -10
  666. package/src/gen/_models/createStatusParams.ts +0 -13
  667. package/src/gen/_models/deleteCaseParams.ts +0 -13
  668. package/src/gen/_models/deleteCommentParams.ts +0 -13
  669. package/src/gen/_models/generalExtendedLookup.ts +0 -12
  670. package/src/gen/_models/generalLookup.ts +0 -11
  671. package/src/gen/_models/getTimelineParams.ts +0 -19
  672. package/src/gen/_models/getTimelineTypeItem.ts +0 -16
  673. package/src/gen/_models/googlerpcStatus.ts +0 -13
  674. package/src/gen/_models/index.ts +0 -200
  675. package/src/gen/_models/linkCommunicationParams.ts +0 -13
  676. package/src/gen/_models/listCatalogsParams.ts +0 -62
  677. package/src/gen/_models/listCloseReasonGroupsParams.ts +0 -15
  678. package/src/gen/_models/listCloseReasonsParams.ts +0 -33
  679. package/src/gen/_models/listCommentsParams.ts +0 -33
  680. package/src/gen/_models/listCommunicationsParams.ts +0 -29
  681. package/src/gen/_models/listFilesParams.ts +0 -33
  682. package/src/gen/_models/listLinksParams.ts +0 -15
  683. package/src/gen/_models/listPrioritiesParams.ts +0 -44
  684. package/src/gen/_models/listRelatedCasesParams.ts +0 -33
  685. package/src/gen/_models/listSLAConditionsParams.ts +0 -44
  686. package/src/gen/_models/listSLAsParams.ts +0 -36
  687. package/src/gen/_models/listServicesParams.ts +0 -44
  688. package/src/gen/_models/listSourcesParams.ts +0 -49
  689. package/src/gen/_models/listSourcesTypeItem.ts +0 -20
  690. package/src/gen/_models/listStatusConditionsParams.ts +0 -36
  691. package/src/gen/_models/listStatusesParams.ts +0 -36
  692. package/src/gen/_models/locateCaseParams.ts +0 -13
  693. package/src/gen/_models/locateCatalogParams.ts +0 -21
  694. package/src/gen/_models/locateCloseReasonGroupParams.ts +0 -10
  695. package/src/gen/_models/locateCloseReasonParams.ts +0 -10
  696. package/src/gen/_models/locateCommentParams.ts +0 -13
  697. package/src/gen/_models/locateLinkParams.ts +0 -10
  698. package/src/gen/_models/locatePriorityParams.ts +0 -13
  699. package/src/gen/_models/locateRelatedCaseParams.ts +0 -13
  700. package/src/gen/_models/locateSLAConditionParams.ts +0 -13
  701. package/src/gen/_models/locateSLAParams.ts +0 -10
  702. package/src/gen/_models/locateServiceParams.ts +0 -13
  703. package/src/gen/_models/locateSourceParams.ts +0 -13
  704. package/src/gen/_models/locateStatusConditionParams.ts +0 -13
  705. package/src/gen/_models/locateStatusParams.ts +0 -10
  706. package/src/gen/_models/protobufAny.ts +0 -11
  707. package/src/gen/_models/publishCommentParams.ts +0 -13
  708. package/src/gen/_models/searchCases2Params.ts +0 -37
  709. package/src/gen/_models/searchCasesParams.ts +0 -41
  710. package/src/gen/_models/unlinkCommunicationParams.ts +0 -13
  711. package/src/gen/_models/updateCase2Body.ts +0 -28
  712. package/src/gen/_models/updateCase2Params.ts +0 -17
  713. package/src/gen/_models/updateCaseBody.ts +0 -28
  714. package/src/gen/_models/updateCaseInputBody.ts +0 -28
  715. package/src/gen/_models/updateCaseParams.ts +0 -17
  716. package/src/gen/_models/updateCatalog2Params.ts +0 -10
  717. package/src/gen/_models/updateCatalogParams.ts +0 -10
  718. package/src/gen/_models/updateCloseReason2Params.ts +0 -13
  719. package/src/gen/_models/updateCloseReasonGroup2Params.ts +0 -13
  720. package/src/gen/_models/updateCloseReasonGroupParams.ts +0 -13
  721. package/src/gen/_models/updateCloseReasonParams.ts +0 -13
  722. package/src/gen/_models/updateComment2Body.ts +0 -11
  723. package/src/gen/_models/updateComment2Params.ts +0 -13
  724. package/src/gen/_models/updateCommentBody.ts +0 -11
  725. package/src/gen/_models/updateCommentInputBody.ts +0 -11
  726. package/src/gen/_models/updateCommentParams.ts +0 -13
  727. package/src/gen/_models/updateLink2Body.ts +0 -11
  728. package/src/gen/_models/updateLink2Params.ts +0 -13
  729. package/src/gen/_models/updateLinkBody.ts +0 -11
  730. package/src/gen/_models/updateLinkInputBody.ts +0 -11
  731. package/src/gen/_models/updateLinkParams.ts +0 -13
  732. package/src/gen/_models/updatePriority2Params.ts +0 -13
  733. package/src/gen/_models/updatePriorityParams.ts +0 -13
  734. package/src/gen/_models/updateRelatedCase2Body.ts +0 -18
  735. package/src/gen/_models/updateRelatedCase2BodyPrimaryCase.ts +0 -13
  736. package/src/gen/_models/updateRelatedCase2Params.ts +0 -13
  737. package/src/gen/_models/updateRelatedCaseBody.ts +0 -18
  738. package/src/gen/_models/updateRelatedCaseBodyPrimaryCase.ts +0 -13
  739. package/src/gen/_models/updateRelatedCaseInputBody.ts +0 -18
  740. package/src/gen/_models/updateRelatedCaseInputBodyPrimaryCase.ts +0 -13
  741. package/src/gen/_models/updateRelatedCaseParams.ts +0 -13
  742. package/src/gen/_models/updateSLA2Params.ts +0 -13
  743. package/src/gen/_models/updateSLACondition2Params.ts +0 -10
  744. package/src/gen/_models/updateSLAConditionParams.ts +0 -10
  745. package/src/gen/_models/updateSLAParams.ts +0 -13
  746. package/src/gen/_models/updateService2Params.ts +0 -10
  747. package/src/gen/_models/updateServiceParams.ts +0 -10
  748. package/src/gen/_models/updateSource2Params.ts +0 -10
  749. package/src/gen/_models/updateSourceParams.ts +0 -10
  750. package/src/gen/_models/updateStatus2Params.ts +0 -13
  751. package/src/gen/_models/updateStatusCondition2Params.ts +0 -10
  752. package/src/gen/_models/updateStatusConditionParams.ts +0 -10
  753. package/src/gen/_models/updateStatusParams.ts +0 -13
  754. package/src/gen/_models/webitelcasesStatus.ts +0 -17
  755. package/src/gen/case-comments/case-comments.api.gen.ts +0 -134
  756. package/src/gen/case-comments/case-comments.msw.api.gen.ts +0 -575
  757. package/src/gen/case-comments/case-comments.zod.gen.ts +0 -476
  758. package/src/gen/case-communications/case-communications.api.gen.ts +0 -92
  759. package/src/gen/case-communications/case-communications.msw.api.gen.ts +0 -173
  760. package/src/gen/case-communications/case-communications.zod.gen.ts +0 -177
  761. package/src/gen/case-files/case-files.api.gen.ts +0 -55
  762. package/src/gen/case-files/case-files.msw.api.gen.ts +0 -156
  763. package/src/gen/case-files/case-files.zod.gen.ts +0 -102
  764. package/src/gen/case-links/case-links.api.gen.ts +0 -120
  765. package/src/gen/case-links/case-links.msw.api.gen.ts +0 -500
  766. package/src/gen/case-links/case-links.zod.gen.ts +0 -255
  767. package/src/gen/case-timeline/case-timeline.api.gen.ts +0 -51
  768. package/src/gen/case-timeline/case-timeline.msw.api.gen.ts +0 -494
  769. package/src/gen/case-timeline/case-timeline.zod.gen.ts +0 -199
  770. package/src/gen/cases/cases.api.gen.ts +0 -144
  771. package/src/gen/cases/cases.msw.api.gen.ts +0 -5076
  772. package/src/gen/cases/cases.zod.gen.ts +0 -3969
  773. package/src/gen/catalogs/catalogs.api.gen.ts +0 -124
  774. package/src/gen/catalogs/catalogs.msw.api.gen.ts +0 -1419
  775. package/src/gen/catalogs/catalogs.zod.gen.ts +0 -895
  776. package/src/gen/close-reason-groups/close-reason-groups.api.gen.ts +0 -152
  777. package/src/gen/close-reason-groups/close-reason-groups.msw.api.gen.ts +0 -427
  778. package/src/gen/close-reason-groups/close-reason-groups.zod.gen.ts +0 -222
  779. package/src/gen/close-reasons/close-reasons.api.gen.ts +0 -154
  780. package/src/gen/close-reasons/close-reasons.msw.api.gen.ts +0 -469
  781. package/src/gen/close-reasons/close-reasons.zod.gen.ts +0 -257
  782. package/src/gen/index.ts +0 -52
  783. package/src/gen/priorities/priorities.api.gen.ts +0 -127
  784. package/src/gen/priorities/priorities.msw.api.gen.ts +0 -431
  785. package/src/gen/priorities/priorities.zod.gen.ts +0 -261
  786. package/src/gen/related-cases/related-cases.api.gen.ts +0 -140
  787. package/src/gen/related-cases/related-cases.msw.api.gen.ts +0 -675
  788. package/src/gen/related-cases/related-cases.zod.gen.ts +0 -698
  789. package/src/gen/services/services.api.gen.ts +0 -125
  790. package/src/gen/services/services.msw.api.gen.ts +0 -978
  791. package/src/gen/services/services.zod.gen.ts +0 -465
  792. package/src/gen/slaconditions/slaconditions.api.gen.ts +0 -145
  793. package/src/gen/slaconditions/slaconditions.msw.api.gen.ts +0 -565
  794. package/src/gen/slaconditions/slaconditions.zod.gen.ts +0 -337
  795. package/src/gen/slas/slas.api.gen.ts +0 -125
  796. package/src/gen/slas/slas.msw.api.gen.ts +0 -581
  797. package/src/gen/slas/slas.zod.gen.ts +0 -329
  798. package/src/gen/sources/sources.api.gen.ts +0 -125
  799. package/src/gen/sources/sources.msw.api.gen.ts +0 -450
  800. package/src/gen/sources/sources.zod.gen.ts +0 -463
  801. package/src/gen/status-conditions/status-conditions.api.gen.ts +0 -157
  802. package/src/gen/status-conditions/status-conditions.msw.api.gen.ts +0 -469
  803. package/src/gen/status-conditions/status-conditions.zod.gen.ts +0 -267
  804. package/src/gen/statuses/statuses.api.gen.ts +0 -125
  805. package/src/gen/statuses/statuses.msw.api.gen.ts +0 -425
  806. package/src/gen/statuses/statuses.zod.gen.ts +0 -239
  807. /package/src/utils/{index.ts → gen/index.ts} +0 -0
@@ -1,3969 +0,0 @@
1
- /**
2
- * Generated by orval v7.9.0 🍺
3
- * Do not edit manually.
4
- * service.proto
5
- * OpenAPI spec version: version not set
6
- */
7
- import { z as zod } from 'zod';
8
-
9
- /**
10
- * @summary RPC method for searching cases.
11
- */
12
- export const searchCasesQueryParams = zod.object({
13
- page: zod.number().optional().describe('Page number for pagination.'),
14
- size: zod.number().optional().describe('Number of results per page.'),
15
- q: zod.string().optional().describe('Query string for searching cases.'),
16
- ids: zod
17
- .array(zod.string())
18
- .optional()
19
- .describe('List of specific case IDs to retrieve.'),
20
- sort: zod.string().optional().describe('Sorting criteria (e.g., field:asc).'),
21
- fields: zod
22
- .array(zod.string())
23
- .optional()
24
- .describe('List of fields to include in the response.'),
25
- filters: zod
26
- .array(zod.string())
27
- .optional()
28
- .describe('Key-value pairs for additional filtering.'),
29
- contactId: zod
30
- .string()
31
- .optional()
32
- .describe('Contact ID for filtering cases.'),
33
- });
34
-
35
- export const searchCasesResponseItemsItemRelatedDataItemRelationTypeDefault =
36
- 'RELATION_TYPE_UNSPECIFIED';
37
- export const searchCasesResponseItemsItemSourceTypeDefault = 'TYPE_UNSPECIFIED';
38
-
39
- export const searchCasesResponse = zod
40
- .object({
41
- items: zod
42
- .array(
43
- zod
44
- .object({
45
- assignee: zod
46
- .object({
47
- id: zod.string().optional(),
48
- name: zod.string().optional(),
49
- })
50
- .optional(),
51
- author: zod
52
- .object({
53
- id: zod.string().optional(),
54
- name: zod.string().optional(),
55
- })
56
- .optional(),
57
- close: zod
58
- .object({
59
- closeReason: zod
60
- .object({
61
- id: zod.string().optional(),
62
- name: zod.string().optional(),
63
- })
64
- .optional(),
65
- closeResult: zod
66
- .string()
67
- .optional()
68
- .describe('Result or reason for closing the case.'),
69
- })
70
- .optional()
71
- .describe('Message representing close information for a case.'),
72
- closeReasonGroup: zod
73
- .object({
74
- id: zod.string().optional(),
75
- name: zod.string().optional(),
76
- })
77
- .optional(),
78
- comments: zod
79
- .object({
80
- items: zod
81
- .array(
82
- zod
83
- .object({
84
- author: zod
85
- .object({
86
- id: zod.string().optional(),
87
- name: zod.string().optional(),
88
- })
89
- .optional(),
90
- canEdit: zod
91
- .boolean()
92
- .optional()
93
- .describe(
94
- 'Indicates if the comment can be edited by current user.',
95
- ),
96
- caseId: zod
97
- .string()
98
- .optional()
99
- .describe(
100
- 'Optional relation to the associated case.',
101
- ),
102
- createdAt: zod
103
- .string()
104
- .optional()
105
- .describe(
106
- 'Timestamp (in milliseconds) of when the comment was created.',
107
- ),
108
- createdBy: zod
109
- .object({
110
- id: zod.string().optional(),
111
- name: zod.string().optional(),
112
- })
113
- .optional(),
114
- edited: zod
115
- .boolean()
116
- .optional()
117
- .describe(
118
- 'Indicates if the comment was edited; true if created_at < updated_at.',
119
- ),
120
- etag: zod.string().optional(),
121
- id: zod
122
- .string()
123
- .optional()
124
- .describe(
125
- 'Main identifier for read, update, and delete operations.',
126
- ),
127
- roleIds: zod.array(zod.string()).optional(),
128
- text: zod
129
- .string()
130
- .optional()
131
- .describe('The content of the comment.'),
132
- updatedAt: zod
133
- .string()
134
- .optional()
135
- .describe(
136
- 'Timestamp (in milliseconds) of the last update.',
137
- ),
138
- updatedBy: zod
139
- .object({
140
- id: zod.string().optional(),
141
- name: zod.string().optional(),
142
- })
143
- .optional(),
144
- ver: zod
145
- .number()
146
- .optional()
147
- .describe(
148
- 'Version number of the comment, used for concurrency control.',
149
- ),
150
- })
151
- .describe('Represents a comment associated with a case.'),
152
- )
153
- .optional()
154
- .describe('List of comments on the current page.'),
155
- next: zod
156
- .boolean()
157
- .optional()
158
- .describe('Flag to indicate if more pages are available.'),
159
- page: zod.string().optional().describe('Current page number.'),
160
- })
161
- .optional()
162
- .describe('Contains a paginated list of comments.'),
163
- contactInfo: zod
164
- .string()
165
- .optional()
166
- .describe('Contact information for the case.'),
167
- createdAt: zod
168
- .string()
169
- .optional()
170
- .describe(
171
- 'Creation timestamp (in milliseconds since Unix epoch).',
172
- ),
173
- createdBy: zod
174
- .object({
175
- id: zod.string().optional(),
176
- name: zod.string().optional(),
177
- })
178
- .optional(),
179
- description: zod
180
- .string()
181
- .optional()
182
- .describe('Detailed description of the case.'),
183
- etag: zod.string().optional().describe('Unique etag identifier.'),
184
- files: zod
185
- .object({
186
- items: zod
187
- .array(
188
- zod
189
- .object({
190
- author: zod
191
- .object({
192
- id: zod.string().optional(),
193
- name: zod.string().optional(),
194
- })
195
- .optional(),
196
- createdAt: zod
197
- .string()
198
- .optional()
199
- .describe('Creation timestamp in Unix milliseconds.'),
200
- createdBy: zod
201
- .object({
202
- id: zod.string().optional(),
203
- name: zod.string().optional(),
204
- })
205
- .optional(),
206
- id: zod
207
- .string()
208
- .optional()
209
- .describe('Storage file ID.'),
210
- mime: zod
211
- .string()
212
- .optional()
213
- .describe('MIME type of the file.'),
214
- name: zod.string().optional().describe('File name.'),
215
- size: zod
216
- .string()
217
- .optional()
218
- .describe('File size in bytes.'),
219
- url: zod.string().optional(),
220
- })
221
- .describe('Metadata for a file associated with a case.'),
222
- )
223
- .optional()
224
- .describe('List of case files.'),
225
- next: zod
226
- .boolean()
227
- .optional()
228
- .describe('Indicator if there is a next page.'),
229
- page: zod.string().optional().describe('Current page number.'),
230
- })
231
- .optional()
232
- .describe('Contains a list of case files with pagination.'),
233
- group: zod
234
- .object({
235
- id: zod.string().optional(),
236
- name: zod.string().optional(),
237
- type: zod.string().optional(),
238
- })
239
- .optional(),
240
- id: zod.string().optional().describe('Unique case ID.'),
241
- impacted: zod
242
- .object({
243
- id: zod.string().optional(),
244
- name: zod.string().optional(),
245
- })
246
- .optional(),
247
- links: zod
248
- .object({
249
- items: zod
250
- .array(
251
- zod.object({
252
- author: zod
253
- .object({
254
- id: zod.string().optional(),
255
- name: zod.string().optional(),
256
- })
257
- .optional(),
258
- createdAt: zod.string().optional(),
259
- createdBy: zod
260
- .object({
261
- id: zod.string().optional(),
262
- name: zod.string().optional(),
263
- })
264
- .optional(),
265
- etag: zod.string().optional(),
266
- id: zod.string().optional(),
267
- name: zod.string().optional(),
268
- updatedAt: zod.string().optional(),
269
- updatedBy: zod
270
- .object({
271
- id: zod.string().optional(),
272
- name: zod.string().optional(),
273
- })
274
- .optional(),
275
- url: zod.string().optional(),
276
- ver: zod.number().optional(),
277
- }),
278
- )
279
- .optional(),
280
- next: zod.boolean().optional(),
281
- page: zod.string().optional(),
282
- })
283
- .optional(),
284
- name: zod
285
- .string()
286
- .optional()
287
- .describe('Name of the case (may serve as an ID in docs).'),
288
- plannedReactionAt: zod
289
- .string()
290
- .optional()
291
- .describe('Planned reaction time (in milliseconds).'),
292
- plannedResolveAt: zod
293
- .string()
294
- .optional()
295
- .describe('Planned resolution time (in milliseconds).'),
296
- priority: zod
297
- .object({
298
- color: zod.string().optional(),
299
- createdAt: zod.string().optional(),
300
- createdBy: zod
301
- .object({
302
- id: zod.string().optional(),
303
- name: zod.string().optional(),
304
- })
305
- .optional(),
306
- description: zod.string().optional(),
307
- id: zod.string().optional(),
308
- name: zod.string().optional(),
309
- updatedAt: zod.string().optional(),
310
- updatedBy: zod
311
- .object({
312
- id: zod.string().optional(),
313
- name: zod.string().optional(),
314
- })
315
- .optional(),
316
- })
317
- .optional(),
318
- rate: zod
319
- .object({
320
- rating: zod.string().optional().describe('Rating value.'),
321
- ratingComment: zod
322
- .string()
323
- .optional()
324
- .describe('Optional comment for the rating.'),
325
- })
326
- .optional()
327
- .describe('Message representing rating information.'),
328
- related: zod
329
- .object({
330
- data: zod
331
- .array(
332
- zod
333
- .object({
334
- createdAt: zod
335
- .string()
336
- .optional()
337
- .describe(
338
- 'Timestamp (in milliseconds) of when the relation was created.',
339
- ),
340
- createdBy: zod
341
- .object({
342
- id: zod.string().optional(),
343
- name: zod.string().optional(),
344
- })
345
- .optional(),
346
- etag: zod
347
- .string()
348
- .optional()
349
- .describe('Etag for the related case entity.'),
350
- id: zod
351
- .string()
352
- .optional()
353
- .describe('Unique identifier for the related case.'),
354
- primaryCase: zod
355
- .object({
356
- color: zod.string().optional(),
357
- etag: zod.string().optional(),
358
- id: zod.string().optional(),
359
- name: zod.string().optional(),
360
- subject: zod.string().optional(),
361
- ver: zod.number().optional(),
362
- })
363
- .optional()
364
- .describe(
365
- 'RelatedCaseLookup is created specifically to include the subject field.',
366
- ),
367
- relatedCase: zod
368
- .object({
369
- color: zod.string().optional(),
370
- etag: zod.string().optional(),
371
- id: zod.string().optional(),
372
- name: zod.string().optional(),
373
- subject: zod.string().optional(),
374
- ver: zod.number().optional(),
375
- })
376
- .optional()
377
- .describe(
378
- 'RelatedCaseLookup is created specifically to include the subject field.',
379
- ),
380
- relationType: zod
381
- .enum([
382
- 'RELATION_TYPE_UNSPECIFIED',
383
- 'DUPLICATES',
384
- 'IS_DUPLICATED_BY',
385
- 'BLOCKS',
386
- 'IS_BLOCKED_BY',
387
- 'CAUSES',
388
- 'IS_CAUSED_BY',
389
- 'IS_CHILD_OF',
390
- 'IS_PARENT_OF',
391
- 'RELATES_TO',
392
- ])
393
- .default(
394
- searchCasesResponseItemsItemRelatedDataItemRelationTypeDefault,
395
- )
396
- .describe('Enum for relation types between cases.'),
397
- updatedAt: zod
398
- .string()
399
- .optional()
400
- .describe(
401
- 'Timestamp (in milliseconds) of the last update.',
402
- ),
403
- updatedBy: zod
404
- .object({
405
- id: zod.string().optional(),
406
- name: zod.string().optional(),
407
- })
408
- .optional(),
409
- ver: zod
410
- .number()
411
- .optional()
412
- .describe(
413
- 'Version number of the related case, used for concurrency control.',
414
- ),
415
- })
416
- .describe(
417
- 'Represents a related case with its relationship details.',
418
- ),
419
- )
420
- .optional()
421
- .describe('List of related cases on the current page.'),
422
- next: zod
423
- .boolean()
424
- .optional()
425
- .describe('Flag to indicate if more pages are available.'),
426
- page: zod.string().optional().describe('Current page number.'),
427
- })
428
- .optional()
429
- .describe('Paginated list of related cases.'),
430
- reporter: zod
431
- .object({
432
- id: zod.string().optional(),
433
- name: zod.string().optional(),
434
- })
435
- .optional(),
436
- roleIds: zod.array(zod.string()).optional(),
437
- service: zod
438
- .object({
439
- id: zod.string().optional(),
440
- name: zod.string().optional(),
441
- })
442
- .optional(),
443
- sla: zod
444
- .object({
445
- id: zod.string().optional(),
446
- name: zod.string().optional(),
447
- })
448
- .optional(),
449
- slaCondition: zod
450
- .object({
451
- id: zod.string().optional(),
452
- name: zod.string().optional(),
453
- })
454
- .optional(),
455
- source: zod
456
- .object({
457
- id: zod.string().optional(),
458
- name: zod.string().optional(),
459
- type: zod
460
- .enum([
461
- 'TYPE_UNSPECIFIED',
462
- 'CALL',
463
- 'CHAT',
464
- 'SOCIAL_MEDIA',
465
- 'EMAIL',
466
- 'API',
467
- 'MANUAL',
468
- ])
469
- .default(searchCasesResponseItemsItemSourceTypeDefault)
470
- .describe(
471
- 'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
472
- ),
473
- })
474
- .optional(),
475
- status: zod
476
- .object({
477
- id: zod.string().optional(),
478
- name: zod.string().optional(),
479
- })
480
- .optional(),
481
- statusCondition: zod
482
- .object({
483
- createdAt: zod.string().optional(),
484
- createdBy: zod
485
- .object({
486
- id: zod.string().optional(),
487
- name: zod.string().optional(),
488
- })
489
- .optional(),
490
- description: zod.string().optional(),
491
- final: zod.boolean().optional(),
492
- id: zod.string().optional(),
493
- initial: zod.boolean().optional(),
494
- name: zod.string().optional(),
495
- statusId: zod.string().optional(),
496
- updatedAt: zod.string().optional(),
497
- updatedBy: zod
498
- .object({
499
- id: zod.string().optional(),
500
- name: zod.string().optional(),
501
- })
502
- .optional(),
503
- })
504
- .optional(),
505
- subject: zod.string().optional().describe('Subject of the case.'),
506
- timing: zod
507
- .object({
508
- differenceInReaction: zod
509
- .string()
510
- .optional()
511
- .describe(
512
- 'Difference between actual and planned reaction time.',
513
- ),
514
- differenceInResolve: zod
515
- .string()
516
- .optional()
517
- .describe(
518
- 'Difference between actual and planned resolution time.',
519
- ),
520
- reactedAt: zod
521
- .string()
522
- .optional()
523
- .describe('Actual reaction timestamp (in milliseconds).'),
524
- resolvedAt: zod
525
- .string()
526
- .optional()
527
- .describe('Actual resolution timestamp (in milliseconds).'),
528
- })
529
- .optional()
530
- .describe('Message representing SLA timing information.'),
531
- updatedAt: zod
532
- .string()
533
- .optional()
534
- .describe(
535
- 'Last update timestamp (in milliseconds since Unix epoch).',
536
- ),
537
- updatedBy: zod
538
- .object({
539
- id: zod.string().optional(),
540
- name: zod.string().optional(),
541
- })
542
- .optional(),
543
- ver: zod
544
- .number()
545
- .optional()
546
- .describe('Version number of the case.'),
547
- })
548
- .describe('Message representing a case.'),
549
- )
550
- .optional()
551
- .describe('List of cases.'),
552
- next: zod
553
- .boolean()
554
- .optional()
555
- .describe('Flag indicating if there are more pages.'),
556
- page: zod.string().optional().describe('Current page number.'),
557
- })
558
- .describe('Response message containing a list of cases.');
559
-
560
- /**
561
- * @summary RPC method for creating a new case.
562
- */
563
- export const createCaseQueryParams = zod.object({
564
- fields: zod
565
- .array(zod.string())
566
- .optional()
567
- .describe('List of fields to include in the response.'),
568
- });
569
-
570
- export const createCaseBodyRelatedItemRelationTypeDefault =
571
- 'RELATION_TYPE_UNSPECIFIED';
572
-
573
- export const createCaseBody = zod
574
- .object({
575
- assignee: zod
576
- .object({
577
- id: zod.string().optional(),
578
- name: zod.string().optional(),
579
- })
580
- .optional(),
581
- close: zod
582
- .object({
583
- closeReason: zod
584
- .object({
585
- id: zod.string().optional(),
586
- name: zod.string().optional(),
587
- })
588
- .optional(),
589
- closeResult: zod
590
- .string()
591
- .optional()
592
- .describe('Comment or reason for closing the case.'),
593
- })
594
- .optional()
595
- .describe('Structure for close information when a case is closed.'),
596
- closeReasonGroup: zod
597
- .object({
598
- id: zod.string().optional(),
599
- name: zod.string().optional(),
600
- })
601
- .optional(),
602
- contactInfo: zod
603
- .string()
604
- .optional()
605
- .describe('Optional contact information.'),
606
- description: zod
607
- .string()
608
- .optional()
609
- .describe('Optional description of the case.'),
610
- group: zod
611
- .object({
612
- id: zod.string().optional(),
613
- name: zod.string().optional(),
614
- })
615
- .optional(),
616
- impacted: zod
617
- .object({
618
- id: zod.string().optional(),
619
- name: zod.string().optional(),
620
- })
621
- .optional(),
622
- links: zod
623
- .array(
624
- zod.object({
625
- etag: zod.string().optional(),
626
- name: zod.string().optional(),
627
- url: zod.string().optional(),
628
- }),
629
- )
630
- .optional()
631
- .describe('List of links attached to the case.'),
632
- priority: zod
633
- .object({
634
- id: zod.string().optional(),
635
- name: zod.string().optional(),
636
- })
637
- .optional(),
638
- rate: zod
639
- .object({
640
- rating: zod.string().optional().describe('Rating value.'),
641
- ratingComment: zod
642
- .string()
643
- .optional()
644
- .describe('Optional comment for the rating.'),
645
- })
646
- .optional()
647
- .describe('Message representing rating information.'),
648
- related: zod
649
- .array(
650
- zod
651
- .object({
652
- etag: zod.string().optional().describe('Etag of the related case.'),
653
- relatedTo: zod
654
- .string()
655
- .optional()
656
- .describe('Identifier of the related case.'),
657
- relationType: zod
658
- .enum([
659
- 'RELATION_TYPE_UNSPECIFIED',
660
- 'DUPLICATES',
661
- 'IS_DUPLICATED_BY',
662
- 'BLOCKS',
663
- 'IS_BLOCKED_BY',
664
- 'CAUSES',
665
- 'IS_CAUSED_BY',
666
- 'IS_CHILD_OF',
667
- 'IS_PARENT_OF',
668
- 'RELATES_TO',
669
- ])
670
- .default(createCaseBodyRelatedItemRelationTypeDefault)
671
- .describe('Enum for relation types between cases.'),
672
- })
673
- .describe('Structure for related cases input when creating a case.'),
674
- )
675
- .optional()
676
- .describe('List of related cases.'),
677
- reporter: zod
678
- .object({
679
- id: zod.string().optional(),
680
- name: zod.string().optional(),
681
- })
682
- .optional(),
683
- service: zod
684
- .object({
685
- id: zod.string().optional(),
686
- name: zod.string().optional(),
687
- })
688
- .optional(),
689
- source: zod
690
- .object({
691
- id: zod.string().optional(),
692
- name: zod.string().optional(),
693
- })
694
- .optional(),
695
- status: zod
696
- .object({
697
- id: zod.string().optional(),
698
- name: zod.string().optional(),
699
- })
700
- .optional(),
701
- subject: zod.string().optional().describe('Required subject of the case.'),
702
- })
703
- .describe('Input structure for creating a new case.');
704
-
705
- export const createCaseResponseRelatedDataItemRelationTypeDefault =
706
- 'RELATION_TYPE_UNSPECIFIED';
707
- export const createCaseResponseSourceTypeDefault = 'TYPE_UNSPECIFIED';
708
-
709
- export const createCaseResponse = zod
710
- .object({
711
- assignee: zod
712
- .object({
713
- id: zod.string().optional(),
714
- name: zod.string().optional(),
715
- })
716
- .optional(),
717
- author: zod
718
- .object({
719
- id: zod.string().optional(),
720
- name: zod.string().optional(),
721
- })
722
- .optional(),
723
- close: zod
724
- .object({
725
- closeReason: zod
726
- .object({
727
- id: zod.string().optional(),
728
- name: zod.string().optional(),
729
- })
730
- .optional(),
731
- closeResult: zod
732
- .string()
733
- .optional()
734
- .describe('Result or reason for closing the case.'),
735
- })
736
- .optional()
737
- .describe('Message representing close information for a case.'),
738
- closeReasonGroup: zod
739
- .object({
740
- id: zod.string().optional(),
741
- name: zod.string().optional(),
742
- })
743
- .optional(),
744
- comments: zod
745
- .object({
746
- items: zod
747
- .array(
748
- zod
749
- .object({
750
- author: zod
751
- .object({
752
- id: zod.string().optional(),
753
- name: zod.string().optional(),
754
- })
755
- .optional(),
756
- canEdit: zod
757
- .boolean()
758
- .optional()
759
- .describe(
760
- 'Indicates if the comment can be edited by current user.',
761
- ),
762
- caseId: zod
763
- .string()
764
- .optional()
765
- .describe('Optional relation to the associated case.'),
766
- createdAt: zod
767
- .string()
768
- .optional()
769
- .describe(
770
- 'Timestamp (in milliseconds) of when the comment was created.',
771
- ),
772
- createdBy: zod
773
- .object({
774
- id: zod.string().optional(),
775
- name: zod.string().optional(),
776
- })
777
- .optional(),
778
- edited: zod
779
- .boolean()
780
- .optional()
781
- .describe(
782
- 'Indicates if the comment was edited; true if created_at < updated_at.',
783
- ),
784
- etag: zod.string().optional(),
785
- id: zod
786
- .string()
787
- .optional()
788
- .describe(
789
- 'Main identifier for read, update, and delete operations.',
790
- ),
791
- roleIds: zod.array(zod.string()).optional(),
792
- text: zod
793
- .string()
794
- .optional()
795
- .describe('The content of the comment.'),
796
- updatedAt: zod
797
- .string()
798
- .optional()
799
- .describe('Timestamp (in milliseconds) of the last update.'),
800
- updatedBy: zod
801
- .object({
802
- id: zod.string().optional(),
803
- name: zod.string().optional(),
804
- })
805
- .optional(),
806
- ver: zod
807
- .number()
808
- .optional()
809
- .describe(
810
- 'Version number of the comment, used for concurrency control.',
811
- ),
812
- })
813
- .describe('Represents a comment associated with a case.'),
814
- )
815
- .optional()
816
- .describe('List of comments on the current page.'),
817
- next: zod
818
- .boolean()
819
- .optional()
820
- .describe('Flag to indicate if more pages are available.'),
821
- page: zod.string().optional().describe('Current page number.'),
822
- })
823
- .optional()
824
- .describe('Contains a paginated list of comments.'),
825
- contactInfo: zod
826
- .string()
827
- .optional()
828
- .describe('Contact information for the case.'),
829
- createdAt: zod
830
- .string()
831
- .optional()
832
- .describe('Creation timestamp (in milliseconds since Unix epoch).'),
833
- createdBy: zod
834
- .object({
835
- id: zod.string().optional(),
836
- name: zod.string().optional(),
837
- })
838
- .optional(),
839
- description: zod
840
- .string()
841
- .optional()
842
- .describe('Detailed description of the case.'),
843
- etag: zod.string().optional().describe('Unique etag identifier.'),
844
- files: zod
845
- .object({
846
- items: zod
847
- .array(
848
- zod
849
- .object({
850
- author: zod
851
- .object({
852
- id: zod.string().optional(),
853
- name: zod.string().optional(),
854
- })
855
- .optional(),
856
- createdAt: zod
857
- .string()
858
- .optional()
859
- .describe('Creation timestamp in Unix milliseconds.'),
860
- createdBy: zod
861
- .object({
862
- id: zod.string().optional(),
863
- name: zod.string().optional(),
864
- })
865
- .optional(),
866
- id: zod.string().optional().describe('Storage file ID.'),
867
- mime: zod
868
- .string()
869
- .optional()
870
- .describe('MIME type of the file.'),
871
- name: zod.string().optional().describe('File name.'),
872
- size: zod.string().optional().describe('File size in bytes.'),
873
- url: zod.string().optional(),
874
- })
875
- .describe('Metadata for a file associated with a case.'),
876
- )
877
- .optional()
878
- .describe('List of case files.'),
879
- next: zod
880
- .boolean()
881
- .optional()
882
- .describe('Indicator if there is a next page.'),
883
- page: zod.string().optional().describe('Current page number.'),
884
- })
885
- .optional()
886
- .describe('Contains a list of case files with pagination.'),
887
- group: zod
888
- .object({
889
- id: zod.string().optional(),
890
- name: zod.string().optional(),
891
- type: zod.string().optional(),
892
- })
893
- .optional(),
894
- id: zod.string().optional().describe('Unique case ID.'),
895
- impacted: zod
896
- .object({
897
- id: zod.string().optional(),
898
- name: zod.string().optional(),
899
- })
900
- .optional(),
901
- links: zod
902
- .object({
903
- items: zod
904
- .array(
905
- zod.object({
906
- author: zod
907
- .object({
908
- id: zod.string().optional(),
909
- name: zod.string().optional(),
910
- })
911
- .optional(),
912
- createdAt: zod.string().optional(),
913
- createdBy: zod
914
- .object({
915
- id: zod.string().optional(),
916
- name: zod.string().optional(),
917
- })
918
- .optional(),
919
- etag: zod.string().optional(),
920
- id: zod.string().optional(),
921
- name: zod.string().optional(),
922
- updatedAt: zod.string().optional(),
923
- updatedBy: zod
924
- .object({
925
- id: zod.string().optional(),
926
- name: zod.string().optional(),
927
- })
928
- .optional(),
929
- url: zod.string().optional(),
930
- ver: zod.number().optional(),
931
- }),
932
- )
933
- .optional(),
934
- next: zod.boolean().optional(),
935
- page: zod.string().optional(),
936
- })
937
- .optional(),
938
- name: zod
939
- .string()
940
- .optional()
941
- .describe('Name of the case (may serve as an ID in docs).'),
942
- plannedReactionAt: zod
943
- .string()
944
- .optional()
945
- .describe('Planned reaction time (in milliseconds).'),
946
- plannedResolveAt: zod
947
- .string()
948
- .optional()
949
- .describe('Planned resolution time (in milliseconds).'),
950
- priority: zod
951
- .object({
952
- color: zod.string().optional(),
953
- createdAt: zod.string().optional(),
954
- createdBy: zod
955
- .object({
956
- id: zod.string().optional(),
957
- name: zod.string().optional(),
958
- })
959
- .optional(),
960
- description: zod.string().optional(),
961
- id: zod.string().optional(),
962
- name: zod.string().optional(),
963
- updatedAt: zod.string().optional(),
964
- updatedBy: zod
965
- .object({
966
- id: zod.string().optional(),
967
- name: zod.string().optional(),
968
- })
969
- .optional(),
970
- })
971
- .optional(),
972
- rate: zod
973
- .object({
974
- rating: zod.string().optional().describe('Rating value.'),
975
- ratingComment: zod
976
- .string()
977
- .optional()
978
- .describe('Optional comment for the rating.'),
979
- })
980
- .optional()
981
- .describe('Message representing rating information.'),
982
- related: zod
983
- .object({
984
- data: zod
985
- .array(
986
- zod
987
- .object({
988
- createdAt: zod
989
- .string()
990
- .optional()
991
- .describe(
992
- 'Timestamp (in milliseconds) of when the relation was created.',
993
- ),
994
- createdBy: zod
995
- .object({
996
- id: zod.string().optional(),
997
- name: zod.string().optional(),
998
- })
999
- .optional(),
1000
- etag: zod
1001
- .string()
1002
- .optional()
1003
- .describe('Etag for the related case entity.'),
1004
- id: zod
1005
- .string()
1006
- .optional()
1007
- .describe('Unique identifier for the related case.'),
1008
- primaryCase: zod
1009
- .object({
1010
- color: zod.string().optional(),
1011
- etag: zod.string().optional(),
1012
- id: zod.string().optional(),
1013
- name: zod.string().optional(),
1014
- subject: zod.string().optional(),
1015
- ver: zod.number().optional(),
1016
- })
1017
- .optional()
1018
- .describe(
1019
- 'RelatedCaseLookup is created specifically to include the subject field.',
1020
- ),
1021
- relatedCase: zod
1022
- .object({
1023
- color: zod.string().optional(),
1024
- etag: zod.string().optional(),
1025
- id: zod.string().optional(),
1026
- name: zod.string().optional(),
1027
- subject: zod.string().optional(),
1028
- ver: zod.number().optional(),
1029
- })
1030
- .optional()
1031
- .describe(
1032
- 'RelatedCaseLookup is created specifically to include the subject field.',
1033
- ),
1034
- relationType: zod
1035
- .enum([
1036
- 'RELATION_TYPE_UNSPECIFIED',
1037
- 'DUPLICATES',
1038
- 'IS_DUPLICATED_BY',
1039
- 'BLOCKS',
1040
- 'IS_BLOCKED_BY',
1041
- 'CAUSES',
1042
- 'IS_CAUSED_BY',
1043
- 'IS_CHILD_OF',
1044
- 'IS_PARENT_OF',
1045
- 'RELATES_TO',
1046
- ])
1047
- .default(createCaseResponseRelatedDataItemRelationTypeDefault)
1048
- .describe('Enum for relation types between cases.'),
1049
- updatedAt: zod
1050
- .string()
1051
- .optional()
1052
- .describe('Timestamp (in milliseconds) of the last update.'),
1053
- updatedBy: zod
1054
- .object({
1055
- id: zod.string().optional(),
1056
- name: zod.string().optional(),
1057
- })
1058
- .optional(),
1059
- ver: zod
1060
- .number()
1061
- .optional()
1062
- .describe(
1063
- 'Version number of the related case, used for concurrency control.',
1064
- ),
1065
- })
1066
- .describe(
1067
- 'Represents a related case with its relationship details.',
1068
- ),
1069
- )
1070
- .optional()
1071
- .describe('List of related cases on the current page.'),
1072
- next: zod
1073
- .boolean()
1074
- .optional()
1075
- .describe('Flag to indicate if more pages are available.'),
1076
- page: zod.string().optional().describe('Current page number.'),
1077
- })
1078
- .optional()
1079
- .describe('Paginated list of related cases.'),
1080
- reporter: zod
1081
- .object({
1082
- id: zod.string().optional(),
1083
- name: zod.string().optional(),
1084
- })
1085
- .optional(),
1086
- roleIds: zod.array(zod.string()).optional(),
1087
- service: zod
1088
- .object({
1089
- id: zod.string().optional(),
1090
- name: zod.string().optional(),
1091
- })
1092
- .optional(),
1093
- sla: zod
1094
- .object({
1095
- id: zod.string().optional(),
1096
- name: zod.string().optional(),
1097
- })
1098
- .optional(),
1099
- slaCondition: zod
1100
- .object({
1101
- id: zod.string().optional(),
1102
- name: zod.string().optional(),
1103
- })
1104
- .optional(),
1105
- source: zod
1106
- .object({
1107
- id: zod.string().optional(),
1108
- name: zod.string().optional(),
1109
- type: zod
1110
- .enum([
1111
- 'TYPE_UNSPECIFIED',
1112
- 'CALL',
1113
- 'CHAT',
1114
- 'SOCIAL_MEDIA',
1115
- 'EMAIL',
1116
- 'API',
1117
- 'MANUAL',
1118
- ])
1119
- .default(createCaseResponseSourceTypeDefault)
1120
- .describe(
1121
- 'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
1122
- ),
1123
- })
1124
- .optional(),
1125
- status: zod
1126
- .object({
1127
- id: zod.string().optional(),
1128
- name: zod.string().optional(),
1129
- })
1130
- .optional(),
1131
- statusCondition: zod
1132
- .object({
1133
- createdAt: zod.string().optional(),
1134
- createdBy: zod
1135
- .object({
1136
- id: zod.string().optional(),
1137
- name: zod.string().optional(),
1138
- })
1139
- .optional(),
1140
- description: zod.string().optional(),
1141
- final: zod.boolean().optional(),
1142
- id: zod.string().optional(),
1143
- initial: zod.boolean().optional(),
1144
- name: zod.string().optional(),
1145
- statusId: zod.string().optional(),
1146
- updatedAt: zod.string().optional(),
1147
- updatedBy: zod
1148
- .object({
1149
- id: zod.string().optional(),
1150
- name: zod.string().optional(),
1151
- })
1152
- .optional(),
1153
- })
1154
- .optional(),
1155
- subject: zod.string().optional().describe('Subject of the case.'),
1156
- timing: zod
1157
- .object({
1158
- differenceInReaction: zod
1159
- .string()
1160
- .optional()
1161
- .describe('Difference between actual and planned reaction time.'),
1162
- differenceInResolve: zod
1163
- .string()
1164
- .optional()
1165
- .describe('Difference between actual and planned resolution time.'),
1166
- reactedAt: zod
1167
- .string()
1168
- .optional()
1169
- .describe('Actual reaction timestamp (in milliseconds).'),
1170
- resolvedAt: zod
1171
- .string()
1172
- .optional()
1173
- .describe('Actual resolution timestamp (in milliseconds).'),
1174
- })
1175
- .optional()
1176
- .describe('Message representing SLA timing information.'),
1177
- updatedAt: zod
1178
- .string()
1179
- .optional()
1180
- .describe('Last update timestamp (in milliseconds since Unix epoch).'),
1181
- updatedBy: zod
1182
- .object({
1183
- id: zod.string().optional(),
1184
- name: zod.string().optional(),
1185
- })
1186
- .optional(),
1187
- ver: zod.number().optional().describe('Version number of the case.'),
1188
- })
1189
- .describe('Message representing a case.');
1190
-
1191
- /**
1192
- * @summary RPC method for deleting an existing case by its etag.
1193
- */
1194
- export const deleteCaseParams = zod.object({
1195
- etag: zod.string().describe('Unique etag identifier of the case.'),
1196
- });
1197
-
1198
- export const deleteCaseQueryParams = zod.object({
1199
- fields: zod
1200
- .array(zod.string())
1201
- .optional()
1202
- .describe('List of fields to include in the deleted case response.'),
1203
- });
1204
-
1205
- export const deleteCaseResponseRelatedDataItemRelationTypeDefault =
1206
- 'RELATION_TYPE_UNSPECIFIED';
1207
- export const deleteCaseResponseSourceTypeDefault = 'TYPE_UNSPECIFIED';
1208
-
1209
- export const deleteCaseResponse = zod
1210
- .object({
1211
- assignee: zod
1212
- .object({
1213
- id: zod.string().optional(),
1214
- name: zod.string().optional(),
1215
- })
1216
- .optional(),
1217
- author: zod
1218
- .object({
1219
- id: zod.string().optional(),
1220
- name: zod.string().optional(),
1221
- })
1222
- .optional(),
1223
- close: zod
1224
- .object({
1225
- closeReason: zod
1226
- .object({
1227
- id: zod.string().optional(),
1228
- name: zod.string().optional(),
1229
- })
1230
- .optional(),
1231
- closeResult: zod
1232
- .string()
1233
- .optional()
1234
- .describe('Result or reason for closing the case.'),
1235
- })
1236
- .optional()
1237
- .describe('Message representing close information for a case.'),
1238
- closeReasonGroup: zod
1239
- .object({
1240
- id: zod.string().optional(),
1241
- name: zod.string().optional(),
1242
- })
1243
- .optional(),
1244
- comments: zod
1245
- .object({
1246
- items: zod
1247
- .array(
1248
- zod
1249
- .object({
1250
- author: zod
1251
- .object({
1252
- id: zod.string().optional(),
1253
- name: zod.string().optional(),
1254
- })
1255
- .optional(),
1256
- canEdit: zod
1257
- .boolean()
1258
- .optional()
1259
- .describe(
1260
- 'Indicates if the comment can be edited by current user.',
1261
- ),
1262
- caseId: zod
1263
- .string()
1264
- .optional()
1265
- .describe('Optional relation to the associated case.'),
1266
- createdAt: zod
1267
- .string()
1268
- .optional()
1269
- .describe(
1270
- 'Timestamp (in milliseconds) of when the comment was created.',
1271
- ),
1272
- createdBy: zod
1273
- .object({
1274
- id: zod.string().optional(),
1275
- name: zod.string().optional(),
1276
- })
1277
- .optional(),
1278
- edited: zod
1279
- .boolean()
1280
- .optional()
1281
- .describe(
1282
- 'Indicates if the comment was edited; true if created_at < updated_at.',
1283
- ),
1284
- etag: zod.string().optional(),
1285
- id: zod
1286
- .string()
1287
- .optional()
1288
- .describe(
1289
- 'Main identifier for read, update, and delete operations.',
1290
- ),
1291
- roleIds: zod.array(zod.string()).optional(),
1292
- text: zod
1293
- .string()
1294
- .optional()
1295
- .describe('The content of the comment.'),
1296
- updatedAt: zod
1297
- .string()
1298
- .optional()
1299
- .describe('Timestamp (in milliseconds) of the last update.'),
1300
- updatedBy: zod
1301
- .object({
1302
- id: zod.string().optional(),
1303
- name: zod.string().optional(),
1304
- })
1305
- .optional(),
1306
- ver: zod
1307
- .number()
1308
- .optional()
1309
- .describe(
1310
- 'Version number of the comment, used for concurrency control.',
1311
- ),
1312
- })
1313
- .describe('Represents a comment associated with a case.'),
1314
- )
1315
- .optional()
1316
- .describe('List of comments on the current page.'),
1317
- next: zod
1318
- .boolean()
1319
- .optional()
1320
- .describe('Flag to indicate if more pages are available.'),
1321
- page: zod.string().optional().describe('Current page number.'),
1322
- })
1323
- .optional()
1324
- .describe('Contains a paginated list of comments.'),
1325
- contactInfo: zod
1326
- .string()
1327
- .optional()
1328
- .describe('Contact information for the case.'),
1329
- createdAt: zod
1330
- .string()
1331
- .optional()
1332
- .describe('Creation timestamp (in milliseconds since Unix epoch).'),
1333
- createdBy: zod
1334
- .object({
1335
- id: zod.string().optional(),
1336
- name: zod.string().optional(),
1337
- })
1338
- .optional(),
1339
- description: zod
1340
- .string()
1341
- .optional()
1342
- .describe('Detailed description of the case.'),
1343
- etag: zod.string().optional().describe('Unique etag identifier.'),
1344
- files: zod
1345
- .object({
1346
- items: zod
1347
- .array(
1348
- zod
1349
- .object({
1350
- author: zod
1351
- .object({
1352
- id: zod.string().optional(),
1353
- name: zod.string().optional(),
1354
- })
1355
- .optional(),
1356
- createdAt: zod
1357
- .string()
1358
- .optional()
1359
- .describe('Creation timestamp in Unix milliseconds.'),
1360
- createdBy: zod
1361
- .object({
1362
- id: zod.string().optional(),
1363
- name: zod.string().optional(),
1364
- })
1365
- .optional(),
1366
- id: zod.string().optional().describe('Storage file ID.'),
1367
- mime: zod
1368
- .string()
1369
- .optional()
1370
- .describe('MIME type of the file.'),
1371
- name: zod.string().optional().describe('File name.'),
1372
- size: zod.string().optional().describe('File size in bytes.'),
1373
- url: zod.string().optional(),
1374
- })
1375
- .describe('Metadata for a file associated with a case.'),
1376
- )
1377
- .optional()
1378
- .describe('List of case files.'),
1379
- next: zod
1380
- .boolean()
1381
- .optional()
1382
- .describe('Indicator if there is a next page.'),
1383
- page: zod.string().optional().describe('Current page number.'),
1384
- })
1385
- .optional()
1386
- .describe('Contains a list of case files with pagination.'),
1387
- group: zod
1388
- .object({
1389
- id: zod.string().optional(),
1390
- name: zod.string().optional(),
1391
- type: zod.string().optional(),
1392
- })
1393
- .optional(),
1394
- id: zod.string().optional().describe('Unique case ID.'),
1395
- impacted: zod
1396
- .object({
1397
- id: zod.string().optional(),
1398
- name: zod.string().optional(),
1399
- })
1400
- .optional(),
1401
- links: zod
1402
- .object({
1403
- items: zod
1404
- .array(
1405
- zod.object({
1406
- author: zod
1407
- .object({
1408
- id: zod.string().optional(),
1409
- name: zod.string().optional(),
1410
- })
1411
- .optional(),
1412
- createdAt: zod.string().optional(),
1413
- createdBy: zod
1414
- .object({
1415
- id: zod.string().optional(),
1416
- name: zod.string().optional(),
1417
- })
1418
- .optional(),
1419
- etag: zod.string().optional(),
1420
- id: zod.string().optional(),
1421
- name: zod.string().optional(),
1422
- updatedAt: zod.string().optional(),
1423
- updatedBy: zod
1424
- .object({
1425
- id: zod.string().optional(),
1426
- name: zod.string().optional(),
1427
- })
1428
- .optional(),
1429
- url: zod.string().optional(),
1430
- ver: zod.number().optional(),
1431
- }),
1432
- )
1433
- .optional(),
1434
- next: zod.boolean().optional(),
1435
- page: zod.string().optional(),
1436
- })
1437
- .optional(),
1438
- name: zod
1439
- .string()
1440
- .optional()
1441
- .describe('Name of the case (may serve as an ID in docs).'),
1442
- plannedReactionAt: zod
1443
- .string()
1444
- .optional()
1445
- .describe('Planned reaction time (in milliseconds).'),
1446
- plannedResolveAt: zod
1447
- .string()
1448
- .optional()
1449
- .describe('Planned resolution time (in milliseconds).'),
1450
- priority: zod
1451
- .object({
1452
- color: zod.string().optional(),
1453
- createdAt: zod.string().optional(),
1454
- createdBy: zod
1455
- .object({
1456
- id: zod.string().optional(),
1457
- name: zod.string().optional(),
1458
- })
1459
- .optional(),
1460
- description: zod.string().optional(),
1461
- id: zod.string().optional(),
1462
- name: zod.string().optional(),
1463
- updatedAt: zod.string().optional(),
1464
- updatedBy: zod
1465
- .object({
1466
- id: zod.string().optional(),
1467
- name: zod.string().optional(),
1468
- })
1469
- .optional(),
1470
- })
1471
- .optional(),
1472
- rate: zod
1473
- .object({
1474
- rating: zod.string().optional().describe('Rating value.'),
1475
- ratingComment: zod
1476
- .string()
1477
- .optional()
1478
- .describe('Optional comment for the rating.'),
1479
- })
1480
- .optional()
1481
- .describe('Message representing rating information.'),
1482
- related: zod
1483
- .object({
1484
- data: zod
1485
- .array(
1486
- zod
1487
- .object({
1488
- createdAt: zod
1489
- .string()
1490
- .optional()
1491
- .describe(
1492
- 'Timestamp (in milliseconds) of when the relation was created.',
1493
- ),
1494
- createdBy: zod
1495
- .object({
1496
- id: zod.string().optional(),
1497
- name: zod.string().optional(),
1498
- })
1499
- .optional(),
1500
- etag: zod
1501
- .string()
1502
- .optional()
1503
- .describe('Etag for the related case entity.'),
1504
- id: zod
1505
- .string()
1506
- .optional()
1507
- .describe('Unique identifier for the related case.'),
1508
- primaryCase: zod
1509
- .object({
1510
- color: zod.string().optional(),
1511
- etag: zod.string().optional(),
1512
- id: zod.string().optional(),
1513
- name: zod.string().optional(),
1514
- subject: zod.string().optional(),
1515
- ver: zod.number().optional(),
1516
- })
1517
- .optional()
1518
- .describe(
1519
- 'RelatedCaseLookup is created specifically to include the subject field.',
1520
- ),
1521
- relatedCase: zod
1522
- .object({
1523
- color: zod.string().optional(),
1524
- etag: zod.string().optional(),
1525
- id: zod.string().optional(),
1526
- name: zod.string().optional(),
1527
- subject: zod.string().optional(),
1528
- ver: zod.number().optional(),
1529
- })
1530
- .optional()
1531
- .describe(
1532
- 'RelatedCaseLookup is created specifically to include the subject field.',
1533
- ),
1534
- relationType: zod
1535
- .enum([
1536
- 'RELATION_TYPE_UNSPECIFIED',
1537
- 'DUPLICATES',
1538
- 'IS_DUPLICATED_BY',
1539
- 'BLOCKS',
1540
- 'IS_BLOCKED_BY',
1541
- 'CAUSES',
1542
- 'IS_CAUSED_BY',
1543
- 'IS_CHILD_OF',
1544
- 'IS_PARENT_OF',
1545
- 'RELATES_TO',
1546
- ])
1547
- .default(deleteCaseResponseRelatedDataItemRelationTypeDefault)
1548
- .describe('Enum for relation types between cases.'),
1549
- updatedAt: zod
1550
- .string()
1551
- .optional()
1552
- .describe('Timestamp (in milliseconds) of the last update.'),
1553
- updatedBy: zod
1554
- .object({
1555
- id: zod.string().optional(),
1556
- name: zod.string().optional(),
1557
- })
1558
- .optional(),
1559
- ver: zod
1560
- .number()
1561
- .optional()
1562
- .describe(
1563
- 'Version number of the related case, used for concurrency control.',
1564
- ),
1565
- })
1566
- .describe(
1567
- 'Represents a related case with its relationship details.',
1568
- ),
1569
- )
1570
- .optional()
1571
- .describe('List of related cases on the current page.'),
1572
- next: zod
1573
- .boolean()
1574
- .optional()
1575
- .describe('Flag to indicate if more pages are available.'),
1576
- page: zod.string().optional().describe('Current page number.'),
1577
- })
1578
- .optional()
1579
- .describe('Paginated list of related cases.'),
1580
- reporter: zod
1581
- .object({
1582
- id: zod.string().optional(),
1583
- name: zod.string().optional(),
1584
- })
1585
- .optional(),
1586
- roleIds: zod.array(zod.string()).optional(),
1587
- service: zod
1588
- .object({
1589
- id: zod.string().optional(),
1590
- name: zod.string().optional(),
1591
- })
1592
- .optional(),
1593
- sla: zod
1594
- .object({
1595
- id: zod.string().optional(),
1596
- name: zod.string().optional(),
1597
- })
1598
- .optional(),
1599
- slaCondition: zod
1600
- .object({
1601
- id: zod.string().optional(),
1602
- name: zod.string().optional(),
1603
- })
1604
- .optional(),
1605
- source: zod
1606
- .object({
1607
- id: zod.string().optional(),
1608
- name: zod.string().optional(),
1609
- type: zod
1610
- .enum([
1611
- 'TYPE_UNSPECIFIED',
1612
- 'CALL',
1613
- 'CHAT',
1614
- 'SOCIAL_MEDIA',
1615
- 'EMAIL',
1616
- 'API',
1617
- 'MANUAL',
1618
- ])
1619
- .default(deleteCaseResponseSourceTypeDefault)
1620
- .describe(
1621
- 'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
1622
- ),
1623
- })
1624
- .optional(),
1625
- status: zod
1626
- .object({
1627
- id: zod.string().optional(),
1628
- name: zod.string().optional(),
1629
- })
1630
- .optional(),
1631
- statusCondition: zod
1632
- .object({
1633
- createdAt: zod.string().optional(),
1634
- createdBy: zod
1635
- .object({
1636
- id: zod.string().optional(),
1637
- name: zod.string().optional(),
1638
- })
1639
- .optional(),
1640
- description: zod.string().optional(),
1641
- final: zod.boolean().optional(),
1642
- id: zod.string().optional(),
1643
- initial: zod.boolean().optional(),
1644
- name: zod.string().optional(),
1645
- statusId: zod.string().optional(),
1646
- updatedAt: zod.string().optional(),
1647
- updatedBy: zod
1648
- .object({
1649
- id: zod.string().optional(),
1650
- name: zod.string().optional(),
1651
- })
1652
- .optional(),
1653
- })
1654
- .optional(),
1655
- subject: zod.string().optional().describe('Subject of the case.'),
1656
- timing: zod
1657
- .object({
1658
- differenceInReaction: zod
1659
- .string()
1660
- .optional()
1661
- .describe('Difference between actual and planned reaction time.'),
1662
- differenceInResolve: zod
1663
- .string()
1664
- .optional()
1665
- .describe('Difference between actual and planned resolution time.'),
1666
- reactedAt: zod
1667
- .string()
1668
- .optional()
1669
- .describe('Actual reaction timestamp (in milliseconds).'),
1670
- resolvedAt: zod
1671
- .string()
1672
- .optional()
1673
- .describe('Actual resolution timestamp (in milliseconds).'),
1674
- })
1675
- .optional()
1676
- .describe('Message representing SLA timing information.'),
1677
- updatedAt: zod
1678
- .string()
1679
- .optional()
1680
- .describe('Last update timestamp (in milliseconds since Unix epoch).'),
1681
- updatedBy: zod
1682
- .object({
1683
- id: zod.string().optional(),
1684
- name: zod.string().optional(),
1685
- })
1686
- .optional(),
1687
- ver: zod.number().optional().describe('Version number of the case.'),
1688
- })
1689
- .describe('Message representing a case.');
1690
-
1691
- /**
1692
- * @summary RPC method to retrieve a specific case by its etag identifier.
1693
- */
1694
- export const locateCaseParams = zod.object({
1695
- etag: zod.string().describe('Unique etag identifier of the case.'),
1696
- });
1697
-
1698
- export const locateCaseQueryParams = zod.object({
1699
- fields: zod
1700
- .array(zod.string())
1701
- .optional()
1702
- .describe('List of fields to include in the response.'),
1703
- });
1704
-
1705
- export const locateCaseResponseRelatedDataItemRelationTypeDefault =
1706
- 'RELATION_TYPE_UNSPECIFIED';
1707
- export const locateCaseResponseSourceTypeDefault = 'TYPE_UNSPECIFIED';
1708
-
1709
- export const locateCaseResponse = zod
1710
- .object({
1711
- assignee: zod
1712
- .object({
1713
- id: zod.string().optional(),
1714
- name: zod.string().optional(),
1715
- })
1716
- .optional(),
1717
- author: zod
1718
- .object({
1719
- id: zod.string().optional(),
1720
- name: zod.string().optional(),
1721
- })
1722
- .optional(),
1723
- close: zod
1724
- .object({
1725
- closeReason: zod
1726
- .object({
1727
- id: zod.string().optional(),
1728
- name: zod.string().optional(),
1729
- })
1730
- .optional(),
1731
- closeResult: zod
1732
- .string()
1733
- .optional()
1734
- .describe('Result or reason for closing the case.'),
1735
- })
1736
- .optional()
1737
- .describe('Message representing close information for a case.'),
1738
- closeReasonGroup: zod
1739
- .object({
1740
- id: zod.string().optional(),
1741
- name: zod.string().optional(),
1742
- })
1743
- .optional(),
1744
- comments: zod
1745
- .object({
1746
- items: zod
1747
- .array(
1748
- zod
1749
- .object({
1750
- author: zod
1751
- .object({
1752
- id: zod.string().optional(),
1753
- name: zod.string().optional(),
1754
- })
1755
- .optional(),
1756
- canEdit: zod
1757
- .boolean()
1758
- .optional()
1759
- .describe(
1760
- 'Indicates if the comment can be edited by current user.',
1761
- ),
1762
- caseId: zod
1763
- .string()
1764
- .optional()
1765
- .describe('Optional relation to the associated case.'),
1766
- createdAt: zod
1767
- .string()
1768
- .optional()
1769
- .describe(
1770
- 'Timestamp (in milliseconds) of when the comment was created.',
1771
- ),
1772
- createdBy: zod
1773
- .object({
1774
- id: zod.string().optional(),
1775
- name: zod.string().optional(),
1776
- })
1777
- .optional(),
1778
- edited: zod
1779
- .boolean()
1780
- .optional()
1781
- .describe(
1782
- 'Indicates if the comment was edited; true if created_at < updated_at.',
1783
- ),
1784
- etag: zod.string().optional(),
1785
- id: zod
1786
- .string()
1787
- .optional()
1788
- .describe(
1789
- 'Main identifier for read, update, and delete operations.',
1790
- ),
1791
- roleIds: zod.array(zod.string()).optional(),
1792
- text: zod
1793
- .string()
1794
- .optional()
1795
- .describe('The content of the comment.'),
1796
- updatedAt: zod
1797
- .string()
1798
- .optional()
1799
- .describe('Timestamp (in milliseconds) of the last update.'),
1800
- updatedBy: zod
1801
- .object({
1802
- id: zod.string().optional(),
1803
- name: zod.string().optional(),
1804
- })
1805
- .optional(),
1806
- ver: zod
1807
- .number()
1808
- .optional()
1809
- .describe(
1810
- 'Version number of the comment, used for concurrency control.',
1811
- ),
1812
- })
1813
- .describe('Represents a comment associated with a case.'),
1814
- )
1815
- .optional()
1816
- .describe('List of comments on the current page.'),
1817
- next: zod
1818
- .boolean()
1819
- .optional()
1820
- .describe('Flag to indicate if more pages are available.'),
1821
- page: zod.string().optional().describe('Current page number.'),
1822
- })
1823
- .optional()
1824
- .describe('Contains a paginated list of comments.'),
1825
- contactInfo: zod
1826
- .string()
1827
- .optional()
1828
- .describe('Contact information for the case.'),
1829
- createdAt: zod
1830
- .string()
1831
- .optional()
1832
- .describe('Creation timestamp (in milliseconds since Unix epoch).'),
1833
- createdBy: zod
1834
- .object({
1835
- id: zod.string().optional(),
1836
- name: zod.string().optional(),
1837
- })
1838
- .optional(),
1839
- description: zod
1840
- .string()
1841
- .optional()
1842
- .describe('Detailed description of the case.'),
1843
- etag: zod.string().optional().describe('Unique etag identifier.'),
1844
- files: zod
1845
- .object({
1846
- items: zod
1847
- .array(
1848
- zod
1849
- .object({
1850
- author: zod
1851
- .object({
1852
- id: zod.string().optional(),
1853
- name: zod.string().optional(),
1854
- })
1855
- .optional(),
1856
- createdAt: zod
1857
- .string()
1858
- .optional()
1859
- .describe('Creation timestamp in Unix milliseconds.'),
1860
- createdBy: zod
1861
- .object({
1862
- id: zod.string().optional(),
1863
- name: zod.string().optional(),
1864
- })
1865
- .optional(),
1866
- id: zod.string().optional().describe('Storage file ID.'),
1867
- mime: zod
1868
- .string()
1869
- .optional()
1870
- .describe('MIME type of the file.'),
1871
- name: zod.string().optional().describe('File name.'),
1872
- size: zod.string().optional().describe('File size in bytes.'),
1873
- url: zod.string().optional(),
1874
- })
1875
- .describe('Metadata for a file associated with a case.'),
1876
- )
1877
- .optional()
1878
- .describe('List of case files.'),
1879
- next: zod
1880
- .boolean()
1881
- .optional()
1882
- .describe('Indicator if there is a next page.'),
1883
- page: zod.string().optional().describe('Current page number.'),
1884
- })
1885
- .optional()
1886
- .describe('Contains a list of case files with pagination.'),
1887
- group: zod
1888
- .object({
1889
- id: zod.string().optional(),
1890
- name: zod.string().optional(),
1891
- type: zod.string().optional(),
1892
- })
1893
- .optional(),
1894
- id: zod.string().optional().describe('Unique case ID.'),
1895
- impacted: zod
1896
- .object({
1897
- id: zod.string().optional(),
1898
- name: zod.string().optional(),
1899
- })
1900
- .optional(),
1901
- links: zod
1902
- .object({
1903
- items: zod
1904
- .array(
1905
- zod.object({
1906
- author: zod
1907
- .object({
1908
- id: zod.string().optional(),
1909
- name: zod.string().optional(),
1910
- })
1911
- .optional(),
1912
- createdAt: zod.string().optional(),
1913
- createdBy: zod
1914
- .object({
1915
- id: zod.string().optional(),
1916
- name: zod.string().optional(),
1917
- })
1918
- .optional(),
1919
- etag: zod.string().optional(),
1920
- id: zod.string().optional(),
1921
- name: zod.string().optional(),
1922
- updatedAt: zod.string().optional(),
1923
- updatedBy: zod
1924
- .object({
1925
- id: zod.string().optional(),
1926
- name: zod.string().optional(),
1927
- })
1928
- .optional(),
1929
- url: zod.string().optional(),
1930
- ver: zod.number().optional(),
1931
- }),
1932
- )
1933
- .optional(),
1934
- next: zod.boolean().optional(),
1935
- page: zod.string().optional(),
1936
- })
1937
- .optional(),
1938
- name: zod
1939
- .string()
1940
- .optional()
1941
- .describe('Name of the case (may serve as an ID in docs).'),
1942
- plannedReactionAt: zod
1943
- .string()
1944
- .optional()
1945
- .describe('Planned reaction time (in milliseconds).'),
1946
- plannedResolveAt: zod
1947
- .string()
1948
- .optional()
1949
- .describe('Planned resolution time (in milliseconds).'),
1950
- priority: zod
1951
- .object({
1952
- color: zod.string().optional(),
1953
- createdAt: zod.string().optional(),
1954
- createdBy: zod
1955
- .object({
1956
- id: zod.string().optional(),
1957
- name: zod.string().optional(),
1958
- })
1959
- .optional(),
1960
- description: zod.string().optional(),
1961
- id: zod.string().optional(),
1962
- name: zod.string().optional(),
1963
- updatedAt: zod.string().optional(),
1964
- updatedBy: zod
1965
- .object({
1966
- id: zod.string().optional(),
1967
- name: zod.string().optional(),
1968
- })
1969
- .optional(),
1970
- })
1971
- .optional(),
1972
- rate: zod
1973
- .object({
1974
- rating: zod.string().optional().describe('Rating value.'),
1975
- ratingComment: zod
1976
- .string()
1977
- .optional()
1978
- .describe('Optional comment for the rating.'),
1979
- })
1980
- .optional()
1981
- .describe('Message representing rating information.'),
1982
- related: zod
1983
- .object({
1984
- data: zod
1985
- .array(
1986
- zod
1987
- .object({
1988
- createdAt: zod
1989
- .string()
1990
- .optional()
1991
- .describe(
1992
- 'Timestamp (in milliseconds) of when the relation was created.',
1993
- ),
1994
- createdBy: zod
1995
- .object({
1996
- id: zod.string().optional(),
1997
- name: zod.string().optional(),
1998
- })
1999
- .optional(),
2000
- etag: zod
2001
- .string()
2002
- .optional()
2003
- .describe('Etag for the related case entity.'),
2004
- id: zod
2005
- .string()
2006
- .optional()
2007
- .describe('Unique identifier for the related case.'),
2008
- primaryCase: zod
2009
- .object({
2010
- color: zod.string().optional(),
2011
- etag: zod.string().optional(),
2012
- id: zod.string().optional(),
2013
- name: zod.string().optional(),
2014
- subject: zod.string().optional(),
2015
- ver: zod.number().optional(),
2016
- })
2017
- .optional()
2018
- .describe(
2019
- 'RelatedCaseLookup is created specifically to include the subject field.',
2020
- ),
2021
- relatedCase: zod
2022
- .object({
2023
- color: zod.string().optional(),
2024
- etag: zod.string().optional(),
2025
- id: zod.string().optional(),
2026
- name: zod.string().optional(),
2027
- subject: zod.string().optional(),
2028
- ver: zod.number().optional(),
2029
- })
2030
- .optional()
2031
- .describe(
2032
- 'RelatedCaseLookup is created specifically to include the subject field.',
2033
- ),
2034
- relationType: zod
2035
- .enum([
2036
- 'RELATION_TYPE_UNSPECIFIED',
2037
- 'DUPLICATES',
2038
- 'IS_DUPLICATED_BY',
2039
- 'BLOCKS',
2040
- 'IS_BLOCKED_BY',
2041
- 'CAUSES',
2042
- 'IS_CAUSED_BY',
2043
- 'IS_CHILD_OF',
2044
- 'IS_PARENT_OF',
2045
- 'RELATES_TO',
2046
- ])
2047
- .default(locateCaseResponseRelatedDataItemRelationTypeDefault)
2048
- .describe('Enum for relation types between cases.'),
2049
- updatedAt: zod
2050
- .string()
2051
- .optional()
2052
- .describe('Timestamp (in milliseconds) of the last update.'),
2053
- updatedBy: zod
2054
- .object({
2055
- id: zod.string().optional(),
2056
- name: zod.string().optional(),
2057
- })
2058
- .optional(),
2059
- ver: zod
2060
- .number()
2061
- .optional()
2062
- .describe(
2063
- 'Version number of the related case, used for concurrency control.',
2064
- ),
2065
- })
2066
- .describe(
2067
- 'Represents a related case with its relationship details.',
2068
- ),
2069
- )
2070
- .optional()
2071
- .describe('List of related cases on the current page.'),
2072
- next: zod
2073
- .boolean()
2074
- .optional()
2075
- .describe('Flag to indicate if more pages are available.'),
2076
- page: zod.string().optional().describe('Current page number.'),
2077
- })
2078
- .optional()
2079
- .describe('Paginated list of related cases.'),
2080
- reporter: zod
2081
- .object({
2082
- id: zod.string().optional(),
2083
- name: zod.string().optional(),
2084
- })
2085
- .optional(),
2086
- roleIds: zod.array(zod.string()).optional(),
2087
- service: zod
2088
- .object({
2089
- id: zod.string().optional(),
2090
- name: zod.string().optional(),
2091
- })
2092
- .optional(),
2093
- sla: zod
2094
- .object({
2095
- id: zod.string().optional(),
2096
- name: zod.string().optional(),
2097
- })
2098
- .optional(),
2099
- slaCondition: zod
2100
- .object({
2101
- id: zod.string().optional(),
2102
- name: zod.string().optional(),
2103
- })
2104
- .optional(),
2105
- source: zod
2106
- .object({
2107
- id: zod.string().optional(),
2108
- name: zod.string().optional(),
2109
- type: zod
2110
- .enum([
2111
- 'TYPE_UNSPECIFIED',
2112
- 'CALL',
2113
- 'CHAT',
2114
- 'SOCIAL_MEDIA',
2115
- 'EMAIL',
2116
- 'API',
2117
- 'MANUAL',
2118
- ])
2119
- .default(locateCaseResponseSourceTypeDefault)
2120
- .describe(
2121
- 'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
2122
- ),
2123
- })
2124
- .optional(),
2125
- status: zod
2126
- .object({
2127
- id: zod.string().optional(),
2128
- name: zod.string().optional(),
2129
- })
2130
- .optional(),
2131
- statusCondition: zod
2132
- .object({
2133
- createdAt: zod.string().optional(),
2134
- createdBy: zod
2135
- .object({
2136
- id: zod.string().optional(),
2137
- name: zod.string().optional(),
2138
- })
2139
- .optional(),
2140
- description: zod.string().optional(),
2141
- final: zod.boolean().optional(),
2142
- id: zod.string().optional(),
2143
- initial: zod.boolean().optional(),
2144
- name: zod.string().optional(),
2145
- statusId: zod.string().optional(),
2146
- updatedAt: zod.string().optional(),
2147
- updatedBy: zod
2148
- .object({
2149
- id: zod.string().optional(),
2150
- name: zod.string().optional(),
2151
- })
2152
- .optional(),
2153
- })
2154
- .optional(),
2155
- subject: zod.string().optional().describe('Subject of the case.'),
2156
- timing: zod
2157
- .object({
2158
- differenceInReaction: zod
2159
- .string()
2160
- .optional()
2161
- .describe('Difference between actual and planned reaction time.'),
2162
- differenceInResolve: zod
2163
- .string()
2164
- .optional()
2165
- .describe('Difference between actual and planned resolution time.'),
2166
- reactedAt: zod
2167
- .string()
2168
- .optional()
2169
- .describe('Actual reaction timestamp (in milliseconds).'),
2170
- resolvedAt: zod
2171
- .string()
2172
- .optional()
2173
- .describe('Actual resolution timestamp (in milliseconds).'),
2174
- })
2175
- .optional()
2176
- .describe('Message representing SLA timing information.'),
2177
- updatedAt: zod
2178
- .string()
2179
- .optional()
2180
- .describe('Last update timestamp (in milliseconds since Unix epoch).'),
2181
- updatedBy: zod
2182
- .object({
2183
- id: zod.string().optional(),
2184
- name: zod.string().optional(),
2185
- })
2186
- .optional(),
2187
- ver: zod.number().optional().describe('Version number of the case.'),
2188
- })
2189
- .describe('Message representing a case.');
2190
-
2191
- /**
2192
- * @summary RPC method for updating an existing case.
2193
- */
2194
- export const updateCase2Params = zod.object({
2195
- 'input.etag': zod.string(),
2196
- });
2197
-
2198
- export const updateCase2QueryParams = zod.object({
2199
- xJsonMask: zod
2200
- .array(zod.string())
2201
- .optional()
2202
- .describe('List of JSON fields to update.'),
2203
- fields: zod
2204
- .array(zod.string())
2205
- .optional()
2206
- .describe('List of fields to include in the response.'),
2207
- });
2208
-
2209
- export const updateCase2Body = zod.object({
2210
- assignee: zod
2211
- .object({
2212
- id: zod.string().optional(),
2213
- name: zod.string().optional(),
2214
- })
2215
- .optional(),
2216
- close: zod
2217
- .object({
2218
- closeReason: zod
2219
- .object({
2220
- id: zod.string().optional(),
2221
- name: zod.string().optional(),
2222
- })
2223
- .optional(),
2224
- closeResult: zod
2225
- .string()
2226
- .optional()
2227
- .describe('Result or reason for closing the case.'),
2228
- })
2229
- .optional()
2230
- .describe('Message representing close information for a case.'),
2231
- closeReason: zod
2232
- .object({
2233
- id: zod.string().optional(),
2234
- name: zod.string().optional(),
2235
- })
2236
- .optional(),
2237
- contactInfo: zod.string().optional(),
2238
- description: zod.string().optional(),
2239
- group: zod
2240
- .object({
2241
- id: zod.string().optional(),
2242
- name: zod.string().optional(),
2243
- })
2244
- .optional(),
2245
- impacted: zod
2246
- .object({
2247
- id: zod.string().optional(),
2248
- name: zod.string().optional(),
2249
- })
2250
- .optional(),
2251
- priority: zod
2252
- .object({
2253
- id: zod.string().optional(),
2254
- name: zod.string().optional(),
2255
- })
2256
- .optional(),
2257
- rate: zod
2258
- .object({
2259
- rating: zod.string().optional().describe('Rating value.'),
2260
- ratingComment: zod
2261
- .string()
2262
- .optional()
2263
- .describe('Optional comment for the rating.'),
2264
- })
2265
- .optional()
2266
- .describe('Message representing rating information.'),
2267
- reporter: zod
2268
- .object({
2269
- id: zod.string().optional(),
2270
- name: zod.string().optional(),
2271
- })
2272
- .optional(),
2273
- service: zod
2274
- .object({
2275
- id: zod.string().optional(),
2276
- name: zod.string().optional(),
2277
- })
2278
- .optional(),
2279
- source: zod
2280
- .object({
2281
- id: zod.string().optional(),
2282
- name: zod.string().optional(),
2283
- })
2284
- .optional(),
2285
- status: zod
2286
- .object({
2287
- id: zod.string().optional(),
2288
- name: zod.string().optional(),
2289
- })
2290
- .optional(),
2291
- statusCondition: zod
2292
- .object({
2293
- createdAt: zod.string().optional(),
2294
- createdBy: zod
2295
- .object({
2296
- id: zod.string().optional(),
2297
- name: zod.string().optional(),
2298
- })
2299
- .optional(),
2300
- description: zod.string().optional(),
2301
- final: zod.boolean().optional(),
2302
- id: zod.string().optional(),
2303
- initial: zod.boolean().optional(),
2304
- name: zod.string().optional(),
2305
- statusId: zod.string().optional(),
2306
- updatedAt: zod.string().optional(),
2307
- updatedBy: zod
2308
- .object({
2309
- id: zod.string().optional(),
2310
- name: zod.string().optional(),
2311
- })
2312
- .optional(),
2313
- })
2314
- .optional(),
2315
- subject: zod.string().optional(),
2316
- });
2317
-
2318
- export const updateCase2ResponseRelatedDataItemRelationTypeDefault =
2319
- 'RELATION_TYPE_UNSPECIFIED';
2320
- export const updateCase2ResponseSourceTypeDefault = 'TYPE_UNSPECIFIED';
2321
-
2322
- export const updateCase2Response = zod
2323
- .object({
2324
- assignee: zod
2325
- .object({
2326
- id: zod.string().optional(),
2327
- name: zod.string().optional(),
2328
- })
2329
- .optional(),
2330
- author: zod
2331
- .object({
2332
- id: zod.string().optional(),
2333
- name: zod.string().optional(),
2334
- })
2335
- .optional(),
2336
- close: zod
2337
- .object({
2338
- closeReason: zod
2339
- .object({
2340
- id: zod.string().optional(),
2341
- name: zod.string().optional(),
2342
- })
2343
- .optional(),
2344
- closeResult: zod
2345
- .string()
2346
- .optional()
2347
- .describe('Result or reason for closing the case.'),
2348
- })
2349
- .optional()
2350
- .describe('Message representing close information for a case.'),
2351
- closeReasonGroup: zod
2352
- .object({
2353
- id: zod.string().optional(),
2354
- name: zod.string().optional(),
2355
- })
2356
- .optional(),
2357
- comments: zod
2358
- .object({
2359
- items: zod
2360
- .array(
2361
- zod
2362
- .object({
2363
- author: zod
2364
- .object({
2365
- id: zod.string().optional(),
2366
- name: zod.string().optional(),
2367
- })
2368
- .optional(),
2369
- canEdit: zod
2370
- .boolean()
2371
- .optional()
2372
- .describe(
2373
- 'Indicates if the comment can be edited by current user.',
2374
- ),
2375
- caseId: zod
2376
- .string()
2377
- .optional()
2378
- .describe('Optional relation to the associated case.'),
2379
- createdAt: zod
2380
- .string()
2381
- .optional()
2382
- .describe(
2383
- 'Timestamp (in milliseconds) of when the comment was created.',
2384
- ),
2385
- createdBy: zod
2386
- .object({
2387
- id: zod.string().optional(),
2388
- name: zod.string().optional(),
2389
- })
2390
- .optional(),
2391
- edited: zod
2392
- .boolean()
2393
- .optional()
2394
- .describe(
2395
- 'Indicates if the comment was edited; true if created_at < updated_at.',
2396
- ),
2397
- etag: zod.string().optional(),
2398
- id: zod
2399
- .string()
2400
- .optional()
2401
- .describe(
2402
- 'Main identifier for read, update, and delete operations.',
2403
- ),
2404
- roleIds: zod.array(zod.string()).optional(),
2405
- text: zod
2406
- .string()
2407
- .optional()
2408
- .describe('The content of the comment.'),
2409
- updatedAt: zod
2410
- .string()
2411
- .optional()
2412
- .describe('Timestamp (in milliseconds) of the last update.'),
2413
- updatedBy: zod
2414
- .object({
2415
- id: zod.string().optional(),
2416
- name: zod.string().optional(),
2417
- })
2418
- .optional(),
2419
- ver: zod
2420
- .number()
2421
- .optional()
2422
- .describe(
2423
- 'Version number of the comment, used for concurrency control.',
2424
- ),
2425
- })
2426
- .describe('Represents a comment associated with a case.'),
2427
- )
2428
- .optional()
2429
- .describe('List of comments on the current page.'),
2430
- next: zod
2431
- .boolean()
2432
- .optional()
2433
- .describe('Flag to indicate if more pages are available.'),
2434
- page: zod.string().optional().describe('Current page number.'),
2435
- })
2436
- .optional()
2437
- .describe('Contains a paginated list of comments.'),
2438
- contactInfo: zod
2439
- .string()
2440
- .optional()
2441
- .describe('Contact information for the case.'),
2442
- createdAt: zod
2443
- .string()
2444
- .optional()
2445
- .describe('Creation timestamp (in milliseconds since Unix epoch).'),
2446
- createdBy: zod
2447
- .object({
2448
- id: zod.string().optional(),
2449
- name: zod.string().optional(),
2450
- })
2451
- .optional(),
2452
- description: zod
2453
- .string()
2454
- .optional()
2455
- .describe('Detailed description of the case.'),
2456
- etag: zod.string().optional().describe('Unique etag identifier.'),
2457
- files: zod
2458
- .object({
2459
- items: zod
2460
- .array(
2461
- zod
2462
- .object({
2463
- author: zod
2464
- .object({
2465
- id: zod.string().optional(),
2466
- name: zod.string().optional(),
2467
- })
2468
- .optional(),
2469
- createdAt: zod
2470
- .string()
2471
- .optional()
2472
- .describe('Creation timestamp in Unix milliseconds.'),
2473
- createdBy: zod
2474
- .object({
2475
- id: zod.string().optional(),
2476
- name: zod.string().optional(),
2477
- })
2478
- .optional(),
2479
- id: zod.string().optional().describe('Storage file ID.'),
2480
- mime: zod
2481
- .string()
2482
- .optional()
2483
- .describe('MIME type of the file.'),
2484
- name: zod.string().optional().describe('File name.'),
2485
- size: zod.string().optional().describe('File size in bytes.'),
2486
- url: zod.string().optional(),
2487
- })
2488
- .describe('Metadata for a file associated with a case.'),
2489
- )
2490
- .optional()
2491
- .describe('List of case files.'),
2492
- next: zod
2493
- .boolean()
2494
- .optional()
2495
- .describe('Indicator if there is a next page.'),
2496
- page: zod.string().optional().describe('Current page number.'),
2497
- })
2498
- .optional()
2499
- .describe('Contains a list of case files with pagination.'),
2500
- group: zod
2501
- .object({
2502
- id: zod.string().optional(),
2503
- name: zod.string().optional(),
2504
- type: zod.string().optional(),
2505
- })
2506
- .optional(),
2507
- id: zod.string().optional().describe('Unique case ID.'),
2508
- impacted: zod
2509
- .object({
2510
- id: zod.string().optional(),
2511
- name: zod.string().optional(),
2512
- })
2513
- .optional(),
2514
- links: zod
2515
- .object({
2516
- items: zod
2517
- .array(
2518
- zod.object({
2519
- author: zod
2520
- .object({
2521
- id: zod.string().optional(),
2522
- name: zod.string().optional(),
2523
- })
2524
- .optional(),
2525
- createdAt: zod.string().optional(),
2526
- createdBy: zod
2527
- .object({
2528
- id: zod.string().optional(),
2529
- name: zod.string().optional(),
2530
- })
2531
- .optional(),
2532
- etag: zod.string().optional(),
2533
- id: zod.string().optional(),
2534
- name: zod.string().optional(),
2535
- updatedAt: zod.string().optional(),
2536
- updatedBy: zod
2537
- .object({
2538
- id: zod.string().optional(),
2539
- name: zod.string().optional(),
2540
- })
2541
- .optional(),
2542
- url: zod.string().optional(),
2543
- ver: zod.number().optional(),
2544
- }),
2545
- )
2546
- .optional(),
2547
- next: zod.boolean().optional(),
2548
- page: zod.string().optional(),
2549
- })
2550
- .optional(),
2551
- name: zod
2552
- .string()
2553
- .optional()
2554
- .describe('Name of the case (may serve as an ID in docs).'),
2555
- plannedReactionAt: zod
2556
- .string()
2557
- .optional()
2558
- .describe('Planned reaction time (in milliseconds).'),
2559
- plannedResolveAt: zod
2560
- .string()
2561
- .optional()
2562
- .describe('Planned resolution time (in milliseconds).'),
2563
- priority: zod
2564
- .object({
2565
- color: zod.string().optional(),
2566
- createdAt: zod.string().optional(),
2567
- createdBy: zod
2568
- .object({
2569
- id: zod.string().optional(),
2570
- name: zod.string().optional(),
2571
- })
2572
- .optional(),
2573
- description: zod.string().optional(),
2574
- id: zod.string().optional(),
2575
- name: zod.string().optional(),
2576
- updatedAt: zod.string().optional(),
2577
- updatedBy: zod
2578
- .object({
2579
- id: zod.string().optional(),
2580
- name: zod.string().optional(),
2581
- })
2582
- .optional(),
2583
- })
2584
- .optional(),
2585
- rate: zod
2586
- .object({
2587
- rating: zod.string().optional().describe('Rating value.'),
2588
- ratingComment: zod
2589
- .string()
2590
- .optional()
2591
- .describe('Optional comment for the rating.'),
2592
- })
2593
- .optional()
2594
- .describe('Message representing rating information.'),
2595
- related: zod
2596
- .object({
2597
- data: zod
2598
- .array(
2599
- zod
2600
- .object({
2601
- createdAt: zod
2602
- .string()
2603
- .optional()
2604
- .describe(
2605
- 'Timestamp (in milliseconds) of when the relation was created.',
2606
- ),
2607
- createdBy: zod
2608
- .object({
2609
- id: zod.string().optional(),
2610
- name: zod.string().optional(),
2611
- })
2612
- .optional(),
2613
- etag: zod
2614
- .string()
2615
- .optional()
2616
- .describe('Etag for the related case entity.'),
2617
- id: zod
2618
- .string()
2619
- .optional()
2620
- .describe('Unique identifier for the related case.'),
2621
- primaryCase: zod
2622
- .object({
2623
- color: zod.string().optional(),
2624
- etag: zod.string().optional(),
2625
- id: zod.string().optional(),
2626
- name: zod.string().optional(),
2627
- subject: zod.string().optional(),
2628
- ver: zod.number().optional(),
2629
- })
2630
- .optional()
2631
- .describe(
2632
- 'RelatedCaseLookup is created specifically to include the subject field.',
2633
- ),
2634
- relatedCase: zod
2635
- .object({
2636
- color: zod.string().optional(),
2637
- etag: zod.string().optional(),
2638
- id: zod.string().optional(),
2639
- name: zod.string().optional(),
2640
- subject: zod.string().optional(),
2641
- ver: zod.number().optional(),
2642
- })
2643
- .optional()
2644
- .describe(
2645
- 'RelatedCaseLookup is created specifically to include the subject field.',
2646
- ),
2647
- relationType: zod
2648
- .enum([
2649
- 'RELATION_TYPE_UNSPECIFIED',
2650
- 'DUPLICATES',
2651
- 'IS_DUPLICATED_BY',
2652
- 'BLOCKS',
2653
- 'IS_BLOCKED_BY',
2654
- 'CAUSES',
2655
- 'IS_CAUSED_BY',
2656
- 'IS_CHILD_OF',
2657
- 'IS_PARENT_OF',
2658
- 'RELATES_TO',
2659
- ])
2660
- .default(
2661
- updateCase2ResponseRelatedDataItemRelationTypeDefault,
2662
- )
2663
- .describe('Enum for relation types between cases.'),
2664
- updatedAt: zod
2665
- .string()
2666
- .optional()
2667
- .describe('Timestamp (in milliseconds) of the last update.'),
2668
- updatedBy: zod
2669
- .object({
2670
- id: zod.string().optional(),
2671
- name: zod.string().optional(),
2672
- })
2673
- .optional(),
2674
- ver: zod
2675
- .number()
2676
- .optional()
2677
- .describe(
2678
- 'Version number of the related case, used for concurrency control.',
2679
- ),
2680
- })
2681
- .describe(
2682
- 'Represents a related case with its relationship details.',
2683
- ),
2684
- )
2685
- .optional()
2686
- .describe('List of related cases on the current page.'),
2687
- next: zod
2688
- .boolean()
2689
- .optional()
2690
- .describe('Flag to indicate if more pages are available.'),
2691
- page: zod.string().optional().describe('Current page number.'),
2692
- })
2693
- .optional()
2694
- .describe('Paginated list of related cases.'),
2695
- reporter: zod
2696
- .object({
2697
- id: zod.string().optional(),
2698
- name: zod.string().optional(),
2699
- })
2700
- .optional(),
2701
- roleIds: zod.array(zod.string()).optional(),
2702
- service: zod
2703
- .object({
2704
- id: zod.string().optional(),
2705
- name: zod.string().optional(),
2706
- })
2707
- .optional(),
2708
- sla: zod
2709
- .object({
2710
- id: zod.string().optional(),
2711
- name: zod.string().optional(),
2712
- })
2713
- .optional(),
2714
- slaCondition: zod
2715
- .object({
2716
- id: zod.string().optional(),
2717
- name: zod.string().optional(),
2718
- })
2719
- .optional(),
2720
- source: zod
2721
- .object({
2722
- id: zod.string().optional(),
2723
- name: zod.string().optional(),
2724
- type: zod
2725
- .enum([
2726
- 'TYPE_UNSPECIFIED',
2727
- 'CALL',
2728
- 'CHAT',
2729
- 'SOCIAL_MEDIA',
2730
- 'EMAIL',
2731
- 'API',
2732
- 'MANUAL',
2733
- ])
2734
- .default(updateCase2ResponseSourceTypeDefault)
2735
- .describe(
2736
- 'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
2737
- ),
2738
- })
2739
- .optional(),
2740
- status: zod
2741
- .object({
2742
- id: zod.string().optional(),
2743
- name: zod.string().optional(),
2744
- })
2745
- .optional(),
2746
- statusCondition: zod
2747
- .object({
2748
- createdAt: zod.string().optional(),
2749
- createdBy: zod
2750
- .object({
2751
- id: zod.string().optional(),
2752
- name: zod.string().optional(),
2753
- })
2754
- .optional(),
2755
- description: zod.string().optional(),
2756
- final: zod.boolean().optional(),
2757
- id: zod.string().optional(),
2758
- initial: zod.boolean().optional(),
2759
- name: zod.string().optional(),
2760
- statusId: zod.string().optional(),
2761
- updatedAt: zod.string().optional(),
2762
- updatedBy: zod
2763
- .object({
2764
- id: zod.string().optional(),
2765
- name: zod.string().optional(),
2766
- })
2767
- .optional(),
2768
- })
2769
- .optional(),
2770
- subject: zod.string().optional().describe('Subject of the case.'),
2771
- timing: zod
2772
- .object({
2773
- differenceInReaction: zod
2774
- .string()
2775
- .optional()
2776
- .describe('Difference between actual and planned reaction time.'),
2777
- differenceInResolve: zod
2778
- .string()
2779
- .optional()
2780
- .describe('Difference between actual and planned resolution time.'),
2781
- reactedAt: zod
2782
- .string()
2783
- .optional()
2784
- .describe('Actual reaction timestamp (in milliseconds).'),
2785
- resolvedAt: zod
2786
- .string()
2787
- .optional()
2788
- .describe('Actual resolution timestamp (in milliseconds).'),
2789
- })
2790
- .optional()
2791
- .describe('Message representing SLA timing information.'),
2792
- updatedAt: zod
2793
- .string()
2794
- .optional()
2795
- .describe('Last update timestamp (in milliseconds since Unix epoch).'),
2796
- updatedBy: zod
2797
- .object({
2798
- id: zod.string().optional(),
2799
- name: zod.string().optional(),
2800
- })
2801
- .optional(),
2802
- ver: zod.number().optional().describe('Version number of the case.'),
2803
- })
2804
- .describe('Message representing a case.');
2805
-
2806
- /**
2807
- * @summary RPC method for updating an existing case.
2808
- */
2809
- export const updateCaseParams = zod.object({
2810
- 'input.etag': zod.string(),
2811
- });
2812
-
2813
- export const updateCaseQueryParams = zod.object({
2814
- xJsonMask: zod
2815
- .array(zod.string())
2816
- .optional()
2817
- .describe('List of JSON fields to update.'),
2818
- fields: zod
2819
- .array(zod.string())
2820
- .optional()
2821
- .describe('List of fields to include in the response.'),
2822
- });
2823
-
2824
- export const updateCaseBody = zod.object({
2825
- assignee: zod
2826
- .object({
2827
- id: zod.string().optional(),
2828
- name: zod.string().optional(),
2829
- })
2830
- .optional(),
2831
- close: zod
2832
- .object({
2833
- closeReason: zod
2834
- .object({
2835
- id: zod.string().optional(),
2836
- name: zod.string().optional(),
2837
- })
2838
- .optional(),
2839
- closeResult: zod
2840
- .string()
2841
- .optional()
2842
- .describe('Result or reason for closing the case.'),
2843
- })
2844
- .optional()
2845
- .describe('Message representing close information for a case.'),
2846
- closeReason: zod
2847
- .object({
2848
- id: zod.string().optional(),
2849
- name: zod.string().optional(),
2850
- })
2851
- .optional(),
2852
- contactInfo: zod.string().optional(),
2853
- description: zod.string().optional(),
2854
- group: zod
2855
- .object({
2856
- id: zod.string().optional(),
2857
- name: zod.string().optional(),
2858
- })
2859
- .optional(),
2860
- impacted: zod
2861
- .object({
2862
- id: zod.string().optional(),
2863
- name: zod.string().optional(),
2864
- })
2865
- .optional(),
2866
- priority: zod
2867
- .object({
2868
- id: zod.string().optional(),
2869
- name: zod.string().optional(),
2870
- })
2871
- .optional(),
2872
- rate: zod
2873
- .object({
2874
- rating: zod.string().optional().describe('Rating value.'),
2875
- ratingComment: zod
2876
- .string()
2877
- .optional()
2878
- .describe('Optional comment for the rating.'),
2879
- })
2880
- .optional()
2881
- .describe('Message representing rating information.'),
2882
- reporter: zod
2883
- .object({
2884
- id: zod.string().optional(),
2885
- name: zod.string().optional(),
2886
- })
2887
- .optional(),
2888
- service: zod
2889
- .object({
2890
- id: zod.string().optional(),
2891
- name: zod.string().optional(),
2892
- })
2893
- .optional(),
2894
- source: zod
2895
- .object({
2896
- id: zod.string().optional(),
2897
- name: zod.string().optional(),
2898
- })
2899
- .optional(),
2900
- status: zod
2901
- .object({
2902
- id: zod.string().optional(),
2903
- name: zod.string().optional(),
2904
- })
2905
- .optional(),
2906
- statusCondition: zod
2907
- .object({
2908
- createdAt: zod.string().optional(),
2909
- createdBy: zod
2910
- .object({
2911
- id: zod.string().optional(),
2912
- name: zod.string().optional(),
2913
- })
2914
- .optional(),
2915
- description: zod.string().optional(),
2916
- final: zod.boolean().optional(),
2917
- id: zod.string().optional(),
2918
- initial: zod.boolean().optional(),
2919
- name: zod.string().optional(),
2920
- statusId: zod.string().optional(),
2921
- updatedAt: zod.string().optional(),
2922
- updatedBy: zod
2923
- .object({
2924
- id: zod.string().optional(),
2925
- name: zod.string().optional(),
2926
- })
2927
- .optional(),
2928
- })
2929
- .optional(),
2930
- subject: zod.string().optional(),
2931
- });
2932
-
2933
- export const updateCaseResponseRelatedDataItemRelationTypeDefault =
2934
- 'RELATION_TYPE_UNSPECIFIED';
2935
- export const updateCaseResponseSourceTypeDefault = 'TYPE_UNSPECIFIED';
2936
-
2937
- export const updateCaseResponse = zod
2938
- .object({
2939
- assignee: zod
2940
- .object({
2941
- id: zod.string().optional(),
2942
- name: zod.string().optional(),
2943
- })
2944
- .optional(),
2945
- author: zod
2946
- .object({
2947
- id: zod.string().optional(),
2948
- name: zod.string().optional(),
2949
- })
2950
- .optional(),
2951
- close: zod
2952
- .object({
2953
- closeReason: zod
2954
- .object({
2955
- id: zod.string().optional(),
2956
- name: zod.string().optional(),
2957
- })
2958
- .optional(),
2959
- closeResult: zod
2960
- .string()
2961
- .optional()
2962
- .describe('Result or reason for closing the case.'),
2963
- })
2964
- .optional()
2965
- .describe('Message representing close information for a case.'),
2966
- closeReasonGroup: zod
2967
- .object({
2968
- id: zod.string().optional(),
2969
- name: zod.string().optional(),
2970
- })
2971
- .optional(),
2972
- comments: zod
2973
- .object({
2974
- items: zod
2975
- .array(
2976
- zod
2977
- .object({
2978
- author: zod
2979
- .object({
2980
- id: zod.string().optional(),
2981
- name: zod.string().optional(),
2982
- })
2983
- .optional(),
2984
- canEdit: zod
2985
- .boolean()
2986
- .optional()
2987
- .describe(
2988
- 'Indicates if the comment can be edited by current user.',
2989
- ),
2990
- caseId: zod
2991
- .string()
2992
- .optional()
2993
- .describe('Optional relation to the associated case.'),
2994
- createdAt: zod
2995
- .string()
2996
- .optional()
2997
- .describe(
2998
- 'Timestamp (in milliseconds) of when the comment was created.',
2999
- ),
3000
- createdBy: zod
3001
- .object({
3002
- id: zod.string().optional(),
3003
- name: zod.string().optional(),
3004
- })
3005
- .optional(),
3006
- edited: zod
3007
- .boolean()
3008
- .optional()
3009
- .describe(
3010
- 'Indicates if the comment was edited; true if created_at < updated_at.',
3011
- ),
3012
- etag: zod.string().optional(),
3013
- id: zod
3014
- .string()
3015
- .optional()
3016
- .describe(
3017
- 'Main identifier for read, update, and delete operations.',
3018
- ),
3019
- roleIds: zod.array(zod.string()).optional(),
3020
- text: zod
3021
- .string()
3022
- .optional()
3023
- .describe('The content of the comment.'),
3024
- updatedAt: zod
3025
- .string()
3026
- .optional()
3027
- .describe('Timestamp (in milliseconds) of the last update.'),
3028
- updatedBy: zod
3029
- .object({
3030
- id: zod.string().optional(),
3031
- name: zod.string().optional(),
3032
- })
3033
- .optional(),
3034
- ver: zod
3035
- .number()
3036
- .optional()
3037
- .describe(
3038
- 'Version number of the comment, used for concurrency control.',
3039
- ),
3040
- })
3041
- .describe('Represents a comment associated with a case.'),
3042
- )
3043
- .optional()
3044
- .describe('List of comments on the current page.'),
3045
- next: zod
3046
- .boolean()
3047
- .optional()
3048
- .describe('Flag to indicate if more pages are available.'),
3049
- page: zod.string().optional().describe('Current page number.'),
3050
- })
3051
- .optional()
3052
- .describe('Contains a paginated list of comments.'),
3053
- contactInfo: zod
3054
- .string()
3055
- .optional()
3056
- .describe('Contact information for the case.'),
3057
- createdAt: zod
3058
- .string()
3059
- .optional()
3060
- .describe('Creation timestamp (in milliseconds since Unix epoch).'),
3061
- createdBy: zod
3062
- .object({
3063
- id: zod.string().optional(),
3064
- name: zod.string().optional(),
3065
- })
3066
- .optional(),
3067
- description: zod
3068
- .string()
3069
- .optional()
3070
- .describe('Detailed description of the case.'),
3071
- etag: zod.string().optional().describe('Unique etag identifier.'),
3072
- files: zod
3073
- .object({
3074
- items: zod
3075
- .array(
3076
- zod
3077
- .object({
3078
- author: zod
3079
- .object({
3080
- id: zod.string().optional(),
3081
- name: zod.string().optional(),
3082
- })
3083
- .optional(),
3084
- createdAt: zod
3085
- .string()
3086
- .optional()
3087
- .describe('Creation timestamp in Unix milliseconds.'),
3088
- createdBy: zod
3089
- .object({
3090
- id: zod.string().optional(),
3091
- name: zod.string().optional(),
3092
- })
3093
- .optional(),
3094
- id: zod.string().optional().describe('Storage file ID.'),
3095
- mime: zod
3096
- .string()
3097
- .optional()
3098
- .describe('MIME type of the file.'),
3099
- name: zod.string().optional().describe('File name.'),
3100
- size: zod.string().optional().describe('File size in bytes.'),
3101
- url: zod.string().optional(),
3102
- })
3103
- .describe('Metadata for a file associated with a case.'),
3104
- )
3105
- .optional()
3106
- .describe('List of case files.'),
3107
- next: zod
3108
- .boolean()
3109
- .optional()
3110
- .describe('Indicator if there is a next page.'),
3111
- page: zod.string().optional().describe('Current page number.'),
3112
- })
3113
- .optional()
3114
- .describe('Contains a list of case files with pagination.'),
3115
- group: zod
3116
- .object({
3117
- id: zod.string().optional(),
3118
- name: zod.string().optional(),
3119
- type: zod.string().optional(),
3120
- })
3121
- .optional(),
3122
- id: zod.string().optional().describe('Unique case ID.'),
3123
- impacted: zod
3124
- .object({
3125
- id: zod.string().optional(),
3126
- name: zod.string().optional(),
3127
- })
3128
- .optional(),
3129
- links: zod
3130
- .object({
3131
- items: zod
3132
- .array(
3133
- zod.object({
3134
- author: zod
3135
- .object({
3136
- id: zod.string().optional(),
3137
- name: zod.string().optional(),
3138
- })
3139
- .optional(),
3140
- createdAt: zod.string().optional(),
3141
- createdBy: zod
3142
- .object({
3143
- id: zod.string().optional(),
3144
- name: zod.string().optional(),
3145
- })
3146
- .optional(),
3147
- etag: zod.string().optional(),
3148
- id: zod.string().optional(),
3149
- name: zod.string().optional(),
3150
- updatedAt: zod.string().optional(),
3151
- updatedBy: zod
3152
- .object({
3153
- id: zod.string().optional(),
3154
- name: zod.string().optional(),
3155
- })
3156
- .optional(),
3157
- url: zod.string().optional(),
3158
- ver: zod.number().optional(),
3159
- }),
3160
- )
3161
- .optional(),
3162
- next: zod.boolean().optional(),
3163
- page: zod.string().optional(),
3164
- })
3165
- .optional(),
3166
- name: zod
3167
- .string()
3168
- .optional()
3169
- .describe('Name of the case (may serve as an ID in docs).'),
3170
- plannedReactionAt: zod
3171
- .string()
3172
- .optional()
3173
- .describe('Planned reaction time (in milliseconds).'),
3174
- plannedResolveAt: zod
3175
- .string()
3176
- .optional()
3177
- .describe('Planned resolution time (in milliseconds).'),
3178
- priority: zod
3179
- .object({
3180
- color: zod.string().optional(),
3181
- createdAt: zod.string().optional(),
3182
- createdBy: zod
3183
- .object({
3184
- id: zod.string().optional(),
3185
- name: zod.string().optional(),
3186
- })
3187
- .optional(),
3188
- description: zod.string().optional(),
3189
- id: zod.string().optional(),
3190
- name: zod.string().optional(),
3191
- updatedAt: zod.string().optional(),
3192
- updatedBy: zod
3193
- .object({
3194
- id: zod.string().optional(),
3195
- name: zod.string().optional(),
3196
- })
3197
- .optional(),
3198
- })
3199
- .optional(),
3200
- rate: zod
3201
- .object({
3202
- rating: zod.string().optional().describe('Rating value.'),
3203
- ratingComment: zod
3204
- .string()
3205
- .optional()
3206
- .describe('Optional comment for the rating.'),
3207
- })
3208
- .optional()
3209
- .describe('Message representing rating information.'),
3210
- related: zod
3211
- .object({
3212
- data: zod
3213
- .array(
3214
- zod
3215
- .object({
3216
- createdAt: zod
3217
- .string()
3218
- .optional()
3219
- .describe(
3220
- 'Timestamp (in milliseconds) of when the relation was created.',
3221
- ),
3222
- createdBy: zod
3223
- .object({
3224
- id: zod.string().optional(),
3225
- name: zod.string().optional(),
3226
- })
3227
- .optional(),
3228
- etag: zod
3229
- .string()
3230
- .optional()
3231
- .describe('Etag for the related case entity.'),
3232
- id: zod
3233
- .string()
3234
- .optional()
3235
- .describe('Unique identifier for the related case.'),
3236
- primaryCase: zod
3237
- .object({
3238
- color: zod.string().optional(),
3239
- etag: zod.string().optional(),
3240
- id: zod.string().optional(),
3241
- name: zod.string().optional(),
3242
- subject: zod.string().optional(),
3243
- ver: zod.number().optional(),
3244
- })
3245
- .optional()
3246
- .describe(
3247
- 'RelatedCaseLookup is created specifically to include the subject field.',
3248
- ),
3249
- relatedCase: zod
3250
- .object({
3251
- color: zod.string().optional(),
3252
- etag: zod.string().optional(),
3253
- id: zod.string().optional(),
3254
- name: zod.string().optional(),
3255
- subject: zod.string().optional(),
3256
- ver: zod.number().optional(),
3257
- })
3258
- .optional()
3259
- .describe(
3260
- 'RelatedCaseLookup is created specifically to include the subject field.',
3261
- ),
3262
- relationType: zod
3263
- .enum([
3264
- 'RELATION_TYPE_UNSPECIFIED',
3265
- 'DUPLICATES',
3266
- 'IS_DUPLICATED_BY',
3267
- 'BLOCKS',
3268
- 'IS_BLOCKED_BY',
3269
- 'CAUSES',
3270
- 'IS_CAUSED_BY',
3271
- 'IS_CHILD_OF',
3272
- 'IS_PARENT_OF',
3273
- 'RELATES_TO',
3274
- ])
3275
- .default(updateCaseResponseRelatedDataItemRelationTypeDefault)
3276
- .describe('Enum for relation types between cases.'),
3277
- updatedAt: zod
3278
- .string()
3279
- .optional()
3280
- .describe('Timestamp (in milliseconds) of the last update.'),
3281
- updatedBy: zod
3282
- .object({
3283
- id: zod.string().optional(),
3284
- name: zod.string().optional(),
3285
- })
3286
- .optional(),
3287
- ver: zod
3288
- .number()
3289
- .optional()
3290
- .describe(
3291
- 'Version number of the related case, used for concurrency control.',
3292
- ),
3293
- })
3294
- .describe(
3295
- 'Represents a related case with its relationship details.',
3296
- ),
3297
- )
3298
- .optional()
3299
- .describe('List of related cases on the current page.'),
3300
- next: zod
3301
- .boolean()
3302
- .optional()
3303
- .describe('Flag to indicate if more pages are available.'),
3304
- page: zod.string().optional().describe('Current page number.'),
3305
- })
3306
- .optional()
3307
- .describe('Paginated list of related cases.'),
3308
- reporter: zod
3309
- .object({
3310
- id: zod.string().optional(),
3311
- name: zod.string().optional(),
3312
- })
3313
- .optional(),
3314
- roleIds: zod.array(zod.string()).optional(),
3315
- service: zod
3316
- .object({
3317
- id: zod.string().optional(),
3318
- name: zod.string().optional(),
3319
- })
3320
- .optional(),
3321
- sla: zod
3322
- .object({
3323
- id: zod.string().optional(),
3324
- name: zod.string().optional(),
3325
- })
3326
- .optional(),
3327
- slaCondition: zod
3328
- .object({
3329
- id: zod.string().optional(),
3330
- name: zod.string().optional(),
3331
- })
3332
- .optional(),
3333
- source: zod
3334
- .object({
3335
- id: zod.string().optional(),
3336
- name: zod.string().optional(),
3337
- type: zod
3338
- .enum([
3339
- 'TYPE_UNSPECIFIED',
3340
- 'CALL',
3341
- 'CHAT',
3342
- 'SOCIAL_MEDIA',
3343
- 'EMAIL',
3344
- 'API',
3345
- 'MANUAL',
3346
- ])
3347
- .default(updateCaseResponseSourceTypeDefault)
3348
- .describe(
3349
- 'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
3350
- ),
3351
- })
3352
- .optional(),
3353
- status: zod
3354
- .object({
3355
- id: zod.string().optional(),
3356
- name: zod.string().optional(),
3357
- })
3358
- .optional(),
3359
- statusCondition: zod
3360
- .object({
3361
- createdAt: zod.string().optional(),
3362
- createdBy: zod
3363
- .object({
3364
- id: zod.string().optional(),
3365
- name: zod.string().optional(),
3366
- })
3367
- .optional(),
3368
- description: zod.string().optional(),
3369
- final: zod.boolean().optional(),
3370
- id: zod.string().optional(),
3371
- initial: zod.boolean().optional(),
3372
- name: zod.string().optional(),
3373
- statusId: zod.string().optional(),
3374
- updatedAt: zod.string().optional(),
3375
- updatedBy: zod
3376
- .object({
3377
- id: zod.string().optional(),
3378
- name: zod.string().optional(),
3379
- })
3380
- .optional(),
3381
- })
3382
- .optional(),
3383
- subject: zod.string().optional().describe('Subject of the case.'),
3384
- timing: zod
3385
- .object({
3386
- differenceInReaction: zod
3387
- .string()
3388
- .optional()
3389
- .describe('Difference between actual and planned reaction time.'),
3390
- differenceInResolve: zod
3391
- .string()
3392
- .optional()
3393
- .describe('Difference between actual and planned resolution time.'),
3394
- reactedAt: zod
3395
- .string()
3396
- .optional()
3397
- .describe('Actual reaction timestamp (in milliseconds).'),
3398
- resolvedAt: zod
3399
- .string()
3400
- .optional()
3401
- .describe('Actual resolution timestamp (in milliseconds).'),
3402
- })
3403
- .optional()
3404
- .describe('Message representing SLA timing information.'),
3405
- updatedAt: zod
3406
- .string()
3407
- .optional()
3408
- .describe('Last update timestamp (in milliseconds since Unix epoch).'),
3409
- updatedBy: zod
3410
- .object({
3411
- id: zod.string().optional(),
3412
- name: zod.string().optional(),
3413
- })
3414
- .optional(),
3415
- ver: zod.number().optional().describe('Version number of the case.'),
3416
- })
3417
- .describe('Message representing a case.');
3418
-
3419
- /**
3420
- * @summary RPC method for searching cases.
3421
- */
3422
- export const searchCases2Params = zod.object({
3423
- contact_id: zod.string().describe('Contact ID for filtering cases.'),
3424
- });
3425
-
3426
- export const searchCases2QueryParams = zod.object({
3427
- page: zod.number().optional().describe('Page number for pagination.'),
3428
- size: zod.number().optional().describe('Number of results per page.'),
3429
- q: zod.string().optional().describe('Query string for searching cases.'),
3430
- ids: zod
3431
- .array(zod.string())
3432
- .optional()
3433
- .describe('List of specific case IDs to retrieve.'),
3434
- sort: zod.string().optional().describe('Sorting criteria (e.g., field:asc).'),
3435
- fields: zod
3436
- .array(zod.string())
3437
- .optional()
3438
- .describe('List of fields to include in the response.'),
3439
- filters: zod
3440
- .array(zod.string())
3441
- .optional()
3442
- .describe('Key-value pairs for additional filtering.'),
3443
- });
3444
-
3445
- export const searchCases2ResponseItemsItemRelatedDataItemRelationTypeDefault =
3446
- 'RELATION_TYPE_UNSPECIFIED';
3447
- export const searchCases2ResponseItemsItemSourceTypeDefault =
3448
- 'TYPE_UNSPECIFIED';
3449
-
3450
- export const searchCases2Response = zod
3451
- .object({
3452
- items: zod
3453
- .array(
3454
- zod
3455
- .object({
3456
- assignee: zod
3457
- .object({
3458
- id: zod.string().optional(),
3459
- name: zod.string().optional(),
3460
- })
3461
- .optional(),
3462
- author: zod
3463
- .object({
3464
- id: zod.string().optional(),
3465
- name: zod.string().optional(),
3466
- })
3467
- .optional(),
3468
- close: zod
3469
- .object({
3470
- closeReason: zod
3471
- .object({
3472
- id: zod.string().optional(),
3473
- name: zod.string().optional(),
3474
- })
3475
- .optional(),
3476
- closeResult: zod
3477
- .string()
3478
- .optional()
3479
- .describe('Result or reason for closing the case.'),
3480
- })
3481
- .optional()
3482
- .describe('Message representing close information for a case.'),
3483
- closeReasonGroup: zod
3484
- .object({
3485
- id: zod.string().optional(),
3486
- name: zod.string().optional(),
3487
- })
3488
- .optional(),
3489
- comments: zod
3490
- .object({
3491
- items: zod
3492
- .array(
3493
- zod
3494
- .object({
3495
- author: zod
3496
- .object({
3497
- id: zod.string().optional(),
3498
- name: zod.string().optional(),
3499
- })
3500
- .optional(),
3501
- canEdit: zod
3502
- .boolean()
3503
- .optional()
3504
- .describe(
3505
- 'Indicates if the comment can be edited by current user.',
3506
- ),
3507
- caseId: zod
3508
- .string()
3509
- .optional()
3510
- .describe(
3511
- 'Optional relation to the associated case.',
3512
- ),
3513
- createdAt: zod
3514
- .string()
3515
- .optional()
3516
- .describe(
3517
- 'Timestamp (in milliseconds) of when the comment was created.',
3518
- ),
3519
- createdBy: zod
3520
- .object({
3521
- id: zod.string().optional(),
3522
- name: zod.string().optional(),
3523
- })
3524
- .optional(),
3525
- edited: zod
3526
- .boolean()
3527
- .optional()
3528
- .describe(
3529
- 'Indicates if the comment was edited; true if created_at < updated_at.',
3530
- ),
3531
- etag: zod.string().optional(),
3532
- id: zod
3533
- .string()
3534
- .optional()
3535
- .describe(
3536
- 'Main identifier for read, update, and delete operations.',
3537
- ),
3538
- roleIds: zod.array(zod.string()).optional(),
3539
- text: zod
3540
- .string()
3541
- .optional()
3542
- .describe('The content of the comment.'),
3543
- updatedAt: zod
3544
- .string()
3545
- .optional()
3546
- .describe(
3547
- 'Timestamp (in milliseconds) of the last update.',
3548
- ),
3549
- updatedBy: zod
3550
- .object({
3551
- id: zod.string().optional(),
3552
- name: zod.string().optional(),
3553
- })
3554
- .optional(),
3555
- ver: zod
3556
- .number()
3557
- .optional()
3558
- .describe(
3559
- 'Version number of the comment, used for concurrency control.',
3560
- ),
3561
- })
3562
- .describe('Represents a comment associated with a case.'),
3563
- )
3564
- .optional()
3565
- .describe('List of comments on the current page.'),
3566
- next: zod
3567
- .boolean()
3568
- .optional()
3569
- .describe('Flag to indicate if more pages are available.'),
3570
- page: zod.string().optional().describe('Current page number.'),
3571
- })
3572
- .optional()
3573
- .describe('Contains a paginated list of comments.'),
3574
- contactInfo: zod
3575
- .string()
3576
- .optional()
3577
- .describe('Contact information for the case.'),
3578
- createdAt: zod
3579
- .string()
3580
- .optional()
3581
- .describe(
3582
- 'Creation timestamp (in milliseconds since Unix epoch).',
3583
- ),
3584
- createdBy: zod
3585
- .object({
3586
- id: zod.string().optional(),
3587
- name: zod.string().optional(),
3588
- })
3589
- .optional(),
3590
- description: zod
3591
- .string()
3592
- .optional()
3593
- .describe('Detailed description of the case.'),
3594
- etag: zod.string().optional().describe('Unique etag identifier.'),
3595
- files: zod
3596
- .object({
3597
- items: zod
3598
- .array(
3599
- zod
3600
- .object({
3601
- author: zod
3602
- .object({
3603
- id: zod.string().optional(),
3604
- name: zod.string().optional(),
3605
- })
3606
- .optional(),
3607
- createdAt: zod
3608
- .string()
3609
- .optional()
3610
- .describe('Creation timestamp in Unix milliseconds.'),
3611
- createdBy: zod
3612
- .object({
3613
- id: zod.string().optional(),
3614
- name: zod.string().optional(),
3615
- })
3616
- .optional(),
3617
- id: zod
3618
- .string()
3619
- .optional()
3620
- .describe('Storage file ID.'),
3621
- mime: zod
3622
- .string()
3623
- .optional()
3624
- .describe('MIME type of the file.'),
3625
- name: zod.string().optional().describe('File name.'),
3626
- size: zod
3627
- .string()
3628
- .optional()
3629
- .describe('File size in bytes.'),
3630
- url: zod.string().optional(),
3631
- })
3632
- .describe('Metadata for a file associated with a case.'),
3633
- )
3634
- .optional()
3635
- .describe('List of case files.'),
3636
- next: zod
3637
- .boolean()
3638
- .optional()
3639
- .describe('Indicator if there is a next page.'),
3640
- page: zod.string().optional().describe('Current page number.'),
3641
- })
3642
- .optional()
3643
- .describe('Contains a list of case files with pagination.'),
3644
- group: zod
3645
- .object({
3646
- id: zod.string().optional(),
3647
- name: zod.string().optional(),
3648
- type: zod.string().optional(),
3649
- })
3650
- .optional(),
3651
- id: zod.string().optional().describe('Unique case ID.'),
3652
- impacted: zod
3653
- .object({
3654
- id: zod.string().optional(),
3655
- name: zod.string().optional(),
3656
- })
3657
- .optional(),
3658
- links: zod
3659
- .object({
3660
- items: zod
3661
- .array(
3662
- zod.object({
3663
- author: zod
3664
- .object({
3665
- id: zod.string().optional(),
3666
- name: zod.string().optional(),
3667
- })
3668
- .optional(),
3669
- createdAt: zod.string().optional(),
3670
- createdBy: zod
3671
- .object({
3672
- id: zod.string().optional(),
3673
- name: zod.string().optional(),
3674
- })
3675
- .optional(),
3676
- etag: zod.string().optional(),
3677
- id: zod.string().optional(),
3678
- name: zod.string().optional(),
3679
- updatedAt: zod.string().optional(),
3680
- updatedBy: zod
3681
- .object({
3682
- id: zod.string().optional(),
3683
- name: zod.string().optional(),
3684
- })
3685
- .optional(),
3686
- url: zod.string().optional(),
3687
- ver: zod.number().optional(),
3688
- }),
3689
- )
3690
- .optional(),
3691
- next: zod.boolean().optional(),
3692
- page: zod.string().optional(),
3693
- })
3694
- .optional(),
3695
- name: zod
3696
- .string()
3697
- .optional()
3698
- .describe('Name of the case (may serve as an ID in docs).'),
3699
- plannedReactionAt: zod
3700
- .string()
3701
- .optional()
3702
- .describe('Planned reaction time (in milliseconds).'),
3703
- plannedResolveAt: zod
3704
- .string()
3705
- .optional()
3706
- .describe('Planned resolution time (in milliseconds).'),
3707
- priority: zod
3708
- .object({
3709
- color: zod.string().optional(),
3710
- createdAt: zod.string().optional(),
3711
- createdBy: zod
3712
- .object({
3713
- id: zod.string().optional(),
3714
- name: zod.string().optional(),
3715
- })
3716
- .optional(),
3717
- description: zod.string().optional(),
3718
- id: zod.string().optional(),
3719
- name: zod.string().optional(),
3720
- updatedAt: zod.string().optional(),
3721
- updatedBy: zod
3722
- .object({
3723
- id: zod.string().optional(),
3724
- name: zod.string().optional(),
3725
- })
3726
- .optional(),
3727
- })
3728
- .optional(),
3729
- rate: zod
3730
- .object({
3731
- rating: zod.string().optional().describe('Rating value.'),
3732
- ratingComment: zod
3733
- .string()
3734
- .optional()
3735
- .describe('Optional comment for the rating.'),
3736
- })
3737
- .optional()
3738
- .describe('Message representing rating information.'),
3739
- related: zod
3740
- .object({
3741
- data: zod
3742
- .array(
3743
- zod
3744
- .object({
3745
- createdAt: zod
3746
- .string()
3747
- .optional()
3748
- .describe(
3749
- 'Timestamp (in milliseconds) of when the relation was created.',
3750
- ),
3751
- createdBy: zod
3752
- .object({
3753
- id: zod.string().optional(),
3754
- name: zod.string().optional(),
3755
- })
3756
- .optional(),
3757
- etag: zod
3758
- .string()
3759
- .optional()
3760
- .describe('Etag for the related case entity.'),
3761
- id: zod
3762
- .string()
3763
- .optional()
3764
- .describe('Unique identifier for the related case.'),
3765
- primaryCase: zod
3766
- .object({
3767
- color: zod.string().optional(),
3768
- etag: zod.string().optional(),
3769
- id: zod.string().optional(),
3770
- name: zod.string().optional(),
3771
- subject: zod.string().optional(),
3772
- ver: zod.number().optional(),
3773
- })
3774
- .optional()
3775
- .describe(
3776
- 'RelatedCaseLookup is created specifically to include the subject field.',
3777
- ),
3778
- relatedCase: zod
3779
- .object({
3780
- color: zod.string().optional(),
3781
- etag: zod.string().optional(),
3782
- id: zod.string().optional(),
3783
- name: zod.string().optional(),
3784
- subject: zod.string().optional(),
3785
- ver: zod.number().optional(),
3786
- })
3787
- .optional()
3788
- .describe(
3789
- 'RelatedCaseLookup is created specifically to include the subject field.',
3790
- ),
3791
- relationType: zod
3792
- .enum([
3793
- 'RELATION_TYPE_UNSPECIFIED',
3794
- 'DUPLICATES',
3795
- 'IS_DUPLICATED_BY',
3796
- 'BLOCKS',
3797
- 'IS_BLOCKED_BY',
3798
- 'CAUSES',
3799
- 'IS_CAUSED_BY',
3800
- 'IS_CHILD_OF',
3801
- 'IS_PARENT_OF',
3802
- 'RELATES_TO',
3803
- ])
3804
- .default(
3805
- searchCases2ResponseItemsItemRelatedDataItemRelationTypeDefault,
3806
- )
3807
- .describe('Enum for relation types between cases.'),
3808
- updatedAt: zod
3809
- .string()
3810
- .optional()
3811
- .describe(
3812
- 'Timestamp (in milliseconds) of the last update.',
3813
- ),
3814
- updatedBy: zod
3815
- .object({
3816
- id: zod.string().optional(),
3817
- name: zod.string().optional(),
3818
- })
3819
- .optional(),
3820
- ver: zod
3821
- .number()
3822
- .optional()
3823
- .describe(
3824
- 'Version number of the related case, used for concurrency control.',
3825
- ),
3826
- })
3827
- .describe(
3828
- 'Represents a related case with its relationship details.',
3829
- ),
3830
- )
3831
- .optional()
3832
- .describe('List of related cases on the current page.'),
3833
- next: zod
3834
- .boolean()
3835
- .optional()
3836
- .describe('Flag to indicate if more pages are available.'),
3837
- page: zod.string().optional().describe('Current page number.'),
3838
- })
3839
- .optional()
3840
- .describe('Paginated list of related cases.'),
3841
- reporter: zod
3842
- .object({
3843
- id: zod.string().optional(),
3844
- name: zod.string().optional(),
3845
- })
3846
- .optional(),
3847
- roleIds: zod.array(zod.string()).optional(),
3848
- service: zod
3849
- .object({
3850
- id: zod.string().optional(),
3851
- name: zod.string().optional(),
3852
- })
3853
- .optional(),
3854
- sla: zod
3855
- .object({
3856
- id: zod.string().optional(),
3857
- name: zod.string().optional(),
3858
- })
3859
- .optional(),
3860
- slaCondition: zod
3861
- .object({
3862
- id: zod.string().optional(),
3863
- name: zod.string().optional(),
3864
- })
3865
- .optional(),
3866
- source: zod
3867
- .object({
3868
- id: zod.string().optional(),
3869
- name: zod.string().optional(),
3870
- type: zod
3871
- .enum([
3872
- 'TYPE_UNSPECIFIED',
3873
- 'CALL',
3874
- 'CHAT',
3875
- 'SOCIAL_MEDIA',
3876
- 'EMAIL',
3877
- 'API',
3878
- 'MANUAL',
3879
- ])
3880
- .default(searchCases2ResponseItemsItemSourceTypeDefault)
3881
- .describe(
3882
- 'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
3883
- ),
3884
- })
3885
- .optional(),
3886
- status: zod
3887
- .object({
3888
- id: zod.string().optional(),
3889
- name: zod.string().optional(),
3890
- })
3891
- .optional(),
3892
- statusCondition: zod
3893
- .object({
3894
- createdAt: zod.string().optional(),
3895
- createdBy: zod
3896
- .object({
3897
- id: zod.string().optional(),
3898
- name: zod.string().optional(),
3899
- })
3900
- .optional(),
3901
- description: zod.string().optional(),
3902
- final: zod.boolean().optional(),
3903
- id: zod.string().optional(),
3904
- initial: zod.boolean().optional(),
3905
- name: zod.string().optional(),
3906
- statusId: zod.string().optional(),
3907
- updatedAt: zod.string().optional(),
3908
- updatedBy: zod
3909
- .object({
3910
- id: zod.string().optional(),
3911
- name: zod.string().optional(),
3912
- })
3913
- .optional(),
3914
- })
3915
- .optional(),
3916
- subject: zod.string().optional().describe('Subject of the case.'),
3917
- timing: zod
3918
- .object({
3919
- differenceInReaction: zod
3920
- .string()
3921
- .optional()
3922
- .describe(
3923
- 'Difference between actual and planned reaction time.',
3924
- ),
3925
- differenceInResolve: zod
3926
- .string()
3927
- .optional()
3928
- .describe(
3929
- 'Difference between actual and planned resolution time.',
3930
- ),
3931
- reactedAt: zod
3932
- .string()
3933
- .optional()
3934
- .describe('Actual reaction timestamp (in milliseconds).'),
3935
- resolvedAt: zod
3936
- .string()
3937
- .optional()
3938
- .describe('Actual resolution timestamp (in milliseconds).'),
3939
- })
3940
- .optional()
3941
- .describe('Message representing SLA timing information.'),
3942
- updatedAt: zod
3943
- .string()
3944
- .optional()
3945
- .describe(
3946
- 'Last update timestamp (in milliseconds since Unix epoch).',
3947
- ),
3948
- updatedBy: zod
3949
- .object({
3950
- id: zod.string().optional(),
3951
- name: zod.string().optional(),
3952
- })
3953
- .optional(),
3954
- ver: zod
3955
- .number()
3956
- .optional()
3957
- .describe('Version number of the case.'),
3958
- })
3959
- .describe('Message representing a case.'),
3960
- )
3961
- .optional()
3962
- .describe('List of cases.'),
3963
- next: zod
3964
- .boolean()
3965
- .optional()
3966
- .describe('Flag indicating if there are more pages.'),
3967
- page: zod.string().optional().describe('Current page number.'),
3968
- })
3969
- .describe('Response message containing a list of cases.');