@webitel/api-services 26.8.47 → 26.8.48

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 (227) hide show
  1. package/package.json +1 -1
  2. package/src/api/clients/catalog/__tests__/catalog.spec.ts +79 -0
  3. package/src/api/clients/catalog/catalog.ts +16 -3
  4. package/src/gen/_models/apiUserSetting.ts +1 -0
  5. package/src/gen/_models/deleteMediaFileParams.ts +1 -0
  6. package/src/gen/_models/deleteRoleParams.ts +17 -0
  7. package/src/gen/_models/engineAttemptHistory.ts +1 -0
  8. package/src/gen/_models/engineCreateRoutingSchemaRequest.ts +1 -0
  9. package/src/gen/_models/engineCreateSchemaVariableRequest.ts +1 -0
  10. package/src/gen/_models/engineCreateSystemSettingRequest.ts +1 -0
  11. package/src/gen/_models/engineQueueType.ts +24 -0
  12. package/src/gen/_models/engineRoutingSchema.ts +1 -0
  13. package/src/gen/_models/engineRoutingSchemaServicePatchRoutingSchemaBody.ts +1 -0
  14. package/src/gen/_models/engineRoutingSchemaServiceUpdateRoutingSchemaBody.ts +1 -0
  15. package/src/gen/_models/engineSchemaVariable.ts +1 -0
  16. package/src/gen/_models/engineSchemaVariablesServicePatchSchemaVariableBody.ts +1 -0
  17. package/src/gen/_models/engineSchemaVariablesServiceUpdateSchemaVariableBody.ts +1 -0
  18. package/src/gen/_models/engineSchemaVersion.ts +1 -0
  19. package/src/gen/_models/engineSearchHistoryCallRequest.ts +2 -0
  20. package/src/gen/_models/engineSystemSetting.ts +1 -0
  21. package/src/gen/_models/engineSystemSettingServicePatchSystemSettingBody.ts +1 -0
  22. package/src/gen/_models/engineSystemSettingServiceUpdateSystemSettingBody.ts +1 -1
  23. package/src/gen/_models/index.ts +25 -2
  24. package/src/gen/_models/locateArticleParams.ts +13 -0
  25. package/src/gen/_models/readRoleParams.ts +15 -0
  26. package/src/gen/_models/roleMetadataParams.ts +17 -0
  27. package/src/gen/_models/searchHistoryCallExcludedQueueTypesItem.ts +24 -0
  28. package/src/gen/_models/searchHistoryCallParams.ts +2 -0
  29. package/src/gen/_models/searchRecordAvailableRolesParams.ts +53 -0
  30. package/src/gen/_models/searchRetrievalParams.ts +3 -2
  31. package/src/gen/_models/searchRetrievalTagMatch.ts +1 -0
  32. package/src/gen/_models/searchRolesParams.ts +50 -0
  33. package/src/gen/_models/updateArticle2Params.ts +13 -0
  34. package/src/gen/_models/updateArticleParams.ts +13 -0
  35. package/src/gen/_models/updateModel2Params.ts +13 -0
  36. package/src/gen/_models/updateModelParams.ts +13 -0
  37. package/src/gen/_models/updateSpace2Params.ts +13 -0
  38. package/src/gen/_models/updateSpaceParams.ts +13 -0
  39. package/src/gen/_models/webitelCasesCaseTimelinePostprocessingResult.ts +13 -0
  40. package/src/gen/_models/webitelCasesCaseTimelineVariable.ts +11 -0
  41. package/src/gen/_models/webitelCasesGetTimelineItemInfoResponse.ts +13 -0
  42. package/src/gen/_models/webitelImApiGatewayV1GetUpdatesRequest.ts +11 -0
  43. package/src/gen/_models/webitelImApiGatewayV1GetUpdatesResponse.ts +19 -0
  44. package/src/gen/_models/webitelImApiGatewayV1HistoryMessage.ts +0 -10
  45. package/src/gen/_models/webitelImApiGatewayV1MemberReadState.ts +19 -0
  46. package/src/gen/_models/webitelImApiGatewayV1SearchMessageHistoryResponse.ts +2 -0
  47. package/src/gen/_models/webitelImApiGatewayV1SearchThreadResponse.ts +2 -0
  48. package/src/gen/_models/webitelImApiGatewayV1Thread.ts +8 -0
  49. package/src/gen/_models/webitelImApiGatewayV1ThreadMemberChange.ts +15 -0
  50. package/src/gen/_models/webitelImApiGatewayV1ThreadMemberChangeAction.ts +16 -0
  51. package/src/gen/_models/webitelImApiGatewayV1ThreadUpdates.ts +27 -0
  52. package/src/gen/_models/webitelImApiGatewayV1UpdatedMessage.ts +41 -0
  53. package/src/gen/_models/webitelImApiGatewayV1UpdatedMessageMetadata.ts +10 -0
  54. package/src/gen/_models/webitelKbArticle.ts +3 -0
  55. package/src/gen/_models/webitelKbSemanticSearchRequest.ts +1 -1
  56. package/src/gen/_models/webitelKbTagMatch.ts +3 -1
  57. package/src/gen-wire/_models/deleteMediaFileParams.ts +1 -0
  58. package/src/gen-wire/_models/engineAttemptHistory.ts +1 -0
  59. package/src/gen-wire/_models/engineQueueType.ts +24 -0
  60. package/src/gen-wire/_models/engineSearchHistoryCallRequest.ts +2 -0
  61. package/src/gen-wire/_models/index.ts +20 -2
  62. package/src/gen-wire/_models/locateArticleParams.ts +13 -0
  63. package/src/gen-wire/_models/searchHistoryCallExcludedQueueTypesItem.ts +24 -0
  64. package/src/gen-wire/_models/searchHistoryCallParams.ts +2 -0
  65. package/src/gen-wire/_models/searchRetrievalParams.ts +3 -2
  66. package/src/gen-wire/_models/searchRetrievalTagMatch.ts +1 -0
  67. package/src/gen-wire/_models/updateArticle2Params.ts +13 -0
  68. package/src/gen-wire/_models/updateArticleParams.ts +13 -0
  69. package/src/gen-wire/_models/updateModel2Params.ts +13 -0
  70. package/src/gen-wire/_models/updateModelParams.ts +13 -0
  71. package/src/gen-wire/_models/updateSpace2Params.ts +13 -0
  72. package/src/gen-wire/_models/updateSpaceParams.ts +13 -0
  73. package/src/gen-wire/_models/webitelCasesCaseTimelinePostprocessingResult.ts +13 -0
  74. package/src/gen-wire/_models/webitelCasesCaseTimelineVariable.ts +11 -0
  75. package/src/gen-wire/_models/webitelCasesGetTimelineItemInfoResponse.ts +13 -0
  76. package/src/gen-wire/_models/webitelImApiGatewayV1GetUpdatesRequest.ts +11 -0
  77. package/src/gen-wire/_models/webitelImApiGatewayV1GetUpdatesResponse.ts +19 -0
  78. package/src/gen-wire/_models/webitelImApiGatewayV1HistoryMessage.ts +0 -10
  79. package/src/gen-wire/_models/webitelImApiGatewayV1MemberReadState.ts +19 -0
  80. package/src/gen-wire/_models/webitelImApiGatewayV1SearchMessageHistoryResponse.ts +2 -0
  81. package/src/gen-wire/_models/webitelImApiGatewayV1SearchThreadResponse.ts +2 -0
  82. package/src/gen-wire/_models/webitelImApiGatewayV1Thread.ts +8 -0
  83. package/src/gen-wire/_models/webitelImApiGatewayV1ThreadMemberChange.ts +15 -0
  84. package/src/gen-wire/_models/webitelImApiGatewayV1ThreadMemberChangeAction.ts +16 -0
  85. package/src/gen-wire/_models/webitelImApiGatewayV1ThreadUpdates.ts +27 -0
  86. package/src/gen-wire/_models/webitelImApiGatewayV1UpdatedMessage.ts +41 -0
  87. package/src/gen-wire/_models/webitelImApiGatewayV1UpdatedMessageMetadata.ts +10 -0
  88. package/src/gen-wire/_models/webitelKbArticle.ts +3 -0
  89. package/src/gen-wire/_models/webitelKbSemanticSearchRequest.ts +1 -1
  90. package/src/gen-wire/_models/webitelKbTagMatch.ts +3 -1
  91. package/src/gen-wire/articles/articles.ts +42 -3
  92. package/src/gen-wire/articles/articles.zod.ts +586 -0
  93. package/src/gen-wire/call-service/call-service.zod.ts +40 -0
  94. package/src/gen-wire/case-timeline/case-timeline.ts +15 -0
  95. package/src/gen-wire/case-timeline/case-timeline.zod.ts +35 -0
  96. package/src/gen-wire/embedding-models/embedding-models.ts +18 -2
  97. package/src/gen-wire/embedding-models/embedding-models.zod.ts +18 -0
  98. package/src/gen-wire/index.ts +41 -17
  99. package/src/gen-wire/index.zod.ts +1 -0
  100. package/src/gen-wire/media-file-service/media-file-service.zod.ts +1 -0
  101. package/src/gen-wire/member-service/member-service.zod.ts +1 -0
  102. package/src/gen-wire/retrieval/retrieval.zod.ts +6 -4
  103. package/src/gen-wire/spaces/spaces.ts +18 -10
  104. package/src/gen-wire/spaces/spaces.zod.ts +18 -0
  105. package/src/gen-wire/timeline/timeline.ts +3 -3
  106. package/src/gen-wire/timeline/timeline.zod.ts +2 -2
  107. package/src/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +18 -189
  108. package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.ts +597 -309
  109. package/src/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.ts +47 -0
  110. package/src/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod.ts +3350 -0
  111. package/types/.tsbuildinfo +1 -1
  112. package/types/api/clients/catalog/catalog.d.ts +4 -1
  113. package/types/gen/_models/apiUserSetting.d.ts +1 -0
  114. package/types/gen/_models/deleteMediaFileParams.d.ts +1 -0
  115. package/types/gen/_models/deleteRoleParams.d.ts +16 -0
  116. package/types/gen/_models/engineAttemptHistory.d.ts +1 -0
  117. package/types/gen/_models/engineCreateRoutingSchemaRequest.d.ts +1 -0
  118. package/types/gen/_models/engineCreateSchemaVariableRequest.d.ts +1 -0
  119. package/types/gen/_models/engineCreateSystemSettingRequest.d.ts +1 -0
  120. package/types/gen/_models/engineQueueType.d.ts +21 -0
  121. package/types/gen/_models/engineRoutingSchema.d.ts +1 -0
  122. package/types/gen/_models/engineRoutingSchemaServicePatchRoutingSchemaBody.d.ts +1 -0
  123. package/types/gen/_models/engineRoutingSchemaServiceUpdateRoutingSchemaBody.d.ts +1 -0
  124. package/types/gen/_models/engineSchemaVariable.d.ts +1 -0
  125. package/types/gen/_models/engineSchemaVariablesServicePatchSchemaVariableBody.d.ts +1 -0
  126. package/types/gen/_models/engineSchemaVariablesServiceUpdateSchemaVariableBody.d.ts +1 -0
  127. package/types/gen/_models/engineSchemaVersion.d.ts +1 -0
  128. package/types/gen/_models/engineSearchHistoryCallRequest.d.ts +2 -0
  129. package/types/gen/_models/engineSystemSetting.d.ts +1 -0
  130. package/types/gen/_models/engineSystemSettingServicePatchSystemSettingBody.d.ts +1 -0
  131. package/types/gen/_models/engineSystemSettingServiceUpdateSystemSettingBody.d.ts +1 -1
  132. package/types/gen/_models/index.d.ts +25 -2
  133. package/types/gen/_models/locateArticleParams.d.ts +12 -0
  134. package/types/gen/_models/readRoleParams.d.ts +14 -0
  135. package/types/gen/_models/roleMetadataParams.d.ts +16 -0
  136. package/types/gen/_models/searchHistoryCallExcludedQueueTypesItem.d.ts +21 -0
  137. package/types/gen/_models/searchHistoryCallParams.d.ts +2 -0
  138. package/types/gen/_models/searchRecordAvailableRolesParams.d.ts +52 -0
  139. package/types/gen/_models/searchRetrievalParams.d.ts +3 -2
  140. package/types/gen/_models/searchRetrievalTagMatch.d.ts +1 -0
  141. package/types/gen/_models/searchRolesParams.d.ts +49 -0
  142. package/types/gen/_models/updateArticle2Params.d.ts +12 -0
  143. package/types/gen/_models/updateArticleParams.d.ts +12 -0
  144. package/types/gen/_models/updateModel2Params.d.ts +12 -0
  145. package/types/gen/_models/updateModelParams.d.ts +12 -0
  146. package/types/gen/_models/updateSpace2Params.d.ts +12 -0
  147. package/types/gen/_models/updateSpaceParams.d.ts +12 -0
  148. package/types/gen/_models/webitelCasesCaseTimelinePostprocessingResult.d.ts +12 -0
  149. package/types/gen/_models/webitelCasesCaseTimelineVariable.d.ts +10 -0
  150. package/types/gen/_models/webitelCasesGetTimelineItemInfoResponse.d.ts +12 -0
  151. package/types/gen/_models/webitelImApiGatewayV1GetUpdatesRequest.d.ts +10 -0
  152. package/types/gen/_models/webitelImApiGatewayV1GetUpdatesResponse.d.ts +18 -0
  153. package/types/gen/_models/webitelImApiGatewayV1HistoryMessage.d.ts +0 -10
  154. package/types/gen/_models/webitelImApiGatewayV1MemberReadState.d.ts +18 -0
  155. package/types/gen/_models/webitelImApiGatewayV1SearchMessageHistoryResponse.d.ts +2 -0
  156. package/types/gen/_models/webitelImApiGatewayV1SearchThreadResponse.d.ts +2 -0
  157. package/types/gen/_models/webitelImApiGatewayV1Thread.d.ts +8 -0
  158. package/types/gen/_models/webitelImApiGatewayV1ThreadMemberChange.d.ts +14 -0
  159. package/types/gen/_models/webitelImApiGatewayV1ThreadMemberChangeAction.d.ts +12 -0
  160. package/types/gen/_models/webitelImApiGatewayV1ThreadUpdates.d.ts +26 -0
  161. package/types/gen/_models/webitelImApiGatewayV1UpdatedMessage.d.ts +40 -0
  162. package/types/gen/_models/webitelImApiGatewayV1UpdatedMessageMetadata.d.ts +9 -0
  163. package/types/gen/_models/webitelKbArticle.d.ts +3 -0
  164. package/types/gen/_models/webitelKbSemanticSearchRequest.d.ts +1 -1
  165. package/types/gen/_models/webitelKbTagMatch.d.ts +3 -1
  166. package/types/gen-wire/_models/deleteMediaFileParams.d.ts +1 -0
  167. package/types/gen-wire/_models/engineAttemptHistory.d.ts +1 -0
  168. package/types/gen-wire/_models/engineQueueType.d.ts +21 -0
  169. package/types/gen-wire/_models/engineSearchHistoryCallRequest.d.ts +2 -0
  170. package/types/gen-wire/_models/index.d.ts +20 -2
  171. package/types/gen-wire/_models/locateArticleParams.d.ts +12 -0
  172. package/types/gen-wire/_models/searchHistoryCallExcludedQueueTypesItem.d.ts +21 -0
  173. package/types/gen-wire/_models/searchHistoryCallParams.d.ts +2 -0
  174. package/types/gen-wire/_models/searchRetrievalParams.d.ts +3 -2
  175. package/types/gen-wire/_models/searchRetrievalTagMatch.d.ts +1 -0
  176. package/types/gen-wire/_models/updateArticle2Params.d.ts +12 -0
  177. package/types/gen-wire/_models/updateArticleParams.d.ts +12 -0
  178. package/types/gen-wire/_models/updateModel2Params.d.ts +12 -0
  179. package/types/gen-wire/_models/updateModelParams.d.ts +12 -0
  180. package/types/gen-wire/_models/updateSpace2Params.d.ts +12 -0
  181. package/types/gen-wire/_models/updateSpaceParams.d.ts +12 -0
  182. package/types/gen-wire/_models/webitelCasesCaseTimelinePostprocessingResult.d.ts +12 -0
  183. package/types/gen-wire/_models/webitelCasesCaseTimelineVariable.d.ts +10 -0
  184. package/types/gen-wire/_models/webitelCasesGetTimelineItemInfoResponse.d.ts +12 -0
  185. package/types/gen-wire/_models/webitelImApiGatewayV1GetUpdatesRequest.d.ts +10 -0
  186. package/types/gen-wire/_models/webitelImApiGatewayV1GetUpdatesResponse.d.ts +18 -0
  187. package/types/gen-wire/_models/webitelImApiGatewayV1HistoryMessage.d.ts +0 -10
  188. package/types/gen-wire/_models/webitelImApiGatewayV1MemberReadState.d.ts +18 -0
  189. package/types/gen-wire/_models/webitelImApiGatewayV1SearchMessageHistoryResponse.d.ts +2 -0
  190. package/types/gen-wire/_models/webitelImApiGatewayV1SearchThreadResponse.d.ts +2 -0
  191. package/types/gen-wire/_models/webitelImApiGatewayV1Thread.d.ts +8 -0
  192. package/types/gen-wire/_models/webitelImApiGatewayV1ThreadMemberChange.d.ts +14 -0
  193. package/types/gen-wire/_models/webitelImApiGatewayV1ThreadMemberChangeAction.d.ts +12 -0
  194. package/types/gen-wire/_models/webitelImApiGatewayV1ThreadUpdates.d.ts +26 -0
  195. package/types/gen-wire/_models/webitelImApiGatewayV1UpdatedMessage.d.ts +40 -0
  196. package/types/gen-wire/_models/webitelImApiGatewayV1UpdatedMessageMetadata.d.ts +9 -0
  197. package/types/gen-wire/_models/webitelKbArticle.d.ts +3 -0
  198. package/types/gen-wire/_models/webitelKbSemanticSearchRequest.d.ts +1 -1
  199. package/types/gen-wire/_models/webitelKbTagMatch.d.ts +3 -1
  200. package/types/gen-wire/articles/articles.d.ts +6 -4
  201. package/types/gen-wire/articles/articles.zod.d.ts +221 -0
  202. package/types/gen-wire/call-service/call-service.zod.d.ts +29 -0
  203. package/types/gen-wire/case-timeline/case-timeline.d.ts +3 -1
  204. package/types/gen-wire/case-timeline/case-timeline.zod.d.ts +23 -0
  205. package/types/gen-wire/embedding-models/embedding-models.d.ts +3 -3
  206. package/types/gen-wire/embedding-models/embedding-models.zod.d.ts +6 -0
  207. package/types/gen-wire/index.d.ts +10 -8
  208. package/types/gen-wire/index.zod.d.ts +1 -0
  209. package/types/gen-wire/media-file-service/media-file-service.zod.d.ts +1 -0
  210. package/types/gen-wire/member-service/member-service.zod.d.ts +1 -0
  211. package/types/gen-wire/retrieval/retrieval.zod.d.ts +4 -2
  212. package/types/gen-wire/spaces/spaces.d.ts +3 -3
  213. package/types/gen-wire/spaces/spaces.zod.d.ts +6 -0
  214. package/types/gen-wire/timeline/timeline.d.ts +2 -2
  215. package/types/gen-wire/timeline/timeline.zod.d.ts +2 -2
  216. package/types/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +3 -72
  217. package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.d.ts +201 -96
  218. package/types/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.d.ts +13 -0
  219. package/types/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod.d.ts +1122 -0
  220. package/src/gen/_models/webitelImApiGatewayV1MessageDeliveryStatus.ts +0 -27
  221. package/src/gen/_models/webitelImApiGatewayV1MessageRecipientStatus.ts +0 -24
  222. package/src/gen-wire/_models/webitelImApiGatewayV1MessageDeliveryStatus.ts +0 -27
  223. package/src/gen-wire/_models/webitelImApiGatewayV1MessageRecipientStatus.ts +0 -24
  224. package/types/gen/_models/webitelImApiGatewayV1MessageDeliveryStatus.d.ts +0 -24
  225. package/types/gen/_models/webitelImApiGatewayV1MessageRecipientStatus.d.ts +0 -23
  226. package/types/gen-wire/_models/webitelImApiGatewayV1MessageDeliveryStatus.d.ts +0 -24
  227. package/types/gen-wire/_models/webitelImApiGatewayV1MessageRecipientStatus.d.ts +0 -23
