vercel-api-js 1.31.0 → 1.32.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.
package/dist/index.d.ts CHANGED
@@ -1492,6 +1492,16 @@ type ConnectConnectorCreateData = {
1492
1492
  * @type array | undefined
1493
1493
  */
1494
1494
  grantTypesSupported?: string[] | undefined;
1495
+ /**
1496
+ * @description Supported authorization grant profiles. urn:ietf:params:oauth:grant-profile:id-jag advertises XAA resource support.
1497
+ * @type array | undefined
1498
+ */
1499
+ authorizationGrantProfilesSupported?: string[] | undefined;
1500
+ /**
1501
+ * @description Token types supported for identity chaining. urn:ietf:params:oauth:token-type:id-jag advertises XAA IdP support.
1502
+ * @type array | undefined
1503
+ */
1504
+ identityChainingRequestedTokenTypesSupported?: string[] | undefined;
1495
1505
  /**
1496
1506
  * @description OAuth response modes supported by the server.
1497
1507
  * @type array | undefined
@@ -2630,6 +2640,16 @@ type ConnectConnectorUpdateData = {
2630
2640
  * @type array | undefined
2631
2641
  */
2632
2642
  grantTypesSupported?: string[] | undefined;
2643
+ /**
2644
+ * @description Supported authorization grant profiles. urn:ietf:params:oauth:grant-profile:id-jag advertises XAA resource support.
2645
+ * @type array | undefined
2646
+ */
2647
+ authorizationGrantProfilesSupported?: string[] | undefined;
2648
+ /**
2649
+ * @description Token types supported for identity chaining. urn:ietf:params:oauth:token-type:id-jag advertises XAA IdP support.
2650
+ * @type array | undefined
2651
+ */
2652
+ identityChainingRequestedTokenTypesSupported?: string[] | undefined;
2633
2653
  /**
2634
2654
  * @description OAuth response modes supported by the server.
2635
2655
  * @type array | undefined
@@ -10302,6 +10322,7 @@ type UserEvent = {
10302
10322
  allowedIntegrationCount?: number | undefined;
10303
10323
  allowedIntegrationIds?: string[] | undefined;
10304
10324
  enabled: false | true;
10325
+ resourceOnlyIntegrationCount?: number | undefined;
10305
10326
  } | {
10306
10327
  id: string;
10307
10328
  name: string;
@@ -16534,6 +16555,17 @@ type Team = {
16534
16555
  * @type object | undefined
16535
16556
  */
16536
16557
  defaultProjectJobs?: {
16558
+ /**
16559
+ * @description Default job configuration applied to new projects created in this team.
16560
+ * @type object | undefined
16561
+ */
16562
+ flagDefinitionsPresent?: {
16563
+ /**
16564
+ * @description Default job configuration applied to new projects created in this team.
16565
+ * @type array
16566
+ */
16567
+ targets: string[];
16568
+ } | undefined;
16537
16569
  /**
16538
16570
  * @description Default job configuration applied to new projects created in this team.
16539
16571
  * @type object | undefined
@@ -39720,7 +39752,7 @@ declare function deleteAccessGroupProject({ pathParams, queryParams, config, }?:
39720
39752
  /**
39721
39753
  * @summary Create virtual model config
39722
39754
  * @description Create a virtual model config (VMC)
39723
- * @link /v1/ai-gateway/virtual-model-configs
39755
+ * @link /ai-gateway/virtual-model-configs
39724
39756
  */
39725
39757
  declare function createAiGatewayVirtualModelConfig({ queryParams, config, }?: {
39726
39758
  queryParams?: {
@@ -39734,7 +39766,7 @@ declare function createAiGatewayVirtualModelConfig({ queryParams, config, }?: {
39734
39766
  /**
39735
39767
  * @summary Get virtual model config
39736
39768
  * @description Get a virtual model config
39737
- * @link /v1/ai-gateway/virtual-model-configs
39769
+ * @link /ai-gateway/virtual-model-configs
39738
39770
  */
39739
39771
  declare function getAiGatewayVirtualModelConfig({ queryParams, config, }?: {
39740
39772
  queryParams?: {
@@ -39752,7 +39784,7 @@ declare function getAiGatewayVirtualModelConfig({ queryParams, config, }?: {
39752
39784
  /**
39753
39785
  * @summary Update virtual model config
39754
39786
  * @description Update a virtual model config
39755
- * @link /v1/ai-gateway/virtual-model-configs
39787
+ * @link /ai-gateway/virtual-model-configs
39756
39788
  */
39757
39789
  declare function updateAiGatewayVirtualModelConfig({ queryParams, config, }?: {
39758
39790
  queryParams?: {
@@ -39766,7 +39798,7 @@ declare function updateAiGatewayVirtualModelConfig({ queryParams, config, }?: {
39766
39798
  /**
39767
39799
  * @summary Delete virtual model config
39768
39800
  * @description Delete a virtual model config (soft delete)
39769
- * @link /v1/ai-gateway/virtual-model-configs
39801
+ * @link /ai-gateway/virtual-model-configs
39770
39802
  */
39771
39803
  declare function deleteAiGatewayVirtualModelConfig({ queryParams, config, }?: {
39772
39804
  queryParams?: {
@@ -39785,7 +39817,7 @@ declare function deleteAiGatewayVirtualModelConfig({ queryParams, config, }?: {
39785
39817
  /**
39786
39818
  * @summary List virtual model configs
39787
39819
  * @description List virtual model configs. With `ownerId`, returns all of that team's VMCs. Without it, pages through VMCs across all teams (newest-first, `limit`/`cursor`).
39788
- * @link /v1/ai-gateway/virtual-model-configs/list
39820
+ * @link /ai-gateway/virtual-model-configs/list
39789
39821
  */
39790
39822
  declare function listAiGatewayVirtualModelConfigs({ queryParams, config, }?: {
39791
39823
  queryParams?: {
@@ -39802,7 +39834,7 @@ declare function listAiGatewayVirtualModelConfigs({ queryParams, config, }?: {
39802
39834
  /**
39803
39835
  * @summary Get virtual model config
39804
39836
  * @description Get a virtual model config by path slug
39805
- * @link /v1/ai-gateway/virtual-model-configs/{vmcSlug}
39837
+ * @link /ai-gateway/virtual-model-configs/{vmcSlug}
39806
39838
  */
39807
39839
  declare function getAiGatewayVirtualModelConfigBySlug({ pathParams, queryParams, config, }?: {
39808
39840
  pathParams: {
@@ -39820,7 +39852,7 @@ declare function getAiGatewayVirtualModelConfigBySlug({ pathParams, queryParams,
39820
39852
  /**
39821
39853
  * @summary Update virtual model config
39822
39854
  * @description Update a virtual model config by path slug
39823
- * @link /v1/ai-gateway/virtual-model-configs/{vmcSlug}
39855
+ * @link /ai-gateway/virtual-model-configs/{vmcSlug}
39824
39856
  */
39825
39857
  declare function updateAiGatewayVirtualModelConfigBySlug({ pathParams, queryParams, config, }?: {
39826
39858
  pathParams: {
@@ -39837,7 +39869,7 @@ declare function updateAiGatewayVirtualModelConfigBySlug({ pathParams, queryPara
39837
39869
  /**
39838
39870
  * @summary Delete virtual model config
39839
39871
  * @description Delete a virtual model config by path slug (soft delete)
39840
- * @link /v1/ai-gateway/virtual-model-configs/{vmcSlug}
39872
+ * @link /ai-gateway/virtual-model-configs/{vmcSlug}
39841
39873
  */
39842
39874
  declare function deleteAiGatewayVirtualModelConfigBySlug({ pathParams, queryParams, config, }?: {
39843
39875
  pathParams: {
@@ -39858,7 +39890,7 @@ declare function deleteAiGatewayVirtualModelConfigBySlug({ pathParams, queryPara
39858
39890
  /**
39859
39891
  * @summary Create rule
39860
39892
  * @description Create a routing rule
39861
- * @link /v1/ai-gateway/rules
39893
+ * @link /ai-gateway/rules
39862
39894
  */
39863
39895
  declare function createAiGatewayRule({ queryParams, config, }?: {
39864
39896
  queryParams?: {
@@ -39872,7 +39904,7 @@ declare function createAiGatewayRule({ queryParams, config, }?: {
39872
39904
  /**
39873
39905
  * @summary List rules
39874
39906
  * @description List the authenticated team's routing rules
39875
- * @link /v1/ai-gateway/rules
39907
+ * @link /ai-gateway/rules
39876
39908
  */
39877
39909
  declare function listAiGatewayRules({ queryParams, config, }?: {
39878
39910
  queryParams?: {
@@ -39887,7 +39919,7 @@ declare function listAiGatewayRules({ queryParams, config, }?: {
39887
39919
  /**
39888
39920
  * @summary Update rule
39889
39921
  * @description Update a routing rule (enabled, action, or description)
39890
- * @link /v1/ai-gateway/rules
39922
+ * @link /ai-gateway/rules
39891
39923
  */
39892
39924
  declare function updateAiGatewayRule({ queryParams, config, }?: {
39893
39925
  queryParams?: {
@@ -39901,7 +39933,7 @@ declare function updateAiGatewayRule({ queryParams, config, }?: {
39901
39933
  /**
39902
39934
  * @summary Delete rule
39903
39935
  * @description Delete a routing rule (soft delete)
39904
- * @link /v1/ai-gateway/rules
39936
+ * @link /ai-gateway/rules
39905
39937
  */
39906
39938
  declare function deleteAiGatewayRule({ queryParams, config, }?: {
39907
39939
  queryParams?: {
@@ -44681,7 +44713,7 @@ declare function updateSandbox({ pathParams, queryParams, config, }?: {
44681
44713
  }): Promise<unknown>;
44682
44714
  /**
44683
44715
  * @summary Delete a sandbox
44684
- * @description Deletes a sandbox by name. If sandboxes are currently running, they will be stopped first. This operation deletes all sandbox entities with the given name and the named sandbox metadata.
44716
+ * @description Deletes a sandbox by name. If sandboxes are currently running, they will be stopped first. This operation deletes all sandbox entities with the given name and the named sandbox metadata. Returns 404 if the sandbox does not exist or was deleted by a concurrent request.
44685
44717
  * @link /v2/sandboxes/{name}
44686
44718
  */
44687
44719
  declare function deleteSandbox({ pathParams, queryParams, config, }?: {
@@ -46777,18 +46809,18 @@ declare const operationsByPath: {
46777
46809
  "GET /v1/access-groups/{accessGroupIdOrName}/projects/{projectId}": typeof readAccessGroupProject;
46778
46810
  "PATCH /v1/access-groups/{accessGroupIdOrName}/projects/{projectId}": typeof updateAccessGroupProject;
46779
46811
  "DELETE /v1/access-groups/{accessGroupIdOrName}/projects/{projectId}": typeof deleteAccessGroupProject;
46780
- "POST /v1/ai-gateway/virtual-model-configs": typeof createAiGatewayVirtualModelConfig;
46781
- "GET /v1/ai-gateway/virtual-model-configs": typeof getAiGatewayVirtualModelConfig;
46782
- "PATCH /v1/ai-gateway/virtual-model-configs": typeof updateAiGatewayVirtualModelConfig;
46783
- "DELETE /v1/ai-gateway/virtual-model-configs": typeof deleteAiGatewayVirtualModelConfig;
46784
- "GET /v1/ai-gateway/virtual-model-configs/list": typeof listAiGatewayVirtualModelConfigs;
46785
- "GET /v1/ai-gateway/virtual-model-configs/{vmcSlug}": typeof getAiGatewayVirtualModelConfigBySlug;
46786
- "PATCH /v1/ai-gateway/virtual-model-configs/{vmcSlug}": typeof updateAiGatewayVirtualModelConfigBySlug;
46787
- "DELETE /v1/ai-gateway/virtual-model-configs/{vmcSlug}": typeof deleteAiGatewayVirtualModelConfigBySlug;
46788
- "POST /v1/ai-gateway/rules": typeof createAiGatewayRule;
46789
- "GET /v1/ai-gateway/rules": typeof listAiGatewayRules;
46790
- "PATCH /v1/ai-gateway/rules": typeof updateAiGatewayRule;
46791
- "DELETE /v1/ai-gateway/rules": typeof deleteAiGatewayRule;
46812
+ "POST /ai-gateway/virtual-model-configs": typeof createAiGatewayVirtualModelConfig;
46813
+ "GET /ai-gateway/virtual-model-configs": typeof getAiGatewayVirtualModelConfig;
46814
+ "PATCH /ai-gateway/virtual-model-configs": typeof updateAiGatewayVirtualModelConfig;
46815
+ "DELETE /ai-gateway/virtual-model-configs": typeof deleteAiGatewayVirtualModelConfig;
46816
+ "GET /ai-gateway/virtual-model-configs/list": typeof listAiGatewayVirtualModelConfigs;
46817
+ "GET /ai-gateway/virtual-model-configs/{vmcSlug}": typeof getAiGatewayVirtualModelConfigBySlug;
46818
+ "PATCH /ai-gateway/virtual-model-configs/{vmcSlug}": typeof updateAiGatewayVirtualModelConfigBySlug;
46819
+ "DELETE /ai-gateway/virtual-model-configs/{vmcSlug}": typeof deleteAiGatewayVirtualModelConfigBySlug;
46820
+ "POST /ai-gateway/rules": typeof createAiGatewayRule;
46821
+ "GET /ai-gateway/rules": typeof listAiGatewayRules;
46822
+ "PATCH /ai-gateway/rules": typeof updateAiGatewayRule;
46823
+ "DELETE /ai-gateway/rules": typeof deleteAiGatewayRule;
46792
46824
  "POST /v8/artifacts/events": typeof recordEvents;
46793
46825
  "GET /v8/artifacts/status": typeof status;
46794
46826
  "PUT /v8/artifacts/{hash}": typeof uploadArtifact;
@@ -47212,7 +47244,7 @@ declare const operationsByTag: {
47212
47244
  updateAccessGroupProject: typeof updateAccessGroupProject;
47213
47245
  deleteAccessGroupProject: typeof deleteAccessGroupProject;
47214
47246
  };
47215
- apiAiGateway: {
47247
+ aiGateway: {
47216
47248
  createAiGatewayVirtualModelConfig: typeof createAiGatewayVirtualModelConfig;
47217
47249
  getAiGatewayVirtualModelConfig: typeof getAiGatewayVirtualModelConfig;
47218
47250
  updateAiGatewayVirtualModelConfig: typeof updateAiGatewayVirtualModelConfig;
@@ -47221,8 +47253,6 @@ declare const operationsByTag: {
47221
47253
  getAiGatewayVirtualModelConfigBySlug: typeof getAiGatewayVirtualModelConfigBySlug;
47222
47254
  updateAiGatewayVirtualModelConfigBySlug: typeof updateAiGatewayVirtualModelConfigBySlug;
47223
47255
  deleteAiGatewayVirtualModelConfigBySlug: typeof deleteAiGatewayVirtualModelConfigBySlug;
47224
- };
47225
- aiGateway: {
47226
47256
  createAiGatewayRule: typeof createAiGatewayRule;
47227
47257
  listAiGatewayRules: typeof listAiGatewayRules;
47228
47258
  updateAiGatewayRule: typeof updateAiGatewayRule;
@@ -47719,17 +47749,11 @@ declare const tagDictionary: {
47719
47749
  readonly DELETE: readonly ["deleteAccessGroup", "deleteAccessGroupProject"];
47720
47750
  readonly PATCH: readonly ["updateAccessGroupProject"];
47721
47751
  };
47722
- readonly apiAiGateway: {
47723
- readonly POST: readonly ["createAiGatewayVirtualModelConfig"];
47724
- readonly GET: readonly ["getAiGatewayVirtualModelConfig", "listAiGatewayVirtualModelConfigs", "getAiGatewayVirtualModelConfigBySlug"];
47725
- readonly PATCH: readonly ["updateAiGatewayVirtualModelConfig", "updateAiGatewayVirtualModelConfigBySlug"];
47726
- readonly DELETE: readonly ["deleteAiGatewayVirtualModelConfig", "deleteAiGatewayVirtualModelConfigBySlug"];
47727
- };
47728
47752
  readonly aiGateway: {
47729
- readonly POST: readonly ["createAiGatewayRule"];
47730
- readonly GET: readonly ["listAiGatewayRules"];
47731
- readonly PATCH: readonly ["updateAiGatewayRule"];
47732
- readonly DELETE: readonly ["deleteAiGatewayRule"];
47753
+ readonly POST: readonly ["createAiGatewayVirtualModelConfig", "createAiGatewayRule"];
47754
+ readonly GET: readonly ["getAiGatewayVirtualModelConfig", "listAiGatewayVirtualModelConfigs", "getAiGatewayVirtualModelConfigBySlug", "listAiGatewayRules"];
47755
+ readonly PATCH: readonly ["updateAiGatewayVirtualModelConfig", "updateAiGatewayVirtualModelConfigBySlug", "updateAiGatewayRule"];
47756
+ readonly DELETE: readonly ["deleteAiGatewayVirtualModelConfig", "deleteAiGatewayVirtualModelConfigBySlug", "deleteAiGatewayRule"];
47733
47757
  };
47734
47758
  readonly artifacts: {
47735
47759
  readonly POST: readonly ["recordEvents", "artifactQuery"];
@@ -47996,18 +48020,18 @@ declare class VercelApi {
47996
48020
  "GET /v1/access-groups/{accessGroupIdOrName}/projects/{projectId}": typeof readAccessGroupProject;
47997
48021
  "PATCH /v1/access-groups/{accessGroupIdOrName}/projects/{projectId}": typeof updateAccessGroupProject;
47998
48022
  "DELETE /v1/access-groups/{accessGroupIdOrName}/projects/{projectId}": typeof deleteAccessGroupProject;
47999
- "POST /v1/ai-gateway/virtual-model-configs": typeof createAiGatewayVirtualModelConfig;
48000
- "GET /v1/ai-gateway/virtual-model-configs": typeof getAiGatewayVirtualModelConfig;
48001
- "PATCH /v1/ai-gateway/virtual-model-configs": typeof updateAiGatewayVirtualModelConfig;
48002
- "DELETE /v1/ai-gateway/virtual-model-configs": typeof deleteAiGatewayVirtualModelConfig;
48003
- "GET /v1/ai-gateway/virtual-model-configs/list": typeof listAiGatewayVirtualModelConfigs;
48004
- "GET /v1/ai-gateway/virtual-model-configs/{vmcSlug}": typeof getAiGatewayVirtualModelConfigBySlug;
48005
- "PATCH /v1/ai-gateway/virtual-model-configs/{vmcSlug}": typeof updateAiGatewayVirtualModelConfigBySlug;
48006
- "DELETE /v1/ai-gateway/virtual-model-configs/{vmcSlug}": typeof deleteAiGatewayVirtualModelConfigBySlug;
48007
- "POST /v1/ai-gateway/rules": typeof createAiGatewayRule;
48008
- "GET /v1/ai-gateway/rules": typeof listAiGatewayRules;
48009
- "PATCH /v1/ai-gateway/rules": typeof updateAiGatewayRule;
48010
- "DELETE /v1/ai-gateway/rules": typeof deleteAiGatewayRule;
48023
+ "POST /ai-gateway/virtual-model-configs": typeof createAiGatewayVirtualModelConfig;
48024
+ "GET /ai-gateway/virtual-model-configs": typeof getAiGatewayVirtualModelConfig;
48025
+ "PATCH /ai-gateway/virtual-model-configs": typeof updateAiGatewayVirtualModelConfig;
48026
+ "DELETE /ai-gateway/virtual-model-configs": typeof deleteAiGatewayVirtualModelConfig;
48027
+ "GET /ai-gateway/virtual-model-configs/list": typeof listAiGatewayVirtualModelConfigs;
48028
+ "GET /ai-gateway/virtual-model-configs/{vmcSlug}": typeof getAiGatewayVirtualModelConfigBySlug;
48029
+ "PATCH /ai-gateway/virtual-model-configs/{vmcSlug}": typeof updateAiGatewayVirtualModelConfigBySlug;
48030
+ "DELETE /ai-gateway/virtual-model-configs/{vmcSlug}": typeof deleteAiGatewayVirtualModelConfigBySlug;
48031
+ "POST /ai-gateway/rules": typeof createAiGatewayRule;
48032
+ "GET /ai-gateway/rules": typeof listAiGatewayRules;
48033
+ "PATCH /ai-gateway/rules": typeof updateAiGatewayRule;
48034
+ "DELETE /ai-gateway/rules": typeof deleteAiGatewayRule;
48011
48035
  "POST /v8/artifacts/events": typeof recordEvents;
48012
48036
  "GET /v8/artifacts/status": typeof status;
48013
48037
  "PUT /v8/artifacts/{hash}": typeof uploadArtifact;
@@ -48867,6 +48891,8 @@ declare const connectConnectorCreateDataSchema: z.ZodUnion<readonly [z.ZodObject
48867
48891
  tokenEndpointAuthSigningAlgValuesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
48868
48892
  scopesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
48869
48893
  grantTypesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
48894
+ authorizationGrantProfilesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
48895
+ identityChainingRequestedTokenTypesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
48870
48896
  responseModesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
48871
48897
  subjectTypesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
48872
48898
  idTokenSigningAlgValuesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -49128,6 +49154,8 @@ declare const connectConnectorUpdateDataSchema: z.ZodUnion<readonly [z.ZodObject
49128
49154
  tokenEndpointAuthSigningAlgValuesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
49129
49155
  scopesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
49130
49156
  grantTypesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
49157
+ authorizationGrantProfilesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
49158
+ identityChainingRequestedTokenTypesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
49131
49159
  responseModesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
49132
49160
  subjectTypesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
49133
49161
  idTokenSigningAlgValuesSupported: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -53586,6 +53614,7 @@ declare const userEventSchema: z.ZodObject<{
53586
53614
  allowedIntegrationCount: z.ZodOptional<z.ZodNumber>;
53587
53615
  allowedIntegrationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
53588
53616
  enabled: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
53617
+ resourceOnlyIntegrationCount: z.ZodOptional<z.ZodNumber>;
53589
53618
  }, z.core.$strict>, z.ZodObject<{
53590
53619
  id: z.ZodString;
53591
53620
  name: z.ZodString;
@@ -59453,6 +59482,9 @@ declare const teamSchema: z.ZodObject<{
59453
59482
  }>;
59454
59483
  }, z.core.$strip>>>;
59455
59484
  defaultProjectJobs: z.ZodOptional<z.ZodObject<{
59485
+ flagDefinitionsPresent: z.ZodOptional<z.ZodObject<{
59486
+ targets: z.ZodArray<z.ZodString>;
59487
+ }, z.core.$strip>>;
59456
59488
  lint: z.ZodOptional<z.ZodObject<{
59457
59489
  targets: z.ZodArray<z.ZodString>;
59458
59490
  }, z.core.$strip>>;