@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
@@ -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
+
8
+ export type LocateArticleParams = {
9
+ /**
10
+ * Set of fields to return.
11
+ */
12
+ fields?: string[];
13
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
8
+ export type SearchHistoryCallExcludedQueueTypesItem =
9
+ (typeof SearchHistoryCallExcludedQueueTypesItem)[keyof typeof SearchHistoryCallExcludedQueueTypesItem];
10
+
11
+ export const SearchHistoryCallExcludedQueueTypesItem = {
12
+ QueueTypeUnspecified: 'QUEUE_TYPE_UNSPECIFIED',
13
+ QueueTypeOffline: 'QUEUE_TYPE_OFFLINE',
14
+ QueueTypeInboundCall: 'QUEUE_TYPE_INBOUND_CALL',
15
+ QueueTypeIvrCall: 'QUEUE_TYPE_IVR_CALL',
16
+ QueueTypePreviewCall: 'QUEUE_TYPE_PREVIEW_CALL',
17
+ QueueTypeProgressiveCall: 'QUEUE_TYPE_PROGRESSIVE_CALL',
18
+ QueueTypePredictiveCall: 'QUEUE_TYPE_PREDICTIVE_CALL',
19
+ QueueTypeInboundChat: 'QUEUE_TYPE_INBOUND_CHAT',
20
+ QueueTypeAgentTask: 'QUEUE_TYPE_AGENT_TASK',
21
+ QueueTypeOutboundTask: 'QUEUE_TYPE_OUTBOUND_TASK',
22
+ QueueTypeInboundIm: 'QUEUE_TYPE_INBOUND_IM',
23
+ QueueTypeOutboundCall: 'QUEUE_TYPE_OUTBOUND_CALL',
24
+ } as const;
@@ -4,6 +4,7 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
+ import type { SearchHistoryCallExcludedQueueTypesItem } from './searchHistoryCallExcludedQueueTypesItem';
7
8
 
8
9
  export type SearchHistoryCallParams = {
9
10
  page?: number;
@@ -63,4 +64,5 @@ export type SearchHistoryCallParams = {
63
64
  schema_id?: number[];
64
65
  has_transfer?: boolean;
65
66
  timeline?: boolean;
67
+ excluded_queue_types?: SearchHistoryCallExcludedQueueTypesItem[];
66
68
  };
@@ -20,9 +20,10 @@ export type SearchRetrievalParams = {
20
20
  */
21
21
  tags?: string[];
22
22
  /**
23
- * How to combine the tag filter.
23
+ * How to combine the tag filter; unspecified means any.
24
24
  *
25
- * - TAG_MATCH_ALL: Default: match articles having ALL listed tags (AND).
25
+ * - TAG_MATCH_UNSPECIFIED: Default mode: match articles having ANY listed tag (OR).
26
+ * - TAG_MATCH_ALL: Match articles having ALL listed tags (AND).
26
27
  * - TAG_MATCH_ANY: Match articles having ANY listed tag (OR).
27
28
  */
28
29
  tag_match?: SearchRetrievalTagMatch;
@@ -9,6 +9,7 @@ export type SearchRetrievalTagMatch =
9
9
  (typeof SearchRetrievalTagMatch)[keyof typeof SearchRetrievalTagMatch];
10
10
 
11
11
  export const SearchRetrievalTagMatch = {
12
+ TagMatchUnspecified: 'TAG_MATCH_UNSPECIFIED',
12
13
  TagMatchAll: 'TAG_MATCH_ALL',
13
14
  TagMatchAny: 'TAG_MATCH_ANY',
14
15
  } as const;
@@ -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
+
8
+ export type UpdateArticle2Params = {
9
+ /**
10
+ * Input fields to apply, filled by the gateway from a PATCH body.
11
+ */
12
+ x_json_mask?: string[];
13
+ };
@@ -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
+
8
+ export type UpdateArticleParams = {
9
+ /**
10
+ * Input fields to apply, filled by the gateway from a PATCH body.
11
+ */
12
+ x_json_mask?: string[];
13
+ };
@@ -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
+
8
+ export type UpdateModel2Params = {
9
+ /**
10
+ * Input fields to apply, filled by the gateway from a PATCH body.
11
+ */
12
+ x_json_mask?: string[];
13
+ };
@@ -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
+
8
+ export type UpdateModelParams = {
9
+ /**
10
+ * Input fields to apply, filled by the gateway from a PATCH body.
11
+ */
12
+ x_json_mask?: string[];
13
+ };
@@ -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
+
8
+ export type UpdateSpace2Params = {
9
+ /**
10
+ * Input fields to apply, filled by the gateway from a PATCH body.
11
+ */
12
+ x_json_mask?: string[];
13
+ };
@@ -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
+
8
+ export type UpdateSpaceParams = {
9
+ /**
10
+ * Input fields to apply, filled by the gateway from a PATCH body.
11
+ */
12
+ x_json_mask?: string[];
13
+ };
@@ -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 { GeneralLookup } from './generalLookup';
8
+
9
+ export interface WebitelCasesCaseTimelinePostprocessingResult {
10
+ agent?: GeneralLookup;
11
+ form?: unknown;
12
+ reporting_at?: string;
13
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
8
+ export interface WebitelCasesCaseTimelineVariable {
9
+ key?: string;
10
+ value?: string;
11
+ }
@@ -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 { WebitelCasesCaseTimelinePostprocessingResult } from './webitelCasesCaseTimelinePostprocessingResult';
8
+ import type { WebitelCasesCaseTimelineVariable } from './webitelCasesCaseTimelineVariable';
9
+
10
+ export interface WebitelCasesGetTimelineItemInfoResponse {
11
+ postprocessing?: WebitelCasesCaseTimelinePostprocessingResult[];
12
+ variables?: WebitelCasesCaseTimelineVariable[];
13
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
8
+ export interface WebitelImApiGatewayV1GetUpdatesRequest {
9
+ /** From the previous response; empty on the first sync. */
10
+ cursor?: string;
11
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { WebitelImApiGatewayV1ThreadUpdates } from './webitelImApiGatewayV1ThreadUpdates';
8
+
9
+ export interface WebitelImApiGatewayV1GetUpdatesResponse {
10
+ /** Pass back as cursor on the next call. */
11
+ cursor?: string;
12
+ /**
13
+ * Empty cursor, unusable cursor or more than 1000 changes: reload the thread list,
14
+ * then continue from cursor.
15
+ */
16
+ resync?: boolean;
17
+ /** Only threads that changed. */
18
+ threads?: WebitelImApiGatewayV1ThreadUpdates[];
19
+ }
@@ -11,10 +11,8 @@ import type { WebitelImApiGatewayV1Image } from './webitelImApiGatewayV1Image';
11
11
  import type { WebitelImApiGatewayV1Interactive } from './webitelImApiGatewayV1Interactive';
12
12
  import type { WebitelImApiGatewayV1InteractiveCallback } from './webitelImApiGatewayV1InteractiveCallback';
13
13
  import type { WebitelImApiGatewayV1MessageContact } from './webitelImApiGatewayV1MessageContact';
14
- import type { WebitelImApiGatewayV1MessageDeliveryStatus } from './webitelImApiGatewayV1MessageDeliveryStatus';
15
14
  import type { WebitelImApiGatewayV1MessageLocation } from './webitelImApiGatewayV1MessageLocation';
16
15
  import type { WebitelImApiGatewayV1MessageReaction } from './webitelImApiGatewayV1MessageReaction';
17
- import type { WebitelImApiGatewayV1MessageRecipientStatus } from './webitelImApiGatewayV1MessageRecipientStatus';
18
16
  import type { WebitelImApiGatewayV1ReplyToMessage } from './webitelImApiGatewayV1ReplyToMessage';
19
17
  import type { WebitelImApiGatewayV1System } from './webitelImApiGatewayV1System';
20
18
  import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
@@ -42,12 +40,6 @@ export interface WebitelImApiGatewayV1HistoryMessage {
42
40
  * the message is live.
43
41
  */
44
42
  deleted_by?: WebitelImApiGatewayV1ThreadMember;
45
- /**
46
- * Aggregated delivery status across recipients: FAILED when every
47
- * recipient failed, otherwise the minimal status among non-failed ones.
48
- * UNSPECIFIED for messages without per-recipient tracking (historical).
49
- */
50
- delivery_status?: WebitelImApiGatewayV1MessageDeliveryStatus;
51
43
  /** List of document attachments. */
52
44
  documents?: WebitelImApiGatewayV1Document[];
53
45
  /** Message last update timestamp (Unix time, milliseconds). */
@@ -83,8 +75,6 @@ export interface WebitelImApiGatewayV1HistoryMessage {
83
75
  sender?: WebitelImApiGatewayV1ThreadMember;
84
76
  /** Per-thread monotonic sequence number, assigned on message creation. */
85
77
  seq?: string;
86
- /** Per-recipient delivery details. */
87
- statuses?: WebitelImApiGatewayV1MessageRecipientStatus[];
88
78
  /** System message content. */
89
79
  system?: WebitelImApiGatewayV1System;
90
80
  /** Identifier of the thread the message belongs to. */
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
8
+
9
+ /**
10
+ * MemberReadState is one member's delivery/read horizon in a thread, as
11
+ * per-thread message seq (0 = nothing reached that state yet).
12
+ */
13
+ export interface WebitelImApiGatewayV1MemberReadState {
14
+ delivered_up_to_seq?: string;
15
+ /** The member, in the same shape as history's sender; set by GetUpdates. */
16
+ member?: WebitelImApiGatewayV1ThreadMember;
17
+ member_id?: string;
18
+ read_up_to_seq?: string;
19
+ }
@@ -18,4 +18,6 @@ export interface WebitelImApiGatewayV1SearchMessageHistoryResponse {
18
18
  next_cursor?: WebitelImApiGatewayV1HistoryMessageCursorResponse;
19
19
  /** Cursor that represents position to get newest messages (used with 'before' param). */
20
20
  prev_cursor?: WebitelImApiGatewayV1HistoryMessageCursorResponse;
21
+ /** GetUpdates cursor read before this page: every later change comes from GetUpdates(updates_cursor). */
22
+ updates_cursor?: string;
21
23
  }
@@ -15,4 +15,6 @@ export interface WebitelImApiGatewayV1SearchThreadResponse {
15
15
  items?: WebitelImApiGatewayV1Thread[];
16
16
  /** Indicates whether there is a next page available. */
17
17
  next?: boolean;
18
+ /** GetUpdates cursor read before this page: every later change comes from GetUpdates(updates_cursor). */
19
+ updates_cursor?: string;
18
20
  }
@@ -5,6 +5,7 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  import type { WebitelImApiGatewayV1HistoryMessage } from './webitelImApiGatewayV1HistoryMessage';
8
+ import type { WebitelImApiGatewayV1MemberReadState } from './webitelImApiGatewayV1MemberReadState';
8
9
  import type { WebitelImApiGatewayV1ThreadKind } from './webitelImApiGatewayV1ThreadKind';
9
10
  import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
10
11
  import type { WebitelImApiGatewayV1ThreadSettings } from './webitelImApiGatewayV1ThreadSettings';
@@ -24,6 +25,11 @@ export interface WebitelImApiGatewayV1Thread {
24
25
  last_msg?: WebitelImApiGatewayV1HistoryMessage;
25
26
  /** Detailed member information. */
26
27
  members?: WebitelImApiGatewayV1ThreadMember[];
28
+ /**
29
+ * Per-member read horizons (snapshot, matches GetUpdates model).
30
+ * Client derives inbox/outbox watermarks: own_last_read = inbox; MIN over others = outbox.
31
+ */
32
+ read_states?: WebitelImApiGatewayV1MemberReadState[];
27
33
  /** User-specific settings for this thread. */
28
34
  settings?: WebitelImApiGatewayV1ThreadSettings;
29
35
  /** Thread subject or title. */
@@ -38,6 +44,8 @@ export interface WebitelImApiGatewayV1Thread {
38
44
  unread_count?: number;
39
45
  /** Last update timestamp (Unix time, milliseconds). */
40
46
  updated_at?: string;
47
+ /** GetUpdates cursor read before this thread (set by Get; Search carries it on the response). */
48
+ updates_cursor?: string;
41
49
  /** Optional variables associated with the thread. */
42
50
  variables?: WebitelImApiGatewayV1ThreadVariables;
43
51
  }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
8
+ import type { WebitelImApiGatewayV1ThreadMemberChangeAction } from './webitelImApiGatewayV1ThreadMemberChangeAction';
9
+
10
+ export interface WebitelImApiGatewayV1ThreadMemberChange {
11
+ action?: WebitelImApiGatewayV1ThreadMemberChangeAction;
12
+ /** Who made the change. */
13
+ by?: WebitelImApiGatewayV1ThreadMember;
14
+ member?: WebitelImApiGatewayV1ThreadMember;
15
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
8
+ export type WebitelImApiGatewayV1ThreadMemberChangeAction =
9
+ (typeof WebitelImApiGatewayV1ThreadMemberChangeAction)[keyof typeof WebitelImApiGatewayV1ThreadMemberChangeAction];
10
+
11
+ export const WebitelImApiGatewayV1ThreadMemberChangeAction = {
12
+ ThreadMemberChangeActionUnspecified:
13
+ 'THREAD_MEMBER_CHANGE_ACTION_UNSPECIFIED',
14
+ ThreadMemberChangeActionJoined: 'THREAD_MEMBER_CHANGE_ACTION_JOINED',
15
+ ThreadMemberChangeActionLeft: 'THREAD_MEMBER_CHANGE_ACTION_LEFT',
16
+ } as const;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { WebitelImApiGatewayV1MemberReadState } from './webitelImApiGatewayV1MemberReadState';
8
+ import type { WebitelImApiGatewayV1Thread } from './webitelImApiGatewayV1Thread';
9
+ import type { WebitelImApiGatewayV1ThreadMemberChange } from './webitelImApiGatewayV1ThreadMemberChange';
10
+ import type { WebitelImApiGatewayV1UpdatedMessage } from './webitelImApiGatewayV1UpdatedMessage';
11
+
12
+ export interface WebitelImApiGatewayV1ThreadUpdates {
13
+ deleted_message_ids?: string[];
14
+ /** The thread itself, set when it is new to the caller (created or joined since cursor). */
15
+ dialog?: WebitelImApiGatewayV1Thread;
16
+ /** The caller is no longer a member: drop the thread. */
17
+ left?: boolean;
18
+ member_changes?: WebitelImApiGatewayV1ThreadMemberChange[];
19
+ /** New or changed messages in their current state; upsert by id. */
20
+ messages?: WebitelImApiGatewayV1UpdatedMessage[];
21
+ /** Delivery/read horizons in message seq. */
22
+ read_states?: WebitelImApiGatewayV1MemberReadState[];
23
+ thread_id?: string;
24
+ /** Newest message for the list preview; set with dialog. */
25
+ top_message?: WebitelImApiGatewayV1UpdatedMessage;
26
+ unread_count?: string;
27
+ }
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { WebitelImApiGatewayV1Document } from './webitelImApiGatewayV1Document';
8
+ import type { WebitelImApiGatewayV1ForwardOrigin } from './webitelImApiGatewayV1ForwardOrigin';
9
+ import type { WebitelImApiGatewayV1Image } from './webitelImApiGatewayV1Image';
10
+ import type { WebitelImApiGatewayV1Interactive } from './webitelImApiGatewayV1Interactive';
11
+ import type { WebitelImApiGatewayV1MessageContact } from './webitelImApiGatewayV1MessageContact';
12
+ import type { WebitelImApiGatewayV1MessageLocation } from './webitelImApiGatewayV1MessageLocation';
13
+ import type { WebitelImApiGatewayV1MessageReaction } from './webitelImApiGatewayV1MessageReaction';
14
+ import type { WebitelImApiGatewayV1ReplyToMessage } from './webitelImApiGatewayV1ReplyToMessage';
15
+ import type { WebitelImApiGatewayV1System } from './webitelImApiGatewayV1System';
16
+ import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
17
+ import type { WebitelImApiGatewayV1UpdatedMessageMetadata } from './webitelImApiGatewayV1UpdatedMessageMetadata';
18
+
19
+ /**
20
+ * UpdatedMessage is what a client needs to render or re-render a message bubble.
21
+ */
22
+ export interface WebitelImApiGatewayV1UpdatedMessage {
23
+ body?: string;
24
+ contact?: WebitelImApiGatewayV1MessageContact;
25
+ created_at?: string;
26
+ documents?: WebitelImApiGatewayV1Document[];
27
+ /** Set when the message was edited. */
28
+ edited_at?: string;
29
+ forward_origin?: WebitelImApiGatewayV1ForwardOrigin;
30
+ id?: string;
31
+ images?: WebitelImApiGatewayV1Image[];
32
+ interactive?: WebitelImApiGatewayV1Interactive;
33
+ location?: WebitelImApiGatewayV1MessageLocation;
34
+ metadata?: WebitelImApiGatewayV1UpdatedMessageMetadata;
35
+ reactions?: WebitelImApiGatewayV1MessageReaction[];
36
+ reply_to?: WebitelImApiGatewayV1ReplyToMessage;
37
+ sender?: WebitelImApiGatewayV1ThreadMember;
38
+ seq?: string;
39
+ system?: WebitelImApiGatewayV1System;
40
+ type?: number;
41
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
8
+ export type WebitelImApiGatewayV1UpdatedMessageMetadata = {
9
+ [key: string]: unknown;
10
+ };
@@ -7,6 +7,7 @@
7
7
  import type { GeneralLookup } from './generalLookup';
8
8
  import type { WebitelKbArticleState } from './webitelKbArticleState';
9
9
  import type { WebitelKbArticleType } from './webitelKbArticleType';
10
+ import type { WebitelKbArticleVersion } from './webitelKbArticleVersion';
10
11
  import type { WebitelKbIndexState } from './webitelKbIndexState';
11
12
 
12
13
  /**
@@ -31,6 +32,8 @@ export interface WebitelKbArticle {
31
32
  index_state?: WebitelKbIndexState;
32
33
  /** Parent article id; 0 for a top-level article. */
33
34
  parent_id?: string;
35
+ /** Published version, only when requested in fields. */
36
+ published?: WebitelKbArticleVersion;
34
37
  /** Published version id; 0 if not yet published. */
35
38
  published_version_id?: string;
36
39
  /** Space the article belongs to. */
@@ -18,7 +18,7 @@ export interface WebitelKbSemanticSearchRequest {
18
18
  query?: string;
19
19
  /** Spaces to search within (bot service scope). */
20
20
  space_ids?: string[];
21
- /** How to combine the tag filter. */
21
+ /** How to combine the tag filter; unspecified means any. */
22
22
  tag_match?: WebitelKbTagMatch;
23
23
  /** Maximum number of chunks to return. */
24
24
  top_k?: number;
@@ -8,13 +8,15 @@
8
8
  /**
9
9
  * Tag-filter combination mode.
10
10
  *
11
- * - TAG_MATCH_ALL: Default: match articles having ALL listed tags (AND).
11
+ * - TAG_MATCH_UNSPECIFIED: Default mode: match articles having ANY listed tag (OR).
12
+ * - TAG_MATCH_ALL: Match articles having ALL listed tags (AND).
12
13
  * - TAG_MATCH_ANY: Match articles having ANY listed tag (OR).
13
14
  */
14
15
  export type WebitelKbTagMatch =
15
16
  (typeof WebitelKbTagMatch)[keyof typeof WebitelKbTagMatch];
16
17
 
17
18
  export const WebitelKbTagMatch = {
19
+ TagMatchUnspecified: 'TAG_MATCH_UNSPECIFIED',
18
20
  TagMatchAll: 'TAG_MATCH_ALL',
19
21
  TagMatchAny: 'TAG_MATCH_ANY',
20
22
  } as const;
@@ -23,8 +23,11 @@ import type {
23
23
  ListArticlesArticlesParams,
24
24
  ListArticlesParams,
25
25
  LocateArticleArticlesParams,
26
+ LocateArticleParams,
27
+ UpdateArticle2Params,
26
28
  UpdateArticleArticlesBody,
27
29
  UpdateArticleArticlesParams,
30
+ UpdateArticleParams,
28
31
  WebitelKbArticle,
29
32
  WebitelKbArticleList,
30
33
  WebitelKbArticlesMoveArticleBody,
@@ -237,9 +240,16 @@ export const // --- title start
237
240
  */
238
241
  const locateArticle = (
239
242
  etag: string,
243
+ params?: LocateArticleParams,
240
244
  options?: AxiosRequestConfig,
241
245
  ): Promise<AxiosResponse<WebitelKbArticle>> => {
242
- return axiosInstance.get(`/v1/kb/articles/${etag}`, options);
246
+ return axiosInstance.get(`/v1/kb/articles/${etag}`, {
247
+ ...options,
248
+ params: {
249
+ ...params,
250
+ ...options?.params,
251
+ },
252
+ });
243
253
  };
244
254
  /**
245
255
  * @summary UpdateArticle updates an article, creating a new version (optimistic lock via etag).
@@ -247,12 +257,19 @@ export const // --- title start
247
257
  const updateArticle2 = (
248
258
  etag: string,
249
259
  webitelKbInputArticle: WebitelKbInputArticle,
260
+ params?: UpdateArticle2Params,
250
261
  options?: AxiosRequestConfig,
251
262
  ): Promise<AxiosResponse<WebitelKbArticle>> => {
252
263
  return axiosInstance.patch(
253
264
  `/v1/kb/articles/${etag}`,
254
265
  webitelKbInputArticle,
255
- options,
266
+ {
267
+ ...options,
268
+ params: {
269
+ ...params,
270
+ ...options?.params,
271
+ },
272
+ },
256
273
  );
257
274
  };
258
275
  /**
@@ -261,12 +278,19 @@ export const // --- title start
261
278
  const updateArticle = (
262
279
  etag: string,
263
280
  webitelKbInputArticle: WebitelKbInputArticle,
281
+ params?: UpdateArticleParams,
264
282
  options?: AxiosRequestConfig,
265
283
  ): Promise<AxiosResponse<WebitelKbArticle>> => {
266
284
  return axiosInstance.put(
267
285
  `/v1/kb/articles/${etag}`,
268
286
  webitelKbInputArticle,
269
- options,
287
+ {
288
+ ...options,
289
+ params: {
290
+ ...params,
291
+ ...options?.params,
292
+ },
293
+ },
270
294
  );
271
295
  };
272
296
  /**
@@ -283,6 +307,19 @@ export const // --- title start
283
307
  options,
284
308
  );
285
309
  };
310
+ /**
311
+ * @summary ReindexArticle queues the latest version of an article for indexing again.
312
+ */
313
+ const reindexArticle = (
314
+ etag: string,
315
+ options?: AxiosRequestConfig,
316
+ ): Promise<AxiosResponse<WebitelKbArticle>> => {
317
+ return axiosInstance.post(
318
+ `/v1/kb/articles/${etag}/reindex`,
319
+ undefined,
320
+ options,
321
+ );
322
+ };
286
323
  /**
287
324
  * @summary ListAncestors returns the ancestor chain (root first), serving breadcrumbs.
288
325
  */
@@ -329,6 +366,7 @@ export const // --- title start
329
366
  updateArticle2,
330
367
  updateArticle,
331
368
  moveArticle,
369
+ reindexArticle,
332
370
  listAncestors,
333
371
  listChildren,
334
372
  getTree,
@@ -356,6 +394,7 @@ export type LocateArticleResult = AxiosResponse<WebitelKbArticle>;
356
394
  export type UpdateArticle2Result = AxiosResponse<WebitelKbArticle>;
357
395
  export type UpdateArticleResult = AxiosResponse<WebitelKbArticle>;
358
396
  export type MoveArticleResult = AxiosResponse<WebitelKbArticle>;
397
+ export type ReindexArticleResult = AxiosResponse<WebitelKbArticle>;
359
398
  export type ListAncestorsResult = AxiosResponse<WebitelKbArticleList>;
360
399
  export type ListChildrenResult = AxiosResponse<WebitelKbArticleList>;
361
400
  export type GetTreeResult = AxiosResponse<WebitelKbGetTreeResponse>;