@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.
- package/README.md +375 -361
- package/bin/mcp-server.js +517 -16
- package/bin/mcp-server.js.map +23 -19
- package/dist/commonjs/funcs/authOrgsGetInboundRules.d.ts +18 -0
- package/dist/commonjs/funcs/authOrgsGetInboundRules.d.ts.map +1 -0
- package/dist/commonjs/funcs/authOrgsGetInboundRules.js +145 -0
- package/dist/commonjs/funcs/authOrgsGetInboundRules.js.map +1 -0
- package/dist/commonjs/funcs/authOrgsUpdateInboundRules.d.ts +18 -0
- package/dist/commonjs/funcs/authOrgsUpdateInboundRules.d.ts.map +1 -0
- package/dist/commonjs/funcs/authOrgsUpdateInboundRules.js +140 -0
- package/dist/commonjs/funcs/authOrgsUpdateInboundRules.js.map +1 -0
- package/dist/commonjs/funcs/llmFilesList.js +1 -0
- package/dist/commonjs/funcs/llmFilesList.js.map +1 -1
- package/dist/commonjs/funcs/llmVectorStoresCreate.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresCreate.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresCreateFile.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresCreateFile.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresCreateFileBatch.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresCreateFileBatch.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresCreate.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresCreate.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresCreateFile.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresCreateFile.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresCreateFileBatch.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresCreateFileBatch.js.map +1 -1
- package/dist/commonjs/models/components/createvectorstorefilebatchrequest.d.ts +5 -0
- package/dist/commonjs/models/components/createvectorstorefilebatchrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createvectorstorefilebatchrequest.js +4 -0
- package/dist/commonjs/models/components/createvectorstorefilebatchrequest.js.map +1 -1
- package/dist/commonjs/models/components/file.d.ts +5 -0
- package/dist/commonjs/models/components/file.d.ts.map +1 -1
- package/dist/commonjs/models/components/file.js +2 -0
- package/dist/commonjs/models/components/file.js.map +1 -1
- package/dist/commonjs/models/components/vectorstorefileerror.d.ts +4 -3
- package/dist/commonjs/models/components/vectorstorefileerror.d.ts.map +1 -1
- package/dist/commonjs/models/components/vectorstorefileerror.js +2 -1
- package/dist/commonjs/models/components/vectorstorefileerror.js.map +1 -1
- package/dist/commonjs/models/errors/getorginboundrules.d.ts +185 -0
- package/dist/commonjs/models/errors/getorginboundrules.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getorginboundrules.js +266 -0
- package/dist/commonjs/models/errors/getorginboundrules.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +2 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +2 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/updateorginboundrules.d.ts +188 -0
- package/dist/commonjs/models/errors/updateorginboundrules.d.ts.map +1 -0
- package/dist/commonjs/models/errors/updateorginboundrules.js +270 -0
- package/dist/commonjs/models/errors/updateorginboundrules.js.map +1 -0
- package/dist/commonjs/models/operations/getorginboundrules.d.ts +80 -0
- package/dist/commonjs/models/operations/getorginboundrules.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getorginboundrules.js +133 -0
- package/dist/commonjs/models/operations/getorginboundrules.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +2 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +2 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listfiles.d.ts +2 -0
- package/dist/commonjs/models/operations/listfiles.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listfiles.js +2 -0
- package/dist/commonjs/models/operations/listfiles.js.map +1 -1
- package/dist/commonjs/models/operations/updateorginboundrules.d.ts +110 -0
- package/dist/commonjs/models/operations/updateorginboundrules.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updateorginboundrules.js +172 -0
- package/dist/commonjs/models/operations/updateorginboundrules.js.map +1 -0
- package/dist/commonjs/react-query/authOrgsGetInboundRules.core.d.ts +14 -0
- package/dist/commonjs/react-query/authOrgsGetInboundRules.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/authOrgsGetInboundRules.core.js +36 -0
- package/dist/commonjs/react-query/authOrgsGetInboundRules.core.js.map +1 -0
- package/dist/commonjs/react-query/authOrgsGetInboundRules.d.ts +39 -0
- package/dist/commonjs/react-query/authOrgsGetInboundRules.d.ts.map +1 -0
- package/dist/commonjs/react-query/authOrgsGetInboundRules.js +60 -0
- package/dist/commonjs/react-query/authOrgsGetInboundRules.js.map +1 -0
- package/dist/commonjs/react-query/authOrgsUpdateInboundRules.d.ts +30 -0
- package/dist/commonjs/react-query/authOrgsUpdateInboundRules.d.ts.map +1 -0
- package/dist/commonjs/react-query/authOrgsUpdateInboundRules.js +47 -0
- package/dist/commonjs/react-query/authOrgsUpdateInboundRules.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +2 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +2 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/llmFilesList.core.d.ts +1 -0
- package/dist/commonjs/react-query/llmFilesList.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/llmFilesList.core.js +1 -0
- package/dist/commonjs/react-query/llmFilesList.core.js.map +1 -1
- package/dist/commonjs/react-query/llmFilesList.d.ts +2 -0
- package/dist/commonjs/react-query/llmFilesList.d.ts.map +1 -1
- package/dist/commonjs/react-query/llmFilesList.js.map +1 -1
- package/dist/commonjs/react-query/llmVectorStoresCreate.d.ts +1 -1
- package/dist/commonjs/react-query/llmVectorStoresCreate.js +1 -1
- package/dist/commonjs/react-query/llmVectorStoresCreateFile.d.ts +1 -1
- package/dist/commonjs/react-query/llmVectorStoresCreateFile.js +1 -1
- package/dist/commonjs/react-query/llmVectorStoresCreateFileBatch.d.ts +1 -1
- package/dist/commonjs/react-query/llmVectorStoresCreateFileBatch.js +1 -1
- package/dist/commonjs/sdk/orgs.d.ts +14 -0
- package/dist/commonjs/sdk/orgs.d.ts.map +1 -1
- package/dist/commonjs/sdk/orgs.js +20 -0
- package/dist/commonjs/sdk/orgs.js.map +1 -1
- package/dist/commonjs/sdk/vectorstores.d.ts +3 -3
- package/dist/commonjs/sdk/vectorstores.js +3 -3
- package/dist/esm/funcs/authOrgsGetInboundRules.d.ts +18 -0
- package/dist/esm/funcs/authOrgsGetInboundRules.d.ts.map +1 -0
- package/dist/esm/funcs/authOrgsGetInboundRules.js +109 -0
- package/dist/esm/funcs/authOrgsGetInboundRules.js.map +1 -0
- package/dist/esm/funcs/authOrgsUpdateInboundRules.d.ts +18 -0
- package/dist/esm/funcs/authOrgsUpdateInboundRules.d.ts.map +1 -0
- package/dist/esm/funcs/authOrgsUpdateInboundRules.js +104 -0
- package/dist/esm/funcs/authOrgsUpdateInboundRules.js.map +1 -0
- package/dist/esm/funcs/llmFilesList.js +1 -0
- package/dist/esm/funcs/llmFilesList.js.map +1 -1
- package/dist/esm/funcs/llmVectorStoresCreate.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresCreate.js +1 -1
- package/dist/esm/funcs/llmVectorStoresCreateFile.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresCreateFile.js +1 -1
- package/dist/esm/funcs/llmVectorStoresCreateFileBatch.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresCreateFileBatch.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresCreate.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresCreate.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresCreateFile.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresCreateFile.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresCreateFileBatch.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresCreateFileBatch.js.map +1 -1
- package/dist/esm/models/components/createvectorstorefilebatchrequest.d.ts +5 -0
- package/dist/esm/models/components/createvectorstorefilebatchrequest.d.ts.map +1 -1
- package/dist/esm/models/components/createvectorstorefilebatchrequest.js +4 -0
- package/dist/esm/models/components/createvectorstorefilebatchrequest.js.map +1 -1
- package/dist/esm/models/components/file.d.ts +5 -0
- package/dist/esm/models/components/file.d.ts.map +1 -1
- package/dist/esm/models/components/file.js +2 -0
- package/dist/esm/models/components/file.js.map +1 -1
- package/dist/esm/models/components/vectorstorefileerror.d.ts +4 -3
- package/dist/esm/models/components/vectorstorefileerror.d.ts.map +1 -1
- package/dist/esm/models/components/vectorstorefileerror.js +2 -1
- package/dist/esm/models/components/vectorstorefileerror.js.map +1 -1
- package/dist/esm/models/errors/getorginboundrules.d.ts +185 -0
- package/dist/esm/models/errors/getorginboundrules.d.ts.map +1 -0
- package/dist/esm/models/errors/getorginboundrules.js +223 -0
- package/dist/esm/models/errors/getorginboundrules.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +2 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +2 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/updateorginboundrules.d.ts +188 -0
- package/dist/esm/models/errors/updateorginboundrules.d.ts.map +1 -0
- package/dist/esm/models/errors/updateorginboundrules.js +227 -0
- package/dist/esm/models/errors/updateorginboundrules.js.map +1 -0
- package/dist/esm/models/operations/getorginboundrules.d.ts +80 -0
- package/dist/esm/models/operations/getorginboundrules.d.ts.map +1 -0
- package/dist/esm/models/operations/getorginboundrules.js +89 -0
- package/dist/esm/models/operations/getorginboundrules.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +2 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +2 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listfiles.d.ts +2 -0
- package/dist/esm/models/operations/listfiles.d.ts.map +1 -1
- package/dist/esm/models/operations/listfiles.js +2 -0
- package/dist/esm/models/operations/listfiles.js.map +1 -1
- package/dist/esm/models/operations/updateorginboundrules.d.ts +110 -0
- package/dist/esm/models/operations/updateorginboundrules.d.ts.map +1 -0
- package/dist/esm/models/operations/updateorginboundrules.js +124 -0
- package/dist/esm/models/operations/updateorginboundrules.js.map +1 -0
- package/dist/esm/react-query/authOrgsGetInboundRules.core.d.ts +14 -0
- package/dist/esm/react-query/authOrgsGetInboundRules.core.d.ts.map +1 -0
- package/dist/esm/react-query/authOrgsGetInboundRules.core.js +31 -0
- package/dist/esm/react-query/authOrgsGetInboundRules.core.js.map +1 -0
- package/dist/esm/react-query/authOrgsGetInboundRules.d.ts +39 -0
- package/dist/esm/react-query/authOrgsGetInboundRules.d.ts.map +1 -0
- package/dist/esm/react-query/authOrgsGetInboundRules.js +50 -0
- package/dist/esm/react-query/authOrgsGetInboundRules.js.map +1 -0
- package/dist/esm/react-query/authOrgsUpdateInboundRules.d.ts +30 -0
- package/dist/esm/react-query/authOrgsUpdateInboundRules.d.ts.map +1 -0
- package/dist/esm/react-query/authOrgsUpdateInboundRules.js +42 -0
- package/dist/esm/react-query/authOrgsUpdateInboundRules.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +2 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +2 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/llmFilesList.core.d.ts +1 -0
- package/dist/esm/react-query/llmFilesList.core.d.ts.map +1 -1
- package/dist/esm/react-query/llmFilesList.core.js +1 -0
- package/dist/esm/react-query/llmFilesList.core.js.map +1 -1
- package/dist/esm/react-query/llmFilesList.d.ts +2 -0
- package/dist/esm/react-query/llmFilesList.d.ts.map +1 -1
- package/dist/esm/react-query/llmFilesList.js.map +1 -1
- package/dist/esm/react-query/llmVectorStoresCreate.d.ts +1 -1
- package/dist/esm/react-query/llmVectorStoresCreate.js +1 -1
- package/dist/esm/react-query/llmVectorStoresCreateFile.d.ts +1 -1
- package/dist/esm/react-query/llmVectorStoresCreateFile.js +1 -1
- package/dist/esm/react-query/llmVectorStoresCreateFileBatch.d.ts +1 -1
- package/dist/esm/react-query/llmVectorStoresCreateFileBatch.js +1 -1
- package/dist/esm/sdk/orgs.d.ts +14 -0
- package/dist/esm/sdk/orgs.d.ts.map +1 -1
- package/dist/esm/sdk/orgs.js +20 -0
- package/dist/esm/sdk/orgs.js.map +1 -1
- package/dist/esm/sdk/vectorstores.d.ts +3 -3
- package/dist/esm/sdk/vectorstores.js +3 -3
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/authOrgsGetInboundRules.ts +248 -0
- package/src/funcs/authOrgsUpdateInboundRules.ts +246 -0
- package/src/funcs/llmFilesList.ts +1 -0
- package/src/funcs/llmVectorStoresCreate.ts +1 -1
- package/src/funcs/llmVectorStoresCreateFile.ts +1 -1
- package/src/funcs/llmVectorStoresCreateFileBatch.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresCreate.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresCreateFile.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresCreateFileBatch.ts +1 -1
- package/src/models/components/createvectorstorefilebatchrequest.ts +9 -0
- package/src/models/components/file.ts +7 -0
- package/src/models/components/vectorstorefileerror.ts +4 -3
- package/src/models/errors/getorginboundrules.ts +451 -0
- package/src/models/errors/index.ts +2 -0
- package/src/models/errors/updateorginboundrules.ts +461 -0
- package/src/models/operations/getorginboundrules.ts +233 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listfiles.ts +4 -0
- package/src/models/operations/updateorginboundrules.ts +328 -0
- package/src/react-query/authOrgsGetInboundRules.core.ts +80 -0
- package/src/react-query/authOrgsGetInboundRules.ts +153 -0
- package/src/react-query/authOrgsUpdateInboundRules.ts +120 -0
- package/src/react-query/index.ts +2 -0
- package/src/react-query/llmFilesList.core.ts +2 -0
- package/src/react-query/llmFilesList.ts +2 -0
- package/src/react-query/llmVectorStoresCreate.ts +1 -1
- package/src/react-query/llmVectorStoresCreateFile.ts +1 -1
- package/src/react-query/llmVectorStoresCreateFileBatch.ts +1 -1
- package/src/sdk/orgs.ts +40 -0
- package/src/sdk/vectorstores.ts +3 -3
package/src/react-query/index.ts
CHANGED
|
@@ -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
|
}
|
package/src/sdk/vectorstores.ts
CHANGED
|
@@ -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,
|