@vercel/sdk 1.10.2 → 1.10.4
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 +582 -281
- package/bin/mcp-server.js.map +21 -21
- package/docs/sdks/aliases/README.md +1 -1
- package/esm/__tests__/aliases.test.js +1 -20
- package/esm/__tests__/aliases.test.js.map +1 -1
- package/esm/__tests__/teams.test.js +0 -2
- package/esm/__tests__/teams.test.js.map +1 -1
- package/esm/funcs/aliasesGetAlias.d.ts +2 -2
- package/esm/funcs/aliasesGetAlias.d.ts.map +1 -1
- package/esm/funcs/aliasesGetAlias.js +2 -2
- package/esm/funcs/aliasesGetAlias.js.map +1 -1
- package/esm/funcs/domainsGetDomainConfig.js +1 -0
- package/esm/funcs/domainsGetDomainConfig.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/createdeploymentop.d.ts +50 -50
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +28 -28
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +156 -156
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +148 -148
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +9 -9
- package/esm/models/filterprojectenvsop.js +3 -3
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getaliasop.d.ts +654 -0
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +546 -0
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getdomainconfigop.d.ts +63 -0
- package/esm/models/getdomainconfigop.d.ts.map +1 -1
- package/esm/models/getdomainconfigop.js +52 -0
- package/esm/models/getdomainconfigop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +0 -3
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +0 -1
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/listaliasesop.d.ts +66 -66
- package/esm/models/listaliasesop.d.ts.map +1 -1
- package/esm/models/listaliasesop.js +78 -78
- package/esm/models/listaliasesop.js.map +1 -1
- package/esm/models/listdeploymentaliasesop.d.ts +30 -30
- package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
- package/esm/models/listdeploymentaliasesop.js +34 -34
- package/esm/models/listdeploymentaliasesop.js.map +1 -1
- package/esm/models/putfirewallconfigop.d.ts +0 -3
- package/esm/models/putfirewallconfigop.d.ts.map +1 -1
- package/esm/models/putfirewallconfigop.js +0 -1
- package/esm/models/putfirewallconfigop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/team.d.ts +0 -2
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +0 -2
- package/esm/models/team.js.map +1 -1
- package/esm/models/teamlimited.d.ts +0 -2
- package/esm/models/teamlimited.d.ts.map +1 -1
- package/esm/models/teamlimited.js +0 -2
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/sdk/aliases.d.ts +2 -2
- package/esm/sdk/aliases.d.ts.map +1 -1
- package/examples/package-lock.json +1 -1
- package/examples/projectsUpdateProject.example.ts +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/aliases.test.ts +1 -20
- package/src/__tests__/teams.test.ts +0 -2
- package/src/funcs/aliasesGetAlias.ts +6 -4
- package/src/funcs/domainsGetDomainConfig.ts +1 -0
- 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/createdeploymentop.ts +76 -54
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +286 -286
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/filterprojectenvsop.ts +3 -3
- package/src/models/getaliasop.ts +1262 -0
- package/src/models/getdomainconfigop.ts +129 -0
- package/src/models/getfirewallconfigop.ts +0 -1
- package/src/models/listaliasesop.ts +143 -124
- package/src/models/listdeploymentaliasesop.ts +70 -58
- package/src/models/putfirewallconfigop.ts +0 -1
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/team.ts +0 -4
- package/src/models/teamlimited.ts +0 -4
- package/src/sdk/aliases.ts +2 -2
- package/vercel-spec.json +874 -509
|
@@ -34,7 +34,7 @@ export type ListDeploymentAliasesProtectionBypassAliasesResponse200Scope =
|
|
|
34
34
|
/**
|
|
35
35
|
* The protection bypass for the alias
|
|
36
36
|
*/
|
|
37
|
-
export type
|
|
37
|
+
export type ListDeploymentAliasesProtectionBypass4 = {
|
|
38
38
|
createdAt: number;
|
|
39
39
|
lastUpdatedAt: number;
|
|
40
40
|
lastUpdatedBy: string;
|
|
@@ -50,7 +50,7 @@ export type ListDeploymentAliasesProtectionBypassAliasesResponseScope =
|
|
|
50
50
|
/**
|
|
51
51
|
* The protection bypass for the alias
|
|
52
52
|
*/
|
|
53
|
-
export type
|
|
53
|
+
export type ListDeploymentAliasesProtectionBypass3 = {
|
|
54
54
|
createdAt: number;
|
|
55
55
|
createdBy: string;
|
|
56
56
|
scope: ListDeploymentAliasesProtectionBypassAliasesResponseScope;
|
|
@@ -100,9 +100,9 @@ export type ListDeploymentAliasesProtectionBypass1 = {
|
|
|
100
100
|
|
|
101
101
|
export type ListDeploymentAliasesProtectionBypass =
|
|
102
102
|
| ListDeploymentAliasesProtectionBypass2
|
|
103
|
-
|
|
|
103
|
+
| ListDeploymentAliasesProtectionBypass4
|
|
104
104
|
| ListDeploymentAliasesProtectionBypass1
|
|
105
|
-
|
|
|
105
|
+
| ListDeploymentAliasesProtectionBypass3;
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
108
|
* A list of the aliases assigned to the deployment
|
|
@@ -130,9 +130,9 @@ export type Aliases = {
|
|
|
130
130
|
protectionBypass?: {
|
|
131
131
|
[k: string]:
|
|
132
132
|
| ListDeploymentAliasesProtectionBypass2
|
|
133
|
-
|
|
|
133
|
+
| ListDeploymentAliasesProtectionBypass4
|
|
134
134
|
| ListDeploymentAliasesProtectionBypass1
|
|
135
|
-
|
|
|
135
|
+
| ListDeploymentAliasesProtectionBypass3;
|
|
136
136
|
} | undefined;
|
|
137
137
|
};
|
|
138
138
|
|
|
@@ -237,8 +237,8 @@ export namespace ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$ {
|
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
/** @internal */
|
|
240
|
-
export const
|
|
241
|
-
|
|
240
|
+
export const ListDeploymentAliasesProtectionBypass4$inboundSchema: z.ZodType<
|
|
241
|
+
ListDeploymentAliasesProtectionBypass4,
|
|
242
242
|
z.ZodTypeDef,
|
|
243
243
|
unknown
|
|
244
244
|
> = z.object({
|
|
@@ -250,7 +250,7 @@ export const ProtectionBypass4$inboundSchema: z.ZodType<
|
|
|
250
250
|
});
|
|
251
251
|
|
|
252
252
|
/** @internal */
|
|
253
|
-
export type
|
|
253
|
+
export type ListDeploymentAliasesProtectionBypass4$Outbound = {
|
|
254
254
|
createdAt: number;
|
|
255
255
|
lastUpdatedAt: number;
|
|
256
256
|
lastUpdatedBy: string;
|
|
@@ -258,10 +258,10 @@ export type ProtectionBypass4$Outbound = {
|
|
|
258
258
|
};
|
|
259
259
|
|
|
260
260
|
/** @internal */
|
|
261
|
-
export const
|
|
262
|
-
|
|
261
|
+
export const ListDeploymentAliasesProtectionBypass4$outboundSchema: z.ZodType<
|
|
262
|
+
ListDeploymentAliasesProtectionBypass4$Outbound,
|
|
263
263
|
z.ZodTypeDef,
|
|
264
|
-
|
|
264
|
+
ListDeploymentAliasesProtectionBypass4
|
|
265
265
|
> = z.object({
|
|
266
266
|
createdAt: z.number(),
|
|
267
267
|
lastUpdatedAt: z.number(),
|
|
@@ -274,30 +274,36 @@ export const ProtectionBypass4$outboundSchema: z.ZodType<
|
|
|
274
274
|
* @internal
|
|
275
275
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
276
276
|
*/
|
|
277
|
-
export namespace
|
|
278
|
-
/** @deprecated use `
|
|
279
|
-
export const inboundSchema =
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
277
|
+
export namespace ListDeploymentAliasesProtectionBypass4$ {
|
|
278
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypass4$inboundSchema` instead. */
|
|
279
|
+
export const inboundSchema =
|
|
280
|
+
ListDeploymentAliasesProtectionBypass4$inboundSchema;
|
|
281
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypass4$outboundSchema` instead. */
|
|
282
|
+
export const outboundSchema =
|
|
283
|
+
ListDeploymentAliasesProtectionBypass4$outboundSchema;
|
|
284
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypass4$Outbound` instead. */
|
|
285
|
+
export type Outbound = ListDeploymentAliasesProtectionBypass4$Outbound;
|
|
284
286
|
}
|
|
285
287
|
|
|
286
|
-
export function
|
|
287
|
-
|
|
288
|
+
export function listDeploymentAliasesProtectionBypass4ToJSON(
|
|
289
|
+
listDeploymentAliasesProtectionBypass4:
|
|
290
|
+
ListDeploymentAliasesProtectionBypass4,
|
|
288
291
|
): string {
|
|
289
292
|
return JSON.stringify(
|
|
290
|
-
|
|
293
|
+
ListDeploymentAliasesProtectionBypass4$outboundSchema.parse(
|
|
294
|
+
listDeploymentAliasesProtectionBypass4,
|
|
295
|
+
),
|
|
291
296
|
);
|
|
292
297
|
}
|
|
293
298
|
|
|
294
|
-
export function
|
|
299
|
+
export function listDeploymentAliasesProtectionBypass4FromJSON(
|
|
295
300
|
jsonString: string,
|
|
296
|
-
): SafeParseResult<
|
|
301
|
+
): SafeParseResult<ListDeploymentAliasesProtectionBypass4, SDKValidationError> {
|
|
297
302
|
return safeParse(
|
|
298
303
|
jsonString,
|
|
299
|
-
(x) =>
|
|
300
|
-
|
|
304
|
+
(x) =>
|
|
305
|
+
ListDeploymentAliasesProtectionBypass4$inboundSchema.parse(JSON.parse(x)),
|
|
306
|
+
`Failed to parse 'ListDeploymentAliasesProtectionBypass4' from JSON`,
|
|
301
307
|
);
|
|
302
308
|
}
|
|
303
309
|
|
|
@@ -327,8 +333,8 @@ export namespace ListDeploymentAliasesProtectionBypassAliasesResponseScope$ {
|
|
|
327
333
|
}
|
|
328
334
|
|
|
329
335
|
/** @internal */
|
|
330
|
-
export const
|
|
331
|
-
|
|
336
|
+
export const ListDeploymentAliasesProtectionBypass3$inboundSchema: z.ZodType<
|
|
337
|
+
ListDeploymentAliasesProtectionBypass3,
|
|
332
338
|
z.ZodTypeDef,
|
|
333
339
|
unknown
|
|
334
340
|
> = z.object({
|
|
@@ -339,17 +345,17 @@ export const ProtectionBypass3$inboundSchema: z.ZodType<
|
|
|
339
345
|
});
|
|
340
346
|
|
|
341
347
|
/** @internal */
|
|
342
|
-
export type
|
|
348
|
+
export type ListDeploymentAliasesProtectionBypass3$Outbound = {
|
|
343
349
|
createdAt: number;
|
|
344
350
|
createdBy: string;
|
|
345
351
|
scope: string;
|
|
346
352
|
};
|
|
347
353
|
|
|
348
354
|
/** @internal */
|
|
349
|
-
export const
|
|
350
|
-
|
|
355
|
+
export const ListDeploymentAliasesProtectionBypass3$outboundSchema: z.ZodType<
|
|
356
|
+
ListDeploymentAliasesProtectionBypass3$Outbound,
|
|
351
357
|
z.ZodTypeDef,
|
|
352
|
-
|
|
358
|
+
ListDeploymentAliasesProtectionBypass3
|
|
353
359
|
> = z.object({
|
|
354
360
|
createdAt: z.number(),
|
|
355
361
|
createdBy: z.string(),
|
|
@@ -361,30 +367,36 @@ export const ProtectionBypass3$outboundSchema: z.ZodType<
|
|
|
361
367
|
* @internal
|
|
362
368
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
363
369
|
*/
|
|
364
|
-
export namespace
|
|
365
|
-
/** @deprecated use `
|
|
366
|
-
export const inboundSchema =
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
370
|
+
export namespace ListDeploymentAliasesProtectionBypass3$ {
|
|
371
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypass3$inboundSchema` instead. */
|
|
372
|
+
export const inboundSchema =
|
|
373
|
+
ListDeploymentAliasesProtectionBypass3$inboundSchema;
|
|
374
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypass3$outboundSchema` instead. */
|
|
375
|
+
export const outboundSchema =
|
|
376
|
+
ListDeploymentAliasesProtectionBypass3$outboundSchema;
|
|
377
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypass3$Outbound` instead. */
|
|
378
|
+
export type Outbound = ListDeploymentAliasesProtectionBypass3$Outbound;
|
|
371
379
|
}
|
|
372
380
|
|
|
373
|
-
export function
|
|
374
|
-
|
|
381
|
+
export function listDeploymentAliasesProtectionBypass3ToJSON(
|
|
382
|
+
listDeploymentAliasesProtectionBypass3:
|
|
383
|
+
ListDeploymentAliasesProtectionBypass3,
|
|
375
384
|
): string {
|
|
376
385
|
return JSON.stringify(
|
|
377
|
-
|
|
386
|
+
ListDeploymentAliasesProtectionBypass3$outboundSchema.parse(
|
|
387
|
+
listDeploymentAliasesProtectionBypass3,
|
|
388
|
+
),
|
|
378
389
|
);
|
|
379
390
|
}
|
|
380
391
|
|
|
381
|
-
export function
|
|
392
|
+
export function listDeploymentAliasesProtectionBypass3FromJSON(
|
|
382
393
|
jsonString: string,
|
|
383
|
-
): SafeParseResult<
|
|
394
|
+
): SafeParseResult<ListDeploymentAliasesProtectionBypass3, SDKValidationError> {
|
|
384
395
|
return safeParse(
|
|
385
396
|
jsonString,
|
|
386
|
-
(x) =>
|
|
387
|
-
|
|
397
|
+
(x) =>
|
|
398
|
+
ListDeploymentAliasesProtectionBypass3$inboundSchema.parse(JSON.parse(x)),
|
|
399
|
+
`Failed to parse 'ListDeploymentAliasesProtectionBypass3' from JSON`,
|
|
388
400
|
);
|
|
389
401
|
}
|
|
390
402
|
|
|
@@ -602,17 +614,17 @@ export const ListDeploymentAliasesProtectionBypass$inboundSchema: z.ZodType<
|
|
|
602
614
|
unknown
|
|
603
615
|
> = z.union([
|
|
604
616
|
z.lazy(() => ListDeploymentAliasesProtectionBypass2$inboundSchema),
|
|
605
|
-
z.lazy(() =>
|
|
617
|
+
z.lazy(() => ListDeploymentAliasesProtectionBypass4$inboundSchema),
|
|
606
618
|
z.lazy(() => ListDeploymentAliasesProtectionBypass1$inboundSchema),
|
|
607
|
-
z.lazy(() =>
|
|
619
|
+
z.lazy(() => ListDeploymentAliasesProtectionBypass3$inboundSchema),
|
|
608
620
|
]);
|
|
609
621
|
|
|
610
622
|
/** @internal */
|
|
611
623
|
export type ListDeploymentAliasesProtectionBypass$Outbound =
|
|
612
624
|
| ListDeploymentAliasesProtectionBypass2$Outbound
|
|
613
|
-
|
|
|
625
|
+
| ListDeploymentAliasesProtectionBypass4$Outbound
|
|
614
626
|
| ListDeploymentAliasesProtectionBypass1$Outbound
|
|
615
|
-
|
|
|
627
|
+
| ListDeploymentAliasesProtectionBypass3$Outbound;
|
|
616
628
|
|
|
617
629
|
/** @internal */
|
|
618
630
|
export const ListDeploymentAliasesProtectionBypass$outboundSchema: z.ZodType<
|
|
@@ -621,9 +633,9 @@ export const ListDeploymentAliasesProtectionBypass$outboundSchema: z.ZodType<
|
|
|
621
633
|
ListDeploymentAliasesProtectionBypass
|
|
622
634
|
> = z.union([
|
|
623
635
|
z.lazy(() => ListDeploymentAliasesProtectionBypass2$outboundSchema),
|
|
624
|
-
z.lazy(() =>
|
|
636
|
+
z.lazy(() => ListDeploymentAliasesProtectionBypass4$outboundSchema),
|
|
625
637
|
z.lazy(() => ListDeploymentAliasesProtectionBypass1$outboundSchema),
|
|
626
|
-
z.lazy(() =>
|
|
638
|
+
z.lazy(() => ListDeploymentAliasesProtectionBypass3$outboundSchema),
|
|
627
639
|
]);
|
|
628
640
|
|
|
629
641
|
/**
|
|
@@ -672,9 +684,9 @@ export const Aliases$inboundSchema: z.ZodType<Aliases, z.ZodTypeDef, unknown> =
|
|
|
672
684
|
protectionBypass: z.record(
|
|
673
685
|
z.union([
|
|
674
686
|
z.lazy(() => ListDeploymentAliasesProtectionBypass2$inboundSchema),
|
|
675
|
-
z.lazy(() =>
|
|
687
|
+
z.lazy(() => ListDeploymentAliasesProtectionBypass4$inboundSchema),
|
|
676
688
|
z.lazy(() => ListDeploymentAliasesProtectionBypass1$inboundSchema),
|
|
677
|
-
z.lazy(() =>
|
|
689
|
+
z.lazy(() => ListDeploymentAliasesProtectionBypass3$inboundSchema),
|
|
678
690
|
]),
|
|
679
691
|
).optional(),
|
|
680
692
|
});
|
|
@@ -688,9 +700,9 @@ export type Aliases$Outbound = {
|
|
|
688
700
|
protectionBypass?: {
|
|
689
701
|
[k: string]:
|
|
690
702
|
| ListDeploymentAliasesProtectionBypass2$Outbound
|
|
691
|
-
|
|
|
703
|
+
| ListDeploymentAliasesProtectionBypass4$Outbound
|
|
692
704
|
| ListDeploymentAliasesProtectionBypass1$Outbound
|
|
693
|
-
|
|
|
705
|
+
| ListDeploymentAliasesProtectionBypass3$Outbound;
|
|
694
706
|
} | undefined;
|
|
695
707
|
};
|
|
696
708
|
|
|
@@ -707,9 +719,9 @@ export const Aliases$outboundSchema: z.ZodType<
|
|
|
707
719
|
protectionBypass: z.record(
|
|
708
720
|
z.union([
|
|
709
721
|
z.lazy(() => ListDeploymentAliasesProtectionBypass2$outboundSchema),
|
|
710
|
-
z.lazy(() =>
|
|
722
|
+
z.lazy(() => ListDeploymentAliasesProtectionBypass4$outboundSchema),
|
|
711
723
|
z.lazy(() => ListDeploymentAliasesProtectionBypass1$outboundSchema),
|
|
712
|
-
z.lazy(() =>
|
|
724
|
+
z.lazy(() => ListDeploymentAliasesProtectionBypass3$outboundSchema),
|
|
713
725
|
]),
|
|
714
726
|
).optional(),
|
|
715
727
|
});
|
|
@@ -684,7 +684,6 @@ export const PutFirewallConfigSecurityType = {
|
|
|
684
684
|
Ja4Digest: "ja4_digest",
|
|
685
685
|
Ja3Digest: "ja3_digest",
|
|
686
686
|
RateLimitApiId: "rate_limit_api_id",
|
|
687
|
-
BotName: "bot_name",
|
|
688
687
|
} as const;
|
|
689
688
|
export type PutFirewallConfigSecurityType = ClosedEnum<
|
|
690
689
|
typeof PutFirewallConfigSecurityType
|
|
@@ -55,10 +55,10 @@ export type RemoveProjectEnvResponseBodyProjectsResponseTarget =
|
|
|
55
55
|
|
|
56
56
|
export const RemoveProjectEnvResponseBodyProjectsResponseType = {
|
|
57
57
|
System: "system",
|
|
58
|
-
Secret: "secret",
|
|
59
58
|
Encrypted: "encrypted",
|
|
60
59
|
Plain: "plain",
|
|
61
60
|
Sensitive: "sensitive",
|
|
61
|
+
Secret: "secret",
|
|
62
62
|
} as const;
|
|
63
63
|
export type RemoveProjectEnvResponseBodyProjectsResponseType = ClosedEnum<
|
|
64
64
|
typeof RemoveProjectEnvResponseBodyProjectsResponseType
|
|
@@ -405,10 +405,10 @@ export type RemoveProjectEnvResponseBodyProjectsTarget =
|
|
|
405
405
|
|
|
406
406
|
export const RemoveProjectEnvResponseBodyProjectsType = {
|
|
407
407
|
System: "system",
|
|
408
|
-
Secret: "secret",
|
|
409
408
|
Encrypted: "encrypted",
|
|
410
409
|
Plain: "plain",
|
|
411
410
|
Sensitive: "sensitive",
|
|
411
|
+
Secret: "secret",
|
|
412
412
|
} as const;
|
|
413
413
|
export type RemoveProjectEnvResponseBodyProjectsType = ClosedEnum<
|
|
414
414
|
typeof RemoveProjectEnvResponseBodyProjectsType
|
|
@@ -754,10 +754,10 @@ export type RemoveProjectEnvResponseBodyTarget =
|
|
|
754
754
|
|
|
755
755
|
export const RemoveProjectEnvResponseBodyType = {
|
|
756
756
|
System: "system",
|
|
757
|
-
Secret: "secret",
|
|
758
757
|
Encrypted: "encrypted",
|
|
759
758
|
Plain: "plain",
|
|
760
759
|
Sensitive: "sensitive",
|
|
760
|
+
Secret: "secret",
|
|
761
761
|
} as const;
|
|
762
762
|
export type RemoveProjectEnvResponseBodyType = ClosedEnum<
|
|
763
763
|
typeof RemoveProjectEnvResponseBodyType
|
package/src/models/team.ts
CHANGED
|
@@ -316,7 +316,6 @@ export type Membership = {
|
|
|
316
316
|
entitlements?: Array<Entitlements> | undefined;
|
|
317
317
|
teamId?: string | undefined;
|
|
318
318
|
confirmed: boolean;
|
|
319
|
-
confirmedAt: number;
|
|
320
319
|
accessRequestedAt?: number | undefined;
|
|
321
320
|
role: Role;
|
|
322
321
|
teamRoles?: Array<TeamRoles> | undefined;
|
|
@@ -1498,7 +1497,6 @@ export const Membership$inboundSchema: z.ZodType<
|
|
|
1498
1497
|
entitlements: z.array(z.lazy(() => Entitlements$inboundSchema)).optional(),
|
|
1499
1498
|
teamId: z.string().optional(),
|
|
1500
1499
|
confirmed: z.boolean(),
|
|
1501
|
-
confirmedAt: z.number(),
|
|
1502
1500
|
accessRequestedAt: z.number().optional(),
|
|
1503
1501
|
role: Role$inboundSchema,
|
|
1504
1502
|
teamRoles: z.array(TeamRoles$inboundSchema).optional(),
|
|
@@ -1514,7 +1512,6 @@ export type Membership$Outbound = {
|
|
|
1514
1512
|
entitlements?: Array<Entitlements$Outbound> | undefined;
|
|
1515
1513
|
teamId?: string | undefined;
|
|
1516
1514
|
confirmed: boolean;
|
|
1517
|
-
confirmedAt: number;
|
|
1518
1515
|
accessRequestedAt?: number | undefined;
|
|
1519
1516
|
role: string;
|
|
1520
1517
|
teamRoles?: Array<string> | undefined;
|
|
@@ -1534,7 +1531,6 @@ export const Membership$outboundSchema: z.ZodType<
|
|
|
1534
1531
|
entitlements: z.array(z.lazy(() => Entitlements$outboundSchema)).optional(),
|
|
1535
1532
|
teamId: z.string().optional(),
|
|
1536
1533
|
confirmed: z.boolean(),
|
|
1537
|
-
confirmedAt: z.number(),
|
|
1538
1534
|
accessRequestedAt: z.number().optional(),
|
|
1539
1535
|
role: Role$outboundSchema,
|
|
1540
1536
|
teamRoles: z.array(TeamRoles$outboundSchema).optional(),
|
|
@@ -161,7 +161,6 @@ export type TeamLimitedMembership = {
|
|
|
161
161
|
entitlements?: Array<TeamLimitedEntitlements> | undefined;
|
|
162
162
|
teamId?: string | undefined;
|
|
163
163
|
confirmed: boolean;
|
|
164
|
-
confirmedAt: number;
|
|
165
164
|
accessRequestedAt?: number | undefined;
|
|
166
165
|
role: TeamLimitedRole;
|
|
167
166
|
teamRoles?: Array<TeamLimitedTeamRoles> | undefined;
|
|
@@ -697,7 +696,6 @@ export const TeamLimitedMembership$inboundSchema: z.ZodType<
|
|
|
697
696
|
.optional(),
|
|
698
697
|
teamId: z.string().optional(),
|
|
699
698
|
confirmed: z.boolean(),
|
|
700
|
-
confirmedAt: z.number(),
|
|
701
699
|
accessRequestedAt: z.number().optional(),
|
|
702
700
|
role: TeamLimitedRole$inboundSchema,
|
|
703
701
|
teamRoles: z.array(TeamLimitedTeamRoles$inboundSchema).optional(),
|
|
@@ -713,7 +711,6 @@ export type TeamLimitedMembership$Outbound = {
|
|
|
713
711
|
entitlements?: Array<TeamLimitedEntitlements$Outbound> | undefined;
|
|
714
712
|
teamId?: string | undefined;
|
|
715
713
|
confirmed: boolean;
|
|
716
|
-
confirmedAt: number;
|
|
717
714
|
accessRequestedAt?: number | undefined;
|
|
718
715
|
role: string;
|
|
719
716
|
teamRoles?: Array<string> | undefined;
|
|
@@ -734,7 +731,6 @@ export const TeamLimitedMembership$outboundSchema: z.ZodType<
|
|
|
734
731
|
.optional(),
|
|
735
732
|
teamId: z.string().optional(),
|
|
736
733
|
confirmed: z.boolean(),
|
|
737
|
-
confirmedAt: z.number(),
|
|
738
734
|
accessRequestedAt: z.number().optional(),
|
|
739
735
|
role: TeamLimitedRole$outboundSchema,
|
|
740
736
|
teamRoles: z.array(TeamLimitedTeamRoles$outboundSchema).optional(),
|
package/src/sdk/aliases.ts
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
DeleteAliasRequest,
|
|
18
18
|
DeleteAliasResponseBody,
|
|
19
19
|
} from "../models/deletealiasop.js";
|
|
20
|
-
import { GetAliasRequest } from "../models/getaliasop.js";
|
|
20
|
+
import { GetAliasRequest, GetAliasResponseBody } from "../models/getaliasop.js";
|
|
21
21
|
import {
|
|
22
22
|
ListAliasesRequest,
|
|
23
23
|
ListAliasesResponseBody,
|
|
@@ -90,7 +90,7 @@ export class Aliases extends ClientSDK {
|
|
|
90
90
|
async getAlias(
|
|
91
91
|
request: GetAliasRequest,
|
|
92
92
|
options?: RequestOptions,
|
|
93
|
-
): Promise<
|
|
93
|
+
): Promise<Array<GetAliasResponseBody>> {
|
|
94
94
|
return unwrapAsync(aliasesGetAlias(
|
|
95
95
|
this,
|
|
96
96
|
request,
|