diff --git a/Pluggy.Client/Pluggy.Client.csproj b/Pluggy.Client/Pluggy.Client.csproj index 1179fa2..864f6ba 100644 --- a/Pluggy.Client/Pluggy.Client.csproj +++ b/Pluggy.Client/Pluggy.Client.csproj @@ -11,7 +11,7 @@ - + diff --git a/Pluggy.Client/Program.cs b/Pluggy.Client/Program.cs index 5e074c9..d43a4cc 100644 --- a/Pluggy.Client/Program.cs +++ b/Pluggy.Client/Program.cs @@ -63,7 +63,10 @@ private static async Task CreateItem(SDK.PluggyAPI sdk) Types = new List { ConnectorType.PERSONAL_BANK, ConnectorType.BUSINESS_BANK, - ConnectorType.INVESTMENT + ConnectorType.INVESTMENT, + ConnectorType.INVOICE, + ConnectorType.TELECOMMUNICATION, + ConnectorType.OTHER }, Name = "", Sandbox = true diff --git a/Pluggy.SDK/Model/ConnectorType.cs b/Pluggy.SDK/Model/ConnectorType.cs index eb75db1..5ace8ac 100644 --- a/Pluggy.SDK/Model/ConnectorType.cs +++ b/Pluggy.SDK/Model/ConnectorType.cs @@ -8,6 +8,9 @@ public enum ConnectorType { PERSONAL_BANK, BUSINESS_BANK, - INVESTMENT + INVESTMENT, + INVOICE, + TELECOMMUNICATION, + OTHER, } } diff --git a/Pluggy.SDK/Model/Webhook.cs b/Pluggy.SDK/Model/Webhook.cs index 6d746da..672cfc4 100644 --- a/Pluggy.SDK/Model/Webhook.cs +++ b/Pluggy.SDK/Model/Webhook.cs @@ -51,9 +51,13 @@ public WebhookEvent Event public class WebhookEventPayload { + [Obsolete("Use EventId instead", false)] [JsonProperty("id")] public Guid Id { get; set; } + [JsonProperty("eventId")] + public Guid EventId { get; set; } + [JsonProperty("itemId")] public Guid ItemId { get; set; }