-
Notifications
You must be signed in to change notification settings - Fork 11
fix(generated): No changes detected in API specification #240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 92db0495807c86fbbc4d45bd266a6c1f5bcbb59c |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| // This file is auto-generated by oagen. Do not edit. | ||
|
|
||
| namespace WorkOS | ||
| { | ||
|
|
||
| /// <summary>Represents a create group.</summary> | ||
| public class CreateGroup | ||
| { | ||
|
|
||
| /// <summary>The name of the Group.</summary> | ||
| public string Name { get; set; } = default!; | ||
|
|
||
| /// <summary>An optional description of the Group.</summary> | ||
| public string? Description { get; set; } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| // This file is auto-generated by oagen. Do not edit. | ||
|
|
||
| namespace WorkOS | ||
| { | ||
|
|
||
| /// <summary>Represents a create group membership.</summary> | ||
| public class CreateGroupMembership | ||
| { | ||
|
|
||
| /// <summary>The ID of the Organization Membership to add to the group.</summary> | ||
| public string OrganizationMembershipId { get; set; } = default!; | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| // This file is auto-generated by oagen. Do not edit. | ||
|
|
||
| namespace WorkOS | ||
| { | ||
|
|
||
| /// <summary>Represents a domain verification intent options.</summary> | ||
| public class DomainVerificationIntentOptions | ||
| { | ||
|
|
||
| /// <summary>The domain name to verify. When provided, the domain verification flow will skip the domain entry form and go directly to the verification step.</summary> | ||
| public string? DomainName { get; set; } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,7 +19,7 @@ public class FlagDeleted | |
| public DateTimeOffset CreatedAt { get; set; } | ||
|
|
||
| /// <summary>Additional context about the event.</summary> | ||
| public EventSchemaContext Context { get; set; } = default!; | ||
| public FlagCreatedContext Context { get; set; } = default!; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The |
||
|
|
||
| /// <summary>Distinguishes the Event object.</summary> | ||
| public string Object { get; internal set; } = "event"; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,7 +32,7 @@ public class GenerateLink | |
| /// <summary>Options to configure the Admin Portal based on the intent.</summary> | ||
| public IntentOptions? IntentOptions { get; set; } | ||
|
|
||
| /// <summary>The email addresses of the IT admins to grant access to the Admin Portal for the given organization. Accepts up to 20 emails.</summary> | ||
| public List<string>? AdminEmails { get; set; } | ||
| /// <summary>The email addresses of the IT contacts to grant access to the Admin Portal for the given organization. Accepts up to 20 emails.</summary> | ||
|
Comment on lines
34
to
+35
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| public List<string>? ItContactEmails { get; set; } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| // This file is auto-generated by oagen. Do not edit. | ||
|
|
||
| namespace WorkOS | ||
| { | ||
| using System; | ||
| using Newtonsoft.Json; | ||
| using STJS = System.Text.Json.Serialization; | ||
|
|
||
| /// <summary>Represents a waitlist user.</summary> | ||
| public class WaitlistUser | ||
| { | ||
|
|
||
| /// <summary>Distinguishes the Waitlist User object.</summary> | ||
| public string Object { get; internal set; } = "waitlist_user"; | ||
|
|
||
| /// <summary>The unique ID of the Waitlist User.</summary> | ||
| public string Id { get; set; } = default!; | ||
|
|
||
| /// <summary>The email address of the Waitlist User.</summary> | ||
| public string Email { get; set; } = default!; | ||
|
|
||
| /// <summary>The state of the Waitlist User.</summary> | ||
| [JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] | ||
| [STJS.JsonIgnore(Condition = STJS.JsonIgnoreCondition.WhenWritingDefault)] | ||
| public WaitlistUserState State { get; set; } | ||
|
|
||
| /// <summary>The timestamp when the Waitlist User was approved, or null if not yet approved.</summary> | ||
| public DateTimeOffset? ApprovedAt { get; set; } | ||
|
|
||
| /// <summary>An ISO 8601 timestamp.</summary> | ||
| public DateTimeOffset CreatedAt { get; set; } | ||
|
|
||
| /// <summary>An ISO 8601 timestamp.</summary> | ||
| public DateTimeOffset UpdatedAt { get; set; } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| // This file is auto-generated by oagen. Do not edit. | ||
|
|
||
| namespace WorkOS | ||
| { | ||
| using System; | ||
|
|
||
| /// <summary>Represents a waitlist user approved.</summary> | ||
| public class WaitlistUserApproved | ||
| { | ||
|
|
||
| /// <summary>Unique identifier for the event.</summary> | ||
| public string Id { get; set; } = default!; | ||
| public string Event { get; internal set; } = "waitlist_user.approved"; | ||
|
|
||
| /// <summary>The event payload.</summary> | ||
| public WaitlistUser Data { get; set; } = default!; | ||
|
|
||
| /// <summary>An ISO 8601 timestamp.</summary> | ||
| public DateTimeOffset CreatedAt { get; set; } | ||
| public EventContext? Context { get; set; } | ||
|
|
||
| /// <summary>Distinguishes the Event object.</summary> | ||
| public string Object { get; internal set; } = "event"; | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| // This file is auto-generated by oagen. Do not edit. | ||
|
|
||
| namespace WorkOS | ||
| { | ||
| using System; | ||
|
|
||
| /// <summary>Represents a waitlist user created.</summary> | ||
| public class WaitlistUserCreated | ||
| { | ||
|
|
||
| /// <summary>Unique identifier for the event.</summary> | ||
| public string Id { get; set; } = default!; | ||
| public string Event { get; internal set; } = "waitlist_user.created"; | ||
|
|
||
| /// <summary>The event payload.</summary> | ||
| public WaitlistUser Data { get; set; } = default!; | ||
|
|
||
| /// <summary>An ISO 8601 timestamp.</summary> | ||
| public DateTimeOffset CreatedAt { get; set; } | ||
| public EventContext? Context { get; set; } | ||
|
|
||
| /// <summary>Distinguishes the Event object.</summary> | ||
| public string Object { get; internal set; } = "event"; | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| // This file is auto-generated by oagen. Do not edit. | ||
|
|
||
| namespace WorkOS | ||
| { | ||
| using System; | ||
|
|
||
| /// <summary>Represents a waitlist user denied.</summary> | ||
| public class WaitlistUserDenied | ||
| { | ||
|
|
||
| /// <summary>Unique identifier for the event.</summary> | ||
| public string Id { get; set; } = default!; | ||
| public string Event { get; internal set; } = "waitlist_user.denied"; | ||
|
|
||
| /// <summary>The event payload.</summary> | ||
| public WaitlistUser Data { get; set; } = default!; | ||
|
|
||
| /// <summary>An ISO 8601 timestamp.</summary> | ||
| public DateTimeOffset CreatedAt { get; set; } | ||
| public EventContext? Context { get; set; } | ||
|
|
||
| /// <summary>Distinguishes the Event object.</summary> | ||
| public string Object { get; internal set; } = "event"; | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EventSchemaclass body completely removedAll public properties (
Object,Id,Event,Data,CreatedAt,Context) and utility methods (GetDataAttribute<T>,GetContextAttribute<T>) have been stripped from this class, leaving it empty. Any existing consumer that accesseseventSchema.Data,eventSchema.Id, or callsGetDataAttribute<T>will receive a compile-time error. If this class is still referenced as a typed event envelope, removing its entire contract is a breaking API change that deserves explicit mention regardless of what the spec diff reports.