@meetkai/mka1 0.54.24 → 0.54.25
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 +668 -10
- package/bin/mcp-server.js.map +21 -10
- 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/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/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/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/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/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/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/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/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/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/basicorganization.ts +100 -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/sdk/orgs.ts +41 -0
|
@@ -0,0 +1,100 @@
|
|
|
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 { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
OrganizationMetadataOutput,
|
|
12
|
+
OrganizationMetadataOutput$inboundSchema,
|
|
13
|
+
OrganizationMetadataOutput$Outbound,
|
|
14
|
+
OrganizationMetadataOutput$outboundSchema,
|
|
15
|
+
} from "./organizationmetadataoutput.js";
|
|
16
|
+
|
|
17
|
+
export const BasicOrganizationStatus = {
|
|
18
|
+
Active: "active",
|
|
19
|
+
Suspended: "suspended",
|
|
20
|
+
Deleted: "deleted",
|
|
21
|
+
} as const;
|
|
22
|
+
export type BasicOrganizationStatus = ClosedEnum<
|
|
23
|
+
typeof BasicOrganizationStatus
|
|
24
|
+
>;
|
|
25
|
+
|
|
26
|
+
export type BasicOrganization = {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
slug: string;
|
|
30
|
+
logo: string | null;
|
|
31
|
+
createdAt: string;
|
|
32
|
+
status: BasicOrganizationStatus;
|
|
33
|
+
metadata: OrganizationMetadataOutput | null;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const BasicOrganizationStatus$inboundSchema: z.ZodNativeEnum<
|
|
38
|
+
typeof BasicOrganizationStatus
|
|
39
|
+
> = z.nativeEnum(BasicOrganizationStatus);
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const BasicOrganizationStatus$outboundSchema: z.ZodNativeEnum<
|
|
42
|
+
typeof BasicOrganizationStatus
|
|
43
|
+
> = BasicOrganizationStatus$inboundSchema;
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const BasicOrganization$inboundSchema: z.ZodType<
|
|
47
|
+
BasicOrganization,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
unknown
|
|
50
|
+
> = z.object({
|
|
51
|
+
id: z.string(),
|
|
52
|
+
name: z.string(),
|
|
53
|
+
slug: z.string(),
|
|
54
|
+
logo: z.nullable(z.string()),
|
|
55
|
+
createdAt: z.string(),
|
|
56
|
+
status: BasicOrganizationStatus$inboundSchema,
|
|
57
|
+
metadata: z.nullable(OrganizationMetadataOutput$inboundSchema),
|
|
58
|
+
});
|
|
59
|
+
/** @internal */
|
|
60
|
+
export type BasicOrganization$Outbound = {
|
|
61
|
+
id: string;
|
|
62
|
+
name: string;
|
|
63
|
+
slug: string;
|
|
64
|
+
logo: string | null;
|
|
65
|
+
createdAt: string;
|
|
66
|
+
status: string;
|
|
67
|
+
metadata: OrganizationMetadataOutput$Outbound | null;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/** @internal */
|
|
71
|
+
export const BasicOrganization$outboundSchema: z.ZodType<
|
|
72
|
+
BasicOrganization$Outbound,
|
|
73
|
+
z.ZodTypeDef,
|
|
74
|
+
BasicOrganization
|
|
75
|
+
> = z.object({
|
|
76
|
+
id: z.string(),
|
|
77
|
+
name: z.string(),
|
|
78
|
+
slug: z.string(),
|
|
79
|
+
logo: z.nullable(z.string()),
|
|
80
|
+
createdAt: z.string(),
|
|
81
|
+
status: BasicOrganizationStatus$outboundSchema,
|
|
82
|
+
metadata: z.nullable(OrganizationMetadataOutput$outboundSchema),
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
export function basicOrganizationToJSON(
|
|
86
|
+
basicOrganization: BasicOrganization,
|
|
87
|
+
): string {
|
|
88
|
+
return JSON.stringify(
|
|
89
|
+
BasicOrganization$outboundSchema.parse(basicOrganization),
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
export function basicOrganizationFromJSON(
|
|
93
|
+
jsonString: string,
|
|
94
|
+
): SafeParseResult<BasicOrganization, SDKValidationError> {
|
|
95
|
+
return safeParse(
|
|
96
|
+
jsonString,
|
|
97
|
+
(x) => BasicOrganization$inboundSchema.parse(JSON.parse(x)),
|
|
98
|
+
`Failed to parse 'BasicOrganization' from JSON`,
|
|
99
|
+
);
|
|
100
|
+
}
|
|
@@ -34,6 +34,7 @@ export * from "./autoendpoint.js";
|
|
|
34
34
|
export * from "./balancedorgautomodel.js";
|
|
35
35
|
export * from "./banwordsconfig.js";
|
|
36
36
|
export * from "./banwordsguardrail.js";
|
|
37
|
+
export * from "./basicorganization.js";
|
|
37
38
|
export * from "./batchendpoint.js";
|
|
38
39
|
export * from "./batcherrordata.js";
|
|
39
40
|
export * from "./batcherrors.js";
|
|
@@ -404,6 +405,9 @@ export * from "./openaichatcompletionusage.js";
|
|
|
404
405
|
export * from "./openairequestmessage.js";
|
|
405
406
|
export * from "./openaitooldefinition.js";
|
|
406
407
|
export * from "./openpageaction.js";
|
|
408
|
+
export * from "./organizationcodeconfig.js";
|
|
409
|
+
export * from "./organizationmetadata.js";
|
|
410
|
+
export * from "./organizationmetadataoutput.js";
|
|
407
411
|
export * from "./orgautomodel.js";
|
|
408
412
|
export * from "./otherchunkingstrategy.js";
|
|
409
413
|
export * from "./outputaudioitem.js";
|
|
@@ -533,6 +537,8 @@ export * from "./sandboxusageoperation.js";
|
|
|
533
537
|
export * from "./sandboxusagepage.js";
|
|
534
538
|
export * from "./sandboxusageresult.js";
|
|
535
539
|
export * from "./saveenvironmentrequest.js";
|
|
540
|
+
export * from "./schema0.js";
|
|
541
|
+
export * from "./schema1.js";
|
|
536
542
|
export * from "./schemacreateresponse.js";
|
|
537
543
|
export * from "./schemadeleteresponse.js";
|
|
538
544
|
export * from "./schemagetresponse.js";
|
|
@@ -610,6 +616,7 @@ export * from "./updateguardrailsresponse.js";
|
|
|
610
616
|
export * from "./updatemcpserverrequest.js";
|
|
611
617
|
export * from "./updatememoryentryrequest.js";
|
|
612
618
|
export * from "./updatememorystorerequest.js";
|
|
619
|
+
export * from "./updateorganizationbody.js";
|
|
613
620
|
export * from "./updatepromptresponse.js";
|
|
614
621
|
export * from "./updateresponserequest.js";
|
|
615
622
|
export * from "./updatevectorstorefileattributesrequest.js";
|
|
@@ -0,0 +1,54 @@
|
|
|
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 OrganizationCodeConfig = {
|
|
11
|
+
/**
|
|
12
|
+
* Canonical public HTTPS URL ending in /latest/manifest.json. Credentials, non-default ports, queries, fragments, path-normalization spellings, and private or reserved hosts are rejected.
|
|
13
|
+
*/
|
|
14
|
+
releaseManifestUrl: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const OrganizationCodeConfig$inboundSchema: z.ZodType<
|
|
19
|
+
OrganizationCodeConfig,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z.object({
|
|
23
|
+
releaseManifestUrl: z.string(),
|
|
24
|
+
});
|
|
25
|
+
/** @internal */
|
|
26
|
+
export type OrganizationCodeConfig$Outbound = {
|
|
27
|
+
releaseManifestUrl: string;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const OrganizationCodeConfig$outboundSchema: z.ZodType<
|
|
32
|
+
OrganizationCodeConfig$Outbound,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
OrganizationCodeConfig
|
|
35
|
+
> = z.object({
|
|
36
|
+
releaseManifestUrl: z.string(),
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export function organizationCodeConfigToJSON(
|
|
40
|
+
organizationCodeConfig: OrganizationCodeConfig,
|
|
41
|
+
): string {
|
|
42
|
+
return JSON.stringify(
|
|
43
|
+
OrganizationCodeConfig$outboundSchema.parse(organizationCodeConfig),
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export function organizationCodeConfigFromJSON(
|
|
47
|
+
jsonString: string,
|
|
48
|
+
): SafeParseResult<OrganizationCodeConfig, SDKValidationError> {
|
|
49
|
+
return safeParse(
|
|
50
|
+
jsonString,
|
|
51
|
+
(x) => OrganizationCodeConfig$inboundSchema.parse(JSON.parse(x)),
|
|
52
|
+
`Failed to parse 'OrganizationCodeConfig' from JSON`,
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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 {
|
|
8
|
+
collectExtraKeys as collectExtraKeys$,
|
|
9
|
+
safeParse,
|
|
10
|
+
} from "../../lib/schemas.js";
|
|
11
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
12
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
13
|
+
import {
|
|
14
|
+
OrganizationCodeConfig,
|
|
15
|
+
OrganizationCodeConfig$inboundSchema,
|
|
16
|
+
OrganizationCodeConfig$Outbound,
|
|
17
|
+
OrganizationCodeConfig$outboundSchema,
|
|
18
|
+
} from "./organizationcodeconfig.js";
|
|
19
|
+
import {
|
|
20
|
+
Schema0,
|
|
21
|
+
Schema0$inboundSchema,
|
|
22
|
+
Schema0$outboundSchema,
|
|
23
|
+
} from "./schema0.js";
|
|
24
|
+
|
|
25
|
+
export type OrganizationMetadata = {
|
|
26
|
+
codeConfig?: OrganizationCodeConfig | null | undefined;
|
|
27
|
+
additionalProperties?: { [k: string]: Schema0 | null } | undefined;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const OrganizationMetadata$inboundSchema: z.ZodType<
|
|
32
|
+
OrganizationMetadata,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
unknown
|
|
35
|
+
> = collectExtraKeys$(
|
|
36
|
+
z.object({
|
|
37
|
+
codeConfig: z.nullable(OrganizationCodeConfig$inboundSchema).optional(),
|
|
38
|
+
}).catchall(Schema0$inboundSchema),
|
|
39
|
+
"additionalProperties",
|
|
40
|
+
true,
|
|
41
|
+
);
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type OrganizationMetadata$Outbound = {
|
|
44
|
+
codeConfig?: OrganizationCodeConfig$Outbound | null | undefined;
|
|
45
|
+
[additionalProperties: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const OrganizationMetadata$outboundSchema: z.ZodType<
|
|
50
|
+
OrganizationMetadata$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
OrganizationMetadata
|
|
53
|
+
> = z.object({
|
|
54
|
+
codeConfig: z.nullable(OrganizationCodeConfig$outboundSchema).optional(),
|
|
55
|
+
additionalProperties: z.record(z.nullable(Schema0$outboundSchema)).optional(),
|
|
56
|
+
}).transform((v) => {
|
|
57
|
+
return {
|
|
58
|
+
...v.additionalProperties,
|
|
59
|
+
...remap$(v, {
|
|
60
|
+
additionalProperties: null,
|
|
61
|
+
}),
|
|
62
|
+
};
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
export function organizationMetadataToJSON(
|
|
66
|
+
organizationMetadata: OrganizationMetadata,
|
|
67
|
+
): string {
|
|
68
|
+
return JSON.stringify(
|
|
69
|
+
OrganizationMetadata$outboundSchema.parse(organizationMetadata),
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
export function organizationMetadataFromJSON(
|
|
73
|
+
jsonString: string,
|
|
74
|
+
): SafeParseResult<OrganizationMetadata, SDKValidationError> {
|
|
75
|
+
return safeParse(
|
|
76
|
+
jsonString,
|
|
77
|
+
(x) => OrganizationMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
78
|
+
`Failed to parse 'OrganizationMetadata' from JSON`,
|
|
79
|
+
);
|
|
80
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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 {
|
|
8
|
+
collectExtraKeys as collectExtraKeys$,
|
|
9
|
+
safeParse,
|
|
10
|
+
} from "../../lib/schemas.js";
|
|
11
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
12
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
13
|
+
import {
|
|
14
|
+
OrganizationCodeConfig,
|
|
15
|
+
OrganizationCodeConfig$inboundSchema,
|
|
16
|
+
OrganizationCodeConfig$Outbound,
|
|
17
|
+
OrganizationCodeConfig$outboundSchema,
|
|
18
|
+
} from "./organizationcodeconfig.js";
|
|
19
|
+
import {
|
|
20
|
+
Schema1,
|
|
21
|
+
Schema1$inboundSchema,
|
|
22
|
+
Schema1$outboundSchema,
|
|
23
|
+
} from "./schema1.js";
|
|
24
|
+
|
|
25
|
+
export type OrganizationMetadataOutput = {
|
|
26
|
+
codeConfig?: OrganizationCodeConfig | null | undefined;
|
|
27
|
+
additionalProperties?: { [k: string]: Schema1 | null } | undefined;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const OrganizationMetadataOutput$inboundSchema: z.ZodType<
|
|
32
|
+
OrganizationMetadataOutput,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
unknown
|
|
35
|
+
> = collectExtraKeys$(
|
|
36
|
+
z.object({
|
|
37
|
+
codeConfig: z.nullable(OrganizationCodeConfig$inboundSchema).optional(),
|
|
38
|
+
}).catchall(Schema1$inboundSchema),
|
|
39
|
+
"additionalProperties",
|
|
40
|
+
true,
|
|
41
|
+
);
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type OrganizationMetadataOutput$Outbound = {
|
|
44
|
+
codeConfig?: OrganizationCodeConfig$Outbound | null | undefined;
|
|
45
|
+
[additionalProperties: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const OrganizationMetadataOutput$outboundSchema: z.ZodType<
|
|
50
|
+
OrganizationMetadataOutput$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
OrganizationMetadataOutput
|
|
53
|
+
> = z.object({
|
|
54
|
+
codeConfig: z.nullable(OrganizationCodeConfig$outboundSchema).optional(),
|
|
55
|
+
additionalProperties: z.record(z.nullable(Schema1$outboundSchema)).optional(),
|
|
56
|
+
}).transform((v) => {
|
|
57
|
+
return {
|
|
58
|
+
...v.additionalProperties,
|
|
59
|
+
...remap$(v, {
|
|
60
|
+
additionalProperties: null,
|
|
61
|
+
}),
|
|
62
|
+
};
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
export function organizationMetadataOutputToJSON(
|
|
66
|
+
organizationMetadataOutput: OrganizationMetadataOutput,
|
|
67
|
+
): string {
|
|
68
|
+
return JSON.stringify(
|
|
69
|
+
OrganizationMetadataOutput$outboundSchema.parse(organizationMetadataOutput),
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
export function organizationMetadataOutputFromJSON(
|
|
73
|
+
jsonString: string,
|
|
74
|
+
): SafeParseResult<OrganizationMetadataOutput, SDKValidationError> {
|
|
75
|
+
return safeParse(
|
|
76
|
+
jsonString,
|
|
77
|
+
(x) => OrganizationMetadataOutput$inboundSchema.parse(JSON.parse(x)),
|
|
78
|
+
`Failed to parse 'OrganizationMetadataOutput' from JSON`,
|
|
79
|
+
);
|
|
80
|
+
}
|
|
@@ -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
|
}));
|