@meetkai/mka1 0.55.6 → 0.55.9

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 (240) hide show
  1. package/README.md +375 -361
  2. package/bin/mcp-server.js +517 -16
  3. package/bin/mcp-server.js.map +23 -19
  4. package/dist/commonjs/funcs/authOrgsGetInboundRules.d.ts +18 -0
  5. package/dist/commonjs/funcs/authOrgsGetInboundRules.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/authOrgsGetInboundRules.js +145 -0
  7. package/dist/commonjs/funcs/authOrgsGetInboundRules.js.map +1 -0
  8. package/dist/commonjs/funcs/authOrgsUpdateInboundRules.d.ts +18 -0
  9. package/dist/commonjs/funcs/authOrgsUpdateInboundRules.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/authOrgsUpdateInboundRules.js +140 -0
  11. package/dist/commonjs/funcs/authOrgsUpdateInboundRules.js.map +1 -0
  12. package/dist/commonjs/funcs/llmFilesList.js +1 -0
  13. package/dist/commonjs/funcs/llmFilesList.js.map +1 -1
  14. package/dist/commonjs/funcs/llmVectorStoresCreate.d.ts +1 -1
  15. package/dist/commonjs/funcs/llmVectorStoresCreate.js +1 -1
  16. package/dist/commonjs/funcs/llmVectorStoresCreateFile.d.ts +1 -1
  17. package/dist/commonjs/funcs/llmVectorStoresCreateFile.js +1 -1
  18. package/dist/commonjs/funcs/llmVectorStoresCreateFileBatch.d.ts +1 -1
  19. package/dist/commonjs/funcs/llmVectorStoresCreateFileBatch.js +1 -1
  20. package/dist/commonjs/lib/config.d.ts +2 -2
  21. package/dist/commonjs/lib/config.js +2 -2
  22. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  23. package/dist/commonjs/mcp-server/server.js +1 -1
  24. package/dist/commonjs/mcp-server/tools/llmVectorStoresCreate.js +1 -1
  25. package/dist/commonjs/mcp-server/tools/llmVectorStoresCreate.js.map +1 -1
  26. package/dist/commonjs/mcp-server/tools/llmVectorStoresCreateFile.js +1 -1
  27. package/dist/commonjs/mcp-server/tools/llmVectorStoresCreateFile.js.map +1 -1
  28. package/dist/commonjs/mcp-server/tools/llmVectorStoresCreateFileBatch.js +1 -1
  29. package/dist/commonjs/mcp-server/tools/llmVectorStoresCreateFileBatch.js.map +1 -1
  30. package/dist/commonjs/models/components/createvectorstorefilebatchrequest.d.ts +5 -0
  31. package/dist/commonjs/models/components/createvectorstorefilebatchrequest.d.ts.map +1 -1
  32. package/dist/commonjs/models/components/createvectorstorefilebatchrequest.js +4 -0
  33. package/dist/commonjs/models/components/createvectorstorefilebatchrequest.js.map +1 -1
  34. package/dist/commonjs/models/components/file.d.ts +5 -0
  35. package/dist/commonjs/models/components/file.d.ts.map +1 -1
  36. package/dist/commonjs/models/components/file.js +2 -0
  37. package/dist/commonjs/models/components/file.js.map +1 -1
  38. package/dist/commonjs/models/components/vectorstorefileerror.d.ts +4 -3
  39. package/dist/commonjs/models/components/vectorstorefileerror.d.ts.map +1 -1
  40. package/dist/commonjs/models/components/vectorstorefileerror.js +2 -1
  41. package/dist/commonjs/models/components/vectorstorefileerror.js.map +1 -1
  42. package/dist/commonjs/models/errors/getorginboundrules.d.ts +185 -0
  43. package/dist/commonjs/models/errors/getorginboundrules.d.ts.map +1 -0
  44. package/dist/commonjs/models/errors/getorginboundrules.js +266 -0
  45. package/dist/commonjs/models/errors/getorginboundrules.js.map +1 -0
  46. package/dist/commonjs/models/errors/index.d.ts +2 -0
  47. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  48. package/dist/commonjs/models/errors/index.js +2 -0
  49. package/dist/commonjs/models/errors/index.js.map +1 -1
  50. package/dist/commonjs/models/errors/updateorginboundrules.d.ts +188 -0
  51. package/dist/commonjs/models/errors/updateorginboundrules.d.ts.map +1 -0
  52. package/dist/commonjs/models/errors/updateorginboundrules.js +270 -0
  53. package/dist/commonjs/models/errors/updateorginboundrules.js.map +1 -0
  54. package/dist/commonjs/models/operations/getorginboundrules.d.ts +80 -0
  55. package/dist/commonjs/models/operations/getorginboundrules.d.ts.map +1 -0
  56. package/dist/commonjs/models/operations/getorginboundrules.js +133 -0
  57. package/dist/commonjs/models/operations/getorginboundrules.js.map +1 -0
  58. package/dist/commonjs/models/operations/index.d.ts +2 -0
  59. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  60. package/dist/commonjs/models/operations/index.js +2 -0
  61. package/dist/commonjs/models/operations/index.js.map +1 -1
  62. package/dist/commonjs/models/operations/listfiles.d.ts +2 -0
  63. package/dist/commonjs/models/operations/listfiles.d.ts.map +1 -1
  64. package/dist/commonjs/models/operations/listfiles.js +2 -0
  65. package/dist/commonjs/models/operations/listfiles.js.map +1 -1
  66. package/dist/commonjs/models/operations/updateorginboundrules.d.ts +110 -0
  67. package/dist/commonjs/models/operations/updateorginboundrules.d.ts.map +1 -0
  68. package/dist/commonjs/models/operations/updateorginboundrules.js +172 -0
  69. package/dist/commonjs/models/operations/updateorginboundrules.js.map +1 -0
  70. package/dist/commonjs/react-query/authOrgsGetInboundRules.core.d.ts +14 -0
  71. package/dist/commonjs/react-query/authOrgsGetInboundRules.core.d.ts.map +1 -0
  72. package/dist/commonjs/react-query/authOrgsGetInboundRules.core.js +36 -0
  73. package/dist/commonjs/react-query/authOrgsGetInboundRules.core.js.map +1 -0
  74. package/dist/commonjs/react-query/authOrgsGetInboundRules.d.ts +39 -0
  75. package/dist/commonjs/react-query/authOrgsGetInboundRules.d.ts.map +1 -0
  76. package/dist/commonjs/react-query/authOrgsGetInboundRules.js +60 -0
  77. package/dist/commonjs/react-query/authOrgsGetInboundRules.js.map +1 -0
  78. package/dist/commonjs/react-query/authOrgsUpdateInboundRules.d.ts +30 -0
  79. package/dist/commonjs/react-query/authOrgsUpdateInboundRules.d.ts.map +1 -0
  80. package/dist/commonjs/react-query/authOrgsUpdateInboundRules.js +47 -0
  81. package/dist/commonjs/react-query/authOrgsUpdateInboundRules.js.map +1 -0
  82. package/dist/commonjs/react-query/index.d.ts +2 -0
  83. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  84. package/dist/commonjs/react-query/index.js +2 -0
  85. package/dist/commonjs/react-query/index.js.map +1 -1
  86. package/dist/commonjs/react-query/llmFilesList.core.d.ts +1 -0
  87. package/dist/commonjs/react-query/llmFilesList.core.d.ts.map +1 -1
  88. package/dist/commonjs/react-query/llmFilesList.core.js +1 -0
  89. package/dist/commonjs/react-query/llmFilesList.core.js.map +1 -1
  90. package/dist/commonjs/react-query/llmFilesList.d.ts +2 -0
  91. package/dist/commonjs/react-query/llmFilesList.d.ts.map +1 -1
  92. package/dist/commonjs/react-query/llmFilesList.js.map +1 -1
  93. package/dist/commonjs/react-query/llmVectorStoresCreate.d.ts +1 -1
  94. package/dist/commonjs/react-query/llmVectorStoresCreate.js +1 -1
  95. package/dist/commonjs/react-query/llmVectorStoresCreateFile.d.ts +1 -1
  96. package/dist/commonjs/react-query/llmVectorStoresCreateFile.js +1 -1
  97. package/dist/commonjs/react-query/llmVectorStoresCreateFileBatch.d.ts +1 -1
  98. package/dist/commonjs/react-query/llmVectorStoresCreateFileBatch.js +1 -1
  99. package/dist/commonjs/sdk/orgs.d.ts +14 -0
  100. package/dist/commonjs/sdk/orgs.d.ts.map +1 -1
  101. package/dist/commonjs/sdk/orgs.js +20 -0
  102. package/dist/commonjs/sdk/orgs.js.map +1 -1
  103. package/dist/commonjs/sdk/vectorstores.d.ts +3 -3
  104. package/dist/commonjs/sdk/vectorstores.js +3 -3
  105. package/dist/esm/funcs/authOrgsGetInboundRules.d.ts +18 -0
  106. package/dist/esm/funcs/authOrgsGetInboundRules.d.ts.map +1 -0
  107. package/dist/esm/funcs/authOrgsGetInboundRules.js +109 -0
  108. package/dist/esm/funcs/authOrgsGetInboundRules.js.map +1 -0
  109. package/dist/esm/funcs/authOrgsUpdateInboundRules.d.ts +18 -0
  110. package/dist/esm/funcs/authOrgsUpdateInboundRules.d.ts.map +1 -0
  111. package/dist/esm/funcs/authOrgsUpdateInboundRules.js +104 -0
  112. package/dist/esm/funcs/authOrgsUpdateInboundRules.js.map +1 -0
  113. package/dist/esm/funcs/llmFilesList.js +1 -0
  114. package/dist/esm/funcs/llmFilesList.js.map +1 -1
  115. package/dist/esm/funcs/llmVectorStoresCreate.d.ts +1 -1
  116. package/dist/esm/funcs/llmVectorStoresCreate.js +1 -1
  117. package/dist/esm/funcs/llmVectorStoresCreateFile.d.ts +1 -1
  118. package/dist/esm/funcs/llmVectorStoresCreateFile.js +1 -1
  119. package/dist/esm/funcs/llmVectorStoresCreateFileBatch.d.ts +1 -1
  120. package/dist/esm/funcs/llmVectorStoresCreateFileBatch.js +1 -1
  121. package/dist/esm/lib/config.d.ts +2 -2
  122. package/dist/esm/lib/config.js +2 -2
  123. package/dist/esm/mcp-server/mcp-server.js +1 -1
  124. package/dist/esm/mcp-server/server.js +1 -1
  125. package/dist/esm/mcp-server/tools/llmVectorStoresCreate.js +1 -1
  126. package/dist/esm/mcp-server/tools/llmVectorStoresCreate.js.map +1 -1
  127. package/dist/esm/mcp-server/tools/llmVectorStoresCreateFile.js +1 -1
  128. package/dist/esm/mcp-server/tools/llmVectorStoresCreateFile.js.map +1 -1
  129. package/dist/esm/mcp-server/tools/llmVectorStoresCreateFileBatch.js +1 -1
  130. package/dist/esm/mcp-server/tools/llmVectorStoresCreateFileBatch.js.map +1 -1
  131. package/dist/esm/models/components/createvectorstorefilebatchrequest.d.ts +5 -0
  132. package/dist/esm/models/components/createvectorstorefilebatchrequest.d.ts.map +1 -1
  133. package/dist/esm/models/components/createvectorstorefilebatchrequest.js +4 -0
  134. package/dist/esm/models/components/createvectorstorefilebatchrequest.js.map +1 -1
  135. package/dist/esm/models/components/file.d.ts +5 -0
  136. package/dist/esm/models/components/file.d.ts.map +1 -1
  137. package/dist/esm/models/components/file.js +2 -0
  138. package/dist/esm/models/components/file.js.map +1 -1
  139. package/dist/esm/models/components/vectorstorefileerror.d.ts +4 -3
  140. package/dist/esm/models/components/vectorstorefileerror.d.ts.map +1 -1
  141. package/dist/esm/models/components/vectorstorefileerror.js +2 -1
  142. package/dist/esm/models/components/vectorstorefileerror.js.map +1 -1
  143. package/dist/esm/models/errors/getorginboundrules.d.ts +185 -0
  144. package/dist/esm/models/errors/getorginboundrules.d.ts.map +1 -0
  145. package/dist/esm/models/errors/getorginboundrules.js +223 -0
  146. package/dist/esm/models/errors/getorginboundrules.js.map +1 -0
  147. package/dist/esm/models/errors/index.d.ts +2 -0
  148. package/dist/esm/models/errors/index.d.ts.map +1 -1
  149. package/dist/esm/models/errors/index.js +2 -0
  150. package/dist/esm/models/errors/index.js.map +1 -1
  151. package/dist/esm/models/errors/updateorginboundrules.d.ts +188 -0
  152. package/dist/esm/models/errors/updateorginboundrules.d.ts.map +1 -0
  153. package/dist/esm/models/errors/updateorginboundrules.js +227 -0
  154. package/dist/esm/models/errors/updateorginboundrules.js.map +1 -0
  155. package/dist/esm/models/operations/getorginboundrules.d.ts +80 -0
  156. package/dist/esm/models/operations/getorginboundrules.d.ts.map +1 -0
  157. package/dist/esm/models/operations/getorginboundrules.js +89 -0
  158. package/dist/esm/models/operations/getorginboundrules.js.map +1 -0
  159. package/dist/esm/models/operations/index.d.ts +2 -0
  160. package/dist/esm/models/operations/index.d.ts.map +1 -1
  161. package/dist/esm/models/operations/index.js +2 -0
  162. package/dist/esm/models/operations/index.js.map +1 -1
  163. package/dist/esm/models/operations/listfiles.d.ts +2 -0
  164. package/dist/esm/models/operations/listfiles.d.ts.map +1 -1
  165. package/dist/esm/models/operations/listfiles.js +2 -0
  166. package/dist/esm/models/operations/listfiles.js.map +1 -1
  167. package/dist/esm/models/operations/updateorginboundrules.d.ts +110 -0
  168. package/dist/esm/models/operations/updateorginboundrules.d.ts.map +1 -0
  169. package/dist/esm/models/operations/updateorginboundrules.js +124 -0
  170. package/dist/esm/models/operations/updateorginboundrules.js.map +1 -0
  171. package/dist/esm/react-query/authOrgsGetInboundRules.core.d.ts +14 -0
  172. package/dist/esm/react-query/authOrgsGetInboundRules.core.d.ts.map +1 -0
  173. package/dist/esm/react-query/authOrgsGetInboundRules.core.js +31 -0
  174. package/dist/esm/react-query/authOrgsGetInboundRules.core.js.map +1 -0
  175. package/dist/esm/react-query/authOrgsGetInboundRules.d.ts +39 -0
  176. package/dist/esm/react-query/authOrgsGetInboundRules.d.ts.map +1 -0
  177. package/dist/esm/react-query/authOrgsGetInboundRules.js +50 -0
  178. package/dist/esm/react-query/authOrgsGetInboundRules.js.map +1 -0
  179. package/dist/esm/react-query/authOrgsUpdateInboundRules.d.ts +30 -0
  180. package/dist/esm/react-query/authOrgsUpdateInboundRules.d.ts.map +1 -0
  181. package/dist/esm/react-query/authOrgsUpdateInboundRules.js +42 -0
  182. package/dist/esm/react-query/authOrgsUpdateInboundRules.js.map +1 -0
  183. package/dist/esm/react-query/index.d.ts +2 -0
  184. package/dist/esm/react-query/index.d.ts.map +1 -1
  185. package/dist/esm/react-query/index.js +2 -0
  186. package/dist/esm/react-query/index.js.map +1 -1
  187. package/dist/esm/react-query/llmFilesList.core.d.ts +1 -0
  188. package/dist/esm/react-query/llmFilesList.core.d.ts.map +1 -1
  189. package/dist/esm/react-query/llmFilesList.core.js +1 -0
  190. package/dist/esm/react-query/llmFilesList.core.js.map +1 -1
  191. package/dist/esm/react-query/llmFilesList.d.ts +2 -0
  192. package/dist/esm/react-query/llmFilesList.d.ts.map +1 -1
  193. package/dist/esm/react-query/llmFilesList.js.map +1 -1
  194. package/dist/esm/react-query/llmVectorStoresCreate.d.ts +1 -1
  195. package/dist/esm/react-query/llmVectorStoresCreate.js +1 -1
  196. package/dist/esm/react-query/llmVectorStoresCreateFile.d.ts +1 -1
  197. package/dist/esm/react-query/llmVectorStoresCreateFile.js +1 -1
  198. package/dist/esm/react-query/llmVectorStoresCreateFileBatch.d.ts +1 -1
  199. package/dist/esm/react-query/llmVectorStoresCreateFileBatch.js +1 -1
  200. package/dist/esm/sdk/orgs.d.ts +14 -0
  201. package/dist/esm/sdk/orgs.d.ts.map +1 -1
  202. package/dist/esm/sdk/orgs.js +20 -0
  203. package/dist/esm/sdk/orgs.js.map +1 -1
  204. package/dist/esm/sdk/vectorstores.d.ts +3 -3
  205. package/dist/esm/sdk/vectorstores.js +3 -3
  206. package/jsr.json +1 -1
  207. package/package.json +1 -1
  208. package/src/funcs/authOrgsGetInboundRules.ts +248 -0
  209. package/src/funcs/authOrgsUpdateInboundRules.ts +246 -0
  210. package/src/funcs/llmFilesList.ts +1 -0
  211. package/src/funcs/llmVectorStoresCreate.ts +1 -1
  212. package/src/funcs/llmVectorStoresCreateFile.ts +1 -1
  213. package/src/funcs/llmVectorStoresCreateFileBatch.ts +1 -1
  214. package/src/lib/config.ts +2 -2
  215. package/src/mcp-server/mcp-server.ts +1 -1
  216. package/src/mcp-server/server.ts +1 -1
  217. package/src/mcp-server/tools/llmVectorStoresCreate.ts +1 -1
  218. package/src/mcp-server/tools/llmVectorStoresCreateFile.ts +1 -1
  219. package/src/mcp-server/tools/llmVectorStoresCreateFileBatch.ts +1 -1
  220. package/src/models/components/createvectorstorefilebatchrequest.ts +9 -0
  221. package/src/models/components/file.ts +7 -0
  222. package/src/models/components/vectorstorefileerror.ts +4 -3
  223. package/src/models/errors/getorginboundrules.ts +451 -0
  224. package/src/models/errors/index.ts +2 -0
  225. package/src/models/errors/updateorginboundrules.ts +461 -0
  226. package/src/models/operations/getorginboundrules.ts +233 -0
  227. package/src/models/operations/index.ts +2 -0
  228. package/src/models/operations/listfiles.ts +4 -0
  229. package/src/models/operations/updateorginboundrules.ts +328 -0
  230. package/src/react-query/authOrgsGetInboundRules.core.ts +80 -0
  231. package/src/react-query/authOrgsGetInboundRules.ts +153 -0
  232. package/src/react-query/authOrgsUpdateInboundRules.ts +120 -0
  233. package/src/react-query/index.ts +2 -0
  234. package/src/react-query/llmFilesList.core.ts +2 -0
  235. package/src/react-query/llmFilesList.ts +2 -0
  236. package/src/react-query/llmVectorStoresCreate.ts +1 -1
  237. package/src/react-query/llmVectorStoresCreateFile.ts +1 -1
  238. package/src/react-query/llmVectorStoresCreateFileBatch.ts +1 -1
  239. package/src/sdk/orgs.ts +40 -0
  240. package/src/sdk/vectorstores.ts +3 -3
