vercel-api-js 0.11.0 → 0.11.1

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > vercel-api-js@0.11.0 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
2
+ > vercel-api-js@0.11.1 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
3
3
  > rimraf dist && tsup
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -11,12 +11,12 @@ CLI Cleaning output folder
11
11
  CJS Build start
12
12
  ESM Build start
13
13
  CJS dist/index.js 26.80 KB
14
- CJS dist/index.js.map 627.84 KB
15
- CJS ⚡️ Build success in 213ms
14
+ CJS dist/index.js.map 628.81 KB
15
+ CJS ⚡️ Build success in 123ms
16
16
  ESM dist/index.mjs 25.81 KB
17
- ESM dist/index.mjs.map 627.61 KB
18
- ESM ⚡️ Build success in 214ms
17
+ ESM dist/index.mjs.map 628.58 KB
18
+ ESM ⚡️ Build success in 123ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 6963ms
21
- DTS dist/index.d.ts 958.07 KB
22
- DTS dist/index.d.mts 958.07 KB
20
+ DTS ⚡️ Build success in 7933ms
21
+ DTS dist/index.d.ts 959.89 KB
22
+ DTS dist/index.d.mts 959.89 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # vercel-api-js
2
2
 
3
+ ## 0.11.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 88045f8: Add installationType parameter to GetConfigurationsQueryParams
8
+ - fc395d2: Add allowServerlessConcurrency field to resourceConfig
9
+
3
10
  ## 0.11.0
4
11
 
