@webitel/api-services 0.1.41 → 0.1.42

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 (199) hide show
  1. package/package.json +2 -2
  2. package/src/gen/_models/apiGeneratePasswordRequest.ts +12 -0
  3. package/src/gen/_models/apiGeneratePasswordRequest.zod.ts +12 -0
  4. package/src/gen/_models/{updateUser2BodyProfile.ts → apiGeneratePasswordResponse.ts} +3 -3
  5. package/src/gen/_models/{updateUser2BodyProfile.zod.ts → apiGeneratePasswordResponse.zod.ts} +3 -3
  6. package/src/gen/_models/{updateUserBody.ts → apiInputUser.ts} +9 -15
  7. package/src/gen/_models/{updateUserBody.zod.ts → apiInputUser.zod.ts} +9 -15
  8. package/src/gen/_models/apiInputUserBody.ts +12 -0
  9. package/src/gen/_models/apiInputUserBody.zod.ts +12 -0
  10. package/src/gen/_models/apiInputUserDevice.ts +13 -0
  11. package/src/gen/_models/apiInputUserDevice.zod.ts +13 -0
  12. package/src/gen/_models/{updateUserBodyProfile.ts → apiInputUserProfile.ts} +1 -1
  13. package/src/gen/_models/{updateUserBodyProfile.zod.ts → apiInputUserProfile.zod.ts} +1 -1
  14. package/src/gen/_models/apiUser.ts +7 -7
  15. package/src/gen/_models/apiUser.zod.ts +7 -7
  16. package/src/gen/_models/apiUserinfo.ts +1 -0
  17. package/src/gen/_models/apiUserinfo.zod.ts +1 -0
  18. package/src/gen/_models/contactsCreateContactError.ts +20 -0
  19. package/src/gen/_models/contactsCreateContactError.zod.ts +20 -0
  20. package/src/gen/_models/contactsCreateContactsBulkResponse.ts +20 -0
  21. package/src/gen/_models/contactsCreateContactsBulkResponse.zod.ts +20 -0
  22. package/src/gen/_models/createContactsParams.ts +13 -0
  23. package/src/gen/_models/createContactsParams.zod.ts +13 -0
  24. package/src/gen/_models/createUserParams.ts +31 -0
  25. package/src/gen/_models/createUserParams.zod.ts +31 -0
  26. package/src/gen/_models/engineSystemSettingName.ts +2 -0
  27. package/src/gen/_models/engineSystemSettingName.zod.ts +2 -0
  28. package/src/gen/_models/index.ts +15 -9
  29. package/src/gen/_models/index.zod.ts +15 -9
  30. package/src/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.ts +49 -0
  31. package/src/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.zod.ts +49 -0
  32. package/src/gen/_models/searchSystemSettingNameItem.ts +2 -0
  33. package/src/gen/_models/searchSystemSettingNameItem.zod.ts +2 -0
  34. package/src/gen/_models/signupParams.ts +5 -0
  35. package/src/gen/_models/signupParams.zod.ts +5 -0
  36. package/src/gen/_models/webitelCasesInputPriority.ts +5 -2
  37. package/src/gen/_models/webitelCasesInputPriority.zod.ts +5 -2
  38. package/src/gen/_models/webitelCasesPriority.ts +10 -7
  39. package/src/gen/_models/webitelCasesPriority.zod.ts +10 -7
  40. package/src/gen/_models/webitelImApiGatewayV1SendContactRequest.ts +2 -0
  41. package/src/gen/_models/webitelImApiGatewayV1SendContactRequest.zod.ts +2 -0
  42. package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequest.ts +2 -0
  43. package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequest.zod.ts +2 -0
  44. package/src/gen/_models/webitelImApiGatewayV1SendImageRequest.ts +2 -0
  45. package/src/gen/_models/webitelImApiGatewayV1SendImageRequest.zod.ts +2 -0
  46. package/src/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.ts +2 -0
  47. package/src/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.zod.ts +2 -0
  48. package/src/gen/_models/webitelImApiGatewayV1SendLocationRequest.ts +2 -0
  49. package/src/gen/_models/webitelImApiGatewayV1SendLocationRequest.zod.ts +2 -0
  50. package/src/gen/_models/webitelImApiGatewayV1SendTextRequest.ts +2 -0
  51. package/src/gen/_models/webitelImApiGatewayV1SendTextRequest.zod.ts +2 -0
  52. package/src/gen/_models/webitelImProviderV1CreateGateRequest.ts +17 -0
  53. package/src/gen/_models/webitelImProviderV1CreateGateRequest.zod.ts +17 -0
  54. package/src/gen/_models/webitelImProviderV1CreateWABAGateRequest.ts +14 -0
  55. package/src/gen/_models/webitelImProviderV1CreateWABAGateRequest.zod.ts +14 -0
  56. package/src/gen/_models/webitelImProviderV1GateResponse.ts +21 -0
  57. package/src/gen/_models/webitelImProviderV1GateResponse.zod.ts +21 -0
  58. package/src/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.ts +1 -0
  59. package/src/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.zod.ts +1 -0
  60. package/src/gen/_models/webitelImProviderV1ProviderSendImageRequest.ts +1 -0
  61. package/src/gen/_models/webitelImProviderV1ProviderSendImageRequest.zod.ts +1 -0
  62. package/src/gen/_models/webitelImProviderV1ProviderSendTextRequest.ts +1 -0
  63. package/src/gen/_models/webitelImProviderV1ProviderSendTextRequest.zod.ts +1 -0
  64. package/src/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.ts +16 -0
  65. package/src/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.zod.ts +16 -0
  66. package/src/gen/auth/auth.msw.ts +18 -0
  67. package/src/gen/auth/auth.zod.ts +8 -0
  68. package/src/gen/cases/cases.msw.ts +1093 -1387
  69. package/src/gen/cases/cases.zod.ts +210 -245
  70. package/src/gen/catalogs/catalogs.msw.ts +836 -1088
  71. package/src/gen/catalogs/catalogs.zod.ts +198 -216
  72. package/src/gen/contacts/contacts.msw.ts +2900 -1
  73. package/src/gen/contacts/contacts.ts +21 -0
  74. package/src/gen/contacts/contacts.zod.ts +2083 -0
  75. package/src/gen/priorities/priorities.msw.ts +408 -534
  76. package/src/gen/priorities/priorities.zod.ts +108 -113
  77. package/src/gen/services/services.msw.ts +613 -802
  78. package/src/gen/services/services.zod.ts +96 -108
  79. package/src/gen/system-setting-service/system-setting-service.zod.ts +16 -0
  80. package/src/gen/users/users.msw.ts +434 -397
  81. package/src/gen/users/users.ts +46 -57
  82. package/src/gen/users/users.zod.ts +443 -459
  83. package/src/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.ts +42 -0
  84. package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.msw.ts +931 -0
  85. package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.ts +27 -0
  86. package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +576 -0
  87. package/src/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.ts +3 -0
  88. package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.msw.ts +94 -19
  89. package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.ts +6 -8
  90. package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.zod.ts +64 -42
  91. package/types/gen/_models/apiGeneratePasswordRequest.d.ts +11 -0
  92. package/types/gen/_models/apiGeneratePasswordRequest.zod.d.ts +11 -0
  93. package/types/gen/_models/apiGeneratePasswordResponse.d.ts +9 -0
  94. package/types/gen/_models/apiGeneratePasswordResponse.zod.d.ts +9 -0
  95. package/types/gen/_models/{updateUserBody.d.ts → apiInputUser.d.ts} +9 -15
  96. package/types/gen/_models/{updateUserBody.zod.d.ts → apiInputUser.zod.d.ts} +9 -15
  97. package/types/gen/_models/apiInputUserBody.d.ts +11 -0
  98. package/types/gen/_models/apiInputUserBody.zod.d.ts +11 -0
  99. package/types/gen/_models/apiInputUserDevice.d.ts +12 -0
  100. package/types/gen/_models/apiInputUserDevice.zod.d.ts +12 -0
  101. package/types/gen/_models/{updateUserBodyProfile.d.ts → apiInputUserProfile.d.ts} +1 -1
  102. package/types/gen/_models/{updateUserBodyProfile.zod.d.ts → apiInputUserProfile.zod.d.ts} +1 -1
  103. package/types/gen/_models/apiUser.d.ts +7 -7
  104. package/types/gen/_models/apiUser.zod.d.ts +7 -7
  105. package/types/gen/_models/apiUserinfo.d.ts +1 -0
  106. package/types/gen/_models/apiUserinfo.zod.d.ts +1 -0
  107. package/types/gen/_models/contactsCreateContactError.d.ts +19 -0
  108. package/types/gen/_models/contactsCreateContactError.zod.d.ts +19 -0
  109. package/types/gen/_models/contactsCreateContactsBulkResponse.d.ts +19 -0
  110. package/types/gen/_models/contactsCreateContactsBulkResponse.zod.d.ts +19 -0
  111. package/types/gen/_models/createContactsParams.d.ts +12 -0
  112. package/types/gen/_models/createContactsParams.zod.d.ts +12 -0
  113. package/types/gen/_models/createUserParams.d.ts +30 -0
  114. package/types/gen/_models/createUserParams.zod.d.ts +30 -0
  115. package/types/gen/_models/engineSystemSettingName.d.ts +2 -0
  116. package/types/gen/_models/engineSystemSettingName.zod.d.ts +2 -0
  117. package/types/gen/_models/index.zod.d.ts +15 -9
  118. package/types/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.d.ts +48 -0
  119. package/types/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.zod.d.ts +48 -0
  120. package/types/gen/_models/searchSystemSettingNameItem.d.ts +2 -0
  121. package/types/gen/_models/searchSystemSettingNameItem.zod.d.ts +2 -0
  122. package/types/gen/_models/signupParams.d.ts +5 -0
  123. package/types/gen/_models/signupParams.zod.d.ts +5 -0
  124. package/types/gen/_models/webitelCasesInputPriority.d.ts +5 -2
  125. package/types/gen/_models/webitelCasesInputPriority.zod.d.ts +5 -2
  126. package/types/gen/_models/webitelCasesPriority.d.ts +10 -7
  127. package/types/gen/_models/webitelCasesPriority.zod.d.ts +10 -7
  128. package/types/gen/_models/webitelImApiGatewayV1SendContactRequest.d.ts +2 -0
  129. package/types/gen/_models/webitelImApiGatewayV1SendContactRequest.zod.d.ts +2 -0
  130. package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequest.d.ts +2 -0
  131. package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequest.zod.d.ts +2 -0
  132. package/types/gen/_models/webitelImApiGatewayV1SendImageRequest.d.ts +2 -0
  133. package/types/gen/_models/webitelImApiGatewayV1SendImageRequest.zod.d.ts +2 -0
  134. package/types/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.d.ts +2 -0
  135. package/types/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.zod.d.ts +2 -0
  136. package/types/gen/_models/webitelImApiGatewayV1SendLocationRequest.d.ts +2 -0
  137. package/types/gen/_models/webitelImApiGatewayV1SendLocationRequest.zod.d.ts +2 -0
  138. package/types/gen/_models/webitelImApiGatewayV1SendTextRequest.d.ts +2 -0
  139. package/types/gen/_models/webitelImApiGatewayV1SendTextRequest.zod.d.ts +2 -0
  140. package/types/gen/_models/webitelImProviderV1CreateGateRequest.d.ts +16 -0
  141. package/types/gen/_models/webitelImProviderV1CreateGateRequest.zod.d.ts +16 -0
  142. package/types/gen/_models/webitelImProviderV1CreateWABAGateRequest.d.ts +13 -0
  143. package/types/gen/_models/webitelImProviderV1CreateWABAGateRequest.zod.d.ts +13 -0
  144. package/types/gen/_models/webitelImProviderV1GateResponse.d.ts +20 -0
  145. package/types/gen/_models/webitelImProviderV1GateResponse.zod.d.ts +20 -0
  146. package/types/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.d.ts +1 -0
  147. package/types/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.zod.d.ts +1 -0
  148. package/types/gen/_models/webitelImProviderV1ProviderSendImageRequest.d.ts +1 -0
  149. package/types/gen/_models/webitelImProviderV1ProviderSendImageRequest.zod.d.ts +1 -0
  150. package/types/gen/_models/webitelImProviderV1ProviderSendTextRequest.d.ts +1 -0
  151. package/types/gen/_models/webitelImProviderV1ProviderSendTextRequest.zod.d.ts +1 -0
  152. package/types/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.d.ts +15 -0
  153. package/types/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.zod.d.ts +15 -0
  154. package/types/gen/auth/auth.zod.d.ts +3 -0
  155. package/types/gen/cases/cases.zod.d.ts +126 -126
  156. package/types/gen/catalogs/catalogs.zod.d.ts +108 -108
  157. package/types/gen/contacts/contacts.d.ts +3 -1
  158. package/types/gen/contacts/contacts.msw.d.ts +3 -1
  159. package/types/gen/contacts/contacts.zod.d.ts +665 -0
  160. package/types/gen/priorities/priorities.zod.d.ts +60 -60
  161. package/types/gen/services/services.zod.d.ts +54 -54
  162. package/types/gen/system-setting-service/system-setting-service.zod.d.ts +16 -0
  163. package/types/gen/users/users.d.ts +8 -25
  164. package/types/gen/users/users.msw.d.ts +7 -5
  165. package/types/gen/users/users.zod.d.ts +136 -139
  166. package/types/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.d.ts +30 -0
  167. package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.d.ts +3 -1
  168. package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.msw.d.ts +2 -0
  169. package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +167 -0
  170. package/types/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.d.ts +3 -0
  171. package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.d.ts +3 -3
  172. package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.msw.d.ts +3 -3
  173. package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.zod.d.ts +40 -17
  174. package/src/gen/_models/apiCreateUserRequest.ts +0 -13
  175. package/src/gen/_models/apiCreateUserRequest.zod.ts +0 -13
  176. package/src/gen/_models/updateUser2Body.ts +0 -45
  177. package/src/gen/_models/updateUser2Body.zod.ts +0 -45
  178. package/src/gen/_models/updateUserUserBody.ts +0 -45
  179. package/src/gen/_models/updateUserUserBody.zod.ts +0 -45
  180. package/src/gen/_models/updateUserUserBodyProfile.ts +0 -10
  181. package/src/gen/_models/updateUserUserBodyProfile.zod.ts +0 -10
  182. package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.ts +0 -17
  183. package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.zod.ts +0 -17
  184. package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.ts +0 -14
  185. package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.zod.ts +0 -14
  186. package/types/gen/_models/apiCreateUserRequest.d.ts +0 -12
  187. package/types/gen/_models/apiCreateUserRequest.zod.d.ts +0 -12
  188. package/types/gen/_models/updateUser2Body.d.ts +0 -44
  189. package/types/gen/_models/updateUser2Body.zod.d.ts +0 -44
  190. package/types/gen/_models/updateUser2BodyProfile.d.ts +0 -9
  191. package/types/gen/_models/updateUser2BodyProfile.zod.d.ts +0 -9
  192. package/types/gen/_models/updateUserUserBody.d.ts +0 -44
  193. package/types/gen/_models/updateUserUserBody.zod.d.ts +0 -44
  194. package/types/gen/_models/updateUserUserBodyProfile.d.ts +0 -9
  195. package/types/gen/_models/updateUserUserBodyProfile.zod.d.ts +0 -9
  196. package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.d.ts +0 -16
  197. package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.zod.d.ts +0 -16
  198. package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.d.ts +0 -13
  199. package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.zod.d.ts +0 -13