@@ -71,6 +71,7 @@ export * from "./authClusterSuspendOrg.js";
71
71
  export * from "./authClusterUnsuspendOrg.js";
72
72
  export * from "./authClusterUpdateInvite.js";
73
73
  export * from "./authOrgsGetById.js";
74
+ export * from "./authOrgsGetInboundRules.js";
74
75
  export * from "./authOrgsGetQuota.js";
75
76
  export * from "./authOrgsGetRateLimit.js";
76
77
  export * from "./authOrgsGetSsoPolicy.js";
@@ -78,6 +79,7 @@ export * from "./authOrgsInviteMember.js";
78
79
  export * from "./authOrgsListMembers.js";
79
80
  export * from "./authOrgsRemoveMember.js";
80
81
  export * from "./authOrgsUpdate.js";
82
+ export * from "./authOrgsUpdateInboundRules.js";
81
83
  export * from "./authOrgsUpdateMember.js";
82
84
  export * from "./authOrgsUpdateQuota.js";
83
85
  export * from "./authOrgsUpdateRateLimit.js";
@@ -45,6 +45,7 @@ export function buildLlmFilesListQuery(
45
45
  limit: request.limit,
46
46
  order: request.order,
47
47
  purpose: request.purpose,
48
+ sha256: request.sha256,
48
49
  xOnBehalfOf: request.xOnBehalfOf,
49
50
  }),