@@ -24,15 +24,14 @@ export declare const ThreadManagementSearchQueryParams: zod.ZodObject<{
24
24
  contact_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
25
25
  }, zod.z.core.$strip>;
26
26
  export declare const threadManagementSearchResponseItemsItemLastMsgDeletedByRoleDefault = "ROLE_UNSPECIFIED";
27
- export declare const threadManagementSearchResponseItemsItemLastMsgDeliveryStatusDefault = "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
28
27
  export declare const threadManagementSearchResponseItemsItemLastMsgForwardOriginKindDefault = "FORWARD_ORIGIN_KIND_UNSPECIFIED";
29
28
  export declare const threadManagementSearchResponseItemsItemLastMsgInteractiveInputFieldStateDefault = "INPUT_FIELD_STATE_UNSPECIFIED";
30
29
  export declare const threadManagementSearchResponseItemsItemLastMsgInteractivePlacementDefault = "MENU_PLACEMENT_UNSPECIFIED";
31
30
  export declare const threadManagementSearchResponseItemsItemLastMsgReactedMetadataReactedByRoleDefault = "ROLE_UNSPECIFIED";
32
31
  export declare const threadManagementSearchResponseItemsItemLastMsgReplyToSenderRoleDefault = "ROLE_UNSPECIFIED";
