vercel-api-js 0.24.3 → 0.25.0
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 +1 -1
- package/CHANGELOG.md +10 -0
- package/dist/index.d.cts +20 -8
- package/dist/index.d.mts +20 -8
- package/dist/index.d.ts +20 -8
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> vercel-api-js@0.
|
|
2
|
+
> vercel-api-js@0.25.0 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
|
|
3
3
|
> unbuild
|
|
4
4
|
|
|
5
5
|
[info] Automatically detected entries: src/index [esm] [cjs] [dts]
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# vercel-api-js
|
|
2
2
|
|
|
3
|
+
## 0.25.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9df31d8: [BREAKING] Added configurationId field to CreateProjectResponse, GetProjectResponse, UpdateProjectResponse, and UpdateProjectDataCacheResponse
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 640279f: Add shared v0 token
|
|
12
|
+
|
|
3
13
|
## 0.24.3
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -109,9 +109,9 @@ type UserEvent = {
|
|
|
109
109
|
* Metadata for {@link userId}.
|
|
110
110
|
*/
|
|
111
111
|
user?: {
|
|
112
|
+
username: string;
|
|
112
113
|
avatar: string;
|
|
113
114
|
email: string;
|
|
114
|
-
username: string;
|
|
115
115
|
slug?: string;
|
|
116
116
|
uid: string;
|
|
117
117
|
};
|
|
@@ -191,8 +191,8 @@ type UserEvent = {
|
|
|
191
191
|
id: string;
|
|
192
192
|
name?: string;
|
|
193
193
|
};
|
|
194
|
-
next_role?:
|
|
195
|
-
previous_role?:
|
|
194
|
+
next_role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER' | null;
|
|
195
|
+
previous_role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';
|
|
196
196
|
} | {
|
|
197
197
|
alias?: string;
|
|
198
198
|
deployment?: {
|
|
@@ -967,7 +967,6 @@ type UserEvent = {
|
|
|
967
967
|
edgeConfigSize?: number;
|
|
968
968
|
edgeFunctionMaxSizeBytes?: number;
|
|
969
969
|
edgeFunctionExecutionTimeoutMs?: number;
|
|
970
|
-
serverlessFunctionDefaultMaxExecutionTime?: number;
|
|
971
970
|
serverlessFunctionMaxMemorySize?: number;
|
|
972
971
|
kvDatabases?: number;
|
|
973
972
|
postgresDatabases?: number;
|
|
@@ -1648,6 +1647,13 @@ type UserEvent = {
|
|
|
1648
1647
|
};
|
|
1649
1648
|
} | {
|
|
1650
1649
|
projectId: string;
|
|
1650
|
+
} | {
|
|
1651
|
+
projectId: string;
|
|
1652
|
+
projectName: string;
|
|
1653
|
+
} | {
|
|
1654
|
+
projectId?: string;
|
|
1655
|
+
projectName?: string;
|
|
1656
|
+
newTargetPercentage?: number;
|
|
1651
1657
|
} | {
|
|
1652
1658
|
gitProvider: string;
|
|
1653
1659
|
gitProviderGroupDescriptor: string;
|
|
@@ -2544,10 +2550,6 @@ type AuthUser = {
|
|
|
2544
2550
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
2545
2551
|
*/
|
|
2546
2552
|
edgeFunctionExecutionTimeoutMs?: number;
|
|
2547
|
-
/**
|
|
2548
|
-
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
2549
|
-
*/
|
|
2550
|
-
serverlessFunctionDefaultMaxExecutionTime?: number;
|
|
2551
2553
|
/**
|
|
2552
2554
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
2553
2555
|
*/
|
|
@@ -5168,6 +5170,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
5168
5170
|
createdBy: string;
|
|
5169
5171
|
scope: 'integration-automation-bypass';
|
|
5170
5172
|
integrationId: string;
|
|
5173
|
+
configurationId: string;
|
|
5171
5174
|
} | {
|
|
5172
5175
|
createdAt: number;
|
|
5173
5176
|
createdBy: string;
|
|
@@ -12743,6 +12746,7 @@ type GetProjectsResponse = {
|
|
|
12743
12746
|
createdBy: string;
|
|
12744
12747
|
scope: 'integration-automation-bypass';
|
|
12745
12748
|
integrationId: string;
|
|
12749
|
+
configurationId: string;
|
|
12746
12750
|
} | {
|
|
12747
12751
|
createdAt: number;
|
|
12748
12752
|
createdBy: string;
|
|
@@ -13707,6 +13711,7 @@ type CreateProjectResponse = {
|
|
|
13707
13711
|
createdBy: string;
|
|
13708
13712
|
scope: 'integration-automation-bypass';
|
|
13709
13713
|
integrationId: string;
|
|
13714
|
+
configurationId: string;
|
|
13710
13715
|
} | {
|
|
13711
13716
|
createdAt: number;
|
|
13712
13717
|
createdBy: string;
|
|
@@ -14837,6 +14842,7 @@ type GetProjectResponse = {
|
|
|
14837
14842
|
createdBy: string;
|
|
14838
14843
|
scope: 'integration-automation-bypass';
|
|
14839
14844
|
integrationId: string;
|
|
14845
|
+
configurationId: string;
|
|
14840
14846
|
} | {
|
|
14841
14847
|
createdAt: number;
|
|
14842
14848
|
createdBy: string;
|
|
@@ -15808,6 +15814,7 @@ type UpdateProjectResponse = {
|
|
|
15808
15814
|
createdBy: string;
|
|
15809
15815
|
scope: 'integration-automation-bypass';
|
|
15810
15816
|
integrationId: string;
|
|
15817
|
+
configurationId: string;
|
|
15811
15818
|
} | {
|
|
15812
15819
|
createdAt: number;
|
|
15813
15820
|
createdBy: string;
|
|
@@ -18813,6 +18820,7 @@ type UpdateProjectProtectionBypassResponse = {
|
|
|
18813
18820
|
createdBy: string;
|
|
18814
18821
|
scope: 'integration-automation-bypass';
|
|
18815
18822
|
integrationId: string;
|
|
18823
|
+
configurationId: string;
|
|
18816
18824
|
} | {
|
|
18817
18825
|
createdAt: number;
|
|
18818
18826
|
createdBy: string;
|
|
@@ -20739,6 +20747,10 @@ type UploadFileHeaders = {
|
|
|
20739
20747
|
* @deprecated true
|
|
20740
20748
|
*/
|
|
20741
20749
|
['x-now-size']?: number;
|
|
20750
|
+
/**
|
|
20751
|
+
* Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit.
|
|
20752
|
+
*/
|
|
20753
|
+
['x-internal-v0-token']?: string;
|
|
20742
20754
|
};
|
|
20743
20755
|
type UploadFileError = ErrorWrapper<undefined>;
|
|
20744
20756
|
type UploadFileVariables = {
|
package/dist/index.d.mts
CHANGED
|
@@ -109,9 +109,9 @@ type UserEvent = {
|
|
|
109
109
|
* Metadata for {@link userId}.
|
|
110
110
|
*/
|
|
111
111
|
user?: {
|
|
112
|
+
username: string;
|
|
112
113
|
avatar: string;
|
|
113
114
|
email: string;
|
|
114
|
-
username: string;
|
|
115
115
|
slug?: string;
|
|
116
116
|
uid: string;
|
|
117
117
|
};
|
|
@@ -191,8 +191,8 @@ type UserEvent = {
|
|
|
191
191
|
id: string;
|
|
192
192
|
name?: string;
|
|
193
193
|
};
|
|
194
|
-
next_role?:
|
|
195
|
-
previous_role?:
|
|
194
|
+
next_role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER' | null;
|
|
195
|
+
previous_role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';
|
|
196
196
|
} | {
|
|
197
197
|
alias?: string;
|
|
198
198
|
deployment?: {
|
|
@@ -967,7 +967,6 @@ type UserEvent = {
|
|
|
967
967
|
edgeConfigSize?: number;
|
|
968
968
|
edgeFunctionMaxSizeBytes?: number;
|
|
969
969
|
edgeFunctionExecutionTimeoutMs?: number;
|
|
970
|
-
serverlessFunctionDefaultMaxExecutionTime?: number;
|
|
971
970
|
serverlessFunctionMaxMemorySize?: number;
|
|
972
971
|
kvDatabases?: number;
|
|
973
972
|
postgresDatabases?: number;
|
|
@@ -1648,6 +1647,13 @@ type UserEvent = {
|
|
|
1648
1647
|
};
|
|
1649
1648
|
} | {
|
|
1650
1649
|
projectId: string;
|
|
1650
|
+
} | {
|
|
1651
|
+
projectId: string;
|
|
1652
|
+
projectName: string;
|
|
1653
|
+
} | {
|
|
1654
|
+
projectId?: string;
|
|
1655
|
+
projectName?: string;
|
|
1656
|
+
newTargetPercentage?: number;
|
|
1651
1657
|
} | {
|
|
1652
1658
|
gitProvider: string;
|
|
1653
1659
|
gitProviderGroupDescriptor: string;
|
|
@@ -2544,10 +2550,6 @@ type AuthUser = {
|
|
|
2544
2550
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
2545
2551
|
*/
|
|
2546
2552
|
edgeFunctionExecutionTimeoutMs?: number;
|
|
2547
|
-
/**
|
|
2548
|
-
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
2549
|
-
*/
|
|
2550
|
-
serverlessFunctionDefaultMaxExecutionTime?: number;
|
|
2551
2553
|
/**
|
|
2552
2554
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
2553
2555
|
*/
|
|
@@ -5168,6 +5170,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
5168
5170
|
createdBy: string;
|
|
5169
5171
|
scope: 'integration-automation-bypass';
|
|
5170
5172
|
integrationId: string;
|
|
5173
|
+
configurationId: string;
|
|
5171
5174
|
} | {
|
|
5172
5175
|
createdAt: number;
|
|
5173
5176
|
createdBy: string;
|
|
@@ -12743,6 +12746,7 @@ type GetProjectsResponse = {
|
|
|
12743
12746
|
createdBy: string;
|
|
12744
12747
|
scope: 'integration-automation-bypass';
|
|
12745
12748
|
integrationId: string;
|
|
12749
|
+
configurationId: string;
|
|
12746
12750
|
} | {
|
|
12747
12751
|
createdAt: number;
|
|
12748
12752
|
createdBy: string;
|
|
@@ -13707,6 +13711,7 @@ type CreateProjectResponse = {
|
|
|
13707
13711
|
createdBy: string;
|
|
13708
13712
|
scope: 'integration-automation-bypass';
|
|
13709
13713
|
integrationId: string;
|
|
13714
|
+
configurationId: string;
|
|
13710
13715
|
} | {
|
|
13711
13716
|
createdAt: number;
|
|
13712
13717
|
createdBy: string;
|
|
@@ -14837,6 +14842,7 @@ type GetProjectResponse = {
|
|
|
14837
14842
|
createdBy: string;
|
|
14838
14843
|
scope: 'integration-automation-bypass';
|
|
14839
14844
|
integrationId: string;
|
|
14845
|
+
configurationId: string;
|
|
14840
14846
|
} | {
|
|
14841
14847
|
createdAt: number;
|
|
14842
14848
|
createdBy: string;
|
|
@@ -15808,6 +15814,7 @@ type UpdateProjectResponse = {
|
|
|
15808
15814
|
createdBy: string;
|
|
15809
15815
|
scope: 'integration-automation-bypass';
|
|
15810
15816
|
integrationId: string;
|
|
15817
|
+
configurationId: string;
|
|
15811
15818
|
} | {
|
|
15812
15819
|
createdAt: number;
|
|
15813
15820
|
createdBy: string;
|
|
@@ -18813,6 +18820,7 @@ type UpdateProjectProtectionBypassResponse = {
|
|
|
18813
18820
|
createdBy: string;
|
|
18814
18821
|
scope: 'integration-automation-bypass';
|
|
18815
18822
|
integrationId: string;
|
|
18823
|
+
configurationId: string;
|
|
18816
18824
|
} | {
|
|
18817
18825
|
createdAt: number;
|
|
18818
18826
|
createdBy: string;
|
|
@@ -20739,6 +20747,10 @@ type UploadFileHeaders = {
|
|
|
20739
20747
|
* @deprecated true
|
|
20740
20748
|
*/
|
|
20741
20749
|
['x-now-size']?: number;
|
|
20750
|
+
/**
|
|
20751
|
+
* Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit.
|
|
20752
|
+
*/
|
|
20753
|
+
['x-internal-v0-token']?: string;
|
|
20742
20754
|
};
|
|
20743
20755
|
type UploadFileError = ErrorWrapper<undefined>;
|
|
20744
20756
|
type UploadFileVariables = {
|
package/dist/index.d.ts
CHANGED
|
@@ -109,9 +109,9 @@ type UserEvent = {
|
|
|
109
109
|
* Metadata for {@link userId}.
|
|
110
110
|
*/
|
|
111
111
|
user?: {
|
|
112
|
+
username: string;
|
|
112
113
|
avatar: string;
|
|
113
114
|
email: string;
|
|
114
|
-
username: string;
|
|
115
115
|
slug?: string;
|
|
116
116
|
uid: string;
|
|
117
117
|
};
|
|
@@ -191,8 +191,8 @@ type UserEvent = {
|
|
|
191
191
|
id: string;
|
|
192
192
|
name?: string;
|
|
193
193
|
};
|
|
194
|
-
next_role?:
|
|
195
|
-
previous_role?:
|
|
194
|
+
next_role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER' | null;
|
|
195
|
+
previous_role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';
|
|
196
196
|
} | {
|
|
197
197
|
alias?: string;
|
|
198
198
|
deployment?: {
|
|
@@ -967,7 +967,6 @@ type UserEvent = {
|
|
|
967
967
|
edgeConfigSize?: number;
|
|
968
968
|
edgeFunctionMaxSizeBytes?: number;
|
|
969
969
|
edgeFunctionExecutionTimeoutMs?: number;
|
|
970
|
-
serverlessFunctionDefaultMaxExecutionTime?: number;
|
|
971
970
|
serverlessFunctionMaxMemorySize?: number;
|
|
972
971
|
kvDatabases?: number;
|
|
973
972
|
postgresDatabases?: number;
|
|
@@ -1648,6 +1647,13 @@ type UserEvent = {
|
|
|
1648
1647
|
};
|
|
1649
1648
|
} | {
|
|
1650
1649
|
projectId: string;
|
|
1650
|
+
} | {
|
|
1651
|
+
projectId: string;
|
|
1652
|
+
projectName: string;
|
|
1653
|
+
} | {
|
|
1654
|
+
projectId?: string;
|
|
1655
|
+
projectName?: string;
|
|
1656
|
+
newTargetPercentage?: number;
|
|
1651
1657
|
} | {
|
|
1652
1658
|
gitProvider: string;
|
|
1653
1659
|
gitProviderGroupDescriptor: string;
|
|
@@ -2544,10 +2550,6 @@ type AuthUser = {
|
|
|
2544
2550
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
2545
2551
|
*/
|
|
2546
2552
|
edgeFunctionExecutionTimeoutMs?: number;
|
|
2547
|
-
/**
|
|
2548
|
-
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
2549
|
-
*/
|
|
2550
|
-
serverlessFunctionDefaultMaxExecutionTime?: number;
|
|
2551
2553
|
/**
|
|
2552
2554
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
2553
2555
|
*/
|
|
@@ -5168,6 +5170,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
5168
5170
|
createdBy: string;
|
|
5169
5171
|
scope: 'integration-automation-bypass';
|
|
5170
5172
|
integrationId: string;
|
|
5173
|
+
configurationId: string;
|
|
5171
5174
|
} | {
|
|
5172
5175
|
createdAt: number;
|
|
5173
5176
|
createdBy: string;
|
|
@@ -12743,6 +12746,7 @@ type GetProjectsResponse = {
|
|
|
12743
12746
|
createdBy: string;
|
|
12744
12747
|
scope: 'integration-automation-bypass';
|
|
12745
12748
|
integrationId: string;
|
|
12749
|
+
configurationId: string;
|
|
12746
12750
|
} | {
|
|
12747
12751
|
createdAt: number;
|
|
12748
12752
|
createdBy: string;
|
|
@@ -13707,6 +13711,7 @@ type CreateProjectResponse = {
|
|
|
13707
13711
|
createdBy: string;
|
|
13708
13712
|
scope: 'integration-automation-bypass';
|
|
13709
13713
|
integrationId: string;
|
|
13714
|
+
configurationId: string;
|
|
13710
13715
|
} | {
|
|
13711
13716
|
createdAt: number;
|
|
13712
13717
|
createdBy: string;
|
|
@@ -14837,6 +14842,7 @@ type GetProjectResponse = {
|
|
|
14837
14842
|
createdBy: string;
|
|
14838
14843
|
scope: 'integration-automation-bypass';
|
|
14839
14844
|
integrationId: string;
|
|
14845
|
+
configurationId: string;
|
|
14840
14846
|
} | {
|
|
14841
14847
|
createdAt: number;
|
|
14842
14848
|
createdBy: string;
|
|
@@ -15808,6 +15814,7 @@ type UpdateProjectResponse = {
|
|
|
15808
15814
|
createdBy: string;
|
|
15809
15815
|
scope: 'integration-automation-bypass';
|
|
15810
15816
|
integrationId: string;
|
|
15817
|
+
configurationId: string;
|
|
15811
15818
|
} | {
|
|
15812
15819
|
createdAt: number;
|
|
15813
15820
|
createdBy: string;
|
|
@@ -18813,6 +18820,7 @@ type UpdateProjectProtectionBypassResponse = {
|
|
|
18813
18820
|
createdBy: string;
|
|
18814
18821
|
scope: 'integration-automation-bypass';
|
|
18815
18822
|
integrationId: string;
|
|
18823
|
+
configurationId: string;
|
|
18816
18824
|
} | {
|
|
18817
18825
|
createdAt: number;
|
|
18818
18826
|
createdBy: string;
|
|
@@ -20739,6 +20747,10 @@ type UploadFileHeaders = {
|
|
|
20739
20747
|
* @deprecated true
|
|
20740
20748
|
*/
|
|
20741
20749
|
['x-now-size']?: number;
|
|
20750
|
+
/**
|
|
20751
|
+
* Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit.
|
|
20752
|
+
*/
|
|
20753
|
+
['x-internal-v0-token']?: string;
|
|
20742
20754
|
};
|
|
20743
20755
|
type UploadFileError = ErrorWrapper<undefined>;
|
|
20744
20756
|
type UploadFileVariables = {
|