50
51
  queryFn: async function llmFilesListQueryFn(
@@ -76,6 +77,7 @@ export function queryKeyLlmFilesList(
76
77
  limit?: number | undefined;
77
78
  order?: operations.ListFilesQueryParamOrder | undefined;
78
79
  purpose?: operations.QueryParamPurpose | undefined;
80
+ sha256?: string | undefined;
79
81
  xOnBehalfOf?: string | undefined;
80
82
  },
81
83
  ): QueryKey {
@@ -103,6 +103,7 @@ export function setLlmFilesListData(
103
103
  limit?: number | undefined;
104
104
  order?: operations.ListFilesQueryParamOrder | undefined;
105
105
  purpose?: operations.QueryParamPurpose | undefined;
106
+ sha256?: string | undefined;
106
107
  xOnBehalfOf?: string | undefined;
107
108
  },
108
109
  ],
@@ -121,6 +122,7 @@ export function invalidateLlmFilesList(
121
122
  limit?: number | undefined;
122
123
  order?: operations.ListFilesQueryParamOrder | undefined;
123
124
  purpose?: operations.QueryParamPurpose | undefined;
125
+ sha256?: string | undefined;
124
126
  xOnBehalfOf?: string | undefined;
125
127
  }]
126
128
  >,
@@ -48,7 +48,7 @@ export type LlmVectorStoresCreateMutationError =
48
48
  * Create a vector store
