@vercel/sdk 1.17.1 → 1.17.3
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 +1278 -1490
- package/bin/mcp-server.js.map +27 -27
- 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 +2 -4
- 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__/environment.test.js +15 -1
- package/esm/__tests__/environment.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/logdrains.test.js +3 -1
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +6 -2
- package/esm/__tests__/rollingrelease.test.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 -0
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +2 -0
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +2 -0
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +2 -0
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createdrainop.d.ts +48 -108
- package/esm/models/createdrainop.d.ts.map +1 -1
- package/esm/models/createdrainop.js +58 -105
- package/esm/models/createdrainop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +156 -152
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +222 -218
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +2 -0
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +2 -0
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +2 -0
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +2 -0
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/getalllogdrainsop.d.ts +53 -107
- package/esm/models/getalllogdrainsop.d.ts.map +1 -1
- package/esm/models/getalllogdrainsop.js +65 -108
- package/esm/models/getalllogdrainsop.js.map +1 -1
- package/esm/models/getconfigurablelogdrainop.d.ts +6 -0
- package/esm/models/getconfigurablelogdrainop.d.ts.map +1 -1
- package/esm/models/getconfigurablelogdrainop.js +6 -0
- package/esm/models/getconfigurablelogdrainop.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 +4 -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/getdeploymentsop.d.ts +2 -0
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +2 -0
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getdrainop.d.ts +48 -108
- package/esm/models/getdrainop.d.ts.map +1 -1
- package/esm/models/getdrainop.js +58 -104
- package/esm/models/getdrainop.js.map +1 -1
- package/esm/models/getdrainsop.d.ts +48 -108
- package/esm/models/getdrainsop.d.ts.map +1 -1
- package/esm/models/getdrainsop.js +58 -104
- package/esm/models/getdrainsop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +2 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +2 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getwebhookop.d.ts +1 -0
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +1 -0
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +2 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +2 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/moveprojectdomainop.d.ts +33 -0
- package/esm/models/moveprojectdomainop.d.ts.map +1 -1
- package/esm/models/moveprojectdomainop.js +19 -0
- package/esm/models/moveprojectdomainop.js.map +1 -1
- package/esm/models/updatedrainop.d.ts +48 -108
- package/esm/models/updatedrainop.d.ts.map +1 -1
- package/esm/models/updatedrainop.js +58 -108
- package/esm/models/updatedrainop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +2 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +2 -0
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +2 -0
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +2 -0
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updatesharedenvvariableop.d.ts +5 -2
- package/esm/models/updatesharedenvvariableop.d.ts.map +1 -1
- package/esm/models/updatesharedenvvariableop.js.map +1 -1
- package/esm/models/userevent.d.ts +970 -928
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1281 -1235
- package/esm/models/userevent.js.map +1 -1
- package/examples/package-lock.json +2 -10
- package/jsr.json +1 -1
- package/package.json +3 -6
- package/src/__tests__/accessgroups.test.ts +1 -3
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/domains.test.ts +2 -4
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/environment.test.ts +15 -1
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +3 -1
- package/src/__tests__/rollingrelease.test.ts +6 -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 -0
- package/src/models/createdeploymentop.ts +4 -0
- package/src/models/createdrainop.ts +132 -177
- package/src/models/createintegrationstoredirectop.ts +479 -471
- package/src/models/createprojectop.ts +4 -0
- package/src/models/createwebhookop.ts +2 -0
- package/src/models/getalllogdrainsop.ts +168 -168
- package/src/models/getconfigurablelogdrainop.ts +12 -0
- package/src/models/getconfigurationproductsop.ts +627 -627
- package/src/models/getdeploymentop.ts +8 -0
- package/src/models/getdeploymentsop.ts +4 -0
- package/src/models/getdrainop.ts +148 -168
- package/src/models/getdrainsop.ts +150 -158
- package/src/models/getprojectsop.ts +4 -0
- package/src/models/getwebhookop.ts +1 -0
- package/src/models/getwebhooksop.ts +2 -0
- package/src/models/moveprojectdomainop.ts +51 -0
- package/src/models/updatedrainop.ts +153 -174
- package/src/models/updateprojectdatacacheop.ts +4 -0
- package/src/models/updateprojectop.ts +4 -0
- package/src/models/updatesharedenvvariableop.ts +5 -2
- package/src/models/userevent.ts +2956 -2828
- package/vercel-spec.json +647 -841
|
@@ -823,6 +823,7 @@ export type GetDeploymentResponseBody2 = {
|
|
|
823
823
|
* The public project information associated with the deployment.
|
|
824
824
|
*/
|
|
825
825
|
project?: GetDeploymentResponseBodyProject | undefined;
|
|
826
|
+
prebuilt?: boolean | undefined;
|
|
826
827
|
/**
|
|
827
828
|
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
|
|
828
829
|
*/
|
|
@@ -2420,6 +2421,7 @@ export type GetDeploymentResponseBody1 = {
|
|
|
2420
2421
|
* The public project information associated with the deployment.
|
|
2421
2422
|
*/
|
|
2422
2423
|
project?: ResponseBodyProject | undefined;
|
|
2424
|
+
prebuilt?: boolean | undefined;
|
|
2423
2425
|
/**
|
|
2424
2426
|
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
|
|
2425
2427
|
*/
|
|
@@ -4803,6 +4805,7 @@ export const GetDeploymentResponseBody2$inboundSchema: z.ZodType<
|
|
|
4803
4805
|
nodeVersion: GetDeploymentResponseBodyNodeVersion$inboundSchema.optional(),
|
|
4804
4806
|
project: z.lazy(() => GetDeploymentResponseBodyProject$inboundSchema)
|
|
4805
4807
|
.optional(),
|
|
4808
|
+
prebuilt: z.boolean().optional(),
|
|
4806
4809
|
readySubstate: GetDeploymentResponseBodyReadySubstate$inboundSchema
|
|
4807
4810
|
.optional(),
|
|
4808
4811
|
regions: z.array(z.string()),
|
|
@@ -4882,6 +4885,7 @@ export type GetDeploymentResponseBody2$Outbound = {
|
|
|
4882
4885
|
originCacheRegion?: string | undefined;
|
|
4883
4886
|
nodeVersion?: string | undefined;
|
|
4884
4887
|
project?: GetDeploymentResponseBodyProject$Outbound | undefined;
|
|
4888
|
+
prebuilt?: boolean | undefined;
|
|
4885
4889
|
readySubstate?: string | undefined;
|
|
4886
4890
|
regions: Array<string>;
|
|
4887
4891
|
softDeletedByRetention?: boolean | undefined;
|
|
@@ -4971,6 +4975,7 @@ export const GetDeploymentResponseBody2$outboundSchema: z.ZodType<
|
|
|
4971
4975
|
nodeVersion: GetDeploymentResponseBodyNodeVersion$outboundSchema.optional(),
|
|
4972
4976
|
project: z.lazy(() => GetDeploymentResponseBodyProject$outboundSchema)
|
|
4973
4977
|
.optional(),
|
|
4978
|
+
prebuilt: z.boolean().optional(),
|
|
4974
4979
|
readySubstate: GetDeploymentResponseBodyReadySubstate$outboundSchema
|
|
4975
4980
|
.optional(),
|
|
4976
4981
|
regions: z.array(z.string()),
|
|
@@ -10500,6 +10505,7 @@ export const GetDeploymentResponseBody1$inboundSchema: z.ZodType<
|
|
|
10500
10505
|
originCacheRegion: z.string().optional(),
|
|
10501
10506
|
nodeVersion: ResponseBodyNodeVersion$inboundSchema.optional(),
|
|
10502
10507
|
project: z.lazy(() => ResponseBodyProject$inboundSchema).optional(),
|
|
10508
|
+
prebuilt: z.boolean().optional(),
|
|
10503
10509
|
readySubstate: ResponseBodyReadySubstate$inboundSchema.optional(),
|
|
10504
10510
|
regions: z.array(z.string()),
|
|
10505
10511
|
softDeletedByRetention: z.boolean().optional(),
|
|
@@ -10631,6 +10637,7 @@ export type GetDeploymentResponseBody1$Outbound = {
|
|
|
10631
10637
|
originCacheRegion?: string | undefined;
|
|
10632
10638
|
nodeVersion?: string | undefined;
|
|
10633
10639
|
project?: ResponseBodyProject$Outbound | undefined;
|
|
10640
|
+
prebuilt?: boolean | undefined;
|
|
10634
10641
|
readySubstate?: string | undefined;
|
|
10635
10642
|
regions: Array<string>;
|
|
10636
10643
|
softDeletedByRetention?: boolean | undefined;
|
|
@@ -10767,6 +10774,7 @@ export const GetDeploymentResponseBody1$outboundSchema: z.ZodType<
|
|
|
10767
10774
|
originCacheRegion: z.string().optional(),
|
|
10768
10775
|
nodeVersion: ResponseBodyNodeVersion$outboundSchema.optional(),
|
|
10769
10776
|
project: z.lazy(() => ResponseBodyProject$outboundSchema).optional(),
|
|
10777
|
+
prebuilt: z.boolean().optional(),
|
|
10770
10778
|
readySubstate: ResponseBodyReadySubstate$outboundSchema.optional(),
|
|
10771
10779
|
regions: z.array(z.string()),
|
|
10772
10780
|
softDeletedByRetention: z.boolean().optional(),
|
|
@@ -544,6 +544,7 @@ export type Deployments = {
|
|
|
544
544
|
* Deployment can be used for instant rollback
|
|
545
545
|
*/
|
|
546
546
|
isRollbackCandidate?: boolean | null | undefined;
|
|
547
|
+
prebuilt?: boolean | undefined;
|
|
547
548
|
/**
|
|
548
549
|
* The project settings which was used for this deployment
|
|
549
550
|
*/
|
|
@@ -1323,6 +1324,7 @@ export const Deployments$inboundSchema: z.ZodType<
|
|
|
1323
1324
|
errorMessage: z.nullable(z.string()).optional(),
|
|
1324
1325
|
oomReport: GetDeploymentsOomReport$inboundSchema.optional(),
|
|
1325
1326
|
isRollbackCandidate: z.nullable(z.boolean()).optional(),
|
|
1327
|
+
prebuilt: z.boolean().optional(),
|
|
1326
1328
|
projectSettings: z.lazy(() => GetDeploymentsProjectSettings$inboundSchema)
|
|
1327
1329
|
.optional(),
|
|
1328
1330
|
connectBuildsEnabled: z.boolean().optional(),
|
|
@@ -1365,6 +1367,7 @@ export type Deployments$Outbound = {
|
|
|
1365
1367
|
errorMessage?: string | null | undefined;
|
|
1366
1368
|
oomReport?: string | undefined;
|
|
1367
1369
|
isRollbackCandidate?: boolean | null | undefined;
|
|
1370
|
+
prebuilt?: boolean | undefined;
|
|
1368
1371
|
projectSettings?: GetDeploymentsProjectSettings$Outbound | undefined;
|
|
1369
1372
|
connectBuildsEnabled?: boolean | undefined;
|
|
1370
1373
|
connectConfigurationId?: string | undefined;
|
|
@@ -1411,6 +1414,7 @@ export const Deployments$outboundSchema: z.ZodType<
|
|
|
1411
1414
|
errorMessage: z.nullable(z.string()).optional(),
|
|
1412
1415
|
oomReport: GetDeploymentsOomReport$outboundSchema.optional(),
|
|
1413
1416
|
isRollbackCandidate: z.nullable(z.boolean()).optional(),
|
|
1417
|
+
prebuilt: z.boolean().optional(),
|
|
1414
1418
|
projectSettings: z.lazy(() => GetDeploymentsProjectSettings$outboundSchema)
|
|
1415
1419
|
.optional(),
|
|
1416
1420
|
connectBuildsEnabled: z.boolean().optional(),
|
package/src/models/getdrainop.ts
CHANGED
|
@@ -21,14 +21,6 @@ export type GetDrainRequest = {
|
|
|
21
21
|
slug?: string | undefined;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
export const GetDrainResponseBodyDrainsCreatedFrom = {
|
|
25
|
-
SelfServed: "self-served",
|
|
26
|
-
Integration: "integration",
|
|
27
|
-
} as const;
|
|
28
|
-
export type GetDrainResponseBodyDrainsCreatedFrom = ClosedEnum<
|
|
29
|
-
typeof GetDrainResponseBodyDrainsCreatedFrom
|
|
30
|
-
>;
|
|
31
|
-
|
|
32
24
|
export type GetDrainResponseBodyDrainsLog = {};
|
|
33
25
|
|
|
34
26
|
export type GetDrainResponseBodyDrainsTrace = {};
|
|
@@ -339,82 +331,38 @@ export type GetDrainResponseBodyDrainsFilterV2 =
|
|
|
339
331
|
| GetDrainFilterV2Drains2
|
|
340
332
|
| GetDrainFilterV2Drains1;
|
|
341
333
|
|
|
342
|
-
export const
|
|
343
|
-
|
|
344
|
-
Nextjs: "nextjs",
|
|
345
|
-
Gatsby: "gatsby",
|
|
346
|
-
Remix: "remix",
|
|
347
|
-
ReactRouter: "react-router",
|
|
348
|
-
Astro: "astro",
|
|
349
|
-
Hexo: "hexo",
|
|
350
|
-
Eleventy: "eleventy",
|
|
351
|
-
Docusaurus2: "docusaurus-2",
|
|
352
|
-
Docusaurus: "docusaurus",
|
|
353
|
-
Preact: "preact",
|
|
354
|
-
Solidstart1: "solidstart-1",
|
|
355
|
-
Solidstart: "solidstart",
|
|
356
|
-
Dojo: "dojo",
|
|
357
|
-
Ember: "ember",
|
|
358
|
-
Vue: "vue",
|
|
359
|
-
Scully: "scully",
|
|
360
|
-
IonicAngular: "ionic-angular",
|
|
361
|
-
Angular: "angular",
|
|
362
|
-
Polymer: "polymer",
|
|
363
|
-
Svelte: "svelte",
|
|
364
|
-
Sveltekit: "sveltekit",
|
|
365
|
-
Sveltekit1: "sveltekit-1",
|
|
366
|
-
IonicReact: "ionic-react",
|
|
367
|
-
CreateReactApp: "create-react-app",
|
|
368
|
-
Gridsome: "gridsome",
|
|
369
|
-
Umijs: "umijs",
|
|
370
|
-
Sapper: "sapper",
|
|
371
|
-
Saber: "saber",
|
|
372
|
-
Stencil: "stencil",
|
|
373
|
-
Nuxtjs: "nuxtjs",
|
|
374
|
-
Redwoodjs: "redwoodjs",
|
|
375
|
-
Hugo: "hugo",
|
|
376
|
-
Jekyll: "jekyll",
|
|
377
|
-
Brunch: "brunch",
|
|
378
|
-
Middleman: "middleman",
|
|
379
|
-
Zola: "zola",
|
|
380
|
-
Hydrogen: "hydrogen",
|
|
381
|
-
Vite: "vite",
|
|
382
|
-
TanstackStart: "tanstack-start",
|
|
383
|
-
Vitepress: "vitepress",
|
|
384
|
-
Vuepress: "vuepress",
|
|
385
|
-
Parcel: "parcel",
|
|
386
|
-
Fastapi: "fastapi",
|
|
387
|
-
Flask: "flask",
|
|
388
|
-
Fasthtml: "fasthtml",
|
|
389
|
-
SanityV3: "sanity-v3",
|
|
390
|
-
Sanity: "sanity",
|
|
391
|
-
Storybook: "storybook",
|
|
392
|
-
Nitro: "nitro",
|
|
393
|
-
Hono: "hono",
|
|
394
|
-
Express: "express",
|
|
395
|
-
H3: "h3",
|
|
396
|
-
Nestjs: "nestjs",
|
|
397
|
-
Elysia: "elysia",
|
|
398
|
-
Fastify: "fastify",
|
|
399
|
-
Xmcp: "xmcp",
|
|
334
|
+
export const GetDrainProjectAccessDrainsAccess = {
|
|
335
|
+
Some: "some",
|
|
400
336
|
} as const;
|
|
401
|
-
export type
|
|
402
|
-
typeof
|
|
337
|
+
export type GetDrainProjectAccessDrainsAccess = ClosedEnum<
|
|
338
|
+
typeof GetDrainProjectAccessDrainsAccess
|
|
403
339
|
>;
|
|
404
340
|
|
|
405
|
-
export type
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
341
|
+
export type GetDrainProjectAccess2 = {
|
|
342
|
+
access: GetDrainProjectAccessDrainsAccess;
|
|
343
|
+
projectIds: Array<string>;
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
export const GetDrainProjectAccessAccess = {
|
|
347
|
+
All: "all",
|
|
348
|
+
} as const;
|
|
349
|
+
export type GetDrainProjectAccessAccess = ClosedEnum<
|
|
350
|
+
typeof GetDrainProjectAccessAccess
|
|
351
|
+
>;
|
|
352
|
+
|
|
353
|
+
export type GetDrainProjectAccess1 = {
|
|
354
|
+
access: GetDrainProjectAccessAccess;
|
|
410
355
|
};
|
|
411
356
|
|
|
357
|
+
export type ResponseBodyProjectAccess =
|
|
358
|
+
| GetDrainProjectAccess2
|
|
359
|
+
| GetDrainProjectAccess1;
|
|
360
|
+
|
|
412
361
|
export type GetDrainResponseBody2 = {
|
|
413
362
|
id: string;
|
|
414
363
|
ownerId: string;
|
|
415
364
|
name: string;
|
|
416
365
|
createdAt: number;
|
|
417
|
-
createdFrom?: GetDrainResponseBodyDrainsCreatedFrom | undefined;
|
|
418
366
|
updatedAt: number;
|
|
419
367
|
projectIds?: Array<string> | undefined;
|
|
420
368
|
schemas?: GetDrainResponseBodyDrainsSchemas | undefined;
|
|
@@ -431,25 +379,15 @@ export type GetDrainResponseBody2 = {
|
|
|
431
379
|
disabledReason?: GetDrainResponseBodyDrainsDisabledReason | undefined;
|
|
432
380
|
disabledBy?: string | undefined;
|
|
433
381
|
firstErrorTimestamp?: number | undefined;
|
|
434
|
-
configurationId?: string | undefined;
|
|
435
|
-
clientId?: string | undefined;
|
|
436
382
|
source: GetDrainSourceDrains2 | GetDrainSourceDrains1;
|
|
437
383
|
filter?: string | undefined;
|
|
438
384
|
filterV2?: GetDrainFilterV2Drains2 | GetDrainFilterV2Drains1 | undefined;
|
|
439
385
|
integrationIcon?: string | undefined;
|
|
440
386
|
integrationConfigurationUri?: string | undefined;
|
|
441
387
|
integrationWebsite?: string | undefined;
|
|
442
|
-
|
|
388
|
+
projectAccess?: GetDrainProjectAccess2 | GetDrainProjectAccess1 | undefined;
|
|
443
389
|
};
|
|
444
390
|
|
|
445
|
-
export const GetDrainResponseBodyCreatedFrom = {
|
|
446
|
-
SelfServed: "self-served",
|
|
447
|
-
Integration: "integration",
|
|
448
|
-
} as const;
|
|
449
|
-
export type GetDrainResponseBodyCreatedFrom = ClosedEnum<
|
|
450
|
-
typeof GetDrainResponseBodyCreatedFrom
|
|
451
|
-
>;
|
|
452
|
-
|
|
453
391
|
export type GetDrainResponseBodyLog = {};
|
|
454
392
|
|
|
455
393
|
export type GetDrainResponseBodyTrace = {};
|
|
@@ -739,7 +677,6 @@ export type GetDrainResponseBody1 = {
|
|
|
739
677
|
ownerId: string;
|
|
740
678
|
name: string;
|
|
741
679
|
createdAt: number;
|
|
742
|
-
createdFrom?: GetDrainResponseBodyCreatedFrom | undefined;
|
|
743
680
|
updatedAt: number;
|
|
744
681
|
projectIds?: Array<string> | undefined;
|
|
745
682
|
schemas?: GetDrainResponseBodySchemas | undefined;
|
|
@@ -756,8 +693,6 @@ export type GetDrainResponseBody1 = {
|
|
|
756
693
|
disabledReason?: GetDrainResponseBodyDisabledReason | undefined;
|
|
757
694
|
disabledBy?: string | undefined;
|
|
758
695
|
firstErrorTimestamp?: number | undefined;
|
|
759
|
-
configurationId?: string | undefined;
|
|
760
|
-
clientId?: string | undefined;
|
|
761
696
|
source: GetDrainSource2 | GetDrainSource1;
|
|
762
697
|
filter?: string | undefined;
|
|
763
698
|
filterV2?: GetDrainFilterV22 | GetDrainFilterV21 | undefined;
|
|
@@ -810,16 +745,6 @@ export function getDrainRequestFromJSON(
|
|
|
810
745
|
);
|
|
811
746
|
}
|
|
812
747
|
|
|
813
|
-
/** @internal */
|
|
814
|
-
export const GetDrainResponseBodyDrainsCreatedFrom$inboundSchema:
|
|
815
|
-
z.ZodNativeEnum<typeof GetDrainResponseBodyDrainsCreatedFrom> = z.nativeEnum(
|
|
816
|
-
GetDrainResponseBodyDrainsCreatedFrom,
|
|
817
|
-
);
|
|
818
|
-
/** @internal */
|
|
819
|
-
export const GetDrainResponseBodyDrainsCreatedFrom$outboundSchema:
|
|
820
|
-
z.ZodNativeEnum<typeof GetDrainResponseBodyDrainsCreatedFrom> =
|
|
821
|
-
GetDrainResponseBodyDrainsCreatedFrom$inboundSchema;
|
|
822
|
-
|
|
823
748
|
/** @internal */
|
|
824
749
|
export const GetDrainResponseBodyDrainsLog$inboundSchema: z.ZodType<
|
|
825
750
|
GetDrainResponseBodyDrainsLog,
|
|
@@ -2310,63 +2235,142 @@ export function getDrainResponseBodyDrainsFilterV2FromJSON(
|
|
|
2310
2235
|
}
|
|
2311
2236
|
|
|
2312
2237
|
/** @internal */
|
|
2313
|
-
export const
|
|
2314
|
-
typeof
|
|
2315
|
-
> = z.nativeEnum(
|
|
2238
|
+
export const GetDrainProjectAccessDrainsAccess$inboundSchema: z.ZodNativeEnum<
|
|
2239
|
+
typeof GetDrainProjectAccessDrainsAccess
|
|
2240
|
+
> = z.nativeEnum(GetDrainProjectAccessDrainsAccess);
|
|
2316
2241
|
/** @internal */
|
|
2317
|
-
export const
|
|
2318
|
-
typeof
|
|
2319
|
-
> =
|
|
2242
|
+
export const GetDrainProjectAccessDrainsAccess$outboundSchema: z.ZodNativeEnum<
|
|
2243
|
+
typeof GetDrainProjectAccessDrainsAccess
|
|
2244
|
+
> = GetDrainProjectAccessDrainsAccess$inboundSchema;
|
|
2320
2245
|
|
|
2321
2246
|
/** @internal */
|
|
2322
|
-
export const
|
|
2323
|
-
|
|
2247
|
+
export const GetDrainProjectAccess2$inboundSchema: z.ZodType<
|
|
2248
|
+
GetDrainProjectAccess2,
|
|
2324
2249
|
z.ZodTypeDef,
|
|
2325
2250
|
unknown
|
|
2326
2251
|
> = z.object({
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
framework: z.nullable(GetDrainResponseBodyFramework$inboundSchema).optional(),
|
|
2330
|
-
latestDeployment: z.string().optional(),
|
|
2252
|
+
access: GetDrainProjectAccessDrainsAccess$inboundSchema,
|
|
2253
|
+
projectIds: z.array(z.string()),
|
|
2331
2254
|
});
|
|
2332
2255
|
/** @internal */
|
|
2333
|
-
export type
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
framework?: string | null | undefined;
|
|
2337
|
-
latestDeployment?: string | undefined;
|
|
2256
|
+
export type GetDrainProjectAccess2$Outbound = {
|
|
2257
|
+
access: string;
|
|
2258
|
+
projectIds: Array<string>;
|
|
2338
2259
|
};
|
|
2339
2260
|
|
|
2340
2261
|
/** @internal */
|
|
2341
|
-
export const
|
|
2342
|
-
|
|
2262
|
+
export const GetDrainProjectAccess2$outboundSchema: z.ZodType<
|
|
2263
|
+
GetDrainProjectAccess2$Outbound,
|
|
2343
2264
|
z.ZodTypeDef,
|
|
2344
|
-
|
|
2265
|
+
GetDrainProjectAccess2
|
|
2345
2266
|
> = z.object({
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
framework: z.nullable(GetDrainResponseBodyFramework$outboundSchema)
|
|
2349
|
-
.optional(),
|
|
2350
|
-
latestDeployment: z.string().optional(),
|
|
2267
|
+
access: GetDrainProjectAccessDrainsAccess$outboundSchema,
|
|
2268
|
+
projectIds: z.array(z.string()),
|
|
2351
2269
|
});
|
|
2352
2270
|
|
|
2353
|
-
export function
|
|
2354
|
-
|
|
2271
|
+
export function getDrainProjectAccess2ToJSON(
|
|
2272
|
+
getDrainProjectAccess2: GetDrainProjectAccess2,
|
|
2355
2273
|
): string {
|
|
2356
2274
|
return JSON.stringify(
|
|
2357
|
-
|
|
2358
|
-
getDrainResponseBodyProjectsMetadata,
|
|
2359
|
-
),
|
|
2275
|
+
GetDrainProjectAccess2$outboundSchema.parse(getDrainProjectAccess2),
|
|
2360
2276
|
);
|
|
2361
2277
|
}
|
|
2362
|
-
export function
|
|
2278
|
+
export function getDrainProjectAccess2FromJSON(
|
|
2363
2279
|
jsonString: string,
|
|
2364
|
-
): SafeParseResult<
|
|
2280
|
+
): SafeParseResult<GetDrainProjectAccess2, SDKValidationError> {
|
|
2365
2281
|
return safeParse(
|
|
2366
2282
|
jsonString,
|
|
2367
|
-
(x) =>
|
|
2368
|
-
|
|
2369
|
-
|
|
2283
|
+
(x) => GetDrainProjectAccess2$inboundSchema.parse(JSON.parse(x)),
|
|
2284
|
+
`Failed to parse 'GetDrainProjectAccess2' from JSON`,
|
|
2285
|
+
);
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
/** @internal */
|
|
2289
|
+
export const GetDrainProjectAccessAccess$inboundSchema: z.ZodNativeEnum<
|
|
2290
|
+
typeof GetDrainProjectAccessAccess
|
|
2291
|
+
> = z.nativeEnum(GetDrainProjectAccessAccess);
|
|
2292
|
+
/** @internal */
|
|
2293
|
+
export const GetDrainProjectAccessAccess$outboundSchema: z.ZodNativeEnum<
|
|
2294
|
+
typeof GetDrainProjectAccessAccess
|
|
2295
|
+
> = GetDrainProjectAccessAccess$inboundSchema;
|
|
2296
|
+
|
|
2297
|
+
/** @internal */
|
|
2298
|
+
export const GetDrainProjectAccess1$inboundSchema: z.ZodType<
|
|
2299
|
+
GetDrainProjectAccess1,
|
|
2300
|
+
z.ZodTypeDef,
|
|
2301
|
+
unknown
|
|
2302
|
+
> = z.object({
|
|
2303
|
+
access: GetDrainProjectAccessAccess$inboundSchema,
|
|
2304
|
+
});
|
|
2305
|
+
/** @internal */
|
|
2306
|
+
export type GetDrainProjectAccess1$Outbound = {
|
|
2307
|
+
access: string;
|
|
2308
|
+
};
|
|
2309
|
+
|
|
2310
|
+
/** @internal */
|
|
2311
|
+
export const GetDrainProjectAccess1$outboundSchema: z.ZodType<
|
|
2312
|
+
GetDrainProjectAccess1$Outbound,
|
|
2313
|
+
z.ZodTypeDef,
|
|
2314
|
+
GetDrainProjectAccess1
|
|
2315
|
+
> = z.object({
|
|
2316
|
+
access: GetDrainProjectAccessAccess$outboundSchema,
|
|
2317
|
+
});
|
|
2318
|
+
|
|
2319
|
+
export function getDrainProjectAccess1ToJSON(
|
|
2320
|
+
getDrainProjectAccess1: GetDrainProjectAccess1,
|
|
2321
|
+
): string {
|
|
2322
|
+
return JSON.stringify(
|
|
2323
|
+
GetDrainProjectAccess1$outboundSchema.parse(getDrainProjectAccess1),
|
|
2324
|
+
);
|
|
2325
|
+
}
|
|
2326
|
+
export function getDrainProjectAccess1FromJSON(
|
|
2327
|
+
jsonString: string,
|
|
2328
|
+
): SafeParseResult<GetDrainProjectAccess1, SDKValidationError> {
|
|
2329
|
+
return safeParse(
|
|
2330
|
+
jsonString,
|
|
2331
|
+
(x) => GetDrainProjectAccess1$inboundSchema.parse(JSON.parse(x)),
|
|
2332
|
+
`Failed to parse 'GetDrainProjectAccess1' from JSON`,
|
|
2333
|
+
);
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
/** @internal */
|
|
2337
|
+
export const ResponseBodyProjectAccess$inboundSchema: z.ZodType<
|
|
2338
|
+
ResponseBodyProjectAccess,
|
|
2339
|
+
z.ZodTypeDef,
|
|
2340
|
+
unknown
|
|
2341
|
+
> = z.union([
|
|
2342
|
+
z.lazy(() => GetDrainProjectAccess2$inboundSchema),
|
|
2343
|
+
z.lazy(() => GetDrainProjectAccess1$inboundSchema),
|
|
2344
|
+
]);
|
|
2345
|
+
/** @internal */
|
|
2346
|
+
export type ResponseBodyProjectAccess$Outbound =
|
|
2347
|
+
| GetDrainProjectAccess2$Outbound
|
|
2348
|
+
| GetDrainProjectAccess1$Outbound;
|
|
2349
|
+
|
|
2350
|
+
/** @internal */
|
|
2351
|
+
export const ResponseBodyProjectAccess$outboundSchema: z.ZodType<
|
|
2352
|
+
ResponseBodyProjectAccess$Outbound,
|
|
2353
|
+
z.ZodTypeDef,
|
|
2354
|
+
ResponseBodyProjectAccess
|
|
2355
|
+
> = z.union([
|
|
2356
|
+
z.lazy(() => GetDrainProjectAccess2$outboundSchema),
|
|
2357
|
+
z.lazy(() => GetDrainProjectAccess1$outboundSchema),
|
|
2358
|
+
]);
|
|
2359
|
+
|
|
2360
|
+
export function responseBodyProjectAccessToJSON(
|
|
2361
|
+
responseBodyProjectAccess: ResponseBodyProjectAccess,
|
|
2362
|
+
): string {
|
|
2363
|
+
return JSON.stringify(
|
|
2364
|
+
ResponseBodyProjectAccess$outboundSchema.parse(responseBodyProjectAccess),
|
|
2365
|
+
);
|
|
2366
|
+
}
|
|
2367
|
+
export function responseBodyProjectAccessFromJSON(
|
|
2368
|
+
jsonString: string,
|
|
2369
|
+
): SafeParseResult<ResponseBodyProjectAccess, SDKValidationError> {
|
|
2370
|
+
return safeParse(
|
|
2371
|
+
jsonString,
|
|
2372
|
+
(x) => ResponseBodyProjectAccess$inboundSchema.parse(JSON.parse(x)),
|
|
2373
|
+
`Failed to parse 'ResponseBodyProjectAccess' from JSON`,
|
|
2370
2374
|
);
|
|
2371
2375
|
}
|
|
2372
2376
|
|
|
@@ -2380,7 +2384,6 @@ export const GetDrainResponseBody2$inboundSchema: z.ZodType<
|
|
|
2380
2384
|
ownerId: z.string(),
|
|
2381
2385
|
name: z.string(),
|
|
2382
2386
|
createdAt: z.number(),
|
|
2383
|
-
createdFrom: GetDrainResponseBodyDrainsCreatedFrom$inboundSchema.optional(),
|
|
2384
2387
|
updatedAt: z.number(),
|
|
2385
2388
|
projectIds: z.array(z.string()).optional(),
|
|
2386
2389
|
schemas: z.lazy(() => GetDrainResponseBodyDrainsSchemas$inboundSchema)
|
|
@@ -2401,8 +2404,6 @@ export const GetDrainResponseBody2$inboundSchema: z.ZodType<
|
|
|
2401
2404
|
.optional(),
|
|
2402
2405
|
disabledBy: z.string().optional(),
|
|
2403
2406
|
firstErrorTimestamp: z.number().optional(),
|
|
2404
|
-
configurationId: z.string().optional(),
|
|
2405
|
-
clientId: z.string().optional(),
|
|
2406
2407
|
source: z.union([
|
|
2407
2408
|
z.lazy(() => GetDrainSourceDrains2$inboundSchema),
|
|
2408
2409
|
z.lazy(() => GetDrainSourceDrains1$inboundSchema),
|
|
@@ -2415,9 +2416,10 @@ export const GetDrainResponseBody2$inboundSchema: z.ZodType<
|
|
|
2415
2416
|
integrationIcon: z.string().optional(),
|
|
2416
2417
|
integrationConfigurationUri: z.string().optional(),
|
|
2417
2418
|
integrationWebsite: z.string().optional(),
|
|
2418
|
-
|
|
2419
|
-
z.lazy(() =>
|
|
2420
|
-
|
|
2419
|
+
projectAccess: z.union([
|
|
2420
|
+
z.lazy(() => GetDrainProjectAccess2$inboundSchema),
|
|
2421
|
+
z.lazy(() => GetDrainProjectAccess1$inboundSchema),
|
|
2422
|
+
]).optional(),
|
|
2421
2423
|
});
|
|
2422
2424
|
/** @internal */
|
|
2423
2425
|
export type GetDrainResponseBody2$Outbound = {
|
|
@@ -2425,7 +2427,6 @@ export type GetDrainResponseBody2$Outbound = {
|
|
|
2425
2427
|
ownerId: string;
|
|
2426
2428
|
name: string;
|
|
2427
2429
|
createdAt: number;
|
|
2428
|
-
createdFrom?: string | undefined;
|
|
2429
2430
|
updatedAt: number;
|
|
2430
2431
|
projectIds?: Array<string> | undefined;
|
|
2431
2432
|
schemas?: GetDrainResponseBodyDrainsSchemas$Outbound | undefined;
|
|
@@ -2442,8 +2443,6 @@ export type GetDrainResponseBody2$Outbound = {
|
|
|
2442
2443
|
disabledReason?: string | undefined;
|
|
2443
2444
|
disabledBy?: string | undefined;
|
|
2444
2445
|
firstErrorTimestamp?: number | undefined;
|
|
2445
|
-
configurationId?: string | undefined;
|
|
2446
|
-
clientId?: string | undefined;
|
|
2447
2446
|
source: GetDrainSourceDrains2$Outbound | GetDrainSourceDrains1$Outbound;
|
|
2448
2447
|
filter?: string | undefined;
|
|
2449
2448
|
filterV2?:
|
|
@@ -2453,8 +2452,9 @@ export type GetDrainResponseBody2$Outbound = {
|
|
|
2453
2452
|
integrationIcon?: string | undefined;
|
|
2454
2453
|
integrationConfigurationUri?: string | undefined;
|
|
2455
2454
|
integrationWebsite?: string | undefined;
|
|
2456
|
-
|
|
2457
|
-
|
|
|
2455
|
+
projectAccess?:
|
|
2456
|
+
| GetDrainProjectAccess2$Outbound
|
|
2457
|
+
| GetDrainProjectAccess1$Outbound
|
|
2458
2458
|
| undefined;
|
|
2459
2459
|
};
|
|
2460
2460
|
|
|
@@ -2468,7 +2468,6 @@ export const GetDrainResponseBody2$outboundSchema: z.ZodType<
|
|
|
2468
2468
|
ownerId: z.string(),
|
|
2469
2469
|
name: z.string(),
|
|
2470
2470
|
createdAt: z.number(),
|
|
2471
|
-
createdFrom: GetDrainResponseBodyDrainsCreatedFrom$outboundSchema.optional(),
|
|
2472
2471
|
updatedAt: z.number(),
|
|
2473
2472
|
projectIds: z.array(z.string()).optional(),
|
|
2474
2473
|
schemas: z.lazy(() => GetDrainResponseBodyDrainsSchemas$outboundSchema)
|
|
@@ -2489,8 +2488,6 @@ export const GetDrainResponseBody2$outboundSchema: z.ZodType<
|
|
|
2489
2488
|
.optional(),
|
|
2490
2489
|
disabledBy: z.string().optional(),
|
|
2491
2490
|
firstErrorTimestamp: z.number().optional(),
|
|
2492
|
-
configurationId: z.string().optional(),
|
|
2493
|
-
clientId: z.string().optional(),
|
|
2494
2491
|
source: z.union([
|
|
2495
2492
|
z.lazy(() => GetDrainSourceDrains2$outboundSchema),
|
|
2496
2493
|
z.lazy(() => GetDrainSourceDrains1$outboundSchema),
|
|
@@ -2503,9 +2500,10 @@ export const GetDrainResponseBody2$outboundSchema: z.ZodType<
|
|
|
2503
2500
|
integrationIcon: z.string().optional(),
|
|
2504
2501
|
integrationConfigurationUri: z.string().optional(),
|
|
2505
2502
|
integrationWebsite: z.string().optional(),
|
|
2506
|
-
|
|
2507
|
-
z.lazy(() =>
|
|
2508
|
-
|
|
2503
|
+
projectAccess: z.union([
|
|
2504
|
+
z.lazy(() => GetDrainProjectAccess2$outboundSchema),
|
|
2505
|
+
z.lazy(() => GetDrainProjectAccess1$outboundSchema),
|
|
2506
|
+
]).optional(),
|
|
2509
2507
|
});
|
|
2510
2508
|
|
|
2511
2509
|
export function getDrainResponseBody2ToJSON(
|
|
@@ -2525,15 +2523,6 @@ export function getDrainResponseBody2FromJSON(
|
|
|
2525
2523
|
);
|
|
2526
2524
|
}
|
|
2527
2525
|
|
|
2528
|
-
/** @internal */
|
|
2529
|
-
export const GetDrainResponseBodyCreatedFrom$inboundSchema: z.ZodNativeEnum<
|
|
2530
|
-
typeof GetDrainResponseBodyCreatedFrom
|
|
2531
|
-
> = z.nativeEnum(GetDrainResponseBodyCreatedFrom);
|
|
2532
|
-
/** @internal */
|
|
2533
|
-
export const GetDrainResponseBodyCreatedFrom$outboundSchema: z.ZodNativeEnum<
|
|
2534
|
-
typeof GetDrainResponseBodyCreatedFrom
|
|
2535
|
-
> = GetDrainResponseBodyCreatedFrom$inboundSchema;
|
|
2536
|
-
|
|
2537
2526
|
/** @internal */
|
|
2538
2527
|
export const GetDrainResponseBodyLog$inboundSchema: z.ZodType<
|
|
2539
2528
|
GetDrainResponseBodyLog,
|
|
@@ -3937,7 +3926,6 @@ export const GetDrainResponseBody1$inboundSchema: z.ZodType<
|
|
|
3937
3926
|
ownerId: z.string(),
|
|
3938
3927
|
name: z.string(),
|
|
3939
3928
|
createdAt: z.number(),
|
|
3940
|
-
createdFrom: GetDrainResponseBodyCreatedFrom$inboundSchema.optional(),
|
|
3941
3929
|
updatedAt: z.number(),
|
|
3942
3930
|
projectIds: z.array(z.string()).optional(),
|
|
3943
3931
|
schemas: z.lazy(() => GetDrainResponseBodySchemas$inboundSchema).optional(),
|
|
@@ -3955,8 +3943,6 @@ export const GetDrainResponseBody1$inboundSchema: z.ZodType<
|
|
|
3955
3943
|
disabledReason: GetDrainResponseBodyDisabledReason$inboundSchema.optional(),
|
|
3956
3944
|
disabledBy: z.string().optional(),
|
|
3957
3945
|
firstErrorTimestamp: z.number().optional(),
|
|
3958
|
-
configurationId: z.string().optional(),
|
|
3959
|
-
clientId: z.string().optional(),
|
|
3960
3946
|
source: z.union([
|
|
3961
3947
|
z.lazy(() => GetDrainSource2$inboundSchema),
|
|
3962
3948
|
z.lazy(() => GetDrainSource1$inboundSchema),
|
|
@@ -3973,7 +3959,6 @@ export type GetDrainResponseBody1$Outbound = {
|
|
|
3973
3959
|
ownerId: string;
|
|
3974
3960
|
name: string;
|
|
3975
3961
|
createdAt: number;
|
|
3976
|
-
createdFrom?: string | undefined;
|
|
3977
3962
|
updatedAt: number;
|
|
3978
3963
|
projectIds?: Array<string> | undefined;
|
|
3979
3964
|
schemas?: GetDrainResponseBodySchemas$Outbound | undefined;
|
|
@@ -3990,8 +3975,6 @@ export type GetDrainResponseBody1$Outbound = {
|
|
|
3990
3975
|
disabledReason?: string | undefined;
|
|
3991
3976
|
disabledBy?: string | undefined;
|
|
3992
3977
|
firstErrorTimestamp?: number | undefined;
|
|
3993
|
-
configurationId?: string | undefined;
|
|
3994
|
-
clientId?: string | undefined;
|
|
3995
3978
|
source: GetDrainSource2$Outbound | GetDrainSource1$Outbound;
|
|
3996
3979
|
filter?: string | undefined;
|
|
3997
3980
|
filterV2?:
|
|
@@ -4010,7 +3993,6 @@ export const GetDrainResponseBody1$outboundSchema: z.ZodType<
|
|
|
4010
3993
|
ownerId: z.string(),
|
|
4011
3994
|
name: z.string(),
|
|
4012
3995
|
createdAt: z.number(),
|
|
4013
|
-
createdFrom: GetDrainResponseBodyCreatedFrom$outboundSchema.optional(),
|
|
4014
3996
|
updatedAt: z.number(),
|
|
4015
3997
|
projectIds: z.array(z.string()).optional(),
|
|
4016
3998
|
schemas: z.lazy(() => GetDrainResponseBodySchemas$outboundSchema).optional(),
|
|
@@ -4028,8 +4010,6 @@ export const GetDrainResponseBody1$outboundSchema: z.ZodType<
|
|
|
4028
4010
|
disabledReason: GetDrainResponseBodyDisabledReason$outboundSchema.optional(),
|
|
4029
4011
|
disabledBy: z.string().optional(),
|
|
4030
4012
|
firstErrorTimestamp: z.number().optional(),
|
|
4031
|
-
configurationId: z.string().optional(),
|
|
4032
|
-
clientId: z.string().optional(),
|
|
4033
4013
|
source: z.union([
|
|
4034
4014
|
z.lazy(() => GetDrainSource2$outboundSchema),
|
|
4035
4015
|
z.lazy(() => GetDrainSource1$outboundSchema),
|