@webitel/api-services 0.0.19 → 0.0.21

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 (301) hide show
  1. package/package.json +1 -1
  2. package/src/gen/_docs/html/assets/navigation.js +1 -1
  3. package/src/gen/_docs/html/assets/search.js +1 -1
  4. package/src/gen/_docs/html/functions/config-service_config-service.api.gen.getConfigService.html +1 -1
  5. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceCreateConfigMockHandler.html +1 -0
  6. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceCreateConfigResponseMock.html +1 -0
  7. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceDeleteConfigMockHandler.html +1 -0
  8. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceDeleteConfigResponseMock.html +1 -0
  9. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServicePatchConfigMockHandler.html +1 -0
  10. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServicePatchConfigResponseMock.html +1 -0
  11. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceReadConfigMockHandler.html +1 -0
  12. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceReadConfigResponseMock.html +1 -0
  13. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceReadSystemObjectsMockHandler.html +1 -0
  14. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceReadSystemObjectsResponseMock.html +1 -0
  15. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceSearchConfigMockHandler.html +1 -0
  16. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceSearchConfigResponseMock.html +1 -0
  17. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceUpdateConfigMockHandler.html +1 -0
  18. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceUpdateConfigResponseMock.html +1 -0
  19. package/src/gen/_docs/html/functions/logger-service_logger-service.api.gen.getLoggerService.html +1 -1
  20. package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getLoggerServiceSearchLogByConfigIdMockHandler.html +1 -0
  21. package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getLoggerServiceSearchLogByConfigIdResponseMock.html +1 -0
  22. package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getLoggerServiceSearchLogByRecordIdMockHandler.html +1 -0
  23. package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getLoggerServiceSearchLogByRecordIdResponseMock.html +1 -0
  24. package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getLoggerServiceSearchLogByUserIdMockHandler.html +1 -0
  25. package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getLoggerServiceSearchLogByUserIdResponseMock.html +1 -0
  26. package/src/gen/_docs/html/functions/sources_sources.api.gen.getSources.html +1 -1
  27. package/src/gen/_docs/html/index.html +1 -1
  28. package/src/gen/_docs/html/interfaces/_models_loggerPatchConfigRequest.LoggerPatchConfigRequest.html +8 -0
  29. package/src/gen/_docs/html/interfaces/_models_loggerUpdateConfigRequest.LoggerUpdateConfigRequest.html +7 -0
  30. package/src/gen/_docs/html/interfaces/_models_protobufAny.ProtobufAny.html +3 -2
  31. package/src/gen/_docs/html/interfaces/_models_runtimeError.RuntimeError.html +5 -0
  32. package/src/gen/_docs/html/interfaces/_models_webitelCasesInputSource.WebitelCasesInputSource.html +11 -6
  33. package/src/gen/_docs/html/interfaces/_models_webitelCasesSource.WebitelCasesSource.html +21 -9
  34. package/src/gen/_docs/html/modules/_models.html +1 -1
  35. package/src/gen/_docs/html/modules/_models_configServiceReadSystemObjectsParams.html +1 -0
  36. package/src/gen/_docs/html/modules/_models_configServiceSearchConfigObjectItem.html +1 -0
  37. package/src/gen/_docs/html/modules/_models_configServiceSearchConfigParams.html +1 -0
  38. package/src/gen/_docs/html/modules/_models_loggerPatchConfigRequest.html +1 -0
  39. package/src/gen/_docs/html/modules/_models_loggerServiceSearchLogByConfigIdActionItem.html +1 -0
  40. package/src/gen/_docs/html/modules/_models_loggerServiceSearchLogByConfigIdParams.html +1 -0
  41. package/src/gen/_docs/html/modules/_models_loggerServiceSearchLogByRecordIdActionItem.html +1 -0
  42. package/src/gen/_docs/html/modules/_models_loggerServiceSearchLogByRecordIdParams.html +1 -0
  43. package/src/gen/_docs/html/modules/_models_loggerServiceSearchLogByUserIdActionItem.html +1 -0
  44. package/src/gen/_docs/html/modules/_models_loggerServiceSearchLogByUserIdParams.html +1 -0
  45. package/src/gen/_docs/html/modules/_models_loggerUpdateConfigRequest.html +1 -0
  46. package/src/gen/_docs/html/modules/_models_runtimeError.html +1 -0
  47. package/src/gen/_docs/html/modules/config-service_config-service.api.gen.html +1 -1
  48. package/src/gen/_docs/html/modules/config-service_config-service.msw.api.gen.html +1 -1
  49. package/src/gen/_docs/html/modules/config-service_config-service.zod.gen.html +1 -1
  50. package/src/gen/_docs/html/modules/index.html +1 -1
  51. package/src/gen/_docs/html/modules/logger-service_logger-service.api.gen.html +1 -1
  52. package/src/gen/_docs/html/modules/logger-service_logger-service.msw.api.gen.html +1 -1
  53. package/src/gen/_docs/html/modules/logger-service_logger-service.zod.gen.html +1 -1
  54. package/src/gen/_docs/html/modules/sources_sources.zod.gen.html +7 -7
  55. package/src/gen/_docs/html/types/{_models_readSystemObjectsParams.ReadSystemObjectsParams.html → _models_configServiceReadSystemObjectsParams.ConfigServiceReadSystemObjectsParams.html} +2 -2
  56. package/src/gen/_docs/html/types/_models_configServiceSearchConfigObjectItem.ConfigServiceSearchConfigObjectItem.html +5 -0
  57. package/src/gen/_docs/html/types/{_models_searchConfigParams.SearchConfigParams.html → _models_configServiceSearchConfigParams.ConfigServiceSearchConfigParams.html} +2 -2
  58. package/src/gen/_docs/html/types/_models_createSourceParams.CreateSourceParams.html +3 -1
  59. package/src/gen/_docs/html/types/_models_loggerServiceSearchLogByConfigIdActionItem.LoggerServiceSearchLogByConfigIdActionItem.html +5 -0
  60. package/src/gen/_docs/html/types/_models_loggerServiceSearchLogByConfigIdParams.LoggerServiceSearchLogByConfigIdParams.html +11 -0
  61. package/src/gen/_docs/html/types/_models_loggerServiceSearchLogByRecordIdActionItem.LoggerServiceSearchLogByRecordIdActionItem.html +5 -0
  62. package/src/gen/_docs/html/types/{_models_searchLogByRecordIdParams.SearchLogByRecordIdParams.html → _models_loggerServiceSearchLogByRecordIdParams.LoggerServiceSearchLogByRecordIdParams.html} +2 -2
  63. package/src/gen/_docs/html/types/_models_loggerServiceSearchLogByUserIdActionItem.LoggerServiceSearchLogByUserIdActionItem.html +5 -0
  64. package/src/gen/_docs/html/types/{_models_searchLogByUserIdParams.SearchLogByUserIdParams.html → _models_loggerServiceSearchLogByUserIdParams.LoggerServiceSearchLogByUserIdParams.html} +3 -3
  65. package/src/gen/_docs/html/types/config-service_config-service.api.gen.ConfigServiceCreateConfigResult.html +1 -0
  66. package/src/gen/_docs/html/types/config-service_config-service.api.gen.ConfigServiceDeleteConfigResult.html +1 -0
  67. package/src/gen/_docs/html/types/config-service_config-service.api.gen.ConfigServicePatchConfigResult.html +1 -0
  68. package/src/gen/_docs/html/types/config-service_config-service.api.gen.ConfigServiceReadConfigResult.html +1 -0
  69. package/src/gen/_docs/html/{modules/_models_configServicePatchConfigBody.html → types/config-service_config-service.api.gen.ConfigServiceReadSystemObjectsResult.html} +1 -1
  70. package/src/gen/_docs/html/types/config-service_config-service.api.gen.ConfigServiceSearchConfigResult.html +1 -0
  71. package/src/gen/_docs/html/types/config-service_config-service.api.gen.ConfigServiceUpdateConfigResult.html +1 -0
  72. package/src/gen/_docs/html/types/logger-service_logger-service.api.gen.LoggerServiceSearchLogByConfigIdResult.html +1 -0
  73. package/src/gen/_docs/html/types/logger-service_logger-service.api.gen.LoggerServiceSearchLogByRecordIdResult.html +1 -0
  74. package/src/gen/_docs/html/types/logger-service_logger-service.api.gen.LoggerServiceSearchLogByUserIdResult.html +1 -0
  75. package/src/gen/_docs/html/variables/_models_configServiceSearchConfigObjectItem.ConfigServiceSearchConfigObjectItem.html +1 -0
  76. package/src/gen/_docs/html/variables/_models_engineTriggerObjectType.EngineTriggerObjectType.html +1 -1
  77. package/src/gen/_docs/html/variables/_models_loggerServiceSearchLogByConfigIdActionItem.LoggerServiceSearchLogByConfigIdActionItem.html +1 -0
  78. package/src/gen/_docs/html/variables/_models_loggerServiceSearchLogByRecordIdActionItem.LoggerServiceSearchLogByRecordIdActionItem.html +1 -0
  79. package/src/gen/_docs/html/variables/_models_loggerServiceSearchLogByUserIdActionItem.LoggerServiceSearchLogByUserIdActionItem.html +1 -0
  80. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceCreateConfigBody.html +1 -0
  81. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceCreateConfigResponse.html +1 -0
  82. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceDeleteConfigParams.html +1 -0
  83. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceDeleteConfigResponse.html +1 -0
  84. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServicePatchConfigBody.html +1 -0
  85. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServicePatchConfigParams.html +1 -0
  86. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServicePatchConfigResponse.html +1 -0
  87. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceReadConfigParams.html +1 -0
  88. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceReadConfigResponse.html +1 -0
  89. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceReadSystemObjectsQueryParams.html +1 -0
  90. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceReadSystemObjectsResponse.html +1 -0
  91. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceSearchConfigQueryParams.html +1 -0
  92. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceSearchConfigResponse.html +1 -0
  93. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceUpdateConfigBody.html +1 -0
  94. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceUpdateConfigParams.html +1 -0
  95. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceUpdateConfigResponse.html +1 -0
  96. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByConfigIdParams.html +1 -0
  97. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByConfigIdQueryParams.html +1 -0
  98. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByConfigIdResponse.html +1 -0
  99. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByRecordIdParams.html +1 -0
  100. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByRecordIdQueryParams.html +1 -0
  101. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByRecordIdResponse.html +1 -0
  102. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByUserIdParams.html +1 -0
  103. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByUserIdQueryParams.html +1 -0
  104. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByUserIdResponse.html +1 -0
  105. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBody.html +1 -1
  106. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyDefault.html +1 -0
  107. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyDescriptionDefault.html +1 -0
  108. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyDescriptionMax.html +1 -0
  109. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyNameDefault.html +1 -0
  110. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyNameMax.html +1 -0
  111. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyNameMin.html +1 -0
  112. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyNameRegExp.html +1 -0
  113. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceResponse.html +1 -1
  114. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceResponseDescriptionMax.html +1 -0
  115. package/src/gen/_docs/html/{types/config-service_config-service.api.gen.SearchConfigResult.html → variables/sources_sources.zod.gen.createSourceResponseNameMax.html} +1 -1
  116. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceResponseNameMin.html +1 -0
  117. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceResponseNameRegExp.html +1 -0
  118. package/src/gen/_docs/html/variables/sources_sources.zod.gen.deleteSourceResponse.html +1 -1
  119. package/src/gen/_docs/html/variables/sources_sources.zod.gen.deleteSourceResponseDescriptionMax.html +1 -0
  120. package/src/gen/_docs/html/variables/sources_sources.zod.gen.deleteSourceResponseNameMax.html +1 -0
  121. package/src/gen/_docs/html/variables/sources_sources.zod.gen.deleteSourceResponseNameMin.html +1 -0
  122. package/src/gen/_docs/html/variables/sources_sources.zod.gen.deleteSourceResponseNameRegExp.html +1 -0
  123. package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesResponse.html +1 -1
  124. package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesResponseItemsItemDescriptionMax.html +1 -0
  125. package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesResponseItemsItemNameMax.html +1 -0
  126. package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesResponseItemsItemNameMin.html +1 -0
  127. package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesResponseItemsItemNameRegExp.html +1 -0
  128. package/src/gen/_docs/html/variables/sources_sources.zod.gen.locateSourceResponse.html +1 -1
  129. package/src/gen/_docs/html/variables/sources_sources.zod.gen.locateSourceResponseSourceDescriptionMax.html +1 -0
  130. package/src/gen/_docs/html/variables/sources_sources.zod.gen.locateSourceResponseSourceNameMax.html +1 -0
  131. package/src/gen/_docs/html/variables/sources_sources.zod.gen.locateSourceResponseSourceNameMin.html +1 -0
  132. package/src/gen/_docs/html/variables/sources_sources.zod.gen.locateSourceResponseSourceNameRegExp.html +1 -0
  133. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2Body.html +1 -1
  134. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyDefault.html +1 -0
  135. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyDescriptionDefault.html +1 -0
  136. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyDescriptionMax.html +1 -0
  137. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyNameDefault.html +1 -0
  138. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyNameMax.html +1 -0
  139. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyNameMin.html +1 -0
  140. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyNameRegExp.html +1 -0
  141. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2Response.html +1 -1
  142. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2ResponseDescriptionMax.html +1 -0
  143. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2ResponseNameMax.html +1 -0
  144. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2ResponseNameMin.html +1 -0
  145. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2ResponseNameRegExp.html +1 -0
  146. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBody.html +1 -1
  147. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyDefault.html +1 -0
  148. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyDescriptionDefault.html +1 -0
  149. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyDescriptionMax.html +1 -0
  150. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyNameDefault.html +1 -0
  151. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyNameMax.html +1 -0
  152. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyNameMin.html +1 -0
  153. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyNameRegExp.html +1 -0
  154. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceResponse.html +1 -1
  155. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceResponseDescriptionMax.html +1 -0
  156. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceResponseNameMax.html +1 -0
  157. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceResponseNameMin.html +1 -0
  158. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceResponseNameRegExp.html +1 -0
  159. package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.createTriggerBody.html +1 -1
  160. package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.createTriggerResponse.html +1 -1
  161. package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.deleteTriggerResponse.html +1 -1
  162. package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.patchTriggerBody.html +1 -1
  163. package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.patchTriggerResponse.html +1 -1
  164. package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.readTriggerResponse.html +1 -1
  165. package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.searchTriggerResponse.html +1 -1
  166. package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.updateTriggerBody.html +1 -1
  167. package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.updateTriggerResponse.html +1 -1
  168. package/src/gen/_models/{readSystemObjectsParams.ts → configServiceReadSystemObjectsParams.ts} +1 -1
  169. package/src/gen/_models/{searchConfigObjectItem.ts → configServiceSearchConfigObjectItem.ts} +3 -3
  170. package/src/gen/_models/{searchConfigParams.ts → configServiceSearchConfigParams.ts} +4 -4
  171. package/src/gen/_models/createSourceParams.ts +5 -0
  172. package/src/gen/_models/engineTriggerObjectType.ts +2 -0
  173. package/src/gen/_models/index.ts +12 -11
  174. package/src/gen/_models/{configServicePatchConfigBody.ts → loggerPatchConfigRequest.ts} +2 -1
  175. package/src/gen/_models/{searchLogByRecordIdActionItem.ts → loggerServiceSearchLogByConfigIdActionItem.ts} +3 -3
  176. package/src/gen/_models/{searchLogByConfigIdParams.ts → loggerServiceSearchLogByConfigIdParams.ts} +3 -3
  177. package/src/gen/_models/{searchLogByUserIdActionItem.ts → loggerServiceSearchLogByRecordIdActionItem.ts} +3 -3
  178. package/src/gen/_models/{searchLogByRecordIdParams.ts → loggerServiceSearchLogByRecordIdParams.ts} +4 -4
  179. package/src/gen/_models/{searchLogByConfigIdActionItem.ts → loggerServiceSearchLogByUserIdActionItem.ts} +3 -3
  180. package/src/gen/_models/{searchLogByUserIdParams.ts → loggerServiceSearchLogByUserIdParams.ts} +5 -5
  181. package/src/gen/_models/{configServiceUpdateConfigBody.ts → loggerUpdateConfigRequest.ts} +2 -1
  182. package/src/gen/_models/protobufAny.ts +2 -1
  183. package/src/gen/_models/runtimeError.ts +14 -0
  184. package/src/gen/_models/webitelCasesInputSource.ts +16 -5
  185. package/src/gen/_models/webitelCasesSource.ts +24 -8
  186. package/src/gen/config-service/config-service.api.gen.ts +34 -31
  187. package/src/gen/config-service/config-service.msw.api.gen.ts +28 -28
  188. package/src/gen/config-service/config-service.zod.gen.ts +20 -18
  189. package/src/gen/logger-service/logger-service.api.gen.ts +23 -13
  190. package/src/gen/logger-service/logger-service.msw.api.gen.ts +12 -12
  191. package/src/gen/logger-service/logger-service.zod.gen.ts +12 -12
  192. package/src/gen/sources/sources.api.gen.ts +2 -3
  193. package/src/gen/sources/sources.msw.api.gen.ts +114 -222
  194. package/src/gen/sources/sources.zod.gen.ts +340 -178
  195. package/src/gen/trigger-service/trigger-service.zod.gen.ts +63 -9
  196. package/types/gen/_models/{readSystemObjectsParams.d.ts → configServiceReadSystemObjectsParams.d.ts} +1 -1
  197. package/types/gen/_models/{searchConfigObjectItem.d.ts → configServiceSearchConfigObjectItem.d.ts} +2 -2
  198. package/types/gen/_models/{searchConfigParams.d.ts → configServiceSearchConfigParams.d.ts} +4 -4
  199. package/types/gen/_models/createSourceParams.d.ts +5 -0
  200. package/types/gen/_models/engineTriggerObjectType.d.ts +2 -0
  201. package/types/gen/_models/index.d.ts +12 -11
  202. package/types/gen/_models/{configServicePatchConfigBody.d.ts → loggerPatchConfigRequest.d.ts} +2 -1
  203. package/types/gen/_models/{searchLogByRecordIdActionItem.d.ts → loggerServiceSearchLogByConfigIdActionItem.d.ts} +2 -2
  204. package/types/gen/_models/{searchLogByConfigIdParams.d.ts → loggerServiceSearchLogByConfigIdParams.d.ts} +3 -3
  205. package/types/gen/_models/{searchLogByUserIdActionItem.d.ts → loggerServiceSearchLogByRecordIdActionItem.d.ts} +2 -2
  206. package/types/gen/_models/{searchLogByRecordIdParams.d.ts → loggerServiceSearchLogByRecordIdParams.d.ts} +4 -4
  207. package/types/gen/_models/{searchLogByConfigIdActionItem.d.ts → loggerServiceSearchLogByUserIdActionItem.d.ts} +2 -2
  208. package/types/gen/_models/{searchLogByUserIdParams.d.ts → loggerServiceSearchLogByUserIdParams.d.ts} +5 -5
  209. package/types/gen/_models/{configServiceUpdateConfigBody.d.ts → loggerUpdateConfigRequest.d.ts} +2 -1
  210. package/types/gen/_models/protobufAny.d.ts +2 -1
  211. package/types/gen/_models/runtimeError.d.ts +13 -0
  212. package/types/gen/_models/webitelCasesInputSource.d.ts +16 -5
  213. package/types/gen/_models/webitelCasesSource.d.ts +24 -8
  214. package/types/gen/config-service/config-service.api.gen.d.ts +15 -15
  215. package/types/gen/config-service/config-service.msw.api.gen.d.ts +14 -14
  216. package/types/gen/config-service/config-service.zod.gen.d.ts +24 -18
  217. package/types/gen/logger-service/logger-service.api.gen.d.ts +7 -7
  218. package/types/gen/logger-service/logger-service.msw.api.gen.d.ts +6 -6
  219. package/types/gen/logger-service/logger-service.zod.gen.d.ts +23 -23
  220. package/types/gen/queue-hook-service/queue-hook-service.zod.gen.d.ts +20 -20
  221. package/types/gen/queue-service/queue-service.zod.gen.d.ts +34 -34
  222. package/types/gen/sources/sources.api.gen.d.ts +2 -2
  223. package/types/gen/sources/sources.zod.gen.d.ts +117 -63
  224. package/types/gen/team-hook-service/team-hook-service.zod.gen.d.ts +20 -20
  225. package/types/gen/trigger-service/trigger-service.zod.gen.d.ts +49 -49
  226. package/types/validations/caseSource/caseSource.validations.d.ts +3 -3
  227. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getCreateConfigMockHandler.html +0 -1
  228. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getCreateConfigResponseMock.html +0 -1
  229. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getDeleteConfigMockHandler.html +0 -1
  230. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getDeleteConfigResponseMock.html +0 -1
  231. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getPatchConfigMockHandler.html +0 -1
  232. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getPatchConfigResponseMock.html +0 -1
  233. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getReadConfigMockHandler.html +0 -1
  234. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getReadConfigResponseMock.html +0 -1
  235. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getReadSystemObjectsMockHandler.html +0 -1
  236. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getReadSystemObjectsResponseMock.html +0 -1
  237. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getSearchConfigMockHandler.html +0 -1
  238. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getSearchConfigResponseMock.html +0 -1
  239. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getUpdateConfigMockHandler.html +0 -1
  240. package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getUpdateConfigResponseMock.html +0 -1
  241. package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getSearchLogByConfigIdMockHandler.html +0 -1
  242. package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getSearchLogByConfigIdResponseMock.html +0 -1
  243. package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getSearchLogByRecordIdMockHandler.html +0 -1
  244. package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getSearchLogByRecordIdResponseMock.html +0 -1
  245. package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getSearchLogByUserIdMockHandler.html +0 -1
  246. package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getSearchLogByUserIdResponseMock.html +0 -1
  247. package/src/gen/_docs/html/interfaces/_models_configServicePatchConfigBody.ConfigServicePatchConfigBody.html +0 -7
  248. package/src/gen/_docs/html/interfaces/_models_configServiceUpdateConfigBody.ConfigServiceUpdateConfigBody.html +0 -6
  249. package/src/gen/_docs/html/modules/_models_configServiceUpdateConfigBody.html +0 -1
  250. package/src/gen/_docs/html/modules/_models_readSystemObjectsParams.html +0 -1
  251. package/src/gen/_docs/html/modules/_models_searchConfigObjectItem.html +0 -1
  252. package/src/gen/_docs/html/modules/_models_searchConfigParams.html +0 -1
  253. package/src/gen/_docs/html/modules/_models_searchLogByConfigIdActionItem.html +0 -1
  254. package/src/gen/_docs/html/modules/_models_searchLogByConfigIdParams.html +0 -1
  255. package/src/gen/_docs/html/modules/_models_searchLogByRecordIdActionItem.html +0 -1
  256. package/src/gen/_docs/html/modules/_models_searchLogByRecordIdParams.html +0 -1
  257. package/src/gen/_docs/html/modules/_models_searchLogByUserIdActionItem.html +0 -1
  258. package/src/gen/_docs/html/modules/_models_searchLogByUserIdParams.html +0 -1
  259. package/src/gen/_docs/html/types/_models_searchConfigObjectItem.SearchConfigObjectItem.html +0 -5
  260. package/src/gen/_docs/html/types/_models_searchLogByConfigIdActionItem.SearchLogByConfigIdActionItem.html +0 -5
  261. package/src/gen/_docs/html/types/_models_searchLogByConfigIdParams.SearchLogByConfigIdParams.html +0 -11
  262. package/src/gen/_docs/html/types/_models_searchLogByRecordIdActionItem.SearchLogByRecordIdActionItem.html +0 -5
  263. package/src/gen/_docs/html/types/_models_searchLogByUserIdActionItem.SearchLogByUserIdActionItem.html +0 -5
  264. package/src/gen/_docs/html/types/config-service_config-service.api.gen.CreateConfigResult.html +0 -1
  265. package/src/gen/_docs/html/types/config-service_config-service.api.gen.DeleteConfigResult.html +0 -1
  266. package/src/gen/_docs/html/types/config-service_config-service.api.gen.PatchConfigResult.html +0 -1
  267. package/src/gen/_docs/html/types/config-service_config-service.api.gen.ReadConfigResult.html +0 -1
  268. package/src/gen/_docs/html/types/config-service_config-service.api.gen.ReadSystemObjectsResult.html +0 -1
  269. package/src/gen/_docs/html/types/config-service_config-service.api.gen.UpdateConfigResult.html +0 -1
  270. package/src/gen/_docs/html/types/logger-service_logger-service.api.gen.SearchLogByConfigIdResult.html +0 -1
  271. package/src/gen/_docs/html/types/logger-service_logger-service.api.gen.SearchLogByRecordIdResult.html +0 -1
  272. package/src/gen/_docs/html/types/logger-service_logger-service.api.gen.SearchLogByUserIdResult.html +0 -1
  273. package/src/gen/_docs/html/variables/_models_searchConfigObjectItem.SearchConfigObjectItem.html +0 -1
  274. package/src/gen/_docs/html/variables/_models_searchLogByConfigIdActionItem.SearchLogByConfigIdActionItem.html +0 -1
  275. package/src/gen/_docs/html/variables/_models_searchLogByRecordIdActionItem.SearchLogByRecordIdActionItem.html +0 -1
  276. package/src/gen/_docs/html/variables/_models_searchLogByUserIdActionItem.SearchLogByUserIdActionItem.html +0 -1
  277. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.createConfigBody.html +0 -1
  278. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.createConfigResponse.html +0 -1
  279. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.deleteConfigParams.html +0 -1
  280. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.deleteConfigResponse.html +0 -1
  281. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.patchConfigBody.html +0 -1
  282. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.patchConfigParams.html +0 -1
  283. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.patchConfigResponse.html +0 -1
  284. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.readConfigParams.html +0 -1
  285. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.readConfigResponse.html +0 -1
  286. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.readSystemObjectsQueryParams.html +0 -1
  287. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.readSystemObjectsResponse.html +0 -1
  288. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.searchConfigQueryParams.html +0 -1
  289. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.searchConfigResponse.html +0 -1
  290. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.updateConfigBody.html +0 -1
  291. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.updateConfigParams.html +0 -1
  292. package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.updateConfigResponse.html +0 -1
  293. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByConfigIdParams.html +0 -1
  294. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByConfigIdQueryParams.html +0 -1
  295. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByConfigIdResponse.html +0 -1
  296. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByRecordIdParams.html +0 -1
  297. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByRecordIdQueryParams.html +0 -1
  298. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByRecordIdResponse.html +0 -1
  299. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByUserIdParams.html +0 -1
  300. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByUserIdQueryParams.html +0 -1
  301. package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByUserIdResponse.html +0 -1
