@meetkai/mka1 0.51.19 → 0.51.21
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 +246 -243
- package/bin/mcp-server.js +570 -371
- package/bin/mcp-server.js.map +27 -23
- package/dist/commonjs/funcs/servingDatasetsCreate.d.ts +1 -1
- package/dist/commonjs/funcs/servingDatasetsCreate.js +1 -1
- package/dist/commonjs/funcs/servingDatasetsUploadContent.d.ts +19 -0
- package/dist/commonjs/funcs/servingDatasetsUploadContent.d.ts.map +1 -0
- package/dist/commonjs/funcs/servingDatasetsUploadContent.js +139 -0
- package/dist/commonjs/funcs/servingDatasetsUploadContent.js.map +1 -0
- package/dist/commonjs/funcs/servingTenantsDeleteOrganization.d.ts +3 -1
- package/dist/commonjs/funcs/servingTenantsDeleteOrganization.d.ts.map +1 -1
- package/dist/commonjs/funcs/servingTenantsDeleteOrganization.js +3 -1
- package/dist/commonjs/funcs/servingTenantsDeleteOrganization.js.map +1 -1
- package/dist/commonjs/funcs/servingTenantsGet.d.ts +3 -1
- package/dist/commonjs/funcs/servingTenantsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/servingTenantsGet.js +3 -1
- package/dist/commonjs/funcs/servingTenantsGet.js.map +1 -1
- package/dist/commonjs/funcs/servingTenantsGetOrganizationDeletion.d.ts +3 -1
- package/dist/commonjs/funcs/servingTenantsGetOrganizationDeletion.d.ts.map +1 -1
- package/dist/commonjs/funcs/servingTenantsGetOrganizationDeletion.js +3 -1
- package/dist/commonjs/funcs/servingTenantsGetOrganizationDeletion.js.map +1 -1
- package/dist/commonjs/funcs/servingTenantsList.d.ts +3 -1
- package/dist/commonjs/funcs/servingTenantsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/servingTenantsList.js +3 -1
- package/dist/commonjs/funcs/servingTenantsList.js.map +1 -1
- package/dist/commonjs/funcs/servingTenantsSet.d.ts +3 -1
- package/dist/commonjs/funcs/servingTenantsSet.d.ts.map +1 -1
- package/dist/commonjs/funcs/servingTenantsSet.js +3 -1
- package/dist/commonjs/funcs/servingTenantsSet.js.map +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.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +3 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/servingDatasetsCreate.js +1 -1
- package/dist/commonjs/mcp-server/tools/servingDatasetsCreate.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/servingDatasetsUploadContent.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/servingDatasetsUploadContent.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/servingDatasetsUploadContent.js +64 -0
- package/dist/commonjs/mcp-server/tools/servingDatasetsUploadContent.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/servingTenantsDeleteOrganization.js +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsDeleteOrganization.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsGet.js +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsGet.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsGetOrganizationDeletion.js +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsGetOrganizationDeletion.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsList.js +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsSet.js +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsSet.js.map +1 -1
- package/dist/commonjs/models/components/checkpoint.d.ts +5 -0
- package/dist/commonjs/models/components/checkpoint.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkpoint.js +2 -0
- package/dist/commonjs/models/components/checkpoint.js.map +1 -1
- package/dist/commonjs/models/components/datasetupload.d.ts +22 -1
- package/dist/commonjs/models/components/datasetupload.d.ts.map +1 -1
- package/dist/commonjs/models/components/datasetupload.js +14 -1
- package/dist/commonjs/models/components/datasetupload.js.map +1 -1
- package/dist/commonjs/models/components/datasetuploadreceipt.d.ts +33 -0
- package/dist/commonjs/models/components/datasetuploadreceipt.d.ts.map +1 -0
- package/dist/commonjs/models/components/datasetuploadreceipt.js +71 -0
- package/dist/commonjs/models/components/datasetuploadreceipt.js.map +1 -0
- package/dist/commonjs/models/components/datasetuploadtarget.d.ts +6 -3
- package/dist/commonjs/models/components/datasetuploadtarget.d.ts.map +1 -1
- package/dist/commonjs/models/components/datasetuploadtarget.js +2 -2
- package/dist/commonjs/models/components/datasetuploadtarget.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +1 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +1 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/uploadservingdatasetcontent.d.ts +24 -0
- package/dist/commonjs/models/operations/uploadservingdatasetcontent.d.ts.map +1 -0
- package/dist/commonjs/models/operations/uploadservingdatasetcontent.js +85 -0
- package/dist/commonjs/models/operations/uploadservingdatasetcontent.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +1 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +1 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/servingDatasetsCreate.d.ts +1 -1
- package/dist/commonjs/react-query/servingDatasetsCreate.js +1 -1
- package/dist/commonjs/react-query/servingDatasetsUploadContent.d.ts +30 -0
- package/dist/commonjs/react-query/servingDatasetsUploadContent.d.ts.map +1 -0
- package/dist/commonjs/react-query/servingDatasetsUploadContent.js +47 -0
- package/dist/commonjs/react-query/servingDatasetsUploadContent.js.map +1 -0
- package/dist/commonjs/react-query/servingTenantsDeleteOrganization.d.ts +3 -1
- package/dist/commonjs/react-query/servingTenantsDeleteOrganization.d.ts.map +1 -1
- package/dist/commonjs/react-query/servingTenantsDeleteOrganization.js +3 -1
- package/dist/commonjs/react-query/servingTenantsDeleteOrganization.js.map +1 -1
- package/dist/commonjs/react-query/servingTenantsGet.d.ts +6 -2
- package/dist/commonjs/react-query/servingTenantsGet.d.ts.map +1 -1
- package/dist/commonjs/react-query/servingTenantsGet.js +6 -2
- package/dist/commonjs/react-query/servingTenantsGet.js.map +1 -1
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.d.ts +6 -2
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.d.ts.map +1 -1
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.js +6 -2
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.js.map +1 -1
- package/dist/commonjs/react-query/servingTenantsList.d.ts +6 -2
- package/dist/commonjs/react-query/servingTenantsList.d.ts.map +1 -1
- package/dist/commonjs/react-query/servingTenantsList.js +6 -2
- package/dist/commonjs/react-query/servingTenantsList.js.map +1 -1
- package/dist/commonjs/react-query/servingTenantsSet.d.ts +3 -1
- package/dist/commonjs/react-query/servingTenantsSet.d.ts.map +1 -1
- package/dist/commonjs/react-query/servingTenantsSet.js +3 -1
- package/dist/commonjs/react-query/servingTenantsSet.js.map +1 -1
- package/dist/commonjs/sdk/datasets.d.ts +8 -1
- package/dist/commonjs/sdk/datasets.d.ts.map +1 -1
- package/dist/commonjs/sdk/datasets.js +11 -1
- package/dist/commonjs/sdk/datasets.js.map +1 -1
- package/dist/commonjs/sdk/tenants.d.ts +15 -5
- package/dist/commonjs/sdk/tenants.d.ts.map +1 -1
- package/dist/commonjs/sdk/tenants.js +15 -5
- package/dist/commonjs/sdk/tenants.js.map +1 -1
- package/dist/esm/funcs/servingDatasetsCreate.d.ts +1 -1
- package/dist/esm/funcs/servingDatasetsCreate.js +1 -1
- package/dist/esm/funcs/servingDatasetsUploadContent.d.ts +19 -0
- package/dist/esm/funcs/servingDatasetsUploadContent.d.ts.map +1 -0
- package/dist/esm/funcs/servingDatasetsUploadContent.js +103 -0
- package/dist/esm/funcs/servingDatasetsUploadContent.js.map +1 -0
- package/dist/esm/funcs/servingTenantsDeleteOrganization.d.ts +3 -1
- package/dist/esm/funcs/servingTenantsDeleteOrganization.d.ts.map +1 -1
- package/dist/esm/funcs/servingTenantsDeleteOrganization.js +3 -1
- package/dist/esm/funcs/servingTenantsDeleteOrganization.js.map +1 -1
- package/dist/esm/funcs/servingTenantsGet.d.ts +3 -1
- package/dist/esm/funcs/servingTenantsGet.d.ts.map +1 -1
- package/dist/esm/funcs/servingTenantsGet.js +3 -1
- package/dist/esm/funcs/servingTenantsGet.js.map +1 -1
- package/dist/esm/funcs/servingTenantsGetOrganizationDeletion.d.ts +3 -1
- package/dist/esm/funcs/servingTenantsGetOrganizationDeletion.d.ts.map +1 -1
- package/dist/esm/funcs/servingTenantsGetOrganizationDeletion.js +3 -1
- package/dist/esm/funcs/servingTenantsGetOrganizationDeletion.js.map +1 -1
- package/dist/esm/funcs/servingTenantsList.d.ts +3 -1
- package/dist/esm/funcs/servingTenantsList.d.ts.map +1 -1
- package/dist/esm/funcs/servingTenantsList.js +3 -1
- package/dist/esm/funcs/servingTenantsList.js.map +1 -1
- package/dist/esm/funcs/servingTenantsSet.d.ts +3 -1
- package/dist/esm/funcs/servingTenantsSet.d.ts.map +1 -1
- package/dist/esm/funcs/servingTenantsSet.js +3 -1
- package/dist/esm/funcs/servingTenantsSet.js.map +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.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +3 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/servingDatasetsCreate.js +1 -1
- package/dist/esm/mcp-server/tools/servingDatasetsCreate.js.map +1 -1
- package/dist/esm/mcp-server/tools/servingDatasetsUploadContent.d.ts +8 -0
- package/dist/esm/mcp-server/tools/servingDatasetsUploadContent.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/servingDatasetsUploadContent.js +28 -0
- package/dist/esm/mcp-server/tools/servingDatasetsUploadContent.js.map +1 -0
- package/dist/esm/mcp-server/tools/servingTenantsDeleteOrganization.js +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsDeleteOrganization.js.map +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsGet.js +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsGet.js.map +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsGetOrganizationDeletion.js +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsGetOrganizationDeletion.js.map +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsList.js +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsList.js.map +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsSet.js +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsSet.js.map +1 -1
- package/dist/esm/models/components/checkpoint.d.ts +5 -0
- package/dist/esm/models/components/checkpoint.d.ts.map +1 -1
- package/dist/esm/models/components/checkpoint.js +2 -0
- package/dist/esm/models/components/checkpoint.js.map +1 -1
- package/dist/esm/models/components/datasetupload.d.ts +22 -1
- package/dist/esm/models/components/datasetupload.d.ts.map +1 -1
- package/dist/esm/models/components/datasetupload.js +13 -0
- package/dist/esm/models/components/datasetupload.js.map +1 -1
- package/dist/esm/models/components/datasetuploadreceipt.d.ts +33 -0
- package/dist/esm/models/components/datasetuploadreceipt.d.ts.map +1 -0
- package/dist/esm/models/components/datasetuploadreceipt.js +33 -0
- package/dist/esm/models/components/datasetuploadreceipt.js.map +1 -0
- package/dist/esm/models/components/datasetuploadtarget.d.ts +6 -3
- package/dist/esm/models/components/datasetuploadtarget.d.ts.map +1 -1
- package/dist/esm/models/components/datasetuploadtarget.js +2 -2
- package/dist/esm/models/components/datasetuploadtarget.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +1 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +1 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/uploadservingdatasetcontent.d.ts +24 -0
- package/dist/esm/models/operations/uploadservingdatasetcontent.d.ts.map +1 -0
- package/dist/esm/models/operations/uploadservingdatasetcontent.js +47 -0
- package/dist/esm/models/operations/uploadservingdatasetcontent.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +1 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +1 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/servingDatasetsCreate.d.ts +1 -1
- package/dist/esm/react-query/servingDatasetsCreate.js +1 -1
- package/dist/esm/react-query/servingDatasetsUploadContent.d.ts +30 -0
- package/dist/esm/react-query/servingDatasetsUploadContent.d.ts.map +1 -0
- package/dist/esm/react-query/servingDatasetsUploadContent.js +42 -0
- package/dist/esm/react-query/servingDatasetsUploadContent.js.map +1 -0
- package/dist/esm/react-query/servingTenantsDeleteOrganization.d.ts +3 -1
- package/dist/esm/react-query/servingTenantsDeleteOrganization.d.ts.map +1 -1
- package/dist/esm/react-query/servingTenantsDeleteOrganization.js +3 -1
- package/dist/esm/react-query/servingTenantsDeleteOrganization.js.map +1 -1
- package/dist/esm/react-query/servingTenantsGet.d.ts +6 -2
- package/dist/esm/react-query/servingTenantsGet.d.ts.map +1 -1
- package/dist/esm/react-query/servingTenantsGet.js +6 -2
- package/dist/esm/react-query/servingTenantsGet.js.map +1 -1
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.d.ts +6 -2
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.d.ts.map +1 -1
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.js +6 -2
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.js.map +1 -1
- package/dist/esm/react-query/servingTenantsList.d.ts +6 -2
- package/dist/esm/react-query/servingTenantsList.d.ts.map +1 -1
- package/dist/esm/react-query/servingTenantsList.js +6 -2
- package/dist/esm/react-query/servingTenantsList.js.map +1 -1
- package/dist/esm/react-query/servingTenantsSet.d.ts +3 -1
- package/dist/esm/react-query/servingTenantsSet.d.ts.map +1 -1
- package/dist/esm/react-query/servingTenantsSet.js +3 -1
- package/dist/esm/react-query/servingTenantsSet.js.map +1 -1
- package/dist/esm/sdk/datasets.d.ts +8 -1
- package/dist/esm/sdk/datasets.d.ts.map +1 -1
- package/dist/esm/sdk/datasets.js +11 -1
- package/dist/esm/sdk/datasets.js.map +1 -1
- package/dist/esm/sdk/tenants.d.ts +15 -5
- package/dist/esm/sdk/tenants.d.ts.map +1 -1
- package/dist/esm/sdk/tenants.js +15 -5
- package/dist/esm/sdk/tenants.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/servingDatasetsCreate.ts +1 -1
- package/src/funcs/servingDatasetsUploadContent.ts +202 -0
- package/src/funcs/servingTenantsDeleteOrganization.ts +3 -1
- package/src/funcs/servingTenantsGet.ts +3 -1
- package/src/funcs/servingTenantsGetOrganizationDeletion.ts +3 -1
- package/src/funcs/servingTenantsList.ts +3 -1
- package/src/funcs/servingTenantsSet.ts +3 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/servingDatasetsCreate.ts +1 -1
- package/src/mcp-server/tools/servingDatasetsUploadContent.ts +37 -0
- package/src/mcp-server/tools/servingTenantsDeleteOrganization.ts +1 -1
- package/src/mcp-server/tools/servingTenantsGet.ts +1 -1
- package/src/mcp-server/tools/servingTenantsGetOrganizationDeletion.ts +1 -1
- package/src/mcp-server/tools/servingTenantsList.ts +1 -1
- package/src/mcp-server/tools/servingTenantsSet.ts +1 -1
- package/src/models/components/checkpoint.ts +7 -0
- package/src/models/components/datasetupload.ts +30 -1
- package/src/models/components/datasetuploadreceipt.ts +80 -0
- package/src/models/components/datasetuploadtarget.ts +10 -5
- package/src/models/components/index.ts +1 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/uploadservingdatasetcontent.ts +88 -0
- package/src/react-query/index.ts +1 -0
- package/src/react-query/servingDatasetsCreate.ts +1 -1
- package/src/react-query/servingDatasetsUploadContent.ts +113 -0
- package/src/react-query/servingTenantsDeleteOrganization.ts +3 -1
- package/src/react-query/servingTenantsGet.ts +6 -2
- package/src/react-query/servingTenantsGetOrganizationDeletion.ts +6 -2
- package/src/react-query/servingTenantsList.ts +6 -2
- package/src/react-query/servingTenantsSet.ts +3 -1
- package/src/sdk/datasets.ts +19 -1
- package/src/sdk/tenants.ts +15 -5
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type UploadServingDatasetContentRequest = {
|
|
12
|
+
datasetId: string;
|
|
13
|
+
/**
|
|
14
|
+
* Optional external end-user identifier forwarded by the API gateway.
|
|
15
|
+
*/
|
|
16
|
+
xOnBehalfOf?: string | undefined;
|
|
17
|
+
requestBody: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const UploadServingDatasetContentRequest$inboundSchema: z.ZodType<
|
|
22
|
+
UploadServingDatasetContentRequest,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
unknown
|
|
25
|
+
> = z.object({
|
|
26
|
+
dataset_id: z.string(),
|
|
27
|
+
"X-On-Behalf-Of": z.string().optional(),
|
|
28
|
+
RequestBody: z.union([
|
|
29
|
+
z.instanceof(ReadableStream<Uint8Array>),
|
|
30
|
+
z.instanceof(Blob),
|
|
31
|
+
z.instanceof(ArrayBuffer),
|
|
32
|
+
z.instanceof(Uint8Array),
|
|
33
|
+
]),
|
|
34
|
+
}).transform((v) => {
|
|
35
|
+
return remap$(v, {
|
|
36
|
+
"dataset_id": "datasetId",
|
|
37
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
38
|
+
"RequestBody": "requestBody",
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type UploadServingDatasetContentRequest$Outbound = {
|
|
43
|
+
dataset_id: string;
|
|
44
|
+
"X-On-Behalf-Of"?: string | undefined;
|
|
45
|
+
RequestBody: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const UploadServingDatasetContentRequest$outboundSchema: z.ZodType<
|
|
50
|
+
UploadServingDatasetContentRequest$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
UploadServingDatasetContentRequest
|
|
53
|
+
> = z.object({
|
|
54
|
+
datasetId: z.string(),
|
|
55
|
+
xOnBehalfOf: z.string().optional(),
|
|
56
|
+
requestBody: z.union([
|
|
57
|
+
z.instanceof(ReadableStream<Uint8Array>),
|
|
58
|
+
z.instanceof(Blob),
|
|
59
|
+
z.instanceof(ArrayBuffer),
|
|
60
|
+
z.instanceof(Uint8Array),
|
|
61
|
+
]),
|
|
62
|
+
}).transform((v) => {
|
|
63
|
+
return remap$(v, {
|
|
64
|
+
datasetId: "dataset_id",
|
|
65
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
66
|
+
requestBody: "RequestBody",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
export function uploadServingDatasetContentRequestToJSON(
|
|
71
|
+
uploadServingDatasetContentRequest: UploadServingDatasetContentRequest,
|
|
72
|
+
): string {
|
|
73
|
+
return JSON.stringify(
|
|
74
|
+
UploadServingDatasetContentRequest$outboundSchema.parse(
|
|
75
|
+
uploadServingDatasetContentRequest,
|
|
76
|
+
),
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
export function uploadServingDatasetContentRequestFromJSON(
|
|
80
|
+
jsonString: string,
|
|
81
|
+
): SafeParseResult<UploadServingDatasetContentRequest, SDKValidationError> {
|
|
82
|
+
return safeParse(
|
|
83
|
+
jsonString,
|
|
84
|
+
(x) =>
|
|
85
|
+
UploadServingDatasetContentRequest$inboundSchema.parse(JSON.parse(x)),
|
|
86
|
+
`Failed to parse 'UploadServingDatasetContentRequest' from JSON`,
|
|
87
|
+
);
|
|
88
|
+
}
|
package/src/react-query/index.ts
CHANGED
|
@@ -301,6 +301,7 @@ export * from "./servingDatasetsCreate.js";
|
|
|
301
301
|
export * from "./servingDatasetsDelete.js";
|
|
302
302
|
export * from "./servingDatasetsGet.js";
|
|
303
303
|
export * from "./servingDatasetsList.js";
|
|
304
|
+
export * from "./servingDatasetsUploadContent.js";
|
|
304
305
|
export * from "./servingDeploymentsCreate.js";
|
|
305
306
|
export * from "./servingDeploymentsDelete.js";
|
|
306
307
|
export * from "./servingDeploymentsDeregister.js";
|
|
@@ -51,7 +51,7 @@ export type ServingDatasetsCreateMutationError =
|
|
|
51
51
|
* Register or begin uploading a dataset
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Register a dataset by reference (`source`: an external dataset reference passed to the trainer as-is, or a `repo://{repo}[@{revision}][/{path}]` reference reserved for the versioned dataset store) — the dataset is `ready` immediately. Omit `source` to upload instead: the response is `pending_upload` and carries an `upload` block
|
|
54
|
+
* Register a dataset by reference (`source`: an external dataset reference passed to the trainer as-is, or a `repo://{repo}[@{revision}][/{path}]` reference reserved for the versioned dataset store) — the dataset is `ready` immediately. Omit `source` to upload instead: the response is `pending_upload` and carries an `upload` block describing where to PUT the data. When the artifact store is not internet-exposed (the default posture) the block is `mode: api` and the target is the API upload path; when a public artifact endpoint is configured it is `mode: presigned` with time-bounded presigned PUT URLs. PUT the data, then call commit to seal the immutable manifest.
|
|
55
55
|
*/
|
|
56
56
|
export function useServingDatasetsCreateMutation(
|
|
57
57
|
options?: MutationHookOptions<
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
MutationKey,
|
|
7
|
+
useMutation,
|
|
8
|
+
UseMutationResult,
|
|
9
|
+
} from "@tanstack/react-query";
|
|
10
|
+
import { SDKCore } from "../core.js";
|
|
11
|
+
import { servingDatasetsUploadContent } from "../funcs/servingDatasetsUploadContent.js";
|
|
12
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
13
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
+
import * as components from "../models/components/index.js";
|
|
15
|
+
import {
|
|
16
|
+
ConnectionError,
|
|
17
|
+
InvalidRequestError,
|
|
18
|
+
RequestAbortedError,
|
|
19
|
+
RequestTimeoutError,
|
|
20
|
+
UnexpectedClientError,
|
|
21
|
+
} from "../models/errors/httpclienterrors.js";
|
|
22
|
+
import * as errors from "../models/errors/index.js";
|
|
23
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
24
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
25
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
26
|
+
import * as operations from "../models/operations/index.js";
|
|
27
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
28
|
+
import { useSDKContext } from "./_context.js";
|
|
29
|
+
import { MutationHookOptions } from "./_types.js";
|
|
30
|
+
|
|
31
|
+
export type ServingDatasetsUploadContentMutationVariables = {
|
|
32
|
+
request: operations.UploadServingDatasetContentRequest;
|
|
33
|
+
options?: RequestOptions;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export type ServingDatasetsUploadContentMutationData =
|
|
37
|
+
components.DatasetUploadReceipt;
|
|
38
|
+
|
|
39
|
+
export type ServingDatasetsUploadContentMutationError =
|
|
40
|
+
| errors.ServingError
|
|
41
|
+
| errors.ServingHTTPValidationError
|
|
42
|
+
| SDKError
|
|
43
|
+
| ResponseValidationError
|
|
44
|
+
| ConnectionError
|
|
45
|
+
| RequestAbortedError
|
|
46
|
+
| RequestTimeoutError
|
|
47
|
+
| InvalidRequestError
|
|
48
|
+
| UnexpectedClientError
|
|
49
|
+
| SDKValidationError;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Upload dataset content through the API
|
|
53
|
+
*
|
|
54
|
+
* @remarks
|
|
55
|
+
* Stream the raw dataset bytes through the serving API into the dataset's object storage. Valid only while the dataset is `pending_upload`; repeating the upload before commit overwrites the previous bytes. The response receipt carries the stored size and SHA-256 digest so the client can verify the bytes before calling commit. Uploads are capped by the cluster's configured maximum dataset size.
|
|
56
|
+
*/
|
|
57
|
+
export function useServingDatasetsUploadContentMutation(
|
|
58
|
+
options?: MutationHookOptions<
|
|
59
|
+
ServingDatasetsUploadContentMutationData,
|
|
60
|
+
ServingDatasetsUploadContentMutationError,
|
|
61
|
+
ServingDatasetsUploadContentMutationVariables
|
|
62
|
+
>,
|
|
63
|
+
): UseMutationResult<
|
|
64
|
+
ServingDatasetsUploadContentMutationData,
|
|
65
|
+
ServingDatasetsUploadContentMutationError,
|
|
66
|
+
ServingDatasetsUploadContentMutationVariables
|
|
67
|
+
> {
|
|
68
|
+
const client = useSDKContext();
|
|
69
|
+
return useMutation({
|
|
70
|
+
...buildServingDatasetsUploadContentMutation(client, options),
|
|
71
|
+
...options,
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function mutationKeyServingDatasetsUploadContent(): MutationKey {
|
|
76
|
+
return ["@meetkai/mka1", "datasets", "uploadContent"];
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function buildServingDatasetsUploadContentMutation(
|
|
80
|
+
client$: SDKCore,
|
|
81
|
+
hookOptions?: RequestOptions,
|
|
82
|
+
): {
|
|
83
|
+
mutationKey: MutationKey;
|
|
84
|
+
mutationFn: (
|
|
85
|
+
variables: ServingDatasetsUploadContentMutationVariables,
|
|
86
|
+
) => Promise<ServingDatasetsUploadContentMutationData>;
|
|
87
|
+
} {
|
|
88
|
+
return {
|
|
89
|
+
mutationKey: mutationKeyServingDatasetsUploadContent(),
|
|
90
|
+
mutationFn: function servingDatasetsUploadContentMutationFn({
|
|
91
|
+
request,
|
|
92
|
+
options,
|
|
93
|
+
}): Promise<ServingDatasetsUploadContentMutationData> {
|
|
94
|
+
const mergedOptions = {
|
|
95
|
+
...hookOptions,
|
|
96
|
+
...options,
|
|
97
|
+
fetchOptions: {
|
|
98
|
+
...hookOptions?.fetchOptions,
|
|
99
|
+
...options?.fetchOptions,
|
|
100
|
+
signal: combineSignals(
|
|
101
|
+
hookOptions?.fetchOptions?.signal,
|
|
102
|
+
options?.fetchOptions?.signal,
|
|
103
|
+
),
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
return unwrapAsync(servingDatasetsUploadContent(
|
|
107
|
+
client$,
|
|
108
|
+
request,
|
|
109
|
+
mergedOptions,
|
|
110
|
+
));
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -52,7 +52,9 @@ export type ServingTenantsDeleteOrganizationMutationError =
|
|
|
52
52
|
* Trigger organization deletion teardown
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Durably records an organization.deleted.v1 event and starts (or adopts) the mandatory teardown cascade: the organization is fenced against new work and every deployment is tombstoned and wound down, while all pricing, budget, spend, and usage records are preserved. Idempotent by event id. Cluster administrators only.
|
|
55
|
+
* Durably records an organization.deleted.v1 event and starts (or adopts) the mandatory teardown cascade: the organization is fenced against new work and every deployment is tombstoned and wound down, while all pricing, budget, spend, and usage records are preserved. Idempotent by event id. Cluster administrators only. Deprecated: this operation has moved to the operator admin plane at `POST /api/v1/admin/tenants/{org_id}/deletion`. This path keeps working for one transition release (responses carry `Deprecation: true` and a `Link` successor header) and is removed from this document in the next SDK major.
|
|
56
|
+
*
|
|
57
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
56
58
|
*/
|
|
57
59
|
export function useServingTenantsDeleteOrganizationMutation(
|
|
58
60
|
options?: MutationHookOptions<
|
|
@@ -57,7 +57,9 @@ export type ServingTenantsGetQueryError =
|
|
|
57
57
|
* Get a serving tenant
|
|
58
58
|
*
|
|
59
59
|
* @remarks
|
|
60
|
-
* Get one organization's serving enablement record. Cluster administrators only.
|
|
60
|
+
* Get one organization's serving enablement record. Cluster administrators only. Deprecated: this operation has moved to the operator admin plane at `GET /api/v1/admin/tenants/{org_id}`. This path keeps working for one transition release (responses carry `Deprecation: true` and a `Link` successor header) and is removed from this document in the next SDK major.
|
|
61
|
+
*
|
|
62
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
61
63
|
*/
|
|
62
64
|
export function useServingTenantsGet(
|
|
63
65
|
request: operations.GetServingTenantRequest,
|
|
@@ -81,7 +83,9 @@ export function useServingTenantsGet(
|
|
|
81
83
|
* Get a serving tenant
|
|
82
84
|
*
|
|
83
85
|
* @remarks
|
|
84
|
-
* Get one organization's serving enablement record. Cluster administrators only.
|
|
86
|
+
* Get one organization's serving enablement record. Cluster administrators only. Deprecated: this operation has moved to the operator admin plane at `GET /api/v1/admin/tenants/{org_id}`. This path keeps working for one transition release (responses carry `Deprecation: true` and a `Link` successor header) and is removed from this document in the next SDK major.
|
|
87
|
+
*
|
|
88
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
85
89
|
*/
|
|
86
90
|
export function useServingTenantsGetSuspense(
|
|
87
91
|
request: operations.GetServingTenantRequest,
|
|
@@ -56,7 +56,9 @@ export type ServingTenantsGetOrganizationDeletionQueryError =
|
|
|
56
56
|
* Get organization deletion teardown state
|
|
57
57
|
*
|
|
58
58
|
* @remarks
|
|
59
|
-
* Returns the durable teardown-cascade state for an organization (running or complete), so a cluster administrator can confirm offboarding progressed to completion. 404 if the organization has no teardown. Cluster administrators only.
|
|
59
|
+
* Returns the durable teardown-cascade state for an organization (running or complete), so a cluster administrator can confirm offboarding progressed to completion. 404 if the organization has no teardown. Cluster administrators only. Deprecated: this operation has moved to the operator admin plane at `GET /api/v1/admin/tenants/{org_id}/deletion`. This path keeps working for one transition release (responses carry `Deprecation: true` and a `Link` successor header) and is removed from this document in the next SDK major.
|
|
60
|
+
*
|
|
61
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
60
62
|
*/
|
|
61
63
|
export function useServingTenantsGetOrganizationDeletion(
|
|
62
64
|
request: operations.GetServingOrganizationDeletionRequest,
|
|
@@ -83,7 +85,9 @@ export function useServingTenantsGetOrganizationDeletion(
|
|
|
83
85
|
* Get organization deletion teardown state
|
|
84
86
|
*
|
|
85
87
|
* @remarks
|
|
86
|
-
* Returns the durable teardown-cascade state for an organization (running or complete), so a cluster administrator can confirm offboarding progressed to completion. 404 if the organization has no teardown. Cluster administrators only.
|
|
88
|
+
* Returns the durable teardown-cascade state for an organization (running or complete), so a cluster administrator can confirm offboarding progressed to completion. 404 if the organization has no teardown. Cluster administrators only. Deprecated: this operation has moved to the operator admin plane at `GET /api/v1/admin/tenants/{org_id}/deletion`. This path keeps working for one transition release (responses carry `Deprecation: true` and a `Link` successor header) and is removed from this document in the next SDK major.
|
|
89
|
+
*
|
|
90
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
87
91
|
*/
|
|
88
92
|
export function useServingTenantsGetOrganizationDeletionSuspense(
|
|
89
93
|
request: operations.GetServingOrganizationDeletionRequest,
|
|
@@ -57,7 +57,9 @@ export type ServingTenantsListQueryError =
|
|
|
57
57
|
* List serving tenants
|
|
58
58
|
*
|
|
59
59
|
* @remarks
|
|
60
|
-
* List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.
|
|
60
|
+
* List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned. Deprecated: this operation has moved to the operator admin plane at `GET /api/v1/admin/tenants`. This path keeps working for one transition release (responses carry `Deprecation: true` and a `Link` successor header) and is removed from this document in the next SDK major.
|
|
61
|
+
*
|
|
62
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
61
63
|
*/
|
|
62
64
|
export function useServingTenantsList(
|
|
63
65
|
request: operations.ListServingTenantsRequest,
|
|
@@ -81,7 +83,9 @@ export function useServingTenantsList(
|
|
|
81
83
|
* List serving tenants
|
|
82
84
|
*
|
|
83
85
|
* @remarks
|
|
84
|
-
* List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.
|
|
86
|
+
* List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned. Deprecated: this operation has moved to the operator admin plane at `GET /api/v1/admin/tenants`. This path keeps working for one transition release (responses carry `Deprecation: true` and a `Link` successor header) and is removed from this document in the next SDK major.
|
|
87
|
+
*
|
|
88
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
85
89
|
*/
|
|
86
90
|
export function useServingTenantsListSuspense(
|
|
87
91
|
request: operations.ListServingTenantsRequest,
|
|
@@ -51,7 +51,9 @@ export type ServingTenantsSetMutationError =
|
|
|
51
51
|
* Set serving tenant enablement
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Enable or disable serving for an organization and all of its teams. Disabling blocks product API access but does not stop existing workloads or callbacks. Cluster administrators only.
|
|
54
|
+
* Enable or disable serving for an organization and all of its teams. Disabling blocks product API access but does not stop existing workloads or callbacks. Cluster administrators only. Deprecated: this operation has moved to the operator admin plane at `PUT /api/v1/admin/tenants/{org_id}`. This path keeps working for one transition release (responses carry `Deprecation: true` and a `Link` successor header) and is removed from this document in the next SDK major.
|
|
55
|
+
*
|
|
56
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
55
57
|
*/
|
|
56
58
|
export function useServingTenantsSetMutation(
|
|
57
59
|
options?: MutationHookOptions<
|
package/src/sdk/datasets.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { servingDatasetsCreate } from "../funcs/servingDatasetsCreate.js";
|
|
|
7
7
|
import { servingDatasetsDelete } from "../funcs/servingDatasetsDelete.js";
|
|
8
8
|
import { servingDatasetsGet } from "../funcs/servingDatasetsGet.js";
|
|
9
9
|
import { servingDatasetsList } from "../funcs/servingDatasetsList.js";
|
|
10
|
+
import { servingDatasetsUploadContent } from "../funcs/servingDatasetsUploadContent.js";
|
|
10
11
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
12
|
import * as components from "../models/components/index.js";
|
|
12
13
|
import * as operations from "../models/operations/index.js";
|
|
@@ -34,7 +35,7 @@ export class Datasets extends ClientSDK {
|
|
|
34
35
|
* Register or begin uploading a dataset
|
|
35
36
|
*
|
|
36
37
|
* @remarks
|
|
37
|
-
* Register a dataset by reference (`source`: an external dataset reference passed to the trainer as-is, or a `repo://{repo}[@{revision}][/{path}]` reference reserved for the versioned dataset store) — the dataset is `ready` immediately. Omit `source` to upload instead: the response is `pending_upload` and carries an `upload` block
|
|
38
|
+
* Register a dataset by reference (`source`: an external dataset reference passed to the trainer as-is, or a `repo://{repo}[@{revision}][/{path}]` reference reserved for the versioned dataset store) — the dataset is `ready` immediately. Omit `source` to upload instead: the response is `pending_upload` and carries an `upload` block describing where to PUT the data. When the artifact store is not internet-exposed (the default posture) the block is `mode: api` and the target is the API upload path; when a public artifact endpoint is configured it is `mode: presigned` with time-bounded presigned PUT URLs. PUT the data, then call commit to seal the immutable manifest.
|
|
38
39
|
*/
|
|
39
40
|
async create(
|
|
40
41
|
request: operations.CreateDatasetRequest,
|
|
@@ -97,4 +98,21 @@ export class Datasets extends ClientSDK {
|
|
|
97
98
|
options,
|
|
98
99
|
));
|
|
99
100
|
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Upload dataset content through the API
|
|
104
|
+
*
|
|
105
|
+
* @remarks
|
|
106
|
+
* Stream the raw dataset bytes through the serving API into the dataset's object storage. Valid only while the dataset is `pending_upload`; repeating the upload before commit overwrites the previous bytes. The response receipt carries the stored size and SHA-256 digest so the client can verify the bytes before calling commit. Uploads are capped by the cluster's configured maximum dataset size.
|
|
107
|
+
*/
|
|
108
|
+
async uploadContent(
|
|
109
|
+
request: operations.UploadServingDatasetContentRequest,
|
|
110
|
+
options?: RequestOptions,
|
|
111
|
+
): Promise<components.DatasetUploadReceipt> {
|
|
112
|
+
return unwrapAsync(servingDatasetsUploadContent(
|
|
113
|
+
this,
|
|
114
|
+
request,
|
|
115
|
+
options,
|
|
116
|
+
));
|
|
117
|
+
}
|
|
100
118
|
}
|
package/src/sdk/tenants.ts
CHANGED
|
@@ -17,7 +17,9 @@ export class Tenants extends ClientSDK {
|
|
|
17
17
|
* List serving tenants
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.
|
|
20
|
+
* List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned. Deprecated: this operation has moved to the operator admin plane at `GET /api/v1/admin/tenants`. This path keeps working for one transition release (responses carry `Deprecation: true` and a `Link` successor header) and is removed from this document in the next SDK major.
|
|
21
|
+
*
|
|
22
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
21
23
|
*/
|
|
22
24
|
async list(
|
|
23
25
|
request: operations.ListServingTenantsRequest,
|
|
@@ -34,7 +36,9 @@ export class Tenants extends ClientSDK {
|
|
|
34
36
|
* Get a serving tenant
|
|
35
37
|
*
|
|
36
38
|
* @remarks
|
|
37
|
-
* Get one organization's serving enablement record. Cluster administrators only.
|
|
39
|
+
* Get one organization's serving enablement record. Cluster administrators only. Deprecated: this operation has moved to the operator admin plane at `GET /api/v1/admin/tenants/{org_id}`. This path keeps working for one transition release (responses carry `Deprecation: true` and a `Link` successor header) and is removed from this document in the next SDK major.
|
|
40
|
+
*
|
|
41
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
38
42
|
*/
|
|
39
43
|
async get(
|
|
40
44
|
request: operations.GetServingTenantRequest,
|
|
@@ -51,7 +55,9 @@ export class Tenants extends ClientSDK {
|
|
|
51
55
|
* Set serving tenant enablement
|
|
52
56
|
*
|
|
53
57
|
* @remarks
|
|
54
|
-
* Enable or disable serving for an organization and all of its teams. Disabling blocks product API access but does not stop existing workloads or callbacks. Cluster administrators only.
|
|
58
|
+
* Enable or disable serving for an organization and all of its teams. Disabling blocks product API access but does not stop existing workloads or callbacks. Cluster administrators only. Deprecated: this operation has moved to the operator admin plane at `PUT /api/v1/admin/tenants/{org_id}`. This path keeps working for one transition release (responses carry `Deprecation: true` and a `Link` successor header) and is removed from this document in the next SDK major.
|
|
59
|
+
*
|
|
60
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
55
61
|
*/
|
|
56
62
|
async set(
|
|
57
63
|
request: operations.SetServingTenantRequest,
|
|
@@ -68,7 +74,9 @@ export class Tenants extends ClientSDK {
|
|
|
68
74
|
* Get organization deletion teardown state
|
|
69
75
|
*
|
|
70
76
|
* @remarks
|
|
71
|
-
* Returns the durable teardown-cascade state for an organization (running or complete), so a cluster administrator can confirm offboarding progressed to completion. 404 if the organization has no teardown. Cluster administrators only.
|
|
77
|
+
* Returns the durable teardown-cascade state for an organization (running or complete), so a cluster administrator can confirm offboarding progressed to completion. 404 if the organization has no teardown. Cluster administrators only. Deprecated: this operation has moved to the operator admin plane at `GET /api/v1/admin/tenants/{org_id}/deletion`. This path keeps working for one transition release (responses carry `Deprecation: true` and a `Link` successor header) and is removed from this document in the next SDK major.
|
|
78
|
+
*
|
|
79
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
72
80
|
*/
|
|
73
81
|
async getOrganizationDeletion(
|
|
74
82
|
request: operations.GetServingOrganizationDeletionRequest,
|
|
@@ -85,7 +93,9 @@ export class Tenants extends ClientSDK {
|
|
|
85
93
|
* Trigger organization deletion teardown
|
|
86
94
|
*
|
|
87
95
|
* @remarks
|
|
88
|
-
* Durably records an organization.deleted.v1 event and starts (or adopts) the mandatory teardown cascade: the organization is fenced against new work and every deployment is tombstoned and wound down, while all pricing, budget, spend, and usage records are preserved. Idempotent by event id. Cluster administrators only.
|
|
96
|
+
* Durably records an organization.deleted.v1 event and starts (or adopts) the mandatory teardown cascade: the organization is fenced against new work and every deployment is tombstoned and wound down, while all pricing, budget, spend, and usage records are preserved. Idempotent by event id. Cluster administrators only. Deprecated: this operation has moved to the operator admin plane at `POST /api/v1/admin/tenants/{org_id}/deletion`. This path keeps working for one transition release (responses carry `Deprecation: true` and a `Link` successor header) and is removed from this document in the next SDK major.
|
|
97
|
+
*
|
|
98
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
89
99
|
*/
|
|
90
100
|
async deleteOrganization(
|
|
91
101
|
request: operations.DeleteServingOrganizationRequest,
|