vercel-api-js 0.8.3 → 0.8.4

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.8.3 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
2
+ > vercel-api-js@0.8.4 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 @@
11
11
  CJS Build start
12
12
  ESM Build start
13
13
  ESM dist/index.mjs 24.90 KB
14
- ESM dist/index.mjs.map 564.11 KB
15
- ESM ⚡️ Build success in 130ms
14
+ ESM dist/index.mjs.map 564.89 KB
15
+ ESM ⚡️ Build success in 139ms
16
16
  CJS dist/index.js 25.89 KB
17
- CJS dist/index.js.map 564.34 KB
18
- CJS ⚡️ Build success in 162ms
17
+ CJS dist/index.js.map 565.12 KB
18
+ CJS ⚡️ Build success in 154ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 6639ms
21
- DTS dist/index.d.ts 852.83 KB
22
- DTS dist/index.d.mts 852.83 KB
20
+ DTS ⚡️ Build success in 7649ms
21
+ DTS dist/index.d.ts 853.60 KB
22
+ DTS dist/index.d.mts 853.60 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # vercel-api-js
2
2
 
3
+ ## 0.8.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 611e148: Make deploymentExpiration fields optional
8
+ - cb67b7d: Add new fields to deployment expiration in UpdateProjectDataCacheResponse
9
+ - f86aa27: Add teamGitExclusivity field to project endpoints
10
+ - cd0ddde: Add integrationResource field to various API responses
11
+
3
12
  ## 0.8.3
4
13
 
5
14
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -2943,9 +2943,11 @@ type UpdateProjectDataCacheResponse = {
2943
2943
  unlimited?: boolean;
2944
2944
  };
2945
2945
  deploymentExpiration?: {
2946
- expirationDays: number;
2947
- expirationDaysProduction: number;
2948
- deploymentsToKeep: number;
2946
+ expirationDays?: number;
2947
+ expirationDaysProduction?: number;
2948
+ expirationDaysCanceled?: number;
2949
+ expirationDaysErrored?: number;
2950
+ deploymentsToKeep?: number;
2949
2951
  } | null;
2950
2952
  devCommand?: string | null;
2951
2953
  directoryListing: boolean;