33
32
  export declare const threadManagementSearchResponseItemsItemLastMsgSenderRoleDefault = "ROLE_UNSPECIFIED";
34
- export declare const threadManagementSearchResponseItemsItemLastMsgStatusesItemStatusDefault = "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
35
33
  export declare const threadManagementSearchResponseItemsItemMembersItemRoleDefault = "ROLE_UNSPECIFIED";
34
+ export declare const threadManagementSearchResponseItemsItemReadStatesItemMemberRoleDefault = "ROLE_UNSPECIFIED";
36
35
  export declare const threadManagementSearchResponseItemsItemTypeDefault = "UNKNOWN";
37
36
  export declare const ThreadManagementSearchResponse: zod.ZodObject<{
38
37
  items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -92,13 +91,6 @@ export declare const ThreadManagementSearchResponse: zod.ZodObject<{
92
91
  ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
93
92
  }>>;
94
93
  }, zod.z.core.$strip>>;
95
- delivery_status: zod.ZodDefault<zod.ZodEnum<{
96
- MESSAGE_DELIVERY_STATUS_UNSPECIFIED: "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
97
- MESSAGE_DELIVERY_STATUS_SENT: "MESSAGE_DELIVERY_STATUS_SENT";
98
- MESSAGE_DELIVERY_STATUS_DELIVERED: "MESSAGE_DELIVERY_STATUS_DELIVERED";
99
- MESSAGE_DELIVERY_STATUS_READ: "MESSAGE_DELIVERY_STATUS_READ";
100
- MESSAGE_DELIVERY_STATUS_FAILED: "MESSAGE_DELIVERY_STATUS_FAILED";
101
- }>>;
102
94
  documents: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