@@ -308,24 +308,20 @@ export const SearchCasesResponse = zod
308
308
  .describe('Planned resolution time (in milliseconds).'),
309
309
  priority: zod
310
310
  .object({
311
- color: zod.string().optional(),
312
- createdAt: zod.string().optional(),
313
- createdBy: zod
314
- .object({
315
- id: zod.string().optional(),
316
- name: zod.string().optional(),
317
- })
318
- .optional(),
311
+ color: zod.string(),
312
+ createdAt: zod.string(),
313
+ createdBy: zod.object({
314
+ id: zod.string().optional(),
315
+ name: zod.string().optional(),
316
+ }),
319
317
  description: zod.string().optional(),
320
- id: zod.string().optional(),
321
- name: zod.string().optional(),
322
- updatedAt: zod.string().optional(),
323
- updatedBy: zod
324
- .object({
325
- id: zod.string().optional(),
326
- name: zod.string().optional(),
327
- })
328
- .optional(),
318
+ id: zod.string(),
319
+ name: zod.string(),
320
+ updatedAt: zod.string(),
321
+ updatedBy: zod.object({
322
+ id: zod.string().optional(),
323
+ name: zod.string().optional(),
324
+ }),
329
325
  })
330
326
  .optional()
331
327
  .describe('Priority level of the case.'),