@@ -3222,6 +3224,7 @@ type UpdateProjectDataCacheResponse = {
3222
3224
  integrationConfigurationTransfer?: ACLAction[];
3223
3225
  integrationConfigurationProjects?: ACLAction[];
3224
3226
  integrationVercelConfigurationOverride?: ACLAction[];
3227
+ integrationResource?: ACLAction[];
3225
3228
  integrationStore?: ACLAction[];
3226
3229
  integrationEvent?: ACLAction[];
3227
3230
  integrationResourceSecrets?: ACLAction[];
@@ -3274,6 +3277,7 @@ type UpdateProjectDataCacheResponse = {
3274
3277
  team?: ACLAction[];
3275
3278
  teamAccessRequest?: ACLAction[];
3276
3279
  teamFellowMembership?: ACLAction[];
3280
+ teamGitExclusivity?: ACLAction[];
3277
3281
  teamInvite?: ACLAction[];
3278
3282
  teamInviteCode?: ACLAction[];
3279
3283
  teamJoin?: ACLAction[];
@@ -8591,11 +8595,11 @@ type GetProjectsResponse = {
8591
8595
  unlimited?: boolean;
8592
8596
  };
8593
8597
  deploymentExpiration?: {
8594
- expirationDays: number;
8595
- expirationDaysProduction: number;
8596
- expirationDaysCanceled: number;
8597
- expirationDaysErrored: number;
8598
- deploymentsToKeep: number;
8598
+ expirationDays?: number;
8599
+ expirationDaysProduction?: number;
8600
+ expirationDaysCanceled?: number;
8601
+ expirationDaysErrored?: number;
8602
+ deploymentsToKeep?: number;
8599
8603
  } | null;
8600
8604
  devCommand?: string | null;
8601
8605
  directoryListing: boolean;
@@ -8872,6 +8876,7 @@ type GetProjectsResponse = {
8872
8876
  integrationConfigurationTransfer?: ACLAction[];
8873
8877
  integrationConfigurationProjects?: ACLAction[];
8874
8878
  integrationVercelConfigurationOverride?: ACLAction[];
8879
+ integrationResource?: ACLAction[];
8875
8880
  integrationStore?: ACLAction[];
8876
8881
  integrationEvent?: ACLAction[];
8877
8882
  integrationResourceSecrets?: ACLAction[];
@@ -8924,6 +8929,7 @@ type GetProjectsResponse = {
8924
8929
  team?: ACLAction[];
8925
8930
  teamAccessRequest?: ACLAction[];
8926
8931
  teamFellowMembership?: ACLAction[];
8932
+ teamGitExclusivity?: ACLAction[];
8927
8933
  teamInvite?: ACLAction[];
8928
8934
  teamInviteCode?: ACLAction[];
8929
8935
  teamJoin?: ACLAction[];
@@ -9209,11 +9215,11 @@ type CreateProjectResponse = {
9209
9215
  unlimited?: boolean;
9210
9216
  };
9211
9217
  deploymentExpiration?: {
9212
- expirationDays: number;
9213
- expirationDaysProduction: number;
9214
- expirationDaysCanceled: number;
9215
- expirationDaysErrored: number;
9216
- deploymentsToKeep: number;
9218
+ expirationDays?: number;
9219
+ expirationDaysProduction?: number;
9220
+ expirationDaysCanceled?: number;
9221
+ expirationDaysErrored?: number;
9222
+ deploymentsToKeep?: number;
9217
9223
  } | null;
9218
9224
  devCommand?: string | null;
9219
9225
  directoryListing: boolean;
@@ -9490,6 +9496,7 @@ type CreateProjectResponse = {
9490
9496
  integrationConfigurationTransfer?: ACLAction[];
9491
9497
  integrationConfigurationProjects?: ACLAction[];
9492
9498
  integrationVercelConfigurationOverride?: ACLAction[];
9499
+ integrationResource?: ACLAction[];
9493
9500
  integrationStore?: ACLAction[];
9494
9501
  integrationEvent?: ACLAction[];
9495
9502
  integrationResourceSecrets?: ACLAction[];
@@ -9542,6 +9549,7 @@ type CreateProjectResponse = {
9542
9549
  team?: ACLAction[];
9543
9550
  teamAccessRequest?: ACLAction[];
9544
9551
  teamFellowMembership?: ACLAction[];
9552
+ teamGitExclusivity?: ACLAction[];
9545
9553
  teamInvite?: ACLAction[];
9546
9554
  teamInviteCode?: ACLAction[];
9547
9555
  teamJoin?: ACLAction[];
@@ -9940,11 +9948,11 @@ type GetProjectResponse = {
9940
9948
  unlimited?: boolean;
9941
9949
  };
9942
9950
  deploymentExpiration?: {
9943
- expirationDays: number;
9944
- expirationDaysProduction: number;
9945
- expirationDaysCanceled: number;
9946
- expirationDaysErrored: number;
9947
- deploymentsToKeep: number;
9951
+ expirationDays?: number;
9952
+ expirationDaysProduction?: number;
9953
+ expirationDaysCanceled?: number;
9954
+ expirationDaysErrored?: number;
9955
+ deploymentsToKeep?: number;
9948
9956
  } | null;
9949
9957
  devCommand?: string | null;
9950
9958
  directoryListing: boolean;
@@ -10221,6 +10229,7 @@ type GetProjectResponse = {
10221
10229
  integrationConfigurationTransfer?: ACLAction[];
10222
10230
  integrationConfigurationProjects?: ACLAction[];
10223
10231
  integrationVercelConfigurationOverride?: ACLAction[];
10232
+ integrationResource?: ACLAction[];
10224
10233
  integrationStore?: ACLAction[];
10225
10234
  integrationEvent?: ACLAction[];
10226
10235
  integrationResourceSecrets?: ACLAction[];
@@ -10273,6 +10282,7 @@ type GetProjectResponse = {
10273
10282
  team?: ACLAction[];
10274
10283
  teamAccessRequest?: ACLAction[];
10275
10284
  teamFellowMembership?: ACLAction[];
10285
+ teamGitExclusivity?: ACLAction[];
10276
10286
  teamInvite?: ACLAction[];
10277
10287
  teamInviteCode?: ACLAction[];
10278
10288
  teamJoin?: ACLAction[];
@@ -10565,11 +10575,11 @@ type UpdateProjectResponse = {
10565
10575
  unlimited?: boolean;
10566
10576
  };
10567
10577
  deploymentExpiration?: {
10568
- expirationDays: number;
10569
- expirationDaysProduction: number;
10570
- expirationDaysCanceled: number;
10571
- expirationDaysErrored: number;
10572
- deploymentsToKeep: number;
10578
+ expirationDays?: number;
10579
+ expirationDaysProduction?: number;
10580
+ expirationDaysCanceled?: number;
10581
+ expirationDaysErrored?: number;
10582
+ deploymentsToKeep?: number;
10573
10583
  } | null;
10574
10584
  devCommand?: string | null;
10575
10585
  directoryListing: boolean;
@@ -10846,6 +10856,7 @@ type UpdateProjectResponse = {
10846
10856
  integrationConfigurationTransfer?: ACLAction[];
10847
10857
  integrationConfigurationProjects?: ACLAction[];
10848
10858
  integrationVercelConfigurationOverride?: ACLAction[];
10859
+ integrationResource?: ACLAction[];
10849
10860
  integrationStore?: ACLAction[];
10850
10861
  integrationEvent?: ACLAction[];
10851
10862
  integrationResourceSecrets?: ACLAction[];
@@ -10898,6 +10909,7 @@ type UpdateProjectResponse = {
10898
10909
  team?: ACLAction[];
10899
10910
  teamAccessRequest?: ACLAction[];
10900
10911
  teamFellowMembership?: ACLAction[];
10912
+ teamGitExclusivity?: ACLAction[];
10901
10913
  teamInvite?: ACLAction[];
10902
10914
  teamInviteCode?: ACLAction[];
10903
10915
  teamJoin?: ACLAction[];
@@ -16352,6 +16364,14 @@ type GetDeploymentsResponse = {
16352
16364
  * The ID of Vercel Connect configuration used for this deployment's passive functions
16353
16365
  */
16354
16366
  passiveConnectConfigurationId?: string;
16367
+ /**
16368
+ * The expiration configured by the project retention policy
16369
+ */
16370
+ expiration?: number;
16371
+ /**
16372
+ * The expiration proposed to replace the existing expiration
16373
+ */
16374
+ proposedExpiration?: number;
16355
16375
  }[];
16356
16376
  };
16357
16377
  type GetDeploymentsVariables = {
package/dist/index.d.ts CHANGED
@@ -2943,9 +2943,11 @@ type UpdateProjectDataCacheResponse = {
2943
2943
  unlimited?: boolean;
2944
2944
  };
2945
2945
  deploymentExpiration?: {
2946
- expirationDays: number;
2947
- expirationDaysProduction: number;
2948
- deploymentsToKeep: number;
2946
+ expirationDays?: number;
2947
+ expirationDaysProduction?: number;
2948
+ expirationDaysCanceled?: number;
2949
+ expirationDaysErrored?: number;
2950
+ deploymentsToKeep?: number;
2949
2951
  } | null;
2950
2952
  devCommand?: string | null;
2951
2953
  directoryListing: boolean;
@@ -3222,6 +3224,7 @@ type UpdateProjectDataCacheResponse = {
3222
3224
  integrationConfigurationTransfer?: ACLAction[];
3223
3225
  integrationConfigurationProjects?: ACLAction[];
3224
3226
  integrationVercelConfigurationOverride?: ACLAction[];
3227
+ integrationResource?: ACLAction[];
3225
3228
  integrationStore?: ACLAction[];
3226
3229
  integrationEvent?: ACLAction[];
3227
3230
  integrationResourceSecrets?: ACLAction[];
@@ -3274,6 +3277,7 @@ type UpdateProjectDataCacheResponse = {
3274
3277
  team?: ACLAction[];
3275
3278
  teamAccessRequest?: ACLAction[];
3276
3279
  teamFellowMembership?: ACLAction[];
3280
+ teamGitExclusivity?: ACLAction[];
3277
3281
  teamInvite?: ACLAction[];
3278
3282
  teamInviteCode?: ACLAction[];
3279
3283
  teamJoin?: ACLAction[];
@@ -8591,11 +8595,11 @@ type GetProjectsResponse = {
8591
8595
  unlimited?: boolean;
8592
8596
  };
8593
8597
  deploymentExpiration?: {
8594
- expirationDays: number;
8595
- expirationDaysProduction: number;
8596
- expirationDaysCanceled: number;
8597
- expirationDaysErrored: number;
8598
- deploymentsToKeep: number;
8598
+ expirationDays?: number;
8599
+ expirationDaysProduction?: number;
8600
+ expirationDaysCanceled?: number;
8601
+ expirationDaysErrored?: number;
8602
+ deploymentsToKeep?: number;
8599
8603
  } | null;
8600
8604
  devCommand?: string | null;
8601
8605
  directoryListing: boolean;
@@ -8872,6 +8876,7 @@ type GetProjectsResponse = {
8872
8876
  integrationConfigurationTransfer?: ACLAction[];
8873
8877
  integrationConfigurationProjects?: ACLAction[];
8874
8878
  integrationVercelConfigurationOverride?: ACLAction[];
8879
+ integrationResource?: ACLAction[];
8875
8880
  integrationStore?: ACLAction[];
8876
8881
  integrationEvent?: ACLAction[];
8877
8882
  integrationResourceSecrets?: ACLAction[];
@@ -8924,6 +8929,7 @@ type GetProjectsResponse = {
8924
8929
  team?: ACLAction[];
8925
8930
  teamAccessRequest?: ACLAction[];
8926
8931
  teamFellowMembership?: ACLAction[];
8932
+ teamGitExclusivity?: ACLAction[];
8927
8933
  teamInvite?: ACLAction[];
8928
8934
  teamInviteCode?: ACLAction[];
8929
8935
  teamJoin?: ACLAction[];
@@ -9209,11 +9215,11 @@ type CreateProjectResponse = {
9209
9215
  unlimited?: boolean;
9210
9216
  };
9211
9217
  deploymentExpiration?: {
9212
- expirationDays: number;
9213
- expirationDaysProduction: number;
9214
- expirationDaysCanceled: number;
9215
- expirationDaysErrored: number;
9216
- deploymentsToKeep: number;
9218
+ expirationDays?: number;
9219
+ expirationDaysProduction?: number;
9220
+ expirationDaysCanceled?: number;
9221
+ expirationDaysErrored?: number;
9222
+ deploymentsToKeep?: number;
9217
9223
  } | null;
9218
9224
  devCommand?: string | null;
9219
9225
  directoryListing: boolean;
@@ -9490,6 +9496,7 @@ type CreateProjectResponse = {
9490
9496
  integrationConfigurationTransfer?: ACLAction[];
9491
9497
  integrationConfigurationProjects?: ACLAction[];
9492
9498
  integrationVercelConfigurationOverride?: ACLAction[];
9499
+ integrationResource?: ACLAction[];
9493
9500
  integrationStore?: ACLAction[];
9494
9501
  integrationEvent?: ACLAction[];
9495
9502
  integrationResourceSecrets?: ACLAction[];
@@ -9542,6 +9549,7 @@ type CreateProjectResponse = {
9542
9549
  team?: ACLAction[];
9543
9550
  teamAccessRequest?: ACLAction[];
9544
9551
  teamFellowMembership?: ACLAction[];
9552
+ teamGitExclusivity?: ACLAction[];
9545
9553
  teamInvite?: ACLAction[];
9546
9554
  teamInviteCode?: ACLAction[];
9547
9555
  teamJoin?: ACLAction[];
@@ -9940,11 +9948,11 @@ type GetProjectResponse = {
9940
9948
  unlimited?: boolean;
9941
9949
  };
9942
9950
  deploymentExpiration?: {
9943
- expirationDays: number;
9944
- expirationDaysProduction: number;
9945
- expirationDaysCanceled: number;
9946
- expirationDaysErrored: number;
9947
- deploymentsToKeep: number;
9951
+ expirationDays?: number;
9952
+ expirationDaysProduction?: number;
9953
+ expirationDaysCanceled?: number;
9954
+ expirationDaysErrored?: number;
9955
+ deploymentsToKeep?: number;
9948
9956
  } | null;
9949
9957
  devCommand?: string | null;
9950
9958
  directoryListing: boolean;
@@ -10221,6 +10229,7 @@ type GetProjectResponse = {
10221
10229
  integrationConfigurationTransfer?: ACLAction[];
10222
10230
  integrationConfigurationProjects?: ACLAction[];
10223
10231
  integrationVercelConfigurationOverride?: ACLAction[];
10232
+ integrationResource?: ACLAction[];
10224
10233
  integrationStore?: ACLAction[];
10225
10234
  integrationEvent?: ACLAction[];
10226
10235
  integrationResourceSecrets?: ACLAction[];
@@ -10273,6 +10282,7 @@ type GetProjectResponse = {
10273
10282
  team?: ACLAction[];
10274
10283
  teamAccessRequest?: ACLAction[];
10275
10284
  teamFellowMembership?: ACLAction[];
10285
+ teamGitExclusivity?: ACLAction[];
10276
10286
  teamInvite?: ACLAction[];
10277
10287
  teamInviteCode?: ACLAction[];
10278
10288
  teamJoin?: ACLAction[];
@@ -10565,11 +10575,11 @@ type UpdateProjectResponse = {
10565
10575
  unlimited?: boolean;
10566
10576
  };
10567
10577
  deploymentExpiration?: {
10568
- expirationDays: number;
10569
- expirationDaysProduction: number;
10570
- expirationDaysCanceled: number;
10571
- expirationDaysErrored: number;
10572
- deploymentsToKeep: number;
10578
+ expirationDays?: number;
10579
+ expirationDaysProduction?: number;
10580
+ expirationDaysCanceled?: number;
10581
+ expirationDaysErrored?: number;
10582
+ deploymentsToKeep?: number;
10573
10583
  } | null;
10574
10584
  devCommand?: string | null;
10575
10585
  directoryListing: boolean;
@@ -10846,6 +10856,7 @@ type UpdateProjectResponse = {
10846
10856
  integrationConfigurationTransfer?: ACLAction[];
10847
10857
  integrationConfigurationProjects?: ACLAction[];
10848
10858
  integrationVercelConfigurationOverride?: ACLAction[];
10859
+ integrationResource?: ACLAction[];
10849
10860
  integrationStore?: ACLAction[];
10850
10861
  integrationEvent?: ACLAction[];
10851
10862
  integrationResourceSecrets?: ACLAction[];
@@ -10898,6 +10909,7 @@ type UpdateProjectResponse = {
10898
10909
  team?: ACLAction[];
10899
10910
  teamAccessRequest?: ACLAction[];
10900
10911
  teamFellowMembership?: ACLAction[];
10912
+ teamGitExclusivity?: ACLAction[];
10901
10913
  teamInvite?: ACLAction[];
10902
10914
  teamInviteCode?: ACLAction[];
10903
10915
  teamJoin?: ACLAction[];
@@ -16352,6 +16364,14 @@ type GetDeploymentsResponse = {
16352
16364
  * The ID of Vercel Connect configuration used for this deployment's passive functions
16353
16365
  */
16354
16366
  passiveConnectConfigurationId?: string;
16367
+ /**
16368
+ * The expiration configured by the project retention policy
16369
+ */
16370
+ expiration?: number;
16371
+ /**
16372
+ * The expiration proposed to replace the existing expiration
16373
+ */
16374
+ proposedExpiration?: number;
16355
16375
  }[];
16356
16376
  };
16357
16377
  type GetDeploymentsVariables = {