From fc636a195bf955d41f1be7d83a8c9d82be092477 Mon Sep 17 00:00:00 2001 From: amitsendinblue Date: Wed, 24 Feb 2021 11:52:31 +0530 Subject: [PATCH] Updated Version v3.2.0 --- README.md | 5 +- docs/ContactsApi.md | 42 ++-- docs/CreateEmailCampaign.md | 2 +- docs/CreateSmsCampaign.md | 2 +- docs/CreateSmtpEmail.md | 3 +- docs/EmailCampaignsApi.md | 14 +- docs/FoldersApi.md | 8 +- docs/GetCampaignOverview.md | 2 +- docs/GetContactCampaignStatsOpened.md | 2 +- docs/GetContactDetails.md | 4 +- docs/GetEmailCampaign.md | 8 +- docs/GetEmailEventReportEvents.md | 2 +- docs/GetExtendedCampaignOverview.md | 8 +- docs/GetExtendedContactDetails.md | 4 +- ...etExtendedContactDetailsStatisticsLinks.md | 2 +- ...dedContactDetailsStatisticsMessagesSent.md | 2 +- ...tExtendedContactDetailsStatisticsOpened.md | 2 +- ...sticsUnsubscriptionsAdminUnsubscription.md | 2 +- ...isticsUnsubscriptionsUserUnsubscription.md | 2 +- docs/GetExtendedList.md | 2 +- docs/GetSmsCampaign.md | 6 +- docs/GetSmsCampaignOverview.md | 6 +- docs/GetSmsEventReportEvents.md | 2 +- docs/GetSmtpTemplateOverview.md | 4 +- docs/GetTransacBlockedContactsContacts.md | 2 +- docs/GetTransacEmailContent.md | 2 +- docs/GetTransacEmailContentEvents.md | 2 +- ...GetTransacEmailsListTransactionalEmails.md | 2 +- docs/GetWebhook.md | 4 +- docs/ListsApi.md | 18 +- docs/ProcessApi.md | 4 +- docs/SMSCampaignsApi.md | 14 +- docs/SendSmtpEmail.md | 5 +- docs/SendSmtpEmailMessageVersions.md | 14 ++ docs/SendSmtpEmailReplyTo1.md | 10 + docs/SendSmtpEmailTo1.md | 10 + docs/TransactionalEmailsApi.md | 48 ++-- docs/TransactionalSMSApi.md | 26 +-- docs/UpdateEmailCampaign.md | 2 +- docs/UpdateSmsCampaign.md | 2 +- sib_api_v3_sdk.sln | 12 +- src/sib_api_v3_sdk/Api/ContactsApi.cs | 128 +++++------ src/sib_api_v3_sdk/Api/EmailCampaignsApi.cs | 32 +-- src/sib_api_v3_sdk/Api/FoldersApi.cs | 32 +-- src/sib_api_v3_sdk/Api/ListsApi.cs | 64 +++--- src/sib_api_v3_sdk/Api/ProcessApi.cs | 16 +- src/sib_api_v3_sdk/Api/SMSCampaignsApi.cs | 32 +-- .../Api/TransactionalEmailsApi.cs | 128 +++++------ src/sib_api_v3_sdk/Api/TransactionalSMSApi.cs | 80 +++---- src/sib_api_v3_sdk/Client/ApiClient.cs | 28 +-- src/sib_api_v3_sdk/Client/Configuration.cs | 17 +- .../Model/CreateEmailCampaign.cs | 4 +- src/sib_api_v3_sdk/Model/CreateSmsCampaign.cs | 4 +- src/sib_api_v3_sdk/Model/CreateSmtpEmail.cs | 35 +-- .../Model/GetCampaignOverview.cs | 4 +- .../Model/GetContactCampaignStatsOpened.cs | 4 +- src/sib_api_v3_sdk/Model/GetContactDetails.cs | 6 +- src/sib_api_v3_sdk/Model/GetEmailCampaign.cs | 10 +- .../Model/GetEmailEventReportEvents.cs | 4 +- .../Model/GetExtendedCampaignOverview.cs | 10 +- .../Model/GetExtendedContactDetails.cs | 6 +- ...etExtendedContactDetailsStatisticsLinks.cs | 4 +- ...dedContactDetailsStatisticsMessagesSent.cs | 4 +- ...tExtendedContactDetailsStatisticsOpened.cs | 4 +- ...sticsUnsubscriptionsAdminUnsubscription.cs | 4 +- ...isticsUnsubscriptionsUserUnsubscription.cs | 4 +- src/sib_api_v3_sdk/Model/GetExtendedList.cs | 4 +- src/sib_api_v3_sdk/Model/GetSmsCampaign.cs | 8 +- .../Model/GetSmsCampaignOverview.cs | 8 +- .../Model/GetSmsEventReportEvents.cs | 4 +- .../Model/GetSmtpTemplateOverview.cs | 6 +- .../GetTransacBlockedContactsContacts.cs | 4 +- .../Model/GetTransacEmailContent.cs | 4 +- .../Model/GetTransacEmailContentEvents.cs | 4 +- ...GetTransacEmailsListTransactionalEmails.cs | 4 +- src/sib_api_v3_sdk/Model/GetWebhook.cs | 6 +- src/sib_api_v3_sdk/Model/SendSmtpEmail.cs | 46 ++-- .../Model/SendSmtpEmailMessageVersions.cs | 210 ++++++++++++++++++ .../Model/SendSmtpEmailReplyTo1.cs | 143 ++++++++++++ src/sib_api_v3_sdk/Model/SendSmtpEmailTo1.cs | 143 ++++++++++++ .../Model/UpdateEmailCampaign.cs | 4 +- src/sib_api_v3_sdk/Model/UpdateSmsCampaign.cs | 4 +- src/sib_api_v3_sdk/sib_api_v3_sdk.csproj | 2 +- 83 files changed, 1060 insertions(+), 521 deletions(-) create mode 100644 docs/SendSmtpEmailMessageVersions.md create mode 100644 docs/SendSmtpEmailReplyTo1.md create mode 100644 docs/SendSmtpEmailTo1.md create mode 100644 src/sib_api_v3_sdk/Model/SendSmtpEmailMessageVersions.cs create mode 100644 src/sib_api_v3_sdk/Model/SendSmtpEmailReplyTo1.cs create mode 100644 src/sib_api_v3_sdk/Model/SendSmtpEmailTo1.cs diff --git a/README.md b/README.md index 8428327..aeed4fc 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ SendinBlue's API matches the [OpenAPI v2 definition](https://www.openapis.org/). This C# SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project and is reviewed and maintained by SendinBlue: - API version: 3.0.0 -- SDK version: 3.1.0 +- SDK version: 3.2.0 - Build package: io.swagger.codegen.languages.CSharpClientCodegen For more information, please visit [https://account.sendinblue.com/support](https://account.sendinblue.com/support) @@ -362,9 +362,12 @@ Class | Method | HTTP request | Description - [Model.SendSmtpEmailAttachment](docs/SendSmtpEmailAttachment.md) - [Model.SendSmtpEmailBcc](docs/SendSmtpEmailBcc.md) - [Model.SendSmtpEmailCc](docs/SendSmtpEmailCc.md) + - [Model.SendSmtpEmailMessageVersions](docs/SendSmtpEmailMessageVersions.md) - [Model.SendSmtpEmailReplyTo](docs/SendSmtpEmailReplyTo.md) + - [Model.SendSmtpEmailReplyTo1](docs/SendSmtpEmailReplyTo1.md) - [Model.SendSmtpEmailSender](docs/SendSmtpEmailSender.md) - [Model.SendSmtpEmailTo](docs/SendSmtpEmailTo.md) + - [Model.SendSmtpEmailTo1](docs/SendSmtpEmailTo1.md) - [Model.SendTemplateEmail](docs/SendTemplateEmail.md) - [Model.SendTestEmail](docs/SendTestEmail.md) - [Model.SendTestSms](docs/SendTestSms.md) diff --git a/docs/ContactsApi.md b/docs/ContactsApi.md index 845f703..85321d0 100644 --- a/docs/ContactsApi.md +++ b/docs/ContactsApi.md @@ -849,7 +849,7 @@ Name | Type | Description | Notes # **GetContactStats** -> GetContactCampaignStats GetContactStats (string identifier, DateTime? startDate = null, DateTime? endDate = null) +> GetContactCampaignStats GetContactStats (string identifier, string startDate = null, string endDate = null) Get email campaigns' statistics for a contact @@ -878,8 +878,8 @@ namespace Example var apiInstance = new ContactsApi(); var identifier = identifier_example; // string | Email (urlencoded) OR ID of the contact - var startDate = 2013-10-20; // DateTime? | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional) - var endDate = 2013-10-20; // DateTime? | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional) + var startDate = startDate_example; // string | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional) + var endDate = endDate_example; // string | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional) try { @@ -901,8 +901,8 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **identifier** | **string**| Email (urlencoded) OR ID of the contact | - **startDate** | **DateTime?**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate | [optional] - **endDate** | **DateTime?**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate | [optional] + **startDate** | **string**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate | [optional] + **endDate** | **string**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate | [optional] ### Return type @@ -921,7 +921,7 @@ Name | Type | Description | Notes # **GetContacts** -> GetContacts GetContacts (long? limit = null, long? offset = null, DateTime? modifiedSince = null, string sort = null) +> GetContacts GetContacts (long? limit = null, long? offset = null, string modifiedSince = null, string sort = null) Get all the contacts @@ -951,8 +951,8 @@ namespace Example var apiInstance = new ContactsApi(); var limit = 789; // long? | Number of documents per page (optional) (default to 50) var offset = 789; // long? | Index of the first document of the page (optional) (default to 0) - var modifiedSince = 2013-10-20T19:20:30+01:00; // DateTime? | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var modifiedSince = modifiedSince_example; // string | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -975,8 +975,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **long?**| Number of documents per page | [optional] [default to 50] **offset** | **long?**| Index of the first document of the page | [optional] [default to 0] - **modifiedSince** | **DateTime?**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **modifiedSince** | **string**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type @@ -995,7 +995,7 @@ Name | Type | Description | Notes # **GetContactsFromList** -> GetContacts GetContactsFromList (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null) +> GetContacts GetContactsFromList (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null) Get contacts in a list @@ -1024,10 +1024,10 @@ namespace Example var apiInstance = new ContactsApi(); var listId = 789; // long? | Id of the list - var modifiedSince = 2013-10-20T19:20:30+01:00; // DateTime? | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) + var modifiedSince = modifiedSince_example; // string | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) var limit = 789; // long? | Number of documents per page (optional) (default to 50) var offset = 789; // long? | Index of the first document of the page (optional) (default to 0) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -1049,10 +1049,10 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **long?**| Id of the list | - **modifiedSince** | **DateTime?**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] + **modifiedSince** | **string**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] **limit** | **long?**| Number of documents per page | [optional] [default to 50] **offset** | **long?**| Index of the first document of the page | [optional] [default to 0] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type @@ -1170,7 +1170,7 @@ namespace Example var folderId = 789; // long? | Id of the folder var limit = 789; // long? | Number of documents per page (optional) (default to 10) var offset = 789; // long? | Index of the first document of the page (optional) (default to 0) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -1194,7 +1194,7 @@ Name | Type | Description | Notes **folderId** | **long?**| Id of the folder | **limit** | **long?**| Number of documents per page | [optional] [default to 10] **offset** | **long?**| Index of the first document of the page | [optional] [default to 0] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type @@ -1243,7 +1243,7 @@ namespace Example var apiInstance = new ContactsApi(); var limit = 789; // long? | Number of documents per page (default to 10) var offset = 789; // long? | Index of the first document of the page (default to 0) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -1266,7 +1266,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **long?**| Number of documents per page | [default to 10] **offset** | **long?**| Index of the first document of the page | [default to 0] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type @@ -1383,7 +1383,7 @@ namespace Example var apiInstance = new ContactsApi(); var limit = 789; // long? | Number of documents per page (optional) (default to 10) var offset = 789; // long? | Index of the first document of the page (optional) (default to 0) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -1406,7 +1406,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **long?**| Number of documents per page | [optional] [default to 10] **offset** | **long?**| Index of the first document of the page | [optional] [default to 0] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type diff --git a/docs/CreateEmailCampaign.md b/docs/CreateEmailCampaign.md index 862ac48..da54f17 100644 --- a/docs/CreateEmailCampaign.md +++ b/docs/CreateEmailCampaign.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **HtmlContent** | **string** | Mandatory if htmlUrl and templateId are empty. Body of the message (HTML) | [optional] **HtmlUrl** | **string** | Mandatory if htmlContent and templateId are empty. Url to the message (HTML) | [optional] **TemplateId** | **long?** | Mandatory if htmlContent and htmlUrl are empty. Id of the transactional email template with status 'active'. Used to copy only its content fetched from htmlContent/htmlUrl to an email campaign for RSS feature. | [optional] -**ScheduledAt** | **DateTime?** | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional] +**ScheduledAt** | **string** | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional] **Subject** | **string** | Subject of the campaign. Mandatory if abTesting is false. Ignored if abTesting is true. | [optional] **ReplyTo** | **string** | Email on which the campaign recipients will be able to reply to | [optional] **ToField** | **string** | To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization | [optional] diff --git a/docs/CreateSmsCampaign.md b/docs/CreateSmsCampaign.md index dd2c4da..51f3d4a 100644 --- a/docs/CreateSmsCampaign.md +++ b/docs/CreateSmsCampaign.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Sender** | **string** | Name of the sender. **The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters** | **Content** | **string** | Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS | **Recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional] -**ScheduledAt** | **DateTime?** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] +**ScheduledAt** | **string** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateSmtpEmail.md b/docs/CreateSmtpEmail.md index 08c8bc6..74df171 100644 --- a/docs/CreateSmtpEmail.md +++ b/docs/CreateSmtpEmail.md @@ -3,7 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**MessageId** | **string** | Message ID of the transactional email sent | +**MessageId** | **string** | Message ID of the transactional email sent | [optional] +**MessageIds** | **List<string>** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EmailCampaignsApi.md b/docs/EmailCampaignsApi.md index 671c359..acaaf55 100644 --- a/docs/EmailCampaignsApi.md +++ b/docs/EmailCampaignsApi.md @@ -364,7 +364,7 @@ Name | Type | Description | Notes # **GetEmailCampaigns** -> GetEmailCampaigns GetEmailCampaigns (string type = null, string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null) +> GetEmailCampaigns GetEmailCampaigns (string type = null, string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null) Return all your created email campaigns @@ -394,11 +394,11 @@ namespace Example var apiInstance = new EmailCampaignsApi(); var type = type_example; // string | Filter on the type of the campaigns (optional) var status = status_example; // string | Filter on the status of the campaign (optional) - var startDate = 2013-10-20T19:20:30+01:00; // DateTime? | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) - var endDate = 2013-10-20T19:20:30+01:00; // DateTime? | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) + var startDate = startDate_example; // string | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) + var endDate = endDate_example; // string | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) var limit = 789; // long? | Number of documents per page (optional) (default to 500) var offset = 789; // long? | Index of the first document in the page (optional) (default to 0) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -421,11 +421,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **type** | **string**| Filter on the type of the campaigns | [optional] **status** | **string**| Filter on the status of the campaign | [optional] - **startDate** | **DateTime?**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] - **endDate** | **DateTime?**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] + **startDate** | **string**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] + **endDate** | **string**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] **limit** | **long?**| Number of documents per page | [optional] [default to 500] **offset** | **long?**| Index of the first document in the page | [optional] [default to 0] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type diff --git a/docs/FoldersApi.md b/docs/FoldersApi.md index 3467091..0fb8416 100644 --- a/docs/FoldersApi.md +++ b/docs/FoldersApi.md @@ -248,7 +248,7 @@ namespace Example var folderId = 789; // long? | Id of the folder var limit = 789; // long? | Number of documents per page (optional) (default to 10) var offset = 789; // long? | Index of the first document of the page (optional) (default to 0) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -272,7 +272,7 @@ Name | Type | Description | Notes **folderId** | **long?**| Id of the folder | **limit** | **long?**| Number of documents per page | [optional] [default to 10] **offset** | **long?**| Index of the first document of the page | [optional] [default to 0] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type @@ -321,7 +321,7 @@ namespace Example var apiInstance = new FoldersApi(); var limit = 789; // long? | Number of documents per page (default to 10) var offset = 789; // long? | Index of the first document of the page (default to 0) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -344,7 +344,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **long?**| Number of documents per page | [default to 10] **offset** | **long?**| Index of the first document of the page | [default to 0] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type diff --git a/docs/GetCampaignOverview.md b/docs/GetCampaignOverview.md index 4c8e0d9..99a7c1e 100644 --- a/docs/GetCampaignOverview.md +++ b/docs/GetCampaignOverview.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Subject** | **string** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional] **Type** | **string** | Type of campaign | **Status** | **string** | Status of the campaign | -**ScheduledAt** | **DateTime?** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**ScheduledAt** | **string** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **AbTesting** | **bool?** | Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. | [optional] **SubjectA** | **string** | Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional] **SubjectB** | **string** | Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional] diff --git a/docs/GetContactCampaignStatsOpened.md b/docs/GetContactCampaignStatsOpened.md index 7b402c9..e854461 100644 --- a/docs/GetContactCampaignStatsOpened.md +++ b/docs/GetContactCampaignStatsOpened.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CampaignId** | **long?** | ID of the campaign which generated the event | **Count** | **long?** | Number of openings of the campaign | -**EventTime** | **DateTime?** | UTC date-time of the event | +**EventTime** | **string** | UTC date-time of the event | **Ip** | **string** | IP from which the user has opened the campaign | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetContactDetails.md b/docs/GetContactDetails.md index 7980b77..5c5b81a 100644 --- a/docs/GetContactDetails.md +++ b/docs/GetContactDetails.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **Id** | **long?** | ID of the contact for which you requested the details | **EmailBlacklisted** | **bool?** | Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) | **SmsBlacklisted** | **bool?** | Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) | -**CreatedAt** | **DateTime?** | Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**ModifiedAt** | **DateTime?** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**CreatedAt** | **string** | Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**ModifiedAt** | **string** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | **ListIds** | **List<long?>** | | **ListUnsubscribed** | **List<long?>** | | [optional] **Attributes** | **Object** | Set of attributes of the contact | diff --git a/docs/GetEmailCampaign.md b/docs/GetEmailCampaign.md index deb88b9..bd4321b 100644 --- a/docs/GetEmailCampaign.md +++ b/docs/GetEmailCampaign.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Subject** | **string** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional] **Type** | **string** | Type of campaign | **Status** | **string** | Status of the campaign | -**ScheduledAt** | **DateTime?** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**ScheduledAt** | **string** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **AbTesting** | **bool?** | Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. | [optional] **SubjectA** | **string** | Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional] **SubjectB** | **string** | Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional] @@ -25,12 +25,12 @@ Name | Type | Description | Notes **HtmlContent** | **string** | HTML content of the campaign | **ShareLink** | **string** | Link to share the campaign on social medias | [optional] **Tag** | **string** | Tag of the campaign | [optional] -**CreatedAt** | **DateTime?** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**ModifiedAt** | **DateTime?** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**CreatedAt** | **string** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**ModifiedAt** | **string** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | **InlineImageActivation** | **bool?** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. | [optional] **MirrorActive** | **bool?** | Status of mirror links in campaign. mirrorActive = false means mirror links are deactivated, & mirrorActive = true means mirror links are activated, in the campaign | [optional] **Recurring** | **bool?** | FOR TRIGGER ONLY ! Type of trigger campaign.recurring = false means contact can receive the same Trigger campaign only once, & recurring = true means contact can receive the same Trigger campaign several times | [optional] -**SentDate** | **DateTime?** | Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' | [optional] +**SentDate** | **string** | Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' | [optional] **ReturnBounce** | **long?** | Total number of non-delivered campaigns for a particular campaign id. | [optional] **Recipients** | **Object** | | **Statistics** | **Object** | | diff --git a/docs/GetEmailEventReportEvents.md b/docs/GetEmailEventReportEvents.md index d56258b..8d4da80 100644 --- a/docs/GetEmailEventReportEvents.md +++ b/docs/GetEmailEventReportEvents.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Email** | **string** | Email address which generates the event | -**Date** | **DateTime?** | UTC date-time on which the event has been generated | +**Date** | **string** | UTC date-time on which the event has been generated | **Subject** | **string** | Subject of the event | [optional] **MessageId** | **string** | Message ID which generated the event | **Event** | **string** | Event which occurred | diff --git a/docs/GetExtendedCampaignOverview.md b/docs/GetExtendedCampaignOverview.md index 1b0ac9d..2bcbf06 100644 --- a/docs/GetExtendedCampaignOverview.md +++ b/docs/GetExtendedCampaignOverview.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Subject** | **string** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional] **Type** | **string** | Type of campaign | **Status** | **string** | Status of the campaign | -**ScheduledAt** | **DateTime?** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**ScheduledAt** | **string** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **AbTesting** | **bool?** | Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. | [optional] **SubjectA** | **string** | Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional] **SubjectB** | **string** | Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional] @@ -25,12 +25,12 @@ Name | Type | Description | Notes **HtmlContent** | **string** | HTML content of the campaign | **ShareLink** | **string** | Link to share the campaign on social medias | [optional] **Tag** | **string** | Tag of the campaign | [optional] -**CreatedAt** | **DateTime?** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**ModifiedAt** | **DateTime?** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**CreatedAt** | **string** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**ModifiedAt** | **string** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | **InlineImageActivation** | **bool?** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. | [optional] **MirrorActive** | **bool?** | Status of mirror links in campaign. mirrorActive = false means mirror links are deactivated, & mirrorActive = true means mirror links are activated, in the campaign | [optional] **Recurring** | **bool?** | FOR TRIGGER ONLY ! Type of trigger campaign.recurring = false means contact can receive the same Trigger campaign only once, & recurring = true means contact can receive the same Trigger campaign several times | [optional] -**SentDate** | **DateTime?** | Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' | [optional] +**SentDate** | **string** | Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' | [optional] **ReturnBounce** | **long?** | Total number of non-delivered campaigns for a particular campaign id. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetExtendedContactDetails.md b/docs/GetExtendedContactDetails.md index 8fa6ca9..14136e9 100644 --- a/docs/GetExtendedContactDetails.md +++ b/docs/GetExtendedContactDetails.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **Id** | **long?** | ID of the contact for which you requested the details | **EmailBlacklisted** | **bool?** | Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) | **SmsBlacklisted** | **bool?** | Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) | -**CreatedAt** | **DateTime?** | Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**ModifiedAt** | **DateTime?** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**CreatedAt** | **string** | Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**ModifiedAt** | **string** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | **ListIds** | **List<long?>** | | **ListUnsubscribed** | **List<long?>** | | [optional] **Attributes** | **Object** | Set of attributes of the contact | diff --git a/docs/GetExtendedContactDetailsStatisticsLinks.md b/docs/GetExtendedContactDetailsStatisticsLinks.md index 5090a1e..e6897f7 100644 --- a/docs/GetExtendedContactDetailsStatisticsLinks.md +++ b/docs/GetExtendedContactDetailsStatisticsLinks.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Count** | **long?** | Number of clicks on this link for the campaign | -**EventTime** | **DateTime?** | UTC date-time of the event | +**EventTime** | **string** | UTC date-time of the event | **Ip** | **string** | IP from which the user has clicked on the link | **Url** | **string** | URL of the clicked link | diff --git a/docs/GetExtendedContactDetailsStatisticsMessagesSent.md b/docs/GetExtendedContactDetailsStatisticsMessagesSent.md index 19b9f91..f7d9042 100644 --- a/docs/GetExtendedContactDetailsStatisticsMessagesSent.md +++ b/docs/GetExtendedContactDetailsStatisticsMessagesSent.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CampaignId** | **long?** | ID of the campaign which generated the event | -**EventTime** | **DateTime?** | UTC date-time of the event | +**EventTime** | **string** | UTC date-time of the event | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetExtendedContactDetailsStatisticsOpened.md b/docs/GetExtendedContactDetailsStatisticsOpened.md index 42cf81f..d8bcbed 100644 --- a/docs/GetExtendedContactDetailsStatisticsOpened.md +++ b/docs/GetExtendedContactDetailsStatisticsOpened.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CampaignId** | **long?** | ID of the campaign which generated the event | **Count** | **long?** | Number of openings for the campaign | -**EventTime** | **DateTime?** | UTC date-time of the event | +**EventTime** | **string** | UTC date-time of the event | **Ip** | **string** | IP from which the user has opened the email | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md index 24f1024..f326937 100644 --- a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md +++ b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**EventTime** | **DateTime?** | UTC date-time of the event | +**EventTime** | **string** | UTC date-time of the event | **Ip** | **string** | IP from which the user has been unsubscribed | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md index 6ddffef..c7a7958 100644 --- a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md +++ b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CampaignId** | **long?** | ID of the campaign which generated the event | -**EventTime** | **DateTime?** | UTC date-time of the event | +**EventTime** | **string** | UTC date-time of the event | **Ip** | **string** | IP from which the user has unsubscribed | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetExtendedList.md b/docs/GetExtendedList.md index 33f341b..da96c7d 100644 --- a/docs/GetExtendedList.md +++ b/docs/GetExtendedList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **TotalBlacklisted** | **long?** | Number of blacklisted contacts in the list | **TotalSubscribers** | **long?** | Number of contacts in the list | **FolderId** | **long?** | ID of the folder | -**CreatedAt** | **DateTime?** | Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**CreatedAt** | **string** | Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) | **CampaignStats** | [**List<GetExtendedListCampaignStats>**](GetExtendedListCampaignStats.md) | | [optional] **DynamicList** | **bool?** | Status telling if the list is dynamic or not (true=dynamic, false=not dynamic) | [optional] diff --git a/docs/GetSmsCampaign.md b/docs/GetSmsCampaign.md index 86dfc8d..cb25cf1 100644 --- a/docs/GetSmsCampaign.md +++ b/docs/GetSmsCampaign.md @@ -7,10 +7,10 @@ Name | Type | Description | Notes **Name** | **string** | Name of the SMS Campaign | **Status** | **string** | Status of the SMS Campaign | **Content** | **string** | Content of the SMS Campaign | -**ScheduledAt** | **DateTime?** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional] +**ScheduledAt** | **string** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional] **Sender** | **string** | Sender of the SMS Campaign | -**CreatedAt** | **DateTime?** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**ModifiedAt** | **DateTime?** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**CreatedAt** | **string** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**ModifiedAt** | **string** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | **Recipients** | **Object** | | **Statistics** | **Object** | | diff --git a/docs/GetSmsCampaignOverview.md b/docs/GetSmsCampaignOverview.md index 2a12b69..29e9ffd 100644 --- a/docs/GetSmsCampaignOverview.md +++ b/docs/GetSmsCampaignOverview.md @@ -7,10 +7,10 @@ Name | Type | Description | Notes **Name** | **string** | Name of the SMS Campaign | **Status** | **string** | Status of the SMS Campaign | **Content** | **string** | Content of the SMS Campaign | -**ScheduledAt** | **DateTime?** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional] +**ScheduledAt** | **string** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional] **Sender** | **string** | Sender of the SMS Campaign | -**CreatedAt** | **DateTime?** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**ModifiedAt** | **DateTime?** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**CreatedAt** | **string** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**ModifiedAt** | **string** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetSmsEventReportEvents.md b/docs/GetSmsEventReportEvents.md index 4570604..c4b2a5f 100644 --- a/docs/GetSmsEventReportEvents.md +++ b/docs/GetSmsEventReportEvents.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PhoneNumber** | **string** | Phone number which has generated the event | [optional] -**Date** | **DateTime?** | UTC date-time on which the event has been generated | [optional] +**Date** | **string** | UTC date-time on which the event has been generated | [optional] **MessageId** | **string** | Message ID which generated the event | [optional] **Event** | **string** | Event which occurred | [optional] **Reason** | **string** | Reason of bounce (only available if the event is hardbounce or softbounce) | [optional] diff --git a/docs/GetSmtpTemplateOverview.md b/docs/GetSmtpTemplateOverview.md index fbf67ef..b98b886 100644 --- a/docs/GetSmtpTemplateOverview.md +++ b/docs/GetSmtpTemplateOverview.md @@ -13,8 +13,8 @@ Name | Type | Description | Notes **ToField** | **string** | Customisation of the "to" field for the template | **Tag** | **string** | Tag of the template | **HtmlContent** | **string** | HTML content of the template | -**CreatedAt** | **DateTime?** | Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**ModifiedAt** | **DateTime?** | Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**CreatedAt** | **string** | Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**ModifiedAt** | **string** | Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | **DoiTemplate** | **bool?** | It is true if template is a valid Double opt-in (DOI) template, otherwise it is false. This field will be available only in case of single template detail call. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetTransacBlockedContactsContacts.md b/docs/GetTransacBlockedContactsContacts.md index 870b6f7..c952776 100644 --- a/docs/GetTransacBlockedContactsContacts.md +++ b/docs/GetTransacBlockedContactsContacts.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **Email** | **string** | Email address of the blocked or unsubscribed contact | **SenderEmail** | **string** | Sender email address of the blocked or unsubscribed contact | **Reason** | [**GetTransacBlockedContactsReason**](GetTransacBlockedContactsReason.md) | | -**BlockedAt** | **DateTime?** | Date when the contact was blocked or unsubscribed on | +**BlockedAt** | **string** | Date when the contact was blocked or unsubscribed on | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetTransacEmailContent.md b/docs/GetTransacEmailContent.md index e3f3c7b..ddbcce1 100644 --- a/docs/GetTransacEmailContent.md +++ b/docs/GetTransacEmailContent.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **Email** | **string** | Email address to which transactional email has been sent | **Subject** | **string** | Subject of the sent email | **TemplateId** | **long?** | Id of the template | [optional] -**Date** | **DateTime?** | Date on which transactional email was sent | +**Date** | **string** | Date on which transactional email was sent | **Events** | [**List<GetTransacEmailContentEvents>**](GetTransacEmailContentEvents.md) | Series of events which occurred on the transactional email | **Body** | **string** | Actual content of the transactional email that has been sent | **AttachmentCount** | **long?** | Count of the attachments that were sent in the email | diff --git a/docs/GetTransacEmailContentEvents.md b/docs/GetTransacEmailContentEvents.md index fc745f3..ac6e10d 100644 --- a/docs/GetTransacEmailContentEvents.md +++ b/docs/GetTransacEmailContentEvents.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | Name of the event that occurred on the sent email | -**Time** | **DateTime?** | Time at which the event occurred | +**Time** | **string** | Time at which the event occurred | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetTransacEmailsListTransactionalEmails.md b/docs/GetTransacEmailsListTransactionalEmails.md index 69f3d16..5016ed0 100644 --- a/docs/GetTransacEmailsListTransactionalEmails.md +++ b/docs/GetTransacEmailsListTransactionalEmails.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **TemplateId** | **long?** | Id of the template | [optional] **MessageId** | **string** | Message Id of the sent email | **Uuid** | **string** | Unique id of the email sent to a particular contact | -**Date** | **DateTime?** | Date on which transactional email was sent | +**Date** | **string** | Date on which transactional email was sent | **From** | **string** | Email address of the sender from which the email was sent | [optional] **Tags** | **List<string>** | Tags used for your email | [optional] diff --git a/docs/GetWebhook.md b/docs/GetWebhook.md index 6c85b20..1aa3072 100644 --- a/docs/GetWebhook.md +++ b/docs/GetWebhook.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **Description** | **string** | Description of the webhook | **Events** | **List<string>** | | **Type** | **string** | Type of webhook (marketing or transac) | -**CreatedAt** | **DateTime?** | Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**ModifiedAt** | **DateTime?** | Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**CreatedAt** | **string** | Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**ModifiedAt** | **string** | Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ListsApi.md b/docs/ListsApi.md index a9c8d7f..047aef3 100644 --- a/docs/ListsApi.md +++ b/docs/ListsApi.md @@ -222,7 +222,7 @@ void (empty response body) # **GetContactsFromList** -> GetContacts GetContactsFromList (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null) +> GetContacts GetContactsFromList (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null) Get contacts in a list @@ -251,10 +251,10 @@ namespace Example var apiInstance = new ListsApi(); var listId = 789; // long? | Id of the list - var modifiedSince = 2013-10-20T19:20:30+01:00; // DateTime? | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) + var modifiedSince = modifiedSince_example; // string | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) var limit = 789; // long? | Number of documents per page (optional) (default to 50) var offset = 789; // long? | Index of the first document of the page (optional) (default to 0) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -276,10 +276,10 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **long?**| Id of the list | - **modifiedSince** | **DateTime?**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] + **modifiedSince** | **string**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] **limit** | **long?**| Number of documents per page | [optional] [default to 50] **offset** | **long?**| Index of the first document of the page | [optional] [default to 0] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type @@ -329,7 +329,7 @@ namespace Example var folderId = 789; // long? | Id of the folder var limit = 789; // long? | Number of documents per page (optional) (default to 10) var offset = 789; // long? | Index of the first document of the page (optional) (default to 0) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -353,7 +353,7 @@ Name | Type | Description | Notes **folderId** | **long?**| Id of the folder | **limit** | **long?**| Number of documents per page | [optional] [default to 10] **offset** | **long?**| Index of the first document of the page | [optional] [default to 0] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type @@ -470,7 +470,7 @@ namespace Example var apiInstance = new ListsApi(); var limit = 789; // long? | Number of documents per page (optional) (default to 10) var offset = 789; // long? | Index of the first document of the page (optional) (default to 0) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -493,7 +493,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **long?**| Number of documents per page | [optional] [default to 10] **offset** | **long?**| Index of the first document of the page | [optional] [default to 0] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type diff --git a/docs/ProcessApi.md b/docs/ProcessApi.md index a1c0c8a..8f29c28 100644 --- a/docs/ProcessApi.md +++ b/docs/ProcessApi.md @@ -108,7 +108,7 @@ namespace Example var apiInstance = new ProcessApi(); var limit = 789; // long? | Number limitation for the result returned (optional) (default to 10) var offset = 789; // long? | Beginning point in the list to retrieve from. (optional) (default to 0) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -131,7 +131,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **long?**| Number limitation for the result returned | [optional] [default to 10] **offset** | **long?**| Beginning point in the list to retrieve from. | [optional] [default to 0] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type diff --git a/docs/SMSCampaignsApi.md b/docs/SMSCampaignsApi.md index b1fc87c..8a1b076 100644 --- a/docs/SMSCampaignsApi.md +++ b/docs/SMSCampaignsApi.md @@ -221,7 +221,7 @@ Name | Type | Description | Notes # **GetSmsCampaigns** -> GetSmsCampaigns GetSmsCampaigns (string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null) +> GetSmsCampaigns GetSmsCampaigns (string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null) Returns the information for all your created SMS campaigns @@ -250,11 +250,11 @@ namespace Example var apiInstance = new SMSCampaignsApi(); var status = status_example; // string | Status of campaign. (optional) - var startDate = 2013-10-20T19:20:30+01:00; // DateTime? | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) - var endDate = 2013-10-20T19:20:30+01:00; // DateTime? | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) + var startDate = startDate_example; // string | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) + var endDate = endDate_example; // string | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) var limit = 789; // long? | Number limitation for the result returned (optional) (default to 500) var offset = 789; // long? | Beginning point in the list to retrieve from. (optional) (default to 0) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -276,11 +276,11 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **status** | **string**| Status of campaign. | [optional] - **startDate** | **DateTime?**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] - **endDate** | **DateTime?**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] + **startDate** | **string**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] + **endDate** | **string**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] **limit** | **long?**| Number limitation for the result returned | [optional] [default to 500] **offset** | **long?**| Beginning point in the list to retrieve from. | [optional] [default to 0] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type diff --git a/docs/SendSmtpEmail.md b/docs/SendSmtpEmail.md index f6d08dd..d8961b9 100644 --- a/docs/SendSmtpEmail.md +++ b/docs/SendSmtpEmail.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Sender** | [**SendSmtpEmailSender**](SendSmtpEmailSender.md) | | [optional] -**To** | [**List<SendSmtpEmailTo>**](SendSmtpEmailTo.md) | List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] | +**To** | [**List<SendSmtpEmailTo>**](SendSmtpEmailTo.md) | Mandatory if messageVersions are not passed, ignored if messageVersions are passed. List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] | [optional] **Bcc** | [**List<SendSmtpEmailBcc>**](SendSmtpEmailBcc.md) | List of email addresses and names (optional) of the recipients in bcc | [optional] **Cc** | [**List<SendSmtpEmailCc>**](SendSmtpEmailCc.md) | List of email addresses and names (optional) of the recipients in cc | [optional] **HtmlContent** | **string** | HTML body of the message ( Mandatory if 'templateId' is not passed, ignored if 'templateId' is passed ) | [optional] @@ -13,8 +13,9 @@ Name | Type | Description | Notes **ReplyTo** | [**SendSmtpEmailReplyTo**](SendSmtpEmailReplyTo.md) | | [optional] **Attachment** | [**List<SendSmtpEmailAttachment>**](SendSmtpEmailAttachment.md) | Pass the absolute URL (no local file) or the base64 content of the attachment along with the attachment name (Mandatory if attachment content is passed). For example, `[{"url":"https://attachment.domain.com/myAttachmentFromUrl.jpg", "name":"myAttachmentFromUrl.jpg"}, {"content":"base64 example content", "name":"myAttachmentFromBase64.jpg"}]`. Allowed extensions for attachment file: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub, eps, odt, mp3, m4a, m4v, wma, ogg, flac, wav, aif, aifc, aiff, mp4, mov, avi, mkv, mpeg, mpg and wmv ( If 'templateId' is passed and is in New Template Language format then both attachment url and content are accepted. If template is in Old template Language format, then 'attachment' is ignored ) | [optional] **Headers** | **Object** | Pass the set of custom headers (not the standard headers) that shall be sent along the mail headers in the original email. 'sender.ip' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. Headers are allowed in `This-Case-Only` (i.e. words separated by hyphen with first letter of each word in capital letter), they will be converted to such case styling if not in this format in the request payload. For example, `{"sender.ip":"1.2.3.4", "X-Mailin-custom":"some_custom_header"}`. | [optional] -**TemplateId** | **long?** | Id of the template | [optional] +**TemplateId** | **long?** | Id of the template. Mandatory if messageVersions are passed | [optional] **Params** | **Object** | Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}. It's considered only if template is in New Template Language format. | [optional] +**MessageVersions** | [**List<SendSmtpEmailMessageVersions>**](SendSmtpEmailMessageVersions.md) | You can customize and send out multiple versions of a templateId. Some global parameters such as **to(mandatory), bcc, cc, replyTo, subject** can also be customized specific to each version. The size of individual params in all the messageVersions shall not exceed 100 KB limit and that of cumulative params shall not exceed 1000 KB. This feature is currently in its beta version. You can follow this **step-by-step guide** on how to use **messageVersions** to batch send emails - https://developers.sendinblue.com/docs/batch-send-transactional-emails | [optional] **Tags** | **List<string>** | Tag your emails to find them more easily | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SendSmtpEmailMessageVersions.md b/docs/SendSmtpEmailMessageVersions.md new file mode 100644 index 0000000..8ad6556 --- /dev/null +++ b/docs/SendSmtpEmailMessageVersions.md @@ -0,0 +1,14 @@ +# sib_api_v3_sdk.Model.SendSmtpEmailMessageVersions +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**To** | [**List<SendSmtpEmailTo1>**](SendSmtpEmailTo1.md) | List of email addresses and names (_optional_) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] | +**Params** | **Dictionary<string, Object>** | Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}. It's considered only if template is in New Template Language format. | [optional] +**Bcc** | [**List<SendSmtpEmailBcc>**](SendSmtpEmailBcc.md) | List of email addresses and names (optional) of the recipients in bcc | [optional] +**Cc** | [**List<SendSmtpEmailCc>**](SendSmtpEmailCc.md) | List of email addresses and names (optional) of the recipients in cc | [optional] +**ReplyTo** | [**SendSmtpEmailReplyTo1**](SendSmtpEmailReplyTo1.md) | | [optional] +**Subject** | **string** | Custom subject specific to message version | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/SendSmtpEmailReplyTo1.md b/docs/SendSmtpEmailReplyTo1.md new file mode 100644 index 0000000..53ffac7 --- /dev/null +++ b/docs/SendSmtpEmailReplyTo1.md @@ -0,0 +1,10 @@ +# sib_api_v3_sdk.Model.SendSmtpEmailReplyTo1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Email** | **string** | Email address in reply to | +**Name** | **string** | Name in reply to. Maximum allowed characters are 70. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/SendSmtpEmailTo1.md b/docs/SendSmtpEmailTo1.md new file mode 100644 index 0000000..db145da --- /dev/null +++ b/docs/SendSmtpEmailTo1.md @@ -0,0 +1,10 @@ +# sib_api_v3_sdk.Model.SendSmtpEmailTo1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Email** | **string** | Email address of the recipient | +**Name** | **string** | Name of the recipient. **Maximum allowed characters are 70**. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/TransactionalEmailsApi.md b/docs/TransactionalEmailsApi.md index d59e994..58d424d 100644 --- a/docs/TransactionalEmailsApi.md +++ b/docs/TransactionalEmailsApi.md @@ -370,7 +370,7 @@ void (empty response body) # **GetAggregatedSmtpReport** -> GetAggregatedReport GetAggregatedSmtpReport (string startDate = null, string endDate = null, int? days = null, string tag = null) +> GetAggregatedReport GetAggregatedSmtpReport (string startDate = null, string endDate = null, long? days = null, string tag = null) Get your transactional email activity aggregated over a period of time @@ -400,7 +400,7 @@ namespace Example var apiInstance = new TransactionalEmailsApi(); var startDate = startDate_example; // string | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional) var endDate = endDate_example; // string | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional) - var days = 56; // int? | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) + var days = 789; // long? | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) var tag = tag_example; // string | Tag of the emails (optional) try @@ -424,7 +424,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **startDate** | **string**| Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate | [optional] **endDate** | **string**| Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate | [optional] - **days** | **int?**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] + **days** | **long?**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **tag** | **string**| Tag of the emails | [optional] ### Return type @@ -510,7 +510,7 @@ This endpoint does not need any parameter. # **GetEmailEventReport** -> GetEmailEventReport GetEmailEventReport (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null) +> GetEmailEventReport GetEmailEventReport (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null) Get all your transactional email activity (unaggregated events) @@ -542,13 +542,13 @@ namespace Example var offset = 789; // long? | Beginning point in the list to retrieve from. (optional) (default to 0) var startDate = startDate_example; // string | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional) var endDate = endDate_example; // string | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional) - var days = 56; // int? | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) + var days = 789; // long? | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) var email = email_example; // string | Filter the report for a specific email addresses (optional) var _event = _event_example; // string | Filter the report for a specific event type (optional) var tags = tags_example; // string | Filter the report for tags (serialized and urlencoded array) (optional) var messageId = messageId_example; // string | Filter on a specific message id (optional) var templateId = 789; // long? | Filter on a specific template id (optional) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -573,13 +573,13 @@ Name | Type | Description | Notes **offset** | **long?**| Beginning point in the list to retrieve from. | [optional] [default to 0] **startDate** | **string**| Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate | [optional] **endDate** | **string**| Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate | [optional] - **days** | **int?**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] + **days** | **long?**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **email** | **string**| Filter the report for a specific email addresses | [optional] **_event** | **string**| Filter the report for a specific event type | [optional] **tags** | **string**| Filter the report for tags (serialized and urlencoded array) | [optional] **messageId** | **string**| Filter on a specific message id | [optional] **templateId** | **long?**| Filter on a specific template id | [optional] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type @@ -598,7 +598,7 @@ Name | Type | Description | Notes # **GetSmtpReport** -> GetReports GetSmtpReport (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null) +> GetReports GetSmtpReport (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null) Get your transactional email activity aggregated per day @@ -630,9 +630,9 @@ namespace Example var offset = 789; // long? | Index of the first document on the page (optional) (default to 0) var startDate = startDate_example; // string | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) (optional) var endDate = endDate_example; // string | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) - var days = 56; // int? | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) + var days = 789; // long? | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) var tag = tag_example; // string | Tag of the emails (optional) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -657,9 +657,9 @@ Name | Type | Description | Notes **offset** | **long?**| Index of the first document on the page | [optional] [default to 0] **startDate** | **string**| Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) | [optional] **endDate** | **string**| Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) | [optional] - **days** | **int?**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] + **days** | **long?**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **tag** | **string**| Tag of the emails | [optional] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type @@ -777,7 +777,7 @@ namespace Example var templateStatus = true; // bool? | Filter on the status of the template. Active = true, inactive = false (optional) var limit = 789; // long? | Number of documents returned per page (optional) (default to 50) var offset = 789; // long? | Index of the first document in the page (optional) (default to 0) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -801,7 +801,7 @@ Name | Type | Description | Notes **templateStatus** | **bool?**| Filter on the status of the template. Active = true, inactive = false | [optional] **limit** | **long?**| Number of documents returned per page | [optional] [default to 50] **offset** | **long?**| Index of the first document in the page | [optional] [default to 0] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type @@ -853,7 +853,7 @@ namespace Example var limit = 789; // long? | Number of documents returned per page (optional) (default to 50) var offset = 789; // long? | Index of the first document on the page (optional) (default to 0) var senders = new List(); // List | Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (optional) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -879,7 +879,7 @@ Name | Type | Description | Notes **limit** | **long?**| Number of documents returned per page | [optional] [default to 50] **offset** | **long?**| Index of the first document on the page | [optional] [default to 0] **senders** | [**List<string>**](string.md)| Comma separated list of emails of the senders from which contacts are blocked or unsubscribed | [optional] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type @@ -966,7 +966,7 @@ Name | Type | Description | Notes # **GetTransacEmailsList** -> GetTransacEmailsList GetTransacEmailsList (string email = null, long? templateId = null, string messageId = null, DateTime? startDate = null, DateTime? endDate = null, string sort = null) +> GetTransacEmailsList GetTransacEmailsList (string email = null, long? templateId = null, string messageId = null, string startDate = null, string endDate = null, string sort = null) Get the list of transactional emails on the basis of allowed filters @@ -999,9 +999,9 @@ namespace Example var email = email_example; // string | Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent. (optional) var templateId = 789; // long? | Mandatory if email and messageId are not passed in query filters. Id of the template that was used to compose transactional email. (optional) var messageId = messageId_example; // string | Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional) - var startDate = 2013-10-20; // DateTime? | Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - var endDate = 2013-10-20; // DateTime? | Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var startDate = startDate_example; // string | Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) + var endDate = endDate_example; // string | Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -1025,9 +1025,9 @@ Name | Type | Description | Notes **email** | **string**| Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent. | [optional] **templateId** | **long?**| Mandatory if email and messageId are not passed in query filters. Id of the template that was used to compose transactional email. | [optional] **messageId** | **string**| Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. | [optional] - **startDate** | **DateTime?**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. | [optional] - **endDate** | **DateTime?**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. | [optional] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **startDate** | **string**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. | [optional] + **endDate** | **string**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. | [optional] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type diff --git a/docs/TransactionalSMSApi.md b/docs/TransactionalSMSApi.md index cf0dafe..ffb627a 100644 --- a/docs/TransactionalSMSApi.md +++ b/docs/TransactionalSMSApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description # **GetSmsEvents** -> GetSmsEventReport GetSmsEvents (long? limit = null, string startDate = null, string endDate = null, long? offset = null, int? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null) +> GetSmsEventReport GetSmsEvents (long? limit = null, string startDate = null, string endDate = null, long? offset = null, long? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null) Get all your SMS activity (unaggregated events) @@ -44,11 +44,11 @@ namespace Example var startDate = startDate_example; // string | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report (optional) var endDate = endDate_example; // string | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) var offset = 789; // long? | Index of the first document of the page (optional) (default to 0) - var days = 56; // int? | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) + var days = 789; // long? | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) var phoneNumber = phoneNumber_example; // string | Filter the report for a specific phone number (optional) var _event = _event_example; // string | Filter the report for specific events (optional) var tags = tags_example; // string | Filter the report for specific tags passed as a serialized urlencoded array (optional) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -73,11 +73,11 @@ Name | Type | Description | Notes **startDate** | **string**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report | [optional] **endDate** | **string**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report | [optional] **offset** | **long?**| Index of the first document of the page | [optional] [default to 0] - **days** | **int?**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] + **days** | **long?**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **phoneNumber** | **string**| Filter the report for a specific phone number | [optional] **_event** | **string**| Filter the report for specific events | [optional] **tags** | **string**| Filter the report for specific tags passed as a serialized urlencoded array | [optional] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type @@ -96,7 +96,7 @@ Name | Type | Description | Notes # **GetTransacAggregatedSmsReport** -> GetTransacAggregatedSmsReport GetTransacAggregatedSmsReport (string startDate = null, string endDate = null, int? days = null, string tag = null) +> GetTransacAggregatedSmsReport GetTransacAggregatedSmsReport (string startDate = null, string endDate = null, long? days = null, string tag = null) Get your SMS activity aggregated over a period of time @@ -126,7 +126,7 @@ namespace Example var apiInstance = new TransactionalSMSApi(); var startDate = startDate_example; // string | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report (optional) var endDate = endDate_example; // string | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) - var days = 56; // int? | Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) + var days = 789; // long? | Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) var tag = tag_example; // string | Filter on a tag (optional) try @@ -150,7 +150,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **startDate** | **string**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report | [optional] **endDate** | **string**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report | [optional] - **days** | **int?**| Number of days in the past including today (positive integer). Not compatible with startDate and endDate | [optional] + **days** | **long?**| Number of days in the past including today (positive integer). Not compatible with startDate and endDate | [optional] **tag** | **string**| Filter on a tag | [optional] ### Return type @@ -170,7 +170,7 @@ Name | Type | Description | Notes # **GetTransacSmsReport** -> GetTransacSmsReport GetTransacSmsReport (string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null) +> GetTransacSmsReport GetTransacSmsReport (string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null) Get your SMS activity aggregated per day @@ -200,9 +200,9 @@ namespace Example var apiInstance = new TransactionalSMSApi(); var startDate = startDate_example; // string | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report (optional) var endDate = endDate_example; // string | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) - var days = 56; // int? | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) + var days = 789; // long? | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) var tag = tag_example; // string | Filter on a tag (optional) - var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc) + var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc) try { @@ -225,9 +225,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **startDate** | **string**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report | [optional] **endDate** | **string**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report | [optional] - **days** | **int?**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] + **days** | **long?**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **tag** | **string**| Filter on a tag | [optional] - **sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] + **sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] ### Return type diff --git a/docs/UpdateEmailCampaign.md b/docs/UpdateEmailCampaign.md index 84d8467..7b25d30 100644 --- a/docs/UpdateEmailCampaign.md +++ b/docs/UpdateEmailCampaign.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Name** | **string** | Name of the campaign | [optional] **HtmlContent** | **string** | Body of the message (HTML version). REQUIRED if htmlUrl is empty | [optional] **HtmlUrl** | **string** | Url which contents the body of the email message. REQUIRED if htmlContent is empty | [optional] -**ScheduledAt** | **DateTime?** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional] +**ScheduledAt** | **string** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional] **Subject** | **string** | Subject of the campaign | [optional] **ReplyTo** | **string** | Email on which campaign recipients will be able to reply to | [optional] **ToField** | **string** | To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization | [optional] diff --git a/docs/UpdateSmsCampaign.md b/docs/UpdateSmsCampaign.md index 6c9698a..201dc40 100644 --- a/docs/UpdateSmsCampaign.md +++ b/docs/UpdateSmsCampaign.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Sender** | **string** | Name of the sender. **The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters** | [optional] **Content** | **string** | Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS | [optional] **Recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional] -**ScheduledAt** | **DateTime?** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] +**ScheduledAt** | **string** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sib_api_v3_sdk.sln b/sib_api_v3_sdk.sln index a877ecc..70c30b9 100644 --- a/sib_api_v3_sdk.sln +++ b/sib_api_v3_sdk.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.28307.1321 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "sib_api_v3_sdk", "src\sib_api_v3_sdk\sib_api_v3_sdk.csproj", "{E9471323-9037-4E48-9D51-F61C9272AA7A}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "sib_api_v3_sdk", "src\sib_api_v3_sdk\sib_api_v3_sdk.csproj", "{4C86483F-1848-4813-BF47-059BE048F6F8}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -10,15 +10,15 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E9471323-9037-4E48-9D51-F61C9272AA7A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E9471323-9037-4E48-9D51-F61C9272AA7A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E9471323-9037-4E48-9D51-F61C9272AA7A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E9471323-9037-4E48-9D51-F61C9272AA7A}.Release|Any CPU.Build.0 = Release|Any CPU + {4C86483F-1848-4813-BF47-059BE048F6F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4C86483F-1848-4813-BF47-059BE048F6F8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4C86483F-1848-4813-BF47-059BE048F6F8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4C86483F-1848-4813-BF47-059BE048F6F8}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {FCE1EC76-34E4-4DFF-BFA2-8ABC97864C9B} + SolutionGuid = {A151E171-BB37-4205-8262-ED3D1CA72E8D} EndGlobalSection EndGlobal diff --git a/src/sib_api_v3_sdk/Api/ContactsApi.cs b/src/sib_api_v3_sdk/Api/ContactsApi.cs index 6fab774..a727929 100644 --- a/src/sib_api_v3_sdk/Api/ContactsApi.cs +++ b/src/sib_api_v3_sdk/Api/ContactsApi.cs @@ -293,7 +293,7 @@ public interface IContactsApi : IApiAccessor /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional) /// GetContactCampaignStats - GetContactCampaignStats GetContactStats (string identifier, DateTime? startDate = null, DateTime? endDate = null); + GetContactCampaignStats GetContactStats (string identifier, string startDate = null, string endDate = null); /// /// Get email campaigns' statistics for a contact @@ -306,7 +306,7 @@ public interface IContactsApi : IApiAccessor /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional) /// ApiResponse of GetContactCampaignStats - ApiResponse GetContactStatsWithHttpInfo (string identifier, DateTime? startDate = null, DateTime? endDate = null); + ApiResponse GetContactStatsWithHttpInfo (string identifier, string startDate = null, string endDate = null); /// /// Get all the contacts /// @@ -317,9 +317,9 @@ public interface IContactsApi : IApiAccessor /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetContacts - GetContacts GetContacts (long? limit = null, long? offset = null, DateTime? modifiedSince = null, string sort = null); + GetContacts GetContacts (long? limit = null, long? offset = null, string modifiedSince = null, string sort = null); /// /// Get all the contacts @@ -331,9 +331,9 @@ public interface IContactsApi : IApiAccessor /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetContacts - ApiResponse GetContactsWithHttpInfo (long? limit = null, long? offset = null, DateTime? modifiedSince = null, string sort = null); + ApiResponse GetContactsWithHttpInfo (long? limit = null, long? offset = null, string modifiedSince = null, string sort = null); /// /// Get contacts in a list /// @@ -345,9 +345,9 @@ public interface IContactsApi : IApiAccessor /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetContacts - GetContacts GetContactsFromList (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null); + GetContacts GetContactsFromList (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null); /// /// Get contacts in a list @@ -360,9 +360,9 @@ public interface IContactsApi : IApiAccessor /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetContacts - ApiResponse GetContactsFromListWithHttpInfo (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null); + ApiResponse GetContactsFromListWithHttpInfo (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null); /// /// Returns a folder's details /// @@ -394,7 +394,7 @@ public interface IContactsApi : IApiAccessor /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetFolderLists GetFolderLists GetFolderLists (long? folderId, long? limit = null, long? offset = null, string sort = null); @@ -408,7 +408,7 @@ public interface IContactsApi : IApiAccessor /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetFolderLists ApiResponse GetFolderListsWithHttpInfo (long? folderId, long? limit = null, long? offset = null, string sort = null); /// @@ -420,7 +420,7 @@ public interface IContactsApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetFolders GetFolders GetFolders (long? limit, long? offset, string sort = null); @@ -433,7 +433,7 @@ public interface IContactsApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetFolders ApiResponse GetFoldersWithHttpInfo (long? limit, long? offset, string sort = null); /// @@ -466,7 +466,7 @@ public interface IContactsApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetLists GetLists GetLists (long? limit = null, long? offset = null, string sort = null); @@ -479,7 +479,7 @@ public interface IContactsApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetLists ApiResponse GetListsWithHttpInfo (long? limit = null, long? offset = null, string sort = null); /// @@ -912,7 +912,7 @@ public interface IContactsApi : IApiAccessor /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional) /// Task of GetContactCampaignStats - System.Threading.Tasks.Task GetContactStatsAsync (string identifier, DateTime? startDate = null, DateTime? endDate = null); + System.Threading.Tasks.Task GetContactStatsAsync (string identifier, string startDate = null, string endDate = null); /// /// Get email campaigns' statistics for a contact @@ -925,7 +925,7 @@ public interface IContactsApi : IApiAccessor /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional) /// Task of ApiResponse (GetContactCampaignStats) - System.Threading.Tasks.Task> GetContactStatsAsyncWithHttpInfo (string identifier, DateTime? startDate = null, DateTime? endDate = null); + System.Threading.Tasks.Task> GetContactStatsAsyncWithHttpInfo (string identifier, string startDate = null, string endDate = null); /// /// Get all the contacts /// @@ -936,9 +936,9 @@ public interface IContactsApi : IApiAccessor /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetContacts - System.Threading.Tasks.Task GetContactsAsync (long? limit = null, long? offset = null, DateTime? modifiedSince = null, string sort = null); + System.Threading.Tasks.Task GetContactsAsync (long? limit = null, long? offset = null, string modifiedSince = null, string sort = null); /// /// Get all the contacts @@ -950,9 +950,9 @@ public interface IContactsApi : IApiAccessor /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetContacts) - System.Threading.Tasks.Task> GetContactsAsyncWithHttpInfo (long? limit = null, long? offset = null, DateTime? modifiedSince = null, string sort = null); + System.Threading.Tasks.Task> GetContactsAsyncWithHttpInfo (long? limit = null, long? offset = null, string modifiedSince = null, string sort = null); /// /// Get contacts in a list /// @@ -964,9 +964,9 @@ public interface IContactsApi : IApiAccessor /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetContacts - System.Threading.Tasks.Task GetContactsFromListAsync (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null); + System.Threading.Tasks.Task GetContactsFromListAsync (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null); /// /// Get contacts in a list @@ -979,9 +979,9 @@ public interface IContactsApi : IApiAccessor /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetContacts) - System.Threading.Tasks.Task> GetContactsFromListAsyncWithHttpInfo (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null); + System.Threading.Tasks.Task> GetContactsFromListAsyncWithHttpInfo (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null); /// /// Returns a folder's details /// @@ -1013,7 +1013,7 @@ public interface IContactsApi : IApiAccessor /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetFolderLists System.Threading.Tasks.Task GetFolderListsAsync (long? folderId, long? limit = null, long? offset = null, string sort = null); @@ -1027,7 +1027,7 @@ public interface IContactsApi : IApiAccessor /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetFolderLists) System.Threading.Tasks.Task> GetFolderListsAsyncWithHttpInfo (long? folderId, long? limit = null, long? offset = null, string sort = null); /// @@ -1039,7 +1039,7 @@ public interface IContactsApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetFolders System.Threading.Tasks.Task GetFoldersAsync (long? limit, long? offset, string sort = null); @@ -1052,7 +1052,7 @@ public interface IContactsApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetFolders) System.Threading.Tasks.Task> GetFoldersAsyncWithHttpInfo (long? limit, long? offset, string sort = null); /// @@ -1085,7 +1085,7 @@ public interface IContactsApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetLists System.Threading.Tasks.Task GetListsAsync (long? limit = null, long? offset = null, string sort = null); @@ -1098,7 +1098,7 @@ public interface IContactsApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetLists) System.Threading.Tasks.Task> GetListsAsyncWithHttpInfo (long? limit = null, long? offset = null, string sort = null); /// @@ -3336,7 +3336,7 @@ public async System.Threading.Tasks.Task> /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional) /// GetContactCampaignStats - public GetContactCampaignStats GetContactStats (string identifier, DateTime? startDate = null, DateTime? endDate = null) + public GetContactCampaignStats GetContactStats (string identifier, string startDate = null, string endDate = null) { ApiResponse localVarResponse = GetContactStatsWithHttpInfo(identifier, startDate, endDate); return localVarResponse.Data; @@ -3350,7 +3350,7 @@ public GetContactCampaignStats GetContactStats (string identifier, DateTime? sta /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional) /// ApiResponse of GetContactCampaignStats - public ApiResponse< GetContactCampaignStats > GetContactStatsWithHttpInfo (string identifier, DateTime? startDate = null, DateTime? endDate = null) + public ApiResponse< GetContactCampaignStats > GetContactStatsWithHttpInfo (string identifier, string startDate = null, string endDate = null) { // verify the required parameter 'identifier' is set if (identifier == null) @@ -3419,7 +3419,7 @@ public ApiResponse< GetContactCampaignStats > GetContactStatsWithHttpInfo (strin /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional) /// Task of GetContactCampaignStats - public async System.Threading.Tasks.Task GetContactStatsAsync (string identifier, DateTime? startDate = null, DateTime? endDate = null) + public async System.Threading.Tasks.Task GetContactStatsAsync (string identifier, string startDate = null, string endDate = null) { ApiResponse localVarResponse = await GetContactStatsAsyncWithHttpInfo(identifier, startDate, endDate); return localVarResponse.Data; @@ -3434,7 +3434,7 @@ public async System.Threading.Tasks.Task GetContactStat /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional) /// Task of ApiResponse (GetContactCampaignStats) - public async System.Threading.Tasks.Task> GetContactStatsAsyncWithHttpInfo (string identifier, DateTime? startDate = null, DateTime? endDate = null) + public async System.Threading.Tasks.Task> GetContactStatsAsyncWithHttpInfo (string identifier, string startDate = null, string endDate = null) { // verify the required parameter 'identifier' is set if (identifier == null) @@ -3502,9 +3502,9 @@ public async System.Threading.Tasks.Task> G /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetContacts - public GetContacts GetContacts (long? limit = null, long? offset = null, DateTime? modifiedSince = null, string sort = null) + public GetContacts GetContacts (long? limit = null, long? offset = null, string modifiedSince = null, string sort = null) { ApiResponse localVarResponse = GetContactsWithHttpInfo(limit, offset, modifiedSince, sort); return localVarResponse.Data; @@ -3517,9 +3517,9 @@ public GetContacts GetContacts (long? limit = null, long? offset = null, DateTim /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetContacts - public ApiResponse< GetContacts > GetContactsWithHttpInfo (long? limit = null, long? offset = null, DateTime? modifiedSince = null, string sort = null) + public ApiResponse< GetContacts > GetContactsWithHttpInfo (long? limit = null, long? offset = null, string modifiedSince = null, string sort = null) { var localVarPath = "./contacts"; @@ -3585,9 +3585,9 @@ public ApiResponse< GetContacts > GetContactsWithHttpInfo (long? limit = null, l /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetContacts - public async System.Threading.Tasks.Task GetContactsAsync (long? limit = null, long? offset = null, DateTime? modifiedSince = null, string sort = null) + public async System.Threading.Tasks.Task GetContactsAsync (long? limit = null, long? offset = null, string modifiedSince = null, string sort = null) { ApiResponse localVarResponse = await GetContactsAsyncWithHttpInfo(limit, offset, modifiedSince, sort); return localVarResponse.Data; @@ -3601,9 +3601,9 @@ public async System.Threading.Tasks.Task GetContactsAsync (long? li /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetContacts) - public async System.Threading.Tasks.Task> GetContactsAsyncWithHttpInfo (long? limit = null, long? offset = null, DateTime? modifiedSince = null, string sort = null) + public async System.Threading.Tasks.Task> GetContactsAsyncWithHttpInfo (long? limit = null, long? offset = null, string modifiedSince = null, string sort = null) { var localVarPath = "./contacts"; @@ -3670,9 +3670,9 @@ public async System.Threading.Tasks.Task> GetContactsAs /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetContacts - public GetContacts GetContactsFromList (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null) + public GetContacts GetContactsFromList (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null) { ApiResponse localVarResponse = GetContactsFromListWithHttpInfo(listId, modifiedSince, limit, offset, sort); return localVarResponse.Data; @@ -3686,9 +3686,9 @@ public GetContacts GetContactsFromList (long? listId, DateTime? modifiedSince = /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetContacts - public ApiResponse< GetContacts > GetContactsFromListWithHttpInfo (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null) + public ApiResponse< GetContacts > GetContactsFromListWithHttpInfo (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null) { // verify the required parameter 'listId' is set if (listId == null) @@ -3759,9 +3759,9 @@ public ApiResponse< GetContacts > GetContactsFromListWithHttpInfo (long? listId, /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetContacts - public async System.Threading.Tasks.Task GetContactsFromListAsync (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null) + public async System.Threading.Tasks.Task GetContactsFromListAsync (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null) { ApiResponse localVarResponse = await GetContactsFromListAsyncWithHttpInfo(listId, modifiedSince, limit, offset, sort); return localVarResponse.Data; @@ -3776,9 +3776,9 @@ public async System.Threading.Tasks.Task GetContactsFromListAsync ( /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetContacts) - public async System.Threading.Tasks.Task> GetContactsFromListAsyncWithHttpInfo (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null) + public async System.Threading.Tasks.Task> GetContactsFromListAsyncWithHttpInfo (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null) { // verify the required parameter 'listId' is set if (listId == null) @@ -4003,7 +4003,7 @@ public async System.Threading.Tasks.Task> GetFolderAsyncW /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetFolderLists public GetFolderLists GetFolderLists (long? folderId, long? limit = null, long? offset = null, string sort = null) { @@ -4018,7 +4018,7 @@ public GetFolderLists GetFolderLists (long? folderId, long? limit = null, long? /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetFolderLists public ApiResponse< GetFolderLists > GetFolderListsWithHttpInfo (long? folderId, long? limit = null, long? offset = null, string sort = null) { @@ -4089,7 +4089,7 @@ public ApiResponse< GetFolderLists > GetFolderListsWithHttpInfo (long? folderId, /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetFolderLists public async System.Threading.Tasks.Task GetFolderListsAsync (long? folderId, long? limit = null, long? offset = null, string sort = null) { @@ -4105,7 +4105,7 @@ public async System.Threading.Tasks.Task GetFolderListsAsync (lo /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetFolderLists) public async System.Threading.Tasks.Task> GetFolderListsAsyncWithHttpInfo (long? folderId, long? limit = null, long? offset = null, string sort = null) { @@ -4175,7 +4175,7 @@ public async System.Threading.Tasks.Task> GetFolderL /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetFolders public GetFolders GetFolders (long? limit, long? offset, string sort = null) { @@ -4189,7 +4189,7 @@ public GetFolders GetFolders (long? limit, long? offset, string sort = null) /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetFolders public ApiResponse< GetFolders > GetFoldersWithHttpInfo (long? limit, long? offset, string sort = null) { @@ -4261,7 +4261,7 @@ public ApiResponse< GetFolders > GetFoldersWithHttpInfo (long? limit, long? offs /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetFolders public async System.Threading.Tasks.Task GetFoldersAsync (long? limit, long? offset, string sort = null) { @@ -4276,7 +4276,7 @@ public async System.Threading.Tasks.Task GetFoldersAsync (long? limi /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetFolders) public async System.Threading.Tasks.Task> GetFoldersAsyncWithHttpInfo (long? limit, long? offset, string sort = null) { @@ -4503,7 +4503,7 @@ public async System.Threading.Tasks.Task> GetListAs /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetLists public GetLists GetLists (long? limit = null, long? offset = null, string sort = null) { @@ -4517,7 +4517,7 @@ public GetLists GetLists (long? limit = null, long? offset = null, string sort = /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetLists public ApiResponse< GetLists > GetListsWithHttpInfo (long? limit = null, long? offset = null, string sort = null) { @@ -4583,7 +4583,7 @@ public ApiResponse< GetLists > GetListsWithHttpInfo (long? limit = null, long? o /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetLists public async System.Threading.Tasks.Task GetListsAsync (long? limit = null, long? offset = null, string sort = null) { @@ -4598,7 +4598,7 @@ public async System.Threading.Tasks.Task GetListsAsync (long? limit = /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetLists) public async System.Threading.Tasks.Task> GetListsAsyncWithHttpInfo (long? limit = null, long? offset = null, string sort = null) { diff --git a/src/sib_api_v3_sdk/Api/EmailCampaignsApi.cs b/src/sib_api_v3_sdk/Api/EmailCampaignsApi.cs index b8281f2..6f9c6ca 100644 --- a/src/sib_api_v3_sdk/Api/EmailCampaignsApi.cs +++ b/src/sib_api_v3_sdk/Api/EmailCampaignsApi.cs @@ -144,9 +144,9 @@ public interface IEmailCampaignsApi : IApiAccessor /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number of documents per page (optional, default to 500) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetEmailCampaigns - GetEmailCampaigns GetEmailCampaigns (string type = null, string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null); + GetEmailCampaigns GetEmailCampaigns (string type = null, string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null); /// /// Return all your created email campaigns @@ -161,9 +161,9 @@ public interface IEmailCampaignsApi : IApiAccessor /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number of documents per page (optional, default to 500) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetEmailCampaigns - ApiResponse GetEmailCampaignsWithHttpInfo (string type = null, string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null); + ApiResponse GetEmailCampaignsWithHttpInfo (string type = null, string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null); /// /// Get a shared template url /// @@ -441,9 +441,9 @@ public interface IEmailCampaignsApi : IApiAccessor /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number of documents per page (optional, default to 500) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetEmailCampaigns - System.Threading.Tasks.Task GetEmailCampaignsAsync (string type = null, string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null); + System.Threading.Tasks.Task GetEmailCampaignsAsync (string type = null, string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null); /// /// Return all your created email campaigns @@ -458,9 +458,9 @@ public interface IEmailCampaignsApi : IApiAccessor /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number of documents per page (optional, default to 500) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetEmailCampaigns) - System.Threading.Tasks.Task> GetEmailCampaignsAsyncWithHttpInfo (string type = null, string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null); + System.Threading.Tasks.Task> GetEmailCampaignsAsyncWithHttpInfo (string type = null, string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null); /// /// Get a shared template url /// @@ -1533,9 +1533,9 @@ public async System.Threading.Tasks.Task> GetEmail /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number of documents per page (optional, default to 500) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetEmailCampaigns - public GetEmailCampaigns GetEmailCampaigns (string type = null, string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null) + public GetEmailCampaigns GetEmailCampaigns (string type = null, string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null) { ApiResponse localVarResponse = GetEmailCampaignsWithHttpInfo(type, status, startDate, endDate, limit, offset, sort); return localVarResponse.Data; @@ -1551,9 +1551,9 @@ public GetEmailCampaigns GetEmailCampaigns (string type = null, string status = /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number of documents per page (optional, default to 500) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetEmailCampaigns - public ApiResponse< GetEmailCampaigns > GetEmailCampaignsWithHttpInfo (string type = null, string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null) + public ApiResponse< GetEmailCampaigns > GetEmailCampaignsWithHttpInfo (string type = null, string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null) { var localVarPath = "./emailCampaigns"; @@ -1625,9 +1625,9 @@ public ApiResponse< GetEmailCampaigns > GetEmailCampaignsWithHttpInfo (string ty /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number of documents per page (optional, default to 500) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetEmailCampaigns - public async System.Threading.Tasks.Task GetEmailCampaignsAsync (string type = null, string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null) + public async System.Threading.Tasks.Task GetEmailCampaignsAsync (string type = null, string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null) { ApiResponse localVarResponse = await GetEmailCampaignsAsyncWithHttpInfo(type, status, startDate, endDate, limit, offset, sort); return localVarResponse.Data; @@ -1644,9 +1644,9 @@ public async System.Threading.Tasks.Task GetEmailCampaignsAsy /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number of documents per page (optional, default to 500) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetEmailCampaigns) - public async System.Threading.Tasks.Task> GetEmailCampaignsAsyncWithHttpInfo (string type = null, string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null) + public async System.Threading.Tasks.Task> GetEmailCampaignsAsyncWithHttpInfo (string type = null, string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null) { var localVarPath = "./emailCampaigns"; diff --git a/src/sib_api_v3_sdk/Api/FoldersApi.cs b/src/sib_api_v3_sdk/Api/FoldersApi.cs index 5b17817..c13cae6 100644 --- a/src/sib_api_v3_sdk/Api/FoldersApi.cs +++ b/src/sib_api_v3_sdk/Api/FoldersApi.cs @@ -97,7 +97,7 @@ public interface IFoldersApi : IApiAccessor /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetFolderLists GetFolderLists GetFolderLists (long? folderId, long? limit = null, long? offset = null, string sort = null); @@ -111,7 +111,7 @@ public interface IFoldersApi : IApiAccessor /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetFolderLists ApiResponse GetFolderListsWithHttpInfo (long? folderId, long? limit = null, long? offset = null, string sort = null); /// @@ -123,7 +123,7 @@ public interface IFoldersApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetFolders GetFolders GetFolders (long? limit, long? offset, string sort = null); @@ -136,7 +136,7 @@ public interface IFoldersApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetFolders ApiResponse GetFoldersWithHttpInfo (long? limit, long? offset, string sort = null); /// @@ -237,7 +237,7 @@ public interface IFoldersApi : IApiAccessor /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetFolderLists System.Threading.Tasks.Task GetFolderListsAsync (long? folderId, long? limit = null, long? offset = null, string sort = null); @@ -251,7 +251,7 @@ public interface IFoldersApi : IApiAccessor /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetFolderLists) System.Threading.Tasks.Task> GetFolderListsAsyncWithHttpInfo (long? folderId, long? limit = null, long? offset = null, string sort = null); /// @@ -263,7 +263,7 @@ public interface IFoldersApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetFolders System.Threading.Tasks.Task GetFoldersAsync (long? limit, long? offset, string sort = null); @@ -276,7 +276,7 @@ public interface IFoldersApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetFolders) System.Threading.Tasks.Task> GetFoldersAsyncWithHttpInfo (long? limit, long? offset, string sort = null); /// @@ -886,7 +886,7 @@ public async System.Threading.Tasks.Task> GetFolderAsyncW /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetFolderLists public GetFolderLists GetFolderLists (long? folderId, long? limit = null, long? offset = null, string sort = null) { @@ -901,7 +901,7 @@ public GetFolderLists GetFolderLists (long? folderId, long? limit = null, long? /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetFolderLists public ApiResponse< GetFolderLists > GetFolderListsWithHttpInfo (long? folderId, long? limit = null, long? offset = null, string sort = null) { @@ -972,7 +972,7 @@ public ApiResponse< GetFolderLists > GetFolderListsWithHttpInfo (long? folderId, /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetFolderLists public async System.Threading.Tasks.Task GetFolderListsAsync (long? folderId, long? limit = null, long? offset = null, string sort = null) { @@ -988,7 +988,7 @@ public async System.Threading.Tasks.Task GetFolderListsAsync (lo /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetFolderLists) public async System.Threading.Tasks.Task> GetFolderListsAsyncWithHttpInfo (long? folderId, long? limit = null, long? offset = null, string sort = null) { @@ -1058,7 +1058,7 @@ public async System.Threading.Tasks.Task> GetFolderL /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetFolders public GetFolders GetFolders (long? limit, long? offset, string sort = null) { @@ -1072,7 +1072,7 @@ public GetFolders GetFolders (long? limit, long? offset, string sort = null) /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetFolders public ApiResponse< GetFolders > GetFoldersWithHttpInfo (long? limit, long? offset, string sort = null) { @@ -1144,7 +1144,7 @@ public ApiResponse< GetFolders > GetFoldersWithHttpInfo (long? limit, long? offs /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetFolders public async System.Threading.Tasks.Task GetFoldersAsync (long? limit, long? offset, string sort = null) { @@ -1159,7 +1159,7 @@ public async System.Threading.Tasks.Task GetFoldersAsync (long? limi /// Thrown when fails to make API call /// Number of documents per page /// Index of the first document of the page - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetFolders) public async System.Threading.Tasks.Task> GetFoldersAsyncWithHttpInfo (long? limit, long? offset, string sort = null) { diff --git a/src/sib_api_v3_sdk/Api/ListsApi.cs b/src/sib_api_v3_sdk/Api/ListsApi.cs index ee749ff..70bf766 100644 --- a/src/sib_api_v3_sdk/Api/ListsApi.cs +++ b/src/sib_api_v3_sdk/Api/ListsApi.cs @@ -100,9 +100,9 @@ public interface IListsApi : IApiAccessor /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetContacts - GetContacts GetContactsFromList (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null); + GetContacts GetContactsFromList (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null); /// /// Get contacts in a list @@ -115,9 +115,9 @@ public interface IListsApi : IApiAccessor /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetContacts - ApiResponse GetContactsFromListWithHttpInfo (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null); + ApiResponse GetContactsFromListWithHttpInfo (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null); /// /// Get lists in a folder /// @@ -128,7 +128,7 @@ public interface IListsApi : IApiAccessor /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetFolderLists GetFolderLists GetFolderLists (long? folderId, long? limit = null, long? offset = null, string sort = null); @@ -142,7 +142,7 @@ public interface IListsApi : IApiAccessor /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetFolderLists ApiResponse GetFolderListsWithHttpInfo (long? folderId, long? limit = null, long? offset = null, string sort = null); /// @@ -175,7 +175,7 @@ public interface IListsApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetLists GetLists GetLists (long? limit = null, long? offset = null, string sort = null); @@ -188,7 +188,7 @@ public interface IListsApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetLists ApiResponse GetListsWithHttpInfo (long? limit = null, long? offset = null, string sort = null); /// @@ -315,9 +315,9 @@ public interface IListsApi : IApiAccessor /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetContacts - System.Threading.Tasks.Task GetContactsFromListAsync (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null); + System.Threading.Tasks.Task GetContactsFromListAsync (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null); /// /// Get contacts in a list @@ -330,9 +330,9 @@ public interface IListsApi : IApiAccessor /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetContacts) - System.Threading.Tasks.Task> GetContactsFromListAsyncWithHttpInfo (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null); + System.Threading.Tasks.Task> GetContactsFromListAsyncWithHttpInfo (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null); /// /// Get lists in a folder /// @@ -343,7 +343,7 @@ public interface IListsApi : IApiAccessor /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetFolderLists System.Threading.Tasks.Task GetFolderListsAsync (long? folderId, long? limit = null, long? offset = null, string sort = null); @@ -357,7 +357,7 @@ public interface IListsApi : IApiAccessor /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetFolderLists) System.Threading.Tasks.Task> GetFolderListsAsyncWithHttpInfo (long? folderId, long? limit = null, long? offset = null, string sort = null); /// @@ -390,7 +390,7 @@ public interface IListsApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetLists System.Threading.Tasks.Task GetListsAsync (long? limit = null, long? offset = null, string sort = null); @@ -403,7 +403,7 @@ public interface IListsApi : IApiAccessor /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetLists) System.Threading.Tasks.Task> GetListsAsyncWithHttpInfo (long? limit = null, long? offset = null, string sort = null); /// @@ -1063,9 +1063,9 @@ public async System.Threading.Tasks.Task> DeleteListAsyncWit /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetContacts - public GetContacts GetContactsFromList (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null) + public GetContacts GetContactsFromList (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null) { ApiResponse localVarResponse = GetContactsFromListWithHttpInfo(listId, modifiedSince, limit, offset, sort); return localVarResponse.Data; @@ -1079,9 +1079,9 @@ public GetContacts GetContactsFromList (long? listId, DateTime? modifiedSince = /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetContacts - public ApiResponse< GetContacts > GetContactsFromListWithHttpInfo (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null) + public ApiResponse< GetContacts > GetContactsFromListWithHttpInfo (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null) { // verify the required parameter 'listId' is set if (listId == null) @@ -1152,9 +1152,9 @@ public ApiResponse< GetContacts > GetContactsFromListWithHttpInfo (long? listId, /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetContacts - public async System.Threading.Tasks.Task GetContactsFromListAsync (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null) + public async System.Threading.Tasks.Task GetContactsFromListAsync (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null) { ApiResponse localVarResponse = await GetContactsFromListAsyncWithHttpInfo(listId, modifiedSince, limit, offset, sort); return localVarResponse.Data; @@ -1169,9 +1169,9 @@ public async System.Threading.Tasks.Task GetContactsFromListAsync ( /// Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) /// Number of documents per page (optional, default to 50) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetContacts) - public async System.Threading.Tasks.Task> GetContactsFromListAsyncWithHttpInfo (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null) + public async System.Threading.Tasks.Task> GetContactsFromListAsyncWithHttpInfo (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null) { // verify the required parameter 'listId' is set if (listId == null) @@ -1241,7 +1241,7 @@ public async System.Threading.Tasks.Task> GetContactsFr /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetFolderLists public GetFolderLists GetFolderLists (long? folderId, long? limit = null, long? offset = null, string sort = null) { @@ -1256,7 +1256,7 @@ public GetFolderLists GetFolderLists (long? folderId, long? limit = null, long? /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetFolderLists public ApiResponse< GetFolderLists > GetFolderListsWithHttpInfo (long? folderId, long? limit = null, long? offset = null, string sort = null) { @@ -1327,7 +1327,7 @@ public ApiResponse< GetFolderLists > GetFolderListsWithHttpInfo (long? folderId, /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetFolderLists public async System.Threading.Tasks.Task GetFolderListsAsync (long? folderId, long? limit = null, long? offset = null, string sort = null) { @@ -1343,7 +1343,7 @@ public async System.Threading.Tasks.Task GetFolderListsAsync (lo /// Id of the folder /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetFolderLists) public async System.Threading.Tasks.Task> GetFolderListsAsyncWithHttpInfo (long? folderId, long? limit = null, long? offset = null, string sort = null) { @@ -1568,7 +1568,7 @@ public async System.Threading.Tasks.Task> GetListAs /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetLists public GetLists GetLists (long? limit = null, long? offset = null, string sort = null) { @@ -1582,7 +1582,7 @@ public GetLists GetLists (long? limit = null, long? offset = null, string sort = /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetLists public ApiResponse< GetLists > GetListsWithHttpInfo (long? limit = null, long? offset = null, string sort = null) { @@ -1648,7 +1648,7 @@ public ApiResponse< GetLists > GetListsWithHttpInfo (long? limit = null, long? o /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetLists public async System.Threading.Tasks.Task GetListsAsync (long? limit = null, long? offset = null, string sort = null) { @@ -1663,7 +1663,7 @@ public async System.Threading.Tasks.Task GetListsAsync (long? limit = /// Thrown when fails to make API call /// Number of documents per page (optional, default to 10) /// Index of the first document of the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetLists) public async System.Threading.Tasks.Task> GetListsAsyncWithHttpInfo (long? limit = null, long? offset = null, string sort = null) { diff --git a/src/sib_api_v3_sdk/Api/ProcessApi.cs b/src/sib_api_v3_sdk/Api/ProcessApi.cs index b07527a..d6fa814 100644 --- a/src/sib_api_v3_sdk/Api/ProcessApi.cs +++ b/src/sib_api_v3_sdk/Api/ProcessApi.cs @@ -54,7 +54,7 @@ public interface IProcessApi : IApiAccessor /// Thrown when fails to make API call /// Number limitation for the result returned (optional, default to 10) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetProcesses GetProcesses GetProcesses (long? limit = null, long? offset = null, string sort = null); @@ -67,7 +67,7 @@ public interface IProcessApi : IApiAccessor /// Thrown when fails to make API call /// Number limitation for the result returned (optional, default to 10) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetProcesses ApiResponse GetProcessesWithHttpInfo (long? limit = null, long? offset = null, string sort = null); #endregion Synchronous Operations @@ -102,7 +102,7 @@ public interface IProcessApi : IApiAccessor /// Thrown when fails to make API call /// Number limitation for the result returned (optional, default to 10) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetProcesses System.Threading.Tasks.Task GetProcessesAsync (long? limit = null, long? offset = null, string sort = null); @@ -115,7 +115,7 @@ public interface IProcessApi : IApiAccessor /// Thrown when fails to make API call /// Number limitation for the result returned (optional, default to 10) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetProcesses) System.Threading.Tasks.Task> GetProcessesAsyncWithHttpInfo (long? limit = null, long? offset = null, string sort = null); #endregion Asynchronous Operations @@ -379,7 +379,7 @@ public async System.Threading.Tasks.Task> GetProcessAsyn /// Thrown when fails to make API call /// Number limitation for the result returned (optional, default to 10) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetProcesses public GetProcesses GetProcesses (long? limit = null, long? offset = null, string sort = null) { @@ -393,7 +393,7 @@ public GetProcesses GetProcesses (long? limit = null, long? offset = null, strin /// Thrown when fails to make API call /// Number limitation for the result returned (optional, default to 10) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetProcesses public ApiResponse< GetProcesses > GetProcessesWithHttpInfo (long? limit = null, long? offset = null, string sort = null) { @@ -459,7 +459,7 @@ public ApiResponse< GetProcesses > GetProcessesWithHttpInfo (long? limit = null, /// Thrown when fails to make API call /// Number limitation for the result returned (optional, default to 10) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetProcesses public async System.Threading.Tasks.Task GetProcessesAsync (long? limit = null, long? offset = null, string sort = null) { @@ -474,7 +474,7 @@ public async System.Threading.Tasks.Task GetProcessesAsync (long? /// Thrown when fails to make API call /// Number limitation for the result returned (optional, default to 10) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetProcesses) public async System.Threading.Tasks.Task> GetProcessesAsyncWithHttpInfo (long? limit = null, long? offset = null, string sort = null) { diff --git a/src/sib_api_v3_sdk/Api/SMSCampaignsApi.cs b/src/sib_api_v3_sdk/Api/SMSCampaignsApi.cs index 137819d..899b989 100644 --- a/src/sib_api_v3_sdk/Api/SMSCampaignsApi.cs +++ b/src/sib_api_v3_sdk/Api/SMSCampaignsApi.cs @@ -99,9 +99,9 @@ public interface ISMSCampaignsApi : IApiAccessor /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number limitation for the result returned (optional, default to 500) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetSmsCampaigns - GetSmsCampaigns GetSmsCampaigns (string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null); + GetSmsCampaigns GetSmsCampaigns (string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null); /// /// Returns the information for all your created SMS campaigns @@ -115,9 +115,9 @@ public interface ISMSCampaignsApi : IApiAccessor /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number limitation for the result returned (optional, default to 500) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetSmsCampaigns - ApiResponse GetSmsCampaignsWithHttpInfo (string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null); + ApiResponse GetSmsCampaignsWithHttpInfo (string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null); /// /// Export an SMS campaign's recipients /// @@ -331,9 +331,9 @@ public interface ISMSCampaignsApi : IApiAccessor /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number limitation for the result returned (optional, default to 500) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetSmsCampaigns - System.Threading.Tasks.Task GetSmsCampaignsAsync (string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null); + System.Threading.Tasks.Task GetSmsCampaignsAsync (string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null); /// /// Returns the information for all your created SMS campaigns @@ -347,9 +347,9 @@ public interface ISMSCampaignsApi : IApiAccessor /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number limitation for the result returned (optional, default to 500) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetSmsCampaigns) - System.Threading.Tasks.Task> GetSmsCampaignsAsyncWithHttpInfo (string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null); + System.Threading.Tasks.Task> GetSmsCampaignsAsyncWithHttpInfo (string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null); /// /// Export an SMS campaign's recipients /// @@ -1072,9 +1072,9 @@ public async System.Threading.Tasks.Task> GetSmsCamp /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number limitation for the result returned (optional, default to 500) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetSmsCampaigns - public GetSmsCampaigns GetSmsCampaigns (string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null) + public GetSmsCampaigns GetSmsCampaigns (string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null) { ApiResponse localVarResponse = GetSmsCampaignsWithHttpInfo(status, startDate, endDate, limit, offset, sort); return localVarResponse.Data; @@ -1089,9 +1089,9 @@ public GetSmsCampaigns GetSmsCampaigns (string status = null, DateTime? startDat /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number limitation for the result returned (optional, default to 500) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetSmsCampaigns - public ApiResponse< GetSmsCampaigns > GetSmsCampaignsWithHttpInfo (string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null) + public ApiResponse< GetSmsCampaigns > GetSmsCampaignsWithHttpInfo (string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null) { var localVarPath = "./smsCampaigns"; @@ -1161,9 +1161,9 @@ public ApiResponse< GetSmsCampaigns > GetSmsCampaignsWithHttpInfo (string status /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number limitation for the result returned (optional, default to 500) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetSmsCampaigns - public async System.Threading.Tasks.Task GetSmsCampaignsAsync (string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null) + public async System.Threading.Tasks.Task GetSmsCampaignsAsync (string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null) { ApiResponse localVarResponse = await GetSmsCampaignsAsyncWithHttpInfo(status, startDate, endDate, limit, offset, sort); return localVarResponse.Data; @@ -1179,9 +1179,9 @@ public async System.Threading.Tasks.Task GetSmsCampaignsAsync ( /// Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) /// Number limitation for the result returned (optional, default to 500) /// Beginning point in the list to retrieve from. (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetSmsCampaigns) - public async System.Threading.Tasks.Task> GetSmsCampaignsAsyncWithHttpInfo (string status = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null) + public async System.Threading.Tasks.Task> GetSmsCampaignsAsyncWithHttpInfo (string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null) { var localVarPath = "./smsCampaigns"; diff --git a/src/sib_api_v3_sdk/Api/TransactionalEmailsApi.cs b/src/sib_api_v3_sdk/Api/TransactionalEmailsApi.cs index a671598..21ae77c 100644 --- a/src/sib_api_v3_sdk/Api/TransactionalEmailsApi.cs +++ b/src/sib_api_v3_sdk/Api/TransactionalEmailsApi.cs @@ -141,7 +141,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) /// GetAggregatedReport - GetAggregatedReport GetAggregatedSmtpReport (string startDate = null, string endDate = null, int? days = null, string tag = null); + GetAggregatedReport GetAggregatedSmtpReport (string startDate = null, string endDate = null, long? days = null, string tag = null); /// /// Get your transactional email activity aggregated over a period of time @@ -155,7 +155,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) /// ApiResponse of GetAggregatedReport - ApiResponse GetAggregatedSmtpReportWithHttpInfo (string startDate = null, string endDate = null, int? days = null, string tag = null); + ApiResponse GetAggregatedSmtpReportWithHttpInfo (string startDate = null, string endDate = null, long? days = null, string tag = null); /// /// Get the list of blocked domains /// @@ -192,9 +192,9 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Filter the report for tags (serialized and urlencoded array) (optional) /// Filter on a specific message id (optional) /// Filter on a specific template id (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetEmailEventReport - GetEmailEventReport GetEmailEventReport (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null); + GetEmailEventReport GetEmailEventReport (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null); /// /// Get all your transactional email activity (unaggregated events) @@ -213,9 +213,9 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Filter the report for tags (serialized and urlencoded array) (optional) /// Filter on a specific message id (optional) /// Filter on a specific template id (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetEmailEventReport - ApiResponse GetEmailEventReportWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null); + ApiResponse GetEmailEventReportWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null); /// /// Get your transactional email activity aggregated per day /// @@ -229,9 +229,9 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetReports - GetReports GetSmtpReport (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null); + GetReports GetSmtpReport (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null); /// /// Get your transactional email activity aggregated per day @@ -246,9 +246,9 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetReports - ApiResponse GetSmtpReportWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null); + ApiResponse GetSmtpReportWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null); /// /// Returns the template information /// @@ -280,7 +280,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Filter on the status of the template. Active = true, inactive = false (optional) /// Number of documents returned per page (optional, default to 50) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetSmtpTemplates GetSmtpTemplates GetSmtpTemplates (bool? templateStatus = null, long? limit = null, long? offset = null, string sort = null); @@ -294,7 +294,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Filter on the status of the template. Active = true, inactive = false (optional) /// Number of documents returned per page (optional, default to 50) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetSmtpTemplates ApiResponse GetSmtpTemplatesWithHttpInfo (bool? templateStatus = null, long? limit = null, long? offset = null, string sort = null); /// @@ -309,7 +309,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Number of documents returned per page (optional, default to 50) /// Index of the first document on the page (optional, default to 0) /// Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetTransacBlockedContacts GetTransacBlockedContacts GetTransacBlockedContacts (string startDate = null, string endDate = null, long? limit = null, long? offset = null, List senders = null, string sort = null); @@ -325,7 +325,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Number of documents returned per page (optional, default to 50) /// Index of the first document on the page (optional, default to 0) /// Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetTransacBlockedContacts ApiResponse GetTransacBlockedContactsWithHttpInfo (string startDate = null, string endDate = null, long? limit = null, long? offset = null, List senders = null, string sort = null); /// @@ -361,7 +361,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional) /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetTransacEmailsList GetTransacEmailsList GetTransacEmailsList (string email = null, long? templateId = null, string messageId = null, string startDate = null, string endDate = null, string sort = null); @@ -377,7 +377,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional) /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetTransacEmailsList ApiResponse GetTransacEmailsListWithHttpInfo (string email = null, long? templateId = null, string messageId = null, string startDate = null, string endDate = null, string sort = null); /// @@ -631,7 +631,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) /// Task of GetAggregatedReport - System.Threading.Tasks.Task GetAggregatedSmtpReportAsync (string startDate = null, string endDate = null, int? days = null, string tag = null); + System.Threading.Tasks.Task GetAggregatedSmtpReportAsync (string startDate = null, string endDate = null, long? days = null, string tag = null); /// /// Get your transactional email activity aggregated over a period of time @@ -645,7 +645,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) /// Task of ApiResponse (GetAggregatedReport) - System.Threading.Tasks.Task> GetAggregatedSmtpReportAsyncWithHttpInfo (string startDate = null, string endDate = null, int? days = null, string tag = null); + System.Threading.Tasks.Task> GetAggregatedSmtpReportAsyncWithHttpInfo (string startDate = null, string endDate = null, long? days = null, string tag = null); /// /// Get the list of blocked domains /// @@ -682,9 +682,9 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Filter the report for tags (serialized and urlencoded array) (optional) /// Filter on a specific message id (optional) /// Filter on a specific template id (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetEmailEventReport - System.Threading.Tasks.Task GetEmailEventReportAsync (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null); + System.Threading.Tasks.Task GetEmailEventReportAsync (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null); /// /// Get all your transactional email activity (unaggregated events) @@ -703,9 +703,9 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Filter the report for tags (serialized and urlencoded array) (optional) /// Filter on a specific message id (optional) /// Filter on a specific template id (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetEmailEventReport) - System.Threading.Tasks.Task> GetEmailEventReportAsyncWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null); + System.Threading.Tasks.Task> GetEmailEventReportAsyncWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null); /// /// Get your transactional email activity aggregated per day /// @@ -719,9 +719,9 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetReports - System.Threading.Tasks.Task GetSmtpReportAsync (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null); + System.Threading.Tasks.Task GetSmtpReportAsync (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null); /// /// Get your transactional email activity aggregated per day @@ -736,9 +736,9 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetReports) - System.Threading.Tasks.Task> GetSmtpReportAsyncWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null); + System.Threading.Tasks.Task> GetSmtpReportAsyncWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null); /// /// Returns the template information /// @@ -770,7 +770,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Filter on the status of the template. Active = true, inactive = false (optional) /// Number of documents returned per page (optional, default to 50) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetSmtpTemplates System.Threading.Tasks.Task GetSmtpTemplatesAsync (bool? templateStatus = null, long? limit = null, long? offset = null, string sort = null); @@ -784,7 +784,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Filter on the status of the template. Active = true, inactive = false (optional) /// Number of documents returned per page (optional, default to 50) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetSmtpTemplates) System.Threading.Tasks.Task> GetSmtpTemplatesAsyncWithHttpInfo (bool? templateStatus = null, long? limit = null, long? offset = null, string sort = null); /// @@ -799,7 +799,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Number of documents returned per page (optional, default to 50) /// Index of the first document on the page (optional, default to 0) /// Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetTransacBlockedContacts System.Threading.Tasks.Task GetTransacBlockedContactsAsync (string startDate = null, string endDate = null, long? limit = null, long? offset = null, List senders = null, string sort = null); @@ -815,7 +815,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Number of documents returned per page (optional, default to 50) /// Index of the first document on the page (optional, default to 0) /// Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetTransacBlockedContacts) System.Threading.Tasks.Task> GetTransacBlockedContactsAsyncWithHttpInfo (string startDate = null, string endDate = null, long? limit = null, long? offset = null, List senders = null, string sort = null); /// @@ -851,7 +851,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional) /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetTransacEmailsList System.Threading.Tasks.Task GetTransacEmailsListAsync (string email = null, long? templateId = null, string messageId = null, string startDate = null, string endDate = null, string sort = null); @@ -867,7 +867,7 @@ public interface ITransactionalEmailsApi : IApiAccessor /// Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional) /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetTransacEmailsList) System.Threading.Tasks.Task> GetTransacEmailsListAsyncWithHttpInfo (string email = null, long? templateId = null, string messageId = null, string startDate = null, string endDate = null, string sort = null); /// @@ -1914,7 +1914,7 @@ public async System.Threading.Tasks.Task> DeleteSmtpTemplate /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) /// GetAggregatedReport - public GetAggregatedReport GetAggregatedSmtpReport (string startDate = null, string endDate = null, int? days = null, string tag = null) + public GetAggregatedReport GetAggregatedSmtpReport (string startDate = null, string endDate = null, long? days = null, string tag = null) { ApiResponse localVarResponse = GetAggregatedSmtpReportWithHttpInfo(startDate, endDate, days, tag); return localVarResponse.Data; @@ -1929,7 +1929,7 @@ public GetAggregatedReport GetAggregatedSmtpReport (string startDate = null, str /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) /// ApiResponse of GetAggregatedReport - public ApiResponse< GetAggregatedReport > GetAggregatedSmtpReportWithHttpInfo (string startDate = null, string endDate = null, int? days = null, string tag = null) + public ApiResponse< GetAggregatedReport > GetAggregatedSmtpReportWithHttpInfo (string startDate = null, string endDate = null, long? days = null, string tag = null) { var localVarPath = "./smtp/statistics/aggregatedReport"; @@ -1997,7 +1997,7 @@ public ApiResponse< GetAggregatedReport > GetAggregatedSmtpReportWithHttpInfo (s /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) /// Task of GetAggregatedReport - public async System.Threading.Tasks.Task GetAggregatedSmtpReportAsync (string startDate = null, string endDate = null, int? days = null, string tag = null) + public async System.Threading.Tasks.Task GetAggregatedSmtpReportAsync (string startDate = null, string endDate = null, long? days = null, string tag = null) { ApiResponse localVarResponse = await GetAggregatedSmtpReportAsyncWithHttpInfo(startDate, endDate, days, tag); return localVarResponse.Data; @@ -2013,7 +2013,7 @@ public async System.Threading.Tasks.Task GetAggregatedSmtpR /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) /// Task of ApiResponse (GetAggregatedReport) - public async System.Threading.Tasks.Task> GetAggregatedSmtpReportAsyncWithHttpInfo (string startDate = null, string endDate = null, int? days = null, string tag = null) + public async System.Threading.Tasks.Task> GetAggregatedSmtpReportAsyncWithHttpInfo (string startDate = null, string endDate = null, long? days = null, string tag = null) { var localVarPath = "./smtp/statistics/aggregatedReport"; @@ -2229,9 +2229,9 @@ public async System.Threading.Tasks.Task> GetBloc /// Filter the report for tags (serialized and urlencoded array) (optional) /// Filter on a specific message id (optional) /// Filter on a specific template id (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetEmailEventReport - public GetEmailEventReport GetEmailEventReport (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null) + public GetEmailEventReport GetEmailEventReport (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null) { ApiResponse localVarResponse = GetEmailEventReportWithHttpInfo(limit, offset, startDate, endDate, days, email, _event, tags, messageId, templateId, sort); return localVarResponse.Data; @@ -2251,9 +2251,9 @@ public GetEmailEventReport GetEmailEventReport (long? limit = null, long? offset /// Filter the report for tags (serialized and urlencoded array) (optional) /// Filter on a specific message id (optional) /// Filter on a specific template id (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetEmailEventReport - public ApiResponse< GetEmailEventReport > GetEmailEventReportWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null) + public ApiResponse< GetEmailEventReport > GetEmailEventReportWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null) { var localVarPath = "./smtp/statistics/events"; @@ -2333,9 +2333,9 @@ public ApiResponse< GetEmailEventReport > GetEmailEventReportWithHttpInfo (long? /// Filter the report for tags (serialized and urlencoded array) (optional) /// Filter on a specific message id (optional) /// Filter on a specific template id (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetEmailEventReport - public async System.Threading.Tasks.Task GetEmailEventReportAsync (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null) + public async System.Threading.Tasks.Task GetEmailEventReportAsync (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null) { ApiResponse localVarResponse = await GetEmailEventReportAsyncWithHttpInfo(limit, offset, startDate, endDate, days, email, _event, tags, messageId, templateId, sort); return localVarResponse.Data; @@ -2356,9 +2356,9 @@ public async System.Threading.Tasks.Task GetEmailEventRepor /// Filter the report for tags (serialized and urlencoded array) (optional) /// Filter on a specific message id (optional) /// Filter on a specific template id (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetEmailEventReport) - public async System.Threading.Tasks.Task> GetEmailEventReportAsyncWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null) + public async System.Threading.Tasks.Task> GetEmailEventReportAsyncWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string email = null, string _event = null, string tags = null, string messageId = null, long? templateId = null, string sort = null) { var localVarPath = "./smtp/statistics/events"; @@ -2434,9 +2434,9 @@ public async System.Threading.Tasks.Task> GetEm /// Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetReports - public GetReports GetSmtpReport (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null) + public GetReports GetSmtpReport (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null) { ApiResponse localVarResponse = GetSmtpReportWithHttpInfo(limit, offset, startDate, endDate, days, tag, sort); return localVarResponse.Data; @@ -2452,9 +2452,9 @@ public GetReports GetSmtpReport (long? limit = null, long? offset = null, string /// Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetReports - public ApiResponse< GetReports > GetSmtpReportWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null) + public ApiResponse< GetReports > GetSmtpReportWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null) { var localVarPath = "./smtp/statistics/reports"; @@ -2526,9 +2526,9 @@ public ApiResponse< GetReports > GetSmtpReportWithHttpInfo (long? limit = null, /// Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetReports - public async System.Threading.Tasks.Task GetSmtpReportAsync (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null) + public async System.Threading.Tasks.Task GetSmtpReportAsync (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null) { ApiResponse localVarResponse = await GetSmtpReportAsyncWithHttpInfo(limit, offset, startDate, endDate, days, tag, sort); return localVarResponse.Data; @@ -2545,9 +2545,9 @@ public async System.Threading.Tasks.Task GetSmtpReportAsync (long? l /// Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Tag of the emails (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetReports) - public async System.Threading.Tasks.Task> GetSmtpReportAsyncWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null) + public async System.Threading.Tasks.Task> GetSmtpReportAsyncWithHttpInfo (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null) { var localVarPath = "./smtp/statistics/reports"; @@ -2771,7 +2771,7 @@ public async System.Threading.Tasks.Task> G /// Filter on the status of the template. Active = true, inactive = false (optional) /// Number of documents returned per page (optional, default to 50) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetSmtpTemplates public GetSmtpTemplates GetSmtpTemplates (bool? templateStatus = null, long? limit = null, long? offset = null, string sort = null) { @@ -2786,7 +2786,7 @@ public GetSmtpTemplates GetSmtpTemplates (bool? templateStatus = null, long? lim /// Filter on the status of the template. Active = true, inactive = false (optional) /// Number of documents returned per page (optional, default to 50) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetSmtpTemplates public ApiResponse< GetSmtpTemplates > GetSmtpTemplatesWithHttpInfo (bool? templateStatus = null, long? limit = null, long? offset = null, string sort = null) { @@ -2854,7 +2854,7 @@ public ApiResponse< GetSmtpTemplates > GetSmtpTemplatesWithHttpInfo (bool? templ /// Filter on the status of the template. Active = true, inactive = false (optional) /// Number of documents returned per page (optional, default to 50) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetSmtpTemplates public async System.Threading.Tasks.Task GetSmtpTemplatesAsync (bool? templateStatus = null, long? limit = null, long? offset = null, string sort = null) { @@ -2870,7 +2870,7 @@ public async System.Threading.Tasks.Task GetSmtpTemplatesAsync /// Filter on the status of the template. Active = true, inactive = false (optional) /// Number of documents returned per page (optional, default to 50) /// Index of the first document in the page (optional, default to 0) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetSmtpTemplates) public async System.Threading.Tasks.Task> GetSmtpTemplatesAsyncWithHttpInfo (bool? templateStatus = null, long? limit = null, long? offset = null, string sort = null) { @@ -2940,7 +2940,7 @@ public async System.Threading.Tasks.Task> GetSmtpT /// Number of documents returned per page (optional, default to 50) /// Index of the first document on the page (optional, default to 0) /// Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetTransacBlockedContacts public GetTransacBlockedContacts GetTransacBlockedContacts (string startDate = null, string endDate = null, long? limit = null, long? offset = null, List senders = null, string sort = null) { @@ -2957,7 +2957,7 @@ public GetTransacBlockedContacts GetTransacBlockedContacts (string startDate = n /// Number of documents returned per page (optional, default to 50) /// Index of the first document on the page (optional, default to 0) /// Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetTransacBlockedContacts public ApiResponse< GetTransacBlockedContacts > GetTransacBlockedContactsWithHttpInfo (string startDate = null, string endDate = null, long? limit = null, long? offset = null, List senders = null, string sort = null) { @@ -3029,7 +3029,7 @@ public ApiResponse< GetTransacBlockedContacts > GetTransacBlockedContactsWithHtt /// Number of documents returned per page (optional, default to 50) /// Index of the first document on the page (optional, default to 0) /// Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetTransacBlockedContacts public async System.Threading.Tasks.Task GetTransacBlockedContactsAsync (string startDate = null, string endDate = null, long? limit = null, long? offset = null, List senders = null, string sort = null) { @@ -3047,7 +3047,7 @@ public async System.Threading.Tasks.Task GetTransacBl /// Number of documents returned per page (optional, default to 50) /// Index of the first document on the page (optional, default to 0) /// Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetTransacBlockedContacts) public async System.Threading.Tasks.Task> GetTransacBlockedContactsAsyncWithHttpInfo (string startDate = null, string endDate = null, long? limit = null, long? offset = null, List senders = null, string sort = null) { @@ -3274,7 +3274,7 @@ public async System.Threading.Tasks.Task> Ge /// Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional) /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetTransacEmailsList public GetTransacEmailsList GetTransacEmailsList (string email = null, long? templateId = null, string messageId = null, string startDate = null, string endDate = null, string sort = null) { @@ -3291,7 +3291,7 @@ public GetTransacEmailsList GetTransacEmailsList (string email = null, long? tem /// Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional) /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetTransacEmailsList public ApiResponse< GetTransacEmailsList > GetTransacEmailsListWithHttpInfo (string email = null, long? templateId = null, string messageId = null, string startDate = null, string endDate = null, string sort = null) { @@ -3363,7 +3363,7 @@ public ApiResponse< GetTransacEmailsList > GetTransacEmailsListWithHttpInfo (str /// Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional) /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetTransacEmailsList public async System.Threading.Tasks.Task GetTransacEmailsListAsync (string email = null, long? templateId = null, string messageId = null, string startDate = null, string endDate = null, string sort = null) { @@ -3381,7 +3381,7 @@ public async System.Threading.Tasks.Task GetTransacEmailsL /// Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional) /// Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetTransacEmailsList) public async System.Threading.Tasks.Task> GetTransacEmailsListAsyncWithHttpInfo (string email = null, long? templateId = null, string messageId = null, string startDate = null, string endDate = null, string sort = null) { diff --git a/src/sib_api_v3_sdk/Api/TransactionalSMSApi.cs b/src/sib_api_v3_sdk/Api/TransactionalSMSApi.cs index c434af0..7f2f72d 100644 --- a/src/sib_api_v3_sdk/Api/TransactionalSMSApi.cs +++ b/src/sib_api_v3_sdk/Api/TransactionalSMSApi.cs @@ -39,9 +39,9 @@ public interface ITransactionalSMSApi : IApiAccessor /// Filter the report for a specific phone number (optional) /// Filter the report for specific events (optional) /// Filter the report for specific tags passed as a serialized urlencoded array (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetSmsEventReport - GetSmsEventReport GetSmsEvents (long? limit = null, string startDate = null, string endDate = null, long? offset = null, int? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null); + GetSmsEventReport GetSmsEvents (long? limit = null, string startDate = null, string endDate = null, long? offset = null, long? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null); /// /// Get all your SMS activity (unaggregated events) @@ -58,9 +58,9 @@ public interface ITransactionalSMSApi : IApiAccessor /// Filter the report for a specific phone number (optional) /// Filter the report for specific events (optional) /// Filter the report for specific tags passed as a serialized urlencoded array (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetSmsEventReport - ApiResponse GetSmsEventsWithHttpInfo (long? limit = null, string startDate = null, string endDate = null, long? offset = null, int? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null); + ApiResponse GetSmsEventsWithHttpInfo (long? limit = null, string startDate = null, string endDate = null, long? offset = null, long? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null); /// /// Get your SMS activity aggregated over a period of time /// @@ -73,7 +73,7 @@ public interface ITransactionalSMSApi : IApiAccessor /// Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) /// Filter on a tag (optional) /// GetTransacAggregatedSmsReport - GetTransacAggregatedSmsReport GetTransacAggregatedSmsReport (string startDate = null, string endDate = null, int? days = null, string tag = null); + GetTransacAggregatedSmsReport GetTransacAggregatedSmsReport (string startDate = null, string endDate = null, long? days = null, string tag = null); /// /// Get your SMS activity aggregated over a period of time @@ -87,7 +87,7 @@ public interface ITransactionalSMSApi : IApiAccessor /// Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) /// Filter on a tag (optional) /// ApiResponse of GetTransacAggregatedSmsReport - ApiResponse GetTransacAggregatedSmsReportWithHttpInfo (string startDate = null, string endDate = null, int? days = null, string tag = null); + ApiResponse GetTransacAggregatedSmsReportWithHttpInfo (string startDate = null, string endDate = null, long? days = null, string tag = null); /// /// Get your SMS activity aggregated per day /// @@ -99,9 +99,9 @@ public interface ITransactionalSMSApi : IApiAccessor /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Filter on a tag (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetTransacSmsReport - GetTransacSmsReport GetTransacSmsReport (string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null); + GetTransacSmsReport GetTransacSmsReport (string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null); /// /// Get your SMS activity aggregated per day @@ -114,9 +114,9 @@ public interface ITransactionalSMSApi : IApiAccessor /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Filter on a tag (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetTransacSmsReport - ApiResponse GetTransacSmsReportWithHttpInfo (string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null); + ApiResponse GetTransacSmsReportWithHttpInfo (string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null); /// /// Send SMS message to a mobile number /// @@ -155,9 +155,9 @@ public interface ITransactionalSMSApi : IApiAccessor /// Filter the report for a specific phone number (optional) /// Filter the report for specific events (optional) /// Filter the report for specific tags passed as a serialized urlencoded array (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetSmsEventReport - System.Threading.Tasks.Task GetSmsEventsAsync (long? limit = null, string startDate = null, string endDate = null, long? offset = null, int? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null); + System.Threading.Tasks.Task GetSmsEventsAsync (long? limit = null, string startDate = null, string endDate = null, long? offset = null, long? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null); /// /// Get all your SMS activity (unaggregated events) @@ -174,9 +174,9 @@ public interface ITransactionalSMSApi : IApiAccessor /// Filter the report for a specific phone number (optional) /// Filter the report for specific events (optional) /// Filter the report for specific tags passed as a serialized urlencoded array (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetSmsEventReport) - System.Threading.Tasks.Task> GetSmsEventsAsyncWithHttpInfo (long? limit = null, string startDate = null, string endDate = null, long? offset = null, int? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null); + System.Threading.Tasks.Task> GetSmsEventsAsyncWithHttpInfo (long? limit = null, string startDate = null, string endDate = null, long? offset = null, long? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null); /// /// Get your SMS activity aggregated over a period of time /// @@ -189,7 +189,7 @@ public interface ITransactionalSMSApi : IApiAccessor /// Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) /// Filter on a tag (optional) /// Task of GetTransacAggregatedSmsReport - System.Threading.Tasks.Task GetTransacAggregatedSmsReportAsync (string startDate = null, string endDate = null, int? days = null, string tag = null); + System.Threading.Tasks.Task GetTransacAggregatedSmsReportAsync (string startDate = null, string endDate = null, long? days = null, string tag = null); /// /// Get your SMS activity aggregated over a period of time @@ -203,7 +203,7 @@ public interface ITransactionalSMSApi : IApiAccessor /// Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) /// Filter on a tag (optional) /// Task of ApiResponse (GetTransacAggregatedSmsReport) - System.Threading.Tasks.Task> GetTransacAggregatedSmsReportAsyncWithHttpInfo (string startDate = null, string endDate = null, int? days = null, string tag = null); + System.Threading.Tasks.Task> GetTransacAggregatedSmsReportAsyncWithHttpInfo (string startDate = null, string endDate = null, long? days = null, string tag = null); /// /// Get your SMS activity aggregated per day /// @@ -215,9 +215,9 @@ public interface ITransactionalSMSApi : IApiAccessor /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Filter on a tag (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetTransacSmsReport - System.Threading.Tasks.Task GetTransacSmsReportAsync (string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null); + System.Threading.Tasks.Task GetTransacSmsReportAsync (string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null); /// /// Get your SMS activity aggregated per day @@ -230,9 +230,9 @@ public interface ITransactionalSMSApi : IApiAccessor /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Filter on a tag (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetTransacSmsReport) - System.Threading.Tasks.Task> GetTransacSmsReportAsyncWithHttpInfo (string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null); + System.Threading.Tasks.Task> GetTransacSmsReportAsyncWithHttpInfo (string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null); /// /// Send SMS message to a mobile number /// @@ -366,9 +366,9 @@ public void AddDefaultHeader(string key, string value) /// Filter the report for a specific phone number (optional) /// Filter the report for specific events (optional) /// Filter the report for specific tags passed as a serialized urlencoded array (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetSmsEventReport - public GetSmsEventReport GetSmsEvents (long? limit = null, string startDate = null, string endDate = null, long? offset = null, int? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null) + public GetSmsEventReport GetSmsEvents (long? limit = null, string startDate = null, string endDate = null, long? offset = null, long? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null) { ApiResponse localVarResponse = GetSmsEventsWithHttpInfo(limit, startDate, endDate, offset, days, phoneNumber, _event, tags, sort); return localVarResponse.Data; @@ -386,9 +386,9 @@ public GetSmsEventReport GetSmsEvents (long? limit = null, string startDate = nu /// Filter the report for a specific phone number (optional) /// Filter the report for specific events (optional) /// Filter the report for specific tags passed as a serialized urlencoded array (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetSmsEventReport - public ApiResponse< GetSmsEventReport > GetSmsEventsWithHttpInfo (long? limit = null, string startDate = null, string endDate = null, long? offset = null, int? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null) + public ApiResponse< GetSmsEventReport > GetSmsEventsWithHttpInfo (long? limit = null, string startDate = null, string endDate = null, long? offset = null, long? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null) { var localVarPath = "./transactionalSMS/statistics/events"; @@ -464,9 +464,9 @@ public ApiResponse< GetSmsEventReport > GetSmsEventsWithHttpInfo (long? limit = /// Filter the report for a specific phone number (optional) /// Filter the report for specific events (optional) /// Filter the report for specific tags passed as a serialized urlencoded array (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetSmsEventReport - public async System.Threading.Tasks.Task GetSmsEventsAsync (long? limit = null, string startDate = null, string endDate = null, long? offset = null, int? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null) + public async System.Threading.Tasks.Task GetSmsEventsAsync (long? limit = null, string startDate = null, string endDate = null, long? offset = null, long? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null) { ApiResponse localVarResponse = await GetSmsEventsAsyncWithHttpInfo(limit, startDate, endDate, offset, days, phoneNumber, _event, tags, sort); return localVarResponse.Data; @@ -485,9 +485,9 @@ public async System.Threading.Tasks.Task GetSmsEventsAsync (l /// Filter the report for a specific phone number (optional) /// Filter the report for specific events (optional) /// Filter the report for specific tags passed as a serialized urlencoded array (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetSmsEventReport) - public async System.Threading.Tasks.Task> GetSmsEventsAsyncWithHttpInfo (long? limit = null, string startDate = null, string endDate = null, long? offset = null, int? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null) + public async System.Threading.Tasks.Task> GetSmsEventsAsyncWithHttpInfo (long? limit = null, string startDate = null, string endDate = null, long? offset = null, long? days = null, string phoneNumber = null, string _event = null, string tags = null, string sort = null) { var localVarPath = "./transactionalSMS/statistics/events"; @@ -560,7 +560,7 @@ public async System.Threading.Tasks.Task> GetSmsE /// Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) /// Filter on a tag (optional) /// GetTransacAggregatedSmsReport - public GetTransacAggregatedSmsReport GetTransacAggregatedSmsReport (string startDate = null, string endDate = null, int? days = null, string tag = null) + public GetTransacAggregatedSmsReport GetTransacAggregatedSmsReport (string startDate = null, string endDate = null, long? days = null, string tag = null) { ApiResponse localVarResponse = GetTransacAggregatedSmsReportWithHttpInfo(startDate, endDate, days, tag); return localVarResponse.Data; @@ -575,7 +575,7 @@ public GetTransacAggregatedSmsReport GetTransacAggregatedSmsReport (string start /// Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) /// Filter on a tag (optional) /// ApiResponse of GetTransacAggregatedSmsReport - public ApiResponse< GetTransacAggregatedSmsReport > GetTransacAggregatedSmsReportWithHttpInfo (string startDate = null, string endDate = null, int? days = null, string tag = null) + public ApiResponse< GetTransacAggregatedSmsReport > GetTransacAggregatedSmsReportWithHttpInfo (string startDate = null, string endDate = null, long? days = null, string tag = null) { var localVarPath = "./transactionalSMS/statistics/aggregatedReport"; @@ -643,7 +643,7 @@ public ApiResponse< GetTransacAggregatedSmsReport > GetTransacAggregatedSmsRepor /// Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) /// Filter on a tag (optional) /// Task of GetTransacAggregatedSmsReport - public async System.Threading.Tasks.Task GetTransacAggregatedSmsReportAsync (string startDate = null, string endDate = null, int? days = null, string tag = null) + public async System.Threading.Tasks.Task GetTransacAggregatedSmsReportAsync (string startDate = null, string endDate = null, long? days = null, string tag = null) { ApiResponse localVarResponse = await GetTransacAggregatedSmsReportAsyncWithHttpInfo(startDate, endDate, days, tag); return localVarResponse.Data; @@ -659,7 +659,7 @@ public async System.Threading.Tasks.Task GetTrans /// Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) /// Filter on a tag (optional) /// Task of ApiResponse (GetTransacAggregatedSmsReport) - public async System.Threading.Tasks.Task> GetTransacAggregatedSmsReportAsyncWithHttpInfo (string startDate = null, string endDate = null, int? days = null, string tag = null) + public async System.Threading.Tasks.Task> GetTransacAggregatedSmsReportAsyncWithHttpInfo (string startDate = null, string endDate = null, long? days = null, string tag = null) { var localVarPath = "./transactionalSMS/statistics/aggregatedReport"; @@ -726,9 +726,9 @@ public async System.Threading.Tasks.TaskMandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Filter on a tag (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// GetTransacSmsReport - public GetTransacSmsReport GetTransacSmsReport (string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null) + public GetTransacSmsReport GetTransacSmsReport (string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null) { ApiResponse localVarResponse = GetTransacSmsReportWithHttpInfo(startDate, endDate, days, tag, sort); return localVarResponse.Data; @@ -742,9 +742,9 @@ public GetTransacSmsReport GetTransacSmsReport (string startDate = null, string /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Filter on a tag (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// ApiResponse of GetTransacSmsReport - public ApiResponse< GetTransacSmsReport > GetTransacSmsReportWithHttpInfo (string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null) + public ApiResponse< GetTransacSmsReport > GetTransacSmsReportWithHttpInfo (string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null) { var localVarPath = "./transactionalSMS/statistics/reports"; @@ -812,9 +812,9 @@ public ApiResponse< GetTransacSmsReport > GetTransacSmsReportWithHttpInfo (strin /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Filter on a tag (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of GetTransacSmsReport - public async System.Threading.Tasks.Task GetTransacSmsReportAsync (string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null) + public async System.Threading.Tasks.Task GetTransacSmsReportAsync (string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null) { ApiResponse localVarResponse = await GetTransacSmsReportAsyncWithHttpInfo(startDate, endDate, days, tag, sort); return localVarResponse.Data; @@ -829,9 +829,9 @@ public async System.Threading.Tasks.Task GetTransacSmsRepor /// Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) /// Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) /// Filter on a tag (optional) - /// Sort the results in the ascending/descending order of record creation (optional, default to desc) + /// Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) /// Task of ApiResponse (GetTransacSmsReport) - public async System.Threading.Tasks.Task> GetTransacSmsReportAsyncWithHttpInfo (string startDate = null, string endDate = null, int? days = null, string tag = null, string sort = null) + public async System.Threading.Tasks.Task> GetTransacSmsReportAsyncWithHttpInfo (string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null) { var localVarPath = "./transactionalSMS/statistics/reports"; diff --git a/src/sib_api_v3_sdk/Client/ApiClient.cs b/src/sib_api_v3_sdk/Client/ApiClient.cs index f457b61..607b358 100644 --- a/src/sib_api_v3_sdk/Client/ApiClient.cs +++ b/src/sib_api_v3_sdk/Client/ApiClient.cs @@ -77,7 +77,7 @@ public ApiClient(Configuration config) /// The base path. public ApiClient(String basePath = "https://api.sendinblue.com/v3") { - if (String.IsNullOrEmpty(basePath)) + if (String.IsNullOrEmpty(basePath)) throw new ArgumentException("basePath cannot be empty"); RestClient = new RestClient(basePath); @@ -121,23 +121,23 @@ private RestRequest PrepareRequest( request.Serializer = null; // add path parameter, if any - foreach (var param in pathParams) + foreach(var param in pathParams) request.AddParameter(param.Key, param.Value, ParameterType.UrlSegment); // add header parameter, if any - foreach (var param in headerParams) + foreach(var param in headerParams) request.AddHeader(param.Key, param.Value); // add query parameter, if any - foreach (var param in queryParams) + foreach(var param in queryParams) request.AddQueryParameter(param.Key, param.Value); // add form parameter, if any - foreach (var param in formParams) + foreach(var param in formParams) request.AddParameter(param.Key, param.Value); // add file parameter, if any - foreach (var param in fileParams) + foreach(var param in fileParams) { request.AddFile(param.Value); } @@ -175,10 +175,10 @@ public Object CallApi( // set timeout RestClient.Timeout = TimeSpan.FromMilliseconds(Configuration.Timeout); - + // set user agent if (!Configuration.UserAgent.ToLower().StartsWith("sendinblue_")) - Configuration.UserAgent = "sendinblue_clientAPI/v3.1.0/c#"; + Configuration.UserAgent = "sendinblue_clientAPI/v3.2.0/c#"; RestClient.UserAgent = Configuration.UserAgent; @@ -186,7 +186,7 @@ public Object CallApi( var response = RestClient.Execute(request).Result; InterceptResponse(request, response); - return (Object)response; + return (Object) response; } /// /// Makes the asynchronous HTTP request. @@ -254,13 +254,13 @@ public string ParameterToString(object obj) // Defaults to an ISO 8601, using the known as a Round-trip date/time pattern ("o") // https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8 // For example: 2009-06-15T13:45:30.0000000 - return ((DateTime)obj).ToString(Configuration.DateTimeFormat); + return ((DateTime)obj).ToString (Configuration.DateTimeFormat); else if (obj is DateTimeOffset) // Return a formatted date string - Can be customized with Configuration.DateTimeFormat // Defaults to an ISO 8601, using the known as a Round-trip date/time pattern ("o") // https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8 // For example: 2009-06-15T13:45:30.0000000 - return ((DateTimeOffset)obj).ToString(Configuration.DateTimeFormat); + return ((DateTimeOffset)obj).ToString (Configuration.DateTimeFormat); else if (obj is IList) { var flattenedString = new StringBuilder(); @@ -275,7 +275,7 @@ public string ParameterToString(object obj) else if (obj is bool) return ((bool)obj).ToString().ToLower(); else - return Convert.ToString(obj); + return Convert.ToString (obj); } /// @@ -318,7 +318,7 @@ public object Deserialize(IRestResponse response, Type type) if (type.Name.StartsWith("System.Nullable`1[[System.DateTime")) // return a datetime object { - return DateTime.Parse(response.Content, null, System.Globalization.DateTimeStyles.RoundtripKind); + return DateTime.Parse(response.Content, null, System.Globalization.DateTimeStyles.RoundtripKind); } if (type == typeof(String) || type.Name.StartsWith("System.Nullable")) // return primitive type @@ -437,7 +437,7 @@ public static dynamic ConvertType(dynamic fromObject, Type toObject) /// Byte array public static byte[] ReadAsBytes(Stream inputStream) { - byte[] buf = new byte[16 * 1024]; + byte[] buf = new byte[16*1024]; using (MemoryStream ms = new MemoryStream()) { int count; diff --git a/src/sib_api_v3_sdk/Client/Configuration.cs b/src/sib_api_v3_sdk/Client/Configuration.cs index 11a708d..fb4fdad 100644 --- a/src/sib_api_v3_sdk/Client/Configuration.cs +++ b/src/sib_api_v3_sdk/Client/Configuration.cs @@ -29,7 +29,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "3.1.0"; + public const string Version = "3.2.0"; /// /// Identifier for ISO 8601 DateTime Format @@ -57,7 +57,7 @@ public class Configuration : IReadableConfiguration string.Format("Error calling {0}: {1}", methodName, response.Content), response.Content); } - + return null; }; @@ -223,15 +223,12 @@ public virtual ApiClient ApiClient /// /// Gets or sets the base path for API access. /// - public virtual string BasePath - { + public virtual string BasePath { get { return _basePath; } - set - { + set { _basePath = value; // pass-through to ApiClient if it's set. - if (_apiClient != null) - { + if(_apiClient != null) { _apiClient.RestClient.BaseUrl = new Uri(_basePath); } } @@ -277,9 +274,9 @@ public virtual int Timeout public string GetApiKeyWithPrefix(string apiKeyIdentifier) { var apiKeyValue = ""; - ApiKey.TryGetValue(apiKeyIdentifier, out apiKeyValue); + ApiKey.TryGetValue (apiKeyIdentifier, out apiKeyValue); var apiKeyPrefix = ""; - if (ApiKeyPrefix.TryGetValue(apiKeyIdentifier, out apiKeyPrefix)) + if (ApiKeyPrefix.TryGetValue (apiKeyIdentifier, out apiKeyPrefix)) return apiKeyPrefix + " " + apiKeyValue; else return apiKeyValue; diff --git a/src/sib_api_v3_sdk/Model/CreateEmailCampaign.cs b/src/sib_api_v3_sdk/Model/CreateEmailCampaign.cs index 7959700..52ebc29 100644 --- a/src/sib_api_v3_sdk/Model/CreateEmailCampaign.cs +++ b/src/sib_api_v3_sdk/Model/CreateEmailCampaign.cs @@ -91,7 +91,7 @@ protected CreateEmailCampaign() { } /// Available for dedicated ip clients. Set this to true if you wish to warm up your ip. (default to false). /// Mandatory if ipWarmupEnable is set to true. Set an initial quota greater than 1 for warming up your ip. We recommend you set a value of 3000.. /// Mandatory if ipWarmupEnable is set to true. Set a percentage increase rate for warming up your ip. We recommend you set the increase rate to 30% per day. If you want to send the same number of emails every day, set the daily increase value to 0%.. - public CreateEmailCampaign(string tag = default(string), CreateEmailCampaignSender sender = default(CreateEmailCampaignSender), string name = default(string), string htmlContent = default(string), string htmlUrl = default(string), long? templateId = default(long?), DateTime? scheduledAt = default(DateTime?), string subject = default(string), string replyTo = default(string), string toField = default(string), CreateEmailCampaignRecipients recipients = default(CreateEmailCampaignRecipients), string attachmentUrl = default(string), bool? inlineImageActivation = false, bool? mirrorActive = default(bool?), string footer = default(string), string header = default(string), string utmCampaign = default(string), Object _params = default(Object), bool? sendAtBestTime = false, bool? abTesting = false, string subjectA = default(string), string subjectB = default(string), long? splitRule = default(long?), WinnerCriteriaEnum? winnerCriteria = default(WinnerCriteriaEnum?), long? winnerDelay = default(long?), bool? ipWarmupEnable = false, long? initialQuota = default(long?), long? increaseRate = default(long?)) + public CreateEmailCampaign(string tag = default(string), CreateEmailCampaignSender sender = default(CreateEmailCampaignSender), string name = default(string), string htmlContent = default(string), string htmlUrl = default(string), long? templateId = default(long?), string scheduledAt = default(string), string subject = default(string), string replyTo = default(string), string toField = default(string), CreateEmailCampaignRecipients recipients = default(CreateEmailCampaignRecipients), string attachmentUrl = default(string), bool? inlineImageActivation = false, bool? mirrorActive = default(bool?), string footer = default(string), string header = default(string), string utmCampaign = default(string), Object _params = default(Object), bool? sendAtBestTime = false, bool? abTesting = false, string subjectA = default(string), string subjectB = default(string), long? splitRule = default(long?), WinnerCriteriaEnum? winnerCriteria = default(WinnerCriteriaEnum?), long? winnerDelay = default(long?), bool? ipWarmupEnable = false, long? initialQuota = default(long?), long? increaseRate = default(long?)) { // to ensure "sender" is required (not null) if (sender == null) @@ -217,7 +217,7 @@ protected CreateEmailCampaign() { } /// /// Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). [DataMember(Name="scheduledAt", EmitDefaultValue=false)] - public DateTime? ScheduledAt { get; set; } + public string ScheduledAt { get; set; } /// /// Subject of the campaign. Mandatory if abTesting is false. Ignored if abTesting is true. diff --git a/src/sib_api_v3_sdk/Model/CreateSmsCampaign.cs b/src/sib_api_v3_sdk/Model/CreateSmsCampaign.cs index 10698cc..aaabdf5 100644 --- a/src/sib_api_v3_sdk/Model/CreateSmsCampaign.cs +++ b/src/sib_api_v3_sdk/Model/CreateSmsCampaign.cs @@ -41,7 +41,7 @@ protected CreateSmsCampaign() { } /// Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS (required). /// recipients. /// UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.. - public CreateSmsCampaign(string name = default(string), string sender = default(string), string content = default(string), CreateSmsCampaignRecipients recipients = default(CreateSmsCampaignRecipients), DateTime? scheduledAt = default(DateTime?)) + public CreateSmsCampaign(string name = default(string), string sender = default(string), string content = default(string), CreateSmsCampaignRecipients recipients = default(CreateSmsCampaignRecipients), string scheduledAt = default(string)) { // to ensure "name" is required (not null) if (name == null) @@ -106,7 +106,7 @@ protected CreateSmsCampaign() { } /// /// UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. [DataMember(Name="scheduledAt", EmitDefaultValue=false)] - public DateTime? ScheduledAt { get; set; } + public string ScheduledAt { get; set; } /// /// Returns the string presentation of the object diff --git a/src/sib_api_v3_sdk/Model/CreateSmtpEmail.cs b/src/sib_api_v3_sdk/Model/CreateSmtpEmail.cs index 1b84db2..0f598d0 100644 --- a/src/sib_api_v3_sdk/Model/CreateSmtpEmail.cs +++ b/src/sib_api_v3_sdk/Model/CreateSmtpEmail.cs @@ -31,23 +31,12 @@ public partial class CreateSmtpEmail : IEquatable /// /// Initializes a new instance of the class. /// - [JsonConstructorAttribute] - protected CreateSmtpEmail() { } - /// - /// Initializes a new instance of the class. - /// - /// Message ID of the transactional email sent (required). - public CreateSmtpEmail(string messageId = default(string)) + /// Message ID of the transactional email sent. + /// messageIds. + public CreateSmtpEmail(string messageId = default(string), List messageIds = default(List)) { - // to ensure "messageId" is required (not null) - if (messageId == null) - { - throw new InvalidDataException("messageId is a required property for CreateSmtpEmail and cannot be null"); - } - else - { - this.MessageId = messageId; - } + this.MessageId = messageId; + this.MessageIds = messageIds; } /// @@ -57,6 +46,12 @@ protected CreateSmtpEmail() { } [DataMember(Name="messageId", EmitDefaultValue=false)] public string MessageId { get; set; } + /// + /// Gets or Sets MessageIds + /// + [DataMember(Name="messageIds", EmitDefaultValue=false)] + public List MessageIds { get; set; } + /// /// Returns the string presentation of the object /// @@ -66,6 +61,7 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class CreateSmtpEmail {\n"); sb.Append(" MessageId: ").Append(MessageId).Append("\n"); + sb.Append(" MessageIds: ").Append(MessageIds).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -104,6 +100,11 @@ public bool Equals(CreateSmtpEmail input) this.MessageId == input.MessageId || (this.MessageId != null && this.MessageId.Equals(input.MessageId)) + ) && + ( + this.MessageIds == input.MessageIds || + this.MessageIds != null && + this.MessageIds.SequenceEqual(input.MessageIds) ); } @@ -118,6 +119,8 @@ public override int GetHashCode() int hashCode = 41; if (this.MessageId != null) hashCode = hashCode * 59 + this.MessageId.GetHashCode(); + if (this.MessageIds != null) + hashCode = hashCode * 59 + this.MessageIds.GetHashCode(); return hashCode; } } diff --git a/src/sib_api_v3_sdk/Model/GetCampaignOverview.cs b/src/sib_api_v3_sdk/Model/GetCampaignOverview.cs index bf9c3ef..ddf19e9 100644 --- a/src/sib_api_v3_sdk/Model/GetCampaignOverview.cs +++ b/src/sib_api_v3_sdk/Model/GetCampaignOverview.cs @@ -127,7 +127,7 @@ protected GetCampaignOverview() { } /// Criteria for the winning version. Only available if `abTesting` flag of the campaign is `true`. /// The duration of the test in hours at the end of which the winning version will be sent. Only available if `abTesting` flag of the campaign is `true`. /// It is true if you have chosen to send your campaign at best time, otherwise it is false. - public GetCampaignOverview(long? id = default(long?), string name = default(string), string subject = default(string), TypeEnum type = default(TypeEnum), StatusEnum status = default(StatusEnum), DateTime? scheduledAt = default(DateTime?), bool? abTesting = default(bool?), string subjectA = default(string), string subjectB = default(string), int? splitRule = default(int?), string winnerCriteria = default(string), int? winnerDelay = default(int?), bool? sendAtBestTime = default(bool?)) + public GetCampaignOverview(long? id = default(long?), string name = default(string), string subject = default(string), TypeEnum type = default(TypeEnum), StatusEnum status = default(StatusEnum), string scheduledAt = default(string), bool? abTesting = default(bool?), string subjectA = default(string), string subjectB = default(string), int? splitRule = default(int?), string winnerCriteria = default(string), int? winnerDelay = default(int?), bool? sendAtBestTime = default(bool?)) { // to ensure "id" is required (not null) if (id == null) @@ -204,7 +204,7 @@ protected GetCampaignOverview() { } /// /// UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="scheduledAt", EmitDefaultValue=false)] - public DateTime? ScheduledAt { get; set; } + public string ScheduledAt { get; set; } /// /// Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. diff --git a/src/sib_api_v3_sdk/Model/GetContactCampaignStatsOpened.cs b/src/sib_api_v3_sdk/Model/GetContactCampaignStatsOpened.cs index 38f55c3..7a11499 100644 --- a/src/sib_api_v3_sdk/Model/GetContactCampaignStatsOpened.cs +++ b/src/sib_api_v3_sdk/Model/GetContactCampaignStatsOpened.cs @@ -40,7 +40,7 @@ protected GetContactCampaignStatsOpened() { } /// Number of openings of the campaign (required). /// UTC date-time of the event (required). /// IP from which the user has opened the campaign (required). - public GetContactCampaignStatsOpened(long? campaignId = default(long?), long? count = default(long?), DateTime? eventTime = default(DateTime?), string ip = default(string)) + public GetContactCampaignStatsOpened(long? campaignId = default(long?), long? count = default(long?), string eventTime = default(string), string ip = default(string)) { // to ensure "campaignId" is required (not null) if (campaignId == null) @@ -99,7 +99,7 @@ protected GetContactCampaignStatsOpened() { } /// /// UTC date-time of the event [DataMember(Name="eventTime", EmitDefaultValue=false)] - public DateTime? EventTime { get; set; } + public string EventTime { get; set; } /// /// IP from which the user has opened the campaign diff --git a/src/sib_api_v3_sdk/Model/GetContactDetails.cs b/src/sib_api_v3_sdk/Model/GetContactDetails.cs index b80a831..164532c 100644 --- a/src/sib_api_v3_sdk/Model/GetContactDetails.cs +++ b/src/sib_api_v3_sdk/Model/GetContactDetails.cs @@ -45,7 +45,7 @@ protected GetContactDetails() { } /// listIds (required). /// listUnsubscribed. /// Set of attributes of the contact (required). - public GetContactDetails(string email = default(string), long? id = default(long?), bool? emailBlacklisted = default(bool?), bool? smsBlacklisted = default(bool?), DateTime? createdAt = default(DateTime?), DateTime? modifiedAt = default(DateTime?), List listIds = default(List), List listUnsubscribed = default(List), Object attributes = default(Object)) + public GetContactDetails(string email = default(string), long? id = default(long?), bool? emailBlacklisted = default(bool?), bool? smsBlacklisted = default(bool?), string createdAt = default(string), string modifiedAt = default(string), List listIds = default(List), List listUnsubscribed = default(List), Object attributes = default(Object)) { // to ensure "email" is required (not null) if (email == null) @@ -155,14 +155,14 @@ protected GetContactDetails() { } /// /// Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="createdAt", EmitDefaultValue=false)] - public DateTime? CreatedAt { get; set; } + public string CreatedAt { get; set; } /// /// Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) /// /// Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="modifiedAt", EmitDefaultValue=false)] - public DateTime? ModifiedAt { get; set; } + public string ModifiedAt { get; set; } /// /// Gets or Sets ListIds diff --git a/src/sib_api_v3_sdk/Model/GetEmailCampaign.cs b/src/sib_api_v3_sdk/Model/GetEmailCampaign.cs index 01921c4..89ac4c1 100644 --- a/src/sib_api_v3_sdk/Model/GetEmailCampaign.cs +++ b/src/sib_api_v3_sdk/Model/GetEmailCampaign.cs @@ -145,7 +145,7 @@ protected GetEmailCampaign() { } /// Total number of non-delivered campaigns for a particular campaign id.. /// recipients (required). /// statistics (required). - public GetEmailCampaign(long? id = default(long?), string name = default(string), string subject = default(string), TypeEnum type = default(TypeEnum), StatusEnum status = default(StatusEnum), DateTime? scheduledAt = default(DateTime?), bool? abTesting = default(bool?), string subjectA = default(string), string subjectB = default(string), int? splitRule = default(int?), string winnerCriteria = default(string), int? winnerDelay = default(int?), bool? sendAtBestTime = default(bool?), bool? testSent = default(bool?), string header = default(string), string footer = default(string), GetExtendedCampaignOverviewSender sender = default(GetExtendedCampaignOverviewSender), string replyTo = default(string), string toField = default(string), string htmlContent = default(string), string shareLink = default(string), string tag = default(string), DateTime? createdAt = default(DateTime?), DateTime? modifiedAt = default(DateTime?), bool? inlineImageActivation = default(bool?), bool? mirrorActive = default(bool?), bool? recurring = default(bool?), DateTime? sentDate = default(DateTime?), long? returnBounce = default(long?), Object recipients = default(Object), Object statistics = default(Object)) + public GetEmailCampaign(long? id = default(long?), string name = default(string), string subject = default(string), TypeEnum type = default(TypeEnum), StatusEnum status = default(StatusEnum), string scheduledAt = default(string), bool? abTesting = default(bool?), string subjectA = default(string), string subjectB = default(string), int? splitRule = default(int?), string winnerCriteria = default(string), int? winnerDelay = default(int?), bool? sendAtBestTime = default(bool?), bool? testSent = default(bool?), string header = default(string), string footer = default(string), GetExtendedCampaignOverviewSender sender = default(GetExtendedCampaignOverviewSender), string replyTo = default(string), string toField = default(string), string htmlContent = default(string), string shareLink = default(string), string tag = default(string), string createdAt = default(string), string modifiedAt = default(string), bool? inlineImageActivation = default(bool?), bool? mirrorActive = default(bool?), bool? recurring = default(bool?), string sentDate = default(string), long? returnBounce = default(long?), Object recipients = default(Object), Object statistics = default(Object)) { // to ensure "id" is required (not null) if (id == null) @@ -320,7 +320,7 @@ protected GetEmailCampaign() { } /// /// UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="scheduledAt", EmitDefaultValue=false)] - public DateTime? ScheduledAt { get; set; } + public string ScheduledAt { get; set; } /// /// Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. @@ -438,14 +438,14 @@ protected GetEmailCampaign() { } /// /// Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="createdAt", EmitDefaultValue=false)] - public DateTime? CreatedAt { get; set; } + public string CreatedAt { get; set; } /// /// UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) /// /// UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="modifiedAt", EmitDefaultValue=false)] - public DateTime? ModifiedAt { get; set; } + public string ModifiedAt { get; set; } /// /// Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. @@ -473,7 +473,7 @@ protected GetEmailCampaign() { } /// /// Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' [DataMember(Name="sentDate", EmitDefaultValue=false)] - public DateTime? SentDate { get; set; } + public string SentDate { get; set; } /// /// Total number of non-delivered campaigns for a particular campaign id. diff --git a/src/sib_api_v3_sdk/Model/GetEmailEventReportEvents.cs b/src/sib_api_v3_sdk/Model/GetEmailEventReportEvents.cs index 8fe2421..820e4d9 100644 --- a/src/sib_api_v3_sdk/Model/GetEmailEventReportEvents.cs +++ b/src/sib_api_v3_sdk/Model/GetEmailEventReportEvents.cs @@ -140,7 +140,7 @@ protected GetEmailEventReportEvents() { } /// The link which is sent to the user (only available if the event is requests or opened or clicks). /// Sender email from which the emails are sent. /// ID of the template (only available if the email is template based). - public GetEmailEventReportEvents(string email = default(string), DateTime? date = default(DateTime?), string subject = default(string), string messageId = default(string), EventEnum _event = default(EventEnum), string reason = default(string), string tag = default(string), string ip = default(string), string link = default(string), string from = default(string), long? templateId = default(long?)) + public GetEmailEventReportEvents(string email = default(string), string date = default(string), string subject = default(string), string messageId = default(string), EventEnum _event = default(EventEnum), string reason = default(string), string tag = default(string), string ip = default(string), string link = default(string), string from = default(string), long? templateId = default(long?)) { // to ensure "email" is required (not null) if (email == null) @@ -199,7 +199,7 @@ protected GetEmailEventReportEvents() { } /// /// UTC date-time on which the event has been generated [DataMember(Name="date", EmitDefaultValue=false)] - public DateTime? Date { get; set; } + public string Date { get; set; } /// /// Subject of the event diff --git a/src/sib_api_v3_sdk/Model/GetExtendedCampaignOverview.cs b/src/sib_api_v3_sdk/Model/GetExtendedCampaignOverview.cs index d6e746e..bea7f14 100644 --- a/src/sib_api_v3_sdk/Model/GetExtendedCampaignOverview.cs +++ b/src/sib_api_v3_sdk/Model/GetExtendedCampaignOverview.cs @@ -143,7 +143,7 @@ protected GetExtendedCampaignOverview() { } /// FOR TRIGGER ONLY ! Type of trigger campaign.recurring = false means contact can receive the same Trigger campaign only once, & recurring = true means contact can receive the same Trigger campaign several times. /// Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent'. /// Total number of non-delivered campaigns for a particular campaign id.. - public GetExtendedCampaignOverview(long? id = default(long?), string name = default(string), string subject = default(string), TypeEnum type = default(TypeEnum), StatusEnum status = default(StatusEnum), DateTime? scheduledAt = default(DateTime?), bool? abTesting = default(bool?), string subjectA = default(string), string subjectB = default(string), int? splitRule = default(int?), string winnerCriteria = default(string), int? winnerDelay = default(int?), bool? sendAtBestTime = default(bool?), bool? testSent = default(bool?), string header = default(string), string footer = default(string), GetExtendedCampaignOverviewSender sender = default(GetExtendedCampaignOverviewSender), string replyTo = default(string), string toField = default(string), string htmlContent = default(string), string shareLink = default(string), string tag = default(string), DateTime? createdAt = default(DateTime?), DateTime? modifiedAt = default(DateTime?), bool? inlineImageActivation = default(bool?), bool? mirrorActive = default(bool?), bool? recurring = default(bool?), DateTime? sentDate = default(DateTime?), long? returnBounce = default(long?)) + public GetExtendedCampaignOverview(long? id = default(long?), string name = default(string), string subject = default(string), TypeEnum type = default(TypeEnum), StatusEnum status = default(StatusEnum), string scheduledAt = default(string), bool? abTesting = default(bool?), string subjectA = default(string), string subjectB = default(string), int? splitRule = default(int?), string winnerCriteria = default(string), int? winnerDelay = default(int?), bool? sendAtBestTime = default(bool?), bool? testSent = default(bool?), string header = default(string), string footer = default(string), GetExtendedCampaignOverviewSender sender = default(GetExtendedCampaignOverviewSender), string replyTo = default(string), string toField = default(string), string htmlContent = default(string), string shareLink = default(string), string tag = default(string), string createdAt = default(string), string modifiedAt = default(string), bool? inlineImageActivation = default(bool?), bool? mirrorActive = default(bool?), bool? recurring = default(bool?), string sentDate = default(string), long? returnBounce = default(long?)) { // to ensure "id" is required (not null) if (id == null) @@ -300,7 +300,7 @@ protected GetExtendedCampaignOverview() { } /// /// UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="scheduledAt", EmitDefaultValue=false)] - public DateTime? ScheduledAt { get; set; } + public string ScheduledAt { get; set; } /// /// Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. @@ -418,14 +418,14 @@ protected GetExtendedCampaignOverview() { } /// /// Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="createdAt", EmitDefaultValue=false)] - public DateTime? CreatedAt { get; set; } + public string CreatedAt { get; set; } /// /// UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) /// /// UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="modifiedAt", EmitDefaultValue=false)] - public DateTime? ModifiedAt { get; set; } + public string ModifiedAt { get; set; } /// /// Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. @@ -453,7 +453,7 @@ protected GetExtendedCampaignOverview() { } /// /// Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' [DataMember(Name="sentDate", EmitDefaultValue=false)] - public DateTime? SentDate { get; set; } + public string SentDate { get; set; } /// /// Total number of non-delivered campaigns for a particular campaign id. diff --git a/src/sib_api_v3_sdk/Model/GetExtendedContactDetails.cs b/src/sib_api_v3_sdk/Model/GetExtendedContactDetails.cs index 9ba4988..0f05e1f 100644 --- a/src/sib_api_v3_sdk/Model/GetExtendedContactDetails.cs +++ b/src/sib_api_v3_sdk/Model/GetExtendedContactDetails.cs @@ -46,7 +46,7 @@ protected GetExtendedContactDetails() { } /// listUnsubscribed. /// Set of attributes of the contact (required). /// statistics (required). - public GetExtendedContactDetails(string email = default(string), long? id = default(long?), bool? emailBlacklisted = default(bool?), bool? smsBlacklisted = default(bool?), DateTime? createdAt = default(DateTime?), DateTime? modifiedAt = default(DateTime?), List listIds = default(List), List listUnsubscribed = default(List), Object attributes = default(Object), GetExtendedContactDetailsStatistics statistics = default(GetExtendedContactDetailsStatistics)) + public GetExtendedContactDetails(string email = default(string), long? id = default(long?), bool? emailBlacklisted = default(bool?), bool? smsBlacklisted = default(bool?), string createdAt = default(string), string modifiedAt = default(string), List listIds = default(List), List listUnsubscribed = default(List), Object attributes = default(Object), GetExtendedContactDetailsStatistics statistics = default(GetExtendedContactDetailsStatistics)) { // to ensure "email" is required (not null) if (email == null) @@ -165,14 +165,14 @@ protected GetExtendedContactDetails() { } /// /// Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="createdAt", EmitDefaultValue=false)] - public DateTime? CreatedAt { get; set; } + public string CreatedAt { get; set; } /// /// Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) /// /// Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="modifiedAt", EmitDefaultValue=false)] - public DateTime? ModifiedAt { get; set; } + public string ModifiedAt { get; set; } /// /// Gets or Sets ListIds diff --git a/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsLinks.cs b/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsLinks.cs index 443e877..b0af0b3 100644 --- a/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsLinks.cs +++ b/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsLinks.cs @@ -40,7 +40,7 @@ protected GetExtendedContactDetailsStatisticsLinks() { } /// UTC date-time of the event (required). /// IP from which the user has clicked on the link (required). /// URL of the clicked link (required). - public GetExtendedContactDetailsStatisticsLinks(long? count = default(long?), DateTime? eventTime = default(DateTime?), string ip = default(string), string url = default(string)) + public GetExtendedContactDetailsStatisticsLinks(long? count = default(long?), string eventTime = default(string), string ip = default(string), string url = default(string)) { // to ensure "count" is required (not null) if (count == null) @@ -92,7 +92,7 @@ protected GetExtendedContactDetailsStatisticsLinks() { } /// /// UTC date-time of the event [DataMember(Name="eventTime", EmitDefaultValue=false)] - public DateTime? EventTime { get; set; } + public string EventTime { get; set; } /// /// IP from which the user has clicked on the link diff --git a/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsMessagesSent.cs b/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsMessagesSent.cs index 4b7ec35..358a2ea 100644 --- a/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsMessagesSent.cs +++ b/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsMessagesSent.cs @@ -38,7 +38,7 @@ protected GetExtendedContactDetailsStatisticsMessagesSent() { } /// /// ID of the campaign which generated the event (required). /// UTC date-time of the event (required). - public GetExtendedContactDetailsStatisticsMessagesSent(long? campaignId = default(long?), DateTime? eventTime = default(DateTime?)) + public GetExtendedContactDetailsStatisticsMessagesSent(long? campaignId = default(long?), string eventTime = default(string)) { // to ensure "campaignId" is required (not null) if (campaignId == null) @@ -72,7 +72,7 @@ protected GetExtendedContactDetailsStatisticsMessagesSent() { } /// /// UTC date-time of the event [DataMember(Name="eventTime", EmitDefaultValue=false)] - public DateTime? EventTime { get; set; } + public string EventTime { get; set; } /// /// Returns the string presentation of the object diff --git a/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsOpened.cs b/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsOpened.cs index b7bce4b..c9fc9ab 100644 --- a/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsOpened.cs +++ b/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsOpened.cs @@ -40,7 +40,7 @@ protected GetExtendedContactDetailsStatisticsOpened() { } /// Number of openings for the campaign (required). /// UTC date-time of the event (required). /// IP from which the user has opened the email (required). - public GetExtendedContactDetailsStatisticsOpened(long? campaignId = default(long?), long? count = default(long?), DateTime? eventTime = default(DateTime?), string ip = default(string)) + public GetExtendedContactDetailsStatisticsOpened(long? campaignId = default(long?), long? count = default(long?), string eventTime = default(string), string ip = default(string)) { // to ensure "campaignId" is required (not null) if (campaignId == null) @@ -99,7 +99,7 @@ protected GetExtendedContactDetailsStatisticsOpened() { } /// /// UTC date-time of the event [DataMember(Name="eventTime", EmitDefaultValue=false)] - public DateTime? EventTime { get; set; } + public string EventTime { get; set; } /// /// IP from which the user has opened the email diff --git a/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.cs b/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.cs index b85feb8..d041244 100644 --- a/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.cs +++ b/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.cs @@ -38,7 +38,7 @@ protected GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription( /// /// UTC date-time of the event (required). /// IP from which the user has been unsubscribed. - public GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription(DateTime? eventTime = default(DateTime?), string ip = default(string)) + public GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription(string eventTime = default(string), string ip = default(string)) { // to ensure "eventTime" is required (not null) if (eventTime == null) @@ -57,7 +57,7 @@ protected GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription( /// /// UTC date-time of the event [DataMember(Name="eventTime", EmitDefaultValue=false)] - public DateTime? EventTime { get; set; } + public string EventTime { get; set; } /// /// IP from which the user has been unsubscribed diff --git a/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.cs b/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.cs index d17d605..d5eadf8 100644 --- a/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.cs +++ b/src/sib_api_v3_sdk/Model/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.cs @@ -39,7 +39,7 @@ protected GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription() /// ID of the campaign which generated the event (required). /// UTC date-time of the event (required). /// IP from which the user has unsubscribed. - public GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription(long? campaignId = default(long?), DateTime? eventTime = default(DateTime?), string ip = default(string)) + public GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription(long? campaignId = default(long?), string eventTime = default(string), string ip = default(string)) { // to ensure "campaignId" is required (not null) if (campaignId == null) @@ -74,7 +74,7 @@ protected GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription() /// /// UTC date-time of the event [DataMember(Name="eventTime", EmitDefaultValue=false)] - public DateTime? EventTime { get; set; } + public string EventTime { get; set; } /// /// IP from which the user has unsubscribed diff --git a/src/sib_api_v3_sdk/Model/GetExtendedList.cs b/src/sib_api_v3_sdk/Model/GetExtendedList.cs index 3d72f1a..6b77824 100644 --- a/src/sib_api_v3_sdk/Model/GetExtendedList.cs +++ b/src/sib_api_v3_sdk/Model/GetExtendedList.cs @@ -44,7 +44,7 @@ protected GetExtendedList() { } /// Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) (required). /// campaignStats. /// Status telling if the list is dynamic or not (true=dynamic, false=not dynamic). - public GetExtendedList(long? id = default(long?), string name = default(string), long? totalBlacklisted = default(long?), long? totalSubscribers = default(long?), long? folderId = default(long?), DateTime? createdAt = default(DateTime?), List campaignStats = default(List), bool? dynamicList = default(bool?)) + public GetExtendedList(long? id = default(long?), string name = default(string), long? totalBlacklisted = default(long?), long? totalSubscribers = default(long?), long? folderId = default(long?), string createdAt = default(string), List campaignStats = default(List), bool? dynamicList = default(bool?)) { // to ensure "id" is required (not null) if (id == null) @@ -144,7 +144,7 @@ protected GetExtendedList() { } /// /// Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="createdAt", EmitDefaultValue=false)] - public DateTime? CreatedAt { get; set; } + public string CreatedAt { get; set; } /// /// Gets or Sets CampaignStats diff --git a/src/sib_api_v3_sdk/Model/GetSmsCampaign.cs b/src/sib_api_v3_sdk/Model/GetSmsCampaign.cs index 3e13ebf..0a21227 100644 --- a/src/sib_api_v3_sdk/Model/GetSmsCampaign.cs +++ b/src/sib_api_v3_sdk/Model/GetSmsCampaign.cs @@ -97,7 +97,7 @@ protected GetSmsCampaign() { } /// UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) (required). /// recipients (required). /// statistics (required). - public GetSmsCampaign(long? id = default(long?), string name = default(string), StatusEnum status = default(StatusEnum), string content = default(string), DateTime? scheduledAt = default(DateTime?), string sender = default(string), DateTime? createdAt = default(DateTime?), DateTime? modifiedAt = default(DateTime?), Object recipients = default(Object), Object statistics = default(Object)) + public GetSmsCampaign(long? id = default(long?), string name = default(string), StatusEnum status = default(StatusEnum), string content = default(string), string scheduledAt = default(string), string sender = default(string), string createdAt = default(string), string modifiedAt = default(string), Object recipients = default(Object), Object statistics = default(Object)) { // to ensure "id" is required (not null) if (id == null) @@ -210,7 +210,7 @@ protected GetSmsCampaign() { } /// /// UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format [DataMember(Name="scheduledAt", EmitDefaultValue=false)] - public DateTime? ScheduledAt { get; set; } + public string ScheduledAt { get; set; } /// /// Sender of the SMS Campaign @@ -224,14 +224,14 @@ protected GetSmsCampaign() { } /// /// Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="createdAt", EmitDefaultValue=false)] - public DateTime? CreatedAt { get; set; } + public string CreatedAt { get; set; } /// /// UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) /// /// UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="modifiedAt", EmitDefaultValue=false)] - public DateTime? ModifiedAt { get; set; } + public string ModifiedAt { get; set; } /// /// Gets or Sets Recipients diff --git a/src/sib_api_v3_sdk/Model/GetSmsCampaignOverview.cs b/src/sib_api_v3_sdk/Model/GetSmsCampaignOverview.cs index 1ae00d7..7916f90 100644 --- a/src/sib_api_v3_sdk/Model/GetSmsCampaignOverview.cs +++ b/src/sib_api_v3_sdk/Model/GetSmsCampaignOverview.cs @@ -95,7 +95,7 @@ protected GetSmsCampaignOverview() { } /// Sender of the SMS Campaign (required). /// Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) (required). /// UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) (required). - public GetSmsCampaignOverview(long? id = default(long?), string name = default(string), StatusEnum status = default(StatusEnum), string content = default(string), DateTime? scheduledAt = default(DateTime?), string sender = default(string), DateTime? createdAt = default(DateTime?), DateTime? modifiedAt = default(DateTime?)) + public GetSmsCampaignOverview(long? id = default(long?), string name = default(string), StatusEnum status = default(StatusEnum), string content = default(string), string scheduledAt = default(string), string sender = default(string), string createdAt = default(string), string modifiedAt = default(string)) { // to ensure "id" is required (not null) if (id == null) @@ -190,7 +190,7 @@ protected GetSmsCampaignOverview() { } /// /// UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format [DataMember(Name="scheduledAt", EmitDefaultValue=false)] - public DateTime? ScheduledAt { get; set; } + public string ScheduledAt { get; set; } /// /// Sender of the SMS Campaign @@ -204,14 +204,14 @@ protected GetSmsCampaignOverview() { } /// /// Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="createdAt", EmitDefaultValue=false)] - public DateTime? CreatedAt { get; set; } + public string CreatedAt { get; set; } /// /// UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) /// /// UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="modifiedAt", EmitDefaultValue=false)] - public DateTime? ModifiedAt { get; set; } + public string ModifiedAt { get; set; } /// /// Returns the string presentation of the object diff --git a/src/sib_api_v3_sdk/Model/GetSmsEventReportEvents.cs b/src/sib_api_v3_sdk/Model/GetSmsEventReportEvents.cs index 0014971..5af694b 100644 --- a/src/sib_api_v3_sdk/Model/GetSmsEventReportEvents.cs +++ b/src/sib_api_v3_sdk/Model/GetSmsEventReportEvents.cs @@ -107,7 +107,7 @@ public enum EventEnum /// Reason of bounce (only available if the event is hardbounce or softbounce). /// reply. /// Tag of the SMS which generated the event. - public GetSmsEventReportEvents(string phoneNumber = default(string), DateTime? date = default(DateTime?), string messageId = default(string), EventEnum? _event = default(EventEnum?), string reason = default(string), string reply = default(string), string tag = default(string)) + public GetSmsEventReportEvents(string phoneNumber = default(string), string date = default(string), string messageId = default(string), EventEnum? _event = default(EventEnum?), string reason = default(string), string reply = default(string), string tag = default(string)) { this.PhoneNumber = phoneNumber; this.Date = date; @@ -130,7 +130,7 @@ public enum EventEnum /// /// UTC date-time on which the event has been generated [DataMember(Name="date", EmitDefaultValue=false)] - public DateTime? Date { get; set; } + public string Date { get; set; } /// /// Message ID which generated the event diff --git a/src/sib_api_v3_sdk/Model/GetSmtpTemplateOverview.cs b/src/sib_api_v3_sdk/Model/GetSmtpTemplateOverview.cs index dfdf42a..7eebfe6 100644 --- a/src/sib_api_v3_sdk/Model/GetSmtpTemplateOverview.cs +++ b/src/sib_api_v3_sdk/Model/GetSmtpTemplateOverview.cs @@ -49,7 +49,7 @@ protected GetSmtpTemplateOverview() { } /// Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) (required). /// Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) (required). /// It is true if template is a valid Double opt-in (DOI) template, otherwise it is false. This field will be available only in case of single template detail call.. - public GetSmtpTemplateOverview(long? id = default(long?), string name = default(string), string subject = default(string), bool? isActive = default(bool?), bool? testSent = default(bool?), GetSmtpTemplateOverviewSender sender = default(GetSmtpTemplateOverviewSender), string replyTo = default(string), string toField = default(string), string tag = default(string), string htmlContent = default(string), DateTime? createdAt = default(DateTime?), DateTime? modifiedAt = default(DateTime?), bool? doiTemplate = default(bool?)) + public GetSmtpTemplateOverview(long? id = default(long?), string name = default(string), string subject = default(string), bool? isActive = default(bool?), bool? testSent = default(bool?), GetSmtpTemplateOverviewSender sender = default(GetSmtpTemplateOverviewSender), string replyTo = default(string), string toField = default(string), string tag = default(string), string htmlContent = default(string), string createdAt = default(string), string modifiedAt = default(string), bool? doiTemplate = default(bool?)) { // to ensure "id" is required (not null) if (id == null) @@ -236,14 +236,14 @@ protected GetSmtpTemplateOverview() { } /// /// Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="createdAt", EmitDefaultValue=false)] - public DateTime? CreatedAt { get; set; } + public string CreatedAt { get; set; } /// /// Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) /// /// Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="modifiedAt", EmitDefaultValue=false)] - public DateTime? ModifiedAt { get; set; } + public string ModifiedAt { get; set; } /// /// It is true if template is a valid Double opt-in (DOI) template, otherwise it is false. This field will be available only in case of single template detail call. diff --git a/src/sib_api_v3_sdk/Model/GetTransacBlockedContactsContacts.cs b/src/sib_api_v3_sdk/Model/GetTransacBlockedContactsContacts.cs index 635018e..26d9c45 100644 --- a/src/sib_api_v3_sdk/Model/GetTransacBlockedContactsContacts.cs +++ b/src/sib_api_v3_sdk/Model/GetTransacBlockedContactsContacts.cs @@ -40,7 +40,7 @@ protected GetTransacBlockedContactsContacts() { } /// Sender email address of the blocked or unsubscribed contact (required). /// reason (required). /// Date when the contact was blocked or unsubscribed on (required). - public GetTransacBlockedContactsContacts(string email = default(string), string senderEmail = default(string), GetTransacBlockedContactsReason reason = default(GetTransacBlockedContactsReason), DateTime? blockedAt = default(DateTime?)) + public GetTransacBlockedContactsContacts(string email = default(string), string senderEmail = default(string), GetTransacBlockedContactsReason reason = default(GetTransacBlockedContactsReason), string blockedAt = default(string)) { // to ensure "email" is required (not null) if (email == null) @@ -105,7 +105,7 @@ protected GetTransacBlockedContactsContacts() { } /// /// Date when the contact was blocked or unsubscribed on [DataMember(Name="blockedAt", EmitDefaultValue=false)] - public DateTime? BlockedAt { get; set; } + public string BlockedAt { get; set; } /// /// Returns the string presentation of the object diff --git a/src/sib_api_v3_sdk/Model/GetTransacEmailContent.cs b/src/sib_api_v3_sdk/Model/GetTransacEmailContent.cs index eed4909..5dfca68 100644 --- a/src/sib_api_v3_sdk/Model/GetTransacEmailContent.cs +++ b/src/sib_api_v3_sdk/Model/GetTransacEmailContent.cs @@ -43,7 +43,7 @@ protected GetTransacEmailContent() { } /// Series of events which occurred on the transactional email (required). /// Actual content of the transactional email that has been sent (required). /// Count of the attachments that were sent in the email (required). - public GetTransacEmailContent(string email = default(string), string subject = default(string), long? templateId = default(long?), DateTime? date = default(DateTime?), List events = default(List), string body = default(string), long? attachmentCount = default(long?)) + public GetTransacEmailContent(string email = default(string), string subject = default(string), long? templateId = default(long?), string date = default(string), List events = default(List), string body = default(string), long? attachmentCount = default(long?)) { // to ensure "email" is required (not null) if (email == null) @@ -128,7 +128,7 @@ protected GetTransacEmailContent() { } /// /// Date on which transactional email was sent [DataMember(Name="date", EmitDefaultValue=false)] - public DateTime? Date { get; set; } + public string Date { get; set; } /// /// Series of events which occurred on the transactional email diff --git a/src/sib_api_v3_sdk/Model/GetTransacEmailContentEvents.cs b/src/sib_api_v3_sdk/Model/GetTransacEmailContentEvents.cs index d11aceb..563d8ca 100644 --- a/src/sib_api_v3_sdk/Model/GetTransacEmailContentEvents.cs +++ b/src/sib_api_v3_sdk/Model/GetTransacEmailContentEvents.cs @@ -38,7 +38,7 @@ protected GetTransacEmailContentEvents() { } /// /// Name of the event that occurred on the sent email (required). /// Time at which the event occurred (required). - public GetTransacEmailContentEvents(string name = default(string), DateTime? time = default(DateTime?)) + public GetTransacEmailContentEvents(string name = default(string), string time = default(string)) { // to ensure "name" is required (not null) if (name == null) @@ -72,7 +72,7 @@ protected GetTransacEmailContentEvents() { } /// /// Time at which the event occurred [DataMember(Name="time", EmitDefaultValue=false)] - public DateTime? Time { get; set; } + public string Time { get; set; } /// /// Returns the string presentation of the object diff --git a/src/sib_api_v3_sdk/Model/GetTransacEmailsListTransactionalEmails.cs b/src/sib_api_v3_sdk/Model/GetTransacEmailsListTransactionalEmails.cs index d119ce6..cfa1f83 100644 --- a/src/sib_api_v3_sdk/Model/GetTransacEmailsListTransactionalEmails.cs +++ b/src/sib_api_v3_sdk/Model/GetTransacEmailsListTransactionalEmails.cs @@ -44,7 +44,7 @@ protected GetTransacEmailsListTransactionalEmails() { } /// Date on which transactional email was sent (required). /// Email address of the sender from which the email was sent. /// Tags used for your email. - public GetTransacEmailsListTransactionalEmails(string email = default(string), string subject = default(string), long? templateId = default(long?), string messageId = default(string), string uuid = default(string), DateTime? date = default(DateTime?), string from = default(string), List tags = default(List)) + public GetTransacEmailsListTransactionalEmails(string email = default(string), string subject = default(string), long? templateId = default(long?), string messageId = default(string), string uuid = default(string), string date = default(string), string from = default(string), List tags = default(List)) { // to ensure "email" is required (not null) if (email == null) @@ -136,7 +136,7 @@ protected GetTransacEmailsListTransactionalEmails() { } /// /// Date on which transactional email was sent [DataMember(Name="date", EmitDefaultValue=false)] - public DateTime? Date { get; set; } + public string Date { get; set; } /// /// Email address of the sender from which the email was sent diff --git a/src/sib_api_v3_sdk/Model/GetWebhook.cs b/src/sib_api_v3_sdk/Model/GetWebhook.cs index 231554a..5d7da8f 100644 --- a/src/sib_api_v3_sdk/Model/GetWebhook.cs +++ b/src/sib_api_v3_sdk/Model/GetWebhook.cs @@ -70,7 +70,7 @@ protected GetWebhook() { } /// Type of webhook (marketing or transac) (required). /// Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) (required). /// Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) (required). - public GetWebhook(string url = default(string), long? id = default(long?), string description = default(string), List events = default(List), TypeEnum type = default(TypeEnum), DateTime? createdAt = default(DateTime?), DateTime? modifiedAt = default(DateTime?)) + public GetWebhook(string url = default(string), long? id = default(long?), string description = default(string), List events = default(List), TypeEnum type = default(TypeEnum), string createdAt = default(string), string modifiedAt = default(string)) { // to ensure "url" is required (not null) if (url == null) @@ -170,14 +170,14 @@ protected GetWebhook() { } /// /// Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="createdAt", EmitDefaultValue=false)] - public DateTime? CreatedAt { get; set; } + public string CreatedAt { get; set; } /// /// Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) /// /// Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) [DataMember(Name="modifiedAt", EmitDefaultValue=false)] - public DateTime? ModifiedAt { get; set; } + public string ModifiedAt { get; set; } /// /// Returns the string presentation of the object diff --git a/src/sib_api_v3_sdk/Model/SendSmtpEmail.cs b/src/sib_api_v3_sdk/Model/SendSmtpEmail.cs index 3da898f..ed3204b 100644 --- a/src/sib_api_v3_sdk/Model/SendSmtpEmail.cs +++ b/src/sib_api_v3_sdk/Model/SendSmtpEmail.cs @@ -28,16 +28,11 @@ namespace sib_api_v3_sdk.Model [DataContract] public partial class SendSmtpEmail : IEquatable { - /// - /// Initializes a new instance of the class. - /// - [JsonConstructorAttribute] - protected SendSmtpEmail() { } /// /// Initializes a new instance of the class. /// /// sender. - /// List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] (required). + /// Mandatory if messageVersions are not passed, ignored if messageVersions are passed. List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}]. /// List of email addresses and names (optional) of the recipients in bcc. /// List of email addresses and names (optional) of the recipients in cc. /// HTML body of the message ( Mandatory if 'templateId' is not passed, ignored if 'templateId' is passed ). @@ -46,21 +41,14 @@ protected SendSmtpEmail() { } /// replyTo. /// Pass the absolute URL (no local file) or the base64 content of the attachment along with the attachment name (Mandatory if attachment content is passed). For example, `[{"url":"https://attachment.domain.com/myAttachmentFromUrl.jpg", "name":"myAttachmentFromUrl.jpg"}, {"content":"base64 example content", "name":"myAttachmentFromBase64.jpg"}]`. Allowed extensions for attachment file: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub, eps, odt, mp3, m4a, m4v, wma, ogg, flac, wav, aif, aifc, aiff, mp4, mov, avi, mkv, mpeg, mpg and wmv ( If 'templateId' is passed and is in New Template Language format then both attachment url and content are accepted. If template is in Old template Language format, then 'attachment' is ignored ). /// Pass the set of custom headers (not the standard headers) that shall be sent along the mail headers in the original email. 'sender.ip' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. Headers are allowed in `This-Case-Only` (i.e. words separated by hyphen with first letter of each word in capital letter), they will be converted to such case styling if not in this format in the request payload. For example, `{"sender.ip":"1.2.3.4", "X-Mailin-custom":"some_custom_header"}`.. - /// Id of the template. + /// Id of the template. Mandatory if messageVersions are passed. /// Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}. It's considered only if template is in New Template Language format.. + /// You can customize and send out multiple versions of a templateId. Some global parameters such as **to(mandatory), bcc, cc, replyTo, subject** can also be customized specific to each version. The size of individual params in all the messageVersions shall not exceed 100 KB limit and that of cumulative params shall not exceed 1000 KB. This feature is currently in its beta version. You can follow this **step-by-step guide** on how to use **messageVersions** to batch send emails - https://developers.sendinblue.com/docs/batch-send-transactional-emails. /// Tag your emails to find them more easily. - public SendSmtpEmail(SendSmtpEmailSender sender = default(SendSmtpEmailSender), List to = default(List), List bcc = default(List), List cc = default(List), string htmlContent = default(string), string textContent = default(string), string subject = default(string), SendSmtpEmailReplyTo replyTo = default(SendSmtpEmailReplyTo), List attachment = default(List), Object headers = default(Object), long? templateId = default(long?), Object _params = default(Object), List tags = default(List)) + public SendSmtpEmail(SendSmtpEmailSender sender = default(SendSmtpEmailSender), List to = default(List), List bcc = default(List), List cc = default(List), string htmlContent = default(string), string textContent = default(string), string subject = default(string), SendSmtpEmailReplyTo replyTo = default(SendSmtpEmailReplyTo), List attachment = default(List), Object headers = default(Object), long? templateId = default(long?), Object _params = default(Object), List messageVersions = default(List), List tags = default(List)) { - // to ensure "to" is required (not null) - if (to == null) - { - throw new InvalidDataException("to is a required property for SendSmtpEmail and cannot be null"); - } - else - { - this.To = to; - } this.Sender = sender; + this.To = to; this.Bcc = bcc; this.Cc = cc; this.HtmlContent = htmlContent; @@ -71,6 +59,7 @@ protected SendSmtpEmail() { } this.Headers = headers; this.TemplateId = templateId; this.Params = _params; + this.MessageVersions = messageVersions; this.Tags = tags; } @@ -81,9 +70,9 @@ protected SendSmtpEmail() { } public SendSmtpEmailSender Sender { get; set; } /// - /// List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] + /// Mandatory if messageVersions are not passed, ignored if messageVersions are passed. List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] /// - /// List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] + /// Mandatory if messageVersions are not passed, ignored if messageVersions are passed. List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] [DataMember(Name="to", EmitDefaultValue=false)] public List To { get; set; } @@ -143,9 +132,9 @@ protected SendSmtpEmail() { } public Object Headers { get; set; } /// - /// Id of the template + /// Id of the template. Mandatory if messageVersions are passed /// - /// Id of the template + /// Id of the template. Mandatory if messageVersions are passed [DataMember(Name="templateId", EmitDefaultValue=false)] public long? TemplateId { get; set; } @@ -156,6 +145,13 @@ protected SendSmtpEmail() { } [DataMember(Name="params", EmitDefaultValue=false)] public Object Params { get; set; } + /// + /// You can customize and send out multiple versions of a templateId. Some global parameters such as **to(mandatory), bcc, cc, replyTo, subject** can also be customized specific to each version. The size of individual params in all the messageVersions shall not exceed 100 KB limit and that of cumulative params shall not exceed 1000 KB. This feature is currently in its beta version. You can follow this **step-by-step guide** on how to use **messageVersions** to batch send emails - https://developers.sendinblue.com/docs/batch-send-transactional-emails + /// + /// You can customize and send out multiple versions of a templateId. Some global parameters such as **to(mandatory), bcc, cc, replyTo, subject** can also be customized specific to each version. The size of individual params in all the messageVersions shall not exceed 100 KB limit and that of cumulative params shall not exceed 1000 KB. This feature is currently in its beta version. You can follow this **step-by-step guide** on how to use **messageVersions** to batch send emails - https://developers.sendinblue.com/docs/batch-send-transactional-emails + [DataMember(Name="messageVersions", EmitDefaultValue=false)] + public List MessageVersions { get; set; } + /// /// Tag your emails to find them more easily /// @@ -183,6 +179,7 @@ public override string ToString() sb.Append(" Headers: ").Append(Headers).Append("\n"); sb.Append(" TemplateId: ").Append(TemplateId).Append("\n"); sb.Append(" Params: ").Append(Params).Append("\n"); + sb.Append(" MessageVersions: ").Append(MessageVersions).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -278,6 +275,11 @@ public bool Equals(SendSmtpEmail input) (this.Params != null && this.Params.Equals(input.Params)) ) && + ( + this.MessageVersions == input.MessageVersions || + this.MessageVersions != null && + this.MessageVersions.SequenceEqual(input.MessageVersions) + ) && ( this.Tags == input.Tags || this.Tags != null && @@ -318,6 +320,8 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.TemplateId.GetHashCode(); if (this.Params != null) hashCode = hashCode * 59 + this.Params.GetHashCode(); + if (this.MessageVersions != null) + hashCode = hashCode * 59 + this.MessageVersions.GetHashCode(); if (this.Tags != null) hashCode = hashCode * 59 + this.Tags.GetHashCode(); return hashCode; diff --git a/src/sib_api_v3_sdk/Model/SendSmtpEmailMessageVersions.cs b/src/sib_api_v3_sdk/Model/SendSmtpEmailMessageVersions.cs new file mode 100644 index 0000000..f606cd6 --- /dev/null +++ b/src/sib_api_v3_sdk/Model/SendSmtpEmailMessageVersions.cs @@ -0,0 +1,210 @@ +/* + * SendinBlue API + * + * SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :- -- -- -- -- -- --: | - -- -- -- -- -- -- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * + * OpenAPI spec version: 3.0.0 + * Contact: contact@sendinblue.com + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using SwaggerDateConverter = sib_api_v3_sdk.Client.SwaggerDateConverter; + +namespace sib_api_v3_sdk.Model +{ + /// + /// SendSmtpEmailMessageVersions + /// + [DataContract] + public partial class SendSmtpEmailMessageVersions : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected SendSmtpEmailMessageVersions() { } + /// + /// Initializes a new instance of the class. + /// + /// List of email addresses and names (_optional_) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] (required). + /// Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}. It's considered only if template is in New Template Language format.. + /// List of email addresses and names (optional) of the recipients in bcc. + /// List of email addresses and names (optional) of the recipients in cc. + /// replyTo. + /// Custom subject specific to message version . + public SendSmtpEmailMessageVersions(List to = default(List), Dictionary _params = default(Dictionary), List bcc = default(List), List cc = default(List), SendSmtpEmailReplyTo1 replyTo = default(SendSmtpEmailReplyTo1), string subject = default(string)) + { + // to ensure "to" is required (not null) + if (to == null) + { + throw new InvalidDataException("to is a required property for SendSmtpEmailMessageVersions and cannot be null"); + } + else + { + this.To = to; + } + this.Params = _params; + this.Bcc = bcc; + this.Cc = cc; + this.ReplyTo = replyTo; + this.Subject = subject; + } + + /// + /// List of email addresses and names (_optional_) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] + /// + /// List of email addresses and names (_optional_) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] + [DataMember(Name="to", EmitDefaultValue=false)] + public List To { get; set; } + + /// + /// Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}. It's considered only if template is in New Template Language format. + /// + /// Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}. It's considered only if template is in New Template Language format. + [DataMember(Name="params", EmitDefaultValue=false)] + public Dictionary Params { get; set; } + + /// + /// List of email addresses and names (optional) of the recipients in bcc + /// + /// List of email addresses and names (optional) of the recipients in bcc + [DataMember(Name="bcc", EmitDefaultValue=false)] + public List Bcc { get; set; } + + /// + /// List of email addresses and names (optional) of the recipients in cc + /// + /// List of email addresses and names (optional) of the recipients in cc + [DataMember(Name="cc", EmitDefaultValue=false)] + public List Cc { get; set; } + + /// + /// Gets or Sets ReplyTo + /// + [DataMember(Name="replyTo", EmitDefaultValue=false)] + public SendSmtpEmailReplyTo1 ReplyTo { get; set; } + + /// + /// Custom subject specific to message version + /// + /// Custom subject specific to message version + [DataMember(Name="subject", EmitDefaultValue=false)] + public string Subject { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class SendSmtpEmailMessageVersions {\n"); + sb.Append(" To: ").Append(To).Append("\n"); + sb.Append(" Params: ").Append(Params).Append("\n"); + sb.Append(" Bcc: ").Append(Bcc).Append("\n"); + sb.Append(" Cc: ").Append(Cc).Append("\n"); + sb.Append(" ReplyTo: ").Append(ReplyTo).Append("\n"); + sb.Append(" Subject: ").Append(Subject).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as SendSmtpEmailMessageVersions); + } + + /// + /// Returns true if SendSmtpEmailMessageVersions instances are equal + /// + /// Instance of SendSmtpEmailMessageVersions to be compared + /// Boolean + public bool Equals(SendSmtpEmailMessageVersions input) + { + if (input == null) + return false; + + return + ( + this.To == input.To || + this.To != null && + this.To.SequenceEqual(input.To) + ) && + ( + this.Params == input.Params || + this.Params != null && + this.Params.SequenceEqual(input.Params) + ) && + ( + this.Bcc == input.Bcc || + this.Bcc != null && + this.Bcc.SequenceEqual(input.Bcc) + ) && + ( + this.Cc == input.Cc || + this.Cc != null && + this.Cc.SequenceEqual(input.Cc) + ) && + ( + this.ReplyTo == input.ReplyTo || + (this.ReplyTo != null && + this.ReplyTo.Equals(input.ReplyTo)) + ) && + ( + this.Subject == input.Subject || + (this.Subject != null && + this.Subject.Equals(input.Subject)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.To != null) + hashCode = hashCode * 59 + this.To.GetHashCode(); + if (this.Params != null) + hashCode = hashCode * 59 + this.Params.GetHashCode(); + if (this.Bcc != null) + hashCode = hashCode * 59 + this.Bcc.GetHashCode(); + if (this.Cc != null) + hashCode = hashCode * 59 + this.Cc.GetHashCode(); + if (this.ReplyTo != null) + hashCode = hashCode * 59 + this.ReplyTo.GetHashCode(); + if (this.Subject != null) + hashCode = hashCode * 59 + this.Subject.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/sib_api_v3_sdk/Model/SendSmtpEmailReplyTo1.cs b/src/sib_api_v3_sdk/Model/SendSmtpEmailReplyTo1.cs new file mode 100644 index 0000000..a1057d9 --- /dev/null +++ b/src/sib_api_v3_sdk/Model/SendSmtpEmailReplyTo1.cs @@ -0,0 +1,143 @@ +/* + * SendinBlue API + * + * SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :- -- -- -- -- -- --: | - -- -- -- -- -- -- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * + * OpenAPI spec version: 3.0.0 + * Contact: contact@sendinblue.com + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using SwaggerDateConverter = sib_api_v3_sdk.Client.SwaggerDateConverter; + +namespace sib_api_v3_sdk.Model +{ + /// + /// Email (required), along with name (optional), on which transactional mail recipients will be able to reply back. For example, {"email":"ann6533@example.com", "name":"Ann"} + /// + [DataContract] + public partial class SendSmtpEmailReplyTo1 : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected SendSmtpEmailReplyTo1() { } + /// + /// Initializes a new instance of the class. + /// + /// Email address in reply to (required). + /// Name in reply to. Maximum allowed characters are 70.. + public SendSmtpEmailReplyTo1(string email = default(string), string name = default(string)) + { + // to ensure "email" is required (not null) + if (email == null) + { + throw new InvalidDataException("email is a required property for SendSmtpEmailReplyTo1 and cannot be null"); + } + else + { + this.Email = email; + } + this.Name = name; + } + + /// + /// Email address in reply to + /// + /// Email address in reply to + [DataMember(Name="email", EmitDefaultValue=false)] + public string Email { get; set; } + + /// + /// Name in reply to. Maximum allowed characters are 70. + /// + /// Name in reply to. Maximum allowed characters are 70. + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class SendSmtpEmailReplyTo1 {\n"); + sb.Append(" Email: ").Append(Email).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as SendSmtpEmailReplyTo1); + } + + /// + /// Returns true if SendSmtpEmailReplyTo1 instances are equal + /// + /// Instance of SendSmtpEmailReplyTo1 to be compared + /// Boolean + public bool Equals(SendSmtpEmailReplyTo1 input) + { + if (input == null) + return false; + + return + ( + this.Email == input.Email || + (this.Email != null && + this.Email.Equals(input.Email)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Email != null) + hashCode = hashCode * 59 + this.Email.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/sib_api_v3_sdk/Model/SendSmtpEmailTo1.cs b/src/sib_api_v3_sdk/Model/SendSmtpEmailTo1.cs new file mode 100644 index 0000000..97acb41 --- /dev/null +++ b/src/sib_api_v3_sdk/Model/SendSmtpEmailTo1.cs @@ -0,0 +1,143 @@ +/* + * SendinBlue API + * + * SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :- -- -- -- -- -- --: | - -- -- -- -- -- -- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * + * OpenAPI spec version: 3.0.0 + * Contact: contact@sendinblue.com + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using SwaggerDateConverter = sib_api_v3_sdk.Client.SwaggerDateConverter; + +namespace sib_api_v3_sdk.Model +{ + /// + /// SendSmtpEmailTo1 + /// + [DataContract] + public partial class SendSmtpEmailTo1 : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected SendSmtpEmailTo1() { } + /// + /// Initializes a new instance of the class. + /// + /// Email address of the recipient (required). + /// Name of the recipient. **Maximum allowed characters are 70**.. + public SendSmtpEmailTo1(string email = default(string), string name = default(string)) + { + // to ensure "email" is required (not null) + if (email == null) + { + throw new InvalidDataException("email is a required property for SendSmtpEmailTo1 and cannot be null"); + } + else + { + this.Email = email; + } + this.Name = name; + } + + /// + /// Email address of the recipient + /// + /// Email address of the recipient + [DataMember(Name="email", EmitDefaultValue=false)] + public string Email { get; set; } + + /// + /// Name of the recipient. **Maximum allowed characters are 70**. + /// + /// Name of the recipient. **Maximum allowed characters are 70**. + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class SendSmtpEmailTo1 {\n"); + sb.Append(" Email: ").Append(Email).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as SendSmtpEmailTo1); + } + + /// + /// Returns true if SendSmtpEmailTo1 instances are equal + /// + /// Instance of SendSmtpEmailTo1 to be compared + /// Boolean + public bool Equals(SendSmtpEmailTo1 input) + { + if (input == null) + return false; + + return + ( + this.Email == input.Email || + (this.Email != null && + this.Email.Equals(input.Email)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Email != null) + hashCode = hashCode * 59 + this.Email.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + return hashCode; + } + } + } + +} diff --git a/src/sib_api_v3_sdk/Model/UpdateEmailCampaign.cs b/src/sib_api_v3_sdk/Model/UpdateEmailCampaign.cs index a28fcd8..4312783 100644 --- a/src/sib_api_v3_sdk/Model/UpdateEmailCampaign.cs +++ b/src/sib_api_v3_sdk/Model/UpdateEmailCampaign.cs @@ -86,7 +86,7 @@ public enum WinnerCriteriaEnum /// Available for dedicated ip clients. Set this to true if you wish to warm up your ip. (default to false). /// Set an initial quota greater than 1 for warming up your ip. We recommend you set a value of 3000.. /// Set a percentage increase rate for warming up your ip. We recommend you set the increase rate to 30% per day. If you want to send the same number of emails every day, set the daily increase value to 0%.. - public UpdateEmailCampaign(string tag = default(string), UpdateEmailCampaignSender sender = default(UpdateEmailCampaignSender), string name = default(string), string htmlContent = default(string), string htmlUrl = default(string), DateTime? scheduledAt = default(DateTime?), string subject = default(string), string replyTo = default(string), string toField = default(string), UpdateEmailCampaignRecipients recipients = default(UpdateEmailCampaignRecipients), string attachmentUrl = default(string), bool? inlineImageActivation = false, bool? mirrorActive = default(bool?), bool? recurring = false, string footer = default(string), string header = default(string), string utmCampaign = default(string), Object _params = default(Object), bool? sendAtBestTime = default(bool?), bool? abTesting = false, string subjectA = default(string), string subjectB = default(string), long? splitRule = default(long?), WinnerCriteriaEnum? winnerCriteria = default(WinnerCriteriaEnum?), long? winnerDelay = default(long?), bool? ipWarmupEnable = false, long? initialQuota = default(long?), long? increaseRate = default(long?)) + public UpdateEmailCampaign(string tag = default(string), UpdateEmailCampaignSender sender = default(UpdateEmailCampaignSender), string name = default(string), string htmlContent = default(string), string htmlUrl = default(string), string scheduledAt = default(string), string subject = default(string), string replyTo = default(string), string toField = default(string), UpdateEmailCampaignRecipients recipients = default(UpdateEmailCampaignRecipients), string attachmentUrl = default(string), bool? inlineImageActivation = false, bool? mirrorActive = default(bool?), bool? recurring = false, string footer = default(string), string header = default(string), string utmCampaign = default(string), Object _params = default(Object), bool? sendAtBestTime = default(bool?), bool? abTesting = false, string subjectA = default(string), string subjectB = default(string), long? splitRule = default(long?), WinnerCriteriaEnum? winnerCriteria = default(WinnerCriteriaEnum?), long? winnerDelay = default(long?), bool? ipWarmupEnable = false, long? initialQuota = default(long?), long? increaseRate = default(long?)) { this.Tag = tag; this.Sender = sender; @@ -189,7 +189,7 @@ public enum WinnerCriteriaEnum /// /// UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). [DataMember(Name="scheduledAt", EmitDefaultValue=false)] - public DateTime? ScheduledAt { get; set; } + public string ScheduledAt { get; set; } /// /// Subject of the campaign diff --git a/src/sib_api_v3_sdk/Model/UpdateSmsCampaign.cs b/src/sib_api_v3_sdk/Model/UpdateSmsCampaign.cs index 6f3f6bd..c569a25 100644 --- a/src/sib_api_v3_sdk/Model/UpdateSmsCampaign.cs +++ b/src/sib_api_v3_sdk/Model/UpdateSmsCampaign.cs @@ -36,7 +36,7 @@ public partial class UpdateSmsCampaign : IEquatable /// Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS. /// recipients. /// UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.. - public UpdateSmsCampaign(string name = default(string), string sender = default(string), string content = default(string), CreateSmsCampaignRecipients recipients = default(CreateSmsCampaignRecipients), DateTime? scheduledAt = default(DateTime?)) + public UpdateSmsCampaign(string name = default(string), string sender = default(string), string content = default(string), CreateSmsCampaignRecipients recipients = default(CreateSmsCampaignRecipients), string scheduledAt = default(string)) { this.Name = name; this.Sender = sender; @@ -77,7 +77,7 @@ public partial class UpdateSmsCampaign : IEquatable /// /// UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. [DataMember(Name="scheduledAt", EmitDefaultValue=false)] - public DateTime? ScheduledAt { get; set; } + public string ScheduledAt { get; set; } /// /// Returns the string presentation of the object diff --git a/src/sib_api_v3_sdk/sib_api_v3_sdk.csproj b/src/sib_api_v3_sdk/sib_api_v3_sdk.csproj index 5d99408..293d2b3 100644 --- a/src/sib_api_v3_sdk/sib_api_v3_sdk.csproj +++ b/src/sib_api_v3_sdk/sib_api_v3_sdk.csproj @@ -14,7 +14,7 @@ true true sib_api_v3_sdk - 3.1.0 + 3.2.0 https://github.com/sendinblue/APIv3-csharp-library/blob/master/LICENSE.txt https://github.com/sendinblue/APIv3-csharp-library https://github.com/sendinblue/APIv3-csharp-library