vercel-api-js 1.19.1 → 1.19.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/dist/types.cjs CHANGED
@@ -1110,12 +1110,12 @@ const userEventPayloadNewOwnerTeamsRoleEnum = {
1110
1110
  VIEWER_FOR_PLUS: "VIEWER_FOR_PLUS"
1111
1111
  };
1112
1112
  const userEventPayloadNewOwnerTeamsTeamPermissionsEnum = {
1113
- AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf",
1114
1113
  AiGatewayBudgetManager: "AiGatewayBudgetManager",
1115
1114
  AiGatewayCredits: "AiGatewayCredits",
1116
1115
  AiGatewaySettings: "AiGatewaySettings",
1117
1116
  AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager",
1118
1117
  AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer",
1118
+ AiGatewayUser: "AiGatewayUser",
1119
1119
  ConnectorManager: "ConnectorManager",
1120
1120
  CreateProject: "CreateProject",
1121
1121
  EnvVariableManager: "EnvVariableManager",
@@ -1578,12 +1578,12 @@ const userEventPayloadRoleEnum = {
1578
1578
  VIEWER_FOR_PLUS: "VIEWER_FOR_PLUS"
1579
1579
  };
1580
1580
  const userEventPayloadPreviousTeamPermissionsEnum = {
1581
- AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf",
1582
1581
  AiGatewayBudgetManager: "AiGatewayBudgetManager",
1583
1582
  AiGatewayCredits: "AiGatewayCredits",
1584
1583
  AiGatewaySettings: "AiGatewaySettings",
1585
1584
  AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager",
1586
1585
  AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer",
1586
+ AiGatewayUser: "AiGatewayUser",
1587
1587
  ConnectorManager: "ConnectorManager",
1588
1588
  CreateProject: "CreateProject",
1589
1589
  EnvVariableManager: "EnvVariableManager",
@@ -1609,12 +1609,12 @@ const userEventPayloadPreviousTeamRolesEnum = {
1609
1609
  VIEWER_FOR_PLUS: "VIEWER_FOR_PLUS"
1610
1610
  };
1611
1611
  const userEventPayloadTeamPermissionsEnum = {
1612
- AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf",
1613
1612
  AiGatewayBudgetManager: "AiGatewayBudgetManager",
1614
1613
  AiGatewayCredits: "AiGatewayCredits",
1615
1614
  AiGatewaySettings: "AiGatewaySettings",
1616
1615
  AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager",
1617
1616
  AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer",
1617
+ AiGatewayUser: "AiGatewayUser",
1618
1618
  ConnectorManager: "ConnectorManager",
1619
1619
  CreateProject: "CreateProject",
1620
1620
  EnvVariableManager: "EnvVariableManager",
@@ -2079,10 +2079,13 @@ const userEventTypeEnum = {
2079
2079
  "organization-emu-team-updated": "organization-emu-team-updated",
2080
2080
  "organization-emu-updated": "organization-emu-updated",
2081
2081
  "organization-slug-update": "organization-slug-update",
2082
+ "organization-sso-enforced": "organization-sso-enforced",
2082
2083
  "organization-team-add": "organization-team-add",
2083
2084
  "organization-team-create": "organization-team-create",
2084
2085
  "organization-team-delete": "organization-team-delete",
2085
2086
  "organization-team-sso-update": "organization-team-sso-update",
2087
+ "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed",
2088
+ "organization-update-account-flow-triggered": "organization-update-account-flow-triggered",
2086
2089
  "owner-blocked": "owner-blocked",
2087
2090
  "owner-soft-blocked": "owner-soft-blocked",
2088
2091
  "owner-soft-unblocked": "owner-soft-unblocked",
@@ -2788,10 +2791,13 @@ const listEventTypeNameEnum = {
2788
2791
  "organization-emu-team-updated": "organization-emu-team-updated",
2789
2792
  "organization-emu-updated": "organization-emu-updated",
2790
2793
  "organization-slug-update": "organization-slug-update",
2794
+ "organization-sso-enforced": "organization-sso-enforced",
2791
2795
  "organization-team-add": "organization-team-add",
2792
2796
  "organization-team-create": "organization-team-create",
2793
2797
  "organization-team-delete": "organization-team-delete",
2794
2798
  "organization-team-sso-update": "organization-team-sso-update",
2799
+ "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed",
2800
+ "organization-update-account-flow-triggered": "organization-update-account-flow-triggered",
2795
2801
  "owner-blocked": "owner-blocked",
2796
2802
  "owner-soft-blocked": "owner-soft-blocked",
2797
2803
  "owner-soft-unblocked": "owner-soft-unblocked",
@@ -3472,10 +3478,13 @@ const listEventTypeReplacedByEnum = {
3472
3478
  "organization-emu-team-updated": "organization-emu-team-updated",
3473
3479
  "organization-emu-updated": "organization-emu-updated",
3474
3480
  "organization-slug-update": "organization-slug-update",
3481
+ "organization-sso-enforced": "organization-sso-enforced",
3475
3482
  "organization-team-add": "organization-team-add",
3476
3483
  "organization-team-create": "organization-team-create",
3477
3484
  "organization-team-delete": "organization-team-delete",
3478
3485
  "organization-team-sso-update": "organization-team-sso-update",
3486
+ "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed",
3487
+ "organization-update-account-flow-triggered": "organization-update-account-flow-triggered",
3479
3488
  "owner-blocked": "owner-blocked",
3480
3489
  "owner-soft-blocked": "owner-soft-blocked",
3481
3490
  "owner-soft-unblocked": "owner-soft-unblocked",
@@ -3998,12 +4007,12 @@ const invitedTeamMemberRoleEnum = {
3998
4007
  VIEWER_FOR_PLUS: "VIEWER_FOR_PLUS"
3999
4008
  };
4000
4009
  const invitedTeamMemberTeamPermissionsEnum = {
4001
- AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf",
4002
4010
  AiGatewayBudgetManager: "AiGatewayBudgetManager",
4003
4011
  AiGatewayCredits: "AiGatewayCredits",
4004
4012
  AiGatewaySettings: "AiGatewaySettings",
4005
4013
  AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager",
4006
4014
  AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer",
4015
+ AiGatewayUser: "AiGatewayUser",
4007
4016
  ConnectorManager: "ConnectorManager",
4008
4017
  CreateProject: "CreateProject",
4009
4018
  EnvVariableManager: "EnvVariableManager",
@@ -4040,12 +4049,12 @@ const teamDefaultPassportDeploymentTypeEnum = {
4040
4049
  prod_deployment_urls_and_all_previews: "prod_deployment_urls_and_all_previews"
4041
4050
  };
4042
4051
  const teamDefaultRolesTeamPermissionsEnum = {
4043
- AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf",
4044
4052
  AiGatewayBudgetManager: "AiGatewayBudgetManager",
4045
4053
  AiGatewayCredits: "AiGatewayCredits",
4046
4054
  AiGatewaySettings: "AiGatewaySettings",
4047
4055
  AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager",
4048
4056
  AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer",
4057
+ AiGatewayUser: "AiGatewayUser",
4049
4058
  ConnectorManager: "ConnectorManager",
4050
4059
  CreateProject: "CreateProject",
4051
4060
  EnvVariableManager: "EnvVariableManager",
@@ -4152,12 +4161,12 @@ const teamMembershipRoleEnum = {
4152
4161
  VIEWER_FOR_PLUS: "VIEWER_FOR_PLUS"
4153
4162
  };
4154
4163
  const teamMembershipTeamPermissionsEnum = {
4155
- AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf",
4156
4164
  AiGatewayBudgetManager: "AiGatewayBudgetManager",
4157
4165
  AiGatewayCredits: "AiGatewayCredits",
4158
4166
  AiGatewaySettings: "AiGatewaySettings",
4159
4167
  AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager",
4160
4168
  AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer",
4169
+ AiGatewayUser: "AiGatewayUser",
4161
4170
  ConnectorManager: "ConnectorManager",
4162
4171
  CreateProject: "CreateProject",
4163
4172
  EnvVariableManager: "EnvVariableManager",
@@ -4249,12 +4258,12 @@ const teamLimitedMembershipRoleEnum = {
4249
4258
  VIEWER_FOR_PLUS: "VIEWER_FOR_PLUS"
4250
4259
  };
4251
4260
  const teamLimitedMembershipTeamPermissionsEnum = {
4252
- AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf",
4253
4261
  AiGatewayBudgetManager: "AiGatewayBudgetManager",
4254
4262
  AiGatewayCredits: "AiGatewayCredits",
4255
4263
  AiGatewaySettings: "AiGatewaySettings",
4256
4264
  AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager",
4257
4265
  AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer",
4266
+ AiGatewayUser: "AiGatewayUser",
4258
4267
  ConnectorManager: "ConnectorManager",
4259
4268
  CreateProject: "CreateProject",
4260
4269
  EnvVariableManager: "EnvVariableManager",
package/dist/types.d.mts CHANGED
@@ -78,6 +78,11 @@ type AiGatewayVirtualModelConfig = {
78
78
  * @type number
79
79
  */
80
80
  createdAt: number;
81
+ /**
82
+ * @description User or app id that created this VMC.
83
+ * @type string | undefined
84
+ */
85
+ createdBy?: string | undefined;
81
86
  /**
82
87
  * @description Whether this VMC is soft-deleted.
83
88
  * @type boolean
@@ -244,7 +249,7 @@ type AiGatewayVirtualModelConfig = {
244
249
  */
245
250
  updatedAt: number;
246
251
  /**
247
- * @description User id that last updated this VMC.
252
+ * @description User or app id that last updated this VMC.
248
253
  * @type string | undefined
249
254
  */
250
255
  updatedBy?: string | undefined;
@@ -4990,12 +4995,12 @@ declare const userEventPayloadNewOwnerTeamsRoleEnum: {
4990
4995
  };
4991
4996
  type UserEventPayloadNewOwnerTeamsRoleEnumKey = (typeof userEventPayloadNewOwnerTeamsRoleEnum)[keyof typeof userEventPayloadNewOwnerTeamsRoleEnum];
4992
4997
  declare const userEventPayloadNewOwnerTeamsTeamPermissionsEnum: {
4993
- readonly AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
4994
4998
  readonly AiGatewayBudgetManager: "AiGatewayBudgetManager";
4995
4999
  readonly AiGatewayCredits: "AiGatewayCredits";
4996
5000
  readonly AiGatewaySettings: "AiGatewaySettings";
4997
5001
  readonly AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
4998
5002
  readonly AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
5003
+ readonly AiGatewayUser: "AiGatewayUser";
4999
5004
  readonly ConnectorManager: "ConnectorManager";
5000
5005
  readonly CreateProject: "CreateProject";
5001
5006
  readonly EnvVariableManager: "EnvVariableManager";
@@ -5528,12 +5533,12 @@ declare const userEventPayloadRoleEnum: {
5528
5533
  };
5529
5534
  type UserEventPayloadRoleEnumKey = (typeof userEventPayloadRoleEnum)[keyof typeof userEventPayloadRoleEnum];
5530
5535
  declare const userEventPayloadPreviousTeamPermissionsEnum: {
5531
- readonly AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
5532
5536
  readonly AiGatewayBudgetManager: "AiGatewayBudgetManager";
5533
5537
  readonly AiGatewayCredits: "AiGatewayCredits";
5534
5538
  readonly AiGatewaySettings: "AiGatewaySettings";
5535
5539
  readonly AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
5536
5540
  readonly AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
5541
+ readonly AiGatewayUser: "AiGatewayUser";
5537
5542
  readonly ConnectorManager: "ConnectorManager";
5538
5543
  readonly CreateProject: "CreateProject";
5539
5544
  readonly EnvVariableManager: "EnvVariableManager";
@@ -5561,12 +5566,12 @@ declare const userEventPayloadPreviousTeamRolesEnum: {
5561
5566
  };
5562
5567
  type UserEventPayloadPreviousTeamRolesEnumKey = (typeof userEventPayloadPreviousTeamRolesEnum)[keyof typeof userEventPayloadPreviousTeamRolesEnum];
5563
5568
  declare const userEventPayloadTeamPermissionsEnum: {
5564
- readonly AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
5565
5569
  readonly AiGatewayBudgetManager: "AiGatewayBudgetManager";
5566
5570
  readonly AiGatewayCredits: "AiGatewayCredits";
5567
5571
  readonly AiGatewaySettings: "AiGatewaySettings";
5568
5572
  readonly AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
5569
5573
  readonly AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
5574
+ readonly AiGatewayUser: "AiGatewayUser";
5570
5575
  readonly ConnectorManager: "ConnectorManager";
5571
5576
  readonly CreateProject: "CreateProject";
5572
5577
  readonly EnvVariableManager: "EnvVariableManager";
@@ -6048,10 +6053,13 @@ declare const userEventTypeEnum: {
6048
6053
  readonly "organization-emu-team-updated": "organization-emu-team-updated";
6049
6054
  readonly "organization-emu-updated": "organization-emu-updated";
6050
6055
  readonly "organization-slug-update": "organization-slug-update";
6056
+ readonly "organization-sso-enforced": "organization-sso-enforced";
6051
6057
  readonly "organization-team-add": "organization-team-add";
6052
6058
  readonly "organization-team-create": "organization-team-create";
6053
6059
  readonly "organization-team-delete": "organization-team-delete";
6054
6060
  readonly "organization-team-sso-update": "organization-team-sso-update";
6061
+ readonly "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
6062
+ readonly "organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
6055
6063
  readonly "owner-blocked": "owner-blocked";
6056
6064
  readonly "owner-soft-blocked": "owner-soft-blocked";
6057
6065
  readonly "owner-soft-unblocked": "owner-soft-unblocked";
@@ -10244,6 +10252,11 @@ type UserEvent = {
10244
10252
  billingPlan: UserEventPayloadBillingPlanEnumKey;
10245
10253
  organizationId: string;
10246
10254
  teamId: string;
10255
+ } | {
10256
+ enforced: false | true;
10257
+ organizationId: string;
10258
+ organizationSlug: string;
10259
+ previousEnforced: false | true;
10247
10260
  } | {
10248
10261
  mode: UserEventPayloadModeEnumKey;
10249
10262
  organizationId: string;
@@ -12232,6 +12245,11 @@ type UserEvent = {
12232
12245
  }[] | undefined;
12233
12246
  } | {
12234
12247
  reason: "limits-exceeded";
12248
+ } | {
12249
+ organizationId: string;
12250
+ } | {
12251
+ organizationId: string;
12252
+ teamIds: string[];
12235
12253
  } | {
12236
12254
  teamName?: string | undefined;
12237
12255
  } | {
@@ -13387,10 +13405,13 @@ declare const listEventTypeNameEnum: {
13387
13405
  readonly "organization-emu-team-updated": "organization-emu-team-updated";
13388
13406
  readonly "organization-emu-updated": "organization-emu-updated";
13389
13407
  readonly "organization-slug-update": "organization-slug-update";
13408
+ readonly "organization-sso-enforced": "organization-sso-enforced";
13390
13409
  readonly "organization-team-add": "organization-team-add";
13391
13410
  readonly "organization-team-create": "organization-team-create";
13392
13411
  readonly "organization-team-delete": "organization-team-delete";
13393
13412
  readonly "organization-team-sso-update": "organization-team-sso-update";
13413
+ readonly "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
13414
+ readonly "organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
13394
13415
  readonly "owner-blocked": "owner-blocked";
13395
13416
  readonly "owner-soft-blocked": "owner-soft-blocked";
13396
13417
  readonly "owner-soft-unblocked": "owner-soft-unblocked";
@@ -14072,10 +14093,13 @@ declare const listEventTypeReplacedByEnum: {
14072
14093
  readonly "organization-emu-team-updated": "organization-emu-team-updated";
14073
14094
  readonly "organization-emu-updated": "organization-emu-updated";
14074
14095
  readonly "organization-slug-update": "organization-slug-update";
14096
+ readonly "organization-sso-enforced": "organization-sso-enforced";
14075
14097
  readonly "organization-team-add": "organization-team-add";
14076
14098
  readonly "organization-team-create": "organization-team-create";
14077
14099
  readonly "organization-team-delete": "organization-team-delete";
14078
14100
  readonly "organization-team-sso-update": "organization-team-sso-update";
14101
+ readonly "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
14102
+ readonly "organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
14079
14103
  readonly "owner-blocked": "owner-blocked";
14080
14104
  readonly "owner-soft-blocked": "owner-soft-blocked";
14081
14105
  readonly "owner-soft-unblocked": "owner-soft-unblocked";
@@ -15703,12 +15727,12 @@ declare const invitedTeamMemberRoleEnum: {
15703
15727
  };
15704
15728
  type InvitedTeamMemberRoleEnumKey = (typeof invitedTeamMemberRoleEnum)[keyof typeof invitedTeamMemberRoleEnum];
15705
15729
  declare const invitedTeamMemberTeamPermissionsEnum: {
15706
- readonly AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
15707
15730
  readonly AiGatewayBudgetManager: "AiGatewayBudgetManager";
15708
15731
  readonly AiGatewayCredits: "AiGatewayCredits";
15709
15732
  readonly AiGatewaySettings: "AiGatewaySettings";
15710
15733
  readonly AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
15711
15734
  readonly AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
15735
+ readonly AiGatewayUser: "AiGatewayUser";
15712
15736
  readonly ConnectorManager: "ConnectorManager";
15713
15737
  readonly CreateProject: "CreateProject";
15714
15738
  readonly EnvVariableManager: "EnvVariableManager";
@@ -15791,12 +15815,12 @@ declare const teamDefaultPassportDeploymentTypeEnum: {
15791
15815
  };
15792
15816
  type TeamDefaultPassportDeploymentTypeEnumKey = (typeof teamDefaultPassportDeploymentTypeEnum)[keyof typeof teamDefaultPassportDeploymentTypeEnum];
15793
15817
  declare const teamDefaultRolesTeamPermissionsEnum: {
15794
- readonly AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
15795
15818
  readonly AiGatewayBudgetManager: "AiGatewayBudgetManager";
15796
15819
  readonly AiGatewayCredits: "AiGatewayCredits";
15797
15820
  readonly AiGatewaySettings: "AiGatewaySettings";
15798
15821
  readonly AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
15799
15822
  readonly AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
15823
+ readonly AiGatewayUser: "AiGatewayUser";
15800
15824
  readonly ConnectorManager: "ConnectorManager";
15801
15825
  readonly CreateProject: "CreateProject";
15802
15826
  readonly EnvVariableManager: "EnvVariableManager";
@@ -15916,12 +15940,12 @@ declare const teamMembershipRoleEnum: {
15916
15940
  };
15917
15941
  type TeamMembershipRoleEnumKey = (typeof teamMembershipRoleEnum)[keyof typeof teamMembershipRoleEnum];
15918
15942
  declare const teamMembershipTeamPermissionsEnum: {
15919
- readonly AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
15920
15943
  readonly AiGatewayBudgetManager: "AiGatewayBudgetManager";
15921
15944
  readonly AiGatewayCredits: "AiGatewayCredits";
15922
15945
  readonly AiGatewaySettings: "AiGatewaySettings";
15923
15946
  readonly AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
15924
15947
  readonly AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
15948
+ readonly AiGatewayUser: "AiGatewayUser";
15925
15949
  readonly ConnectorManager: "ConnectorManager";
15926
15950
  readonly CreateProject: "CreateProject";
15927
15951
  readonly EnvVariableManager: "EnvVariableManager";
@@ -16589,12 +16613,12 @@ declare const teamLimitedMembershipRoleEnum: {
16589
16613
  };
16590
16614
  type TeamLimitedMembershipRoleEnumKey = (typeof teamLimitedMembershipRoleEnum)[keyof typeof teamLimitedMembershipRoleEnum];
16591
16615
  declare const teamLimitedMembershipTeamPermissionsEnum: {
16592
- readonly AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
16593
16616
  readonly AiGatewayBudgetManager: "AiGatewayBudgetManager";
16594
16617
  readonly AiGatewayCredits: "AiGatewayCredits";
16595
16618
  readonly AiGatewaySettings: "AiGatewaySettings";
16596
16619
  readonly AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
16597
16620
  readonly AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
16621
+ readonly AiGatewayUser: "AiGatewayUser";
16598
16622
  readonly ConnectorManager: "ConnectorManager";
16599
16623
  readonly CreateProject: "CreateProject";
16600
16624
  readonly EnvVariableManager: "EnvVariableManager";