5
12
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -282,13 +282,17 @@ type TeamLimited = {
282
282
  * The membership of the authenticated User in relation to the Team.
283
283
  */
284
284
  membership: {
285
- confirmed?: boolean;
286
- confirmedAt?: number;
285
+ uid?: string;
286
+ entitlements?: {
287
+ entitlement: string;
288
+ }[];
289
+ confirmed: boolean;
290
+ confirmedAt: number;
287
291
  accessRequestedAt?: number;
288
- role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';
292
+ role: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';
289
293
  teamId?: string;
290
- createdAt?: number;
291
- created?: number;
294
+ createdAt: number;
295
+ created: number;
292
296
  joinedFrom?: {
293
297
  origin: 'link' | 'saml' | 'mail' | 'import' | 'teams' | 'github' | 'gitlab' | 'bitbucket' | 'dsync' | 'feedback' | 'organization-teams';
294
298
  commitId?: string;
@@ -302,7 +306,6 @@ type TeamLimited = {
302
306
  dsyncUserId?: string;
303
307
  dsyncConnectedAt?: number;
304
308
  };
305
- uid?: string;
306
309
  };
307
310
  /**
308
311
  * Will remain undocumented. Remove in v3 API.
@@ -1364,6 +1367,15 @@ type AuthUser = {
1364
1367
  customerId: string;
1365
1368
  } | null;
1366
1369
  reseller?: string;
1370
+ /**
1371
+ * Modifies block thresholds for this entity. A `multiplier` of 1 leads to no change in behavior. A `multiplier` of 1.25 would increase the block threshold by 25%. Only applies until `timestamp`. Do _not_ delete this property, ever. It indicates a user has self-unblocked and cannot do so again. Only the most recent entry applies, regardless of the `startsAt` and `expiresAt` timestamps of prior entries. Prior entries are kept for historical purposes only. This is modeled as a stack, where the most recent is the first (0th) entry.
1372
+ */
1373
+ hobbyBlockThresholdModifier?: {
1374
+ source: 'admin' | 'self-service';
1375
+ startsAt: number;
1376
+ expiresAt: number;
1377
+ multiplier: number;
1378
+ }[];
1367
1379
  } | null;
1368
1380
  /**
1369
1381
  * An object containing infomation related to the amount of platform resources may be allocated to the User account.
@@ -3334,6 +3346,7 @@ type UpdateProjectDataCacheResponse = {
3334
3346
  resourceConfig?: {
3335
3347
  functionDefaultTimeout?: number;
3336
3348
  functionDefaultMemoryType?: 'standard_legacy' | 'standard' | 'performance';
3349
+ allowServerlessConcurrency?: boolean;
3337
3350
  };
3338
3351
  rootDirectory?: string | null;
3339
3352
  serverlessFunctionRegion?: string | null;
@@ -7469,6 +7482,7 @@ type ListUserEventsVariables = {
7469
7482
  declare const listUserEvents: (variables: ListUserEventsVariables, signal?: AbortSignal) => Promise<ListUserEventsResponse>;
7470
7483
  type GetConfigurationsQueryParams = {
7471
7484
  view: 'account' | 'project';
7485
+ installationType?: 'marketplace' | 'external';
7472
7486
  /**
7473
7487
  * The Team identifier to perform the request on behalf of.
7474
7488
  */
@@ -9388,6 +9402,7 @@ type GetProjectsResponse = {
9388
9402
  resourceConfig?: {
9389
9403
  functionDefaultTimeout?: number;
9390
9404
  functionDefaultMemoryType?: 'standard_legacy' | 'standard' | 'performance';
9405
+ allowServerlessConcurrency?: boolean;
9391
9406
  };
9392
9407
  rootDirectory?: string | null;
9393
9408
  serverlessFunctionRegion?: string | null;
@@ -10149,6 +10164,7 @@ type CreateProjectResponse = {
10149
10164
  resourceConfig?: {
10150
10165
  functionDefaultTimeout?: number;
10151
10166
  functionDefaultMemoryType?: 'standard_legacy' | 'standard' | 'performance';
10167
+ allowServerlessConcurrency?: boolean;
10152
10168
  };
10153
10169
  rootDirectory?: string | null;
10154
10170
  serverlessFunctionRegion?: string | null;
@@ -11036,6 +11052,7 @@ type GetProjectResponse = {
11036
11052
  resourceConfig?: {
11037
11053
  functionDefaultTimeout?: number;
11038
11054
  functionDefaultMemoryType?: 'standard_legacy' | 'standard' | 'performance';
11055
+ allowServerlessConcurrency?: boolean;
11039
11056
  };
11040
11057
  rootDirectory?: string | null;
11041
11058
  serverlessFunctionRegion?: string | null;
@@ -11804,6 +11821,7 @@ type UpdateProjectResponse = {
11804
11821
  resourceConfig?: {
11805
11822
  functionDefaultTimeout?: number;
11806
11823
  functionDefaultMemoryType?: 'standard_legacy' | 'standard' | 'performance';
11824
+ allowServerlessConcurrency?: boolean;
11807
11825
  };
11808
11826
  rootDirectory?: string | null;
11809
11827
  serverlessFunctionRegion?: string | null;
@@ -16697,6 +16715,15 @@ type CreateTeamResponse = {
16697
16715
  customerId: string;
16698
16716
  } | null;
16699
16717
  reseller?: string;
16718
+ /**
16719
+ * Modifies block thresholds for this entity. A `multiplier` of 1 leads to no change in behavior. A `multiplier` of 1.25 would increase the block threshold by 25%. Only applies until `timestamp`. Do _not_ delete this property, ever. It indicates a user has self-unblocked and cannot do so again. Only the most recent entry applies, regardless of the `startsAt` and `expiresAt` timestamps of prior entries. Prior entries are kept for historical purposes only. This is modeled as a stack, where the most recent is the first (0th) entry.
16720
+ */
16721
+ hobbyBlockThresholdModifier?: {
16722
+ source: 'admin' | 'self-service';
16723
+ startsAt: number;
16724
+ expiresAt: number;
16725
+ multiplier: number;
16726
+ }[];
16700
16727
  };
16701
16728
  };
16702
16729
  type CreateTeamRequestBody = {
package/dist/index.d.ts CHANGED
@@ -282,13 +282,17 @@ type TeamLimited = {
282
282
  * The membership of the authenticated User in relation to the Team.
283
283
  */
284
284
  membership: {
285
- confirmed?: boolean;
286
- confirmedAt?: number;
285
+ uid?: string;
286
+ entitlements?: {
287
+ entitlement: string;
288
+ }[];
289
+ confirmed: boolean;
290
+ confirmedAt: number;
287
291
  accessRequestedAt?: number;
288
- role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';
292
+ role: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';
289
293
  teamId?: string;
290
- createdAt?: number;
291
- created?: number;
294
+ createdAt: number;
295
+ created: number;
292
296
  joinedFrom?: {
293
297
  origin: 'link' | 'saml' | 'mail' | 'import' | 'teams' | 'github' | 'gitlab' | 'bitbucket' | 'dsync' | 'feedback' | 'organization-teams';
294
298
  commitId?: string;
@@ -302,7 +306,6 @@ type TeamLimited = {
302
306
  dsyncUserId?: string;
303
307
  dsyncConnectedAt?: number;
304
308
  };
305
- uid?: string;
306
309
  };
307
310
  /**
308
311
  * Will remain undocumented. Remove in v3 API.
@@ -1364,6 +1367,15 @@ type AuthUser = {
1364
1367
  customerId: string;
1365
1368
  } | null;
1366
1369
  reseller?: string;
1370
+ /**
1371
+ * Modifies block thresholds for this entity. A `multiplier` of 1 leads to no change in behavior. A `multiplier` of 1.25 would increase the block threshold by 25%. Only applies until `timestamp`. Do _not_ delete this property, ever. It indicates a user has self-unblocked and cannot do so again. Only the most recent entry applies, regardless of the `startsAt` and `expiresAt` timestamps of prior entries. Prior entries are kept for historical purposes only. This is modeled as a stack, where the most recent is the first (0th) entry.
1372
+ */
1373
+ hobbyBlockThresholdModifier?: {
1374
+ source: 'admin' | 'self-service';
1375
+ startsAt: number;
1376
+ expiresAt: number;
1377
+ multiplier: number;
1378
+ }[];
1367
1379
  } | null;
1368
1380
  /**
1369
1381
  * An object containing infomation related to the amount of platform resources may be allocated to the User account.
@@ -3334,6 +3346,7 @@ type UpdateProjectDataCacheResponse = {
3334
3346
  resourceConfig?: {
3335
3347
  functionDefaultTimeout?: number;
3336
3348
  functionDefaultMemoryType?: 'standard_legacy' | 'standard' | 'performance';
3349
+ allowServerlessConcurrency?: boolean;
3337
3350
  };
3338
3351
  rootDirectory?: string | null;
3339
3352
  serverlessFunctionRegion?: string | null;
@@ -7469,6 +7482,7 @@ type ListUserEventsVariables = {
7469
7482
  declare const listUserEvents: (variables: ListUserEventsVariables, signal?: AbortSignal) => Promise<ListUserEventsResponse>;
7470
7483
  type GetConfigurationsQueryParams = {
7471
7484
  view: 'account' | 'project';
7485
+ installationType?: 'marketplace' | 'external';
7472
7486
  /**
7473
7487
  * The Team identifier to perform the request on behalf of.
7474
7488
  */
@@ -9388,6 +9402,7 @@ type GetProjectsResponse = {
9388
9402
  resourceConfig?: {
9389
9403
  functionDefaultTimeout?: number;
9390
9404
  functionDefaultMemoryType?: 'standard_legacy' | 'standard' | 'performance';
9405
+ allowServerlessConcurrency?: boolean;
9391
9406
  };
9392
9407
  rootDirectory?: string | null;
9393
9408
  serverlessFunctionRegion?: string | null;
@@ -10149,6 +10164,7 @@ type CreateProjectResponse = {
10149
10164
  resourceConfig?: {
10150
10165
  functionDefaultTimeout?: number;
10151
10166
  functionDefaultMemoryType?: 'standard_legacy' | 'standard' | 'performance';
10167
+ allowServerlessConcurrency?: boolean;
10152
10168
  };
10153
10169
  rootDirectory?: string | null;
10154
10170
  serverlessFunctionRegion?: string | null;
@@ -11036,6 +11052,7 @@ type GetProjectResponse = {
11036
11052
  resourceConfig?: {
11037
11053
  functionDefaultTimeout?: number;
11038
11054
  functionDefaultMemoryType?: 'standard_legacy' | 'standard' | 'performance';
11055
+ allowServerlessConcurrency?: boolean;
11039
11056
  };
11040
11057
  rootDirectory?: string | null;
11041
11058
  serverlessFunctionRegion?: string | null;
@@ -11804,6 +11821,7 @@ type UpdateProjectResponse = {
11804
11821
  resourceConfig?: {
11805
11822
  functionDefaultTimeout?: number;
11806
11823
  functionDefaultMemoryType?: 'standard_legacy' | 'standard' | 'performance';
11824
+ allowServerlessConcurrency?: boolean;
11807
11825
  };
11808
11826
  rootDirectory?: string | null;
11809
11827
  serverlessFunctionRegion?: string | null;
@@ -16697,6 +16715,15 @@ type CreateTeamResponse = {
16697
16715
  customerId: string;
16698
16716
  } | null;
16699
16717
  reseller?: string;
16718
+ /**
16719
+ * Modifies block thresholds for this entity. A `multiplier` of 1 leads to no change in behavior. A `multiplier` of 1.25 would increase the block threshold by 25%. Only applies until `timestamp`. Do _not_ delete this property, ever. It indicates a user has self-unblocked and cannot do so again. Only the most recent entry applies, regardless of the `startsAt` and `expiresAt` timestamps of prior entries. Prior entries are kept for historical purposes only. This is modeled as a stack, where the most recent is the first (0th) entry.
16720
+ */
16721
+ hobbyBlockThresholdModifier?: {
16722
+ source: 'admin' | 'self-service';
16723
+ startsAt: number;
16724
+ expiresAt: number;
16725
+ multiplier: number;
16726
+ }[];
16700
16727
  };
16701
16728
  };
16702
16729
  type CreateTeamRequestBody = {