103
95
  created_at: zod.ZodOptional<zod.ZodString>;
104
96
  file_id: zod.ZodOptional<zod.ZodString>;
@@ -366,21 +358,6 @@ export declare const ThreadManagementSearchResponse: zod.ZodObject<{
366
358
  }>>;
367
359
  }, zod.z.core.$strip>>;
368
360
  seq: zod.ZodOptional<zod.ZodString>;
369
- statuses: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
370
- delivered_at: zod.ZodOptional<zod.ZodString>;
371
- error: zod.ZodOptional<zod.ZodString>;
372
- failed_at: zod.ZodOptional<zod.ZodString>;
373
- member_id: zod.ZodOptional<zod.ZodString>;
374
- read_at: zod.ZodOptional<zod.ZodString>;
375
- status: zod.ZodDefault<zod.ZodEnum<{
376
- MESSAGE_DELIVERY_STATUS_UNSPECIFIED: "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
377
- MESSAGE_DELIVERY_STATUS_SENT: "MESSAGE_DELIVERY_STATUS_SENT";
378
- MESSAGE_DELIVERY_STATUS_DELIVERED: "MESSAGE_DELIVERY_STATUS_DELIVERED";
379
- MESSAGE_DELIVERY_STATUS_READ: "MESSAGE_DELIVERY_STATUS_READ";
380
- MESSAGE_DELIVERY_STATUS_FAILED: "MESSAGE_DELIVERY_STATUS_FAILED";
381
- }>>;
382
- via: zod.ZodOptional<zod.ZodString>;
383
- }, zod.z.core.$strip>>>;
384
361
  system: zod.ZodOptional<zod.ZodObject<{
385
362
  message_id: zod.ZodOptional<zod.ZodString>;
386
363
  metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
@@ -432,6 +409,54 @@ export declare const ThreadManagementSearchResponse: zod.ZodObject<{
432
409
  ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
433
410
  }>>;
434
411
  }, zod.z.core.$strip>>>;
412
+ read_states: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
413
+ delivered_up_to_seq: zod.ZodOptional<zod.ZodString>;
414
+ member: zod.ZodOptional<zod.ZodObject<{
415
+ contact: zod.ZodOptional<zod.ZodObject<{
416
+ app_id: zod.ZodOptional<zod.ZodString>;
417
+ created_at: zod.ZodOptional<zod.ZodString>;
418
+ is_bot: zod.ZodOptional<zod.ZodBoolean>;
419
+ iss: zod.ZodOptional<zod.ZodString>;
420
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
421
+ name: zod.ZodOptional<zod.ZodString>;
422
+ sub: zod.ZodOptional<zod.ZodString>;
423
+ type: zod.ZodOptional<zod.ZodString>;
424
+ updated_at: zod.ZodOptional<zod.ZodString>;
425
+ username: zod.ZodOptional<zod.ZodString>;
426
+ vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
427
+ contact_id: zod.ZodOptional<zod.ZodString>;
428
+ created_at: zod.ZodOptional<zod.ZodString>;
429
+ disable: zod.ZodOptional<zod.ZodBoolean>;
430
+ disable_reason: zod.ZodOptional<zod.ZodString>;
431
+ metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
432
+ updated_at: zod.ZodOptional<zod.ZodString>;
433
+ via: zod.ZodOptional<zod.ZodString>;
434
+ }, zod.z.core.$strip>>>;
435
+ }, zod.z.core.$strip>>;
436
+ id: zod.ZodOptional<zod.ZodString>;
437
+ permissions: zod.ZodOptional<zod.ZodObject<{
438
+ can_add_members: zod.ZodOptional<zod.ZodBoolean>;
439
+ can_change_members_permissions: zod.ZodOptional<zod.ZodBoolean>;
440
+ can_change_thread_info: zod.ZodOptional<zod.ZodBoolean>;
441
+ can_delete_messages: zod.ZodOptional<zod.ZodBoolean>;
442
+ can_remove_members: zod.ZodOptional<zod.ZodBoolean>;
443
+ can_send_messages: zod.ZodOptional<zod.ZodBoolean>;
444
+ created_at: zod.ZodOptional<zod.ZodString>;
445
+ id: zod.ZodOptional<zod.ZodString>;
446
+ member_id: zod.ZodOptional<zod.ZodString>;
447
+ updated_at: zod.ZodOptional<zod.ZodString>;
448
+ }, zod.z.core.$strip>>;
449
+ role: zod.ZodDefault<zod.ZodEnum<{
450
+ ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
451
+ ROLE_MEMBER: "ROLE_MEMBER";
452
+ ROLE_ADMIN: "ROLE_ADMIN";
453
+ ROLE_OWNER: "ROLE_OWNER";
454
+ ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
455
+ }>>;
456
+ }, zod.z.core.$strip>>;
457
+ member_id: zod.ZodOptional<zod.ZodString>;
458
+ read_up_to_seq: zod.ZodOptional<zod.ZodString>;
459
+ }, zod.z.core.$strip>>>;
435
460
  settings: zod.ZodOptional<zod.ZodObject<{
436
461
  created_at: zod.ZodOptional<zod.ZodString>;
437
462
  domain_id: zod.ZodOptional<zod.ZodInt>;
@@ -448,6 +473,7 @@ export declare const ThreadManagementSearchResponse: zod.ZodObject<{
448
473
  }>>;
449
474
  unread_count: zod.ZodOptional<zod.ZodInt>;
450
475
  updated_at: zod.ZodOptional<zod.ZodString>;
476
+ updates_cursor: zod.ZodOptional<zod.ZodString>;
451
477
  variables: zod.ZodOptional<zod.ZodObject<{
452
478
  thread_id: zod.ZodOptional<zod.ZodString>;
453
479
  variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -478,6 +504,7 @@ export declare const ThreadManagementSearchResponse: zod.ZodObject<{
478
504
  }, zod.z.core.$strip>>;
479
505
  }, zod.z.core.$strip>>>;
480
506
  next: zod.ZodOptional<zod.ZodBoolean>;
507
+ updates_cursor: zod.ZodOptional<zod.ZodString>;
481
508
  }, zod.z.core.$strip>;