@@ -51,6 +51,12 @@ export const listSourcesQueryParams = zod.object({
51
51
  ),
52
52
  });
53
53
 
54
+ export const listSourcesResponseItemsItemDescriptionMax = 500;
55
+ export const listSourcesResponseItemsItemNameMin = 3;
56
+
57
+ export const listSourcesResponseItemsItemNameMax = 100;
58
+
59
+ export const listSourcesResponseItemsItemNameRegExp = /^[a-zA-Z0-9_\-\s]+$/;
54
60
  export const listSourcesResponseItemsItemTypeDefault = 'TYPE_UNSPECIFIED';
55
61
 
56
62
  export const listSourcesResponse = zod
@@ -59,16 +65,33 @@ export const listSourcesResponse = zod
59
65
  .array(
60
66
  zod
61
67
  .object({
62
- createdAt: zod.string().optional(),
63
- createdBy: zod
64
- .object({
65
- id: zod.string().optional(),
66
- name: zod.string().optional(),
67
- })
68
- .optional(),
69
- description: zod.string().optional(),
70
- id: zod.string().optional(),
71
- name: zod.string().optional(),
68
+ createdAt: zod
69
+ .string()
70
+ .describe(
71
+ 'Unix timestamp representing when the source was created.',
72
+ ),
73
+ createdBy: zod.object({
74
+ id: zod.string().optional(),
75
+ name: zod.string().optional(),
76
+ }),
77
+ description: zod
78
+ .string()
79
+ .max(listSourcesResponseItemsItemDescriptionMax)
80
+ .optional()
81
+ .describe(
82
+ "An optional longer explanation of the source's purpose.",
83
+ ),
84
+ id: zod
85
+ .string()
86
+ .describe(
87
+ 'Unique identifier for the source, generated automatically.',
88
+ ),
89
+ name: zod
90
+ .string()
91
+ .min(listSourcesResponseItemsItemNameMin)
92
+ .max(listSourcesResponseItemsItemNameMax)
93
+ .regex(listSourcesResponseItemsItemNameRegExp)
94
+ .describe('A unique, descriptive name for the source.'),
72
95
  type: zod
73
96
  .enum([
74
97
  'TYPE_UNSPECIFIED',
@@ -79,19 +102,20 @@ export const listSourcesResponse = zod
79
102
  'API',
80
103
  'MANUAL',
81
104
  ])
82
- .default(listSourcesResponseItemsItemTypeDefault)
83
105
  .describe(
84
106
  '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.',
85
107
  ),
86
- updatedAt: zod.string().optional(),
87
- updatedBy: zod
88
- .object({
89
- id: zod.string().optional(),
90
- name: zod.string().optional(),
91
- })
92
- .optional(),
108
+ updatedAt: zod
109
+ .string()
110
+ .describe('Unix timestamp representing the most recent update.'),
111
+ updatedBy: zod.object({
112
+ id: zod.string().optional(),
113
+ name: zod.string().optional(),
114
+ }),
93
115
  })
94
- .describe('Represents a source entity in the contact system.'),
116
+ .describe(
117
+ 'Represents a data source in the contact management system.',
118
+ ),
95
119
  )