49
49
  *
50
50
  * @remarks
51
- * Creates a new vector store for storing and searching through document embeddings.
51
+ * Creates a new vector store for storing and searching through document embeddings. With file_ids, two files of the same content in the request are refused with 409 before the store is created.
52
52
  */
53
53
  export function useLlmVectorStoresCreateMutation(
54
54
  options?: MutationHookOptions<
@@ -48,7 +48,7 @@ export type LlmVectorStoresCreateFileMutationError =
48
48
  * Add a file to a vector store
49
49
  *
50
50
  * @remarks
51
- * Adds a file to a vector store for semantic search indexing. Returns 410 once the vector store has expired.
51
+ * Adds a file to a vector store for semantic search indexing. Returns 409 when the store already holds a file with the same content (the error names that file; the store indexes each content once), 410 once the vector store has expired.
52
52
  */
53
53
  export function useLlmVectorStoresCreateFileMutation(
54
54
  options?: MutationHookOptions<
@@ -49,7 +49,7 @@ export type LlmVectorStoresCreateFileBatchMutationError =
49
49
  * Batch add multiple files to vector store
50
50
  *
51
51
  * @remarks
52
- * Adds multiple files to a vector store in a single batch operation. Returns 410 once the vector store has expired.
52
+ * Adds multiple files to a vector store in a single batch operation. A file with the same content as one the store already holds, or as an earlier file in the batch, fails the batch with 409 unless skip_duplicates is set, in which case it is recorded as cancelled with duplicate_file and the rest are attached. Returns 410 once the vector store has expired.
53
53
  */
54
54
  export function useLlmVectorStoresCreateFileBatchMutation(
55
55
  options?: MutationHookOptions<
package/src/sdk/orgs.ts CHANGED
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import { authOrgsGetById } from "../funcs/authOrgsGetById.js";
6
+ import { authOrgsGetInboundRules } from "../funcs/authOrgsGetInboundRules.js";
6
7
  import { authOrgsGetQuota } from "../funcs/authOrgsGetQuota.js";
7
8
  import { authOrgsGetRateLimit } from "../funcs/authOrgsGetRateLimit.js";
8
9
  import { authOrgsGetSsoPolicy } from "../funcs/authOrgsGetSsoPolicy.js";
@@ -10,6 +11,7 @@ import { authOrgsInviteMember } from "../funcs/authOrgsInviteMember.js";
10
11
  import { authOrgsListMembers } from "../funcs/authOrgsListMembers.js";
11
12
  import { authOrgsRemoveMember } from "../funcs/authOrgsRemoveMember.js";
12
13
  import { authOrgsUpdate } from "../funcs/authOrgsUpdate.js";
14
+ import { authOrgsUpdateInboundRules } from "../funcs/authOrgsUpdateInboundRules.js";
13
15
  import { authOrgsUpdateMember } from "../funcs/authOrgsUpdateMember.js";
14
16
  import { authOrgsUpdateQuota } from "../funcs/authOrgsUpdateQuota.js";
15
17
  import { authOrgsUpdateRateLimit } from "../funcs/authOrgsUpdateRateLimit.js";
@@ -227,4 +229,42 @@ export class Orgs extends ClientSDK {
227
229
  options,
228
230
  ));
229
231
  }
232
+
233
+ /**
234
+ * Get an org's inbound IP rules
235
+ *
236
+ * @remarks
237
+ * Source-IP allowlist for the org's API keys. `available` mirrors the cluster's INBOUND_RULES_ENABLED flag. Rules are ordered by createdAt, then id.
238
+ */
239
+ async getInboundRules(
240
+ security: operations.GetOrgInboundRulesSecurity,
241
+ request: operations.GetOrgInboundRulesRequest,
242
+ options?: RequestOptions,
243
+ ): Promise<operations.GetOrgInboundRulesResponseBody> {
244
+ return unwrapAsync(authOrgsGetInboundRules(
245
+ this,
246
+ security,
247
+ request,
248
+ options,
249
+ ));
250
+ }
251
+
252
+ /**
253
+ * Replace an org's inbound IP rules (org owner/admin, browser session)
254
+ *
255
+ * @remarks
256
+ * Replaces the whole policy atomically. Each cidr is normalized (bare 0.0.0.0 / :: mean /0, other bare addresses are /32 or /128, host bits are cleared); duplicates after normalization are a 400. A request carrying an Authorization header is refused with 403.
257
+ */
258
+ async updateInboundRules(
259
+ security: operations.UpdateOrgInboundRulesSecurity,
260
+ request: operations.UpdateOrgInboundRulesRequest,
261
+ options?: RequestOptions,
262
+ ): Promise<operations.UpdateOrgInboundRulesResponseBody> {
263
+ return unwrapAsync(authOrgsUpdateInboundRules(
264
+ this,
265
+ security,
266
+ request,
267
+ options,
268
+ ));
269
+ }
230
270
  }
