@vercel/sdk 1.18.1 → 1.18.2
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 +51 -53
- package/bin/mcp-server.js +1734 -1643
- package/bin/mcp-server.js.map +23 -26
- package/esm/__tests__/domains.test.js +10 -27
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/security.test.js +4 -4
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/integrationsGetBillingPlans.js +1 -0
- package/esm/funcs/integrationsGetBillingPlans.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.d.ts.map +1 -1
- package/esm/mcp-server/server.js +1 -3
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/models/authuser.d.ts +5 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +2 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +2 -2
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +2 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +2 -2
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +2 -2
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +220 -152
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +296 -218
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +26 -4
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +23 -4
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getbillingplansop.d.ts +2 -0
- package/esm/models/getbillingplansop.d.ts.map +1 -1
- package/esm/models/getbillingplansop.js +2 -0
- package/esm/models/getbillingplansop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +61 -1
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +44 -1
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +200 -200
- package/esm/models/getconfigurationproductsop.js +290 -290
- package/esm/models/getconfigurationsop.d.ts +60 -0
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +43 -0
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +4 -4
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +4 -4
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getorderop.d.ts +126 -42
- package/esm/models/getorderop.d.ts.map +1 -1
- package/esm/models/getorderop.js +138 -24
- package/esm/models/getorderop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +21 -4
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +21 -4
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/updateinstallationop.d.ts +18 -0
- package/esm/models/updateinstallationop.d.ts.map +1 -1
- package/esm/models/updateinstallationop.js +17 -0
- package/esm/models/updateinstallationop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +21 -4
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +21 -4
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +26 -4
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +23 -4
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +38 -0
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +34 -0
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/domains.d.ts +0 -8
- package/esm/sdk/domains.d.ts.map +1 -1
- package/esm/sdk/domains.js +0 -10
- package/esm/sdk/domains.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/domains.test.ts +12 -29
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/security.test.ts +4 -4
- package/src/funcs/integrationsGetBillingPlans.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 -3
- package/src/models/authuser.ts +7 -0
- package/src/models/canceldeploymentop.ts +4 -4
- package/src/models/createdeploymentop.ts +4 -4
- package/src/models/createintegrationstoredirectop.ts +704 -471
- package/src/models/createprojectop.ts +53 -8
- package/src/models/getbillingplansop.ts +4 -0
- package/src/models/getconfigurationop.ts +87 -1
- package/src/models/getconfigurationproductsop.ts +627 -627
- package/src/models/getconfigurationsop.ts +86 -0
- package/src/models/getdeploymentop.ts +8 -8
- package/src/models/getorderop.ts +469 -112
- package/src/models/getprojectsop.ts +46 -8
- package/src/models/updateinstallationop.ts +30 -0
- package/src/models/updateprojectdatacacheop.ts +46 -8
- package/src/models/updateprojectop.ts +53 -8
- package/src/models/userevent.ts +80 -0
- package/src/sdk/domains.ts +0 -22
- package/vercel-spec.json +480 -258
|
@@ -261,6 +261,10 @@ export type CreateProjectRequestBody = {
|
|
|
261
261
|
* Specifies whether preview deployments are disabled for this project.
|
|
262
262
|
*/
|
|
263
263
|
previewDeploymentsDisabled?: boolean | null | undefined;
|
|
264
|
+
/**
|
|
265
|
+
* Custom domain suffix for preview deployments. Takes precedence over team-level suffix. Must be a domain owned by the team.
|
|
266
|
+
*/
|
|
267
|
+
previewDeploymentSuffix?: string | null | undefined;
|
|
264
268
|
/**
|
|
265
269
|
* The build command for this project. When `null` is used this value will be automatically detected
|
|
266
270
|
*/
|
|
@@ -912,7 +916,7 @@ export type CreateProjectOidcTokenClaims = {
|
|
|
912
916
|
project: string;
|
|
913
917
|
projectId: string;
|
|
914
918
|
environment: string;
|
|
915
|
-
plan
|
|
919
|
+
plan?: string | undefined;
|
|
916
920
|
};
|
|
917
921
|
|
|
918
922
|
export const CreateProjectPlan = {
|
|
@@ -1358,8 +1362,22 @@ export type CreateProjectProjectsDeploymentType = ClosedEnum<
|
|
|
1358
1362
|
typeof CreateProjectProjectsDeploymentType
|
|
1359
1363
|
>;
|
|
1360
1364
|
|
|
1365
|
+
export const CreateProjectCve55182MigrationAppliedFrom = {
|
|
1366
|
+
Preview: "preview",
|
|
1367
|
+
All: "all",
|
|
1368
|
+
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1369
|
+
AllExceptCustomDomains: "all_except_custom_domains",
|
|
1370
|
+
} as const;
|
|
1371
|
+
export type CreateProjectCve55182MigrationAppliedFrom = ClosedEnum<
|
|
1372
|
+
typeof CreateProjectCve55182MigrationAppliedFrom
|
|
1373
|
+
>;
|
|
1374
|
+
|
|
1361
1375
|
export type CreateProjectProjectsSsoProtection = {
|
|
1362
1376
|
deploymentType: CreateProjectProjectsDeploymentType;
|
|
1377
|
+
cve55182MigrationAppliedFrom?:
|
|
1378
|
+
| CreateProjectCve55182MigrationAppliedFrom
|
|
1379
|
+
| null
|
|
1380
|
+
| undefined;
|
|
1363
1381
|
};
|
|
1364
1382
|
|
|
1365
1383
|
export type CreateProjectProjectsAliasAssigned = number | boolean;
|
|
@@ -1440,7 +1458,7 @@ export type CreateProjectProjectsOidcTokenClaims = {
|
|
|
1440
1458
|
project: string;
|
|
1441
1459
|
projectId: string;
|
|
1442
1460
|
environment: string;
|
|
1443
|
-
plan
|
|
1461
|
+
plan?: string | undefined;
|
|
1444
1462
|
};
|
|
1445
1463
|
|
|
1446
1464
|
export const CreateProjectProjectsPlan = {
|
|
@@ -2284,6 +2302,7 @@ export type CreateProjectDismissedToasts = {
|
|
|
2284
2302
|
export type CreateProjectResponseBody = {
|
|
2285
2303
|
accountId: string;
|
|
2286
2304
|
analytics?: CreateProjectAnalytics | undefined;
|
|
2305
|
+
appliedCve55182Migration?: boolean | undefined;
|
|
2287
2306
|
speedInsights?: CreateProjectSpeedInsights | undefined;
|
|
2288
2307
|
autoExposeSystemEnvs?: boolean | undefined;
|
|
2289
2308
|
autoAssignCustomDomains?: boolean | undefined;
|
|
@@ -2349,6 +2368,7 @@ export type CreateProjectResponseBody = {
|
|
|
2349
2368
|
serverlessFunctionZeroConfigFailover?: boolean | undefined;
|
|
2350
2369
|
skewProtectionBoundaryAt?: number | undefined;
|
|
2351
2370
|
skewProtectionMaxAge?: number | undefined;
|
|
2371
|
+
skewProtectionAllowedDomains?: Array<string> | undefined;
|
|
2352
2372
|
skipGitConnectDuringLink?: boolean | undefined;
|
|
2353
2373
|
staticIps?: CreateProjectStaticIps | undefined;
|
|
2354
2374
|
sourceFilesOutsideRootDirectory?: boolean | undefined;
|
|
@@ -2743,6 +2763,7 @@ export const CreateProjectRequestBody$inboundSchema: z.ZodType<
|
|
|
2743
2763
|
enablePreviewFeedback: z.nullable(z.boolean()).optional(),
|
|
2744
2764
|
enableProductionFeedback: z.nullable(z.boolean()).optional(),
|
|
2745
2765
|
previewDeploymentsDisabled: z.nullable(z.boolean()).optional(),
|
|
2766
|
+
previewDeploymentSuffix: z.nullable(z.string()).optional(),
|
|
2746
2767
|
buildCommand: z.nullable(z.string()).optional(),
|
|
2747
2768
|
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
2748
2769
|
devCommand: z.nullable(z.string()).optional(),
|
|
@@ -2772,6 +2793,7 @@ export type CreateProjectRequestBody$Outbound = {
|
|
|
2772
2793
|
enablePreviewFeedback?: boolean | null | undefined;
|
|
2773
2794
|
enableProductionFeedback?: boolean | null | undefined;
|
|
2774
2795
|
previewDeploymentsDisabled?: boolean | null | undefined;
|
|
2796
|
+
previewDeploymentSuffix?: string | null | undefined;
|
|
2775
2797
|
buildCommand?: string | null | undefined;
|
|
2776
2798
|
commandForIgnoringBuildStep?: string | null | undefined;
|
|
2777
2799
|
devCommand?: string | null | undefined;
|
|
@@ -2801,6 +2823,7 @@ export const CreateProjectRequestBody$outboundSchema: z.ZodType<
|
|
|
2801
2823
|
enablePreviewFeedback: z.nullable(z.boolean()).optional(),
|
|
2802
2824
|
enableProductionFeedback: z.nullable(z.boolean()).optional(),
|
|
2803
2825
|
previewDeploymentsDisabled: z.nullable(z.boolean()).optional(),
|
|
2826
|
+
previewDeploymentSuffix: z.nullable(z.string()).optional(),
|
|
2804
2827
|
buildCommand: z.nullable(z.string()).optional(),
|
|
2805
2828
|
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
2806
2829
|
devCommand: z.nullable(z.string()).optional(),
|
|
@@ -4928,7 +4951,7 @@ export const CreateProjectOidcTokenClaims$inboundSchema: z.ZodType<
|
|
|
4928
4951
|
project: z.string(),
|
|
4929
4952
|
project_id: z.string(),
|
|
4930
4953
|
environment: z.string(),
|
|
4931
|
-
plan: z.string(),
|
|
4954
|
+
plan: z.string().optional(),
|
|
4932
4955
|
}).transform((v) => {
|
|
4933
4956
|
return remap$(v, {
|
|
4934
4957
|
"owner_id": "ownerId",
|
|
@@ -4946,7 +4969,7 @@ export type CreateProjectOidcTokenClaims$Outbound = {
|
|
|
4946
4969
|
project: string;
|
|
4947
4970
|
project_id: string;
|
|
4948
4971
|
environment: string;
|
|
4949
|
-
plan
|
|
4972
|
+
plan?: string | undefined;
|
|
4950
4973
|
};
|
|
4951
4974
|
|
|
4952
4975
|
/** @internal */
|
|
@@ -4964,7 +4987,7 @@ export const CreateProjectOidcTokenClaims$outboundSchema: z.ZodType<
|
|
|
4964
4987
|
project: z.string(),
|
|
4965
4988
|
projectId: z.string(),
|
|
4966
4989
|
environment: z.string(),
|
|
4967
|
-
plan: z.string(),
|
|
4990
|
+
plan: z.string().optional(),
|
|
4968
4991
|
}).transform((v) => {
|
|
4969
4992
|
return remap$(v, {
|
|
4970
4993
|
ownerId: "owner_id",
|
|
@@ -6615,6 +6638,15 @@ export const CreateProjectProjectsDeploymentType$outboundSchema:
|
|
|
6615
6638
|
z.ZodNativeEnum<typeof CreateProjectProjectsDeploymentType> =
|
|
6616
6639
|
CreateProjectProjectsDeploymentType$inboundSchema;
|
|
6617
6640
|
|
|
6641
|
+
/** @internal */
|
|
6642
|
+
export const CreateProjectCve55182MigrationAppliedFrom$inboundSchema:
|
|
6643
|
+
z.ZodNativeEnum<typeof CreateProjectCve55182MigrationAppliedFrom> = z
|
|
6644
|
+
.nativeEnum(CreateProjectCve55182MigrationAppliedFrom);
|
|
6645
|
+
/** @internal */
|
|
6646
|
+
export const CreateProjectCve55182MigrationAppliedFrom$outboundSchema:
|
|
6647
|
+
z.ZodNativeEnum<typeof CreateProjectCve55182MigrationAppliedFrom> =
|
|
6648
|
+
CreateProjectCve55182MigrationAppliedFrom$inboundSchema;
|
|
6649
|
+
|
|
6618
6650
|
/** @internal */
|
|
6619
6651
|
export const CreateProjectProjectsSsoProtection$inboundSchema: z.ZodType<
|
|
6620
6652
|
CreateProjectProjectsSsoProtection,
|
|
@@ -6622,10 +6654,14 @@ export const CreateProjectProjectsSsoProtection$inboundSchema: z.ZodType<
|
|
|
6622
6654
|
unknown
|
|
6623
6655
|
> = z.object({
|
|
6624
6656
|
deploymentType: CreateProjectProjectsDeploymentType$inboundSchema,
|
|
6657
|
+
cve55182MigrationAppliedFrom: z.nullable(
|
|
6658
|
+
CreateProjectCve55182MigrationAppliedFrom$inboundSchema,
|
|
6659
|
+
).optional(),
|
|
6625
6660
|
});
|
|
6626
6661
|
/** @internal */
|
|
6627
6662
|
export type CreateProjectProjectsSsoProtection$Outbound = {
|
|
6628
6663
|
deploymentType: string;
|
|
6664
|
+
cve55182MigrationAppliedFrom?: string | null | undefined;
|
|
6629
6665
|
};
|
|
6630
6666
|
|
|
6631
6667
|
/** @internal */
|
|
@@ -6635,6 +6671,9 @@ export const CreateProjectProjectsSsoProtection$outboundSchema: z.ZodType<
|
|
|
6635
6671
|
CreateProjectProjectsSsoProtection
|
|
6636
6672
|
> = z.object({
|
|
6637
6673
|
deploymentType: CreateProjectProjectsDeploymentType$outboundSchema,
|
|
6674
|
+
cve55182MigrationAppliedFrom: z.nullable(
|
|
6675
|
+
CreateProjectCve55182MigrationAppliedFrom$outboundSchema,
|
|
6676
|
+
).optional(),
|
|
6638
6677
|
});
|
|
6639
6678
|
|
|
6640
6679
|
export function createProjectProjectsSsoProtectionToJSON(
|
|
@@ -6937,7 +6976,7 @@ export const CreateProjectProjectsOidcTokenClaims$inboundSchema: z.ZodType<
|
|
|
6937
6976
|
project: z.string(),
|
|
6938
6977
|
project_id: z.string(),
|
|
6939
6978
|
environment: z.string(),
|
|
6940
|
-
plan: z.string(),
|
|
6979
|
+
plan: z.string().optional(),
|
|
6941
6980
|
}).transform((v) => {
|
|
6942
6981
|
return remap$(v, {
|
|
6943
6982
|
"owner_id": "ownerId",
|
|
@@ -6955,7 +6994,7 @@ export type CreateProjectProjectsOidcTokenClaims$Outbound = {
|
|
|
6955
6994
|
project: string;
|
|
6956
6995
|
project_id: string;
|
|
6957
6996
|
environment: string;
|
|
6958
|
-
plan
|
|
6997
|
+
plan?: string | undefined;
|
|
6959
6998
|
};
|
|
6960
6999
|
|
|
6961
7000
|
/** @internal */
|
|
@@ -6973,7 +7012,7 @@ export const CreateProjectProjectsOidcTokenClaims$outboundSchema: z.ZodType<
|
|
|
6973
7012
|
project: z.string(),
|
|
6974
7013
|
projectId: z.string(),
|
|
6975
7014
|
environment: z.string(),
|
|
6976
|
-
plan: z.string(),
|
|
7015
|
+
plan: z.string().optional(),
|
|
6977
7016
|
}).transform((v) => {
|
|
6978
7017
|
return remap$(v, {
|
|
6979
7018
|
ownerId: "owner_id",
|
|
@@ -10922,6 +10961,7 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
|
|
|
10922
10961
|
> = z.object({
|
|
10923
10962
|
accountId: z.string(),
|
|
10924
10963
|
analytics: z.lazy(() => CreateProjectAnalytics$inboundSchema).optional(),
|
|
10964
|
+
appliedCve55182Migration: z.boolean().optional(),
|
|
10925
10965
|
speedInsights: z.lazy(() => CreateProjectSpeedInsights$inboundSchema)
|
|
10926
10966
|
.optional(),
|
|
10927
10967
|
autoExposeSystemEnvs: z.boolean().optional(),
|
|
@@ -10998,6 +11038,7 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
|
|
|
10998
11038
|
serverlessFunctionZeroConfigFailover: z.boolean().optional(),
|
|
10999
11039
|
skewProtectionBoundaryAt: z.number().optional(),
|
|
11000
11040
|
skewProtectionMaxAge: z.number().optional(),
|
|
11041
|
+
skewProtectionAllowedDomains: z.array(z.string()).optional(),
|
|
11001
11042
|
skipGitConnectDuringLink: z.boolean().optional(),
|
|
11002
11043
|
staticIps: z.lazy(() => CreateProjectStaticIps$inboundSchema).optional(),
|
|
11003
11044
|
sourceFilesOutsideRootDirectory: z.boolean().optional(),
|
|
@@ -11066,6 +11107,7 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
|
|
|
11066
11107
|
export type CreateProjectResponseBody$Outbound = {
|
|
11067
11108
|
accountId: string;
|
|
11068
11109
|
analytics?: CreateProjectAnalytics$Outbound | undefined;
|
|
11110
|
+
appliedCve55182Migration?: boolean | undefined;
|
|
11069
11111
|
speedInsights?: CreateProjectSpeedInsights$Outbound | undefined;
|
|
11070
11112
|
autoExposeSystemEnvs?: boolean | undefined;
|
|
11071
11113
|
autoAssignCustomDomains?: boolean | undefined;
|
|
@@ -11132,6 +11174,7 @@ export type CreateProjectResponseBody$Outbound = {
|
|
|
11132
11174
|
serverlessFunctionZeroConfigFailover?: boolean | undefined;
|
|
11133
11175
|
skewProtectionBoundaryAt?: number | undefined;
|
|
11134
11176
|
skewProtectionMaxAge?: number | undefined;
|
|
11177
|
+
skewProtectionAllowedDomains?: Array<string> | undefined;
|
|
11135
11178
|
skipGitConnectDuringLink?: boolean | undefined;
|
|
11136
11179
|
staticIps?: CreateProjectStaticIps$Outbound | undefined;
|
|
11137
11180
|
sourceFilesOutsideRootDirectory?: boolean | undefined;
|
|
@@ -11195,6 +11238,7 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
|
|
|
11195
11238
|
> = z.object({
|
|
11196
11239
|
accountId: z.string(),
|
|
11197
11240
|
analytics: z.lazy(() => CreateProjectAnalytics$outboundSchema).optional(),
|
|
11241
|
+
appliedCve55182Migration: z.boolean().optional(),
|
|
11198
11242
|
speedInsights: z.lazy(() => CreateProjectSpeedInsights$outboundSchema)
|
|
11199
11243
|
.optional(),
|
|
11200
11244
|
autoExposeSystemEnvs: z.boolean().optional(),
|
|
@@ -11271,6 +11315,7 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
|
|
|
11271
11315
|
serverlessFunctionZeroConfigFailover: z.boolean().optional(),
|
|
11272
11316
|
skewProtectionBoundaryAt: z.number().optional(),
|
|
11273
11317
|
skewProtectionMaxAge: z.number().optional(),
|
|
11318
|
+
skewProtectionAllowedDomains: z.array(z.string()).optional(),
|
|
11274
11319
|
skipGitConnectDuringLink: z.boolean().optional(),
|
|
11275
11320
|
staticIps: z.lazy(() => CreateProjectStaticIps$outboundSchema).optional(),
|
|
11276
11321
|
sourceFilesOutsideRootDirectory: z.boolean().optional(),
|
|
@@ -10,6 +10,7 @@ import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
|
10
10
|
|
|
11
11
|
export type GetBillingPlansRequest = {
|
|
12
12
|
integrationIdOrSlug: string;
|
|
13
|
+
integrationConfigurationId?: string | undefined;
|
|
13
14
|
productIdOrSlug: string;
|
|
14
15
|
metadata?: string | undefined;
|
|
15
16
|
source?: string | undefined;
|
|
@@ -81,6 +82,7 @@ export const GetBillingPlansRequest$inboundSchema: z.ZodType<
|
|
|
81
82
|
unknown
|
|
82
83
|
> = z.object({
|
|
83
84
|
integrationIdOrSlug: z.string(),
|
|
85
|
+
integrationConfigurationId: z.string().optional(),
|
|
84
86
|
productIdOrSlug: z.string(),
|
|
85
87
|
metadata: z.string().optional(),
|
|
86
88
|
source: z.string().optional(),
|
|
@@ -90,6 +92,7 @@ export const GetBillingPlansRequest$inboundSchema: z.ZodType<
|
|
|
90
92
|
/** @internal */
|
|
91
93
|
export type GetBillingPlansRequest$Outbound = {
|
|
92
94
|
integrationIdOrSlug: string;
|
|
95
|
+
integrationConfigurationId?: string | undefined;
|
|
93
96
|
productIdOrSlug: string;
|
|
94
97
|
metadata?: string | undefined;
|
|
95
98
|
source?: string | undefined;
|
|
@@ -104,6 +107,7 @@ export const GetBillingPlansRequest$outboundSchema: z.ZodType<
|
|
|
104
107
|
GetBillingPlansRequest
|
|
105
108
|
> = z.object({
|
|
106
109
|
integrationIdOrSlug: z.string(),
|
|
110
|
+
integrationConfigurationId: z.string().optional(),
|
|
107
111
|
productIdOrSlug: z.string(),
|
|
108
112
|
metadata: z.string().optional(),
|
|
109
113
|
source: z.string().optional(),
|
|
@@ -23,6 +23,25 @@ export type GetConfigurationRequest = {
|
|
|
23
23
|
slug?: string | undefined;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
28
|
+
*/
|
|
29
|
+
export const GetConfigurationResponseBodyIntegrationsStatus = {
|
|
30
|
+
Pending: "pending",
|
|
31
|
+
Ready: "ready",
|
|
32
|
+
Onboarding: "onboarding",
|
|
33
|
+
Suspended: "suspended",
|
|
34
|
+
Resumed: "resumed",
|
|
35
|
+
Error: "error",
|
|
36
|
+
Uninstalled: "uninstalled",
|
|
37
|
+
} as const;
|
|
38
|
+
/**
|
|
39
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
40
|
+
*/
|
|
41
|
+
export type GetConfigurationResponseBodyIntegrationsStatus = ClosedEnum<
|
|
42
|
+
typeof GetConfigurationResponseBodyIntegrationsStatus
|
|
43
|
+
>;
|
|
44
|
+
|
|
26
45
|
export const GetConfigurationResponseBodyIntegrationsType = {
|
|
27
46
|
IntegrationConfiguration: "integration-configuration",
|
|
28
47
|
} as const;
|
|
@@ -79,6 +98,14 @@ export type GetConfigurationResponseBody2 = {
|
|
|
79
98
|
* The user or team ID that owns the configuration
|
|
80
99
|
*/
|
|
81
100
|
ownerId: string;
|
|
101
|
+
/**
|
|
102
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
103
|
+
*/
|
|
104
|
+
status?: GetConfigurationResponseBodyIntegrationsStatus | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* An external identifier defined by the integration vendor.
|
|
107
|
+
*/
|
|
108
|
+
externalId?: string | undefined;
|
|
82
109
|
/**
|
|
83
110
|
* When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.
|
|
84
111
|
*/
|
|
@@ -144,9 +171,9 @@ export const ProjectSelection = {
|
|
|
144
171
|
export type ProjectSelection = ClosedEnum<typeof ProjectSelection>;
|
|
145
172
|
|
|
146
173
|
export const GetConfigurationResponseBodyLevel = {
|
|
174
|
+
Error: "error",
|
|
147
175
|
Info: "info",
|
|
148
176
|
Warn: "warn",
|
|
149
|
-
Error: "error",
|
|
150
177
|
} as const;
|
|
151
178
|
export type GetConfigurationResponseBodyLevel = ClosedEnum<
|
|
152
179
|
typeof GetConfigurationResponseBodyLevel
|
|
@@ -249,6 +276,25 @@ export type GetConfigurationResponseBodyInstallationType = ClosedEnum<
|
|
|
249
276
|
typeof GetConfigurationResponseBodyInstallationType
|
|
250
277
|
>;
|
|
251
278
|
|
|
279
|
+
/**
|
|
280
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
281
|
+
*/
|
|
282
|
+
export const GetConfigurationResponseBodyStatus = {
|
|
283
|
+
Pending: "pending",
|
|
284
|
+
Ready: "ready",
|
|
285
|
+
Onboarding: "onboarding",
|
|
286
|
+
Suspended: "suspended",
|
|
287
|
+
Resumed: "resumed",
|
|
288
|
+
Error: "error",
|
|
289
|
+
Uninstalled: "uninstalled",
|
|
290
|
+
} as const;
|
|
291
|
+
/**
|
|
292
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
293
|
+
*/
|
|
294
|
+
export type GetConfigurationResponseBodyStatus = ClosedEnum<
|
|
295
|
+
typeof GetConfigurationResponseBodyStatus
|
|
296
|
+
>;
|
|
297
|
+
|
|
252
298
|
export const GetConfigurationResponseBodyType = {
|
|
253
299
|
IntegrationConfiguration: "integration-configuration",
|
|
254
300
|
} as const;
|
|
@@ -325,6 +371,14 @@ export type GetConfigurationResponseBody1 = {
|
|
|
325
371
|
* 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.
|
|
326
372
|
*/
|
|
327
373
|
deleteRequestedAt?: number | null | undefined;
|
|
374
|
+
/**
|
|
375
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
376
|
+
*/
|
|
377
|
+
status?: GetConfigurationResponseBodyStatus | undefined;
|
|
378
|
+
/**
|
|
379
|
+
* An external identifier defined by the integration vendor.
|
|
380
|
+
*/
|
|
381
|
+
externalId?: string | undefined;
|
|
328
382
|
type: GetConfigurationResponseBodyType;
|
|
329
383
|
/**
|
|
330
384
|
* A timestamp that tells you when the configuration was deleted.
|
|
@@ -384,6 +438,15 @@ export function getConfigurationRequestFromJSON(
|
|
|
384
438
|
);
|
|
385
439
|
}
|
|
386
440
|
|
|
441
|
+
/** @internal */
|
|
442
|
+
export const GetConfigurationResponseBodyIntegrationsStatus$inboundSchema:
|
|
443
|
+
z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsStatus> = z
|
|
444
|
+
.nativeEnum(GetConfigurationResponseBodyIntegrationsStatus);
|
|
445
|
+
/** @internal */
|
|
446
|
+
export const GetConfigurationResponseBodyIntegrationsStatus$outboundSchema:
|
|
447
|
+
z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsStatus> =
|
|
448
|
+
GetConfigurationResponseBodyIntegrationsStatus$inboundSchema;
|
|
449
|
+
|
|
387
450
|
/** @internal */
|
|
388
451
|
export const GetConfigurationResponseBodyIntegrationsType$inboundSchema:
|
|
389
452
|
z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsType> = z
|
|
@@ -426,6 +489,9 @@ export const GetConfigurationResponseBody2$inboundSchema: z.ZodType<
|
|
|
426
489
|
id: z.string(),
|
|
427
490
|
integrationId: z.string(),
|
|
428
491
|
ownerId: z.string(),
|
|
492
|
+
status: GetConfigurationResponseBodyIntegrationsStatus$inboundSchema
|
|
493
|
+
.optional(),
|
|
494
|
+
externalId: z.string().optional(),
|
|
429
495
|
projects: z.array(z.string()).optional(),
|
|
430
496
|
source: z.string().optional(),
|
|
431
497
|
slug: z.string(),
|
|
@@ -451,6 +517,8 @@ export type GetConfigurationResponseBody2$Outbound = {
|
|
|
451
517
|
id: string;
|
|
452
518
|
integrationId: string;
|
|
453
519
|
ownerId: string;
|
|
520
|
+
status?: string | undefined;
|
|
521
|
+
externalId?: string | undefined;
|
|
454
522
|
projects?: Array<string> | undefined;
|
|
455
523
|
source?: string | undefined;
|
|
456
524
|
slug: string;
|
|
@@ -477,6 +545,9 @@ export const GetConfigurationResponseBody2$outboundSchema: z.ZodType<
|
|
|
477
545
|
id: z.string(),
|
|
478
546
|
integrationId: z.string(),
|
|
479
547
|
ownerId: z.string(),
|
|
548
|
+
status: GetConfigurationResponseBodyIntegrationsStatus$outboundSchema
|
|
549
|
+
.optional(),
|
|
550
|
+
externalId: z.string().optional(),
|
|
480
551
|
projects: z.array(z.string()).optional(),
|
|
481
552
|
source: z.string().optional(),
|
|
482
553
|
slug: z.string(),
|
|
@@ -939,6 +1010,15 @@ export const GetConfigurationResponseBodyInstallationType$outboundSchema:
|
|
|
939
1010
|
z.ZodNativeEnum<typeof GetConfigurationResponseBodyInstallationType> =
|
|
940
1011
|
GetConfigurationResponseBodyInstallationType$inboundSchema;
|
|
941
1012
|
|
|
1013
|
+
/** @internal */
|
|
1014
|
+
export const GetConfigurationResponseBodyStatus$inboundSchema: z.ZodNativeEnum<
|
|
1015
|
+
typeof GetConfigurationResponseBodyStatus
|
|
1016
|
+
> = z.nativeEnum(GetConfigurationResponseBodyStatus);
|
|
1017
|
+
/** @internal */
|
|
1018
|
+
export const GetConfigurationResponseBodyStatus$outboundSchema: z.ZodNativeEnum<
|
|
1019
|
+
typeof GetConfigurationResponseBodyStatus
|
|
1020
|
+
> = GetConfigurationResponseBodyStatus$inboundSchema;
|
|
1021
|
+
|
|
942
1022
|
/** @internal */
|
|
943
1023
|
export const GetConfigurationResponseBodyType$inboundSchema: z.ZodNativeEnum<
|
|
944
1024
|
typeof GetConfigurationResponseBodyType
|
|
@@ -979,6 +1059,8 @@ export const GetConfigurationResponseBody1$inboundSchema: z.ZodType<
|
|
|
979
1059
|
installationType: GetConfigurationResponseBodyInstallationType$inboundSchema
|
|
980
1060
|
.optional(),
|
|
981
1061
|
deleteRequestedAt: z.nullable(z.number()).optional(),
|
|
1062
|
+
status: GetConfigurationResponseBodyStatus$inboundSchema.optional(),
|
|
1063
|
+
externalId: z.string().optional(),
|
|
982
1064
|
type: GetConfigurationResponseBodyType$inboundSchema,
|
|
983
1065
|
deletedAt: z.nullable(z.number()).optional(),
|
|
984
1066
|
});
|
|
@@ -1004,6 +1086,8 @@ export type GetConfigurationResponseBody1$Outbound = {
|
|
|
1004
1086
|
canConfigureOpenTelemetry?: boolean | undefined;
|
|
1005
1087
|
installationType?: string | undefined;
|
|
1006
1088
|
deleteRequestedAt?: number | null | undefined;
|
|
1089
|
+
status?: string | undefined;
|
|
1090
|
+
externalId?: string | undefined;
|
|
1007
1091
|
type: string;
|
|
1008
1092
|
deletedAt?: number | null | undefined;
|
|
1009
1093
|
};
|
|
@@ -1039,6 +1123,8 @@ export const GetConfigurationResponseBody1$outboundSchema: z.ZodType<
|
|
|
1039
1123
|
installationType: GetConfigurationResponseBodyInstallationType$outboundSchema
|
|
1040
1124
|
.optional(),
|
|
1041
1125
|
deleteRequestedAt: z.nullable(z.number()).optional(),
|
|
1126
|
+
status: GetConfigurationResponseBodyStatus$outboundSchema.optional(),
|
|
1127
|
+
externalId: z.string().optional(),
|
|
1042
1128
|
type: GetConfigurationResponseBodyType$outboundSchema,
|
|
1043
1129
|
deletedAt: z.nullable(z.number()).optional(),
|
|
1044
1130
|
});
|