482
509
  export declare const ThreadManagementCreateBody: zod.ZodObject<{
483
510
  direct: zod.ZodOptional<zod.ZodObject<{
@@ -490,15 +517,14 @@ export declare const ThreadManagementCreateBody: zod.ZodObject<{
490
517
  }, zod.z.core.$strip>>;
491
518
  }, zod.z.core.$strip>;
492
519
  export declare const threadManagementCreateResponseThreadLastMsgDeletedByRoleDefault = "ROLE_UNSPECIFIED";
493
- export declare const threadManagementCreateResponseThreadLastMsgDeliveryStatusDefault = "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
494
520
  export declare const threadManagementCreateResponseThreadLastMsgForwardOriginKindDefault = "FORWARD_ORIGIN_KIND_UNSPECIFIED";
495
521
  export declare const threadManagementCreateResponseThreadLastMsgInteractiveInputFieldStateDefault = "INPUT_FIELD_STATE_UNSPECIFIED";
496
522
  export declare const threadManagementCreateResponseThreadLastMsgInteractivePlacementDefault = "MENU_PLACEMENT_UNSPECIFIED";
497
523
  export declare const threadManagementCreateResponseThreadLastMsgReactedMetadataReactedByRoleDefault = "ROLE_UNSPECIFIED";
498
524
  export declare const threadManagementCreateResponseThreadLastMsgReplyToSenderRoleDefault = "ROLE_UNSPECIFIED";
499
525
  export declare const threadManagementCreateResponseThreadLastMsgSenderRoleDefault = "ROLE_UNSPECIFIED";
500
- export declare const threadManagementCreateResponseThreadLastMsgStatusesItemStatusDefault = "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
501
526
  export declare const threadManagementCreateResponseThreadMembersItemRoleDefault = "ROLE_UNSPECIFIED";
527
+ export declare const threadManagementCreateResponseThreadReadStatesItemMemberRoleDefault = "ROLE_UNSPECIFIED";
502
528
  export declare const threadManagementCreateResponseThreadTypeDefault = "UNKNOWN";
503
529
  export declare const ThreadManagementCreateResponse: zod.ZodObject<{
504
530
  thread: zod.ZodOptional<zod.ZodObject<{
@@ -558,13 +584,6 @@ export declare const ThreadManagementCreateResponse: zod.ZodObject<{
558
584
  ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
559
585
  }>>;
560
586
  }, zod.z.core.$strip>>;
561
- delivery_status: zod.ZodDefault<zod.ZodEnum<{
562
- MESSAGE_DELIVERY_STATUS_UNSPECIFIED: "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
563
- MESSAGE_DELIVERY_STATUS_SENT: "MESSAGE_DELIVERY_STATUS_SENT";
564
- MESSAGE_DELIVERY_STATUS_DELIVERED: "MESSAGE_DELIVERY_STATUS_DELIVERED";
565
- MESSAGE_DELIVERY_STATUS_READ: "MESSAGE_DELIVERY_STATUS_READ";
566
- MESSAGE_DELIVERY_STATUS_FAILED: "MESSAGE_DELIVERY_STATUS_FAILED";
567
- }>>;
568
587
  documents: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
569
588
  created_at: zod.ZodOptional<zod.ZodString>;
570
589
  file_id: zod.ZodOptional<zod.ZodString>;
@@ -832,21 +851,6 @@ export declare const ThreadManagementCreateResponse: zod.ZodObject<{
832
851
  }>>;
833
852
  }, zod.z.core.$strip>>;
834
853
  seq: zod.ZodOptional<zod.ZodString>;
835
- statuses: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
836
- delivered_at: zod.ZodOptional<zod.ZodString>;
837
- error: zod.ZodOptional<zod.ZodString>;
838
- failed_at: zod.ZodOptional<zod.ZodString>;
839
- member_id: zod.ZodOptional<zod.ZodString>;
840
- read_at: zod.ZodOptional<zod.ZodString>;
841
- status: zod.ZodDefault<zod.ZodEnum<{
842
- MESSAGE_DELIVERY_STATUS_UNSPECIFIED: "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
843
- MESSAGE_DELIVERY_STATUS_SENT: "MESSAGE_DELIVERY_STATUS_SENT";
844
- MESSAGE_DELIVERY_STATUS_DELIVERED: "MESSAGE_DELIVERY_STATUS_DELIVERED";
845
- MESSAGE_DELIVERY_STATUS_READ: "MESSAGE_DELIVERY_STATUS_READ";
846
- MESSAGE_DELIVERY_STATUS_FAILED: "MESSAGE_DELIVERY_STATUS_FAILED";
847
- }>>;
848
- via: zod.ZodOptional<zod.ZodString>;
849
- }, zod.z.core.$strip>>>;
850
854
  system: zod.ZodOptional<zod.ZodObject<{
851
855
  message_id: zod.ZodOptional<zod.ZodString>;
852
856
  metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
@@ -898,6 +902,54 @@ export declare const ThreadManagementCreateResponse: zod.ZodObject<{
898
902
  ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
899
903
  }>>;
900
904
  }, zod.z.core.$strip>>>;
