-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
829b063
commit e08f839
Showing
14 changed files
with
157 additions
and
2 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
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,13 @@ | ||
namespace Going.Plaid.Entity; | ||
|
||
/// <summary> | ||
/// <para>Configuration parameters for the Transactions product</para> | ||
/// </summary> | ||
public class LinkTokenTransactions | ||
{ | ||
/// <summary> | ||
/// <para>The maximum number of days of transaction history to request for the Transactions product. For developer accounts created after December 3, 2023, if no value is specified, this will default to 90 days. For developer accounts created on December 3, 2023 or earlier, if no value is specified, this will default to 730 days until June 24, 2024, at which point it will default to 90 days.</para> | ||
/// </summary> | ||
[JsonPropertyName("days_requested")] | ||
public int? DaysRequested { get; set; } = default!; | ||
} |
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,21 @@ | ||
namespace Going.Plaid.Webhook; | ||
|
||
/// <summary> | ||
/// <para>Fired when a Beacon User created within your organization matches one of your existing users.</para> | ||
/// </summary> | ||
public record BeaconDuplicateDetectedWebhook : WebhookBase | ||
{ | ||
/// <inheritdoc /> | ||
[JsonPropertyName("webhook_type")] | ||
public override WebhookType WebhookType => WebhookType.Beacon; | ||
|
||
/// <inheritdoc /> | ||
[JsonPropertyName("webhook_code")] | ||
public override WebhookCode WebhookCode => WebhookCode.DuplicateDetected; | ||
|
||
/// <summary> | ||
/// <para>The ID of the associated Beacon Duplicate.</para> | ||
/// </summary> | ||
[JsonPropertyName("beacon_duplicate_id")] | ||
public string BeaconDuplicateId { get; init; } = default!; | ||
} |
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 @@ | ||
namespace Going.Plaid.Webhook; | ||
|
||
/// <summary> | ||
/// <para>Fired when one of your Beacon Users is first reported to the Beacon network.</para> | ||
/// </summary> | ||
public record BeaconReportCreatedWebhook : WebhookBase | ||
{ | ||
/// <inheritdoc /> | ||
[JsonPropertyName("webhook_type")] | ||
public override WebhookType WebhookType => WebhookType.Beacon; | ||
|
||
/// <inheritdoc /> | ||
[JsonPropertyName("webhook_code")] | ||
public override WebhookCode WebhookCode => WebhookCode.ReportCreated; | ||
|
||
/// <summary> | ||
/// <para>The ID of the associated Beacon Report.</para> | ||
/// </summary> | ||
[JsonPropertyName("beacon_report_id")] | ||
public string BeaconReportId { get; init; } = default!; | ||
} |
21 changes: 21 additions & 0 deletions
21
src/Plaid/Webhook/BeaconReportSyndicationCreatedWebhook.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,21 @@ | ||
namespace Going.Plaid.Webhook; | ||
|
||
/// <summary> | ||
/// <para>Fired when a report created on the Beacon Network matches with one of your Beacon Users.</para> | ||
/// </summary> | ||
public record BeaconReportSyndicationCreatedWebhook : WebhookBase | ||
{ | ||
/// <inheritdoc /> | ||
[JsonPropertyName("webhook_type")] | ||
public override WebhookType WebhookType => WebhookType.Beacon; | ||
|
||
/// <inheritdoc /> | ||
[JsonPropertyName("webhook_code")] | ||
public override WebhookCode WebhookCode => WebhookCode.ReportSyndicationCreated; | ||
|
||
/// <summary> | ||
/// <para>The ID of the associated Beacon Report Syndication.</para> | ||
/// </summary> | ||
[JsonPropertyName("beacon_report_syndication_id")] | ||
public string BeaconReportSyndicationId { get; init; } = default!; | ||
} |
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 @@ | ||
namespace Going.Plaid.Webhook; | ||
|
||
/// <summary> | ||
/// <para>Fired when one of your existing Beacon Reports has been modified or removed from the Beacon Network.</para> | ||
/// </summary> | ||
public record BeaconReportUpdatedWebhook : WebhookBase | ||
{ | ||
/// <inheritdoc /> | ||
[JsonPropertyName("webhook_type")] | ||
public override WebhookType WebhookType => WebhookType.Beacon; | ||
|
||
/// <inheritdoc /> | ||
[JsonPropertyName("webhook_code")] | ||
public override WebhookCode WebhookCode => WebhookCode.ReportUpdated; | ||
|
||
/// <summary> | ||
/// <para>The ID of the associated Beacon Report.</para> | ||
/// </summary> | ||
[JsonPropertyName("beacon_report_id")] | ||
public string BeaconReportId { get; init; } = default!; | ||
} |