@meetkai/mka1 0.54.24 → 0.54.26
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 +302 -283
- package/bin/mcp-server.js +670 -11
- package/bin/mcp-server.js.map +24 -13
- package/dist/commonjs/funcs/authOrgsGetById.d.ts +19 -0
- package/dist/commonjs/funcs/authOrgsGetById.d.ts.map +1 -0
- package/dist/commonjs/funcs/authOrgsGetById.js +146 -0
- package/dist/commonjs/funcs/authOrgsGetById.js.map +1 -0
- package/dist/commonjs/funcs/authOrgsUpdate.d.ts +19 -0
- package/dist/commonjs/funcs/authOrgsUpdate.d.ts.map +1 -0
- package/dist/commonjs/funcs/authOrgsUpdate.js +149 -0
- package/dist/commonjs/funcs/authOrgsUpdate.js.map +1 -0
- package/dist/commonjs/funcs/llmBatchesCreate.d.ts +1 -1
- package/dist/commonjs/funcs/llmBatchesCreate.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/llmBatchesCreate.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmBatchesCreate.js.map +1 -1
- package/dist/commonjs/models/components/basicorganization.d.ts +41 -0
- package/dist/commonjs/models/components/basicorganization.d.ts.map +1 -0
- package/dist/commonjs/models/components/basicorganization.js +80 -0
- package/dist/commonjs/models/components/basicorganization.js.map +1 -0
- package/dist/commonjs/models/components/batchendpoint.d.ts +1 -0
- package/dist/commonjs/models/components/batchendpoint.d.ts.map +1 -1
- package/dist/commonjs/models/components/batchendpoint.js +1 -0
- package/dist/commonjs/models/components/batchendpoint.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +7 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +7 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/organizationcodeconfig.d.ts +20 -0
- package/dist/commonjs/models/components/organizationcodeconfig.d.ts.map +1 -0
- package/dist/commonjs/models/components/organizationcodeconfig.js +58 -0
- package/dist/commonjs/models/components/organizationcodeconfig.js.map +1 -0
- package/dist/commonjs/models/components/organizationmetadata.d.ts +23 -0
- package/dist/commonjs/models/components/organizationmetadata.d.ts.map +1 -0
- package/dist/commonjs/models/components/organizationmetadata.js +69 -0
- package/dist/commonjs/models/components/organizationmetadata.js.map +1 -0
- package/dist/commonjs/models/components/organizationmetadataoutput.d.ts +23 -0
- package/dist/commonjs/models/components/organizationmetadataoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/organizationmetadataoutput.js +69 -0
- package/dist/commonjs/models/components/organizationmetadataoutput.js.map +1 -0
- package/dist/commonjs/models/components/schema0.d.ts +17 -0
- package/dist/commonjs/models/components/schema0.d.ts.map +1 -0
- package/dist/commonjs/models/components/schema0.js +66 -0
- package/dist/commonjs/models/components/schema0.js.map +1 -0
- package/dist/commonjs/models/components/schema1.d.ts +17 -0
- package/dist/commonjs/models/components/schema1.d.ts.map +1 -0
- package/dist/commonjs/models/components/schema1.js +66 -0
- package/dist/commonjs/models/components/schema1.js.map +1 -0
- package/dist/commonjs/models/components/updateorganizationbody.d.ts +18 -0
- package/dist/commonjs/models/components/updateorganizationbody.d.ts.map +1 -0
- package/dist/commonjs/models/components/updateorganizationbody.js +59 -0
- package/dist/commonjs/models/components/updateorganizationbody.js.map +1 -0
- package/dist/commonjs/models/errors/getjwtfromkey.d.ts +9 -9
- package/dist/commonjs/models/errors/getjwtfromkey.d.ts.map +1 -1
- package/dist/commonjs/models/errors/getjwtfromkey.js +11 -11
- package/dist/commonjs/models/errors/getjwtfromkey.js.map +1 -1
- package/dist/commonjs/models/errors/getorgbyid.d.ts +211 -0
- package/dist/commonjs/models/errors/getorgbyid.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getorgbyid.js +298 -0
- package/dist/commonjs/models/errors/getorgbyid.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/updateorganization.d.ts +257 -0
- package/dist/commonjs/models/errors/updateorganization.d.ts.map +1 -0
- package/dist/commonjs/models/errors/updateorganization.js +353 -0
- package/dist/commonjs/models/errors/updateorganization.js.map +1 -0
- package/dist/commonjs/models/operations/getorgbyid.d.ts +37 -0
- package/dist/commonjs/models/operations/getorgbyid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getorgbyid.js +87 -0
- package/dist/commonjs/models/operations/getorgbyid.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/updateorganization.d.ts +40 -0
- package/dist/commonjs/models/operations/updateorganization.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updateorganization.js +92 -0
- package/dist/commonjs/models/operations/updateorganization.js.map +1 -0
- package/dist/commonjs/react-query/authOrgsGetById.core.d.ts +15 -0
- package/dist/commonjs/react-query/authOrgsGetById.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/authOrgsGetById.core.js +36 -0
- package/dist/commonjs/react-query/authOrgsGetById.core.js.map +1 -0
- package/dist/commonjs/react-query/authOrgsGetById.d.ts +39 -0
- package/dist/commonjs/react-query/authOrgsGetById.d.ts.map +1 -0
- package/dist/commonjs/react-query/authOrgsGetById.js +60 -0
- package/dist/commonjs/react-query/authOrgsGetById.js.map +1 -0
- package/dist/commonjs/react-query/authOrgsUpdate.d.ts +31 -0
- package/dist/commonjs/react-query/authOrgsUpdate.d.ts.map +1 -0
- package/dist/commonjs/react-query/authOrgsUpdate.js +47 -0
- package/dist/commonjs/react-query/authOrgsUpdate.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/llmBatchesCreate.d.ts +1 -1
- package/dist/commonjs/react-query/llmBatchesCreate.js +1 -1
- package/dist/commonjs/sdk/batches.d.ts +1 -1
- package/dist/commonjs/sdk/batches.js +1 -1
- package/dist/commonjs/sdk/orgs.d.ts +15 -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/esm/funcs/authOrgsGetById.d.ts +19 -0
- package/dist/esm/funcs/authOrgsGetById.d.ts.map +1 -0
- package/dist/esm/funcs/authOrgsGetById.js +110 -0
- package/dist/esm/funcs/authOrgsGetById.js.map +1 -0
- package/dist/esm/funcs/authOrgsUpdate.d.ts +19 -0
- package/dist/esm/funcs/authOrgsUpdate.d.ts.map +1 -0
- package/dist/esm/funcs/authOrgsUpdate.js +113 -0
- package/dist/esm/funcs/authOrgsUpdate.js.map +1 -0
- package/dist/esm/funcs/llmBatchesCreate.d.ts +1 -1
- package/dist/esm/funcs/llmBatchesCreate.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/llmBatchesCreate.js +1 -1
- package/dist/esm/mcp-server/tools/llmBatchesCreate.js.map +1 -1
- package/dist/esm/models/components/basicorganization.d.ts +41 -0
- package/dist/esm/models/components/basicorganization.d.ts.map +1 -0
- package/dist/esm/models/components/basicorganization.js +42 -0
- package/dist/esm/models/components/basicorganization.js.map +1 -0
- package/dist/esm/models/components/batchendpoint.d.ts +1 -0
- package/dist/esm/models/components/batchendpoint.d.ts.map +1 -1
- package/dist/esm/models/components/batchendpoint.js +1 -0
- package/dist/esm/models/components/batchendpoint.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +7 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +7 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/organizationcodeconfig.d.ts +20 -0
- package/dist/esm/models/components/organizationcodeconfig.d.ts.map +1 -0
- package/dist/esm/models/components/organizationcodeconfig.js +20 -0
- package/dist/esm/models/components/organizationcodeconfig.js.map +1 -0
- package/dist/esm/models/components/organizationmetadata.d.ts +23 -0
- package/dist/esm/models/components/organizationmetadata.d.ts.map +1 -0
- package/dist/esm/models/components/organizationmetadata.js +31 -0
- package/dist/esm/models/components/organizationmetadata.js.map +1 -0
- package/dist/esm/models/components/organizationmetadataoutput.d.ts +23 -0
- package/dist/esm/models/components/organizationmetadataoutput.d.ts.map +1 -0
- package/dist/esm/models/components/organizationmetadataoutput.js +31 -0
- package/dist/esm/models/components/organizationmetadataoutput.js.map +1 -0
- package/dist/esm/models/components/schema0.d.ts +17 -0
- package/dist/esm/models/components/schema0.d.ts.map +1 -0
- package/dist/esm/models/components/schema0.js +28 -0
- package/dist/esm/models/components/schema0.js.map +1 -0
- package/dist/esm/models/components/schema1.d.ts +17 -0
- package/dist/esm/models/components/schema1.d.ts.map +1 -0
- package/dist/esm/models/components/schema1.js +28 -0
- package/dist/esm/models/components/schema1.js.map +1 -0
- package/dist/esm/models/components/updateorganizationbody.d.ts +18 -0
- package/dist/esm/models/components/updateorganizationbody.d.ts.map +1 -0
- package/dist/esm/models/components/updateorganizationbody.js +21 -0
- package/dist/esm/models/components/updateorganizationbody.js.map +1 -0
- package/dist/esm/models/errors/getjwtfromkey.d.ts +9 -9
- package/dist/esm/models/errors/getjwtfromkey.d.ts.map +1 -1
- package/dist/esm/models/errors/getjwtfromkey.js +8 -8
- package/dist/esm/models/errors/getjwtfromkey.js.map +1 -1
- package/dist/esm/models/errors/getorgbyid.d.ts +211 -0
- package/dist/esm/models/errors/getorgbyid.d.ts.map +1 -0
- package/dist/esm/models/errors/getorgbyid.js +254 -0
- package/dist/esm/models/errors/getorgbyid.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/updateorganization.d.ts +257 -0
- package/dist/esm/models/errors/updateorganization.d.ts.map +1 -0
- package/dist/esm/models/errors/updateorganization.js +306 -0
- package/dist/esm/models/errors/updateorganization.js.map +1 -0
- package/dist/esm/models/operations/getorgbyid.d.ts +37 -0
- package/dist/esm/models/operations/getorgbyid.d.ts.map +1 -0
- package/dist/esm/models/operations/getorgbyid.js +47 -0
- package/dist/esm/models/operations/getorgbyid.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/updateorganization.d.ts +40 -0
- package/dist/esm/models/operations/updateorganization.d.ts.map +1 -0
- package/dist/esm/models/operations/updateorganization.js +52 -0
- package/dist/esm/models/operations/updateorganization.js.map +1 -0
- package/dist/esm/react-query/authOrgsGetById.core.d.ts +15 -0
- package/dist/esm/react-query/authOrgsGetById.core.d.ts.map +1 -0
- package/dist/esm/react-query/authOrgsGetById.core.js +31 -0
- package/dist/esm/react-query/authOrgsGetById.core.js.map +1 -0
- package/dist/esm/react-query/authOrgsGetById.d.ts +39 -0
- package/dist/esm/react-query/authOrgsGetById.d.ts.map +1 -0
- package/dist/esm/react-query/authOrgsGetById.js +50 -0
- package/dist/esm/react-query/authOrgsGetById.js.map +1 -0
- package/dist/esm/react-query/authOrgsUpdate.d.ts +31 -0
- package/dist/esm/react-query/authOrgsUpdate.d.ts.map +1 -0
- package/dist/esm/react-query/authOrgsUpdate.js +42 -0
- package/dist/esm/react-query/authOrgsUpdate.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/llmBatchesCreate.d.ts +1 -1
- package/dist/esm/react-query/llmBatchesCreate.js +1 -1
- package/dist/esm/sdk/batches.d.ts +1 -1
- package/dist/esm/sdk/batches.js +1 -1
- package/dist/esm/sdk/orgs.d.ts +15 -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/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/authOrgsGetById.ts +251 -0
- package/src/funcs/authOrgsUpdate.ts +264 -0
- package/src/funcs/llmBatchesCreate.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/llmBatchesCreate.ts +1 -1
- package/src/models/components/basicorganization.ts +100 -0
- package/src/models/components/batchendpoint.ts +1 -0
- package/src/models/components/index.ts +7 -0
- package/src/models/components/organizationcodeconfig.ts +54 -0
- package/src/models/components/organizationmetadata.ts +80 -0
- package/src/models/components/organizationmetadataoutput.ts +80 -0
- package/src/models/components/schema0.ts +55 -0
- package/src/models/components/schema1.ts +55 -0
- package/src/models/components/updateorganizationbody.ts +57 -0
- package/src/models/errors/getjwtfromkey.ts +28 -21
- package/src/models/errors/getorgbyid.ts +499 -0
- package/src/models/errors/index.ts +2 -0
- package/src/models/errors/updateorganization.ts +631 -0
- package/src/models/operations/getorgbyid.ts +114 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/updateorganization.ts +121 -0
- package/src/react-query/authOrgsGetById.core.ts +78 -0
- package/src/react-query/authOrgsGetById.ts +148 -0
- package/src/react-query/authOrgsUpdate.ts +122 -0
- package/src/react-query/index.ts +2 -0
- package/src/react-query/llmBatchesCreate.ts +1 -1
- package/src/sdk/batches.ts +1 -1
- package/src/sdk/orgs.ts +41 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type Schema0 = string | number | boolean | Array<Schema0 | null> | {
|
|
11
|
+
[k: string]: Schema0 | null;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const Schema0$inboundSchema: z.ZodType<Schema0, z.ZodTypeDef, unknown> =
|
|
16
|
+
z.union([
|
|
17
|
+
z.string(),
|
|
18
|
+
z.number(),
|
|
19
|
+
z.boolean(),
|
|
20
|
+
z.array(z.nullable(z.lazy(() => Schema0$inboundSchema))),
|
|
21
|
+
z.record(z.nullable(z.lazy(() => Schema0$inboundSchema))),
|
|
22
|
+
]);
|
|
23
|
+
/** @internal */
|
|
24
|
+
export type Schema0$Outbound =
|
|
25
|
+
| string
|
|
26
|
+
| number
|
|
27
|
+
| boolean
|
|
28
|
+
| Array<Schema0$Outbound | null>
|
|
29
|
+
| { [k: string]: Schema0$Outbound | null };
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const Schema0$outboundSchema: z.ZodType<
|
|
33
|
+
Schema0$Outbound,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
Schema0
|
|
36
|
+
> = z.union([
|
|
37
|
+
z.string(),
|
|
38
|
+
z.number(),
|
|
39
|
+
z.boolean(),
|
|
40
|
+
z.array(z.nullable(z.lazy(() => Schema0$outboundSchema))),
|
|
41
|
+
z.record(z.nullable(z.lazy(() => Schema0$outboundSchema))),
|
|
42
|
+
]);
|
|
43
|
+
|
|
44
|
+
export function schema0ToJSON(schema0: Schema0): string {
|
|
45
|
+
return JSON.stringify(Schema0$outboundSchema.parse(schema0));
|
|
46
|
+
}
|
|
47
|
+
export function schema0FromJSON(
|
|
48
|
+
jsonString: string,
|
|
49
|
+
): SafeParseResult<Schema0, SDKValidationError> {
|
|
50
|
+
return safeParse(
|
|
51
|
+
jsonString,
|
|
52
|
+
(x) => Schema0$inboundSchema.parse(JSON.parse(x)),
|
|
53
|
+
`Failed to parse 'Schema0' from JSON`,
|
|
54
|
+
);
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type Schema1 = string | number | boolean | Array<Schema1 | null> | {
|
|
11
|
+
[k: string]: Schema1 | null;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const Schema1$inboundSchema: z.ZodType<Schema1, z.ZodTypeDef, unknown> =
|
|
16
|
+
z.union([
|
|
17
|
+
z.string(),
|
|
18
|
+
z.number(),
|
|
19
|
+
z.boolean(),
|
|
20
|
+
z.array(z.nullable(z.lazy(() => Schema1$inboundSchema))),
|
|
21
|
+
z.record(z.nullable(z.lazy(() => Schema1$inboundSchema))),
|
|
22
|
+
]);
|
|
23
|
+
/** @internal */
|
|
24
|
+
export type Schema1$Outbound =
|
|
25
|
+
| string
|
|
26
|
+
| number
|
|
27
|
+
| boolean
|
|
28
|
+
| Array<Schema1$Outbound | null>
|
|
29
|
+
| { [k: string]: Schema1$Outbound | null };
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const Schema1$outboundSchema: z.ZodType<
|
|
33
|
+
Schema1$Outbound,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
Schema1
|
|
36
|
+
> = z.union([
|
|
37
|
+
z.string(),
|
|
38
|
+
z.number(),
|
|
39
|
+
z.boolean(),
|
|
40
|
+
z.array(z.nullable(z.lazy(() => Schema1$outboundSchema))),
|
|
41
|
+
z.record(z.nullable(z.lazy(() => Schema1$outboundSchema))),
|
|
42
|
+
]);
|
|
43
|
+
|
|
44
|
+
export function schema1ToJSON(schema1: Schema1): string {
|
|
45
|
+
return JSON.stringify(Schema1$outboundSchema.parse(schema1));
|
|
46
|
+
}
|
|
47
|
+
export function schema1FromJSON(
|
|
48
|
+
jsonString: string,
|
|
49
|
+
): SafeParseResult<Schema1, SDKValidationError> {
|
|
50
|
+
return safeParse(
|
|
51
|
+
jsonString,
|
|
52
|
+
(x) => Schema1$inboundSchema.parse(JSON.parse(x)),
|
|
53
|
+
`Failed to parse 'Schema1' from JSON`,
|
|
54
|
+
);
|
|
55
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
OrganizationMetadata,
|
|
11
|
+
OrganizationMetadata$inboundSchema,
|
|
12
|
+
OrganizationMetadata$Outbound,
|
|
13
|
+
OrganizationMetadata$outboundSchema,
|
|
14
|
+
} from "./organizationmetadata.js";
|
|
15
|
+
|
|
16
|
+
export type UpdateOrganizationBody = {
|
|
17
|
+
metadata: OrganizationMetadata;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const UpdateOrganizationBody$inboundSchema: z.ZodType<
|
|
22
|
+
UpdateOrganizationBody,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
unknown
|
|
25
|
+
> = z.object({
|
|
26
|
+
metadata: OrganizationMetadata$inboundSchema,
|
|
27
|
+
});
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type UpdateOrganizationBody$Outbound = {
|
|
30
|
+
metadata: OrganizationMetadata$Outbound;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const UpdateOrganizationBody$outboundSchema: z.ZodType<
|
|
35
|
+
UpdateOrganizationBody$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
UpdateOrganizationBody
|
|
38
|
+
> = z.object({
|
|
39
|
+
metadata: OrganizationMetadata$outboundSchema,
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export function updateOrganizationBodyToJSON(
|
|
43
|
+
updateOrganizationBody: UpdateOrganizationBody,
|
|
44
|
+
): string {
|
|
45
|
+
return JSON.stringify(
|
|
46
|
+
UpdateOrganizationBody$outboundSchema.parse(updateOrganizationBody),
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
export function updateOrganizationBodyFromJSON(
|
|
50
|
+
jsonString: string,
|
|
51
|
+
): SafeParseResult<UpdateOrganizationBody, SDKValidationError> {
|
|
52
|
+
return safeParse(
|
|
53
|
+
jsonString,
|
|
54
|
+
(x) => UpdateOrganizationBody$inboundSchema.parse(JSON.parse(x)),
|
|
55
|
+
`Failed to parse 'UpdateOrganizationBody' from JSON`,
|
|
56
|
+
);
|
|
57
|
+
}
|
|
@@ -66,7 +66,7 @@ export class GetJwtFromKeyAuthApiKeyResponseBody extends SDKError {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export type
|
|
69
|
+
export type GetJwtFromKeyDetails = {
|
|
70
70
|
/**
|
|
71
71
|
* Dot-path of the invalid field in the request body.
|
|
72
72
|
*/
|
|
@@ -88,7 +88,7 @@ export type GetJwtFromKeyResponseBodyData = {
|
|
|
88
88
|
/**
|
|
89
89
|
* List of field-level validation errors.
|
|
90
90
|
*/
|
|
91
|
-
details: Array<
|
|
91
|
+
details: Array<GetJwtFromKeyDetails>;
|
|
92
92
|
};
|
|
93
93
|
|
|
94
94
|
/**
|
|
@@ -98,7 +98,7 @@ export class GetJwtFromKeyResponseBody extends SDKError {
|
|
|
98
98
|
/**
|
|
99
99
|
* List of field-level validation errors.
|
|
100
100
|
*/
|
|
101
|
-
details: Array<
|
|
101
|
+
details: Array<GetJwtFromKeyDetails>;
|
|
102
102
|
|
|
103
103
|
/** The original data that was passed to this error instance. */
|
|
104
104
|
data$: GetJwtFromKeyResponseBodyData;
|
|
@@ -189,37 +189,44 @@ export const GetJwtFromKeyAuthApiKeyResponseBody$outboundSchema: z.ZodType<
|
|
|
189
189
|
}));
|
|
190
190
|
|
|
191
191
|
/** @internal */
|
|
192
|
-
export const
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
192
|
+
export const GetJwtFromKeyDetails$inboundSchema: z.ZodType<
|
|
193
|
+
GetJwtFromKeyDetails,
|
|
194
|
+
z.ZodTypeDef,
|
|
195
|
+
unknown
|
|
196
|
+
> = z.object({
|
|
197
|
+
path: z.string(),
|
|
198
|
+
message: z.string(),
|
|
199
|
+
});
|
|
197
200
|
/** @internal */
|
|
198
|
-
export type
|
|
201
|
+
export type GetJwtFromKeyDetails$Outbound = {
|
|
199
202
|
path: string;
|
|
200
203
|
message: string;
|
|
201
204
|
};
|
|
202
205
|
|
|
203
206
|
/** @internal */
|
|
204
|
-
export const
|
|
205
|
-
|
|
207
|
+
export const GetJwtFromKeyDetails$outboundSchema: z.ZodType<
|
|
208
|
+
GetJwtFromKeyDetails$Outbound,
|
|
206
209
|
z.ZodTypeDef,
|
|
207
|
-
|
|
210
|
+
GetJwtFromKeyDetails
|
|
208
211
|
> = z.object({
|
|
209
212
|
path: z.string(),
|
|
210
213
|
message: z.string(),
|
|
211
214
|
});
|
|
212
215
|
|
|
213
|
-
export function
|
|
214
|
-
|
|
216
|
+
export function getJwtFromKeyDetailsToJSON(
|
|
217
|
+
getJwtFromKeyDetails: GetJwtFromKeyDetails,
|
|
218
|
+
): string {
|
|
219
|
+
return JSON.stringify(
|
|
220
|
+
GetJwtFromKeyDetails$outboundSchema.parse(getJwtFromKeyDetails),
|
|
221
|
+
);
|
|
215
222
|
}
|
|
216
|
-
export function
|
|
223
|
+
export function getJwtFromKeyDetailsFromJSON(
|
|
217
224
|
jsonString: string,
|
|
218
|
-
): SafeParseResult<
|
|
225
|
+
): SafeParseResult<GetJwtFromKeyDetails, SDKValidationError> {
|
|
219
226
|
return safeParse(
|
|
220
227
|
jsonString,
|
|
221
|
-
(x) =>
|
|
222
|
-
`Failed to parse '
|
|
228
|
+
(x) => GetJwtFromKeyDetails$inboundSchema.parse(JSON.parse(x)),
|
|
229
|
+
`Failed to parse 'GetJwtFromKeyDetails' from JSON`,
|
|
223
230
|
);
|
|
224
231
|
}
|
|
225
232
|
|
|
@@ -230,7 +237,7 @@ export const GetJwtFromKeyResponseBody$inboundSchema: z.ZodType<
|
|
|
230
237
|
unknown
|
|
231
238
|
> = z.object({
|
|
232
239
|
message: z.string(),
|
|
233
|
-
details: z.array(z.lazy(() =>
|
|
240
|
+
details: z.array(z.lazy(() => GetJwtFromKeyDetails$inboundSchema)),
|
|
234
241
|
request$: z.instanceof(Request),
|
|
235
242
|
response$: z.instanceof(Response),
|
|
236
243
|
body$: z.string(),
|
|
@@ -246,7 +253,7 @@ export const GetJwtFromKeyResponseBody$inboundSchema: z.ZodType<
|
|
|
246
253
|
/** @internal */
|
|
247
254
|
export type GetJwtFromKeyResponseBody$Outbound = {
|
|
248
255
|
message: string;
|
|
249
|
-
details: Array<
|
|
256
|
+
details: Array<GetJwtFromKeyDetails$Outbound>;
|
|
250
257
|
};
|
|
251
258
|
|
|
252
259
|
/** @internal */
|
|
@@ -258,5 +265,5 @@ export const GetJwtFromKeyResponseBody$outboundSchema: z.ZodType<
|
|
|
258
265
|
.transform(v => v.data$)
|
|
259
266
|
.pipe(z.object({
|
|
260
267
|
message: z.string(),
|
|
261
|
-
details: z.array(z.lazy(() =>
|
|
268
|
+
details: z.array(z.lazy(() => GetJwtFromKeyDetails$outboundSchema)),
|
|
262
269
|
}));
|