905
+ read_states: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
906
+ delivered_up_to_seq: zod.ZodOptional<zod.ZodString>;
907
+ member: zod.ZodOptional<zod.ZodObject<{
908
+ contact: zod.ZodOptional<zod.ZodObject<{
909
+ app_id: zod.ZodOptional<zod.ZodString>;
910
+ created_at: zod.ZodOptional<zod.ZodString>;
911
+ is_bot: zod.ZodOptional<zod.ZodBoolean>;
912
+ iss: zod.ZodOptional<zod.ZodString>;
913
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
914
+ name: zod.ZodOptional<zod.ZodString>;
915
+ sub: zod.ZodOptional<zod.ZodString>;
916
+ type: zod.ZodOptional<zod.ZodString>;
917
+ updated_at: zod.ZodOptional<zod.ZodString>;
918
+ username: zod.ZodOptional<zod.ZodString>;
919
+ vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
920
+ contact_id: zod.ZodOptional<zod.ZodString>;
921
+ created_at: zod.ZodOptional<zod.ZodString>;
922
+ disable: zod.ZodOptional<zod.ZodBoolean>;
923
+ disable_reason: zod.ZodOptional<zod.ZodString>;
924
+ metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
925
+ updated_at: zod.ZodOptional<zod.ZodString>;
926
+ via: zod.ZodOptional<zod.ZodString>;
927
+ }, zod.z.core.$strip>>>;
928
+ }, zod.z.core.$strip>>;
929
+ id: zod.ZodOptional<zod.ZodString>;
930
+ permissions: zod.ZodOptional<zod.ZodObject<{
931
+ can_add_members: zod.ZodOptional<zod.ZodBoolean>;
932
+ can_change_members_permissions: zod.ZodOptional<zod.ZodBoolean>;
933
+ can_change_thread_info: zod.ZodOptional<zod.ZodBoolean>;
934
+ can_delete_messages: zod.ZodOptional<zod.ZodBoolean>;
935
+ can_remove_members: zod.ZodOptional<zod.ZodBoolean>;
936
+ can_send_messages: zod.ZodOptional<zod.ZodBoolean>;
937
+ created_at: zod.ZodOptional<zod.ZodString>;
938
+ id: zod.ZodOptional<zod.ZodString>;
939
+ member_id: zod.ZodOptional<zod.ZodString>;
940
+ updated_at: zod.ZodOptional<zod.ZodString>;
941
+ }, zod.z.core.$strip>>;
942
+ role: zod.ZodDefault<zod.ZodEnum<{
943
+ ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
944
+ ROLE_MEMBER: "ROLE_MEMBER";
945
+ ROLE_ADMIN: "ROLE_ADMIN";
946
+ ROLE_OWNER: "ROLE_OWNER";
947
+ ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
948
+ }>>;
949
+ }, zod.z.core.$strip>>;
950
+ member_id: zod.ZodOptional<zod.ZodString>;
951
+ read_up_to_seq: zod.ZodOptional<zod.ZodString>;
952
+ }, zod.z.core.$strip>>>;
901
953
  settings: zod.ZodOptional<zod.ZodObject<{
902
954
  created_at: zod.ZodOptional<zod.ZodString>;
903
955
  domain_id: zod.ZodOptional<zod.ZodInt>;
@@ -914,6 +966,7 @@ export declare const ThreadManagementCreateResponse: zod.ZodObject<{
914
966
  }>>;
915
967
  unread_count: zod.ZodOptional<zod.ZodInt>;
916
968
  updated_at: zod.ZodOptional<zod.ZodString>;
969
+ updates_cursor: zod.ZodOptional<zod.ZodString>;
917
970
  variables: zod.ZodOptional<zod.ZodObject<{
918
971
  thread_id: zod.ZodOptional<zod.ZodString>;
919
972
  variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -960,15 +1013,14 @@ export declare const ThreadManagementSearchLeftQueryParams: zod.ZodObject<{
960
1013
  page: zod.ZodOptional<zod.ZodInt>;
961
1014
  }, zod.z.core.$strip>;
962
1015
  export declare const threadManagementSearchLeftResponseItemsItemLastMsgDeletedByRoleDefault = "ROLE_UNSPECIFIED";
963
- export declare const threadManagementSearchLeftResponseItemsItemLastMsgDeliveryStatusDefault = "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
964
1016
  export declare const threadManagementSearchLeftResponseItemsItemLastMsgForwardOriginKindDefault = "FORWARD_ORIGIN_KIND_UNSPECIFIED";
965
1017
  export declare const threadManagementSearchLeftResponseItemsItemLastMsgInteractiveInputFieldStateDefault = "INPUT_FIELD_STATE_UNSPECIFIED";
966
1018
  export declare const threadManagementSearchLeftResponseItemsItemLastMsgInteractivePlacementDefault = "MENU_PLACEMENT_UNSPECIFIED";
967
1019
  export declare const threadManagementSearchLeftResponseItemsItemLastMsgReactedMetadataReactedByRoleDefault = "ROLE_UNSPECIFIED";
968
1020
  export declare const threadManagementSearchLeftResponseItemsItemLastMsgReplyToSenderRoleDefault = "ROLE_UNSPECIFIED";
969
1021
  export declare const threadManagementSearchLeftResponseItemsItemLastMsgSenderRoleDefault = "ROLE_UNSPECIFIED";
970
- export declare const threadManagementSearchLeftResponseItemsItemLastMsgStatusesItemStatusDefault = "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
971
1022
  export declare const threadManagementSearchLeftResponseItemsItemMembersItemRoleDefault = "ROLE_UNSPECIFIED";
1023
+ export declare const threadManagementSearchLeftResponseItemsItemReadStatesItemMemberRoleDefault = "ROLE_UNSPECIFIED";
972
1024
  export declare const threadManagementSearchLeftResponseItemsItemTypeDefault = "UNKNOWN";
973
1025
  export declare const ThreadManagementSearchLeftResponse: zod.ZodObject<{
974
1026
  items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -1028,13 +1080,6 @@ export declare const ThreadManagementSearchLeftResponse: zod.ZodObject<{
1028
1080
  ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
1029
1081
  }>>;
1030
1082
  }, zod.z.core.$strip>>;
1031
- delivery_status: zod.ZodDefault<zod.ZodEnum<{
1032
- MESSAGE_DELIVERY_STATUS_UNSPECIFIED: "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
1033
- MESSAGE_DELIVERY_STATUS_SENT: "MESSAGE_DELIVERY_STATUS_SENT";
1034
- MESSAGE_DELIVERY_STATUS_DELIVERED: "MESSAGE_DELIVERY_STATUS_DELIVERED";
1035
- MESSAGE_DELIVERY_STATUS_READ: "MESSAGE_DELIVERY_STATUS_READ";
1036
- MESSAGE_DELIVERY_STATUS_FAILED: "MESSAGE_DELIVERY_STATUS_FAILED";
1037
- }>>;
1038
1083
  documents: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1039
1084
  created_at: zod.ZodOptional<zod.ZodString>;
1040
1085
  file_id: zod.ZodOptional<zod.ZodString>;
@@ -1302,21 +1347,6 @@ export declare const ThreadManagementSearchLeftResponse: zod.ZodObject<{
1302
1347
  }>>;
1303
1348
  }, zod.z.core.$strip>>;
1304
1349
  seq: zod.ZodOptional<zod.ZodString>;
1305
- statuses: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1306
- delivered_at: zod.ZodOptional<zod.ZodString>;
1307
- error: zod.ZodOptional<zod.ZodString>;
1308
- failed_at: zod.ZodOptional<zod.ZodString>;
1309
- member_id: zod.ZodOptional<zod.ZodString>;
1310
- read_at: zod.ZodOptional<zod.ZodString>;
1311
- status: zod.ZodDefault<zod.ZodEnum<{
1312
- MESSAGE_DELIVERY_STATUS_UNSPECIFIED: "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
1313
- MESSAGE_DELIVERY_STATUS_SENT: "MESSAGE_DELIVERY_STATUS_SENT";
1314
- MESSAGE_DELIVERY_STATUS_DELIVERED: "MESSAGE_DELIVERY_STATUS_DELIVERED";
1315
- MESSAGE_DELIVERY_STATUS_READ: "MESSAGE_DELIVERY_STATUS_READ";
1316
- MESSAGE_DELIVERY_STATUS_FAILED: "MESSAGE_DELIVERY_STATUS_FAILED";
1317
- }>>;
1318
- via: zod.ZodOptional<zod.ZodString>;
1319
- }, zod.z.core.$strip>>>;
1320
1350
  system: zod.ZodOptional<zod.ZodObject<{
1321
1351
  message_id: zod.ZodOptional<zod.ZodString>;
1322
1352
  metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
@@ -1368,6 +1398,54 @@ export declare const ThreadManagementSearchLeftResponse: zod.ZodObject<{
1368
1398
  ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
1369
1399
  }>>;
1370
1400
  }, zod.z.core.$strip>>>;
