@meetkai/mka1 0.54.100 → 0.54.101
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/bin/mcp-server.js +32 -9
- package/bin/mcp-server.js.map +11 -10
- 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/clusterinviteseedguardrails.d.ts +20 -0
- package/dist/commonjs/models/components/clusterinviteseedguardrails.d.ts.map +1 -0
- package/dist/commonjs/models/components/clusterinviteseedguardrails.js +58 -0
- package/dist/commonjs/models/components/clusterinviteseedguardrails.js.map +1 -0
- 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/createclusterinvite.d.ts +10 -0
- package/dist/commonjs/models/operations/createclusterinvite.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createclusterinvite.js +8 -0
- package/dist/commonjs/models/operations/createclusterinvite.js.map +1 -1
- package/dist/commonjs/models/operations/listclusterinvites.d.ts +5 -0
- package/dist/commonjs/models/operations/listclusterinvites.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listclusterinvites.js +4 -0
- package/dist/commonjs/models/operations/listclusterinvites.js.map +1 -1
- package/dist/commonjs/models/operations/updateclusterinvite.d.ts +10 -0
- package/dist/commonjs/models/operations/updateclusterinvite.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updateclusterinvite.js +8 -0
- package/dist/commonjs/models/operations/updateclusterinvite.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.js +1 -1
- package/dist/esm/models/components/clusterinviteseedguardrails.d.ts +20 -0
- package/dist/esm/models/components/clusterinviteseedguardrails.d.ts.map +1 -0
- package/dist/esm/models/components/clusterinviteseedguardrails.js +20 -0
- package/dist/esm/models/components/clusterinviteseedguardrails.js.map +1 -0
- 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/createclusterinvite.d.ts +10 -0
- package/dist/esm/models/operations/createclusterinvite.d.ts.map +1 -1
- package/dist/esm/models/operations/createclusterinvite.js +8 -0
- package/dist/esm/models/operations/createclusterinvite.js.map +1 -1
- package/dist/esm/models/operations/listclusterinvites.d.ts +5 -0
- package/dist/esm/models/operations/listclusterinvites.d.ts.map +1 -1
- package/dist/esm/models/operations/listclusterinvites.js +4 -0
- package/dist/esm/models/operations/listclusterinvites.js.map +1 -1
- package/dist/esm/models/operations/updateclusterinvite.d.ts +10 -0
- package/dist/esm/models/operations/updateclusterinvite.d.ts.map +1 -1
- package/dist/esm/models/operations/updateclusterinvite.js +8 -0
- package/dist/esm/models/operations/updateclusterinvite.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +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/models/components/clusterinviteseedguardrails.ts +56 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/operations/createclusterinvite.ts +18 -0
- package/src/models/operations/listclusterinvites.ts +9 -0
- package/src/models/operations/updateclusterinvite.ts +18 -0
|
@@ -13,6 +13,8 @@ export const UpdateClusterInviteRequestBody$inboundSchema = z.object({
|
|
|
13
13
|
seedQuota: components.ClusterInviteSeedQuota$inboundSchema.optional(),
|
|
14
14
|
seedCompute: components.ClusterInviteSeedCompute$inboundSchema.optional(),
|
|
15
15
|
seedBudget: components.ClusterInviteSeedBudget$inboundSchema.optional(),
|
|
16
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$inboundSchema
|
|
17
|
+
.optional(),
|
|
16
18
|
});
|
|
17
19
|
/** @internal */
|
|
18
20
|
export const UpdateClusterInviteRequestBody$outboundSchema = z.object({
|
|
@@ -21,6 +23,8 @@ export const UpdateClusterInviteRequestBody$outboundSchema = z.object({
|
|
|
21
23
|
seedQuota: components.ClusterInviteSeedQuota$outboundSchema.optional(),
|
|
22
24
|
seedCompute: components.ClusterInviteSeedCompute$outboundSchema.optional(),
|
|
23
25
|
seedBudget: components.ClusterInviteSeedBudget$outboundSchema.optional(),
|
|
26
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$outboundSchema
|
|
27
|
+
.optional(),
|
|
24
28
|
});
|
|
25
29
|
export function updateClusterInviteRequestBodyToJSON(updateClusterInviteRequestBody) {
|
|
26
30
|
return JSON.stringify(UpdateClusterInviteRequestBody$outboundSchema.parse(updateClusterInviteRequestBody));
|
|
@@ -66,6 +70,8 @@ export const UpdateClusterInviteInvitation$inboundSchema = z.object({
|
|
|
66
70
|
seedQuota: components.ClusterInviteSeedQuota$inboundSchema.optional(),
|
|
67
71
|
seedCompute: components.ClusterInviteSeedCompute$inboundSchema.optional(),
|
|
68
72
|
seedBudget: components.ClusterInviteSeedBudget$inboundSchema.optional(),
|
|
73
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$inboundSchema
|
|
74
|
+
.optional(),
|
|
69
75
|
provisioningConfiguredByUserId: z.string().optional(),
|
|
70
76
|
expiresAt: z.string(),
|
|
71
77
|
createdAt: z.string(),
|
|
@@ -83,6 +89,8 @@ export const UpdateClusterInviteInvitation$outboundSchema = z.object({
|
|
|
83
89
|
seedQuota: components.ClusterInviteSeedQuota$outboundSchema.optional(),
|
|
84
90
|
seedCompute: components.ClusterInviteSeedCompute$outboundSchema.optional(),
|
|
85
91
|
seedBudget: components.ClusterInviteSeedBudget$outboundSchema.optional(),
|
|
92
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$outboundSchema
|
|
93
|
+
.optional(),
|
|
86
94
|
provisioningConfiguredByUserId: z.string().optional(),
|
|
87
95
|
expiresAt: z.string(),
|
|
88
96
|
createdAt: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateclusterinvite.js","sourceRoot":"","sources":["../../../../src/models/operations/updateclusterinvite.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"updateclusterinvite.js","sourceRoot":"","sources":["../../../../src/models/operations/updateclusterinvite.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AA4ErD,gBAAgB;AAChB,MAAM,CAAC,MAAM,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;SACzE,QAAQ,EAAE;IACb,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,SAAS,EAAE,UAAU,CAAC,oCAAoC,CAAC,QAAQ,EAAE;IACrE,WAAW,EAAE,UAAU,CAAC,sCAAsC,CAAC,QAAQ,EAAE;IACzE,UAAU,EA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,CAAC,CAAC;AAMH,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,4CAA4C,CAAC;CACvE,CAAC,CAAC;AAEH,MAAM,UAAU,qCAAqC,CACnD,+BAAgE;IAEhE,OAAO,IAAI,CAAC,SAAS,CACnB,8CAA8C,CAAC,KAAK,CAClD,+BAA+B,CAChC,CACF,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,uCAAuC,CACrD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC"}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.1.0",
|
|
68
|
-
sdkVersion: "0.54.
|
|
68
|
+
sdkVersion: "0.54.101",
|
|
69
69
|
genVersion: "2.948.4",
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.54.101 2.948.4 1.1.0 @meetkai/mka1",
|
|
71
71
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
/**
|
|
11
|
+
* Whether the organization is enrolled in the gateway's cluster default guardrails when the invitation is accepted. Defaults to enabled. The enrollment is applied before acceptance commits; if it fails, no organization is created and the invitation stays claimable. The cluster default's rules and cluster-wide switch are managed in the gateway.
|
|
12
|
+
*/
|
|
13
|
+
export type ClusterInviteSeedGuardrails = {
|
|
14
|
+
enabled: boolean;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const ClusterInviteSeedGuardrails$inboundSchema: z.ZodType<
|
|
19
|
+
ClusterInviteSeedGuardrails,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z.object({
|
|
23
|
+
enabled: z.boolean(),
|
|
24
|
+
});
|
|
25
|
+
/** @internal */
|
|
26
|
+
export type ClusterInviteSeedGuardrails$Outbound = {
|
|
27
|
+
enabled: boolean;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const ClusterInviteSeedGuardrails$outboundSchema: z.ZodType<
|
|
32
|
+
ClusterInviteSeedGuardrails$Outbound,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
ClusterInviteSeedGuardrails
|
|
35
|
+
> = z.object({
|
|
36
|
+
enabled: z.boolean(),
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export function clusterInviteSeedGuardrailsToJSON(
|
|
40
|
+
clusterInviteSeedGuardrails: ClusterInviteSeedGuardrails,
|
|
41
|
+
): string {
|
|
42
|
+
return JSON.stringify(
|
|
43
|
+
ClusterInviteSeedGuardrails$outboundSchema.parse(
|
|
44
|
+
clusterInviteSeedGuardrails,
|
|
45
|
+
),
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
export function clusterInviteSeedGuardrailsFromJSON(
|
|
49
|
+
jsonString: string,
|
|
50
|
+
): SafeParseResult<ClusterInviteSeedGuardrails, SDKValidationError> {
|
|
51
|
+
return safeParse(
|
|
52
|
+
jsonString,
|
|
53
|
+
(x) => ClusterInviteSeedGuardrails$inboundSchema.parse(JSON.parse(x)),
|
|
54
|
+
`Failed to parse 'ClusterInviteSeedGuardrails' from JSON`,
|
|
55
|
+
);
|
|
56
|
+
}
|
|
@@ -84,6 +84,7 @@ export * from "./clusterdefaultguardrailsresponse.js";
|
|
|
84
84
|
export * from "./clusterdefaultrulesummary.js";
|
|
85
85
|
export * from "./clusterinviteseedbudget.js";
|
|
86
86
|
export * from "./clusterinviteseedcompute.js";
|
|
87
|
+
export * from "./clusterinviteseedguardrails.js";
|
|
87
88
|
export * from "./clusterinviteseedquota.js";
|
|
88
89
|
export * from "./codeinterpretercontainerauto.js";
|
|
89
90
|
export * from "./codeinterpreteroutput.js";
|
|
@@ -29,6 +29,10 @@ export type CreateClusterInviteRequestBody = {
|
|
|
29
29
|
* Cluster-owned organization spend limit applied before invitation acceptance commits. Uses the cluster pricing currency and blocks new requests at 100% of the limit. All fields are required when supplied. Enabling requires a positive finite limit and non-null period; when disabled, period and limit must both be null or both be valid. Existing budgeting outage and in-flight-request behavior still applies.
|
|
30
30
|
*/
|
|
31
31
|
seedBudget?: components.ClusterInviteSeedBudget | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the organization is enrolled in the gateway's cluster default guardrails when the invitation is accepted. Defaults to enabled. The enrollment is applied before acceptance commits; if it fails, no organization is created and the invitation stays claimable. The cluster default's rules and cluster-wide switch are managed in the gateway.
|
|
34
|
+
*/
|
|
35
|
+
seedGuardrails?: components.ClusterInviteSeedGuardrails | undefined;
|
|
32
36
|
};
|
|
33
37
|
|
|
34
38
|
export type CreateClusterInviteRequest = {
|
|
@@ -57,6 +61,10 @@ export type Invitation = {
|
|
|
57
61
|
* Cluster-owned organization spend limit applied before invitation acceptance commits. Uses the cluster pricing currency and blocks new requests at 100% of the limit. All fields are required when supplied. Enabling requires a positive finite limit and non-null period; when disabled, period and limit must both be null or both be valid. Existing budgeting outage and in-flight-request behavior still applies.
|
|
58
62
|
*/
|
|
59
63
|
seedBudget?: components.ClusterInviteSeedBudget | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* Whether the organization is enrolled in the gateway's cluster default guardrails when the invitation is accepted. Defaults to enabled. The enrollment is applied before acceptance commits; if it fails, no organization is created and the invitation stays claimable. The cluster default's rules and cluster-wide switch are managed in the gateway.
|
|
66
|
+
*/
|
|
67
|
+
seedGuardrails?: components.ClusterInviteSeedGuardrails | undefined;
|
|
60
68
|
provisioningConfiguredByUserId?: string | undefined;
|
|
61
69
|
expiresAt: string;
|
|
62
70
|
createdAt: string;
|
|
@@ -85,6 +93,8 @@ export const CreateClusterInviteRequestBody$inboundSchema: z.ZodType<
|
|
|
85
93
|
seedQuota: components.ClusterInviteSeedQuota$inboundSchema.optional(),
|
|
86
94
|
seedCompute: components.ClusterInviteSeedCompute$inboundSchema.optional(),
|
|
87
95
|
seedBudget: components.ClusterInviteSeedBudget$inboundSchema.optional(),
|
|
96
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$inboundSchema
|
|
97
|
+
.optional(),
|
|
88
98
|
});
|
|
89
99
|
/** @internal */
|
|
90
100
|
export type CreateClusterInviteRequestBody$Outbound = {
|
|
@@ -95,6 +105,7 @@ export type CreateClusterInviteRequestBody$Outbound = {
|
|
|
95
105
|
seedQuota?: components.ClusterInviteSeedQuota$Outbound | undefined;
|
|
96
106
|
seedCompute?: components.ClusterInviteSeedCompute$Outbound | undefined;
|
|
97
107
|
seedBudget?: components.ClusterInviteSeedBudget$Outbound | undefined;
|
|
108
|
+
seedGuardrails?: components.ClusterInviteSeedGuardrails$Outbound | undefined;
|
|
98
109
|
};
|
|
99
110
|
|
|
100
111
|
/** @internal */
|
|
@@ -110,6 +121,8 @@ export const CreateClusterInviteRequestBody$outboundSchema: z.ZodType<
|
|
|
110
121
|
seedQuota: components.ClusterInviteSeedQuota$outboundSchema.optional(),
|
|
111
122
|
seedCompute: components.ClusterInviteSeedCompute$outboundSchema.optional(),
|
|
112
123
|
seedBudget: components.ClusterInviteSeedBudget$outboundSchema.optional(),
|
|
124
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$outboundSchema
|
|
125
|
+
.optional(),
|
|
113
126
|
});
|
|
114
127
|
|
|
115
128
|
export function createClusterInviteRequestBodyToJSON(
|
|
@@ -199,6 +212,8 @@ export const Invitation$inboundSchema: z.ZodType<
|
|
|
199
212
|
seedQuota: components.ClusterInviteSeedQuota$inboundSchema.optional(),
|
|
200
213
|
seedCompute: components.ClusterInviteSeedCompute$inboundSchema.optional(),
|
|
201
214
|
seedBudget: components.ClusterInviteSeedBudget$inboundSchema.optional(),
|
|
215
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$inboundSchema
|
|
216
|
+
.optional(),
|
|
202
217
|
provisioningConfiguredByUserId: z.string().optional(),
|
|
203
218
|
expiresAt: z.string(),
|
|
204
219
|
createdAt: z.string(),
|
|
@@ -216,6 +231,7 @@ export type Invitation$Outbound = {
|
|
|
216
231
|
seedQuota?: components.ClusterInviteSeedQuota$Outbound | undefined;
|
|
217
232
|
seedCompute?: components.ClusterInviteSeedCompute$Outbound | undefined;
|
|
218
233
|
seedBudget?: components.ClusterInviteSeedBudget$Outbound | undefined;
|
|
234
|
+
seedGuardrails?: components.ClusterInviteSeedGuardrails$Outbound | undefined;
|
|
219
235
|
provisioningConfiguredByUserId?: string | undefined;
|
|
220
236
|
expiresAt: string;
|
|
221
237
|
createdAt: string;
|
|
@@ -238,6 +254,8 @@ export const Invitation$outboundSchema: z.ZodType<
|
|
|
238
254
|
seedQuota: components.ClusterInviteSeedQuota$outboundSchema.optional(),
|
|
239
255
|
seedCompute: components.ClusterInviteSeedCompute$outboundSchema.optional(),
|
|
240
256
|
seedBudget: components.ClusterInviteSeedBudget$outboundSchema.optional(),
|
|
257
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$outboundSchema
|
|
258
|
+
.optional(),
|
|
241
259
|
provisioningConfiguredByUserId: z.string().optional(),
|
|
242
260
|
expiresAt: z.string(),
|
|
243
261
|
createdAt: z.string(),
|
|
@@ -34,6 +34,10 @@ export type ListClusterInvitesInvitations = {
|
|
|
34
34
|
* Cluster-owned organization spend limit applied before invitation acceptance commits. Uses the cluster pricing currency and blocks new requests at 100% of the limit. All fields are required when supplied. Enabling requires a positive finite limit and non-null period; when disabled, period and limit must both be null or both be valid. Existing budgeting outage and in-flight-request behavior still applies.
|
|
35
35
|
*/
|
|
36
36
|
seedBudget?: components.ClusterInviteSeedBudget | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the organization is enrolled in the gateway's cluster default guardrails when the invitation is accepted. Defaults to enabled. The enrollment is applied before acceptance commits; if it fails, no organization is created and the invitation stays claimable. The cluster default's rules and cluster-wide switch are managed in the gateway.
|
|
39
|
+
*/
|
|
40
|
+
seedGuardrails?: components.ClusterInviteSeedGuardrails | undefined;
|
|
37
41
|
provisioningConfiguredByUserId?: string | undefined;
|
|
38
42
|
expiresAt: string;
|
|
39
43
|
createdAt: string;
|
|
@@ -110,6 +114,8 @@ export const ListClusterInvitesInvitations$inboundSchema: z.ZodType<
|
|
|
110
114
|
seedQuota: components.ClusterInviteSeedQuota$inboundSchema.optional(),
|
|
111
115
|
seedCompute: components.ClusterInviteSeedCompute$inboundSchema.optional(),
|
|
112
116
|
seedBudget: components.ClusterInviteSeedBudget$inboundSchema.optional(),
|
|
117
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$inboundSchema
|
|
118
|
+
.optional(),
|
|
113
119
|
provisioningConfiguredByUserId: z.string().optional(),
|
|
114
120
|
expiresAt: z.string(),
|
|
115
121
|
createdAt: z.string(),
|
|
@@ -127,6 +133,7 @@ export type ListClusterInvitesInvitations$Outbound = {
|
|
|
127
133
|
seedQuota?: components.ClusterInviteSeedQuota$Outbound | undefined;
|
|
128
134
|
seedCompute?: components.ClusterInviteSeedCompute$Outbound | undefined;
|
|
129
135
|
seedBudget?: components.ClusterInviteSeedBudget$Outbound | undefined;
|
|
136
|
+
seedGuardrails?: components.ClusterInviteSeedGuardrails$Outbound | undefined;
|
|
130
137
|
provisioningConfiguredByUserId?: string | undefined;
|
|
131
138
|
expiresAt: string;
|
|
132
139
|
createdAt: string;
|
|
@@ -149,6 +156,8 @@ export const ListClusterInvitesInvitations$outboundSchema: z.ZodType<
|
|
|
149
156
|
seedQuota: components.ClusterInviteSeedQuota$outboundSchema.optional(),
|
|
150
157
|
seedCompute: components.ClusterInviteSeedCompute$outboundSchema.optional(),
|
|
151
158
|
seedBudget: components.ClusterInviteSeedBudget$outboundSchema.optional(),
|
|
159
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$outboundSchema
|
|
160
|
+
.optional(),
|
|
152
161
|
provisioningConfiguredByUserId: z.string().optional(),
|
|
153
162
|
expiresAt: z.string(),
|
|
154
163
|
createdAt: z.string(),
|
|
@@ -30,6 +30,10 @@ export type UpdateClusterInviteRequestBody = {
|
|
|
30
30
|
* Cluster-owned organization spend limit applied before invitation acceptance commits. Uses the cluster pricing currency and blocks new requests at 100% of the limit. All fields are required when supplied. Enabling requires a positive finite limit and non-null period; when disabled, period and limit must both be null or both be valid. Existing budgeting outage and in-flight-request behavior still applies.
|
|
31
31
|
*/
|
|
32
32
|
seedBudget?: components.ClusterInviteSeedBudget | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Whether the organization is enrolled in the gateway's cluster default guardrails when the invitation is accepted. Defaults to enabled. The enrollment is applied before acceptance commits; if it fails, no organization is created and the invitation stays claimable. The cluster default's rules and cluster-wide switch are managed in the gateway.
|
|
35
|
+
*/
|
|
36
|
+
seedGuardrails?: components.ClusterInviteSeedGuardrails | undefined;
|
|
33
37
|
};
|
|
34
38
|
|
|
35
39
|
export type UpdateClusterInviteRequest = {
|
|
@@ -59,6 +63,10 @@ export type UpdateClusterInviteInvitation = {
|
|
|
59
63
|
* Cluster-owned organization spend limit applied before invitation acceptance commits. Uses the cluster pricing currency and blocks new requests at 100% of the limit. All fields are required when supplied. Enabling requires a positive finite limit and non-null period; when disabled, period and limit must both be null or both be valid. Existing budgeting outage and in-flight-request behavior still applies.
|
|
60
64
|
*/
|
|
61
65
|
seedBudget?: components.ClusterInviteSeedBudget | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Whether the organization is enrolled in the gateway's cluster default guardrails when the invitation is accepted. Defaults to enabled. The enrollment is applied before acceptance commits; if it fails, no organization is created and the invitation stays claimable. The cluster default's rules and cluster-wide switch are managed in the gateway.
|
|
68
|
+
*/
|
|
69
|
+
seedGuardrails?: components.ClusterInviteSeedGuardrails | undefined;
|
|
62
70
|
provisioningConfiguredByUserId?: string | undefined;
|
|
63
71
|
expiresAt: string;
|
|
64
72
|
createdAt: string;
|
|
@@ -86,6 +94,8 @@ export const UpdateClusterInviteRequestBody$inboundSchema: z.ZodType<
|
|
|
86
94
|
seedQuota: components.ClusterInviteSeedQuota$inboundSchema.optional(),
|
|
87
95
|
seedCompute: components.ClusterInviteSeedCompute$inboundSchema.optional(),
|
|
88
96
|
seedBudget: components.ClusterInviteSeedBudget$inboundSchema.optional(),
|
|
97
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$inboundSchema
|
|
98
|
+
.optional(),
|
|
89
99
|
});
|
|
90
100
|
/** @internal */
|
|
91
101
|
export type UpdateClusterInviteRequestBody$Outbound = {
|
|
@@ -94,6 +104,7 @@ export type UpdateClusterInviteRequestBody$Outbound = {
|
|
|
94
104
|
seedQuota?: components.ClusterInviteSeedQuota$Outbound | undefined;
|
|
95
105
|
seedCompute?: components.ClusterInviteSeedCompute$Outbound | undefined;
|
|
96
106
|
seedBudget?: components.ClusterInviteSeedBudget$Outbound | undefined;
|
|
107
|
+
seedGuardrails?: components.ClusterInviteSeedGuardrails$Outbound | undefined;
|
|
97
108
|
};
|
|
98
109
|
|
|
99
110
|
/** @internal */
|
|
@@ -107,6 +118,8 @@ export const UpdateClusterInviteRequestBody$outboundSchema: z.ZodType<
|
|
|
107
118
|
seedQuota: components.ClusterInviteSeedQuota$outboundSchema.optional(),
|
|
108
119
|
seedCompute: components.ClusterInviteSeedCompute$outboundSchema.optional(),
|
|
109
120
|
seedBudget: components.ClusterInviteSeedBudget$outboundSchema.optional(),
|
|
121
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$outboundSchema
|
|
122
|
+
.optional(),
|
|
110
123
|
});
|
|
111
124
|
|
|
112
125
|
export function updateClusterInviteRequestBodyToJSON(
|
|
@@ -197,6 +210,8 @@ export const UpdateClusterInviteInvitation$inboundSchema: z.ZodType<
|
|
|
197
210
|
seedQuota: components.ClusterInviteSeedQuota$inboundSchema.optional(),
|
|
198
211
|
seedCompute: components.ClusterInviteSeedCompute$inboundSchema.optional(),
|
|
199
212
|
seedBudget: components.ClusterInviteSeedBudget$inboundSchema.optional(),
|
|
213
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$inboundSchema
|
|
214
|
+
.optional(),
|
|
200
215
|
provisioningConfiguredByUserId: z.string().optional(),
|
|
201
216
|
expiresAt: z.string(),
|
|
202
217
|
createdAt: z.string(),
|
|
@@ -214,6 +229,7 @@ export type UpdateClusterInviteInvitation$Outbound = {
|
|
|
214
229
|
seedQuota?: components.ClusterInviteSeedQuota$Outbound | undefined;
|
|
215
230
|
seedCompute?: components.ClusterInviteSeedCompute$Outbound | undefined;
|
|
216
231
|
seedBudget?: components.ClusterInviteSeedBudget$Outbound | undefined;
|
|
232
|
+
seedGuardrails?: components.ClusterInviteSeedGuardrails$Outbound | undefined;
|
|
217
233
|
provisioningConfiguredByUserId?: string | undefined;
|
|
218
234
|
expiresAt: string;
|
|
219
235
|
createdAt: string;
|
|
@@ -236,6 +252,8 @@ export const UpdateClusterInviteInvitation$outboundSchema: z.ZodType<
|
|
|
236
252
|
seedQuota: components.ClusterInviteSeedQuota$outboundSchema.optional(),
|
|
237
253
|
seedCompute: components.ClusterInviteSeedCompute$outboundSchema.optional(),
|
|
238
254
|
seedBudget: components.ClusterInviteSeedBudget$outboundSchema.optional(),
|
|
255
|
+
seedGuardrails: components.ClusterInviteSeedGuardrails$outboundSchema
|
|
256
|
+
.optional(),
|
|
239
257
|
provisioningConfiguredByUserId: z.string().optional(),
|
|
240
258
|
expiresAt: z.string(),
|
|
241
259
|
createdAt: z.string(),
|