@vercel/sdk 1.17.4 → 1.17.7
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 +1594 -1509
- package/bin/mcp-server.js.map +17 -17
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +11 -2
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/rollingrelease.test.js +6 -2
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +4 -4
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/teams.test.js +2 -2
- package/esm/__tests__/teams.test.js.map +1 -1
- package/esm/funcs/marketplaceImportResource.js +2 -2
- package/esm/funcs/marketplaceImportResource.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/canceldeploymentop.d.ts +2 -37
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +2 -23
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +2 -37
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +2 -22
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +152 -152
- package/esm/models/createintegrationstoredirectop.js +218 -218
- package/esm/models/createprojectop.d.ts +18 -18
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +18 -18
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +200 -200
- package/esm/models/getconfigurationproductsop.js +290 -290
- package/esm/models/getdeploymentop.d.ts +2 -37
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +2 -22
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getmemberop.d.ts +4 -0
- package/esm/models/getmemberop.d.ts.map +1 -1
- package/esm/models/getmemberop.js +4 -0
- package/esm/models/getmemberop.js.map +1 -1
- package/esm/models/team.d.ts +21 -11
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +12 -8
- package/esm/models/team.js.map +1 -1
- package/esm/models/teamlimited.d.ts +10 -0
- package/esm/models/teamlimited.d.ts.map +1 -1
- package/esm/models/teamlimited.js +4 -0
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +18 -18
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +18 -18
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +1599 -1433
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +2124 -1947
- package/esm/models/userevent.js.map +1 -1
- package/esm/types/enums.d.ts +1 -8
- package/esm/types/enums.d.ts.map +1 -1
- package/esm/types/enums.js +1 -18
- package/esm/types/enums.js.map +1 -1
- package/esm/types/unrecognized.d.ts +10 -0
- package/esm/types/unrecognized.d.ts.map +1 -0
- package/esm/types/unrecognized.js +23 -0
- package/esm/types/unrecognized.js.map +1 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +1 -3
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/domains.test.ts +11 -2
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/rollingrelease.test.ts +6 -2
- package/src/__tests__/security.test.ts +4 -4
- package/src/__tests__/teams.test.ts +2 -2
- package/src/funcs/marketplaceImportResource.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/canceldeploymentop.ts +4 -76
- package/src/models/createdeploymentop.ts +4 -87
- package/src/models/createintegrationstoredirectop.ts +471 -471
- package/src/models/createprojectop.ts +30 -30
- package/src/models/getconfigurationproductsop.ts +627 -627
- package/src/models/getdeploymentop.ts +4 -88
- package/src/models/getmemberop.ts +8 -0
- package/src/models/team.ts +29 -15
- package/src/models/teamlimited.ts +14 -0
- package/src/models/updateprojectop.ts +30 -30
- package/src/models/userevent.ts +4882 -4390
- package/src/types/enums.ts +1 -21
- package/src/types/unrecognized.ts +27 -0
- package/vercel-spec.json +356 -244
|
@@ -1994,6 +1994,7 @@ export type GetDeploymentRoutesTransforms = {
|
|
|
1994
1994
|
op: GetDeploymentRoutesOp;
|
|
1995
1995
|
target: GetDeploymentRoutesTarget;
|
|
1996
1996
|
args?: string | Array<string> | undefined;
|
|
1997
|
+
env?: Array<string> | undefined;
|
|
1997
1998
|
};
|
|
1998
1999
|
|
|
1999
2000
|
export type GetDeploymentRoutesLocale = {
|
|
@@ -2151,22 +2152,6 @@ export type ResponseBodyFlags =
|
|
|
2151
2152
|
| GetDeploymentFlags1
|
|
2152
2153
|
| Array<GetDeploymentFlags2>;
|
|
2153
2154
|
|
|
2154
|
-
/**
|
|
2155
|
-
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
|
|
2156
|
-
*/
|
|
2157
|
-
export type GetDeploymentMicrofrontendsApplications = {
|
|
2158
|
-
isDefaultApp?: boolean | undefined;
|
|
2159
|
-
/**
|
|
2160
|
-
* This is the production alias, it will always show the most up to date of each application.
|
|
2161
|
-
*/
|
|
2162
|
-
productionHost: string;
|
|
2163
|
-
/**
|
|
2164
|
-
* Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used.
|
|
2165
|
-
*/
|
|
2166
|
-
deploymentAlias?: string | undefined;
|
|
2167
|
-
deploymentHost?: string | undefined;
|
|
2168
|
-
};
|
|
2169
|
-
|
|
2170
2155
|
/**
|
|
2171
2156
|
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
2172
2157
|
*/
|
|
@@ -2184,12 +2169,6 @@ export type GetDeploymentMicrofrontendsMfeConfigUploadState = ClosedEnum<
|
|
|
2184
2169
|
|
|
2185
2170
|
export type GetDeploymentMicrofrontends2 = {
|
|
2186
2171
|
isDefaultApp: boolean;
|
|
2187
|
-
/**
|
|
2188
|
-
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
|
|
2189
|
-
*/
|
|
2190
|
-
applications?:
|
|
2191
|
-
| { [k: string]: GetDeploymentMicrofrontendsApplications }
|
|
2192
|
-
| undefined;
|
|
2193
2172
|
/**
|
|
2194
2173
|
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
2195
2174
|
*/
|
|
@@ -9275,6 +9254,7 @@ export const GetDeploymentRoutesTransforms$inboundSchema: z.ZodType<
|
|
|
9275
9254
|
op: GetDeploymentRoutesOp$inboundSchema,
|
|
9276
9255
|
target: z.lazy(() => GetDeploymentRoutesTarget$inboundSchema),
|
|
9277
9256
|
args: z.union([z.string(), z.array(z.string())]).optional(),
|
|
9257
|
+
env: z.array(z.string()).optional(),
|
|
9278
9258
|
});
|
|
9279
9259
|
/** @internal */
|
|
9280
9260
|
export type GetDeploymentRoutesTransforms$Outbound = {
|
|
@@ -9282,6 +9262,7 @@ export type GetDeploymentRoutesTransforms$Outbound = {
|
|
|
9282
9262
|
op: string;
|
|
9283
9263
|
target: GetDeploymentRoutesTarget$Outbound;
|
|
9284
9264
|
args?: string | Array<string> | undefined;
|
|
9265
|
+
env?: Array<string> | undefined;
|
|
9285
9266
|
};
|
|
9286
9267
|
|
|
9287
9268
|
/** @internal */
|
|
@@ -9294,6 +9275,7 @@ export const GetDeploymentRoutesTransforms$outboundSchema: z.ZodType<
|
|
|
9294
9275
|
op: GetDeploymentRoutesOp$outboundSchema,
|
|
9295
9276
|
target: z.lazy(() => GetDeploymentRoutesTarget$outboundSchema),
|
|
9296
9277
|
args: z.union([z.string(), z.array(z.string())]).optional(),
|
|
9278
|
+
env: z.array(z.string()).optional(),
|
|
9297
9279
|
});
|
|
9298
9280
|
|
|
9299
9281
|
export function getDeploymentRoutesTransformsToJSON(
|
|
@@ -10019,63 +10001,6 @@ export function responseBodyFlagsFromJSON(
|
|
|
10019
10001
|
);
|
|
10020
10002
|
}
|
|
10021
10003
|
|
|
10022
|
-
/** @internal */
|
|
10023
|
-
export const GetDeploymentMicrofrontendsApplications$inboundSchema: z.ZodType<
|
|
10024
|
-
GetDeploymentMicrofrontendsApplications,
|
|
10025
|
-
z.ZodTypeDef,
|
|
10026
|
-
unknown
|
|
10027
|
-
> = z.object({
|
|
10028
|
-
isDefaultApp: z.boolean().optional(),
|
|
10029
|
-
productionHost: z.string(),
|
|
10030
|
-
deploymentAlias: z.string().optional(),
|
|
10031
|
-
deploymentHost: z.string().optional(),
|
|
10032
|
-
});
|
|
10033
|
-
/** @internal */
|
|
10034
|
-
export type GetDeploymentMicrofrontendsApplications$Outbound = {
|
|
10035
|
-
isDefaultApp?: boolean | undefined;
|
|
10036
|
-
productionHost: string;
|
|
10037
|
-
deploymentAlias?: string | undefined;
|
|
10038
|
-
deploymentHost?: string | undefined;
|
|
10039
|
-
};
|
|
10040
|
-
|
|
10041
|
-
/** @internal */
|
|
10042
|
-
export const GetDeploymentMicrofrontendsApplications$outboundSchema: z.ZodType<
|
|
10043
|
-
GetDeploymentMicrofrontendsApplications$Outbound,
|
|
10044
|
-
z.ZodTypeDef,
|
|
10045
|
-
GetDeploymentMicrofrontendsApplications
|
|
10046
|
-
> = z.object({
|
|
10047
|
-
isDefaultApp: z.boolean().optional(),
|
|
10048
|
-
productionHost: z.string(),
|
|
10049
|
-
deploymentAlias: z.string().optional(),
|
|
10050
|
-
deploymentHost: z.string().optional(),
|
|
10051
|
-
});
|
|
10052
|
-
|
|
10053
|
-
export function getDeploymentMicrofrontendsApplicationsToJSON(
|
|
10054
|
-
getDeploymentMicrofrontendsApplications:
|
|
10055
|
-
GetDeploymentMicrofrontendsApplications,
|
|
10056
|
-
): string {
|
|
10057
|
-
return JSON.stringify(
|
|
10058
|
-
GetDeploymentMicrofrontendsApplications$outboundSchema.parse(
|
|
10059
|
-
getDeploymentMicrofrontendsApplications,
|
|
10060
|
-
),
|
|
10061
|
-
);
|
|
10062
|
-
}
|
|
10063
|
-
export function getDeploymentMicrofrontendsApplicationsFromJSON(
|
|
10064
|
-
jsonString: string,
|
|
10065
|
-
): SafeParseResult<
|
|
10066
|
-
GetDeploymentMicrofrontendsApplications,
|
|
10067
|
-
SDKValidationError
|
|
10068
|
-
> {
|
|
10069
|
-
return safeParse(
|
|
10070
|
-
jsonString,
|
|
10071
|
-
(x) =>
|
|
10072
|
-
GetDeploymentMicrofrontendsApplications$inboundSchema.parse(
|
|
10073
|
-
JSON.parse(x),
|
|
10074
|
-
),
|
|
10075
|
-
`Failed to parse 'GetDeploymentMicrofrontendsApplications' from JSON`,
|
|
10076
|
-
);
|
|
10077
|
-
}
|
|
10078
|
-
|
|
10079
10004
|
/** @internal */
|
|
10080
10005
|
export const GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema:
|
|
10081
10006
|
z.ZodNativeEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState> = z
|
|
@@ -10092,9 +10017,6 @@ export const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
|
10092
10017
|
unknown
|
|
10093
10018
|
> = z.object({
|
|
10094
10019
|
isDefaultApp: z.boolean(),
|
|
10095
|
-
applications: z.record(
|
|
10096
|
-
z.lazy(() => GetDeploymentMicrofrontendsApplications$inboundSchema),
|
|
10097
|
-
).optional(),
|
|
10098
10020
|
mfeConfigUploadState:
|
|
10099
10021
|
GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema.optional(),
|
|
10100
10022
|
defaultAppProjectName: z.string(),
|
|
@@ -10104,9 +10026,6 @@ export const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
|
10104
10026
|
/** @internal */
|
|
10105
10027
|
export type GetDeploymentMicrofrontends2$Outbound = {
|
|
10106
10028
|
isDefaultApp: boolean;
|
|
10107
|
-
applications?: {
|
|
10108
|
-
[k: string]: GetDeploymentMicrofrontendsApplications$Outbound;
|
|
10109
|
-
} | undefined;
|
|
10110
10029
|
mfeConfigUploadState?: string | undefined;
|
|
10111
10030
|
defaultAppProjectName: string;
|
|
10112
10031
|
defaultRoute?: string | undefined;
|
|
@@ -10120,9 +10039,6 @@ export const GetDeploymentMicrofrontends2$outboundSchema: z.ZodType<
|
|
|
10120
10039
|
GetDeploymentMicrofrontends2
|
|
10121
10040
|
> = z.object({
|
|
10122
10041
|
isDefaultApp: z.boolean(),
|
|
10123
|
-
applications: z.record(
|
|
10124
|
-
z.lazy(() => GetDeploymentMicrofrontendsApplications$outboundSchema),
|
|
10125
|
-
).optional(),
|
|
10126
10042
|
mfeConfigUploadState:
|
|
10127
10043
|
GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSchema.optional(),
|
|
10128
10044
|
defaultAppProjectName: z.string(),
|
|
@@ -31,6 +31,8 @@ export type GetMemberResponseBody = {
|
|
|
31
31
|
* "The `ADMIN` role, by default, is provided to users capable of installing integrations, while the `USER` role can be granted to Vercel users with the Vercel `Billing` or Vercel `Viewer` role, which are considered to be Read-Only roles."
|
|
32
32
|
*/
|
|
33
33
|
role: GetMemberRole;
|
|
34
|
+
globalUserId?: string | undefined;
|
|
35
|
+
userEmail?: string | undefined;
|
|
34
36
|
};
|
|
35
37
|
|
|
36
38
|
/** @internal */
|
|
@@ -92,11 +94,15 @@ export const GetMemberResponseBody$inboundSchema: z.ZodType<
|
|
|
92
94
|
> = z.object({
|
|
93
95
|
id: z.string(),
|
|
94
96
|
role: GetMemberRole$inboundSchema,
|
|
97
|
+
globalUserId: z.string().optional(),
|
|
98
|
+
userEmail: z.string().optional(),
|
|
95
99
|
});
|
|
96
100
|
/** @internal */
|
|
97
101
|
export type GetMemberResponseBody$Outbound = {
|
|
98
102
|
id: string;
|
|
99
103
|
role: string;
|
|
104
|
+
globalUserId?: string | undefined;
|
|
105
|
+
userEmail?: string | undefined;
|
|
100
106
|
};
|
|
101
107
|
|
|
102
108
|
/** @internal */
|
|
@@ -107,6 +113,8 @@ export const GetMemberResponseBody$outboundSchema: z.ZodType<
|
|
|
107
113
|
> = z.object({
|
|
108
114
|
id: z.string(),
|
|
109
115
|
role: GetMemberRole$outboundSchema,
|
|
116
|
+
globalUserId: z.string().optional(),
|
|
117
|
+
userEmail: z.string().optional(),
|
|
110
118
|
});
|
|
111
119
|
|
|
112
120
|
export function getMemberResponseBodyToJSON(
|
package/src/models/team.ts
CHANGED
|
@@ -20,14 +20,14 @@ export type Connect = {
|
|
|
20
20
|
* Information for the SAML Single Sign-On configuration.
|
|
21
21
|
*/
|
|
22
22
|
export type Connection = {
|
|
23
|
-
/**
|
|
24
|
-
* Current status of the connection.
|
|
25
|
-
*/
|
|
26
|
-
status: string;
|
|
27
23
|
/**
|
|
28
24
|
* The Identity Provider "type", for example Okta.
|
|
29
25
|
*/
|
|
30
26
|
type: string;
|
|
27
|
+
/**
|
|
28
|
+
* Current status of the connection.
|
|
29
|
+
*/
|
|
30
|
+
status: string;
|
|
31
31
|
/**
|
|
32
32
|
* Current state of the connection.
|
|
33
33
|
*/
|
|
@@ -40,6 +40,10 @@ export type Connection = {
|
|
|
40
40
|
* Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.
|
|
41
41
|
*/
|
|
42
42
|
lastReceivedWebhookEvent?: number | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Timestamp (in milliseconds) of when the last directory sync was performed.
|
|
45
|
+
*/
|
|
46
|
+
lastSyncedAt?: number | undefined;
|
|
43
47
|
};
|
|
44
48
|
|
|
45
49
|
/**
|
|
@@ -62,6 +66,10 @@ export type Directory = {
|
|
|
62
66
|
* Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.
|
|
63
67
|
*/
|
|
64
68
|
lastReceivedWebhookEvent?: number | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Timestamp (in milliseconds) of when the last directory sync was performed.
|
|
71
|
+
*/
|
|
72
|
+
lastSyncedAt?: number | undefined;
|
|
65
73
|
};
|
|
66
74
|
|
|
67
75
|
/**
|
|
@@ -344,14 +352,14 @@ export type TeamMembershipTeamPermissions = ClosedEnum<
|
|
|
344
352
|
>;
|
|
345
353
|
|
|
346
354
|
export const Origin = {
|
|
347
|
-
Saml: "saml",
|
|
348
|
-
Gitlab: "gitlab",
|
|
349
|
-
Bitbucket: "bitbucket",
|
|
350
|
-
Github: "github",
|
|
351
355
|
Link: "link",
|
|
356
|
+
Saml: "saml",
|
|
352
357
|
Mail: "mail",
|
|
353
358
|
Import: "import",
|
|
354
359
|
Teams: "teams",
|
|
360
|
+
Github: "github",
|
|
361
|
+
Gitlab: "gitlab",
|
|
362
|
+
Bitbucket: "bitbucket",
|
|
355
363
|
Dsync: "dsync",
|
|
356
364
|
Feedback: "feedback",
|
|
357
365
|
OrganizationTeams: "organization-teams",
|
|
@@ -380,12 +388,12 @@ export type JoinedFrom = {
|
|
|
380
388
|
export type Membership = {
|
|
381
389
|
uid?: string | undefined;
|
|
382
390
|
entitlements?: Array<Entitlements> | undefined;
|
|
391
|
+
teamId?: string | undefined;
|
|
383
392
|
confirmed: boolean;
|
|
384
393
|
accessRequestedAt?: number | undefined;
|
|
385
394
|
role: TeamRole;
|
|
386
395
|
teamRoles?: Array<TeamMembershipTeamRoles> | undefined;
|
|
387
396
|
teamPermissions?: Array<TeamMembershipTeamPermissions> | undefined;
|
|
388
|
-
teamId?: string | undefined;
|
|
389
397
|
createdAt: number;
|
|
390
398
|
created: number;
|
|
391
399
|
joinedFrom?: JoinedFrom | undefined;
|
|
@@ -539,19 +547,21 @@ export const Connection$inboundSchema: z.ZodType<
|
|
|
539
547
|
z.ZodTypeDef,
|
|
540
548
|
unknown
|
|
541
549
|
> = z.object({
|
|
542
|
-
status: z.string(),
|
|
543
550
|
type: z.string(),
|
|
551
|
+
status: z.string(),
|
|
544
552
|
state: z.string(),
|
|
545
553
|
connectedAt: z.number(),
|
|
546
554
|
lastReceivedWebhookEvent: z.number().optional(),
|
|
555
|
+
lastSyncedAt: z.number().optional(),
|
|
547
556
|
});
|
|
548
557
|
/** @internal */
|
|
549
558
|
export type Connection$Outbound = {
|
|
550
|
-
status: string;
|
|
551
559
|
type: string;
|
|
560
|
+
status: string;
|
|
552
561
|
state: string;
|
|
553
562
|
connectedAt: number;
|
|
554
563
|
lastReceivedWebhookEvent?: number | undefined;
|
|
564
|
+
lastSyncedAt?: number | undefined;
|
|
555
565
|
};
|
|
556
566
|
|
|
557
567
|
/** @internal */
|
|
@@ -560,11 +570,12 @@ export const Connection$outboundSchema: z.ZodType<
|
|
|
560
570
|
z.ZodTypeDef,
|
|
561
571
|
Connection
|
|
562
572
|
> = z.object({
|
|
563
|
-
status: z.string(),
|
|
564
573
|
type: z.string(),
|
|
574
|
+
status: z.string(),
|
|
565
575
|
state: z.string(),
|
|
566
576
|
connectedAt: z.number(),
|
|
567
577
|
lastReceivedWebhookEvent: z.number().optional(),
|
|
578
|
+
lastSyncedAt: z.number().optional(),
|
|
568
579
|
});
|
|
569
580
|
|
|
570
581
|
export function connectionToJSON(connection: Connection): string {
|
|
@@ -590,6 +601,7 @@ export const Directory$inboundSchema: z.ZodType<
|
|
|
590
601
|
state: z.string(),
|
|
591
602
|
connectedAt: z.number(),
|
|
592
603
|
lastReceivedWebhookEvent: z.number().optional(),
|
|
604
|
+
lastSyncedAt: z.number().optional(),
|
|
593
605
|
});
|
|
594
606
|
/** @internal */
|
|
595
607
|
export type Directory$Outbound = {
|
|
@@ -597,6 +609,7 @@ export type Directory$Outbound = {
|
|
|
597
609
|
state: string;
|
|
598
610
|
connectedAt: number;
|
|
599
611
|
lastReceivedWebhookEvent?: number | undefined;
|
|
612
|
+
lastSyncedAt?: number | undefined;
|
|
600
613
|
};
|
|
601
614
|
|
|
602
615
|
/** @internal */
|
|
@@ -609,6 +622,7 @@ export const Directory$outboundSchema: z.ZodType<
|
|
|
609
622
|
state: z.string(),
|
|
610
623
|
connectedAt: z.number(),
|
|
611
624
|
lastReceivedWebhookEvent: z.number().optional(),
|
|
625
|
+
lastSyncedAt: z.number().optional(),
|
|
612
626
|
});
|
|
613
627
|
|
|
614
628
|
export function directoryToJSON(directory: Directory): string {
|
|
@@ -1366,13 +1380,13 @@ export const Membership$inboundSchema: z.ZodType<
|
|
|
1366
1380
|
> = z.object({
|
|
1367
1381
|
uid: z.string().optional(),
|
|
1368
1382
|
entitlements: z.array(z.lazy(() => Entitlements$inboundSchema)).optional(),
|
|
1383
|
+
teamId: z.string().optional(),
|
|
1369
1384
|
confirmed: z.boolean(),
|
|
1370
1385
|
accessRequestedAt: z.number().optional(),
|
|
1371
1386
|
role: TeamRole$inboundSchema,
|
|
1372
1387
|
teamRoles: z.array(TeamMembershipTeamRoles$inboundSchema).optional(),
|
|
1373
1388
|
teamPermissions: z.array(TeamMembershipTeamPermissions$inboundSchema)
|
|
1374
1389
|
.optional(),
|
|
1375
|
-
teamId: z.string().optional(),
|
|
1376
1390
|
createdAt: z.number(),
|
|
1377
1391
|
created: z.number(),
|
|
1378
1392
|
joinedFrom: z.lazy(() => JoinedFrom$inboundSchema).optional(),
|
|
@@ -1381,12 +1395,12 @@ export const Membership$inboundSchema: z.ZodType<
|
|
|
1381
1395
|
export type Membership$Outbound = {
|
|
1382
1396
|
uid?: string | undefined;
|
|
1383
1397
|
entitlements?: Array<Entitlements$Outbound> | undefined;
|
|
1398
|
+
teamId?: string | undefined;
|
|
1384
1399
|
confirmed: boolean;
|
|
1385
1400
|
accessRequestedAt?: number | undefined;
|
|
1386
1401
|
role: string;
|
|
1387
1402
|
teamRoles?: Array<string> | undefined;
|
|
1388
1403
|
teamPermissions?: Array<string> | undefined;
|
|
1389
|
-
teamId?: string | undefined;
|
|
1390
1404
|
createdAt: number;
|
|
1391
1405
|
created: number;
|
|
1392
1406
|
joinedFrom?: JoinedFrom$Outbound | undefined;
|
|
@@ -1400,13 +1414,13 @@ export const Membership$outboundSchema: z.ZodType<
|
|
|
1400
1414
|
> = z.object({
|
|
1401
1415
|
uid: z.string().optional(),
|
|
1402
1416
|
entitlements: z.array(z.lazy(() => Entitlements$outboundSchema)).optional(),
|
|
1417
|
+
teamId: z.string().optional(),
|
|
1403
1418
|
confirmed: z.boolean(),
|
|
1404
1419
|
accessRequestedAt: z.number().optional(),
|
|
1405
1420
|
role: TeamRole$outboundSchema,
|
|
1406
1421
|
teamRoles: z.array(TeamMembershipTeamRoles$outboundSchema).optional(),
|
|
1407
1422
|
teamPermissions: z.array(TeamMembershipTeamPermissions$outboundSchema)
|
|
1408
1423
|
.optional(),
|
|
1409
|
-
teamId: z.string().optional(),
|
|
1410
1424
|
createdAt: z.number(),
|
|
1411
1425
|
created: z.number(),
|
|
1412
1426
|
joinedFrom: z.lazy(() => JoinedFrom$outboundSchema).optional(),
|
|
@@ -38,6 +38,10 @@ export type TeamLimitedConnection = {
|
|
|
38
38
|
* Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.
|
|
39
39
|
*/
|
|
40
40
|
lastReceivedWebhookEvent?: number | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Timestamp (in milliseconds) of when the last directory sync was performed.
|
|
43
|
+
*/
|
|
44
|
+
lastSyncedAt?: number | undefined;
|
|
41
45
|
};
|
|
42
46
|
|
|
43
47
|
/**
|
|
@@ -60,6 +64,10 @@ export type TeamLimitedDirectory = {
|
|
|
60
64
|
* Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.
|
|
61
65
|
*/
|
|
62
66
|
lastReceivedWebhookEvent?: number | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Timestamp (in milliseconds) of when the last directory sync was performed.
|
|
69
|
+
*/
|
|
70
|
+
lastSyncedAt?: number | undefined;
|
|
63
71
|
};
|
|
64
72
|
|
|
65
73
|
/**
|
|
@@ -228,6 +236,7 @@ export const TeamLimitedConnection$inboundSchema: z.ZodType<
|
|
|
228
236
|
state: z.string(),
|
|
229
237
|
connectedAt: z.number(),
|
|
230
238
|
lastReceivedWebhookEvent: z.number().optional(),
|
|
239
|
+
lastSyncedAt: z.number().optional(),
|
|
231
240
|
});
|
|
232
241
|
/** @internal */
|
|
233
242
|
export type TeamLimitedConnection$Outbound = {
|
|
@@ -236,6 +245,7 @@ export type TeamLimitedConnection$Outbound = {
|
|
|
236
245
|
state: string;
|
|
237
246
|
connectedAt: number;
|
|
238
247
|
lastReceivedWebhookEvent?: number | undefined;
|
|
248
|
+
lastSyncedAt?: number | undefined;
|
|
239
249
|
};
|
|
240
250
|
|
|
241
251
|
/** @internal */
|
|
@@ -249,6 +259,7 @@ export const TeamLimitedConnection$outboundSchema: z.ZodType<
|
|
|
249
259
|
state: z.string(),
|
|
250
260
|
connectedAt: z.number(),
|
|
251
261
|
lastReceivedWebhookEvent: z.number().optional(),
|
|
262
|
+
lastSyncedAt: z.number().optional(),
|
|
252
263
|
});
|
|
253
264
|
|
|
254
265
|
export function teamLimitedConnectionToJSON(
|
|
@@ -278,6 +289,7 @@ export const TeamLimitedDirectory$inboundSchema: z.ZodType<
|
|
|
278
289
|
state: z.string(),
|
|
279
290
|
connectedAt: z.number(),
|
|
280
291
|
lastReceivedWebhookEvent: z.number().optional(),
|
|
292
|
+
lastSyncedAt: z.number().optional(),
|
|
281
293
|
});
|
|
282
294
|
/** @internal */
|
|
283
295
|
export type TeamLimitedDirectory$Outbound = {
|
|
@@ -285,6 +297,7 @@ export type TeamLimitedDirectory$Outbound = {
|
|
|
285
297
|
state: string;
|
|
286
298
|
connectedAt: number;
|
|
287
299
|
lastReceivedWebhookEvent?: number | undefined;
|
|
300
|
+
lastSyncedAt?: number | undefined;
|
|
288
301
|
};
|
|
289
302
|
|
|
290
303
|
/** @internal */
|
|
@@ -297,6 +310,7 @@ export const TeamLimitedDirectory$outboundSchema: z.ZodType<
|
|
|
297
310
|
state: z.string(),
|
|
298
311
|
connectedAt: z.number(),
|
|
299
312
|
lastReceivedWebhookEvent: z.number().optional(),
|
|
313
|
+
lastSyncedAt: z.number().optional(),
|
|
300
314
|
});
|
|
301
315
|
|
|
302
316
|
export function teamLimitedDirectoryToJSON(
|
|
@@ -627,10 +627,10 @@ export type UpdateProjectTarget = Array<string> | UpdateProjectTarget2;
|
|
|
627
627
|
|
|
628
628
|
export const UpdateProjectType = {
|
|
629
629
|
System: "system",
|
|
630
|
-
Secret: "secret",
|
|
631
630
|
Encrypted: "encrypted",
|
|
632
631
|
Plain: "plain",
|
|
633
632
|
Sensitive: "sensitive",
|
|
633
|
+
Secret: "secret",
|
|
634
634
|
} as const;
|
|
635
635
|
export type UpdateProjectType = ClosedEnum<typeof UpdateProjectType>;
|
|
636
636
|
|
|
@@ -1394,18 +1394,18 @@ export type UpdateProjectLinkProjectsDeployHooks = {
|
|
|
1394
1394
|
|
|
1395
1395
|
export type UpdateProjectLink2 = {
|
|
1396
1396
|
type: UpdateProjectLinkProjectsType;
|
|
1397
|
-
updatedAt?: number | undefined;
|
|
1398
|
-
createdAt?: number | undefined;
|
|
1399
1397
|
repo?: string | undefined;
|
|
1400
|
-
|
|
1398
|
+
repoId?: number | undefined;
|
|
1399
|
+
createdAt?: number | undefined;
|
|
1400
|
+
updatedAt?: number | undefined;
|
|
1401
1401
|
org: string;
|
|
1402
1402
|
/**
|
|
1403
1403
|
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
|
|
1404
1404
|
*/
|
|
1405
1405
|
repoOwnerId?: number | undefined;
|
|
1406
|
-
repoId?: number | undefined;
|
|
1407
1406
|
deployHooks: Array<UpdateProjectLinkProjectsDeployHooks>;
|
|
1408
1407
|
gitCredentialId: string;
|
|
1408
|
+
sourceless?: boolean | undefined;
|
|
1409
1409
|
productionBranch: string;
|
|
1410
1410
|
};
|
|
1411
1411
|
|
|
@@ -1557,6 +1557,7 @@ export type UpdateProjectProjectsBuildMachineType = ClosedEnum<
|
|
|
1557
1557
|
>;
|
|
1558
1558
|
|
|
1559
1559
|
export type UpdateProjectProjectsResourceConfig = {
|
|
1560
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1560
1561
|
fluid?: boolean | undefined;
|
|
1561
1562
|
functionDefaultRegions: Array<string>;
|
|
1562
1563
|
functionDefaultTimeout?: number | undefined;
|
|
@@ -1564,7 +1565,6 @@ export type UpdateProjectProjectsResourceConfig = {
|
|
|
1564
1565
|
| UpdateProjectProjectsFunctionDefaultMemoryType
|
|
1565
1566
|
| undefined;
|
|
1566
1567
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1567
|
-
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1568
1568
|
buildMachineType?: UpdateProjectProjectsBuildMachineType | undefined;
|
|
1569
1569
|
isNSNBDisabled?: boolean | undefined;
|
|
1570
1570
|
};
|
|
@@ -1649,6 +1649,7 @@ export type UpdateProjectProjectsResponseBuildMachineType = ClosedEnum<
|
|
|
1649
1649
|
>;
|
|
1650
1650
|
|
|
1651
1651
|
export type UpdateProjectDefaultResourceConfig = {
|
|
1652
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1652
1653
|
fluid?: boolean | undefined;
|
|
1653
1654
|
functionDefaultRegions: Array<string>;
|
|
1654
1655
|
functionDefaultTimeout?: number | undefined;
|
|
@@ -1656,7 +1657,6 @@ export type UpdateProjectDefaultResourceConfig = {
|
|
|
1656
1657
|
| UpdateProjectProjectsResponseFunctionDefaultMemoryType
|
|
1657
1658
|
| undefined;
|
|
1658
1659
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1659
|
-
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1660
1660
|
buildMachineType?: UpdateProjectProjectsResponseBuildMachineType | undefined;
|
|
1661
1661
|
isNSNBDisabled?: boolean | undefined;
|
|
1662
1662
|
};
|
|
@@ -1668,8 +1668,8 @@ export type UpdateProjectProjectsStaticIps = {
|
|
|
1668
1668
|
};
|
|
1669
1669
|
|
|
1670
1670
|
export const UpdateProjectProjectsResponseDeploymentType = {
|
|
1671
|
-
All: "all",
|
|
1672
1671
|
Preview: "preview",
|
|
1672
|
+
All: "all",
|
|
1673
1673
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1674
1674
|
AllExceptCustomDomains: "all_except_custom_domains",
|
|
1675
1675
|
} as const;
|
|
@@ -2127,11 +2127,11 @@ export type UpdateProjectProtectionBypass =
|
|
|
2127
2127
|
| UpdateProjectProtectionBypass2;
|
|
2128
2128
|
|
|
2129
2129
|
export const UpdateProjectTrustedIpsProjectsDeploymentType = {
|
|
2130
|
-
All: "all",
|
|
2131
2130
|
Preview: "preview",
|
|
2131
|
+
Production: "production",
|
|
2132
|
+
All: "all",
|
|
2132
2133
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
2133
2134
|
AllExceptCustomDomains: "all_except_custom_domains",
|
|
2134
|
-
Production: "production",
|
|
2135
2135
|
} as const;
|
|
2136
2136
|
export type UpdateProjectTrustedIpsProjectsDeploymentType = ClosedEnum<
|
|
2137
2137
|
typeof UpdateProjectTrustedIpsProjectsDeploymentType
|
|
@@ -2142,11 +2142,11 @@ export type UpdateProjectTrustedIps2 = {
|
|
|
2142
2142
|
};
|
|
2143
2143
|
|
|
2144
2144
|
export const UpdateProjectTrustedIpsDeploymentType = {
|
|
2145
|
-
All: "all",
|
|
2146
2145
|
Preview: "preview",
|
|
2146
|
+
Production: "production",
|
|
2147
|
+
All: "all",
|
|
2147
2148
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
2148
2149
|
AllExceptCustomDomains: "all_except_custom_domains",
|
|
2149
|
-
Production: "production",
|
|
2150
2150
|
} as const;
|
|
2151
2151
|
export type UpdateProjectTrustedIpsDeploymentType = ClosedEnum<
|
|
2152
2152
|
typeof UpdateProjectTrustedIpsDeploymentType
|
|
@@ -6751,31 +6751,31 @@ export const UpdateProjectLink2$inboundSchema: z.ZodType<
|
|
|
6751
6751
|
unknown
|
|
6752
6752
|
> = z.object({
|
|
6753
6753
|
type: UpdateProjectLinkProjectsType$inboundSchema,
|
|
6754
|
-
updatedAt: z.number().optional(),
|
|
6755
|
-
createdAt: z.number().optional(),
|
|
6756
6754
|
repo: z.string().optional(),
|
|
6757
|
-
|
|
6755
|
+
repoId: z.number().optional(),
|
|
6756
|
+
createdAt: z.number().optional(),
|
|
6757
|
+
updatedAt: z.number().optional(),
|
|
6758
6758
|
org: z.string(),
|
|
6759
6759
|
repoOwnerId: z.number().optional(),
|
|
6760
|
-
repoId: z.number().optional(),
|
|
6761
6760
|
deployHooks: z.array(
|
|
6762
6761
|
z.lazy(() => UpdateProjectLinkProjectsDeployHooks$inboundSchema),
|
|
6763
6762
|
),
|
|
6764
6763
|
gitCredentialId: z.string(),
|
|
6764
|
+
sourceless: z.boolean().optional(),
|
|
6765
6765
|
productionBranch: z.string(),
|
|
6766
6766
|
});
|
|
6767
6767
|
/** @internal */
|
|
6768
6768
|
export type UpdateProjectLink2$Outbound = {
|
|
6769
6769
|
type: string;
|
|
6770
|
-
updatedAt?: number | undefined;
|
|
6771
|
-
createdAt?: number | undefined;
|
|
6772
6770
|
repo?: string | undefined;
|
|
6773
|
-
|
|
6771
|
+
repoId?: number | undefined;
|
|
6772
|
+
createdAt?: number | undefined;
|
|
6773
|
+
updatedAt?: number | undefined;
|
|
6774
6774
|
org: string;
|
|
6775
6775
|
repoOwnerId?: number | undefined;
|
|
6776
|
-
repoId?: number | undefined;
|
|
6777
6776
|
deployHooks: Array<UpdateProjectLinkProjectsDeployHooks$Outbound>;
|
|
6778
6777
|
gitCredentialId: string;
|
|
6778
|
+
sourceless?: boolean | undefined;
|
|
6779
6779
|
productionBranch: string;
|
|
6780
6780
|
};
|
|
6781
6781
|
|
|
@@ -6786,17 +6786,17 @@ export const UpdateProjectLink2$outboundSchema: z.ZodType<
|
|
|
6786
6786
|
UpdateProjectLink2
|
|
6787
6787
|
> = z.object({
|
|
6788
6788
|
type: UpdateProjectLinkProjectsType$outboundSchema,
|
|
6789
|
-
updatedAt: z.number().optional(),
|
|
6790
|
-
createdAt: z.number().optional(),
|
|
6791
6789
|
repo: z.string().optional(),
|
|
6792
|
-
|
|
6790
|
+
repoId: z.number().optional(),
|
|
6791
|
+
createdAt: z.number().optional(),
|
|
6792
|
+
updatedAt: z.number().optional(),
|
|
6793
6793
|
org: z.string(),
|
|
6794
6794
|
repoOwnerId: z.number().optional(),
|
|
6795
|
-
repoId: z.number().optional(),
|
|
6796
6795
|
deployHooks: z.array(
|
|
6797
6796
|
z.lazy(() => UpdateProjectLinkProjectsDeployHooks$outboundSchema),
|
|
6798
6797
|
),
|
|
6799
6798
|
gitCredentialId: z.string(),
|
|
6799
|
+
sourceless: z.boolean().optional(),
|
|
6800
6800
|
productionBranch: z.string(),
|
|
6801
6801
|
});
|
|
6802
6802
|
|
|
@@ -7373,25 +7373,25 @@ export const UpdateProjectProjectsResourceConfig$inboundSchema: z.ZodType<
|
|
|
7373
7373
|
z.ZodTypeDef,
|
|
7374
7374
|
unknown
|
|
7375
7375
|
> = z.object({
|
|
7376
|
+
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7376
7377
|
fluid: z.boolean().optional(),
|
|
7377
7378
|
functionDefaultRegions: z.array(z.string()),
|
|
7378
7379
|
functionDefaultTimeout: z.number().optional(),
|
|
7379
7380
|
functionDefaultMemoryType:
|
|
7380
7381
|
UpdateProjectProjectsFunctionDefaultMemoryType$inboundSchema.optional(),
|
|
7381
7382
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
7382
|
-
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7383
7383
|
buildMachineType: UpdateProjectProjectsBuildMachineType$inboundSchema
|
|
7384
7384
|
.optional(),
|
|
7385
7385
|
isNSNBDisabled: z.boolean().optional(),
|
|
7386
7386
|
});
|
|
7387
7387
|
/** @internal */
|
|
7388
7388
|
export type UpdateProjectProjectsResourceConfig$Outbound = {
|
|
7389
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
7389
7390
|
fluid?: boolean | undefined;
|
|
7390
7391
|
functionDefaultRegions: Array<string>;
|
|
7391
7392
|
functionDefaultTimeout?: number | undefined;
|
|
7392
7393
|
functionDefaultMemoryType?: string | undefined;
|
|
7393
7394
|
functionZeroConfigFailover?: boolean | undefined;
|
|
7394
|
-
elasticConcurrencyEnabled?: boolean | undefined;
|
|
7395
7395
|
buildMachineType?: string | undefined;
|
|
7396
7396
|
isNSNBDisabled?: boolean | undefined;
|
|
7397
7397
|
};
|
|
@@ -7402,13 +7402,13 @@ export const UpdateProjectProjectsResourceConfig$outboundSchema: z.ZodType<
|
|
|
7402
7402
|
z.ZodTypeDef,
|
|
7403
7403
|
UpdateProjectProjectsResourceConfig
|
|
7404
7404
|
> = z.object({
|
|
7405
|
+
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7405
7406
|
fluid: z.boolean().optional(),
|
|
7406
7407
|
functionDefaultRegions: z.array(z.string()),
|
|
7407
7408
|
functionDefaultTimeout: z.number().optional(),
|
|
7408
7409
|
functionDefaultMemoryType:
|
|
7409
7410
|
UpdateProjectProjectsFunctionDefaultMemoryType$outboundSchema.optional(),
|
|
7410
7411
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
7411
|
-
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7412
7412
|
buildMachineType: UpdateProjectProjectsBuildMachineType$outboundSchema
|
|
7413
7413
|
.optional(),
|
|
7414
7414
|
isNSNBDisabled: z.boolean().optional(),
|
|
@@ -7607,6 +7607,7 @@ export const UpdateProjectDefaultResourceConfig$inboundSchema: z.ZodType<
|
|
|
7607
7607
|
z.ZodTypeDef,
|
|
7608
7608
|
unknown
|
|
7609
7609
|
> = z.object({
|
|
7610
|
+
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7610
7611
|
fluid: z.boolean().optional(),
|
|
7611
7612
|
functionDefaultRegions: z.array(z.string()),
|
|
7612
7613
|
functionDefaultTimeout: z.number().optional(),
|
|
@@ -7614,19 +7615,18 @@ export const UpdateProjectDefaultResourceConfig$inboundSchema: z.ZodType<
|
|
|
7614
7615
|
UpdateProjectProjectsResponseFunctionDefaultMemoryType$inboundSchema
|
|
7615
7616
|
.optional(),
|
|
7616
7617
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
7617
|
-
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7618
7618
|
buildMachineType: UpdateProjectProjectsResponseBuildMachineType$inboundSchema
|
|
7619
7619
|
.optional(),
|
|
7620
7620
|
isNSNBDisabled: z.boolean().optional(),
|
|
7621
7621
|
});
|
|
7622
7622
|
/** @internal */
|
|
7623
7623
|
export type UpdateProjectDefaultResourceConfig$Outbound = {
|
|
7624
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
7624
7625
|
fluid?: boolean | undefined;
|
|
7625
7626
|
functionDefaultRegions: Array<string>;
|
|
7626
7627
|
functionDefaultTimeout?: number | undefined;
|
|
7627
7628
|
functionDefaultMemoryType?: string | undefined;
|
|
7628
7629
|
functionZeroConfigFailover?: boolean | undefined;
|
|
7629
|
-
elasticConcurrencyEnabled?: boolean | undefined;
|
|
7630
7630
|
buildMachineType?: string | undefined;
|
|
7631
7631
|
isNSNBDisabled?: boolean | undefined;
|
|
7632
7632
|
};
|
|
@@ -7637,6 +7637,7 @@ export const UpdateProjectDefaultResourceConfig$outboundSchema: z.ZodType<
|
|
|
7637
7637
|
z.ZodTypeDef,
|
|
7638
7638
|
UpdateProjectDefaultResourceConfig
|
|
7639
7639
|
> = z.object({
|
|
7640
|
+
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7640
7641
|
fluid: z.boolean().optional(),
|
|
7641
7642
|
functionDefaultRegions: z.array(z.string()),
|
|
7642
7643
|
functionDefaultTimeout: z.number().optional(),
|
|
@@ -7644,7 +7645,6 @@ export const UpdateProjectDefaultResourceConfig$outboundSchema: z.ZodType<
|
|
|
7644
7645
|
UpdateProjectProjectsResponseFunctionDefaultMemoryType$outboundSchema
|
|
7645
7646
|
.optional(),
|
|
7646
7647
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
7647
|
-
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7648
7648
|
buildMachineType: UpdateProjectProjectsResponseBuildMachineType$outboundSchema
|
|
7649
7649
|
.optional(),
|
|
7650
7650
|
isNSNBDisabled: z.boolean().optional(),
|