1401
+ read_states: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1402
+ delivered_up_to_seq: zod.ZodOptional<zod.ZodString>;
1403
+ member: zod.ZodOptional<zod.ZodObject<{
1404
+ contact: zod.ZodOptional<zod.ZodObject<{
1405
+ app_id: zod.ZodOptional<zod.ZodString>;
1406
+ created_at: zod.ZodOptional<zod.ZodString>;
1407
+ is_bot: zod.ZodOptional<zod.ZodBoolean>;
1408
+ iss: zod.ZodOptional<zod.ZodString>;
1409
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1410
+ name: zod.ZodOptional<zod.ZodString>;
1411
+ sub: zod.ZodOptional<zod.ZodString>;
1412
+ type: zod.ZodOptional<zod.ZodString>;
1413
+ updated_at: zod.ZodOptional<zod.ZodString>;
1414
+ username: zod.ZodOptional<zod.ZodString>;
1415
+ vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1416
+ contact_id: zod.ZodOptional<zod.ZodString>;
1417
+ created_at: zod.ZodOptional<zod.ZodString>;
1418
+ disable: zod.ZodOptional<zod.ZodBoolean>;
1419
+ disable_reason: zod.ZodOptional<zod.ZodString>;
1420
+ metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
1421
+ updated_at: zod.ZodOptional<zod.ZodString>;
1422
+ via: zod.ZodOptional<zod.ZodString>;
1423
+ }, zod.z.core.$strip>>>;
1424
+ }, zod.z.core.$strip>>;
1425
+ id: zod.ZodOptional<zod.ZodString>;
1426
+ permissions: zod.ZodOptional<zod.ZodObject<{
1427
+ can_add_members: zod.ZodOptional<zod.ZodBoolean>;
1428
+ can_change_members_permissions: zod.ZodOptional<zod.ZodBoolean>;
1429
+ can_change_thread_info: zod.ZodOptional<zod.ZodBoolean>;
1430
+ can_delete_messages: zod.ZodOptional<zod.ZodBoolean>;
1431
+ can_remove_members: zod.ZodOptional<zod.ZodBoolean>;
1432
+ can_send_messages: zod.ZodOptional<zod.ZodBoolean>;
1433
+ created_at: zod.ZodOptional<zod.ZodString>;
1434
+ id: zod.ZodOptional<zod.ZodString>;
1435
+ member_id: zod.ZodOptional<zod.ZodString>;
1436
+ updated_at: zod.ZodOptional<zod.ZodString>;
1437
+ }, zod.z.core.$strip>>;
1438
+ role: zod.ZodDefault<zod.ZodEnum<{
1439
+ ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
1440
+ ROLE_MEMBER: "ROLE_MEMBER";
1441
+ ROLE_ADMIN: "ROLE_ADMIN";
1442
+ ROLE_OWNER: "ROLE_OWNER";
1443
+ ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
1444
+ }>>;
1445
+ }, zod.z.core.$strip>>;
1446
+ member_id: zod.ZodOptional<zod.ZodString>;
1447
+ read_up_to_seq: zod.ZodOptional<zod.ZodString>;
1448
+ }, zod.z.core.$strip>>>;
1371
1449
  settings: zod.ZodOptional<zod.ZodObject<{
1372
1450
  created_at: zod.ZodOptional<zod.ZodString>;
1373
1451
  domain_id: zod.ZodOptional<zod.ZodInt>;
@@ -1384,6 +1462,7 @@ export declare const ThreadManagementSearchLeftResponse: zod.ZodObject<{
1384
1462
  }>>;
1385
1463
  unread_count: zod.ZodOptional<zod.ZodInt>;
1386
1464
  updated_at: zod.ZodOptional<zod.ZodString>;
1465
+ updates_cursor: zod.ZodOptional<zod.ZodString>;
1387
1466
  variables: zod.ZodOptional<zod.ZodObject<{
1388
1467
  thread_id: zod.ZodOptional<zod.ZodString>;
1389
1468
  variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -1433,15 +1512,14 @@ export declare const ThreadManagementGetQueryParams: zod.ZodObject<{
1433
1512
  fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1434
1513
  }, zod.z.core.$strip>;
1435
1514
  export declare const threadManagementGetResponseLastMsgDeletedByRoleDefault = "ROLE_UNSPECIFIED";
1436
- export declare const threadManagementGetResponseLastMsgDeliveryStatusDefault = "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
1437
1515
  export declare const threadManagementGetResponseLastMsgForwardOriginKindDefault = "FORWARD_ORIGIN_KIND_UNSPECIFIED";
1438
1516
  export declare const threadManagementGetResponseLastMsgInteractiveInputFieldStateDefault = "INPUT_FIELD_STATE_UNSPECIFIED";
1439
1517
  export declare const threadManagementGetResponseLastMsgInteractivePlacementDefault = "MENU_PLACEMENT_UNSPECIFIED";
1440
1518
  export declare const threadManagementGetResponseLastMsgReactedMetadataReactedByRoleDefault = "ROLE_UNSPECIFIED";
1441
1519
  export declare const threadManagementGetResponseLastMsgReplyToSenderRoleDefault = "ROLE_UNSPECIFIED";
1442
1520
  export declare const threadManagementGetResponseLastMsgSenderRoleDefault = "ROLE_UNSPECIFIED";
1443
- export declare const threadManagementGetResponseLastMsgStatusesItemStatusDefault = "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
1444
1521
  export declare const threadManagementGetResponseMembersItemRoleDefault = "ROLE_UNSPECIFIED";
1522
+ export declare const threadManagementGetResponseReadStatesItemMemberRoleDefault = "ROLE_UNSPECIFIED";
1445
1523
  export declare const threadManagementGetResponseTypeDefault = "UNKNOWN";
1446
1524
  export declare const ThreadManagementGetResponse: zod.ZodObject<{
1447
1525
  created_at: zod.ZodOptional<zod.ZodString>;
@@ -1500,13 +1578,6 @@ export declare const ThreadManagementGetResponse: zod.ZodObject<{
1500
1578
  ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
1501
1579
  }>>;
1502
1580
  }, zod.z.core.$strip>>;
1503
- delivery_status: zod.ZodDefault<zod.ZodEnum<{
1504
- MESSAGE_DELIVERY_STATUS_UNSPECIFIED: "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
1505
- MESSAGE_DELIVERY_STATUS_SENT: "MESSAGE_DELIVERY_STATUS_SENT";
1506
- MESSAGE_DELIVERY_STATUS_DELIVERED: "MESSAGE_DELIVERY_STATUS_DELIVERED";
1507
- MESSAGE_DELIVERY_STATUS_READ: "MESSAGE_DELIVERY_STATUS_READ";
1508
- MESSAGE_DELIVERY_STATUS_FAILED: "MESSAGE_DELIVERY_STATUS_FAILED";
1509
- }>>;
1510
1581
  documents: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1511
1582
  created_at: zod.ZodOptional<zod.ZodString>;
1512
1583
  file_id: zod.ZodOptional<zod.ZodString>;
@@ -1774,21 +1845,6 @@ export declare const ThreadManagementGetResponse: zod.ZodObject<{
1774
1845
  }>>;
1775
1846
  }, zod.z.core.$strip>>;
1776
1847
  seq: zod.ZodOptional<zod.ZodString>;
1777
- statuses: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1778
- delivered_at: zod.ZodOptional<zod.ZodString>;
1779
- error: zod.ZodOptional<zod.ZodString>;
1780
- failed_at: zod.ZodOptional<zod.ZodString>;
1781
- member_id: zod.ZodOptional<zod.ZodString>;
1782
- read_at: zod.ZodOptional<zod.ZodString>;
1783
- status: zod.ZodDefault<zod.ZodEnum<{
1784
- MESSAGE_DELIVERY_STATUS_UNSPECIFIED: "MESSAGE_DELIVERY_STATUS_UNSPECIFIED";
1785
- MESSAGE_DELIVERY_STATUS_SENT: "MESSAGE_DELIVERY_STATUS_SENT";
1786
- MESSAGE_DELIVERY_STATUS_DELIVERED: "MESSAGE_DELIVERY_STATUS_DELIVERED";
1787
- MESSAGE_DELIVERY_STATUS_READ: "MESSAGE_DELIVERY_STATUS_READ";
1788
- MESSAGE_DELIVERY_STATUS_FAILED: "MESSAGE_DELIVERY_STATUS_FAILED";
1789
- }>>;
1790
- via: zod.ZodOptional<zod.ZodString>;
1791
- }, zod.z.core.$strip>>>;
1792
1848
  system: zod.ZodOptional<zod.ZodObject<{
1793
1849
  message_id: zod.ZodOptional<zod.ZodString>;
1794
1850
  metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
@@ -1840,6 +1896,54 @@ export declare const ThreadManagementGetResponse: zod.ZodObject<{
1840
1896
  ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
1841
1897
  }>>;
1842
1898
  }, zod.z.core.$strip>>>;
