@vercel/sdk 1.7.4 → 1.7.5
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 +6 -6
- package/bin/mcp-server.js +559 -272
- package/bin/mcp-server.js.map +35 -35
- package/docs/sdks/accessgroups/README.md +16 -0
- package/docs/sdks/artifacts/README.md +6 -6
- package/docs/sdks/authentication/README.md +1 -1
- package/docs/sdks/deployments/README.md +8 -14
- package/docs/sdks/dns/README.md +12 -26
- package/docs/sdks/domains/README.md +2 -2
- package/docs/sdks/edgeconfig/README.md +10 -2
- package/docs/sdks/marketplace/README.md +77 -97
- package/docs/sdks/security/README.md +4 -10
- package/docs/sdks/teams/README.md +8 -0
- package/docs/sdks/vercel/README.md +2 -2
- package/docs/sdks/webhooks/README.md +12 -4
- package/esm/__tests__/deployments.test.js +1 -2
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +13 -15
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/funcs/authenticationExchangeSsoToken.d.ts +1 -1
- package/esm/funcs/authenticationExchangeSsoToken.js +1 -1
- package/esm/funcs/certsGetCertById.js +1 -1
- package/esm/funcs/certsIssueCert.js +1 -1
- package/esm/funcs/certsRemoveCert.js +1 -1
- package/esm/funcs/certsUploadCert.js +1 -1
- package/esm/funcs/deploymentsGetDeploymentFileContents.d.ts +2 -2
- package/esm/funcs/deploymentsGetDeploymentFileContents.d.ts.map +1 -1
- package/esm/funcs/deploymentsGetDeploymentFileContents.js +4 -3
- package/esm/funcs/deploymentsGetDeploymentFileContents.js.map +1 -1
- package/esm/funcs/marketplaceExchangeSsoToken.d.ts +1 -1
- package/esm/funcs/marketplaceExchangeSsoToken.js +1 -1
- package/esm/funcs/projectsRemoveProjectDomain.js +3 -2
- package/esm/funcs/projectsRemoveProjectDomain.js.map +1 -1
- package/esm/funcs/projectsRequestPromote.js +0 -1
- package/esm/funcs/projectsRequestPromote.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/cli/start/impl.js +2 -2
- package/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/mcp-server/tools/authenticationExchangeSsoToken.js +1 -1
- package/esm/mcp-server/tools/authenticationExchangeSsoToken.js.map +1 -1
- package/esm/mcp-server/tools/deploymentsGetDeploymentFileContents.d.ts.map +1 -1
- package/esm/mcp-server/tools/deploymentsGetDeploymentFileContents.js +1 -2
- package/esm/mcp-server/tools/deploymentsGetDeploymentFileContents.js.map +1 -1
- package/esm/mcp-server/tools/marketplaceExchangeSsoToken.js +1 -1
- package/esm/mcp-server/tools/marketplaceExchangeSsoToken.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +10 -0
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +4 -0
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +38 -28
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +16 -12
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +114 -2
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +108 -2
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getdeploymentfilecontentsop.d.ts +0 -31
- package/esm/models/getdeploymentfilecontentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentfilecontentsop.js +0 -25
- package/esm/models/getdeploymentfilecontentsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +10 -0
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +4 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +114 -2
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +108 -2
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +9 -0
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +2 -0
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/issuecertop.d.ts +2 -2
- package/esm/models/issuecertop.d.ts.map +1 -1
- package/esm/models/issuecertop.js +2 -2
- package/esm/models/issuecertop.js.map +1 -1
- package/esm/models/removeprojectdomainop.d.ts +30 -0
- package/esm/models/removeprojectdomainop.d.ts.map +1 -1
- package/esm/models/removeprojectdomainop.js +38 -0
- package/esm/models/removeprojectdomainop.js.map +1 -1
- package/esm/models/requestpromoteop.d.ts +0 -5
- package/esm/models/requestpromoteop.d.ts.map +1 -1
- package/esm/models/requestpromoteop.js +0 -2
- package/esm/models/requestpromoteop.js.map +1 -1
- package/esm/models/teamlimited.d.ts +13 -13
- package/esm/models/teamlimited.d.ts.map +1 -1
- package/esm/models/teamlimited.js +6 -6
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +114 -2
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +108 -2
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +114 -2
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +108 -2
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateresourcesecretsbyidop.d.ts +9 -0
- package/esm/models/updateresourcesecretsbyidop.d.ts.map +1 -1
- package/esm/models/updateresourcesecretsbyidop.js +2 -0
- package/esm/models/updateresourcesecretsbyidop.js.map +1 -1
- package/esm/models/updateresourcesecretsop.d.ts +9 -0
- package/esm/models/updateresourcesecretsop.d.ts.map +1 -1
- package/esm/models/updateresourcesecretsop.js +2 -0
- package/esm/models/updateresourcesecretsop.js.map +1 -1
- package/esm/models/uploadcertop.d.ts +2 -2
- package/esm/models/uploadcertop.d.ts.map +1 -1
- package/esm/models/uploadcertop.js +2 -2
- package/esm/models/uploadcertop.js.map +1 -1
- package/esm/models/userevent.d.ts +368 -257
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +423 -315
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/authentication.d.ts +1 -1
- package/esm/sdk/authentication.js +1 -1
- package/esm/sdk/deployments.d.ts +2 -2
- package/esm/sdk/deployments.d.ts.map +1 -1
- package/esm/sdk/deployments.js.map +1 -1
- package/esm/sdk/marketplace.d.ts +1 -1
- package/esm/sdk/marketplace.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/deployments.test.ts +1 -2
- package/src/__tests__/projects.test.ts +13 -15
- package/src/funcs/authenticationExchangeSsoToken.ts +1 -1
- package/src/funcs/certsGetCertById.ts +1 -1
- package/src/funcs/certsIssueCert.ts +1 -1
- package/src/funcs/certsRemoveCert.ts +1 -1
- package/src/funcs/certsUploadCert.ts +1 -1
- package/src/funcs/deploymentsGetDeploymentFileContents.ts +6 -7
- package/src/funcs/marketplaceExchangeSsoToken.ts +1 -1
- package/src/funcs/projectsRemoveProjectDomain.ts +3 -2
- package/src/funcs/projectsRequestPromote.ts +0 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/cli/start/impl.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/authenticationExchangeSsoToken.ts +1 -1
- package/src/mcp-server/tools/deploymentsGetDeploymentFileContents.ts +1 -3
- package/src/mcp-server/tools/marketplaceExchangeSsoToken.ts +1 -1
- package/src/models/canceldeploymentop.ts +14 -0
- package/src/models/createdeploymentop.ts +30 -16
- package/src/models/createprojectop.ts +243 -4
- package/src/models/getdeploymentfilecontentsop.ts +0 -69
- package/src/models/getdeploymentop.ts +14 -0
- package/src/models/getprojectsop.ts +237 -4
- package/src/models/importresourceop.ts +7 -0
- package/src/models/issuecertop.ts +4 -4
- package/src/models/removeprojectdomainop.ts +78 -0
- package/src/models/requestpromoteop.ts +0 -7
- package/src/models/teamlimited.ts +13 -13
- package/src/models/updateprojectdatacacheop.ts +260 -4
- package/src/models/updateprojectop.ts +243 -4
- package/src/models/updateresourcesecretsbyidop.ts +7 -0
- package/src/models/updateresourcesecretsop.ts +7 -0
- package/src/models/uploadcertop.ts +4 -4
- package/src/models/userevent.ts +798 -582
- package/src/sdk/authentication.ts +1 -1
- package/src/sdk/deployments.ts +2 -5
- package/src/sdk/marketplace.ts +1 -1
- package/vercel-spec.json +497 -94
|
@@ -103,6 +103,29 @@ export type GetProjectsSpeedInsights = {
|
|
|
103
103
|
paidAt?: number | undefined;
|
|
104
104
|
};
|
|
105
105
|
|
|
106
|
+
export const GetProjectsEnvId2 = {
|
|
107
|
+
Production: "production",
|
|
108
|
+
Preview: "preview",
|
|
109
|
+
} as const;
|
|
110
|
+
export type GetProjectsEnvId2 = ClosedEnum<typeof GetProjectsEnvId2>;
|
|
111
|
+
|
|
112
|
+
export type GetProjectsEnvId = string | GetProjectsEnvId2;
|
|
113
|
+
|
|
114
|
+
export type GetProjectsAws = {
|
|
115
|
+
subnetIds: Array<string>;
|
|
116
|
+
securityGroupId: string;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
export type GetProjectsConnectConfigurations = {
|
|
120
|
+
envId: string | GetProjectsEnvId2;
|
|
121
|
+
connectConfigurationId: string;
|
|
122
|
+
passive: boolean;
|
|
123
|
+
buildsEnabled: boolean;
|
|
124
|
+
aws?: GetProjectsAws | undefined;
|
|
125
|
+
createdAt: number;
|
|
126
|
+
updatedAt: number;
|
|
127
|
+
};
|
|
128
|
+
|
|
106
129
|
export type GetProjectsDefinitions = {
|
|
107
130
|
/**
|
|
108
131
|
* The hostname that should be used.
|
|
@@ -1820,8 +1843,13 @@ export type GetProjectsProjects = {
|
|
|
1820
1843
|
autoAssignCustomDomainsUpdatedBy?: string | undefined;
|
|
1821
1844
|
buildCommand?: string | null | undefined;
|
|
1822
1845
|
commandForIgnoringBuildStep?: string | null | undefined;
|
|
1846
|
+
connectConfigurations?:
|
|
1847
|
+
| Array<GetProjectsConnectConfigurations>
|
|
1848
|
+
| null
|
|
1849
|
+
| undefined;
|
|
1823
1850
|
connectConfigurationId?: string | null | undefined;
|
|
1824
1851
|
connectBuildsEnabled?: boolean | undefined;
|
|
1852
|
+
passiveConnectConfigurationId?: string | null | undefined;
|
|
1825
1853
|
createdAt?: number | undefined;
|
|
1826
1854
|
customerSupportCodeVisibility?: boolean | undefined;
|
|
1827
1855
|
crons?: GetProjectsCrons | undefined;
|
|
@@ -1852,7 +1880,6 @@ export type GetProjectsProjects = {
|
|
|
1852
1880
|
nodeVersion: GetProjectsNodeVersion;
|
|
1853
1881
|
optionsAllowlist?: GetProjectsOptionsAllowlist | null | undefined;
|
|
1854
1882
|
outputDirectory?: string | null | undefined;
|
|
1855
|
-
passiveConnectConfigurationId?: string | null | undefined;
|
|
1856
1883
|
passwordProtection?: GetProjectsPasswordProtection | null | undefined;
|
|
1857
1884
|
productionDeploymentsFastLane?: boolean | undefined;
|
|
1858
1885
|
publicSource?: boolean | null | undefined;
|
|
@@ -2162,6 +2189,202 @@ export function getProjectsSpeedInsightsFromJSON(
|
|
|
2162
2189
|
);
|
|
2163
2190
|
}
|
|
2164
2191
|
|
|
2192
|
+
/** @internal */
|
|
2193
|
+
export const GetProjectsEnvId2$inboundSchema: z.ZodNativeEnum<
|
|
2194
|
+
typeof GetProjectsEnvId2
|
|
2195
|
+
> = z.nativeEnum(GetProjectsEnvId2);
|
|
2196
|
+
|
|
2197
|
+
/** @internal */
|
|
2198
|
+
export const GetProjectsEnvId2$outboundSchema: z.ZodNativeEnum<
|
|
2199
|
+
typeof GetProjectsEnvId2
|
|
2200
|
+
> = GetProjectsEnvId2$inboundSchema;
|
|
2201
|
+
|
|
2202
|
+
/**
|
|
2203
|
+
* @internal
|
|
2204
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2205
|
+
*/
|
|
2206
|
+
export namespace GetProjectsEnvId2$ {
|
|
2207
|
+
/** @deprecated use `GetProjectsEnvId2$inboundSchema` instead. */
|
|
2208
|
+
export const inboundSchema = GetProjectsEnvId2$inboundSchema;
|
|
2209
|
+
/** @deprecated use `GetProjectsEnvId2$outboundSchema` instead. */
|
|
2210
|
+
export const outboundSchema = GetProjectsEnvId2$outboundSchema;
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
/** @internal */
|
|
2214
|
+
export const GetProjectsEnvId$inboundSchema: z.ZodType<
|
|
2215
|
+
GetProjectsEnvId,
|
|
2216
|
+
z.ZodTypeDef,
|
|
2217
|
+
unknown
|
|
2218
|
+
> = z.union([z.string(), GetProjectsEnvId2$inboundSchema]);
|
|
2219
|
+
|
|
2220
|
+
/** @internal */
|
|
2221
|
+
export type GetProjectsEnvId$Outbound = string | string;
|
|
2222
|
+
|
|
2223
|
+
/** @internal */
|
|
2224
|
+
export const GetProjectsEnvId$outboundSchema: z.ZodType<
|
|
2225
|
+
GetProjectsEnvId$Outbound,
|
|
2226
|
+
z.ZodTypeDef,
|
|
2227
|
+
GetProjectsEnvId
|
|
2228
|
+
> = z.union([z.string(), GetProjectsEnvId2$outboundSchema]);
|
|
2229
|
+
|
|
2230
|
+
/**
|
|
2231
|
+
* @internal
|
|
2232
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2233
|
+
*/
|
|
2234
|
+
export namespace GetProjectsEnvId$ {
|
|
2235
|
+
/** @deprecated use `GetProjectsEnvId$inboundSchema` instead. */
|
|
2236
|
+
export const inboundSchema = GetProjectsEnvId$inboundSchema;
|
|
2237
|
+
/** @deprecated use `GetProjectsEnvId$outboundSchema` instead. */
|
|
2238
|
+
export const outboundSchema = GetProjectsEnvId$outboundSchema;
|
|
2239
|
+
/** @deprecated use `GetProjectsEnvId$Outbound` instead. */
|
|
2240
|
+
export type Outbound = GetProjectsEnvId$Outbound;
|
|
2241
|
+
}
|
|
2242
|
+
|
|
2243
|
+
export function getProjectsEnvIdToJSON(
|
|
2244
|
+
getProjectsEnvId: GetProjectsEnvId,
|
|
2245
|
+
): string {
|
|
2246
|
+
return JSON.stringify(
|
|
2247
|
+
GetProjectsEnvId$outboundSchema.parse(getProjectsEnvId),
|
|
2248
|
+
);
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
export function getProjectsEnvIdFromJSON(
|
|
2252
|
+
jsonString: string,
|
|
2253
|
+
): SafeParseResult<GetProjectsEnvId, SDKValidationError> {
|
|
2254
|
+
return safeParse(
|
|
2255
|
+
jsonString,
|
|
2256
|
+
(x) => GetProjectsEnvId$inboundSchema.parse(JSON.parse(x)),
|
|
2257
|
+
`Failed to parse 'GetProjectsEnvId' from JSON`,
|
|
2258
|
+
);
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
/** @internal */
|
|
2262
|
+
export const GetProjectsAws$inboundSchema: z.ZodType<
|
|
2263
|
+
GetProjectsAws,
|
|
2264
|
+
z.ZodTypeDef,
|
|
2265
|
+
unknown
|
|
2266
|
+
> = z.object({
|
|
2267
|
+
subnetIds: z.array(z.string()),
|
|
2268
|
+
securityGroupId: z.string(),
|
|
2269
|
+
});
|
|
2270
|
+
|
|
2271
|
+
/** @internal */
|
|
2272
|
+
export type GetProjectsAws$Outbound = {
|
|
2273
|
+
subnetIds: Array<string>;
|
|
2274
|
+
securityGroupId: string;
|
|
2275
|
+
};
|
|
2276
|
+
|
|
2277
|
+
/** @internal */
|
|
2278
|
+
export const GetProjectsAws$outboundSchema: z.ZodType<
|
|
2279
|
+
GetProjectsAws$Outbound,
|
|
2280
|
+
z.ZodTypeDef,
|
|
2281
|
+
GetProjectsAws
|
|
2282
|
+
> = z.object({
|
|
2283
|
+
subnetIds: z.array(z.string()),
|
|
2284
|
+
securityGroupId: z.string(),
|
|
2285
|
+
});
|
|
2286
|
+
|
|
2287
|
+
/**
|
|
2288
|
+
* @internal
|
|
2289
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2290
|
+
*/
|
|
2291
|
+
export namespace GetProjectsAws$ {
|
|
2292
|
+
/** @deprecated use `GetProjectsAws$inboundSchema` instead. */
|
|
2293
|
+
export const inboundSchema = GetProjectsAws$inboundSchema;
|
|
2294
|
+
/** @deprecated use `GetProjectsAws$outboundSchema` instead. */
|
|
2295
|
+
export const outboundSchema = GetProjectsAws$outboundSchema;
|
|
2296
|
+
/** @deprecated use `GetProjectsAws$Outbound` instead. */
|
|
2297
|
+
export type Outbound = GetProjectsAws$Outbound;
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
export function getProjectsAwsToJSON(getProjectsAws: GetProjectsAws): string {
|
|
2301
|
+
return JSON.stringify(GetProjectsAws$outboundSchema.parse(getProjectsAws));
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
export function getProjectsAwsFromJSON(
|
|
2305
|
+
jsonString: string,
|
|
2306
|
+
): SafeParseResult<GetProjectsAws, SDKValidationError> {
|
|
2307
|
+
return safeParse(
|
|
2308
|
+
jsonString,
|
|
2309
|
+
(x) => GetProjectsAws$inboundSchema.parse(JSON.parse(x)),
|
|
2310
|
+
`Failed to parse 'GetProjectsAws' from JSON`,
|
|
2311
|
+
);
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
/** @internal */
|
|
2315
|
+
export const GetProjectsConnectConfigurations$inboundSchema: z.ZodType<
|
|
2316
|
+
GetProjectsConnectConfigurations,
|
|
2317
|
+
z.ZodTypeDef,
|
|
2318
|
+
unknown
|
|
2319
|
+
> = z.object({
|
|
2320
|
+
envId: z.union([z.string(), GetProjectsEnvId2$inboundSchema]),
|
|
2321
|
+
connectConfigurationId: z.string(),
|
|
2322
|
+
passive: z.boolean(),
|
|
2323
|
+
buildsEnabled: z.boolean(),
|
|
2324
|
+
aws: z.lazy(() => GetProjectsAws$inboundSchema).optional(),
|
|
2325
|
+
createdAt: z.number(),
|
|
2326
|
+
updatedAt: z.number(),
|
|
2327
|
+
});
|
|
2328
|
+
|
|
2329
|
+
/** @internal */
|
|
2330
|
+
export type GetProjectsConnectConfigurations$Outbound = {
|
|
2331
|
+
envId: string | string;
|
|
2332
|
+
connectConfigurationId: string;
|
|
2333
|
+
passive: boolean;
|
|
2334
|
+
buildsEnabled: boolean;
|
|
2335
|
+
aws?: GetProjectsAws$Outbound | undefined;
|
|
2336
|
+
createdAt: number;
|
|
2337
|
+
updatedAt: number;
|
|
2338
|
+
};
|
|
2339
|
+
|
|
2340
|
+
/** @internal */
|
|
2341
|
+
export const GetProjectsConnectConfigurations$outboundSchema: z.ZodType<
|
|
2342
|
+
GetProjectsConnectConfigurations$Outbound,
|
|
2343
|
+
z.ZodTypeDef,
|
|
2344
|
+
GetProjectsConnectConfigurations
|
|
2345
|
+
> = z.object({
|
|
2346
|
+
envId: z.union([z.string(), GetProjectsEnvId2$outboundSchema]),
|
|
2347
|
+
connectConfigurationId: z.string(),
|
|
2348
|
+
passive: z.boolean(),
|
|
2349
|
+
buildsEnabled: z.boolean(),
|
|
2350
|
+
aws: z.lazy(() => GetProjectsAws$outboundSchema).optional(),
|
|
2351
|
+
createdAt: z.number(),
|
|
2352
|
+
updatedAt: z.number(),
|
|
2353
|
+
});
|
|
2354
|
+
|
|
2355
|
+
/**
|
|
2356
|
+
* @internal
|
|
2357
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2358
|
+
*/
|
|
2359
|
+
export namespace GetProjectsConnectConfigurations$ {
|
|
2360
|
+
/** @deprecated use `GetProjectsConnectConfigurations$inboundSchema` instead. */
|
|
2361
|
+
export const inboundSchema = GetProjectsConnectConfigurations$inboundSchema;
|
|
2362
|
+
/** @deprecated use `GetProjectsConnectConfigurations$outboundSchema` instead. */
|
|
2363
|
+
export const outboundSchema = GetProjectsConnectConfigurations$outboundSchema;
|
|
2364
|
+
/** @deprecated use `GetProjectsConnectConfigurations$Outbound` instead. */
|
|
2365
|
+
export type Outbound = GetProjectsConnectConfigurations$Outbound;
|
|
2366
|
+
}
|
|
2367
|
+
|
|
2368
|
+
export function getProjectsConnectConfigurationsToJSON(
|
|
2369
|
+
getProjectsConnectConfigurations: GetProjectsConnectConfigurations,
|
|
2370
|
+
): string {
|
|
2371
|
+
return JSON.stringify(
|
|
2372
|
+
GetProjectsConnectConfigurations$outboundSchema.parse(
|
|
2373
|
+
getProjectsConnectConfigurations,
|
|
2374
|
+
),
|
|
2375
|
+
);
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
export function getProjectsConnectConfigurationsFromJSON(
|
|
2379
|
+
jsonString: string,
|
|
2380
|
+
): SafeParseResult<GetProjectsConnectConfigurations, SDKValidationError> {
|
|
2381
|
+
return safeParse(
|
|
2382
|
+
jsonString,
|
|
2383
|
+
(x) => GetProjectsConnectConfigurations$inboundSchema.parse(JSON.parse(x)),
|
|
2384
|
+
`Failed to parse 'GetProjectsConnectConfigurations' from JSON`,
|
|
2385
|
+
);
|
|
2386
|
+
}
|
|
2387
|
+
|
|
2165
2388
|
/** @internal */
|
|
2166
2389
|
export const GetProjectsDefinitions$inboundSchema: z.ZodType<
|
|
2167
2390
|
GetProjectsDefinitions,
|
|
@@ -10329,8 +10552,12 @@ export const GetProjectsProjects$inboundSchema: z.ZodType<
|
|
|
10329
10552
|
autoAssignCustomDomainsUpdatedBy: z.string().optional(),
|
|
10330
10553
|
buildCommand: z.nullable(z.string()).optional(),
|
|
10331
10554
|
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
10555
|
+
connectConfigurations: z.nullable(
|
|
10556
|
+
z.array(z.lazy(() => GetProjectsConnectConfigurations$inboundSchema)),
|
|
10557
|
+
).optional(),
|
|
10332
10558
|
connectConfigurationId: z.nullable(z.string()).optional(),
|
|
10333
10559
|
connectBuildsEnabled: z.boolean().optional(),
|
|
10560
|
+
passiveConnectConfigurationId: z.nullable(z.string()).optional(),
|
|
10334
10561
|
createdAt: z.number().optional(),
|
|
10335
10562
|
customerSupportCodeVisibility: z.boolean().optional(),
|
|
10336
10563
|
crons: z.lazy(() => GetProjectsCrons$inboundSchema).optional(),
|
|
@@ -10370,7 +10597,6 @@ export const GetProjectsProjects$inboundSchema: z.ZodType<
|
|
|
10370
10597
|
z.lazy(() => GetProjectsOptionsAllowlist$inboundSchema),
|
|
10371
10598
|
).optional(),
|
|
10372
10599
|
outputDirectory: z.nullable(z.string()).optional(),
|
|
10373
|
-
passiveConnectConfigurationId: z.nullable(z.string()).optional(),
|
|
10374
10600
|
passwordProtection: z.nullable(
|
|
10375
10601
|
z.lazy(() => GetProjectsPasswordProtection$inboundSchema),
|
|
10376
10602
|
).optional(),
|
|
@@ -10446,8 +10672,13 @@ export type GetProjectsProjects$Outbound = {
|
|
|
10446
10672
|
autoAssignCustomDomainsUpdatedBy?: string | undefined;
|
|
10447
10673
|
buildCommand?: string | null | undefined;
|
|
10448
10674
|
commandForIgnoringBuildStep?: string | null | undefined;
|
|
10675
|
+
connectConfigurations?:
|
|
10676
|
+
| Array<GetProjectsConnectConfigurations$Outbound>
|
|
10677
|
+
| null
|
|
10678
|
+
| undefined;
|
|
10449
10679
|
connectConfigurationId?: string | null | undefined;
|
|
10450
10680
|
connectBuildsEnabled?: boolean | undefined;
|
|
10681
|
+
passiveConnectConfigurationId?: string | null | undefined;
|
|
10451
10682
|
createdAt?: number | undefined;
|
|
10452
10683
|
customerSupportCodeVisibility?: boolean | undefined;
|
|
10453
10684
|
crons?: GetProjectsCrons$Outbound | undefined;
|
|
@@ -10483,7 +10714,6 @@ export type GetProjectsProjects$Outbound = {
|
|
|
10483
10714
|
nodeVersion: string;
|
|
10484
10715
|
optionsAllowlist?: GetProjectsOptionsAllowlist$Outbound | null | undefined;
|
|
10485
10716
|
outputDirectory?: string | null | undefined;
|
|
10486
|
-
passiveConnectConfigurationId?: string | null | undefined;
|
|
10487
10717
|
passwordProtection?:
|
|
10488
10718
|
| GetProjectsPasswordProtection$Outbound
|
|
10489
10719
|
| null
|
|
@@ -10553,8 +10783,12 @@ export const GetProjectsProjects$outboundSchema: z.ZodType<
|
|
|
10553
10783
|
autoAssignCustomDomainsUpdatedBy: z.string().optional(),
|
|
10554
10784
|
buildCommand: z.nullable(z.string()).optional(),
|
|
10555
10785
|
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
10786
|
+
connectConfigurations: z.nullable(
|
|
10787
|
+
z.array(z.lazy(() => GetProjectsConnectConfigurations$outboundSchema)),
|
|
10788
|
+
).optional(),
|
|
10556
10789
|
connectConfigurationId: z.nullable(z.string()).optional(),
|
|
10557
10790
|
connectBuildsEnabled: z.boolean().optional(),
|
|
10791
|
+
passiveConnectConfigurationId: z.nullable(z.string()).optional(),
|
|
10558
10792
|
createdAt: z.number().optional(),
|
|
10559
10793
|
customerSupportCodeVisibility: z.boolean().optional(),
|
|
10560
10794
|
crons: z.lazy(() => GetProjectsCrons$outboundSchema).optional(),
|
|
@@ -10594,7 +10828,6 @@ export const GetProjectsProjects$outboundSchema: z.ZodType<
|
|
|
10594
10828
|
z.lazy(() => GetProjectsOptionsAllowlist$outboundSchema),
|
|
10595
10829
|
).optional(),
|
|
10596
10830
|
outputDirectory: z.nullable(z.string()).optional(),
|
|
10597
|
-
passiveConnectConfigurationId: z.nullable(z.string()).optional(),
|
|
10598
10831
|
passwordProtection: z.nullable(
|
|
10599
10832
|
z.lazy(() => GetProjectsPasswordProtection$outboundSchema),
|
|
10600
10833
|
).optional(),
|
|
@@ -69,6 +69,10 @@ export type ImportResourceSecrets = {
|
|
|
69
69
|
name: string;
|
|
70
70
|
value: string;
|
|
71
71
|
prefix?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* @hidden
|
|
74
|
+
*/
|
|
75
|
+
environmentOverrides?: { [k: string]: string } | undefined;
|
|
72
76
|
};
|
|
73
77
|
|
|
74
78
|
export type ImportResourceRequestBody = {
|
|
@@ -419,6 +423,7 @@ export const ImportResourceSecrets$inboundSchema: z.ZodType<
|
|
|
419
423
|
name: z.string(),
|
|
420
424
|
value: z.string(),
|
|
421
425
|
prefix: z.string().optional(),
|
|
426
|
+
environmentOverrides: z.record(z.string()).optional(),
|
|
422
427
|
});
|
|
423
428
|
|
|
424
429
|
/** @internal */
|
|
@@ -426,6 +431,7 @@ export type ImportResourceSecrets$Outbound = {
|
|
|
426
431
|
name: string;
|
|
427
432
|
value: string;
|
|
428
433
|
prefix?: string | undefined;
|
|
434
|
+
environmentOverrides?: { [k: string]: string } | undefined;
|
|
429
435
|
};
|
|
430
436
|
|
|
431
437
|
/** @internal */
|
|
@@ -437,6 +443,7 @@ export const ImportResourceSecrets$outboundSchema: z.ZodType<
|
|
|
437
443
|
name: z.string(),
|
|
438
444
|
value: z.string(),
|
|
439
445
|
prefix: z.string().optional(),
|
|
446
|
+
environmentOverrides: z.record(z.string()).optional(),
|
|
440
447
|
});
|
|
441
448
|
|
|
442
449
|
/**
|
|
@@ -24,7 +24,7 @@ export type IssueCertRequest = {
|
|
|
24
24
|
* The Team slug to perform the request on behalf of.
|
|
25
25
|
*/
|
|
26
26
|
slug?: string | undefined;
|
|
27
|
-
requestBody
|
|
27
|
+
requestBody?: IssueCertRequestBody | undefined;
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
export type IssueCertResponseBody = {
|
|
@@ -97,7 +97,7 @@ export const IssueCertRequest$inboundSchema: z.ZodType<
|
|
|
97
97
|
> = z.object({
|
|
98
98
|
teamId: z.string().optional(),
|
|
99
99
|
slug: z.string().optional(),
|
|
100
|
-
RequestBody: z.lazy(() => IssueCertRequestBody$inboundSchema),
|
|
100
|
+
RequestBody: z.lazy(() => IssueCertRequestBody$inboundSchema).optional(),
|
|
101
101
|
}).transform((v) => {
|
|
102
102
|
return remap$(v, {
|
|
103
103
|
"RequestBody": "requestBody",
|
|
@@ -108,7 +108,7 @@ export const IssueCertRequest$inboundSchema: z.ZodType<
|
|
|
108
108
|
export type IssueCertRequest$Outbound = {
|
|
109
109
|
teamId?: string | undefined;
|
|
110
110
|
slug?: string | undefined;
|
|
111
|
-
RequestBody
|
|
111
|
+
RequestBody?: IssueCertRequestBody$Outbound | undefined;
|
|
112
112
|
};
|
|
113
113
|
|
|
114
114
|
/** @internal */
|
|
@@ -119,7 +119,7 @@ export const IssueCertRequest$outboundSchema: z.ZodType<
|
|
|
119
119
|
> = z.object({
|
|
120
120
|
teamId: z.string().optional(),
|
|
121
121
|
slug: z.string().optional(),
|
|
122
|
-
requestBody: z.lazy(() => IssueCertRequestBody$outboundSchema),
|
|
122
|
+
requestBody: z.lazy(() => IssueCertRequestBody$outboundSchema).optional(),
|
|
123
123
|
}).transform((v) => {
|
|
124
124
|
return remap$(v, {
|
|
125
125
|
requestBody: "RequestBody",
|
|
@@ -3,10 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../lib/schemas.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
9
|
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
9
10
|
|
|
11
|
+
export type RemoveProjectDomainRequestBody = {
|
|
12
|
+
/**
|
|
13
|
+
* Whether to remove all domains from this project that redirect to the domain being removed.
|
|
14
|
+
*/
|
|
15
|
+
removeRedirects?: boolean | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
10
18
|
export type RemoveProjectDomainRequest = {
|
|
11
19
|
/**
|
|
12
20
|
* The unique project identifier or the project name
|
|
@@ -24,6 +32,7 @@ export type RemoveProjectDomainRequest = {
|
|
|
24
32
|
* The Team slug to perform the request on behalf of.
|
|
25
33
|
*/
|
|
26
34
|
slug?: string | undefined;
|
|
35
|
+
requestBody?: RemoveProjectDomainRequestBody | undefined;
|
|
27
36
|
};
|
|
28
37
|
|
|
29
38
|
/**
|
|
@@ -31,6 +40,62 @@ export type RemoveProjectDomainRequest = {
|
|
|
31
40
|
*/
|
|
32
41
|
export type RemoveProjectDomainResponseBody = {};
|
|
33
42
|
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const RemoveProjectDomainRequestBody$inboundSchema: z.ZodType<
|
|
45
|
+
RemoveProjectDomainRequestBody,
|
|
46
|
+
z.ZodTypeDef,
|
|
47
|
+
unknown
|
|
48
|
+
> = z.object({
|
|
49
|
+
removeRedirects: z.boolean().optional(),
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export type RemoveProjectDomainRequestBody$Outbound = {
|
|
54
|
+
removeRedirects?: boolean | undefined;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const RemoveProjectDomainRequestBody$outboundSchema: z.ZodType<
|
|
59
|
+
RemoveProjectDomainRequestBody$Outbound,
|
|
60
|
+
z.ZodTypeDef,
|
|
61
|
+
RemoveProjectDomainRequestBody
|
|
62
|
+
> = z.object({
|
|
63
|
+
removeRedirects: z.boolean().optional(),
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
export namespace RemoveProjectDomainRequestBody$ {
|
|
71
|
+
/** @deprecated use `RemoveProjectDomainRequestBody$inboundSchema` instead. */
|
|
72
|
+
export const inboundSchema = RemoveProjectDomainRequestBody$inboundSchema;
|
|
73
|
+
/** @deprecated use `RemoveProjectDomainRequestBody$outboundSchema` instead. */
|
|
74
|
+
export const outboundSchema = RemoveProjectDomainRequestBody$outboundSchema;
|
|
75
|
+
/** @deprecated use `RemoveProjectDomainRequestBody$Outbound` instead. */
|
|
76
|
+
export type Outbound = RemoveProjectDomainRequestBody$Outbound;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function removeProjectDomainRequestBodyToJSON(
|
|
80
|
+
removeProjectDomainRequestBody: RemoveProjectDomainRequestBody,
|
|
81
|
+
): string {
|
|
82
|
+
return JSON.stringify(
|
|
83
|
+
RemoveProjectDomainRequestBody$outboundSchema.parse(
|
|
84
|
+
removeProjectDomainRequestBody,
|
|
85
|
+
),
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function removeProjectDomainRequestBodyFromJSON(
|
|
90
|
+
jsonString: string,
|
|
91
|
+
): SafeParseResult<RemoveProjectDomainRequestBody, SDKValidationError> {
|
|
92
|
+
return safeParse(
|
|
93
|
+
jsonString,
|
|
94
|
+
(x) => RemoveProjectDomainRequestBody$inboundSchema.parse(JSON.parse(x)),
|
|
95
|
+
`Failed to parse 'RemoveProjectDomainRequestBody' from JSON`,
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
|
|
34
99
|
/** @internal */
|
|
35
100
|
export const RemoveProjectDomainRequest$inboundSchema: z.ZodType<
|
|
36
101
|
RemoveProjectDomainRequest,
|
|
@@ -41,6 +106,12 @@ export const RemoveProjectDomainRequest$inboundSchema: z.ZodType<
|
|
|
41
106
|
domain: z.string(),
|
|
42
107
|
teamId: z.string().optional(),
|
|
43
108
|
slug: z.string().optional(),
|
|
109
|
+
RequestBody: z.lazy(() => RemoveProjectDomainRequestBody$inboundSchema)
|
|
110
|
+
.optional(),
|
|
111
|
+
}).transform((v) => {
|
|
112
|
+
return remap$(v, {
|
|
113
|
+
"RequestBody": "requestBody",
|
|
114
|
+
});
|
|
44
115
|
});
|
|
45
116
|
|
|
46
117
|
/** @internal */
|
|
@@ -49,6 +120,7 @@ export type RemoveProjectDomainRequest$Outbound = {
|
|
|
49
120
|
domain: string;
|
|
50
121
|
teamId?: string | undefined;
|
|
51
122
|
slug?: string | undefined;
|
|
123
|
+
RequestBody?: RemoveProjectDomainRequestBody$Outbound | undefined;
|
|
52
124
|
};
|
|
53
125
|
|
|
54
126
|
/** @internal */
|
|
@@ -61,6 +133,12 @@ export const RemoveProjectDomainRequest$outboundSchema: z.ZodType<
|
|
|
61
133
|
domain: z.string(),
|
|
62
134
|
teamId: z.string().optional(),
|
|
63
135
|
slug: z.string().optional(),
|
|
136
|
+
requestBody: z.lazy(() => RemoveProjectDomainRequestBody$outboundSchema)
|
|
137
|
+
.optional(),
|
|
138
|
+
}).transform((v) => {
|
|
139
|
+
return remap$(v, {
|
|
140
|
+
requestBody: "RequestBody",
|
|
141
|
+
});
|
|
64
142
|
});
|
|
65
143
|
|
|
66
144
|
/**
|
|
@@ -10,10 +10,6 @@ import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
|
10
10
|
export type RequestPromoteRequest = {
|
|
11
11
|
projectId: string;
|
|
12
12
|
deploymentId: string;
|
|
13
|
-
/**
|
|
14
|
-
* Skip the rolling release process and promote directly to production
|
|
15
|
-
*/
|
|
16
|
-
dangerouslyForcePromoteCanary?: boolean | undefined;
|
|
17
13
|
/**
|
|
18
14
|
* The Team identifier to perform the request on behalf of.
|
|
19
15
|
*/
|
|
@@ -32,7 +28,6 @@ export const RequestPromoteRequest$inboundSchema: z.ZodType<
|
|
|
32
28
|
> = z.object({
|
|
33
29
|
projectId: z.string(),
|
|
34
30
|
deploymentId: z.string(),
|
|
35
|
-
dangerouslyForcePromoteCanary: z.boolean().optional(),
|
|
36
31
|
teamId: z.string().optional(),
|
|
37
32
|
slug: z.string().optional(),
|
|
38
33
|
});
|
|
@@ -41,7 +36,6 @@ export const RequestPromoteRequest$inboundSchema: z.ZodType<
|
|
|
41
36
|
export type RequestPromoteRequest$Outbound = {
|
|
42
37
|
projectId: string;
|
|
43
38
|
deploymentId: string;
|
|
44
|
-
dangerouslyForcePromoteCanary?: boolean | undefined;
|
|
45
39
|
teamId?: string | undefined;
|
|
46
40
|
slug?: string | undefined;
|
|
47
41
|
};
|
|
@@ -54,7 +48,6 @@ export const RequestPromoteRequest$outboundSchema: z.ZodType<
|
|
|
54
48
|
> = z.object({
|
|
55
49
|
projectId: z.string(),
|
|
56
50
|
deploymentId: z.string(),
|
|
57
|
-
dangerouslyForcePromoteCanary: z.boolean().optional(),
|
|
58
51
|
teamId: z.string().optional(),
|
|
59
52
|
slug: z.string().optional(),
|
|
60
53
|
});
|
|
@@ -9,8 +9,8 @@ import { Result as SafeParseResult } from "../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export const LimitedBy = {
|
|
12
|
-
Mfa: "mfa",
|
|
13
12
|
Scope: "scope",
|
|
13
|
+
Mfa: "mfa",
|
|
14
14
|
} as const;
|
|
15
15
|
export type LimitedBy = ClosedEnum<typeof LimitedBy>;
|
|
16
16
|
|
|
@@ -18,14 +18,14 @@ export type LimitedBy = ClosedEnum<typeof LimitedBy>;
|
|
|
18
18
|
* Information for the SAML Single Sign-On configuration.
|
|
19
19
|
*/
|
|
20
20
|
export type Connection = {
|
|
21
|
-
/**
|
|
22
|
-
* Current status of the connection.
|
|
23
|
-
*/
|
|
24
|
-
status: string;
|
|
25
21
|
/**
|
|
26
22
|
* The Identity Provider "type", for example Okta.
|
|
27
23
|
*/
|
|
28
24
|
type: string;
|
|
25
|
+
/**
|
|
26
|
+
* Current status of the connection.
|
|
27
|
+
*/
|
|
28
|
+
status: string;
|
|
29
29
|
/**
|
|
30
30
|
* Current state of the connection.
|
|
31
31
|
*/
|
|
@@ -116,7 +116,6 @@ export const TeamPermissions = {
|
|
|
116
116
|
export type TeamPermissions = ClosedEnum<typeof TeamPermissions>;
|
|
117
117
|
|
|
118
118
|
export const Origin = {
|
|
119
|
-
Saml: "saml",
|
|
120
119
|
Mail: "mail",
|
|
121
120
|
Link: "link",
|
|
122
121
|
Import: "import",
|
|
@@ -124,6 +123,7 @@ export const Origin = {
|
|
|
124
123
|
Github: "github",
|
|
125
124
|
Gitlab: "gitlab",
|
|
126
125
|
Bitbucket: "bitbucket",
|
|
126
|
+
Saml: "saml",
|
|
127
127
|
Dsync: "dsync",
|
|
128
128
|
Feedback: "feedback",
|
|
129
129
|
OrganizationTeams: "organization-teams",
|
|
@@ -152,13 +152,13 @@ export type JoinedFrom = {
|
|
|
152
152
|
export type Membership = {
|
|
153
153
|
uid?: string | undefined;
|
|
154
154
|
entitlements?: Array<Entitlements> | undefined;
|
|
155
|
+
teamId?: string | undefined;
|
|
155
156
|
confirmed: boolean;
|
|
156
157
|
confirmedAt: number;
|
|
157
158
|
accessRequestedAt?: number | undefined;
|
|
158
159
|
role: Role;
|
|
159
160
|
teamRoles?: Array<TeamRoles> | undefined;
|
|
160
161
|
teamPermissions?: Array<TeamPermissions> | undefined;
|
|
161
|
-
teamId?: string | undefined;
|
|
162
162
|
createdAt: number;
|
|
163
163
|
created: number;
|
|
164
164
|
joinedFrom?: JoinedFrom | undefined;
|
|
@@ -233,8 +233,8 @@ export const Connection$inboundSchema: z.ZodType<
|
|
|
233
233
|
z.ZodTypeDef,
|
|
234
234
|
unknown
|
|
235
235
|
> = z.object({
|
|
236
|
-
status: z.string(),
|
|
237
236
|
type: z.string(),
|
|
237
|
+
status: z.string(),
|
|
238
238
|
state: z.string(),
|
|
239
239
|
connectedAt: z.number(),
|
|
240
240
|
lastReceivedWebhookEvent: z.number().optional(),
|
|
@@ -242,8 +242,8 @@ export const Connection$inboundSchema: z.ZodType<
|
|
|
242
242
|
|
|
243
243
|
/** @internal */
|
|
244
244
|
export type Connection$Outbound = {
|
|
245
|
-
status: string;
|
|
246
245
|
type: string;
|
|
246
|
+
status: string;
|
|
247
247
|
state: string;
|
|
248
248
|
connectedAt: number;
|
|
249
249
|
lastReceivedWebhookEvent?: number | undefined;
|
|
@@ -255,8 +255,8 @@ export const Connection$outboundSchema: z.ZodType<
|
|
|
255
255
|
z.ZodTypeDef,
|
|
256
256
|
Connection
|
|
257
257
|
> = z.object({
|
|
258
|
-
status: z.string(),
|
|
259
258
|
type: z.string(),
|
|
259
|
+
status: z.string(),
|
|
260
260
|
state: z.string(),
|
|
261
261
|
connectedAt: z.number(),
|
|
262
262
|
lastReceivedWebhookEvent: z.number().optional(),
|
|
@@ -659,13 +659,13 @@ export const Membership$inboundSchema: z.ZodType<
|
|
|
659
659
|
> = z.object({
|
|
660
660
|
uid: z.string().optional(),
|
|
661
661
|
entitlements: z.array(z.lazy(() => Entitlements$inboundSchema)).optional(),
|
|
662
|
+
teamId: z.string().optional(),
|
|
662
663
|
confirmed: z.boolean(),
|
|
663
664
|
confirmedAt: z.number(),
|
|
664
665
|
accessRequestedAt: z.number().optional(),
|
|
665
666
|
role: Role$inboundSchema,
|
|
666
667
|
teamRoles: z.array(TeamRoles$inboundSchema).optional(),
|
|
667
668
|
teamPermissions: z.array(TeamPermissions$inboundSchema).optional(),
|
|
668
|
-
teamId: z.string().optional(),
|
|
669
669
|
createdAt: z.number(),
|
|
670
670
|
created: z.number(),
|
|
671
671
|
joinedFrom: z.lazy(() => JoinedFrom$inboundSchema).optional(),
|
|
@@ -675,13 +675,13 @@ export const Membership$inboundSchema: z.ZodType<
|
|
|
675
675
|
export type Membership$Outbound = {
|
|
676
676
|
uid?: string | undefined;
|
|
677
677
|
entitlements?: Array<Entitlements$Outbound> | undefined;
|
|
678
|
+
teamId?: string | undefined;
|
|
678
679
|
confirmed: boolean;
|
|
679
680
|
confirmedAt: number;
|
|
680
681
|
accessRequestedAt?: number | undefined;
|
|
681
682
|
role: string;
|
|
682
683
|
teamRoles?: Array<string> | undefined;
|
|
683
684
|
teamPermissions?: Array<string> | undefined;
|
|
684
|
-
teamId?: string | undefined;
|
|
685
685
|
createdAt: number;
|
|
686
686
|
created: number;
|
|
687
687
|
joinedFrom?: JoinedFrom$Outbound | undefined;
|
|
@@ -695,13 +695,13 @@ export const Membership$outboundSchema: z.ZodType<
|
|
|
695
695
|
> = z.object({
|
|
696
696
|
uid: z.string().optional(),
|
|
697
697
|
entitlements: z.array(z.lazy(() => Entitlements$outboundSchema)).optional(),
|
|
698
|
+
teamId: z.string().optional(),
|
|
698
699
|
confirmed: z.boolean(),
|
|
699
700
|
confirmedAt: z.number(),
|
|
700
701
|
accessRequestedAt: z.number().optional(),
|
|
701
702
|
role: Role$outboundSchema,
|
|
702
703
|
teamRoles: z.array(TeamRoles$outboundSchema).optional(),
|
|
703
704
|
teamPermissions: z.array(TeamPermissions$outboundSchema).optional(),
|
|
704
|
-
teamId: z.string().optional(),
|
|
705
705
|
createdAt: z.number(),
|
|
706
706
|
created: z.number(),
|
|
707
707
|
joinedFrom: z.lazy(() => JoinedFrom$outboundSchema).optional(),
|