vercel-api-js 0.6.2 → 0.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/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +13 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +42 -11
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
> vercel-api-js@0.6.
|
|
2
|
+
> vercel-api-js@0.6.3 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
|
|
3
3
|
> rimraf dist && rollup -c
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1m./src/index.ts[22m → [1mdist/index.cjs, dist/index.mjs[22m...[39m
|
|
7
|
-
[32mcreated [1mdist/index.cjs, dist/index.mjs[22m in [1m4.
|
|
7
|
+
[32mcreated [1mdist/index.cjs, dist/index.mjs[22m in [1m4.2s[22m[39m
|
|
8
8
|
[36m
|
|
9
9
|
[1m./src/index.ts[22m → [1mdist/index.d.ts[22m...[39m
|
|
10
|
-
[32mcreated [1mdist/index.d.ts[22m in [1m5.
|
|
10
|
+
[32mcreated [1mdist/index.d.ts[22m in [1m5.9s[22m[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# vercel-api-js
|
|
2
2
|
|
|
3
|
+
## 0.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0b0194e: Add new field attackModeActiveUntil to project responses
|
|
8
|
+
- cd00645: Add oauth2Application field to project related responses
|
|
9
|
+
- 8920920: Remove planIteration from CreateTeamResponse and AuthUser
|
|
10
|
+
- 06e6e64: Add new property 'cronJobsPerProject' to 'AuthUser' type
|
|
11
|
+
- 44f20a3: Add skewProtectionBoundaryAt and skewProtectionMaxAge to project data cache and project response
|
|
12
|
+
- 224ec97: Update API endpoint to create project from v9 to v10
|
|
13
|
+
- 71615f0: Add new field 'planIteration' to AuthUser type
|
|
14
|
+
- 5bfccd9: Add optional field 'planIteration' to AuthUser type
|
|
15
|
+
|
|
3
16
|
## 0.6.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -470,7 +470,7 @@ const getProjects = (variables, signal) => fetch$1({
|
|
|
470
470
|
* Allows to create a new project with the provided configuration. It only requires the project `name` but more configuration can be provided to override the defaults.
|
|
471
471
|
*/
|
|
472
472
|
const createProject = (variables, signal) => fetch$1({
|
|
473
|
-
url: '/
|
|
473
|
+
url: '/v10/projects',
|
|
474
474
|
method: 'post',
|
|
475
475
|
...variables,
|
|
476
476
|
signal
|
package/dist/index.d.ts
CHANGED
|
@@ -323,6 +323,7 @@ type AuthUser = {
|
|
|
323
323
|
end: number;
|
|
324
324
|
} | null;
|
|
325
325
|
plan: 'pro' | 'enterprise' | 'hobby';
|
|
326
|
+
planIteration?: string;
|
|
326
327
|
platform?: 'stripe' | 'stripeTestMode';
|
|
327
328
|
orbCustomerId?: string;
|
|
328
329
|
syncedAt?: number;
|
|
@@ -867,6 +868,10 @@ type AuthUser = {
|
|
|
867
868
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
868
869
|
*/
|
|
869
870
|
cronJobs?: number;
|
|
871
|
+
/**
|
|
872
|
+
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
873
|
+
*/
|
|
874
|
+
cronJobsPerProject?: number;
|
|
870
875
|
};
|
|
871
876
|
/**
|
|
872
877
|
* Prefix that will be used in the URL of "Preview" deployments created by the User account.
|
|
@@ -2155,6 +2160,8 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2155
2160
|
rootDirectory?: string | null;
|
|
2156
2161
|
serverlessFunctionRegion?: string | null;
|
|
2157
2162
|
serverlessFunctionZeroConfigFailover?: boolean;
|
|
2163
|
+
skewProtectionBoundaryAt?: number;
|
|
2164
|
+
skewProtectionMaxAge?: number;
|
|
2158
2165
|
skipGitConnectDuringLink?: boolean;
|
|
2159
2166
|
sourceFilesOutsideRootDirectory?: boolean;
|
|
2160
2167
|
ssoProtection?: {
|
|
@@ -2332,6 +2339,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2332
2339
|
['webhook-event']?: ACLAction[];
|
|
2333
2340
|
endpointVerification?: ACLAction[];
|
|
2334
2341
|
projectTransferIn?: ACLAction[];
|
|
2342
|
+
oauth2Application?: ACLAction[];
|
|
2335
2343
|
aliasProject?: ACLAction[];
|
|
2336
2344
|
aliasProtectionBypass?: ACLAction[];
|
|
2337
2345
|
productionAliasProtectionBypass?: ACLAction[];
|
|
@@ -2374,6 +2382,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2374
2382
|
projectAnalyticsUsage?: ACLAction[];
|
|
2375
2383
|
projectSupportCase?: ACLAction[];
|
|
2376
2384
|
projectSupportCaseComment?: ACLAction[];
|
|
2385
|
+
skewProtection?: ACLAction[];
|
|
2377
2386
|
analytics?: ACLAction[];
|
|
2378
2387
|
trustedIps?: ACLAction[];
|
|
2379
2388
|
webAnalytics?: ACLAction[];
|
|
@@ -2430,6 +2439,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2430
2439
|
attackModeUpdatedAt?: number;
|
|
2431
2440
|
firewallEnabled?: boolean;
|
|
2432
2441
|
firewallUpdatedAt?: number;
|
|
2442
|
+
attackModeActiveUntil?: number | null;
|
|
2433
2443
|
};
|
|
2434
2444
|
};
|
|
2435
2445
|
type UpdateProjectDataCacheRequestBody = {
|
|
@@ -6845,7 +6855,7 @@ type GetIntegrationLogDrainsResponse = {
|
|
|
6845
6855
|
* @example build
|
|
6846
6856
|
* @example edge
|
|
6847
6857
|
*/
|
|
6848
|
-
sources?: ('
|
|
6858
|
+
sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];
|
|
6849
6859
|
/**
|
|
6850
6860
|
* Whether the log drain was created by an integration or by a user
|
|
6851
6861
|
*
|
|
@@ -6958,7 +6968,7 @@ type CreateLogDrainResponse = {
|
|
|
6958
6968
|
* @example build
|
|
6959
6969
|
* @example edge
|
|
6960
6970
|
*/
|
|
6961
|
-
sources?: ('
|
|
6971
|
+
sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];
|
|
6962
6972
|
/**
|
|
6963
6973
|
* Whether the log drain was created by an integration or by a user
|
|
6964
6974
|
*
|
|
@@ -7172,7 +7182,7 @@ type GetConfigurableLogDrainResponse = {
|
|
|
7172
7182
|
ownerId: string;
|
|
7173
7183
|
projectIds?: string[];
|
|
7174
7184
|
createdAt: number;
|
|
7175
|
-
sources?: ('
|
|
7185
|
+
sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];
|
|
7176
7186
|
headers?: {
|
|
7177
7187
|
[key: string]: string;
|
|
7178
7188
|
};
|
|
@@ -7235,7 +7245,7 @@ type GetAllLogDrainsResponse = {
|
|
|
7235
7245
|
ownerId: string;
|
|
7236
7246
|
projectIds?: string[];
|
|
7237
7247
|
createdAt: number;
|
|
7238
|
-
sources?: ('
|
|
7248
|
+
sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];
|
|
7239
7249
|
headers?: {
|
|
7240
7250
|
[key: string]: string;
|
|
7241
7251
|
};
|
|
@@ -7279,7 +7289,7 @@ type CreateConfigurableLogDrainResponse = {
|
|
|
7279
7289
|
ownerId: string;
|
|
7280
7290
|
projectIds?: string[];
|
|
7281
7291
|
createdAt: number;
|
|
7282
|
-
sources?: ('
|
|
7292
|
+
sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];
|
|
7283
7293
|
headers?: {
|
|
7284
7294
|
[key: string]: string;
|
|
7285
7295
|
};
|
|
@@ -7919,6 +7929,8 @@ type GetProjectsResponse = {
|
|
|
7919
7929
|
rootDirectory?: string | null;
|
|
7920
7930
|
serverlessFunctionRegion?: string | null;
|
|
7921
7931
|
serverlessFunctionZeroConfigFailover?: boolean;
|
|
7932
|
+
skewProtectionBoundaryAt?: number;
|
|
7933
|
+
skewProtectionMaxAge?: number;
|
|
7922
7934
|
skipGitConnectDuringLink?: boolean;
|
|
7923
7935
|
sourceFilesOutsideRootDirectory?: boolean;
|
|
7924
7936
|
ssoProtection?: {
|
|
@@ -8096,6 +8108,7 @@ type GetProjectsResponse = {
|
|
|
8096
8108
|
['webhook-event']?: ACLAction[];
|
|
8097
8109
|
endpointVerification?: ACLAction[];
|
|
8098
8110
|
projectTransferIn?: ACLAction[];
|
|
8111
|
+
oauth2Application?: ACLAction[];
|
|
8099
8112
|
aliasProject?: ACLAction[];
|
|
8100
8113
|
aliasProtectionBypass?: ACLAction[];
|
|
8101
8114
|
productionAliasProtectionBypass?: ACLAction[];
|
|
@@ -8138,6 +8151,7 @@ type GetProjectsResponse = {
|
|
|
8138
8151
|
projectAnalyticsUsage?: ACLAction[];
|
|
8139
8152
|
projectSupportCase?: ACLAction[];
|
|
8140
8153
|
projectSupportCaseComment?: ACLAction[];
|
|
8154
|
+
skewProtection?: ACLAction[];
|
|
8141
8155
|
analytics?: ACLAction[];
|
|
8142
8156
|
trustedIps?: ACLAction[];
|
|
8143
8157
|
webAnalytics?: ACLAction[];
|
|
@@ -8194,6 +8208,7 @@ type GetProjectsResponse = {
|
|
|
8194
8208
|
attackModeUpdatedAt?: number;
|
|
8195
8209
|
firewallEnabled?: boolean;
|
|
8196
8210
|
firewallUpdatedAt?: number;
|
|
8211
|
+
attackModeActiveUntil?: number | null;
|
|
8197
8212
|
};
|
|
8198
8213
|
}[];
|
|
8199
8214
|
pagination: Pagination;
|
|
@@ -8468,6 +8483,8 @@ type CreateProjectResponse = {
|
|
|
8468
8483
|
rootDirectory?: string | null;
|
|
8469
8484
|
serverlessFunctionRegion?: string | null;
|
|
8470
8485
|
serverlessFunctionZeroConfigFailover?: boolean;
|
|
8486
|
+
skewProtectionBoundaryAt?: number;
|
|
8487
|
+
skewProtectionMaxAge?: number;
|
|
8471
8488
|
skipGitConnectDuringLink?: boolean;
|
|
8472
8489
|
sourceFilesOutsideRootDirectory?: boolean;
|
|
8473
8490
|
ssoProtection?: {
|
|
@@ -8645,6 +8662,7 @@ type CreateProjectResponse = {
|
|
|
8645
8662
|
['webhook-event']?: ACLAction[];
|
|
8646
8663
|
endpointVerification?: ACLAction[];
|
|
8647
8664
|
projectTransferIn?: ACLAction[];
|
|
8665
|
+
oauth2Application?: ACLAction[];
|
|
8648
8666
|
aliasProject?: ACLAction[];
|
|
8649
8667
|
aliasProtectionBypass?: ACLAction[];
|
|
8650
8668
|
productionAliasProtectionBypass?: ACLAction[];
|
|
@@ -8687,6 +8705,7 @@ type CreateProjectResponse = {
|
|
|
8687
8705
|
projectAnalyticsUsage?: ACLAction[];
|
|
8688
8706
|
projectSupportCase?: ACLAction[];
|
|
8689
8707
|
projectSupportCaseComment?: ACLAction[];
|
|
8708
|
+
skewProtection?: ACLAction[];
|
|
8690
8709
|
analytics?: ACLAction[];
|
|
8691
8710
|
trustedIps?: ACLAction[];
|
|
8692
8711
|
webAnalytics?: ACLAction[];
|
|
@@ -8743,6 +8762,7 @@ type CreateProjectResponse = {
|
|
|
8743
8762
|
attackModeUpdatedAt?: number;
|
|
8744
8763
|
firewallEnabled?: boolean;
|
|
8745
8764
|
firewallUpdatedAt?: number;
|
|
8765
|
+
attackModeActiveUntil?: number | null;
|
|
8746
8766
|
};
|
|
8747
8767
|
};
|
|
8748
8768
|
type CreateProjectRequestBody = {
|
|
@@ -9130,6 +9150,8 @@ type GetProjectResponse = {
|
|
|
9130
9150
|
rootDirectory?: string | null;
|
|
9131
9151
|
serverlessFunctionRegion?: string | null;
|
|
9132
9152
|
serverlessFunctionZeroConfigFailover?: boolean;
|
|
9153
|
+
skewProtectionBoundaryAt?: number;
|
|
9154
|
+
skewProtectionMaxAge?: number;
|
|
9133
9155
|
skipGitConnectDuringLink?: boolean;
|
|
9134
9156
|
sourceFilesOutsideRootDirectory?: boolean;
|
|
9135
9157
|
ssoProtection?: {
|
|
@@ -9307,6 +9329,7 @@ type GetProjectResponse = {
|
|
|
9307
9329
|
['webhook-event']?: ACLAction[];
|
|
9308
9330
|
endpointVerification?: ACLAction[];
|
|
9309
9331
|
projectTransferIn?: ACLAction[];
|
|
9332
|
+
oauth2Application?: ACLAction[];
|
|
9310
9333
|
aliasProject?: ACLAction[];
|
|
9311
9334
|
aliasProtectionBypass?: ACLAction[];
|
|
9312
9335
|
productionAliasProtectionBypass?: ACLAction[];
|
|
@@ -9349,6 +9372,7 @@ type GetProjectResponse = {
|
|
|
9349
9372
|
projectAnalyticsUsage?: ACLAction[];
|
|
9350
9373
|
projectSupportCase?: ACLAction[];
|
|
9351
9374
|
projectSupportCaseComment?: ACLAction[];
|
|
9375
|
+
skewProtection?: ACLAction[];
|
|
9352
9376
|
analytics?: ACLAction[];
|
|
9353
9377
|
trustedIps?: ACLAction[];
|
|
9354
9378
|
webAnalytics?: ACLAction[];
|
|
@@ -9405,6 +9429,7 @@ type GetProjectResponse = {
|
|
|
9405
9429
|
attackModeUpdatedAt?: number;
|
|
9406
9430
|
firewallEnabled?: boolean;
|
|
9407
9431
|
firewallUpdatedAt?: number;
|
|
9432
|
+
attackModeActiveUntil?: number | null;
|
|
9408
9433
|
};
|
|
9409
9434
|
};
|
|
9410
9435
|
type GetProjectVariables = {
|
|
@@ -9686,6 +9711,8 @@ type UpdateProjectResponse = {
|
|
|
9686
9711
|
rootDirectory?: string | null;
|
|
9687
9712
|
serverlessFunctionRegion?: string | null;
|
|
9688
9713
|
serverlessFunctionZeroConfigFailover?: boolean;
|
|
9714
|
+
skewProtectionBoundaryAt?: number;
|
|
9715
|
+
skewProtectionMaxAge?: number;
|
|
9689
9716
|
skipGitConnectDuringLink?: boolean;
|
|
9690
9717
|
sourceFilesOutsideRootDirectory?: boolean;
|
|
9691
9718
|
ssoProtection?: {
|
|
@@ -9863,6 +9890,7 @@ type UpdateProjectResponse = {
|
|
|
9863
9890
|
['webhook-event']?: ACLAction[];
|
|
9864
9891
|
endpointVerification?: ACLAction[];
|
|
9865
9892
|
projectTransferIn?: ACLAction[];
|
|
9893
|
+
oauth2Application?: ACLAction[];
|
|
9866
9894
|
aliasProject?: ACLAction[];
|
|
9867
9895
|
aliasProtectionBypass?: ACLAction[];
|
|
9868
9896
|
productionAliasProtectionBypass?: ACLAction[];
|
|
@@ -9905,6 +9933,7 @@ type UpdateProjectResponse = {
|
|
|
9905
9933
|
projectAnalyticsUsage?: ACLAction[];
|
|
9906
9934
|
projectSupportCase?: ACLAction[];
|
|
9907
9935
|
projectSupportCaseComment?: ACLAction[];
|
|
9936
|
+
skewProtection?: ACLAction[];
|
|
9908
9937
|
analytics?: ACLAction[];
|
|
9909
9938
|
trustedIps?: ACLAction[];
|
|
9910
9939
|
webAnalytics?: ACLAction[];
|
|
@@ -9961,6 +9990,7 @@ type UpdateProjectResponse = {
|
|
|
9961
9990
|
attackModeUpdatedAt?: number;
|
|
9962
9991
|
firewallEnabled?: boolean;
|
|
9963
9992
|
firewallUpdatedAt?: number;
|
|
9993
|
+
attackModeActiveUntil?: number | null;
|
|
9964
9994
|
};
|
|
9965
9995
|
};
|
|
9966
9996
|
type UpdateProjectRequestBody = {
|
|
@@ -12220,6 +12250,7 @@ type CreateTeamResponse = {
|
|
|
12220
12250
|
end: number;
|
|
12221
12251
|
} | null;
|
|
12222
12252
|
plan: 'pro' | 'enterprise' | 'hobby';
|
|
12253
|
+
planIteration?: string;
|
|
12223
12254
|
platform?: 'stripe' | 'stripeTestMode';
|
|
12224
12255
|
orbCustomerId?: string;
|
|
12225
12256
|
syncedAt?: number;
|
|
@@ -18089,7 +18120,7 @@ declare const operationsByPath: {
|
|
|
18089
18120
|
'POST /v1/projects/{idOrName}/members': (variables: AddProjectMemberVariables, signal?: AbortSignal | undefined) => Promise<AddProjectMemberResponse>;
|
|
18090
18121
|
'DELETE /v1/projects/{idOrName}/members/{uid}': (variables: RemoveProjectMemberVariables, signal?: AbortSignal | undefined) => Promise<RemoveProjectMemberResponse>;
|
|
18091
18122
|
'GET /v9/projects': (variables: GetProjectsVariables, signal?: AbortSignal | undefined) => Promise<GetProjectsResponse>;
|
|
18092
|
-
'POST /
|
|
18123
|
+
'POST /v10/projects': (variables: CreateProjectVariables, signal?: AbortSignal | undefined) => Promise<CreateProjectResponse>;
|
|
18093
18124
|
'GET /v9/projects/{idOrName}': (variables: GetProjectVariables, signal?: AbortSignal | undefined) => Promise<GetProjectResponse>;
|
|
18094
18125
|
'PATCH /v9/projects/{idOrName}': (variables: UpdateProjectVariables, signal?: AbortSignal | undefined) => Promise<UpdateProjectResponse>;
|
|
18095
18126
|
'DELETE /v9/projects/{idOrName}': (variables: DeleteProjectVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
|
@@ -18601,7 +18632,7 @@ declare const operationsByPath: {
|
|
|
18601
18632
|
framework?: "blitzjs" | "nextjs" | "gatsby" | "remix" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "sanity" | "storybook" | null;
|
|
18602
18633
|
latestDeployment?: string;
|
|
18603
18634
|
}[] | null;
|
|
18604
|
-
events: ("
|
|
18635
|
+
events: ("budget.reached" | "budget.reset" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "test-webhook")[];
|
|
18605
18636
|
id: string;
|
|
18606
18637
|
url: string;
|
|
18607
18638
|
ownerId: string;
|
|
@@ -18609,7 +18640,7 @@ declare const operationsByPath: {
|
|
|
18609
18640
|
updatedAt: number;
|
|
18610
18641
|
projectIds?: string[];
|
|
18611
18642
|
}[] | {
|
|
18612
|
-
events: ("
|
|
18643
|
+
events: ("budget.reached" | "budget.reset" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "test-webhook")[];
|
|
18613
18644
|
id: string;
|
|
18614
18645
|
url: string;
|
|
18615
18646
|
ownerId: string;
|
|
@@ -19286,7 +19317,7 @@ declare class VercelApi {
|
|
|
19286
19317
|
'POST /v1/projects/{idOrName}/members': (variables: AddProjectMemberVariables, signal?: AbortSignal | undefined) => Promise<AddProjectMemberResponse>;
|
|
19287
19318
|
'DELETE /v1/projects/{idOrName}/members/{uid}': (variables: RemoveProjectMemberVariables, signal?: AbortSignal | undefined) => Promise<RemoveProjectMemberResponse>;
|
|
19288
19319
|
'GET /v9/projects': (variables: GetProjectsVariables, signal?: AbortSignal | undefined) => Promise<GetProjectsResponse>;
|
|
19289
|
-
'POST /
|
|
19320
|
+
'POST /v10/projects': (variables: CreateProjectVariables, signal?: AbortSignal | undefined) => Promise<CreateProjectResponse>;
|
|
19290
19321
|
'GET /v9/projects/{idOrName}': (variables: GetProjectVariables, signal?: AbortSignal | undefined) => Promise<GetProjectResponse>;
|
|
19291
19322
|
'PATCH /v9/projects/{idOrName}': (variables: UpdateProjectVariables, signal?: AbortSignal | undefined) => Promise<UpdateProjectResponse>;
|
|
19292
19323
|
'DELETE /v9/projects/{idOrName}': (variables: DeleteProjectVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
|
@@ -19798,7 +19829,7 @@ declare class VercelApi {
|
|
|
19798
19829
|
framework?: "blitzjs" | "nextjs" | "gatsby" | "remix" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "sanity" | "storybook" | null;
|
|
19799
19830
|
latestDeployment?: string;
|
|
19800
19831
|
}[] | null;
|
|
19801
|
-
events: ("
|
|
19832
|
+
events: ("budget.reached" | "budget.reset" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "test-webhook")[];
|
|
19802
19833
|
id: string;
|
|
19803
19834
|
url: string;
|
|
19804
19835
|
ownerId: string;
|
|
@@ -19806,7 +19837,7 @@ declare class VercelApi {
|
|
|
19806
19837
|
updatedAt: number;
|
|
19807
19838
|
projectIds?: string[];
|
|
19808
19839
|
}[] | {
|
|
19809
|
-
events: ("
|
|
19840
|
+
events: ("budget.reached" | "budget.reset" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "test-webhook")[];
|
|
19810
19841
|
id: string;
|
|
19811
19842
|
url: string;
|
|
19812
19843
|
ownerId: string;
|
package/dist/index.mjs
CHANGED
|
@@ -468,7 +468,7 @@ const getProjects = (variables, signal) => fetch$1({
|
|
|
468
468
|
* Allows to create a new project with the provided configuration. It only requires the project `name` but more configuration can be provided to override the defaults.
|
|
469
469
|
*/
|
|
470
470
|
const createProject = (variables, signal) => fetch$1({
|
|
471
|
-
url: '/
|
|
471
|
+
url: '/v10/projects',
|
|
472
472
|
method: 'post',
|
|
473
473
|
...variables,
|
|
474
474
|
signal
|