1899
+ read_states: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1900
+ delivered_up_to_seq: zod.ZodOptional<zod.ZodString>;
1901
+ member: zod.ZodOptional<zod.ZodObject<{
1902
+ contact: zod.ZodOptional<zod.ZodObject<{
1903
+ app_id: zod.ZodOptional<zod.ZodString>;
1904
+ created_at: zod.ZodOptional<zod.ZodString>;
1905
+ is_bot: zod.ZodOptional<zod.ZodBoolean>;
1906
+ iss: zod.ZodOptional<zod.ZodString>;
1907
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1908
+ name: zod.ZodOptional<zod.ZodString>;
1909
+ sub: zod.ZodOptional<zod.ZodString>;
1910
+ type: zod.ZodOptional<zod.ZodString>;
1911
+ updated_at: zod.ZodOptional<zod.ZodString>;
1912
+ username: zod.ZodOptional<zod.ZodString>;
1913
+ vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1914
+ contact_id: zod.ZodOptional<zod.ZodString>;
1915
+ created_at: zod.ZodOptional<zod.ZodString>;
1916
+ disable: zod.ZodOptional<zod.ZodBoolean>;
1917
+ disable_reason: zod.ZodOptional<zod.ZodString>;
1918
+ metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
1919
+ updated_at: zod.ZodOptional<zod.ZodString>;
1920
+ via: zod.ZodOptional<zod.ZodString>;
1921
+ }, zod.z.core.$strip>>>;
1922
+ }, zod.z.core.$strip>>;
1923
+ id: zod.ZodOptional<zod.ZodString>;
1924
+ permissions: zod.ZodOptional<zod.ZodObject<{
1925
+ can_add_members: zod.ZodOptional<zod.ZodBoolean>;
1926
+ can_change_members_permissions: zod.ZodOptional<zod.ZodBoolean>;
1927
+ can_change_thread_info: zod.ZodOptional<zod.ZodBoolean>;
1928
+ can_delete_messages: zod.ZodOptional<zod.ZodBoolean>;
1929
+ can_remove_members: zod.ZodOptional<zod.ZodBoolean>;
1930
+ can_send_messages: zod.ZodOptional<zod.ZodBoolean>;
1931
+ created_at: zod.ZodOptional<zod.ZodString>;
1932
+ id: zod.ZodOptional<zod.ZodString>;
1933
+ member_id: zod.ZodOptional<zod.ZodString>;
1934
+ updated_at: zod.ZodOptional<zod.ZodString>;
1935
+ }, zod.z.core.$strip>>;
1936
+ role: zod.ZodDefault<zod.ZodEnum<{
1937
+ ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
1938
+ ROLE_MEMBER: "ROLE_MEMBER";
1939
+ ROLE_ADMIN: "ROLE_ADMIN";
1940
+ ROLE_OWNER: "ROLE_OWNER";
1941
+ ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
1942
+ }>>;
1943
+ }, zod.z.core.$strip>>;
1944
+ member_id: zod.ZodOptional<zod.ZodString>;
1945
+ read_up_to_seq: zod.ZodOptional<zod.ZodString>;
1946
+ }, zod.z.core.$strip>>>;
1843
1947
  settings: zod.ZodOptional<zod.ZodObject<{
1844
1948
  created_at: zod.ZodOptional<zod.ZodString>;
1845
1949
  domain_id: zod.ZodOptional<zod.ZodInt>;
@@ -1856,6 +1960,7 @@ export declare const ThreadManagementGetResponse: zod.ZodObject<{
1856
1960
  }>>;
1857
1961
  unread_count: zod.ZodOptional<zod.ZodInt>;
1858
1962
  updated_at: zod.ZodOptional<zod.ZodString>;
1963
+ updates_cursor: zod.ZodOptional<zod.ZodString>;
1859
1964
  variables: zod.ZodOptional<zod.ZodObject<{
1860
1965
  thread_id: zod.ZodOptional<zod.ZodString>;
1861
1966
  variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+ import type { WebitelImApiGatewayV1GetUpdatesRequest, WebitelImApiGatewayV1GetUpdatesResponse } from '../_models';
9
+ export declare const // --- title start
10
+ getWebitelImApiGatewayV1Updates: (axiosInstance?: AxiosInstance) => {
11
+ updatesGetUpdates: (webitelImApiGatewayV1GetUpdatesRequest: WebitelImApiGatewayV1GetUpdatesRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebitelImApiGatewayV1GetUpdatesResponse>>;
12
+ };
13
+ export type UpdatesGetUpdatesResult = AxiosResponse<WebitelImApiGatewayV1GetUpdatesResponse>;