-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added remaining Organization/EndUser APIs. #4
- Loading branch information
1 parent
fbd9dc6
commit 014677c
Showing
129 changed files
with
4,313 additions
and
796 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Domain.Common; | ||
using Domain.Common.ValueObjects; | ||
using JetBrains.Annotations; | ||
|
||
namespace Domain.Events.Shared.EndUsers; | ||
|
||
public sealed class MembershipRemoved : DomainEvent | ||
{ | ||
public MembershipRemoved(Identifier id) : base(id) | ||
{ | ||
} | ||
|
||
[UsedImplicitly] | ||
public MembershipRemoved() | ||
{ | ||
} | ||
|
||
public required string MembershipId { get; set; } | ||
|
||
public required string OrganizationId { get; set; } | ||
|
||
public required string UnInvitedById { get; set; } | ||
} |
23 changes: 23 additions & 0 deletions
23
src/Domain.Events.Shared/EndUsers/MembershipRoleUnassigned.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Domain.Common; | ||
using Domain.Common.ValueObjects; | ||
using JetBrains.Annotations; | ||
|
||
namespace Domain.Events.Shared.EndUsers; | ||
|
||
public sealed class MembershipRoleUnassigned : DomainEvent | ||
{ | ||
public MembershipRoleUnassigned(Identifier id) : base(id) | ||
{ | ||
} | ||
|
||
[UsedImplicitly] | ||
public MembershipRoleUnassigned() | ||
{ | ||
} | ||
|
||
public required string MembershipId { get; set; } | ||
|
||
public required string OrganizationId { get; set; } | ||
|
||
public required string Role { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Domain.Common; | ||
using Domain.Common.ValueObjects; | ||
using JetBrains.Annotations; | ||
|
||
namespace Domain.Events.Shared.Organizations; | ||
|
||
public sealed class MemberInvited : DomainEvent | ||
{ | ||
public MemberInvited(Identifier id) : base(id) | ||
{ | ||
} | ||
|
||
[UsedImplicitly] | ||
public MemberInvited() | ||
{ | ||
} | ||
|
||
public string? EmailAddress { get; set; } | ||
|
||
public required string InvitedById { get; set; } | ||
|
||
public string? UserId { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using Domain.Common; | ||
using Domain.Common.ValueObjects; | ||
using JetBrains.Annotations; | ||
|
||
namespace Domain.Events.Shared.Organizations; | ||
|
||
public sealed class MemberUnInvited : DomainEvent | ||
{ | ||
public MemberUnInvited(Identifier id) : base(id) | ||
{ | ||
} | ||
|
||
[UsedImplicitly] | ||
public MemberUnInvited() | ||
{ | ||
} | ||
|
||
public required string UninvitedById { get; set; } | ||
|
||
public required string UserId { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/Domain.Events.Shared/Organizations/MembershipRemoved.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using Domain.Common; | ||
using Domain.Common.ValueObjects; | ||
using JetBrains.Annotations; | ||
|
||
namespace Domain.Events.Shared.Organizations; | ||
|
||
public sealed class MembershipRemoved : DomainEvent | ||
{ | ||
public MembershipRemoved(Identifier id) : base(id) | ||
{ | ||
} | ||
|
||
[UsedImplicitly] | ||
public MembershipRemoved() | ||
{ | ||
} | ||
|
||
public required string UserId { get; set; } | ||
} |
Oops, something went wrong.