96
120
  .optional()
97
121
  .describe('List of sources.'),
@@ -107,47 +131,85 @@ export const listSourcesResponse = zod
107
131
  * @summary Create a new source
108
132
  */
109
133
  export const createSourceQueryParams = zod.object({
110
- fields: zod.array(zod.string()).optional(),
111
- });
112
-
113
- export const createSourceBodyTypeDefault = 'TYPE_UNSPECIFIED';
114
-
115
- export const createSourceBody = zod.object({
116
- description: zod
117
- .string()
134
+ fields: zod
135
+ .array(zod.string())
118
136
  .optional()
119
- .describe('The description of the source.'),
120
- name: zod.string().optional().describe('The name of the source.'),
121
- type: zod
122
- .enum([
123
- 'TYPE_UNSPECIFIED',
124
- 'CALL',
125
- 'CHAT',
126
- 'SOCIAL_MEDIA',
127
- 'EMAIL',
128
- 'API',
129
- 'MANUAL',
130
- ])
131
- .default(createSourceBodyTypeDefault)
132
137
  .describe(
133
- '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.',
138
+ 'Optional list of specific fields to return after creation\n\nSpecific fields to include in response',
134
139
  ),
135
140
  });
136
141
 
142
+ export const createSourceBodyDefault = { name: 'Default Source', type: 'CALL' };
143
+ export const createSourceBodyDescriptionDefault = 'No description provided';
144
+ export const createSourceBodyDescriptionMax = 500;
145
+ export const createSourceBodyNameDefault = 'New Source';
146
+ export const createSourceBodyNameMin = 2;
147
+
148
+ export const createSourceBodyNameMax = 100;
149
+
150
+ export const createSourceBodyNameRegExp = /^[a-zA-Z0-9_\- ]+$/;
151
+ export const createSourceBodyTypeDefault = 'TYPE_UNSPECIFIED';
152
+
153
+ export const createSourceBody = zod
154
+ .object({
155
+ description: zod
156
+ .string()
157
+ .max(createSourceBodyDescriptionMax)
158
+ .default(createSourceBodyDescriptionDefault)
159
+ .describe('A short description of the source'),
160
+ name: zod
161
+ .string()
162
+ .min(createSourceBodyNameMin)
163
+ .max(createSourceBodyNameMax)
164
+ .regex(createSourceBodyNameRegExp)
165
+ .describe('The name of the source'),
166
+ type: zod
167
+ .enum([
168
+ 'TYPE_UNSPECIFIED',
169
+ 'CALL',
170
+ 'CHAT',
171
+ 'SOCIAL_MEDIA',
172
+ 'EMAIL',
173
+ 'API',
174
+ 'MANUAL',
175
+ ])
176
+ .describe(
177
+ '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.',
178
+ ),
179
+ })
180
+ .describe('The data structure representing a source');
181
+
182
+ export const createSourceResponseDescriptionMax = 500;
183
+ export const createSourceResponseNameMin = 3;
184
+
185
+ export const createSourceResponseNameMax = 100;
186
+
187
+ export const createSourceResponseNameRegExp = /^[a-zA-Z0-9_\-\s]+$/;
137
188
  export const createSourceResponseTypeDefault = 'TYPE_UNSPECIFIED';