@@ -460,26 +456,25 @@ export const SearchCasesResponse = zod
460
456
  .optional(),
461
457
  defaultPriority: zod
462
458
  .object({
463
- color: zod.string().optional(),
464
- createdAt: zod.string().optional(),
465
- createdBy: zod
466
- .object({
467
- id: zod.string().optional(),
468
- name: zod.string().optional(),
469
- })
470
- .optional(),
459
+ color: zod.string(),
460
+ createdAt: zod.string(),
461
+ createdBy: zod.object({
462
+ id: zod.string().optional(),
463
+ name: zod.string().optional(),
464
+ }),
471
465
  description: zod.string().optional(),
472
- id: zod.string().optional(),
473
- name: zod.string().optional(),
474
- updatedAt: zod.string().optional(),
475
- updatedBy: zod
476
- .object({
477
- id: zod.string().optional(),
478
- name: zod.string().optional(),
479
- })
480
- .optional(),
466
+ id: zod.string(),
467
+ name: zod.string(),
468
+ updatedAt: zod.string(),
469
+ updatedBy: zod.object({
470
+ id: zod.string().optional(),
471
+ name: zod.string().optional(),
472
+ }),
481
473
  })
482
- .optional(),
474
+ .optional()
475
+ .describe(
476
+ 'Priority message represents a priority entity with metadata.',
477
+ ),
483
478
  description: zod.string().optional(),
