@vercel/sdk 1.6.1 → 1.6.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/README.md +4 -10
- package/bin/mcp-server.js +1579 -2527
- package/bin/mcp-server.js.map +29 -38
- package/docs/sdks/integrations/README.md +0 -161
- package/docs/sdks/logdrains/README.md +0 -260
- package/docs/sdks/projects/README.md +162 -0
- package/esm/__tests__/integrations.test.js +5 -40
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/logdrains.test.js +7 -89
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +41 -13
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/funcs/projectsCreateProject.js +2 -2
- package/esm/funcs/projectsCreateProject.js.map +1 -1
- package/esm/funcs/projectsPauseProject.d.ts +18 -0
- package/esm/funcs/projectsPauseProject.d.ts.map +1 -0
- package/esm/funcs/{logDrainsGetConfigurableLogDrain.js → projectsPauseProject.js} +13 -13
- package/esm/funcs/projectsPauseProject.js.map +1 -0
- package/esm/funcs/projectsUnpauseProject.d.ts +18 -0
- package/esm/funcs/projectsUnpauseProject.d.ts.map +1 -0
- package/esm/funcs/{logDrainsGetAllLogDrains.js → projectsUnpauseProject.js} +18 -14
- package/esm/funcs/projectsUnpauseProject.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/matchers.d.ts +3 -1
- package/esm/lib/matchers.d.ts.map +1 -1
- package/esm/lib/matchers.js +10 -0
- package/esm/lib/matchers.js.map +1 -1
- package/esm/lib/sdks.js +7 -2
- package/esm/lib/sdks.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +5 -11
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/projectsPauseProject.d.ts +7 -0
- package/esm/mcp-server/tools/projectsPauseProject.d.ts.map +1 -0
- package/esm/mcp-server/tools/projectsPauseProject.js +27 -0
- package/esm/mcp-server/tools/projectsPauseProject.js.map +1 -0
- package/esm/mcp-server/tools/projectsUnpauseProject.d.ts +7 -0
- package/esm/mcp-server/tools/projectsUnpauseProject.d.ts.map +1 -0
- package/esm/mcp-server/tools/projectsUnpauseProject.js +27 -0
- package/esm/mcp-server/tools/projectsUnpauseProject.js.map +1 -0
- package/esm/models/authuser.d.ts +41 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +29 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +3 -3
- package/esm/models/canceldeploymentop.js +1 -1
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createlogdrainop.d.ts +51 -51
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +74 -75
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +46 -16
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +17 -5
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/exchangessotokenop.d.ts +34 -0
- package/esm/models/exchangessotokenop.d.ts.map +1 -1
- package/esm/models/exchangessotokenop.js +25 -0
- package/esm/models/exchangessotokenop.js.map +1 -1
- package/esm/models/getconfigurationsop.d.ts +19 -16
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +25 -27
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getcustomenvironmentop.d.ts +3 -0
- package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
- package/esm/models/getcustomenvironmentop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +11 -11
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +14 -13
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +46 -16
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +17 -5
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getteammembersop.d.ts +9 -9
- package/esm/models/getteammembersop.js +3 -3
- package/esm/models/getteammembersop.js.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -0
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
- package/esm/models/pauseprojectop.d.ts +42 -0
- package/esm/models/pauseprojectop.d.ts.map +1 -0
- package/esm/models/pauseprojectop.js +35 -0
- package/esm/models/pauseprojectop.js.map +1 -0
- package/esm/models/unpauseprojectop.d.ts +42 -0
- package/esm/models/unpauseprojectop.d.ts.map +1 -0
- package/esm/models/unpauseprojectop.js +35 -0
- package/esm/models/unpauseprojectop.js.map +1 -0
- package/esm/models/updateprojectdatacacheop.d.ts +46 -16
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +17 -5
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +46 -16
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +17 -5
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +569 -512
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +703 -645
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/integrations.d.ts +0 -16
- package/esm/sdk/integrations.d.ts.map +1 -1
- package/esm/sdk/integrations.js +0 -20
- package/esm/sdk/integrations.js.map +1 -1
- package/esm/sdk/logdrains.d.ts +0 -24
- package/esm/sdk/logdrains.d.ts.map +1 -1
- package/esm/sdk/logdrains.js +0 -30
- package/esm/sdk/logdrains.js.map +1 -1
- package/esm/sdk/projects.d.ts +16 -0
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/projects.js +20 -0
- package/esm/sdk/projects.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/integrations.test.ts +9 -44
- package/src/__tests__/logdrains.test.ts +13 -95
- package/src/__tests__/projects.test.ts +47 -13
- package/src/funcs/projectsCreateProject.ts +2 -2
- package/src/funcs/{integrationsGitNamespaces.ts → projectsPauseProject.ts} +30 -25
- package/src/funcs/{logDrainsGetAllLogDrains.ts → projectsUnpauseProject.ts} +27 -24
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +20 -0
- package/src/lib/sdks.ts +8 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -11
- package/src/mcp-server/tools/projectsPauseProject.ts +35 -0
- package/src/mcp-server/tools/projectsUnpauseProject.ts +35 -0
- package/src/models/authuser.ts +74 -0
- package/src/models/canceldeploymentop.ts +1 -1
- package/src/models/createlogdrainop.ts +95 -112
- package/src/models/createprojectop.ts +42 -6
- package/src/models/exchangessotokenop.ts +44 -0
- package/src/models/getconfigurationsop.ts +34 -39
- package/src/models/getcustomenvironmentop.ts +3 -0
- package/src/models/getintegrationlogdrainsop.ts +15 -20
- package/src/models/getprojectsop.ts +42 -6
- package/src/models/getteammembersop.ts +3 -3
- package/src/models/getv9projectsidornamecustomenvironmentsop.ts +3 -0
- package/src/models/pauseprojectop.ts +83 -0
- package/src/models/unpauseprojectop.ts +83 -0
- package/src/models/updateprojectdatacacheop.ts +42 -6
- package/src/models/updateprojectop.ts +42 -6
- package/src/models/userevent.ts +1328 -1193
- package/src/sdk/integrations.ts +0 -44
- package/src/sdk/logdrains.ts +0 -66
- package/src/sdk/projects.ts +38 -0
- package/vercel-spec.json +616 -1392
- package/esm/funcs/integrationsGitNamespaces.d.ts +0 -18
- package/esm/funcs/integrationsGitNamespaces.d.ts.map +0 -1
- package/esm/funcs/integrationsGitNamespaces.js +0 -86
- package/esm/funcs/integrationsGitNamespaces.js.map +0 -1
- package/esm/funcs/integrationsSearchRepo.d.ts +0 -17
- package/esm/funcs/integrationsSearchRepo.d.ts.map +0 -1
- package/esm/funcs/integrationsSearchRepo.js +0 -89
- package/esm/funcs/integrationsSearchRepo.js.map +0 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts +0 -18
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js +0 -86
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js.map +0 -1
- package/esm/funcs/logDrainsGetAllLogDrains.d.ts +0 -18
- package/esm/funcs/logDrainsGetAllLogDrains.d.ts.map +0 -1
- package/esm/funcs/logDrainsGetAllLogDrains.js.map +0 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts +0 -19
- package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js.map +0 -1
- package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts +0 -7
- package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts.map +0 -1
- package/esm/mcp-server/tools/integrationsGitNamespaces.js +0 -28
- package/esm/mcp-server/tools/integrationsGitNamespaces.js.map +0 -1
- package/esm/mcp-server/tools/integrationsSearchRepo.d.ts +0 -7
- package/esm/mcp-server/tools/integrationsSearchRepo.d.ts.map +0 -1
- package/esm/mcp-server/tools/integrationsSearchRepo.js +0 -28
- package/esm/mcp-server/tools/integrationsSearchRepo.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js +0 -28
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js +0 -28
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js +0 -28
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js.map +0 -1
- package/esm/models/createconfigurablelogdrainop.d.ts +0 -451
- package/esm/models/createconfigurablelogdrainop.d.ts.map +0 -1
- package/esm/models/createconfigurablelogdrainop.js +0 -348
- package/esm/models/createconfigurablelogdrainop.js.map +0 -1
- package/esm/models/getalllogdrainsop.d.ts +0 -294
- package/esm/models/getalllogdrainsop.d.ts.map +0 -1
- package/esm/models/getalllogdrainsop.js +0 -231
- package/esm/models/getalllogdrainsop.js.map +0 -1
- package/esm/models/getconfigurablelogdrainop.d.ts +0 -292
- package/esm/models/getconfigurablelogdrainop.d.ts.map +0 -1
- package/esm/models/getconfigurablelogdrainop.js +0 -230
- package/esm/models/getconfigurablelogdrainop.js.map +0 -1
- package/esm/models/gitnamespacesop.d.ts +0 -126
- package/esm/models/gitnamespacesop.d.ts.map +0 -1
- package/esm/models/gitnamespacesop.js +0 -115
- package/esm/models/gitnamespacesop.js.map +0 -1
- package/esm/models/searchrepoop.d.ts +0 -421
- package/esm/models/searchrepoop.d.ts.map +0 -1
- package/esm/models/searchrepoop.js +0 -385
- package/esm/models/searchrepoop.js.map +0 -1
- package/src/funcs/integrationsSearchRepo.ts +0 -181
- package/src/funcs/logDrainsCreateConfigurableLogDrain.ts +0 -185
- package/src/funcs/logDrainsGetConfigurableLogDrain.ts +0 -199
- package/src/mcp-server/tools/integrationsGitNamespaces.ts +0 -37
- package/src/mcp-server/tools/integrationsSearchRepo.ts +0 -37
- package/src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts +0 -39
- package/src/mcp-server/tools/logDrainsGetAllLogDrains.ts +0 -37
- package/src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts +0 -39
- package/src/models/createconfigurablelogdrainop.ts +0 -652
- package/src/models/getalllogdrainsop.ts +0 -416
- package/src/models/getconfigurablelogdrainop.ts +0 -420
- package/src/models/gitnamespacesop.ts +0 -235
- package/src/models/searchrepoop.ts +0 -784
|
@@ -5,9 +5,23 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
10
11
|
|
|
12
|
+
/**
|
|
13
|
+
* The grant type, when using x-www-form-urlencoded content type
|
|
14
|
+
*/
|
|
15
|
+
export const ExchangeSsoTokenGrantType = {
|
|
16
|
+
AuthorizationCode: "authorization_code",
|
|
17
|
+
} as const;
|
|
18
|
+
/**
|
|
19
|
+
* The grant type, when using x-www-form-urlencoded content type
|
|
20
|
+
*/
|
|
21
|
+
export type ExchangeSsoTokenGrantType = ClosedEnum<
|
|
22
|
+
typeof ExchangeSsoTokenGrantType
|
|
23
|
+
>;
|
|
24
|
+
|
|
11
25
|
export type ExchangeSsoTokenRequestBody = {
|
|
12
26
|
/**
|
|
13
27
|
* The sensitive code received from Vercel
|
|
@@ -29,6 +43,10 @@ export type ExchangeSsoTokenRequestBody = {
|
|
|
29
43
|
* The integration redirect URI
|
|
30
44
|
*/
|
|
31
45
|
redirectUri?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* The grant type, when using x-www-form-urlencoded content type
|
|
48
|
+
*/
|
|
49
|
+
grantType?: ExchangeSsoTokenGrantType | undefined;
|
|
32
50
|
};
|
|
33
51
|
|
|
34
52
|
export type ExchangeSsoTokenResponseBody = {
|
|
@@ -37,6 +55,27 @@ export type ExchangeSsoTokenResponseBody = {
|
|
|
37
55
|
tokenType?: any | null | undefined;
|
|
38
56
|
};
|
|
39
57
|
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const ExchangeSsoTokenGrantType$inboundSchema: z.ZodNativeEnum<
|
|
60
|
+
typeof ExchangeSsoTokenGrantType
|
|
61
|
+
> = z.nativeEnum(ExchangeSsoTokenGrantType);
|
|
62
|
+
|
|
63
|
+
/** @internal */
|
|
64
|
+
export const ExchangeSsoTokenGrantType$outboundSchema: z.ZodNativeEnum<
|
|
65
|
+
typeof ExchangeSsoTokenGrantType
|
|
66
|
+
> = ExchangeSsoTokenGrantType$inboundSchema;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
71
|
+
*/
|
|
72
|
+
export namespace ExchangeSsoTokenGrantType$ {
|
|
73
|
+
/** @deprecated use `ExchangeSsoTokenGrantType$inboundSchema` instead. */
|
|
74
|
+
export const inboundSchema = ExchangeSsoTokenGrantType$inboundSchema;
|
|
75
|
+
/** @deprecated use `ExchangeSsoTokenGrantType$outboundSchema` instead. */
|
|
76
|
+
export const outboundSchema = ExchangeSsoTokenGrantType$outboundSchema;
|
|
77
|
+
}
|
|
78
|
+
|
|
40
79
|
/** @internal */
|
|
41
80
|
export const ExchangeSsoTokenRequestBody$inboundSchema: z.ZodType<
|
|
42
81
|
ExchangeSsoTokenRequestBody,
|
|
@@ -48,11 +87,13 @@ export const ExchangeSsoTokenRequestBody$inboundSchema: z.ZodType<
|
|
|
48
87
|
client_id: z.string(),
|
|
49
88
|
client_secret: z.string(),
|
|
50
89
|
redirect_uri: z.string().optional(),
|
|
90
|
+
grant_type: ExchangeSsoTokenGrantType$inboundSchema.optional(),
|
|
51
91
|
}).transform((v) => {
|
|
52
92
|
return remap$(v, {
|
|
53
93
|
"client_id": "clientId",
|
|
54
94
|
"client_secret": "clientSecret",
|
|
55
95
|
"redirect_uri": "redirectUri",
|
|
96
|
+
"grant_type": "grantType",
|
|
56
97
|
});
|
|
57
98
|
});
|
|
58
99
|
|
|
@@ -63,6 +104,7 @@ export type ExchangeSsoTokenRequestBody$Outbound = {
|
|
|
63
104
|
client_id: string;
|
|
64
105
|
client_secret: string;
|
|
65
106
|
redirect_uri?: string | undefined;
|
|
107
|
+
grant_type?: string | undefined;
|
|
66
108
|
};
|
|
67
109
|
|
|
68
110
|
/** @internal */
|
|
@@ -76,11 +118,13 @@ export const ExchangeSsoTokenRequestBody$outboundSchema: z.ZodType<
|
|
|
76
118
|
clientId: z.string(),
|
|
77
119
|
clientSecret: z.string(),
|
|
78
120
|
redirectUri: z.string().optional(),
|
|
121
|
+
grantType: ExchangeSsoTokenGrantType$outboundSchema.optional(),
|
|
79
122
|
}).transform((v) => {
|
|
80
123
|
return remap$(v, {
|
|
81
124
|
clientId: "client_id",
|
|
82
125
|
clientSecret: "client_secret",
|
|
83
126
|
redirectUri: "redirect_uri",
|
|
127
|
+
grantType: "grant_type",
|
|
84
128
|
});
|
|
85
129
|
});
|
|
86
130
|
|
|
@@ -58,6 +58,7 @@ export const TagIds = {
|
|
|
58
58
|
TagSecurity: "tag_security",
|
|
59
59
|
TagTesting: "tag_testing",
|
|
60
60
|
TagVideo: "tag_video",
|
|
61
|
+
TagWorkflow: "tag_workflow",
|
|
61
62
|
} as const;
|
|
62
63
|
export type TagIds = ClosedEnum<typeof TagIds>;
|
|
63
64
|
|
|
@@ -93,7 +94,7 @@ export type GetConfigurationsResponseBodyIntegrationsType = ClosedEnum<
|
|
|
93
94
|
typeof GetConfigurationsResponseBodyIntegrationsType
|
|
94
95
|
>;
|
|
95
96
|
|
|
96
|
-
export const
|
|
97
|
+
export const ResponseBodyDisabledReason = {
|
|
97
98
|
DisabledByOwner: "disabled-by-owner",
|
|
98
99
|
FeatureNotAvailable: "feature-not-available",
|
|
99
100
|
DisabledByAdmin: "disabled-by-admin",
|
|
@@ -101,8 +102,8 @@ export const GetConfigurationsResponseBodyDisabledReason = {
|
|
|
101
102
|
AccountPlanDowngrade: "account-plan-downgrade",
|
|
102
103
|
OriginalOwnerRoleDowngraded: "original-owner-role-downgraded",
|
|
103
104
|
} as const;
|
|
104
|
-
export type
|
|
105
|
-
typeof
|
|
105
|
+
export type ResponseBodyDisabledReason = ClosedEnum<
|
|
106
|
+
typeof ResponseBodyDisabledReason
|
|
106
107
|
>;
|
|
107
108
|
|
|
108
109
|
/**
|
|
@@ -182,7 +183,7 @@ export type GetConfigurationsResponseBody2 = {
|
|
|
182
183
|
* A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid.
|
|
183
184
|
*/
|
|
184
185
|
deleteRequestedAt?: number | null | undefined;
|
|
185
|
-
disabledReason?:
|
|
186
|
+
disabledReason?: ResponseBodyDisabledReason | undefined;
|
|
186
187
|
/**
|
|
187
188
|
* Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'
|
|
188
189
|
*/
|
|
@@ -212,7 +213,7 @@ export type GetConfigurationsResponseBodyType = ClosedEnum<
|
|
|
212
213
|
typeof GetConfigurationsResponseBodyType
|
|
213
214
|
>;
|
|
214
215
|
|
|
215
|
-
export const
|
|
216
|
+
export const DisabledReason = {
|
|
216
217
|
DisabledByOwner: "disabled-by-owner",
|
|
217
218
|
FeatureNotAvailable: "feature-not-available",
|
|
218
219
|
DisabledByAdmin: "disabled-by-admin",
|
|
@@ -220,9 +221,7 @@ export const ResponseBodyDisabledReason = {
|
|
|
220
221
|
AccountPlanDowngrade: "account-plan-downgrade",
|
|
221
222
|
OriginalOwnerRoleDowngraded: "original-owner-role-downgraded",
|
|
222
223
|
} as const;
|
|
223
|
-
export type
|
|
224
|
-
typeof ResponseBodyDisabledReason
|
|
225
|
-
>;
|
|
224
|
+
export type DisabledReason = ClosedEnum<typeof DisabledReason>;
|
|
226
225
|
|
|
227
226
|
/**
|
|
228
227
|
* Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'
|
|
@@ -303,7 +302,7 @@ export type GetConfigurationsResponseBody1 = {
|
|
|
303
302
|
* A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid.
|
|
304
303
|
*/
|
|
305
304
|
deleteRequestedAt?: number | null | undefined;
|
|
306
|
-
disabledReason?:
|
|
305
|
+
disabledReason?: DisabledReason | undefined;
|
|
307
306
|
/**
|
|
308
307
|
* Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'
|
|
309
308
|
*/
|
|
@@ -555,26 +554,24 @@ export namespace GetConfigurationsResponseBodyIntegrationsType$ {
|
|
|
555
554
|
}
|
|
556
555
|
|
|
557
556
|
/** @internal */
|
|
558
|
-
export const
|
|
559
|
-
|
|
560
|
-
|
|
557
|
+
export const ResponseBodyDisabledReason$inboundSchema: z.ZodNativeEnum<
|
|
558
|
+
typeof ResponseBodyDisabledReason
|
|
559
|
+
> = z.nativeEnum(ResponseBodyDisabledReason);
|
|
561
560
|
|
|
562
561
|
/** @internal */
|
|
563
|
-
export const
|
|
564
|
-
|
|
565
|
-
|
|
562
|
+
export const ResponseBodyDisabledReason$outboundSchema: z.ZodNativeEnum<
|
|
563
|
+
typeof ResponseBodyDisabledReason
|
|
564
|
+
> = ResponseBodyDisabledReason$inboundSchema;
|
|
566
565
|
|
|
567
566
|
/**
|
|
568
567
|
* @internal
|
|
569
568
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
570
569
|
*/
|
|
571
|
-
export namespace
|
|
572
|
-
/** @deprecated use `
|
|
573
|
-
export const inboundSchema =
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
export const outboundSchema =
|
|
577
|
-
GetConfigurationsResponseBodyDisabledReason$outboundSchema;
|
|
570
|
+
export namespace ResponseBodyDisabledReason$ {
|
|
571
|
+
/** @deprecated use `ResponseBodyDisabledReason$inboundSchema` instead. */
|
|
572
|
+
export const inboundSchema = ResponseBodyDisabledReason$inboundSchema;
|
|
573
|
+
/** @deprecated use `ResponseBodyDisabledReason$outboundSchema` instead. */
|
|
574
|
+
export const outboundSchema = ResponseBodyDisabledReason$outboundSchema;
|
|
578
575
|
}
|
|
579
576
|
|
|
580
577
|
/** @internal */
|
|
@@ -624,8 +621,7 @@ export const GetConfigurationsResponseBody2$inboundSchema: z.ZodType<
|
|
|
624
621
|
disabledAt: z.number().optional(),
|
|
625
622
|
deletedAt: z.nullable(z.number()).optional(),
|
|
626
623
|
deleteRequestedAt: z.nullable(z.number()).optional(),
|
|
627
|
-
disabledReason:
|
|
628
|
-
.optional(),
|
|
624
|
+
disabledReason: ResponseBodyDisabledReason$inboundSchema.optional(),
|
|
629
625
|
installationType: GetConfigurationsResponseBodyInstallationType$inboundSchema
|
|
630
626
|
.optional(),
|
|
631
627
|
});
|
|
@@ -677,8 +673,7 @@ export const GetConfigurationsResponseBody2$outboundSchema: z.ZodType<
|
|
|
677
673
|
disabledAt: z.number().optional(),
|
|
678
674
|
deletedAt: z.nullable(z.number()).optional(),
|
|
679
675
|
deleteRequestedAt: z.nullable(z.number()).optional(),
|
|
680
|
-
disabledReason:
|
|
681
|
-
.optional(),
|
|
676
|
+
disabledReason: ResponseBodyDisabledReason$outboundSchema.optional(),
|
|
682
677
|
installationType: GetConfigurationsResponseBodyInstallationType$outboundSchema
|
|
683
678
|
.optional(),
|
|
684
679
|
});
|
|
@@ -762,24 +757,24 @@ export namespace GetConfigurationsResponseBodyType$ {
|
|
|
762
757
|
}
|
|
763
758
|
|
|
764
759
|
/** @internal */
|
|
765
|
-
export const
|
|
766
|
-
typeof
|
|
767
|
-
> = z.nativeEnum(
|
|
760
|
+
export const DisabledReason$inboundSchema: z.ZodNativeEnum<
|
|
761
|
+
typeof DisabledReason
|
|
762
|
+
> = z.nativeEnum(DisabledReason);
|
|
768
763
|
|
|
769
764
|
/** @internal */
|
|
770
|
-
export const
|
|
771
|
-
typeof
|
|
772
|
-
> =
|
|
765
|
+
export const DisabledReason$outboundSchema: z.ZodNativeEnum<
|
|
766
|
+
typeof DisabledReason
|
|
767
|
+
> = DisabledReason$inboundSchema;
|
|
773
768
|
|
|
774
769
|
/**
|
|
775
770
|
* @internal
|
|
776
771
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
777
772
|
*/
|
|
778
|
-
export namespace
|
|
779
|
-
/** @deprecated use `
|
|
780
|
-
export const inboundSchema =
|
|
781
|
-
/** @deprecated use `
|
|
782
|
-
export const outboundSchema =
|
|
773
|
+
export namespace DisabledReason$ {
|
|
774
|
+
/** @deprecated use `DisabledReason$inboundSchema` instead. */
|
|
775
|
+
export const inboundSchema = DisabledReason$inboundSchema;
|
|
776
|
+
/** @deprecated use `DisabledReason$outboundSchema` instead. */
|
|
777
|
+
export const outboundSchema = DisabledReason$outboundSchema;
|
|
783
778
|
}
|
|
784
779
|
|
|
785
780
|
/** @internal */
|
|
@@ -825,7 +820,7 @@ export const GetConfigurationsResponseBody1$inboundSchema: z.ZodType<
|
|
|
825
820
|
disabledAt: z.number().optional(),
|
|
826
821
|
deletedAt: z.nullable(z.number()).optional(),
|
|
827
822
|
deleteRequestedAt: z.nullable(z.number()).optional(),
|
|
828
|
-
disabledReason:
|
|
823
|
+
disabledReason: DisabledReason$inboundSchema.optional(),
|
|
829
824
|
installationType: ResponseBodyInstallationType$inboundSchema.optional(),
|
|
830
825
|
});
|
|
831
826
|
|
|
@@ -873,7 +868,7 @@ export const GetConfigurationsResponseBody1$outboundSchema: z.ZodType<
|
|
|
873
868
|
disabledAt: z.number().optional(),
|
|
874
869
|
deletedAt: z.nullable(z.number()).optional(),
|
|
875
870
|
deleteRequestedAt: z.nullable(z.number()).optional(),
|
|
876
|
-
disabledReason:
|
|
871
|
+
disabledReason: DisabledReason$outboundSchema.optional(),
|
|
877
872
|
installationType: ResponseBodyInstallationType$outboundSchema.optional(),
|
|
878
873
|
});
|
|
879
874
|
|
|
@@ -56,16 +56,14 @@ export type GetIntegrationLogDrainsSources = ClosedEnum<
|
|
|
56
56
|
/**
|
|
57
57
|
* Whether the log drain was created by an integration or by a user
|
|
58
58
|
*/
|
|
59
|
-
export const
|
|
60
|
-
SelfServed: "self-served",
|
|
59
|
+
export const CreatedFrom = {
|
|
61
60
|
Integration: "integration",
|
|
61
|
+
SelfServed: "self-served",
|
|
62
62
|
} as const;
|
|
63
63
|
/**
|
|
64
64
|
* Whether the log drain was created by an integration or by a user
|
|
65
65
|
*/
|
|
66
|
-
export type
|
|
67
|
-
typeof GetIntegrationLogDrainsCreatedFrom
|
|
68
|
-
>;
|
|
66
|
+
export type CreatedFrom = ClosedEnum<typeof CreatedFrom>;
|
|
69
67
|
|
|
70
68
|
/**
|
|
71
69
|
* The environment of log drain
|
|
@@ -126,7 +124,7 @@ export type GetIntegrationLogDrainsResponseBody = {
|
|
|
126
124
|
/**
|
|
127
125
|
* Whether the log drain was created by an integration or by a user
|
|
128
126
|
*/
|
|
129
|
-
createdFrom?:
|
|
127
|
+
createdFrom?: CreatedFrom | undefined;
|
|
130
128
|
/**
|
|
131
129
|
* The headers to send with the request
|
|
132
130
|
*/
|
|
@@ -250,25 +248,22 @@ export namespace GetIntegrationLogDrainsSources$ {
|
|
|
250
248
|
}
|
|
251
249
|
|
|
252
250
|
/** @internal */
|
|
253
|
-
export const
|
|
254
|
-
|
|
255
|
-
> = z.nativeEnum(GetIntegrationLogDrainsCreatedFrom);
|
|
251
|
+
export const CreatedFrom$inboundSchema: z.ZodNativeEnum<typeof CreatedFrom> = z
|
|
252
|
+
.nativeEnum(CreatedFrom);
|
|
256
253
|
|
|
257
254
|
/** @internal */
|
|
258
|
-
export const
|
|
259
|
-
|
|
260
|
-
> = GetIntegrationLogDrainsCreatedFrom$inboundSchema;
|
|
255
|
+
export const CreatedFrom$outboundSchema: z.ZodNativeEnum<typeof CreatedFrom> =
|
|
256
|
+
CreatedFrom$inboundSchema;
|
|
261
257
|
|
|
262
258
|
/**
|
|
263
259
|
* @internal
|
|
264
260
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
265
261
|
*/
|
|
266
|
-
export namespace
|
|
267
|
-
/** @deprecated use `
|
|
268
|
-
export const inboundSchema =
|
|
269
|
-
/** @deprecated use `
|
|
270
|
-
export const outboundSchema =
|
|
271
|
-
GetIntegrationLogDrainsCreatedFrom$outboundSchema;
|
|
262
|
+
export namespace CreatedFrom$ {
|
|
263
|
+
/** @deprecated use `CreatedFrom$inboundSchema` instead. */
|
|
264
|
+
export const inboundSchema = CreatedFrom$inboundSchema;
|
|
265
|
+
/** @deprecated use `CreatedFrom$outboundSchema` instead. */
|
|
266
|
+
export const outboundSchema = CreatedFrom$outboundSchema;
|
|
272
267
|
}
|
|
273
268
|
|
|
274
269
|
/** @internal */
|
|
@@ -312,7 +307,7 @@ export const GetIntegrationLogDrainsResponseBody$inboundSchema: z.ZodType<
|
|
|
312
307
|
projectIds: z.array(z.string()).optional(),
|
|
313
308
|
url: z.string(),
|
|
314
309
|
sources: z.array(GetIntegrationLogDrainsSources$inboundSchema).optional(),
|
|
315
|
-
createdFrom:
|
|
310
|
+
createdFrom: CreatedFrom$inboundSchema.optional(),
|
|
316
311
|
headers: z.record(z.string()).optional(),
|
|
317
312
|
environments: z.array(GetIntegrationLogDrainsEnvironments$inboundSchema),
|
|
318
313
|
branch: z.string().optional(),
|
|
@@ -357,7 +352,7 @@ export const GetIntegrationLogDrainsResponseBody$outboundSchema: z.ZodType<
|
|
|
357
352
|
projectIds: z.array(z.string()).optional(),
|
|
358
353
|
url: z.string(),
|
|
359
354
|
sources: z.array(GetIntegrationLogDrainsSources$outboundSchema).optional(),
|
|
360
|
-
createdFrom:
|
|
355
|
+
createdFrom: CreatedFrom$outboundSchema.optional(),
|
|
361
356
|
headers: z.record(z.string()).optional(),
|
|
362
357
|
environments: z.array(GetIntegrationLogDrainsEnvironments$outboundSchema),
|
|
363
358
|
branch: z.string().optional(),
|
|
@@ -538,18 +538,30 @@ export type GetProjectsAliasError = {
|
|
|
538
538
|
message: string;
|
|
539
539
|
};
|
|
540
540
|
|
|
541
|
+
/**
|
|
542
|
+
* The type of matching to perform
|
|
543
|
+
*/
|
|
541
544
|
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType = {
|
|
542
545
|
EndsWith: "endsWith",
|
|
543
546
|
StartsWith: "startsWith",
|
|
544
547
|
Equals: "equals",
|
|
545
548
|
} as const;
|
|
549
|
+
/**
|
|
550
|
+
* The type of matching to perform
|
|
551
|
+
*/
|
|
546
552
|
export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyType =
|
|
547
553
|
ClosedEnum<
|
|
548
554
|
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType
|
|
549
555
|
>;
|
|
550
556
|
|
|
551
557
|
export type GetProjectsBranchMatcher = {
|
|
558
|
+
/**
|
|
559
|
+
* The type of matching to perform
|
|
560
|
+
*/
|
|
552
561
|
type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyType;
|
|
562
|
+
/**
|
|
563
|
+
* The pattern to match against branch names
|
|
564
|
+
*/
|
|
553
565
|
pattern: string;
|
|
554
566
|
};
|
|
555
567
|
|
|
@@ -794,7 +806,7 @@ export type GetProjectsMicrofrontends1 = {
|
|
|
794
806
|
*/
|
|
795
807
|
isDefaultApp?: boolean | undefined;
|
|
796
808
|
/**
|
|
797
|
-
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
|
|
809
|
+
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`
|
|
798
810
|
*/
|
|
799
811
|
defaultRoute?: string | undefined;
|
|
800
812
|
/**
|
|
@@ -893,8 +905,8 @@ export type GetProjectsDefaultResourceConfig = {
|
|
|
893
905
|
};
|
|
894
906
|
|
|
895
907
|
export const GetProjectsDeploymentType = {
|
|
896
|
-
Preview: "preview",
|
|
897
908
|
All: "all",
|
|
909
|
+
Preview: "preview",
|
|
898
910
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
899
911
|
} as const;
|
|
900
912
|
export type GetProjectsDeploymentType = ClosedEnum<
|
|
@@ -912,17 +924,29 @@ export type GetProjectsProjectsAliasError = {
|
|
|
912
924
|
message: string;
|
|
913
925
|
};
|
|
914
926
|
|
|
927
|
+
/**
|
|
928
|
+
* The type of matching to perform
|
|
929
|
+
*/
|
|
915
930
|
export const GetProjectsProjectsResponse200ApplicationJSONType = {
|
|
916
931
|
EndsWith: "endsWith",
|
|
917
932
|
StartsWith: "startsWith",
|
|
918
933
|
Equals: "equals",
|
|
919
934
|
} as const;
|
|
935
|
+
/**
|
|
936
|
+
* The type of matching to perform
|
|
937
|
+
*/
|
|
920
938
|
export type GetProjectsProjectsResponse200ApplicationJSONType = ClosedEnum<
|
|
921
939
|
typeof GetProjectsProjectsResponse200ApplicationJSONType
|
|
922
940
|
>;
|
|
923
941
|
|
|
924
942
|
export type GetProjectsProjectsBranchMatcher = {
|
|
943
|
+
/**
|
|
944
|
+
* The type of matching to perform
|
|
945
|
+
*/
|
|
925
946
|
type: GetProjectsProjectsResponse200ApplicationJSONType;
|
|
947
|
+
/**
|
|
948
|
+
* The pattern to match against branch names
|
|
949
|
+
*/
|
|
926
950
|
pattern: string;
|
|
927
951
|
};
|
|
928
952
|
|
|
@@ -1166,6 +1190,7 @@ export type GetProjectsPermissions = {
|
|
|
1166
1190
|
teamInvite?: Array<ACLAction> | undefined;
|
|
1167
1191
|
teamInviteCode?: Array<ACLAction> | undefined;
|
|
1168
1192
|
teamJoin?: Array<ACLAction> | undefined;
|
|
1193
|
+
teamMemberMfaStatus?: Array<ACLAction> | undefined;
|
|
1169
1194
|
teamMicrofrontends?: Array<ACLAction> | undefined;
|
|
1170
1195
|
teamOwnMembership?: Array<ACLAction> | undefined;
|
|
1171
1196
|
teamOwnMembershipDisconnectSAML?: Array<ACLAction> | undefined;
|
|
@@ -1183,6 +1208,8 @@ export type GetProjectsPermissions = {
|
|
|
1183
1208
|
endpointVerification?: Array<ACLAction> | undefined;
|
|
1184
1209
|
projectTransferIn?: Array<ACLAction> | undefined;
|
|
1185
1210
|
oauth2Application?: Array<ACLAction> | undefined;
|
|
1211
|
+
vercelRun?: Array<ACLAction> | undefined;
|
|
1212
|
+
vercelRunExec?: Array<ACLAction> | undefined;
|
|
1186
1213
|
aliasProject?: Array<ACLAction> | undefined;
|
|
1187
1214
|
aliasProtectionBypass?: Array<ACLAction> | undefined;
|
|
1188
1215
|
productionAliasProtectionBypass?: Array<ACLAction> | undefined;
|
|
@@ -1282,10 +1309,10 @@ export type GetProjectsProtectionBypass = {
|
|
|
1282
1309
|
};
|
|
1283
1310
|
|
|
1284
1311
|
export const GetProjectsTrustedIpsProjectsDeploymentType = {
|
|
1285
|
-
Production: "production",
|
|
1286
|
-
Preview: "preview",
|
|
1287
1312
|
All: "all",
|
|
1313
|
+
Preview: "preview",
|
|
1288
1314
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1315
|
+
Production: "production",
|
|
1289
1316
|
} as const;
|
|
1290
1317
|
export type GetProjectsTrustedIpsProjectsDeploymentType = ClosedEnum<
|
|
1291
1318
|
typeof GetProjectsTrustedIpsProjectsDeploymentType
|
|
@@ -1296,10 +1323,10 @@ export type GetProjectsTrustedIps2 = {
|
|
|
1296
1323
|
};
|
|
1297
1324
|
|
|
1298
1325
|
export const GetProjectsTrustedIpsDeploymentType = {
|
|
1299
|
-
Production: "production",
|
|
1300
|
-
Preview: "preview",
|
|
1301
1326
|
All: "all",
|
|
1327
|
+
Preview: "preview",
|
|
1302
1328
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1329
|
+
Production: "production",
|
|
1303
1330
|
} as const;
|
|
1304
1331
|
export type GetProjectsTrustedIpsDeploymentType = ClosedEnum<
|
|
1305
1332
|
typeof GetProjectsTrustedIpsDeploymentType
|
|
@@ -6939,6 +6966,7 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType<
|
|
|
6939
6966
|
teamInvite: z.array(ACLAction$inboundSchema).optional(),
|
|
6940
6967
|
teamInviteCode: z.array(ACLAction$inboundSchema).optional(),
|
|
6941
6968
|
teamJoin: z.array(ACLAction$inboundSchema).optional(),
|
|
6969
|
+
teamMemberMfaStatus: z.array(ACLAction$inboundSchema).optional(),
|
|
6942
6970
|
teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(),
|
|
6943
6971
|
teamOwnMembership: z.array(ACLAction$inboundSchema).optional(),
|
|
6944
6972
|
teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -6956,6 +6984,8 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType<
|
|
|
6956
6984
|
endpointVerification: z.array(ACLAction$inboundSchema).optional(),
|
|
6957
6985
|
projectTransferIn: z.array(ACLAction$inboundSchema).optional(),
|
|
6958
6986
|
oauth2Application: z.array(ACLAction$inboundSchema).optional(),
|
|
6987
|
+
vercelRun: z.array(ACLAction$inboundSchema).optional(),
|
|
6988
|
+
vercelRunExec: z.array(ACLAction$inboundSchema).optional(),
|
|
6959
6989
|
aliasProject: z.array(ACLAction$inboundSchema).optional(),
|
|
6960
6990
|
aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
|
|
6961
6991
|
productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -7141,6 +7171,7 @@ export type GetProjectsPermissions$Outbound = {
|
|
|
7141
7171
|
teamInvite?: Array<string> | undefined;
|
|
7142
7172
|
teamInviteCode?: Array<string> | undefined;
|
|
7143
7173
|
teamJoin?: Array<string> | undefined;
|
|
7174
|
+
teamMemberMfaStatus?: Array<string> | undefined;
|
|
7144
7175
|
teamMicrofrontends?: Array<string> | undefined;
|
|
7145
7176
|
teamOwnMembership?: Array<string> | undefined;
|
|
7146
7177
|
teamOwnMembershipDisconnectSAML?: Array<string> | undefined;
|
|
@@ -7158,6 +7189,8 @@ export type GetProjectsPermissions$Outbound = {
|
|
|
7158
7189
|
endpointVerification?: Array<string> | undefined;
|
|
7159
7190
|
projectTransferIn?: Array<string> | undefined;
|
|
7160
7191
|
oauth2Application?: Array<string> | undefined;
|
|
7192
|
+
vercelRun?: Array<string> | undefined;
|
|
7193
|
+
vercelRunExec?: Array<string> | undefined;
|
|
7161
7194
|
aliasProject?: Array<string> | undefined;
|
|
7162
7195
|
aliasProtectionBypass?: Array<string> | undefined;
|
|
7163
7196
|
productionAliasProtectionBypass?: Array<string> | undefined;
|
|
@@ -7344,6 +7377,7 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType<
|
|
|
7344
7377
|
teamInvite: z.array(ACLAction$outboundSchema).optional(),
|
|
7345
7378
|
teamInviteCode: z.array(ACLAction$outboundSchema).optional(),
|
|
7346
7379
|
teamJoin: z.array(ACLAction$outboundSchema).optional(),
|
|
7380
|
+
teamMemberMfaStatus: z.array(ACLAction$outboundSchema).optional(),
|
|
7347
7381
|
teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(),
|
|
7348
7382
|
teamOwnMembership: z.array(ACLAction$outboundSchema).optional(),
|
|
7349
7383
|
teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -7361,6 +7395,8 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType<
|
|
|
7361
7395
|
endpointVerification: z.array(ACLAction$outboundSchema).optional(),
|
|
7362
7396
|
projectTransferIn: z.array(ACLAction$outboundSchema).optional(),
|
|
7363
7397
|
oauth2Application: z.array(ACLAction$outboundSchema).optional(),
|
|
7398
|
+
vercelRun: z.array(ACLAction$outboundSchema).optional(),
|
|
7399
|
+
vercelRunExec: z.array(ACLAction$outboundSchema).optional(),
|
|
7364
7400
|
aliasProject: z.array(ACLAction$outboundSchema).optional(),
|
|
7365
7401
|
aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
|
|
7366
7402
|
productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -96,12 +96,12 @@ export type GetTeamMembersRole = ClosedEnum<typeof GetTeamMembersRole>;
|
|
|
96
96
|
export const GetTeamMembersOrigin = {
|
|
97
97
|
Teams: "teams",
|
|
98
98
|
Link: "link",
|
|
99
|
-
|
|
100
|
-
Import: "import",
|
|
99
|
+
Saml: "saml",
|
|
101
100
|
Github: "github",
|
|
102
101
|
Gitlab: "gitlab",
|
|
103
102
|
Bitbucket: "bitbucket",
|
|
104
|
-
|
|
103
|
+
Mail: "mail",
|
|
104
|
+
Import: "import",
|
|
105
105
|
Dsync: "dsync",
|
|
106
106
|
Feedback: "feedback",
|
|
107
107
|
OrganizationTeams: "organization-teams",
|
|
@@ -26,6 +26,9 @@ export type GetV9ProjectsIdOrNameCustomEnvironmentsRequest = {
|
|
|
26
26
|
slug?: string | undefined;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Internal representation of a custom environment with all required properties
|
|
31
|
+
*/
|
|
29
32
|
export type GetV9ProjectsIdOrNameCustomEnvironmentsEnvironments = {};
|
|
30
33
|
|
|
31
34
|
export type GetV9ProjectsIdOrNameCustomEnvironmentsResponseBody = {
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type PauseProjectRequest = {
|
|
11
|
+
/**
|
|
12
|
+
* The unique project identifier
|
|
13
|
+
*/
|
|
14
|
+
projectId: string;
|
|
15
|
+
/**
|
|
16
|
+
* The Team identifier to perform the request on behalf of.
|
|
17
|
+
*/
|
|
18
|
+
teamId?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* The Team slug to perform the request on behalf of.
|
|
21
|
+
*/
|
|
22
|
+
slug?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const PauseProjectRequest$inboundSchema: z.ZodType<
|
|
27
|
+
PauseProjectRequest,
|
|
28
|
+
z.ZodTypeDef,
|
|
29
|
+
unknown
|
|
30
|
+
> = z.object({
|
|
31
|
+
projectId: z.string(),
|
|
32
|
+
teamId: z.string().optional(),
|
|
33
|
+
slug: z.string().optional(),
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export type PauseProjectRequest$Outbound = {
|
|
38
|
+
projectId: string;
|
|
39
|
+
teamId?: string | undefined;
|
|
40
|
+
slug?: string | undefined;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const PauseProjectRequest$outboundSchema: z.ZodType<
|
|
45
|
+
PauseProjectRequest$Outbound,
|
|
46
|
+
z.ZodTypeDef,
|
|
47
|
+
PauseProjectRequest
|
|
48
|
+
> = z.object({
|
|
49
|
+
projectId: z.string(),
|
|
50
|
+
teamId: z.string().optional(),
|
|
51
|
+
slug: z.string().optional(),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
+
*/
|
|
58
|
+
export namespace PauseProjectRequest$ {
|
|
59
|
+
/** @deprecated use `PauseProjectRequest$inboundSchema` instead. */
|
|
60
|
+
export const inboundSchema = PauseProjectRequest$inboundSchema;
|
|
61
|
+
/** @deprecated use `PauseProjectRequest$outboundSchema` instead. */
|
|
62
|
+
export const outboundSchema = PauseProjectRequest$outboundSchema;
|
|
63
|
+
/** @deprecated use `PauseProjectRequest$Outbound` instead. */
|
|
64
|
+
export type Outbound = PauseProjectRequest$Outbound;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function pauseProjectRequestToJSON(
|
|
68
|
+
pauseProjectRequest: PauseProjectRequest,
|
|
69
|
+
): string {
|
|
70
|
+
return JSON.stringify(
|
|
71
|
+
PauseProjectRequest$outboundSchema.parse(pauseProjectRequest),
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function pauseProjectRequestFromJSON(
|
|
76
|
+
jsonString: string,
|
|
77
|
+
): SafeParseResult<PauseProjectRequest, SDKValidationError> {
|
|
78
|
+
return safeParse(
|
|
79
|
+
jsonString,
|
|
80
|
+
(x) => PauseProjectRequest$inboundSchema.parse(JSON.parse(x)),
|
|
81
|
+
`Failed to parse 'PauseProjectRequest' from JSON`,
|
|
82
|
+
);
|
|
83
|
+
}
|