138
189
 
139
190
  export const createSourceResponse = zod
140
191
  .object({
141
- createdAt: zod.string().optional(),
142
- createdBy: zod
143
- .object({
144
- id: zod.string().optional(),
145
- name: zod.string().optional(),
146
- })
147
- .optional(),
148
- description: zod.string().optional(),
149
- id: zod.string().optional(),
150
- name: zod.string().optional(),
192
+ createdAt: zod
193
+ .string()
194
+ .describe('Unix timestamp representing when the source was created.'),
195
+ createdBy: zod.object({
196
+ id: zod.string().optional(),
197
+ name: zod.string().optional(),
198
+ }),
199
+ description: zod
200
+ .string()
201
+ .max(createSourceResponseDescriptionMax)
202
+ .optional()
203
+ .describe("An optional longer explanation of the source's purpose."),
204
+ id: zod
205
+ .string()
206
+ .describe('Unique identifier for the source, generated automatically.'),
207
+ name: zod
208
+ .string()
209
+ .min(createSourceResponseNameMin)
210
+ .max(createSourceResponseNameMax)
211
+ .regex(createSourceResponseNameRegExp)
212
+ .describe('A unique, descriptive name for the source.'),
151
213
  type: zod
152
214
  .enum([
153
215
  'TYPE_UNSPECIFIED',
@@ -158,19 +220,18 @@ export const createSourceResponse = zod
158
220
  'API',
159
221
  'MANUAL',
160
222
  ])
161
- .default(createSourceResponseTypeDefault)
162
223
  .describe(
163
224
  '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.',
164
225
  ),
165
- updatedAt: zod.string().optional(),
166
- updatedBy: zod
167
- .object({
168
- id: zod.string().optional(),
169
- name: zod.string().optional(),
170
- })
171
- .optional(),
226
+ updatedAt: zod
227
+ .string()
228
+ .describe('Unix timestamp representing the most recent update.'),
229
+ updatedBy: zod.object({
230
+ id: zod.string().optional(),
231
+ name: zod.string().optional(),
232
+ }),
172
233
  })