@@ -32,7 +32,7 @@ export class VectorStores extends ClientSDK {
32
32
  * Create a vector store
33
33
  *
34
34
  * @remarks
35
- * Creates a new vector store for storing and searching through document embeddings.
35
+ * Creates a new vector store for storing and searching through document embeddings. With file_ids, two files of the same content in the request are refused with 409 before the store is created.
36
36
  */
37
37
  async create(
38
38
  request: operations.CreateVectorStoreRequest,
@@ -134,7 +134,7 @@ export class VectorStores extends ClientSDK {
134
134
  * Add a file to a vector store
135
135
  *
136
136
  * @remarks
137
- * Adds a file to a vector store for semantic search indexing. Returns 410 once the vector store has expired.
137
+ * Adds a file to a vector store for semantic search indexing. Returns 409 when the store already holds a file with the same content (the error names that file; the store indexes each content once), 410 once the vector store has expired.
138
138
  */
139
139
  async createFile(
140
140
  request: operations.CreateVectorStoreFileRequest,
@@ -236,7 +236,7 @@ export class VectorStores extends ClientSDK {
236
236
  * Batch add multiple files to vector store
237
237
  *
238
238
  * @remarks
239
- * Adds multiple files to a vector store in a single batch operation. Returns 410 once the vector store has expired.
239
+ * Adds multiple files to a vector store in a single batch operation. A file with the same content as one the store already holds, or as an earlier file in the batch, fails the batch with 409 unless skip_duplicates is set, in which case it is recorded as cancelled with duplicate_file and the rest are attached. Returns 410 once the vector store has expired.
240
240
  */
241
241
  async createFileBatch(
242
242
  request: operations.CreateVectorStoreFileBatchRequest,