484
479
  group: zod
485
480
  .object({
@@ -1038,24 +1033,20 @@ export const CreateCaseResponse = zod
1038
1033
  .describe('Planned resolution time (in milliseconds).'),
1039
1034
  priority: zod
1040
1035
  .object({
1041
- color: zod.string().optional(),
1042
- createdAt: zod.string().optional(),
1043
- createdBy: zod
1044
- .object({
1045
- id: zod.string().optional(),
1046
- name: zod.string().optional(),
1047
- })
1048
- .optional(),
1036
+ color: zod.string(),
1037
+ createdAt: zod.string(),
1038
+ createdBy: zod.object({
1039
+ id: zod.string().optional(),
1040
+ name: zod.string().optional(),
1041
+ }),
1049
1042
  description: zod.string().optional(),
1050
- id: zod.string().optional(),
1051
- name: zod.string().optional(),
1052
- updatedAt: zod.string().optional(),
1053
- updatedBy: zod
1054
- .object({
1055
- id: zod.string().optional(),
1056
- name: zod.string().optional(),
1057
- })
1058
- .optional(),
1043
+ id: zod.string(),
1044
+ name: zod.string(),
1045
+ updatedAt: zod.string(),
1046
+ updatedBy: zod.object({
1047
+ id: zod.string().optional(),
1048
+ name: zod.string().optional(),
1049
+ }),
1059
1050
  })
1060
1051
  .optional()
1061
1052
  .describe('Priority level of the case.'),
@@ -1186,26 +1177,25 @@ export const CreateCaseResponse = zod
1186
1177
  .optional(),
1187
1178
  defaultPriority: zod
1188
1179
  .object({
1189
- color: zod.string().optional(),
1190
- createdAt: zod.string().optional(),
1191
- createdBy: zod
1192
- .object({
1193
- id: zod.string().optional(),
1194
- name: zod.string().optional(),
1195
- })
1196
- .optional(),
1180
+ color: zod.string(),
1181
+ createdAt: zod.string(),
1182
+ createdBy: zod.object({
1183
+ id: zod.string().optional(),
1184
+ name: zod.string().optional(),
1185
+ }),
1197
1186
  description: zod.string().optional(),
1198
- id: zod.string().optional(),
1199
- name: zod.string().optional(),
1200
- updatedAt: zod.string().optional(),
1201
- updatedBy: zod
1202
- .object({
1203
- id: zod.string().optional(),
1204
- name: zod.string().optional(),
1205
- })
1206
- .optional(),
1187
+ id: zod.string(),
1188
+ name: zod.string(),
1189
+ updatedAt: zod.string(),
1190
+ updatedBy: zod.object({
1191
+ id: zod.string().optional(),
1192
+ name: zod.string().optional(),
1193
+ }),
1207
1194
  })
1208
- .optional(),
1195
+ .optional()
1196
+ .describe(
1197
+ 'Priority message represents a priority entity with metadata.',
1198
+ ),
1209
1199
  description: zod.string().optional(),
1210
1200
  group: zod
1211
1201
  .object({
@@ -1622,24 +1612,20 @@ export const DeleteCaseResponse = zod
1622
1612
  .describe('Planned resolution time (in milliseconds).'),
1623
1613
  priority: zod
1624
1614
  .object({
1625
- color: zod.string().optional(),
1626
- createdAt: zod.string().optional(),
1627
- createdBy: zod
1628
- .object({
1629
- id: zod.string().optional(),
1630
- name: zod.string().optional(),
1631
- })
1632
- .optional(),
1615
+ color: zod.string(),
1616
+ createdAt: zod.string(),
1617
+ createdBy: zod.object({
1618
+ id: zod.string().optional(),
1619
+ name: zod.string().optional(),
1620
+ }),
1633
1621
  description: zod.string().optional(),
1634
- id: zod.string().optional(),
1635
- name: zod.string().optional(),
1636
- updatedAt: zod.string().optional(),
1637
- updatedBy: zod
1638
- .object({
1639
- id: zod.string().optional(),
1640
- name: zod.string().optional(),
1641
- })
1642
- .optional(),
1622
+ id: zod.string(),
1623
+ name: zod.string(),
1624
+ updatedAt: zod.string(),
1625
+ updatedBy: zod.object({
1626
+ id: zod.string().optional(),
1627
+ name: zod.string().optional(),
1628
+ }),
1643
1629
  })
1644
1630
  .optional()
1645
1631
  .describe('Priority level of the case.'),
@@ -1770,26 +1756,25 @@ export const DeleteCaseResponse = zod
1770
1756
  .optional(),
1771
1757
  defaultPriority: zod
1772
1758
  .object({
1773
- color: zod.string().optional(),
1774
- createdAt: zod.string().optional(),
1775
- createdBy: zod
1776
- .object({
1777
- id: zod.string().optional(),
1778
- name: zod.string().optional(),
1779
- })
1780
- .optional(),
1759
+ color: zod.string(),
1760
+ createdAt: zod.string(),
1761
+ createdBy: zod.object({
1762
+ id: zod.string().optional(),
1763
+ name: zod.string().optional(),
1764
+ }),
1781
1765
  description: zod.string().optional(),
1782
- id: zod.string().optional(),
1783
- name: zod.string().optional(),
1784
- updatedAt: zod.string().optional(),
1785
- updatedBy: zod
1786
- .object({
1787
- id: zod.string().optional(),
1788
- name: zod.string().optional(),
1789
- })
1790
- .optional(),
1766
+ id: zod.string(),
1767
+ name: zod.string(),
1768
+ updatedAt: zod.string(),
1769
+ updatedBy: zod.object({
1770
+ id: zod.string().optional(),
1771
+ name: zod.string().optional(),
1772
+ }),
1791
1773
  })
1792
- .optional(),
1774
+ .optional()
1775
+ .describe(
1776
+ 'Priority message represents a priority entity with metadata.',
1777
+ ),
1793
1778
  description: zod.string().optional(),
1794
1779
  group: zod
1795
1780
  .object({
@@ -2169,24 +2154,20 @@ export const LocateCaseResponse = zod
2169
2154
  .describe('Planned resolution time (in milliseconds).'),
2170
2155
  priority: zod
2171
2156
  .object({
2172
- color: zod.string().optional(),
2173
- createdAt: zod.string().optional(),
2174
- createdBy: zod
2175
- .object({
2176
- id: zod.string().optional(),
2177
- name: zod.string().optional(),
2178
- })
2179
- .optional(),
2157
+ color: zod.string(),
2158
+ createdAt: zod.string(),
2159
+ createdBy: zod.object({
2160
+ id: zod.string().optional(),
2161
+ name: zod.string().optional(),
2162
+ }),
2180
2163
  description: zod.string().optional(),
2181
- id: zod.string().optional(),
2182
- name: zod.string().optional(),
2183
- updatedAt: zod.string().optional(),
2184
- updatedBy: zod
2185
- .object({
2186
- id: zod.string().optional(),
2187
- name: zod.string().optional(),
2188
- })
2189
- .optional(),
2164
+ id: zod.string(),
2165
+ name: zod.string(),
2166
+ updatedAt: zod.string(),
2167
+ updatedBy: zod.object({
2168
+ id: zod.string().optional(),
2169
+ name: zod.string().optional(),
2170
+ }),
2190
2171
  })
2191
2172
  .optional()
2192
2173
  .describe('Priority level of the case.'),
@@ -2317,26 +2298,25 @@ export const LocateCaseResponse = zod
2317
2298
  .optional(),
2318
2299
  defaultPriority: zod
2319
2300
  .object({
2320
- color: zod.string().optional(),
2321
- createdAt: zod.string().optional(),
2322
- createdBy: zod
2323
- .object({
2324
- id: zod.string().optional(),
2325
- name: zod.string().optional(),
2326
- })
2327
- .optional(),
2301
+ color: zod.string(),
2302
+ createdAt: zod.string(),
2303
+ createdBy: zod.object({
2304
+ id: zod.string().optional(),
2305
+ name: zod.string().optional(),
2306
+ }),
2328
2307
  description: zod.string().optional(),
2329
- id: zod.string().optional(),
2330
- name: zod.string().optional(),
2331
- updatedAt: zod.string().optional(),
2332
- updatedBy: zod
2333
- .object({
2334
- id: zod.string().optional(),
2335
- name: zod.string().optional(),
2336
- })
2337
- .optional(),
2308
+ id: zod.string(),
2309
+ name: zod.string(),
2310
+ updatedAt: zod.string(),
2311
+ updatedBy: zod.object({
2312
+ id: zod.string().optional(),
2313
+ name: zod.string().optional(),
2314
+ }),
2338
2315
  })
2339
- .optional(),
2316
+ .optional()
2317
+ .describe(
2318
+ 'Priority message represents a priority entity with metadata.',
2319
+ ),
2340
2320
  description: zod.string().optional(),
2341
2321
  group: zod
2342
2322
  .object({
@@ -2829,24 +2809,20 @@ export const UpdateCase2Response = zod.object({
2829
2809
  .describe('Planned resolution time (in milliseconds).'),
2830
2810
  priority: zod
2831
2811
  .object({
2832
- color: zod.string().optional(),
2833
- createdAt: zod.string().optional(),
2834
- createdBy: zod
2835
- .object({
2836
- id: zod.string().optional(),
2837
- name: zod.string().optional(),
2838
- })
2839
- .optional(),
2812
+ color: zod.string(),
2813
+ createdAt: zod.string(),
2814
+ createdBy: zod.object({
2815
+ id: zod.string().optional(),
2816
+ name: zod.string().optional(),
2817
+ }),
2840
2818
  description: zod.string().optional(),
2841
- id: zod.string().optional(),
2842
- name: zod.string().optional(),
2843
- updatedAt: zod.string().optional(),
2844
- updatedBy: zod
2845
- .object({
2846
- id: zod.string().optional(),
2847
- name: zod.string().optional(),
2848
- })
2849
- .optional(),
2819
+ id: zod.string(),
2820
+ name: zod.string(),
2821
+ updatedAt: zod.string(),
2822
+ updatedBy: zod.object({
2823
+ id: zod.string().optional(),
2824
+ name: zod.string().optional(),
2825
+ }),
2850
2826
  })
2851
2827
  .optional()
2852
2828
  .describe('Priority level of the case.'),
@@ -2981,26 +2957,25 @@ export const UpdateCase2Response = zod.object({
2981
2957
  .optional(),
2982
2958
  defaultPriority: zod
2983
2959
  .object({
2984
- color: zod.string().optional(),
2985
- createdAt: zod.string().optional(),
2986
- createdBy: zod
2987
- .object({
2988
- id: zod.string().optional(),
2989
- name: zod.string().optional(),
2990
- })
2991
- .optional(),
2960
+ color: zod.string(),
2961
+ createdAt: zod.string(),
2962
+ createdBy: zod.object({
2963
+ id: zod.string().optional(),
2964
+ name: zod.string().optional(),
2965
+ }),
2992
2966
  description: zod.string().optional(),
2993
- id: zod.string().optional(),
2994
- name: zod.string().optional(),
2995
- updatedAt: zod.string().optional(),
2996
- updatedBy: zod
2997
- .object({
2998
- id: zod.string().optional(),
2999
- name: zod.string().optional(),
3000
- })
3001
- .optional(),
2967
+ id: zod.string(),
2968
+ name: zod.string(),
2969
+ updatedAt: zod.string(),
2970
+ updatedBy: zod.object({
2971
+ id: zod.string().optional(),
2972
+ name: zod.string().optional(),
2973
+ }),
3002
2974
  })
3003
- .optional(),
2975
+ .optional()
2976
+ .describe(
2977
+ 'Priority message represents a priority entity with metadata.',
2978
+ ),
3004
2979
  description: zod.string().optional(),
3005
2980
  group: zod
3006
2981
  .object({
@@ -3504,24 +3479,20 @@ export const UpdateCaseResponse = zod.object({
3504
3479
  .describe('Planned resolution time (in milliseconds).'),
3505
3480
  priority: zod
3506
3481
  .object({
3507
- color: zod.string().optional(),
3508
- createdAt: zod.string().optional(),
3509
- createdBy: zod
3510
- .object({
3511
- id: zod.string().optional(),
3512
- name: zod.string().optional(),
3513
- })
3514
- .optional(),
3482
+ color: zod.string(),
3483
+ createdAt: zod.string(),
3484
+ createdBy: zod.object({
3485
+ id: zod.string().optional(),
3486
+ name: zod.string().optional(),
3487
+ }),
3515
3488
  description: zod.string().optional(),
3516
- id: zod.string().optional(),
3517
- name: zod.string().optional(),
3518
- updatedAt: zod.string().optional(),
3519
- updatedBy: zod
3520
- .object({
3521
- id: zod.string().optional(),
3522
- name: zod.string().optional(),
3523
- })
3524
- .optional(),
3489
+ id: zod.string(),
3490
+ name: zod.string(),
3491
+ updatedAt: zod.string(),
3492
+ updatedBy: zod.object({
3493
+ id: zod.string().optional(),
3494
+ name: zod.string().optional(),
3495
+ }),
3525
3496
  })
3526
3497
  .optional()
3527
3498
  .describe('Priority level of the case.'),
@@ -3656,26 +3627,25 @@ export const UpdateCaseResponse = zod.object({
3656
3627
  .optional(),
3657
3628
  defaultPriority: zod
3658
3629
  .object({
3659
- color: zod.string().optional(),
3660
- createdAt: zod.string().optional(),
3661
- createdBy: zod
3662
- .object({
3663
- id: zod.string().optional(),
3664
- name: zod.string().optional(),
3665
- })
3666
- .optional(),
3630
+ color: zod.string(),
3631
+ createdAt: zod.string(),
3632
+ createdBy: zod.object({
3633
+ id: zod.string().optional(),
3634
+ name: zod.string().optional(),
3635
+ }),
3667
3636
  description: zod.string().optional(),
3668
- id: zod.string().optional(),
3669
- name: zod.string().optional(),
3670
- updatedAt: zod.string().optional(),
3671
- updatedBy: zod
3672
- .object({
3673
- id: zod.string().optional(),
3674
- name: zod.string().optional(),
3675
- })
3676
- .optional(),
3637
+ id: zod.string(),
3638
+ name: zod.string(),
3639
+ updatedAt: zod.string(),
3640
+ updatedBy: zod.object({
3641
+ id: zod.string().optional(),
3642
+ name: zod.string().optional(),
3643
+ }),
3677
3644
  })
3678
- .optional(),
3645
+ .optional()
3646
+ .describe(
3647
+ 'Priority message represents a priority entity with metadata.',
3648
+ ),
3679
3649
  description: zod.string().optional(),
3680
3650
  group: zod
3681
3651
  .object({
@@ -4102,24 +4072,20 @@ export const SearchCases2Response = zod
4102
4072
  .describe('Planned resolution time (in milliseconds).'),
4103
4073
  priority: zod
4104
4074
  .object({
4105
- color: zod.string().optional(),
4106
- createdAt: zod.string().optional(),
4107
- createdBy: zod
4108
- .object({
4109
- id: zod.string().optional(),
4110
- name: zod.string().optional(),
4111
- })
4112
- .optional(),
4075
+ color: zod.string(),
4076
+ createdAt: zod.string(),
4077
+ createdBy: zod.object({
4078
+ id: zod.string().optional(),
4079
+ name: zod.string().optional(),
4080
+ }),
4113
4081
  description: zod.string().optional(),
4114
- id: zod.string().optional(),
4115
- name: zod.string().optional(),
4116
- updatedAt: zod.string().optional(),
4117
- updatedBy: zod
4118
- .object({
4119
- id: zod.string().optional(),
4120
- name: zod.string().optional(),
4121
- })
4122
- .optional(),
4082
+ id: zod.string(),
4083
+ name: zod.string(),
4084
+ updatedAt: zod.string(),
4085
+ updatedBy: zod.object({
4086
+ id: zod.string().optional(),
4087
+ name: zod.string().optional(),
4088
+ }),
4123
4089
  })
4124
4090
  .optional()
4125
4091
  .describe('Priority level of the case.'),
@@ -4254,26 +4220,25 @@ export const SearchCases2Response = zod
4254
4220
  .optional(),
4255
4221
  defaultPriority: zod
4256
4222
  .object({
4257
- color: zod.string().optional(),
4258
- createdAt: zod.string().optional(),
4259
- createdBy: zod
4260
- .object({
4261
- id: zod.string().optional(),
4262
- name: zod.string().optional(),
4263
- })
4264
- .optional(),
4223
+ color: zod.string(),
4224
+ createdAt: zod.string(),
4225
+ createdBy: zod.object({
4226
+ id: zod.string().optional(),
4227
+ name: zod.string().optional(),
4228
+ }),
4265
4229
  description: zod.string().optional(),
4266
- id: zod.string().optional(),
4267
- name: zod.string().optional(),
4268
- updatedAt: zod.string().optional(),
4269
- updatedBy: zod
4270
- .object({
4271
- id: zod.string().optional(),
4272
- name: zod.string().optional(),
4273
- })
4274
- .optional(),
4230
+ id: zod.string(),
4231
+ name: zod.string(),
4232
+ updatedAt: zod.string(),
4233
+ updatedBy: zod.object({
4234
+ id: zod.string().optional(),
4235
+ name: zod.string().optional(),
4236
+ }),
4275
4237
  })
4276
- .optional(),
4238
+ .optional()
4239
+ .describe(
4240
+ 'Priority message represents a priority entity with metadata.',
4241
+ ),
4277
4242
  description: zod.string().optional(),
4278
4243
  group: zod
4279
4244
  .object({