173
- .describe('Represents a source entity in the contact system.');
234
+ .describe('Represents a data source in the contact management system.');
174
235
 
175
236
  /**
176
237
  * @summary Delete a source
@@ -179,20 +240,37 @@ export const deleteSourceParams = zod.object({
179
240
  id: zod.string().describe('The unique ID of the source to delete.'),
180
241
  });
181
242
 
243
+ export const deleteSourceResponseDescriptionMax = 500;
244
+ export const deleteSourceResponseNameMin = 3;
245
+
246
+ export const deleteSourceResponseNameMax = 100;
247
+
248
+ export const deleteSourceResponseNameRegExp = /^[a-zA-Z0-9_\-\s]+$/;
182
249
  export const deleteSourceResponseTypeDefault = 'TYPE_UNSPECIFIED';
183
250
 
184
251
  export const deleteSourceResponse = zod
185
252
  .object({
186
- createdAt: zod.string().optional(),
187
- createdBy: zod
188
- .object({
189
- id: zod.string().optional(),
190
- name: zod.string().optional(),
191
- })
192
- .optional(),
193
- description: zod.string().optional(),
194
- id: zod.string().optional(),
195
- name: zod.string().optional(),
253
+ createdAt: zod
254
+ .string()
255
+ .describe('Unix timestamp representing when the source was created.'),
256
+ createdBy: zod.object({
257
+ id: zod.string().optional(),
258
+ name: zod.string().optional(),
259
+ }),
260
+ description: zod
261
+ .string()
262
+ .max(deleteSourceResponseDescriptionMax)
263
+ .optional()
264
+ .describe("An optional longer explanation of the source's purpose."),
265
+ id: zod
266
+ .string()
267
+ .describe('Unique identifier for the source, generated automatically.'),
268
+ name: zod
269
+ .string()
270
+ .min(deleteSourceResponseNameMin)
271
+ .max(deleteSourceResponseNameMax)
272
+ .regex(deleteSourceResponseNameRegExp)
273
+ .describe('A unique, descriptive name for the source.'),
196
274
  type: zod
197
275
  .enum([
198
276
  'TYPE_UNSPECIFIED',
@@ -203,19 +281,18 @@ export const deleteSourceResponse = zod
203
281
  'API',
204
282
  'MANUAL',
205
283
  ])
206
- .default(deleteSourceResponseTypeDefault)
207
284
  .describe(
208
285
  '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.',
209
286
  ),
210
- updatedAt: zod.string().optional(),
211
- updatedBy: zod
212
- .object({
213
- id: zod.string().optional(),
214
- name: zod.string().optional(),
215
- })
216
- .optional(),
287
+ updatedAt: zod
288
+ .string()
289
+ .describe('Unix timestamp representing the most recent update.'),
290
+ updatedBy: zod.object({
291
+ id: zod.string().optional(),
292
+ name: zod.string().optional(),
293
+ }),
217
294
  })
218
- .describe('Represents a source entity in the contact system.');
295
+ .describe('Represents a data source in the contact management system.');
219
296
 
220
297
  /**
221
298
  * @summary Locate a source by ID
@@ -231,22 +308,41 @@ export const locateSourceQueryParams = zod.object({
231
308
  .describe('Fields to be retrieved into result.'),
232
309
  });
233
310
 
311
+ export const locateSourceResponseSourceDescriptionMax = 500;
312
+ export const locateSourceResponseSourceNameMin = 3;
313
+
314
+ export const locateSourceResponseSourceNameMax = 100;
315
+
316
+ export const locateSourceResponseSourceNameRegExp = /^[a-zA-Z0-9_\-\s]+$/;
234
317
  export const locateSourceResponseSourceTypeDefault = 'TYPE_UNSPECIFIED';
235
318
 
236
319
  export const locateSourceResponse = zod
237
320
  .object({
238
321
  source: zod
239
322
  .object({
240
- createdAt: zod.string().optional(),
241
- createdBy: zod
242
- .object({
243
- id: zod.string().optional(),
244
- name: zod.string().optional(),
245
- })
246
- .optional(),
247
- description: zod.string().optional(),
248
- id: zod.string().optional(),
249
- name: zod.string().optional(),
323
+ createdAt: zod
324
+ .string()
325
+ .describe('Unix timestamp representing when the source was created.'),
326
+ createdBy: zod.object({
327
+ id: zod.string().optional(),
328
+ name: zod.string().optional(),
329
+ }),
330
+ description: zod
331
+ .string()
332
+ .max(locateSourceResponseSourceDescriptionMax)
333
+ .optional()
334
+ .describe("An optional longer explanation of the source's purpose."),
335
+ id: zod
336
+ .string()
337
+ .describe(
338
+ 'Unique identifier for the source, generated automatically.',
339
+ ),
340
+ name: zod
341
+ .string()
342
+ .min(locateSourceResponseSourceNameMin)
343
+ .max(locateSourceResponseSourceNameMax)
344
+ .regex(locateSourceResponseSourceNameRegExp)
345
+ .describe('A unique, descriptive name for the source.'),
250
346
  type: zod
251
347
  .enum([
252
348
  'TYPE_UNSPECIFIED',
@@ -257,20 +353,19 @@ export const locateSourceResponse = zod
257
353
  'API',
258
354
  'MANUAL',
259
355
  ])
260
- .default(locateSourceResponseSourceTypeDefault)
261
356
  .describe(
262
357
  '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.',
263
358
  ),
264
- updatedAt: zod.string().optional(),
265
- updatedBy: zod
266
- .object({
267
- id: zod.string().optional(),
268
- name: zod.string().optional(),
269
- })
270
- .optional(),
359
+ updatedAt: zod
360
+ .string()
361
+ .describe('Unix timestamp representing the most recent update.'),
362
+ updatedBy: zod.object({
363
+ id: zod.string().optional(),
364
+ name: zod.string().optional(),
365
+ }),
271
366
  })
272
367
  .optional()
273
- .describe('Represents a source entity in the contact system.'),
368
+ .describe('Represents a data source in the contact management system.'),
274
369
  })
275
370
  .describe('Response message for locating a source.');
276
371
 
@@ -285,44 +380,80 @@ export const updateSource2QueryParams = zod.object({
285
380
  fields: zod.array(zod.string()).optional(),
286
381
  });
287
382
 
383
+ export const updateSource2BodyDefault = {
384
+ name: 'Default Source',
385
+ type: 'CALL',
386
+ };
387
+ export const updateSource2BodyDescriptionDefault = 'No description provided';
388
+ export const updateSource2BodyDescriptionMax = 500;
389
+ export const updateSource2BodyNameDefault = 'New Source';
390
+ export const updateSource2BodyNameMin = 2;
391
+
392
+ export const updateSource2BodyNameMax = 100;
393
+
394
+ export const updateSource2BodyNameRegExp = /^[a-zA-Z0-9_\- ]+$/;
288
395
  export const updateSource2BodyTypeDefault = 'TYPE_UNSPECIFIED';
289
396
 
290
- export const updateSource2Body = zod.object({
291
- description: zod
292
- .string()
293
- .optional()
294
- .describe('The description of the source.'),
295
- name: zod.string().optional().describe('The name of the source.'),
296
- type: zod
297
- .enum([
298
- 'TYPE_UNSPECIFIED',
299
- 'CALL',
300
- 'CHAT',
301
- 'SOCIAL_MEDIA',
302
- 'EMAIL',
303
- 'API',
304
- 'MANUAL',
305
- ])
306
- .default(updateSource2BodyTypeDefault)
307
- .describe(
308
- '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.',
309
- ),
310
- });
397
+ export const updateSource2Body = zod
398
+ .object({
399
+ description: zod
400
+ .string()
401
+ .max(updateSource2BodyDescriptionMax)
402
+ .default(updateSource2BodyDescriptionDefault)
403
+ .describe('A short description of the source'),
404
+ name: zod
405
+ .string()
406
+ .min(updateSource2BodyNameMin)
407
+ .max(updateSource2BodyNameMax)
408
+ .regex(updateSource2BodyNameRegExp)
409
+ .describe('The name of the source'),
410
+ type: zod
411
+ .enum([
412
+ 'TYPE_UNSPECIFIED',
413
+ 'CALL',
414
+ 'CHAT',
415
+ 'SOCIAL_MEDIA',
416
+ 'EMAIL',
417
+ 'API',
418
+ 'MANUAL',
419
+ ])
420
+ .describe(
421
+ '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.',
422
+ ),
423
+ })
424
+ .describe('The data structure representing a source');
311
425
 
426
+ export const updateSource2ResponseDescriptionMax = 500;
427
+ export const updateSource2ResponseNameMin = 3;
428
+
429
+ export const updateSource2ResponseNameMax = 100;
430
+
431
+ export const updateSource2ResponseNameRegExp = /^[a-zA-Z0-9_\-\s]+$/;
312
432
  export const updateSource2ResponseTypeDefault = 'TYPE_UNSPECIFIED';
313
433
 
314
434
  export const updateSource2Response = zod
315
435
  .object({
316
- createdAt: zod.string().optional(),
317
- createdBy: zod
318
- .object({
319
- id: zod.string().optional(),
320
- name: zod.string().optional(),
321
- })
322
- .optional(),
323
- description: zod.string().optional(),
324
- id: zod.string().optional(),
325
- name: zod.string().optional(),
436
+ createdAt: zod
437
+ .string()
438
+ .describe('Unix timestamp representing when the source was created.'),
439
+ createdBy: zod.object({
440
+ id: zod.string().optional(),
441
+ name: zod.string().optional(),
442
+ }),
443
+ description: zod
444
+ .string()
445
+ .max(updateSource2ResponseDescriptionMax)
446
+ .optional()
447
+ .describe("An optional longer explanation of the source's purpose."),
448
+ id: zod
449
+ .string()
450
+ .describe('Unique identifier for the source, generated automatically.'),
451
+ name: zod
452
+ .string()
453
+ .min(updateSource2ResponseNameMin)
454
+ .max(updateSource2ResponseNameMax)
455
+ .regex(updateSource2ResponseNameRegExp)
456
+ .describe('A unique, descriptive name for the source.'),
326
457
  type: zod
327
458
  .enum([
328
459
  'TYPE_UNSPECIFIED',
@@ -333,19 +464,18 @@ export const updateSource2Response = zod
333
464
  'API',
334
465
  'MANUAL',
335
466
  ])
336
- .default(updateSource2ResponseTypeDefault)
337
467
  .describe(
338
468
  '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.',
339
469
  ),
340
- updatedAt: zod.string().optional(),
341
- updatedBy: zod
342
- .object({
343
- id: zod.string().optional(),
344
- name: zod.string().optional(),
345
- })
346
- .optional(),
470
+ updatedAt: zod
471
+ .string()
472
+ .describe('Unix timestamp representing the most recent update.'),
473
+ updatedBy: zod.object({
474
+ id: zod.string().optional(),
475
+ name: zod.string().optional(),
476
+ }),
347
477
  })
348
- .describe('Represents a source entity in the contact system.');
478
+ .describe('Represents a data source in the contact management system.');
349
479
 
350
480
  /**
351
481
  * @summary Update an existing source
@@ -358,44 +488,77 @@ export const updateSourceQueryParams = zod.object({
358
488
  fields: zod.array(zod.string()).optional(),
359
489
  });
360
490
 
491
+ export const updateSourceBodyDefault = { name: 'Default Source', type: 'CALL' };
492
+ export const updateSourceBodyDescriptionDefault = 'No description provided';
493
+ export const updateSourceBodyDescriptionMax = 500;
494
+ export const updateSourceBodyNameDefault = 'New Source';
495
+ export const updateSourceBodyNameMin = 2;
496
+
497
+ export const updateSourceBodyNameMax = 100;
498
+
499
+ export const updateSourceBodyNameRegExp = /^[a-zA-Z0-9_\- ]+$/;
361
500
  export const updateSourceBodyTypeDefault = 'TYPE_UNSPECIFIED';
362
501
 
363
- export const updateSourceBody = zod.object({
364
- description: zod
365
- .string()
366
- .optional()
367
- .describe('The description of the source.'),
368
- name: zod.string().optional().describe('The name of the source.'),
369
- type: zod
370
- .enum([
371
- 'TYPE_UNSPECIFIED',
372
- 'CALL',
373
- 'CHAT',
374
- 'SOCIAL_MEDIA',
375
- 'EMAIL',
376
- 'API',
377
- 'MANUAL',
378
- ])
379
- .default(updateSourceBodyTypeDefault)
380
- .describe(
381
- '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.',
382
- ),
383
- });
502
+ export const updateSourceBody = zod
503
+ .object({
504
+ description: zod
505
+ .string()
506
+ .max(updateSourceBodyDescriptionMax)
507
+ .default(updateSourceBodyDescriptionDefault)
508
+ .describe('A short description of the source'),
509
+ name: zod
510
+ .string()
511
+ .min(updateSourceBodyNameMin)
512
+ .max(updateSourceBodyNameMax)
513
+ .regex(updateSourceBodyNameRegExp)
514
+ .describe('The name of the source'),
515
+ type: zod
516
+ .enum([
517
+ 'TYPE_UNSPECIFIED',
518
+ 'CALL',
519
+ 'CHAT',
520
+ 'SOCIAL_MEDIA',
521
+ 'EMAIL',
522
+ 'API',
523
+ 'MANUAL',
524
+ ])
525
+ .describe(
526
+ '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.',
527
+ ),
528
+ })
529
+ .describe('The data structure representing a source');
384
530
 
531
+ export const updateSourceResponseDescriptionMax = 500;
532
+ export const updateSourceResponseNameMin = 3;
533
+
534
+ export const updateSourceResponseNameMax = 100;
535
+
536
+ export const updateSourceResponseNameRegExp = /^[a-zA-Z0-9_\-\s]+$/;
385
537
  export const updateSourceResponseTypeDefault = 'TYPE_UNSPECIFIED';
386
538
 
387
539
  export const updateSourceResponse = zod
388
540
  .object({
389
- createdAt: zod.string().optional(),
390
- createdBy: zod
391
- .object({
392
- id: zod.string().optional(),
393
- name: zod.string().optional(),
394
- })
395
- .optional(),
396
- description: zod.string().optional(),
397
- id: zod.string().optional(),
398
- name: zod.string().optional(),
541
+ createdAt: zod
542
+ .string()
543
+ .describe('Unix timestamp representing when the source was created.'),
544
+ createdBy: zod.object({
545
+ id: zod.string().optional(),
546
+ name: zod.string().optional(),
547
+ }),
548
+ description: zod
549
+ .string()
550
+ .max(updateSourceResponseDescriptionMax)
551
+ .optional()
552
+ .describe("An optional longer explanation of the source's purpose."),
553
+ id: zod
554
+ .string()
555
+ .describe('Unique identifier for the source, generated automatically.'),
556
+ name: zod
557
+ .string()
558
+ .min(updateSourceResponseNameMin)
559
+ .max(updateSourceResponseNameMax)
560
+ .regex(updateSourceResponseNameRegExp)
561
+ .describe('A unique, descriptive name for the source.'),
399
562
  type: zod
400
563
  .enum([
401
564
  'TYPE_UNSPECIFIED',
@@ -406,16 +569,15 @@ export const updateSourceResponse = zod
406
569
  'API',
407
570
  'MANUAL',
408
571
  ])
409
- .default(updateSourceResponseTypeDefault)
410
572
  .describe(
411
573
  '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.',
412
574
  ),
413
- updatedAt: zod.string().optional(),
414
- updatedBy: zod
415
- .object({
416
- id: zod.string().optional(),
417
- name: zod.string().optional(),
418
- })
419
- .optional(),
575
+ updatedAt: zod
576
+ .string()
577
+ .describe('Unix timestamp representing the most recent update.'),
578
+ updatedBy: zod.object({
579
+ id: zod.string().optional(),
580
+ name: zod.string().optional(),
581
+ }),
420
582
  })
421
- .describe('Represents a source entity in the contact system.');
583
+ .describe('Represents a data source in the contact management system.');