Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ public sealed partial class GetConnectorTokenResponse
[global::System.Text.Json.Serialization.JsonRequired]
public required string Token { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("tokenId")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string TokenId { get; set; }

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -69,6 +76,7 @@ public sealed partial class GetConnectorTokenResponse
/// Initializes a new instance of the <see cref="GetConnectorTokenResponse" /> class.
/// </summary>
/// <param name="token"></param>
/// <param name="tokenId"></param>
/// <param name="expiresAt"></param>
/// <param name="connector"></param>
/// <param name="name"></param>
Expand All @@ -83,6 +91,7 @@ public sealed partial class GetConnectorTokenResponse
#endif
public GetConnectorTokenResponse(
string token,
string tokenId,
double expiresAt,
global::Vercel.GetConnectorTokenResponseConnector connector,
string? name,
Expand All @@ -92,6 +101,7 @@ public GetConnectorTokenResponse(
object? metadata)
{
this.Token = token ?? throw new global::System.ArgumentNullException(nameof(token));
this.TokenId = tokenId ?? throw new global::System.ArgumentNullException(nameof(tokenId));
this.ExpiresAt = expiresAt;
this.Connector = connector ?? throw new global::System.ArgumentNullException(nameof(connector));
this.Name = name;
Expand Down
12 changes: 12 additions & 0 deletions src/libs/Vercel/Generated/Vercel.Models.ListEventTypeName.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,10 @@ public enum ListEventTypeName
/// <summary>
///
/// </summary>
CustomEnvironmentsSettingsUpdated,
/// <summary>
///
/// </summary>
CustomSuffixClear,
/// <summary>
///
Expand Down Expand Up @@ -1056,6 +1060,10 @@ public enum ListEventTypeName
/// <summary>
///
/// </summary>
OrganizationTeamCreate,
/// <summary>
///
/// </summary>
OwnerBlocked,
/// <summary>
///
Expand Down Expand Up @@ -2324,6 +2332,7 @@ public static string ToValueString(this ListEventTypeName value)
ListEventTypeName.CustomAlertCreated => "custom-alert-created",
ListEventTypeName.CustomAlertDeleted => "custom-alert-deleted",
ListEventTypeName.CustomAlertUpdated => "custom-alert-updated",
ListEventTypeName.CustomEnvironmentsSettingsUpdated => "custom-environments-settings-updated",
ListEventTypeName.CustomSuffixClear => "custom-suffix-clear",
ListEventTypeName.CustomSuffixDisable => "custom-suffix-disable",
ListEventTypeName.CustomSuffixEnable => "custom-suffix-enable",
Expand Down Expand Up @@ -2480,6 +2489,7 @@ public static string ToValueString(this ListEventTypeName value)
ListEventTypeName.OrganizationDelete => "organization-delete",
ListEventTypeName.OrganizationSlugUpdate => "organization-slug-update",
ListEventTypeName.OrganizationTeamAdd => "organization-team-add",
ListEventTypeName.OrganizationTeamCreate => "organization-team-create",
ListEventTypeName.OwnerBlocked => "owner-blocked",
ListEventTypeName.OwnerSoftBlocked => "owner-soft-blocked",
ListEventTypeName.OwnerSoftUnblocked => "owner-soft-unblocked",
Expand Down Expand Up @@ -2883,6 +2893,7 @@ public static string ToValueString(this ListEventTypeName value)
"custom-alert-created" => ListEventTypeName.CustomAlertCreated,
"custom-alert-deleted" => ListEventTypeName.CustomAlertDeleted,
"custom-alert-updated" => ListEventTypeName.CustomAlertUpdated,
"custom-environments-settings-updated" => ListEventTypeName.CustomEnvironmentsSettingsUpdated,
"custom-suffix-clear" => ListEventTypeName.CustomSuffixClear,
"custom-suffix-disable" => ListEventTypeName.CustomSuffixDisable,
"custom-suffix-enable" => ListEventTypeName.CustomSuffixEnable,
Expand Down Expand Up @@ -3039,6 +3050,7 @@ public static string ToValueString(this ListEventTypeName value)
"organization-delete" => ListEventTypeName.OrganizationDelete,
"organization-slug-update" => ListEventTypeName.OrganizationSlugUpdate,
"organization-team-add" => ListEventTypeName.OrganizationTeamAdd,
"organization-team-create" => ListEventTypeName.OrganizationTeamCreate,
"owner-blocked" => ListEventTypeName.OwnerBlocked,
"owner-soft-blocked" => ListEventTypeName.OwnerSoftBlocked,
"owner-soft-unblocked" => ListEventTypeName.OwnerSoftUnblocked,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,10 @@ public enum ListEventTypeReplacedByItem
/// <summary>
///
/// </summary>
CustomEnvironmentsSettingsUpdated,
/// <summary>
///
/// </summary>
CustomSuffixClear,
/// <summary>
///
Expand Down Expand Up @@ -1055,6 +1059,10 @@ public enum ListEventTypeReplacedByItem
/// <summary>
///
/// </summary>
OrganizationTeamCreate,
/// <summary>
///
/// </summary>
OwnerBlocked,
/// <summary>
///
Expand Down Expand Up @@ -2323,6 +2331,7 @@ public static string ToValueString(this ListEventTypeReplacedByItem value)
ListEventTypeReplacedByItem.CustomAlertCreated => "custom-alert-created",
ListEventTypeReplacedByItem.CustomAlertDeleted => "custom-alert-deleted",
ListEventTypeReplacedByItem.CustomAlertUpdated => "custom-alert-updated",
ListEventTypeReplacedByItem.CustomEnvironmentsSettingsUpdated => "custom-environments-settings-updated",
ListEventTypeReplacedByItem.CustomSuffixClear => "custom-suffix-clear",
ListEventTypeReplacedByItem.CustomSuffixDisable => "custom-suffix-disable",
ListEventTypeReplacedByItem.CustomSuffixEnable => "custom-suffix-enable",
Expand Down Expand Up @@ -2479,6 +2488,7 @@ public static string ToValueString(this ListEventTypeReplacedByItem value)
ListEventTypeReplacedByItem.OrganizationDelete => "organization-delete",
ListEventTypeReplacedByItem.OrganizationSlugUpdate => "organization-slug-update",
ListEventTypeReplacedByItem.OrganizationTeamAdd => "organization-team-add",
ListEventTypeReplacedByItem.OrganizationTeamCreate => "organization-team-create",
ListEventTypeReplacedByItem.OwnerBlocked => "owner-blocked",
ListEventTypeReplacedByItem.OwnerSoftBlocked => "owner-soft-blocked",
ListEventTypeReplacedByItem.OwnerSoftUnblocked => "owner-soft-unblocked",
Expand Down Expand Up @@ -2882,6 +2892,7 @@ public static string ToValueString(this ListEventTypeReplacedByItem value)
"custom-alert-created" => ListEventTypeReplacedByItem.CustomAlertCreated,
"custom-alert-deleted" => ListEventTypeReplacedByItem.CustomAlertDeleted,
"custom-alert-updated" => ListEventTypeReplacedByItem.CustomAlertUpdated,
"custom-environments-settings-updated" => ListEventTypeReplacedByItem.CustomEnvironmentsSettingsUpdated,
"custom-suffix-clear" => ListEventTypeReplacedByItem.CustomSuffixClear,
"custom-suffix-disable" => ListEventTypeReplacedByItem.CustomSuffixDisable,
"custom-suffix-enable" => ListEventTypeReplacedByItem.CustomSuffixEnable,
Expand Down Expand Up @@ -3038,6 +3049,7 @@ public static string ToValueString(this ListEventTypeReplacedByItem value)
"organization-delete" => ListEventTypeReplacedByItem.OrganizationDelete,
"organization-slug-update" => ListEventTypeReplacedByItem.OrganizationSlugUpdate,
"organization-team-add" => ListEventTypeReplacedByItem.OrganizationTeamAdd,
"organization-team-create" => ListEventTypeReplacedByItem.OrganizationTeamCreate,
"owner-blocked" => ListEventTypeReplacedByItem.OwnerBlocked,
"owner-soft-blocked" => ListEventTypeReplacedByItem.OwnerSoftBlocked,
"owner-soft-unblocked" => ListEventTypeReplacedByItem.OwnerSoftUnblocked,
Expand Down
12 changes: 12 additions & 0 deletions src/libs/Vercel/Generated/Vercel.Models.UserEventType.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,10 @@ public enum UserEventType
/// <summary>
///
/// </summary>
CustomEnvironmentsSettingsUpdated,
/// <summary>
///
/// </summary>
CustomSuffixClear,
/// <summary>
///
Expand Down Expand Up @@ -1056,6 +1060,10 @@ public enum UserEventType
/// <summary>
///
/// </summary>
OrganizationTeamCreate,
/// <summary>
///
/// </summary>
OwnerBlocked,
/// <summary>
///
Expand Down Expand Up @@ -2324,6 +2332,7 @@ public static string ToValueString(this UserEventType value)
UserEventType.CustomAlertCreated => "custom-alert-created",
UserEventType.CustomAlertDeleted => "custom-alert-deleted",
UserEventType.CustomAlertUpdated => "custom-alert-updated",
UserEventType.CustomEnvironmentsSettingsUpdated => "custom-environments-settings-updated",
UserEventType.CustomSuffixClear => "custom-suffix-clear",
UserEventType.CustomSuffixDisable => "custom-suffix-disable",
UserEventType.CustomSuffixEnable => "custom-suffix-enable",
Expand Down Expand Up @@ -2480,6 +2489,7 @@ public static string ToValueString(this UserEventType value)
UserEventType.OrganizationDelete => "organization-delete",
UserEventType.OrganizationSlugUpdate => "organization-slug-update",
UserEventType.OrganizationTeamAdd => "organization-team-add",
UserEventType.OrganizationTeamCreate => "organization-team-create",
UserEventType.OwnerBlocked => "owner-blocked",
UserEventType.OwnerSoftBlocked => "owner-soft-blocked",
UserEventType.OwnerSoftUnblocked => "owner-soft-unblocked",
Expand Down Expand Up @@ -2883,6 +2893,7 @@ public static string ToValueString(this UserEventType value)
"custom-alert-created" => UserEventType.CustomAlertCreated,
"custom-alert-deleted" => UserEventType.CustomAlertDeleted,
"custom-alert-updated" => UserEventType.CustomAlertUpdated,
"custom-environments-settings-updated" => UserEventType.CustomEnvironmentsSettingsUpdated,
"custom-suffix-clear" => UserEventType.CustomSuffixClear,
"custom-suffix-disable" => UserEventType.CustomSuffixDisable,
"custom-suffix-enable" => UserEventType.CustomSuffixEnable,
Expand Down Expand Up @@ -3039,6 +3050,7 @@ public static string ToValueString(this UserEventType value)
"organization-delete" => UserEventType.OrganizationDelete,
"organization-slug-update" => UserEventType.OrganizationSlugUpdate,
"organization-team-add" => UserEventType.OrganizationTeamAdd,
"organization-team-create" => UserEventType.OrganizationTeamCreate,
"owner-blocked" => UserEventType.OwnerBlocked,
"owner-soft-blocked" => UserEventType.OwnerSoftBlocked,
"owner-soft-unblocked" => UserEventType.OwnerSoftUnblocked,
Expand Down
12 changes: 11 additions & 1 deletion src/libs/Vercel/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12679,6 +12679,9 @@
"token": {
"type": "string"
},
"tokenId": {
"type": "string"
},
"expiresAt": {
"type": "number"
},
Expand Down Expand Up @@ -12722,7 +12725,8 @@
"required": [
"connector",
"expiresAt",
"token"
"token",
"tokenId"
],
"type": "object"
}
Expand Down Expand Up @@ -178754,6 +178758,7 @@
"custom-alert-created",
"custom-alert-deleted",
"custom-alert-updated",
"custom-environments-settings-updated",
"custom-suffix-clear",
"custom-suffix-disable",
"custom-suffix-enable",
Expand Down Expand Up @@ -178910,6 +178915,7 @@
"organization-delete",
"organization-slug-update",
"organization-team-add",
"organization-team-create",
"owner-blocked",
"owner-soft-blocked",
"owner-soft-unblocked",
Expand Down Expand Up @@ -179620,6 +179626,7 @@
"custom-alert-created",
"custom-alert-deleted",
"custom-alert-updated",
"custom-environments-settings-updated",
"custom-suffix-clear",
"custom-suffix-disable",
"custom-suffix-enable",
Expand Down Expand Up @@ -179776,6 +179783,7 @@
"organization-delete",
"organization-slug-update",
"organization-team-add",
"organization-team-create",
"owner-blocked",
"owner-soft-blocked",
"owner-soft-unblocked",
Expand Down Expand Up @@ -180227,6 +180235,7 @@
"custom-alert-created",
"custom-alert-deleted",
"custom-alert-updated",
"custom-environments-settings-updated",
"custom-suffix-clear",
"custom-suffix-disable",
"custom-suffix-enable",
Expand Down Expand Up @@ -180383,6 +180392,7 @@
"organization-delete",
"organization-slug-update",
"organization-team-add",
"organization-team-create",
"owner-blocked",
"owner-soft-blocked",
"owner-soft-unblocked",
Expand Down