diff --git a/LICENSE.txt b/LICENSE.txt
index ea594db..2c3ec28 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2020 SendinBlue
+Copyright (c) 2023 SendinBlue
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index 851fb9b..886d953 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.3.0
+- SDK version: 4.0.2
- Build package: io.swagger.codegen.languages.CSharpClientCodegen
For more information, please visit [https://account.sendinblue.com/support](https://account.sendinblue.com/support)
@@ -89,23 +89,13 @@ All URIs are relative to *https://api.sendinblue.com/v3*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AccountApi* | [**GetAccount**](docs/AccountApi.md#getaccount) | **GET** /account | Get your account information, plan and credits details
-*AttributesApi* | [**CreateAttribute**](docs/AttributesApi.md#createattribute) | **POST** /contacts/attributes/{attributeCategory}/{attributeName} | Create contact attribute
-*AttributesApi* | [**DeleteAttribute**](docs/AttributesApi.md#deleteattribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute
-*AttributesApi* | [**GetAttributes**](docs/AttributesApi.md#getattributes) | **GET** /contacts/attributes | List all attributes
-*AttributesApi* | [**UpdateAttribute**](docs/AttributesApi.md#updateattribute) | **PUT** /contacts/attributes/{attributeCategory}/{attributeName} | Update contact attribute
-*CRMApi* | [**CrmFilesIdDataGet**](docs/CRMApi.md#crmfilesiddataget) | **GET** /crm/files/{id}/data | Get file details
-*CRMApi* | [**CrmFilesIdDelete**](docs/CRMApi.md#crmfilesiddelete) | **DELETE** /crm/files/{id} | Delete a file
-*CRMApi* | [**CrmFilesIdGet**](docs/CRMApi.md#crmfilesidget) | **GET** /crm/files/{id} | Download a file
-*CRMApi* | [**CrmFilesPost**](docs/CRMApi.md#crmfilespost) | **POST** /crm/files | Upload a file
-*CRMApi* | [**CrmNotesIdDelete**](docs/CRMApi.md#crmnotesiddelete) | **DELETE** /crm/notes/{id} | Delete a note
-*CRMApi* | [**CrmNotesIdGet**](docs/CRMApi.md#crmnotesidget) | **GET** /crm/notes/{id} | Get a note
-*CRMApi* | [**CrmNotesIdPatch**](docs/CRMApi.md#crmnotesidpatch) | **PATCH** /crm/notes/{id} | Update a note
-*CRMApi* | [**CrmNotesPost**](docs/CRMApi.md#crmnotespost) | **POST** /crm/notes | Create a note
-*CRMApi* | [**CrmTasksIdDelete**](docs/CRMApi.md#crmtasksiddelete) | **DELETE** /crm/tasks/{id} | Delete a task
-*CRMApi* | [**CrmTasksIdGet**](docs/CRMApi.md#crmtasksidget) | **GET** /crm/tasks/{id} | Get a task
-*CRMApi* | [**CrmTasksIdPatch**](docs/CRMApi.md#crmtasksidpatch) | **PATCH** /crm/tasks/{id} | Update a task
-*CRMApi* | [**CrmTasksPost**](docs/CRMApi.md#crmtaskspost) | **POST** /crm/tasks | Create a task
-*CRMApi* | [**CrmTasktypesGet**](docs/CRMApi.md#crmtasktypesget) | **GET** /crm/tasktypes | Get all task types
+*CompaniesApi* | [**CompaniesAttributesGet**](docs/CompaniesApi.md#companiesattributesget) | **GET** /companies/attributes | Get company attributes
+*CompaniesApi* | [**CompaniesGet**](docs/CompaniesApi.md#companiesget) | **GET** /companies | Get all companies
+*CompaniesApi* | [**CompaniesIdDelete**](docs/CompaniesApi.md#companiesiddelete) | **DELETE** /companies/{id} | Delete a company
+*CompaniesApi* | [**CompaniesIdGet**](docs/CompaniesApi.md#companiesidget) | **GET** /companies/{id} | Get a company
+*CompaniesApi* | [**CompaniesIdPatch**](docs/CompaniesApi.md#companiesidpatch) | **PATCH** /companies/{id} | Update a company
+*CompaniesApi* | [**CompaniesLinkUnlinkIdPatch**](docs/CompaniesApi.md#companieslinkunlinkidpatch) | **PATCH** /companies/link-unlink/{id} | Link and Unlink company with contacts and deals
+*CompaniesApi* | [**CompaniesPost**](docs/CompaniesApi.md#companiespost) | **POST** /companies | Create a company
*ContactsApi* | [**AddContactToList**](docs/ContactsApi.md#addcontacttolist) | **POST** /contacts/lists/{listId}/contacts/add | Add existing contacts to a list
*ContactsApi* | [**CreateAttribute**](docs/ContactsApi.md#createattribute) | **POST** /contacts/attributes/{attributeCategory}/{attributeName} | Create contact attribute
*ContactsApi* | [**CreateContact**](docs/ContactsApi.md#createcontact) | **POST** /contacts | Create a contact
@@ -134,6 +124,34 @@ Class | Method | HTTP request | Description
*ContactsApi* | [**UpdateContact**](docs/ContactsApi.md#updatecontact) | **PUT** /contacts/{identifier} | Update a contact
*ContactsApi* | [**UpdateFolder**](docs/ContactsApi.md#updatefolder) | **PUT** /contacts/folders/{folderId} | Update a folder
*ContactsApi* | [**UpdateList**](docs/ContactsApi.md#updatelist) | **PUT** /contacts/lists/{listId} | Update a list
+*ConversationsApi* | [**ConversationsAgentOnlinePingPost**](docs/ConversationsApi.md#conversationsagentonlinepingpost) | **POST** /conversations/agentOnlinePing | Sets agent’s status to online for 2-3 minutes
+*ConversationsApi* | [**ConversationsMessagesIdDelete**](docs/ConversationsApi.md#conversationsmessagesiddelete) | **DELETE** /conversations/messages/{id} | Delete a message sent by an agent
+*ConversationsApi* | [**ConversationsMessagesIdGet**](docs/ConversationsApi.md#conversationsmessagesidget) | **GET** /conversations/messages/{id} | Get a message
+*ConversationsApi* | [**ConversationsMessagesIdPut**](docs/ConversationsApi.md#conversationsmessagesidput) | **PUT** /conversations/messages/{id} | Update a message sent by an agent
+*ConversationsApi* | [**ConversationsMessagesPost**](docs/ConversationsApi.md#conversationsmessagespost) | **POST** /conversations/messages | Send a message as an agent
+*ConversationsApi* | [**ConversationsPushedMessagesIdDelete**](docs/ConversationsApi.md#conversationspushedmessagesiddelete) | **DELETE** /conversations/pushedMessages/{id} | Delete an automated message
+*ConversationsApi* | [**ConversationsPushedMessagesIdGet**](docs/ConversationsApi.md#conversationspushedmessagesidget) | **GET** /conversations/pushedMessages/{id} | Get an automated message
+*ConversationsApi* | [**ConversationsPushedMessagesIdPut**](docs/ConversationsApi.md#conversationspushedmessagesidput) | **PUT** /conversations/pushedMessages/{id} | Update an automated message
+*ConversationsApi* | [**ConversationsPushedMessagesPost**](docs/ConversationsApi.md#conversationspushedmessagespost) | **POST** /conversations/pushedMessages | Send an automated message to a visitor
+*DealsApi* | [**CrmAttributesDealsGet**](docs/DealsApi.md#crmattributesdealsget) | **GET** /crm/attributes/deals | Get deal attributes
+*DealsApi* | [**CrmDealsGet**](docs/DealsApi.md#crmdealsget) | **GET** /crm/deals | Get all deals
+*DealsApi* | [**CrmDealsIdDelete**](docs/DealsApi.md#crmdealsiddelete) | **DELETE** /crm/deals/{id} | Delete a deal
+*DealsApi* | [**CrmDealsIdGet**](docs/DealsApi.md#crmdealsidget) | **GET** /crm/deals/{id} | Get a deal
+*DealsApi* | [**CrmDealsIdPatch**](docs/DealsApi.md#crmdealsidpatch) | **PATCH** /crm/deals/{id} | Update a deal
+*DealsApi* | [**CrmDealsLinkUnlinkIdPatch**](docs/DealsApi.md#crmdealslinkunlinkidpatch) | **PATCH** /crm/deals/link-unlink/{id} | Link and Unlink a deal with contacts and companies
+*DealsApi* | [**CrmDealsPost**](docs/DealsApi.md#crmdealspost) | **POST** /crm/deals | Create a deal
+*DealsApi* | [**CrmPipelineDetailsGet**](docs/DealsApi.md#crmpipelinedetailsget) | **GET** /crm/pipeline/details | Get pipeline stages
+*EcommerceApi* | [**CreateBatchOrder**](docs/EcommerceApi.md#createbatchorder) | **POST** /orders/status/batch | Maintains a batch of orders
+*EcommerceApi* | [**CreateOrder**](docs/EcommerceApi.md#createorder) | **POST** /orders/status | Maintains every transactional status of the order
+*EcommerceApi* | [**CreateUpdateBatchCategory**](docs/EcommerceApi.md#createupdatebatchcategory) | **POST** /categories/batch | Create the categories in a batch
+*EcommerceApi* | [**CreateUpdateBatchProducts**](docs/EcommerceApi.md#createupdatebatchproducts) | **POST** /products/batch | Creates the products in a batch
+*EcommerceApi* | [**CreateUpdateCategory**](docs/EcommerceApi.md#createupdatecategory) | **POST** /categories | Create/Update a category
+*EcommerceApi* | [**CreateUpdateProduct**](docs/EcommerceApi.md#createupdateproduct) | **POST** /products | Create/Update a product
+*EcommerceApi* | [**EcommerceActivatePost**](docs/EcommerceApi.md#ecommerceactivatepost) | **POST** /ecommerce/activate | **Fulfills the eCommerce pre-requisites**
+*EcommerceApi* | [**GetCategories**](docs/EcommerceApi.md#getcategories) | **GET** /categories | Return all your categories
+*EcommerceApi* | [**GetCategoryInfo**](docs/EcommerceApi.md#getcategoryinfo) | **GET** /categories/{id} | Get a category details
+*EcommerceApi* | [**GetProductInfo**](docs/EcommerceApi.md#getproductinfo) | **GET** /products/{id} | Get a product's details
+*EcommerceApi* | [**GetProducts**](docs/EcommerceApi.md#getproducts) | **GET** /products | Return all your products
*EmailCampaignsApi* | [**CreateEmailCampaign**](docs/EmailCampaignsApi.md#createemailcampaign) | **POST** /emailCampaigns | Create an email campaign
*EmailCampaignsApi* | [**DeleteEmailCampaign**](docs/EmailCampaignsApi.md#deleteemailcampaign) | **DELETE** /emailCampaigns/{campaignId} | Delete an email campaign
*EmailCampaignsApi* | [**EmailExportRecipients**](docs/EmailCampaignsApi.md#emailexportrecipients) | **POST** /emailCampaigns/{campaignId}/exportRecipients | Export the recipients of an email campaign
@@ -147,30 +165,27 @@ Class | Method | HTTP request | Description
*EmailCampaignsApi* | [**UpdateCampaignStatus**](docs/EmailCampaignsApi.md#updatecampaignstatus) | **PUT** /emailCampaigns/{campaignId}/status | Update an email campaign status
*EmailCampaignsApi* | [**UpdateEmailCampaign**](docs/EmailCampaignsApi.md#updateemailcampaign) | **PUT** /emailCampaigns/{campaignId} | Update an email campaign
*EmailCampaignsApi* | [**UploadImageToGallery**](docs/EmailCampaignsApi.md#uploadimagetogallery) | **POST** /emailCampaigns/images | Upload an image to your account's image gallery
-*FoldersApi* | [**CreateFolder**](docs/FoldersApi.md#createfolder) | **POST** /contacts/folders | Create a folder
-*FoldersApi* | [**DeleteFolder**](docs/FoldersApi.md#deletefolder) | **DELETE** /contacts/folders/{folderId} | Delete a folder (and all its lists)
-*FoldersApi* | [**GetFolder**](docs/FoldersApi.md#getfolder) | **GET** /contacts/folders/{folderId} | Returns a folder's details
-*FoldersApi* | [**GetFolderLists**](docs/FoldersApi.md#getfolderlists) | **GET** /contacts/folders/{folderId}/lists | Get lists in a folder
-*FoldersApi* | [**GetFolders**](docs/FoldersApi.md#getfolders) | **GET** /contacts/folders | Get all folders
-*FoldersApi* | [**UpdateFolder**](docs/FoldersApi.md#updatefolder) | **PUT** /contacts/folders/{folderId} | Update a folder
+*FilesApi* | [**CrmFilesGet**](docs/FilesApi.md#crmfilesget) | **GET** /crm/files | Get all files
+*FilesApi* | [**CrmFilesIdDataGet**](docs/FilesApi.md#crmfilesiddataget) | **GET** /crm/files/{id}/data | Get file details
+*FilesApi* | [**CrmFilesIdDelete**](docs/FilesApi.md#crmfilesiddelete) | **DELETE** /crm/files/{id} | Delete a file
+*FilesApi* | [**CrmFilesIdGet**](docs/FilesApi.md#crmfilesidget) | **GET** /crm/files/{id} | Download a file
+*FilesApi* | [**CrmFilesPost**](docs/FilesApi.md#crmfilespost) | **POST** /crm/files | Upload a file
+*InboundParsingApi* | [**GetInboundEmailAttachment**](docs/InboundParsingApi.md#getinboundemailattachment) | **GET** /inbound/attachments/{downloadToken} | Retrieve inbound attachment with download token.
*InboundParsingApi* | [**GetInboundEmailEvents**](docs/InboundParsingApi.md#getinboundemailevents) | **GET** /inbound/events | Get the list of all the events for the received emails.
*InboundParsingApi* | [**GetInboundEmailEventsByUuid**](docs/InboundParsingApi.md#getinboundemaileventsbyuuid) | **GET** /inbound/events/{uuid} | Fetch all events history for one particular received email.
-*ListsApi* | [**AddContactToList**](docs/ListsApi.md#addcontacttolist) | **POST** /contacts/lists/{listId}/contacts/add | Add existing contacts to a list
-*ListsApi* | [**CreateList**](docs/ListsApi.md#createlist) | **POST** /contacts/lists | Create a list
-*ListsApi* | [**DeleteList**](docs/ListsApi.md#deletelist) | **DELETE** /contacts/lists/{listId} | Delete a list
-*ListsApi* | [**GetContactsFromList**](docs/ListsApi.md#getcontactsfromlist) | **GET** /contacts/lists/{listId}/contacts | Get contacts in a list
-*ListsApi* | [**GetFolderLists**](docs/ListsApi.md#getfolderlists) | **GET** /contacts/folders/{folderId}/lists | Get lists in a folder
-*ListsApi* | [**GetList**](docs/ListsApi.md#getlist) | **GET** /contacts/lists/{listId} | Get a list's details
-*ListsApi* | [**GetLists**](docs/ListsApi.md#getlists) | **GET** /contacts/lists | Get all the lists
-*ListsApi* | [**RemoveContactFromList**](docs/ListsApi.md#removecontactfromlist) | **POST** /contacts/lists/{listId}/contacts/remove | Delete a contact from a list
-*ListsApi* | [**UpdateList**](docs/ListsApi.md#updatelist) | **PUT** /contacts/lists/{listId} | Update a list
*MasterAccountApi* | [**CorporateMasterAccountGet**](docs/MasterAccountApi.md#corporatemasteraccountget) | **GET** /corporate/masterAccount | Get the details of requested master account
*MasterAccountApi* | [**CorporateSubAccountGet**](docs/MasterAccountApi.md#corporatesubaccountget) | **GET** /corporate/subAccount | Get the list of all the sub-accounts of the master account.
*MasterAccountApi* | [**CorporateSubAccountIdDelete**](docs/MasterAccountApi.md#corporatesubaccountiddelete) | **DELETE** /corporate/subAccount/{id} | Delete a sub-account
*MasterAccountApi* | [**CorporateSubAccountIdGet**](docs/MasterAccountApi.md#corporatesubaccountidget) | **GET** /corporate/subAccount/{id} | Get sub-account details
*MasterAccountApi* | [**CorporateSubAccountIdPlanPut**](docs/MasterAccountApi.md#corporatesubaccountidplanput) | **PUT** /corporate/subAccount/{id}/plan | Update sub-account plan
+*MasterAccountApi* | [**CorporateSubAccountKeyPost**](docs/MasterAccountApi.md#corporatesubaccountkeypost) | **POST** /corporate/subAccount/key | Create an API key for a sub-account
*MasterAccountApi* | [**CorporateSubAccountPost**](docs/MasterAccountApi.md#corporatesubaccountpost) | **POST** /corporate/subAccount | Create a new sub-account under a master account.
*MasterAccountApi* | [**CorporateSubAccountSsoTokenPost**](docs/MasterAccountApi.md#corporatesubaccountssotokenpost) | **POST** /corporate/subAccount/ssoToken | Generate SSO token to access Sendinblue
+*NotesApi* | [**CrmNotesGet**](docs/NotesApi.md#crmnotesget) | **GET** /crm/notes | Get all notes
+*NotesApi* | [**CrmNotesIdDelete**](docs/NotesApi.md#crmnotesiddelete) | **DELETE** /crm/notes/{id} | Delete a note
+*NotesApi* | [**CrmNotesIdGet**](docs/NotesApi.md#crmnotesidget) | **GET** /crm/notes/{id} | Get a note
+*NotesApi* | [**CrmNotesIdPatch**](docs/NotesApi.md#crmnotesidpatch) | **PATCH** /crm/notes/{id} | Update a note
+*NotesApi* | [**CrmNotesPost**](docs/NotesApi.md#crmnotespost) | **POST** /crm/notes | Create a note
*ProcessApi* | [**GetProcess**](docs/ProcessApi.md#getprocess) | **GET** /processes/{processId} | Return the informations for a process
*ProcessApi* | [**GetProcesses**](docs/ProcessApi.md#getprocesses) | **GET** /processes | Return all the processes for your account
*ResellerApi* | [**AddCredits**](docs/ResellerApi.md#addcredits) | **POST** /reseller/children/{childIdentifier}/credits/add | Add Email and/or SMS credits to a specific child account
@@ -205,14 +220,23 @@ Class | Method | HTTP request | Description
*SendersApi* | [**GetIpsFromSender**](docs/SendersApi.md#getipsfromsender) | **GET** /senders/{senderId}/ips | Get all the dedicated IPs for a sender
*SendersApi* | [**GetSenders**](docs/SendersApi.md#getsenders) | **GET** /senders | Get the list of all your senders
*SendersApi* | [**UpdateSender**](docs/SendersApi.md#updatesender) | **PUT** /senders/{senderId} | Update a sender
+*TasksApi* | [**CrmTasksGet**](docs/TasksApi.md#crmtasksget) | **GET** /crm/tasks | Get all tasks
+*TasksApi* | [**CrmTasksIdDelete**](docs/TasksApi.md#crmtasksiddelete) | **DELETE** /crm/tasks/{id} | Delete a task
+*TasksApi* | [**CrmTasksIdGet**](docs/TasksApi.md#crmtasksidget) | **GET** /crm/tasks/{id} | Get a task
+*TasksApi* | [**CrmTasksIdPatch**](docs/TasksApi.md#crmtasksidpatch) | **PATCH** /crm/tasks/{id} | Update a task
+*TasksApi* | [**CrmTasksPost**](docs/TasksApi.md#crmtaskspost) | **POST** /crm/tasks | Create a task
+*TasksApi* | [**CrmTasktypesGet**](docs/TasksApi.md#crmtasktypesget) | **GET** /crm/tasktypes | Get all task types
*TransactionalEmailsApi* | [**BlockNewDomain**](docs/TransactionalEmailsApi.md#blocknewdomain) | **POST** /smtp/blockedDomains | Add a new domain to the list of blocked domains
*TransactionalEmailsApi* | [**CreateSmtpTemplate**](docs/TransactionalEmailsApi.md#createsmtptemplate) | **POST** /smtp/templates | Create an email template
*TransactionalEmailsApi* | [**DeleteBlockedDomain**](docs/TransactionalEmailsApi.md#deleteblockeddomain) | **DELETE** /smtp/blockedDomains/{domain} | Unblock an existing domain from the list of blocked domains
*TransactionalEmailsApi* | [**DeleteHardbounces**](docs/TransactionalEmailsApi.md#deletehardbounces) | **POST** /smtp/deleteHardbounces | Delete hardbounces
+*TransactionalEmailsApi* | [**DeleteScheduledEmailById**](docs/TransactionalEmailsApi.md#deletescheduledemailbyid) | **DELETE** /smtp/email/{identifier} | Delete scheduled emails by batchId or messageId
*TransactionalEmailsApi* | [**DeleteSmtpTemplate**](docs/TransactionalEmailsApi.md#deletesmtptemplate) | **DELETE** /smtp/templates/{templateId} | Delete an inactive email template
*TransactionalEmailsApi* | [**GetAggregatedSmtpReport**](docs/TransactionalEmailsApi.md#getaggregatedsmtpreport) | **GET** /smtp/statistics/aggregatedReport | Get your transactional email activity aggregated over a period of time
*TransactionalEmailsApi* | [**GetBlockedDomains**](docs/TransactionalEmailsApi.md#getblockeddomains) | **GET** /smtp/blockedDomains | Get the list of blocked domains
*TransactionalEmailsApi* | [**GetEmailEventReport**](docs/TransactionalEmailsApi.md#getemaileventreport) | **GET** /smtp/statistics/events | Get all your transactional email activity (unaggregated events)
+*TransactionalEmailsApi* | [**GetScheduledEmailByBatchId**](docs/TransactionalEmailsApi.md#getscheduledemailbybatchid) | **GET** /smtp/emailStatus/{batchId} | Fetch scheduled emails by batchId
+*TransactionalEmailsApi* | [**GetScheduledEmailByMessageId**](docs/TransactionalEmailsApi.md#getscheduledemailbymessageid) | **GET** /smtp/emailStatus/{messageId} | Fetch scheduled email by messageId
*TransactionalEmailsApi* | [**GetSmtpReport**](docs/TransactionalEmailsApi.md#getsmtpreport) | **GET** /smtp/statistics/reports | Get your transactional email activity aggregated per day
*TransactionalEmailsApi* | [**GetSmtpTemplate**](docs/TransactionalEmailsApi.md#getsmtptemplate) | **GET** /smtp/templates/{templateId} | Returns the template information
*TransactionalEmailsApi* | [**GetSmtpTemplates**](docs/TransactionalEmailsApi.md#getsmtptemplates) | **GET** /smtp/templates | Get the list of email templates
@@ -233,6 +257,8 @@ Class | Method | HTTP request | Description
*WebhooksApi* | [**GetWebhook**](docs/WebhooksApi.md#getwebhook) | **GET** /webhooks/{webhookId} | Get a webhook details
*WebhooksApi* | [**GetWebhooks**](docs/WebhooksApi.md#getwebhooks) | **GET** /webhooks | Get all webhooks
*WebhooksApi* | [**UpdateWebhook**](docs/WebhooksApi.md#updatewebhook) | **PUT** /webhooks/{webhookId} | Update a webhook
+*WhatsappCampaignsApi* | [**DeleteWhatsappCampaign**](docs/WhatsappCampaignsApi.md#deletewhatsappcampaign) | **DELETE** /whatsappCampaigns/{campaignId} | Delete a whatsapp campaign
+*WhatsappCampaignsApi* | [**GetWhatsappCampaign**](docs/WhatsappCampaignsApi.md#getwhatsappcampaign) | **GET** /whatsappCampaigns/{campaignId} | Get Whatsapp campaign Overview
@@ -250,9 +276,31 @@ Class | Method | HTTP request | Description
- [Model.BlockDomain](docs/BlockDomain.md)
- [Model.Body](docs/Body.md)
- [Model.Body1](docs/Body1.md)
- - [Model.Contact](docs/Contact.md)
+ - [Model.Body10](docs/Body10.md)
+ - [Model.Body11](docs/Body11.md)
+ - [Model.Body12](docs/Body12.md)
+ - [Model.Body2](docs/Body2.md)
+ - [Model.Body3](docs/Body3.md)
+ - [Model.Body4](docs/Body4.md)
+ - [Model.Body5](docs/Body5.md)
+ - [Model.Body6](docs/Body6.md)
+ - [Model.Body7](docs/Body7.md)
+ - [Model.Body8](docs/Body8.md)
+ - [Model.Body9](docs/Body9.md)
+ - [Model.BodyVariablesItems](docs/BodyVariablesItems.md)
+ - [Model.CompaniesList](docs/CompaniesList.md)
+ - [Model.Company](docs/Company.md)
+ - [Model.CompanyAttributes](docs/CompanyAttributes.md)
+ - [Model.CompanyAttributesInner](docs/CompanyAttributesInner.md)
+ - [Model.ComponentItems](docs/ComponentItems.md)
+ - [Model.ConversationsMessage](docs/ConversationsMessage.md)
+ - [Model.ConversationsMessageFile](docs/ConversationsMessageFile.md)
+ - [Model.ConversationsMessageFileImageInfo](docs/ConversationsMessageFileImageInfo.md)
+ - [Model.CreateApiKeyRequest](docs/CreateApiKeyRequest.md)
+ - [Model.CreateApiKeyResponse](docs/CreateApiKeyResponse.md)
- [Model.CreateAttribute](docs/CreateAttribute.md)
- [Model.CreateAttributeEnumeration](docs/CreateAttributeEnumeration.md)
+ - [Model.CreateCategoryModel](docs/CreateCategoryModel.md)
- [Model.CreateChild](docs/CreateChild.md)
- [Model.CreateContact](docs/CreateContact.md)
- [Model.CreateDoiContact](docs/CreateDoiContact.md)
@@ -261,6 +309,7 @@ Class | Method | HTTP request | Description
- [Model.CreateEmailCampaignSender](docs/CreateEmailCampaignSender.md)
- [Model.CreateList](docs/CreateList.md)
- [Model.CreateModel](docs/CreateModel.md)
+ - [Model.CreateProductModel](docs/CreateProductModel.md)
- [Model.CreateReseller](docs/CreateReseller.md)
- [Model.CreateSender](docs/CreateSender.md)
- [Model.CreateSenderIps](docs/CreateSenderIps.md)
@@ -271,14 +320,30 @@ Class | Method | HTTP request | Description
- [Model.CreateSmtpTemplate](docs/CreateSmtpTemplate.md)
- [Model.CreateSmtpTemplateSender](docs/CreateSmtpTemplateSender.md)
- [Model.CreateSubAccount](docs/CreateSubAccount.md)
+ - [Model.CreateSubAccountResponse](docs/CreateSubAccountResponse.md)
+ - [Model.CreateUpdateBatchCategory](docs/CreateUpdateBatchCategory.md)
+ - [Model.CreateUpdateBatchCategoryModel](docs/CreateUpdateBatchCategoryModel.md)
+ - [Model.CreateUpdateBatchProducts](docs/CreateUpdateBatchProducts.md)
+ - [Model.CreateUpdateBatchProductsModel](docs/CreateUpdateBatchProductsModel.md)
+ - [Model.CreateUpdateCategories](docs/CreateUpdateCategories.md)
+ - [Model.CreateUpdateCategory](docs/CreateUpdateCategory.md)
- [Model.CreateUpdateContactModel](docs/CreateUpdateContactModel.md)
- [Model.CreateUpdateFolder](docs/CreateUpdateFolder.md)
+ - [Model.CreateUpdateProduct](docs/CreateUpdateProduct.md)
+ - [Model.CreateUpdateProducts](docs/CreateUpdateProducts.md)
- [Model.CreateWebhook](docs/CreateWebhook.md)
+ - [Model.CreatedBatchId](docs/CreatedBatchId.md)
- [Model.CreatedProcessId](docs/CreatedProcessId.md)
+ - [Model.Deal](docs/Deal.md)
+ - [Model.DealAttributes](docs/DealAttributes.md)
+ - [Model.DealAttributesInner](docs/DealAttributesInner.md)
+ - [Model.DealsList](docs/DealsList.md)
- [Model.DeleteHardbounces](docs/DeleteHardbounces.md)
- [Model.EmailExportRecipients](docs/EmailExportRecipients.md)
- [Model.ErrorModel](docs/ErrorModel.md)
- [Model.FileData](docs/FileData.md)
+ - [Model.FileDownloadableLink](docs/FileDownloadableLink.md)
+ - [Model.FileList](docs/FileList.md)
- [Model.GetAccountMarketingAutomation](docs/GetAccountMarketingAutomation.md)
- [Model.GetAccountPlan](docs/GetAccountPlan.md)
- [Model.GetAccountRelay](docs/GetAccountRelay.md)
@@ -291,6 +356,8 @@ Class | Method | HTTP request | Description
- [Model.GetCampaignOverview](docs/GetCampaignOverview.md)
- [Model.GetCampaignRecipients](docs/GetCampaignRecipients.md)
- [Model.GetCampaignStats](docs/GetCampaignStats.md)
+ - [Model.GetCategories](docs/GetCategories.md)
+ - [Model.GetCategoryDetails](docs/GetCategoryDetails.md)
- [Model.GetChildAccountCreationStatus](docs/GetChildAccountCreationStatus.md)
- [Model.GetChildDomain](docs/GetChildDomain.md)
- [Model.GetChildDomains](docs/GetChildDomains.md)
@@ -341,8 +408,13 @@ Class | Method | HTTP request | Description
- [Model.GetLists](docs/GetLists.md)
- [Model.GetProcess](docs/GetProcess.md)
- [Model.GetProcesses](docs/GetProcesses.md)
+ - [Model.GetProductDetails](docs/GetProductDetails.md)
+ - [Model.GetProducts](docs/GetProducts.md)
- [Model.GetReports](docs/GetReports.md)
- [Model.GetReportsReports](docs/GetReportsReports.md)
+ - [Model.GetScheduledEmailByBatchId](docs/GetScheduledEmailByBatchId.md)
+ - [Model.GetScheduledEmailByBatchIdBatches](docs/GetScheduledEmailByBatchIdBatches.md)
+ - [Model.GetScheduledEmailByMessageId](docs/GetScheduledEmailByMessageId.md)
- [Model.GetSendersList](docs/GetSendersList.md)
- [Model.GetSendersListIps](docs/GetSendersListIps.md)
- [Model.GetSendersListSenders](docs/GetSendersListSenders.md)
@@ -371,6 +443,10 @@ Class | Method | HTTP request | Description
- [Model.GetTransacSmsReportReports](docs/GetTransacSmsReportReports.md)
- [Model.GetWebhook](docs/GetWebhook.md)
- [Model.GetWebhooks](docs/GetWebhooks.md)
+ - [Model.GetWhatsappCampaignOverview](docs/GetWhatsappCampaignOverview.md)
+ - [Model.InlineResponse200](docs/InlineResponse200.md)
+ - [Model.InlineResponse201](docs/InlineResponse201.md)
+ - [Model.InlineResponse2011](docs/InlineResponse2011.md)
- [Model.ManageIp](docs/ManageIp.md)
- [Model.MasterDetailsResponse](docs/MasterDetailsResponse.md)
- [Model.MasterDetailsResponseBillingInfo](docs/MasterDetailsResponseBillingInfo.md)
@@ -380,6 +456,14 @@ Class | Method | HTTP request | Description
- [Model.MasterDetailsResponsePlanInfoFeatures](docs/MasterDetailsResponsePlanInfoFeatures.md)
- [Model.Note](docs/Note.md)
- [Model.NoteData](docs/NoteData.md)
+ - [Model.NoteId](docs/NoteId.md)
+ - [Model.NoteList](docs/NoteList.md)
+ - [Model.Order](docs/Order.md)
+ - [Model.OrderBatch](docs/OrderBatch.md)
+ - [Model.OrderBilling](docs/OrderBilling.md)
+ - [Model.OrderProducts](docs/OrderProducts.md)
+ - [Model.Pipeline](docs/Pipeline.md)
+ - [Model.PipelineStage](docs/PipelineStage.md)
- [Model.PostContactInfo](docs/PostContactInfo.md)
- [Model.PostContactInfoContacts](docs/PostContactInfoContacts.md)
- [Model.PostSendFailed](docs/PostSendFailed.md)
@@ -394,6 +478,7 @@ Class | Method | HTTP request | Description
- [Model.RequestContactImport](docs/RequestContactImport.md)
- [Model.RequestContactImportNewList](docs/RequestContactImportNewList.md)
- [Model.RequestSmsRecipientExport](docs/RequestSmsRecipientExport.md)
+ - [Model.ScheduleSmtpEmail](docs/ScheduleSmtpEmail.md)
- [Model.SendReport](docs/SendReport.md)
- [Model.SendReportEmail](docs/SendReportEmail.md)
- [Model.SendSms](docs/SendSms.md)
@@ -425,6 +510,7 @@ Class | Method | HTTP request | Description
- [Model.SubAccountsResponse](docs/SubAccountsResponse.md)
- [Model.SubAccountsResponseSubAccounts](docs/SubAccountsResponseSubAccounts.md)
- [Model.Task](docs/Task.md)
+ - [Model.TaskList](docs/TaskList.md)
- [Model.TaskReminder](docs/TaskReminder.md)
- [Model.TaskTypes](docs/TaskTypes.md)
- [Model.UpdateAttribute](docs/UpdateAttribute.md)
@@ -446,7 +532,11 @@ Class | Method | HTTP request | Description
- [Model.UpdateSmtpTemplate](docs/UpdateSmtpTemplate.md)
- [Model.UpdateSmtpTemplateSender](docs/UpdateSmtpTemplateSender.md)
- [Model.UpdateWebhook](docs/UpdateWebhook.md)
+ - [Model.UploadImageModel](docs/UploadImageModel.md)
- [Model.UploadImageToGallery](docs/UploadImageToGallery.md)
+ - [Model.VariablesItems](docs/VariablesItems.md)
+ - [Model.WhatsappCampStats](docs/WhatsappCampStats.md)
+ - [Model.WhatsappCampTemplate](docs/WhatsappCampTemplate.md)
- [Model.GetChildInfo](docs/GetChildInfo.md)
- [Model.GetExtendedCampaignOverview](docs/GetExtendedCampaignOverview.md)
- [Model.GetExtendedClient](docs/GetExtendedClient.md)
diff --git a/docs/AttributesApi.md b/docs/AttributesApi.md
deleted file mode 100644
index c90674d..0000000
--- a/docs/AttributesApi.md
+++ /dev/null
@@ -1,287 +0,0 @@
-# sib_api_v3_sdk.Api.AttributesApi
-
-All URIs are relative to *https://api.sendinblue.com/v3*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**CreateAttribute**](AttributesApi.md#createattribute) | **POST** /contacts/attributes/{attributeCategory}/{attributeName} | Create contact attribute
-[**DeleteAttribute**](AttributesApi.md#deleteattribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute
-[**GetAttributes**](AttributesApi.md#getattributes) | **GET** /contacts/attributes | List all attributes
-[**UpdateAttribute**](AttributesApi.md#updateattribute) | **PUT** /contacts/attributes/{attributeCategory}/{attributeName} | Update contact attribute
-
-
-
-# **CreateAttribute**
-> void CreateAttribute (string attributeCategory, string attributeName, CreateAttribute createAttribute)
-
-Create contact attribute
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using sib_api_v3_sdk.Api;
-using sib_api_v3_sdk.Client;
-using sib_api_v3_sdk.Model;
-
-namespace Example
-{
- public class CreateAttributeExample
- {
- public void main()
- {
- // Configure API key authorization: api-key
- Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
- // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
- // Configure API key authorization: partner-key
- Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
- // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
-
- var apiInstance = new AttributesApi();
- var attributeCategory = attributeCategory_example; // string | Category of the attribute
- var attributeName = attributeName_example; // string | Name of the attribute
- var createAttribute = new CreateAttribute(); // CreateAttribute | Values to create an attribute
-
- try
- {
- // Create contact attribute
- apiInstance.CreateAttribute(attributeCategory, attributeName, createAttribute);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AttributesApi.CreateAttribute: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **attributeCategory** | **string**| Category of the attribute |
- **attributeName** | **string**| Name of the attribute |
- **createAttribute** | [**CreateAttribute**](CreateAttribute.md)| Values to create an attribute |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **DeleteAttribute**
-> void DeleteAttribute (string attributeCategory, string attributeName)
-
-Delete an attribute
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using sib_api_v3_sdk.Api;
-using sib_api_v3_sdk.Client;
-using sib_api_v3_sdk.Model;
-
-namespace Example
-{
- public class DeleteAttributeExample
- {
- public void main()
- {
- // Configure API key authorization: api-key
- Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
- // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
- // Configure API key authorization: partner-key
- Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
- // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
-
- var apiInstance = new AttributesApi();
- var attributeCategory = attributeCategory_example; // string | Category of the attribute
- var attributeName = attributeName_example; // string | Name of the existing attribute
-
- try
- {
- // Delete an attribute
- apiInstance.DeleteAttribute(attributeCategory, attributeName);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AttributesApi.DeleteAttribute: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **attributeCategory** | **string**| Category of the attribute |
- **attributeName** | **string**| Name of the existing attribute |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **GetAttributes**
-> GetAttributes GetAttributes ()
-
-List all attributes
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using sib_api_v3_sdk.Api;
-using sib_api_v3_sdk.Client;
-using sib_api_v3_sdk.Model;
-
-namespace Example
-{
- public class GetAttributesExample
- {
- public void main()
- {
- // Configure API key authorization: api-key
- Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
- // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
- // Configure API key authorization: partner-key
- Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
- // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
-
- var apiInstance = new AttributesApi();
-
- try
- {
- // List all attributes
- GetAttributes result = apiInstance.GetAttributes();
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AttributesApi.GetAttributes: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**GetAttributes**](GetAttributes.md)
-
-### Authorization
-
-[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **UpdateAttribute**
-> void UpdateAttribute (string attributeCategory, string attributeName, UpdateAttribute updateAttribute)
-
-Update contact attribute
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using sib_api_v3_sdk.Api;
-using sib_api_v3_sdk.Client;
-using sib_api_v3_sdk.Model;
-
-namespace Example
-{
- public class UpdateAttributeExample
- {
- public void main()
- {
- // Configure API key authorization: api-key
- Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
- // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
- // Configure API key authorization: partner-key
- Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
- // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
-
- var apiInstance = new AttributesApi();
- var attributeCategory = attributeCategory_example; // string | Category of the attribute
- var attributeName = attributeName_example; // string | Name of the existing attribute
- var updateAttribute = new UpdateAttribute(); // UpdateAttribute | Values to update an attribute
-
- try
- {
- // Update contact attribute
- apiInstance.UpdateAttribute(attributeCategory, attributeName, updateAttribute);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AttributesApi.UpdateAttribute: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **attributeCategory** | **string**| Category of the attribute |
- **attributeName** | **string**| Name of the existing attribute |
- **updateAttribute** | [**UpdateAttribute**](UpdateAttribute.md)| Values to update an attribute |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/docs/Body.md b/docs/Body.md
index 570989f..6b01c54 100644
--- a/docs/Body.md
+++ b/docs/Body.md
@@ -3,17 +3,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Name** | **string** | Name of task |
-**Duration** | **long?** | Duration of task | [optional]
-**TaskTypeId** | **string** | Id for type of task e.g Call / Email / Meeting etc. |
-**Date** | **DateTime?** | Task date/time |
-**Notes** | **string** | Notes added to a task | [optional]
-**Done** | **bool?** | Task marked as done | [optional]
-**AssignToId** | **string** | User id to whom task is assigned | [optional]
-**ContactsIds** | **List<int?>** | Contact ids for contacts linked to this task | [optional]
-**DealsIds** | **List<string>** | Deal ids for deals a task is linked to | [optional]
-**CompaniesIds** | **List<string>** | Companies ids for companies a task is linked to | [optional]
-**Reminder** | [**TaskReminder**](TaskReminder.md) | | [optional]
+**Name** | **string** | Name of company |
+**Attributes** | **Object** | Attributes for company creation | [optional]
+**CountryCode** | **long?** | Country code if phone_number is passed in attributes. | [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/Body1.md b/docs/Body1.md
index 699bf07..6515115 100644
--- a/docs/Body1.md
+++ b/docs/Body1.md
@@ -3,17 +3,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Name** | **string** | Name of task |
-**Duration** | **int?** | Duration of task | [optional]
-**TaskTypeId** | **string** | Id for type of task e.g Call / Email / Meeting etc. |
-**Date** | **DateTime?** | Task date/time |
-**Notes** | **string** | Notes added to a task | [optional]
-**Done** | **bool?** | Task marked as done | [optional]
-**AssignToId** | **string** | User id to whom task is assigned | [optional]
-**ContactsIds** | **List<int?>** | Contact ids for contacts linked to this task | [optional]
-**DealsIds** | **List<string>** | Deal ids for deals a task is linked to | [optional]
-**CompaniesIds** | **List<string>** | Companies ids for companies a task is linked to | [optional]
-**Reminder** | [**TaskReminder**](TaskReminder.md) | | [optional]
+**Name** | **string** | Name of company | [optional]
+**Attributes** | **Object** | Attributes for company update | [optional]
+**CountryCode** | **long?** | Country code if phone_number is passed in attributes. | [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/Body10.md b/docs/Body10.md
new file mode 100644
index 0000000..d54ae27
--- /dev/null
+++ b/docs/Body10.md
@@ -0,0 +1,12 @@
+# sib_api_v3_sdk.Model.Body10
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VisitorId** | **string** | visitor’s ID received <a href="https://developers.sendinblue.com/docs/conversations-webhooks">from a webhook</a> or generated by you to <a href="https://developers.sendinblue.com/docs/customize-the-widget#identifying-existing-users">bind existing user account to Conversations</a> |
+**Text** | **string** | message text |
+**AgentId** | **string** | agent ID. It can be found on agent’s page or received <a href="https://developers.sendinblue.com/docs/conversations-webhooks">from a webhook</a>. Optional if `groupId` is set. | [optional]
+**GroupId** | **string** | group ID. It can be found on group’s page. Optional if `agentId` is set. | [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/Body11.md b/docs/Body11.md
new file mode 100644
index 0000000..cc708ad
--- /dev/null
+++ b/docs/Body11.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.Body11
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Text** | **string** | edited message text |
+
+[[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/Body12.md b/docs/Body12.md
new file mode 100644
index 0000000..8a266ca
--- /dev/null
+++ b/docs/Body12.md
@@ -0,0 +1,12 @@
+# sib_api_v3_sdk.Model.Body12
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AgentId** | **string** | agent ID. It can be found on agent’s page or received <a href="https://developers.sendinblue.com/docs/conversations-webhooks">from a webhook</a>. Alternatively, you can use `agentEmail` + `agentName` + `receivedFrom` instead (all 3 fields required). | [optional]
+**ReceivedFrom** | **string** | mark your messages to distinguish messages created by you from the others. | [optional]
+**AgentEmail** | **string** | agent email. When sending online pings from a standalone system, it’s hard to maintain a 1-to-1 relationship between the users of both systems. In this case, an agent can be specified by their email address. If there’s no agent with the specified email address in your Sendinblue organization, a dummy agent will be created automatically. | [optional]
+**AgentName** | **string** | agent name. | [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/Body2.md b/docs/Body2.md
new file mode 100644
index 0000000..42b4e6f
--- /dev/null
+++ b/docs/Body2.md
@@ -0,0 +1,12 @@
+# sib_api_v3_sdk.Model.Body2
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LinkContactIds** | **List<long?>** | Contact ids for contacts to be linked with company | [optional]
+**UnlinkContactIds** | **List<long?>** | Contact ids for contacts to be unlinked from company | [optional]
+**LinkDealsIds** | **List<string>** | Deals ids for deals to be linked with company | [optional]
+**UnlinkDealsIds** | **List<string>** | Deals ids for deals to be unlinked from company | [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/Body3.md b/docs/Body3.md
new file mode 100644
index 0000000..1fff349
--- /dev/null
+++ b/docs/Body3.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.Body3
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **string** | Name of deal |
+**Attributes** | **Object** | Attributes fo\\r deal creation | [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/Body4.md b/docs/Body4.md
new file mode 100644
index 0000000..1cf72cd
--- /dev/null
+++ b/docs/Body4.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.Body4
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **string** | Name of deal | [optional]
+**Attributes** | **Object** | Attributes for deal update | [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/Body5.md b/docs/Body5.md
new file mode 100644
index 0000000..6ecf5d6
--- /dev/null
+++ b/docs/Body5.md
@@ -0,0 +1,12 @@
+# sib_api_v3_sdk.Model.Body5
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LinkContactIds** | **List<long?>** | Contact ids for contacts to be linked with deal | [optional]
+**UnlinkContactIds** | **List<long?>** | Contact ids for contacts to be unlinked from deal | [optional]
+**LinkCompanyIds** | **List<string>** | Company ids to be linked with deal | [optional]
+**UnlinkCompanyIds** | **List<string>** | Company ids to be unlinked from deal | [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/Body6.md b/docs/Body6.md
new file mode 100644
index 0000000..f1b2826
--- /dev/null
+++ b/docs/Body6.md
@@ -0,0 +1,19 @@
+# sib_api_v3_sdk.Model.Body6
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **string** | Name of task |
+**Duration** | **long?** | Duration of task in milliseconds [1 minute = 60000 ms] | [optional]
+**TaskTypeId** | **string** | Id for type of task e.g Call / Email / Meeting etc. |
+**Date** | **DateTime?** | Task due date and time |
+**Notes** | **string** | Notes added to a task | [optional]
+**Done** | **bool?** | Task marked as done | [optional]
+**AssignToId** | **string** | User id to whom task is assigned | [optional]
+**ContactsIds** | **List<int?>** | Contact ids for contacts linked to this task | [optional]
+**DealsIds** | **List<string>** | Deal ids for deals a task is linked to | [optional]
+**CompaniesIds** | **List<string>** | Companies ids for companies a task is linked to | [optional]
+**Reminder** | [**TaskReminder**](TaskReminder.md) | | [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/Body7.md b/docs/Body7.md
new file mode 100644
index 0000000..e0c1fa5
--- /dev/null
+++ b/docs/Body7.md
@@ -0,0 +1,18 @@
+# sib_api_v3_sdk.Model.Body7
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **string** | Name of task | [optional]
+**Duration** | **int?** | Duration of task in milliseconds [1 minute = 60000 ms] | [optional]
+**TaskTypeId** | **string** | Id for type of task e.g Call / Email / Meeting etc. | [optional]
+**Date** | **DateTime?** | Task date/time | [optional]
+**Notes** | **string** | Notes added to a task | [optional]
+**Done** | **bool?** | Task marked as done | [optional]
+**AssignToId** | **string** | User id to whom task is assigned | [optional]
+**ContactsIds** | **List<int?>** | Contact ids for contacts linked to this task | [optional]
+**DealsIds** | **List<string>** | Deal ids for deals a task is linked to | [optional]
+**CompaniesIds** | **List<string>** | Companies ids for companies a task is linked to | [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/Body8.md b/docs/Body8.md
new file mode 100644
index 0000000..051a911
--- /dev/null
+++ b/docs/Body8.md
@@ -0,0 +1,14 @@
+# sib_api_v3_sdk.Model.Body8
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VisitorId** | **string** | visitor’s ID received <a href="https://developers.sendinblue.com/docs/conversations-webhooks">from a webhook</a> or generated by you to <a href="https://developers.sendinblue.com/docs/customize-the-widget#identifying-existing-users">bind existing user account to Conversations</a> |
+**Text** | **string** | message text |
+**AgentId** | **string** | agent ID. It can be found on agent’s page or received <a href="https://developers.sendinblue.com/docs/conversations-webhooks">from a webhook</a>. Alternatively, you can use `agentEmail` + `agentName` + `receivedFrom` instead (all 3 fields required). | [optional]
+**ReceivedFrom** | **string** | mark your messages to distinguish messages created by you from the others. | [optional]
+**AgentEmail** | **string** | agent email. When sending messages from a standalone system, it’s hard to maintain a 1-to-1 relationship between the users of both systems. In this case, an agent can be specified by their email address. | [optional]
+**AgentName** | **string** | agent name | [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/Body9.md b/docs/Body9.md
new file mode 100644
index 0000000..e5e67c4
--- /dev/null
+++ b/docs/Body9.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.Body9
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Text** | **string** | edited message text |
+
+[[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/BodyVariablesItems.md b/docs/BodyVariablesItems.md
new file mode 100644
index 0000000..39f56c3
--- /dev/null
+++ b/docs/BodyVariablesItems.md
@@ -0,0 +1,8 @@
+# sib_api_v3_sdk.Model.BodyVariablesItems
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/CompaniesApi.md b/docs/CompaniesApi.md
new file mode 100644
index 0000000..e3cebc2
--- /dev/null
+++ b/docs/CompaniesApi.md
@@ -0,0 +1,501 @@
+# sib_api_v3_sdk.Api.CompaniesApi
+
+All URIs are relative to *https://api.sendinblue.com/v3*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**CompaniesAttributesGet**](CompaniesApi.md#companiesattributesget) | **GET** /companies/attributes | Get company attributes
+[**CompaniesGet**](CompaniesApi.md#companiesget) | **GET** /companies | Get all companies
+[**CompaniesIdDelete**](CompaniesApi.md#companiesiddelete) | **DELETE** /companies/{id} | Delete a company
+[**CompaniesIdGet**](CompaniesApi.md#companiesidget) | **GET** /companies/{id} | Get a company
+[**CompaniesIdPatch**](CompaniesApi.md#companiesidpatch) | **PATCH** /companies/{id} | Update a company
+[**CompaniesLinkUnlinkIdPatch**](CompaniesApi.md#companieslinkunlinkidpatch) | **PATCH** /companies/link-unlink/{id} | Link and Unlink company with contacts and deals
+[**CompaniesPost**](CompaniesApi.md#companiespost) | **POST** /companies | Create a company
+
+
+
+# **CompaniesAttributesGet**
+> CompanyAttributes CompaniesAttributesGet ()
+
+Get company attributes
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CompaniesAttributesGetExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new CompaniesApi();
+
+ try
+ {
+ // Get company attributes
+ CompanyAttributes result = apiInstance.CompaniesAttributesGet();
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling CompaniesApi.CompaniesAttributesGet: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+This endpoint does not need any parameter.
+
+### Return type
+
+[**CompanyAttributes**](CompanyAttributes.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CompaniesGet**
+> CompaniesList CompaniesGet (string filters = null, long? linkedContactsIds = null, string linkedDealsIds = null, long? page = null, long? limit = null, string sort = null, string sortBy = null)
+
+Get all companies
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CompaniesGetExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new CompaniesApi();
+ var filters = filters_example; // string | Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} (optional)
+ var linkedContactsIds = 789; // long? | Filter by linked contacts ids (optional)
+ var linkedDealsIds = linkedDealsIds_example; // string | Filter by linked deals ids (optional)
+ var page = 789; // long? | Index of the first document of the page (optional)
+ var limit = 789; // long? | Number of documents per page (optional) (default to 50)
+ var sort = sort_example; // string | Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed (optional)
+ var sortBy = sortBy_example; // string | The field used to sort field names. (optional)
+
+ try
+ {
+ // Get all companies
+ CompaniesList result = apiInstance.CompaniesGet(filters, linkedContactsIds, linkedDealsIds, page, limit, sort, sortBy);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling CompaniesApi.CompaniesGet: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **filters** | **string**| Filter by attrbutes. If you have filter for owner on your side please send it as {"attributes.owner":"5b1a17d914b73d35a76ca0c7"} | [optional]
+ **linkedContactsIds** | **long?**| Filter by linked contacts ids | [optional]
+ **linkedDealsIds** | **string**| Filter by linked deals ids | [optional]
+ **page** | **long?**| Index of the first document of the page | [optional]
+ **limit** | **long?**| Number of documents per page | [optional] [default to 50]
+ **sort** | **string**| Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed | [optional]
+ **sortBy** | **string**| The field used to sort field names. | [optional]
+
+### Return type
+
+[**CompaniesList**](CompaniesList.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CompaniesIdDelete**
+> void CompaniesIdDelete (string id)
+
+Delete a company
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CompaniesIdDeleteExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new CompaniesApi();
+ var id = id_example; // string |
+
+ try
+ {
+ // Delete a company
+ apiInstance.CompaniesIdDelete(id);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling CompaniesApi.CompaniesIdDelete: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CompaniesIdGet**
+> Company CompaniesIdGet (string id)
+
+Get a company
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CompaniesIdGetExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new CompaniesApi();
+ var id = id_example; // string |
+
+ try
+ {
+ // Get a company
+ Company result = apiInstance.CompaniesIdGet(id);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling CompaniesApi.CompaniesIdGet: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| |
+
+### Return type
+
+[**Company**](Company.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CompaniesIdPatch**
+> Company CompaniesIdPatch (string id, Body1 body)
+
+Update a company
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CompaniesIdPatchExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new CompaniesApi();
+ var id = id_example; // string |
+ var body = new Body1(); // Body1 | Updated company details.
+
+ try
+ {
+ // Update a company
+ Company result = apiInstance.CompaniesIdPatch(id, body);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling CompaniesApi.CompaniesIdPatch: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| |
+ **body** | [**Body1**](Body1.md)| Updated company details. |
+
+### Return type
+
+[**Company**](Company.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CompaniesLinkUnlinkIdPatch**
+> void CompaniesLinkUnlinkIdPatch (string id, Body2 body)
+
+Link and Unlink company with contacts and deals
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CompaniesLinkUnlinkIdPatchExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new CompaniesApi();
+ var id = id_example; // string |
+ var body = new Body2(); // Body2 | Linked / Unlinked contacts and deals ids.
+
+ try
+ {
+ // Link and Unlink company with contacts and deals
+ apiInstance.CompaniesLinkUnlinkIdPatch(id, body);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling CompaniesApi.CompaniesLinkUnlinkIdPatch: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| |
+ **body** | [**Body2**](Body2.md)| Linked / Unlinked contacts and deals ids. |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CompaniesPost**
+> InlineResponse200 CompaniesPost (Body body)
+
+Create a company
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CompaniesPostExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new CompaniesApi();
+ var body = new Body(); // Body | Company create data.
+
+ try
+ {
+ // Create a company
+ InlineResponse200 result = apiInstance.CompaniesPost(body);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling CompaniesApi.CompaniesPost: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **body** | [**Body**](Body.md)| Company create data. |
+
+### Return type
+
+[**InlineResponse200**](InlineResponse200.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
diff --git a/docs/CompaniesList.md b/docs/CompaniesList.md
new file mode 100644
index 0000000..9dac1d5
--- /dev/null
+++ b/docs/CompaniesList.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.CompaniesList
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Items** | [**List<Company>**](Company.md) | List of compaies | [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/Company.md b/docs/Company.md
new file mode 100644
index 0000000..9ae30a4
--- /dev/null
+++ b/docs/Company.md
@@ -0,0 +1,12 @@
+# sib_api_v3_sdk.Model.Company
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Unique company id | [optional]
+**Attributes** | **Object** | Company attributes with values | [optional]
+**LinkedContactsIds** | **List<int?>** | Contact ids for contacts linked to this company | [optional]
+**LinkedDealsIds** | **List<string>** | Deals ids for companies linked to this company | [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/CompanyAttributes.md b/docs/CompanyAttributes.md
new file mode 100644
index 0000000..87cc9f7
--- /dev/null
+++ b/docs/CompanyAttributes.md
@@ -0,0 +1,8 @@
+# sib_api_v3_sdk.Model.CompanyAttributes
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/CompanyAttributesInner.md b/docs/CompanyAttributesInner.md
new file mode 100644
index 0000000..de0abfe
--- /dev/null
+++ b/docs/CompanyAttributesInner.md
@@ -0,0 +1,13 @@
+# sib_api_v3_sdk.Model.CompanyAttributesInner
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**InternalName** | **string** | | [optional]
+**Label** | **string** | | [optional]
+**AttributeTypeName** | **string** | | [optional]
+**AttributeOptions** | **List<Object>** | | [optional]
+**IsRequired** | **bool?** | | [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/ComponentItems.md b/docs/ComponentItems.md
new file mode 100644
index 0000000..1bb9eda
--- /dev/null
+++ b/docs/ComponentItems.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.ComponentItems
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Type** | **string** | | [optional]
+**Text** | **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/Contact.md b/docs/Contact.md
deleted file mode 100644
index 6373b86..0000000
--- a/docs/Contact.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# sib_api_v3_sdk.Model.Contact
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**VirtualNextTask** | **Object** | Next incomplete task of contact | [optional]
-**Email** | **string** | Contact email |
-**AssignToId** | **string** | User id to whom contact is assigned | [optional]
-**ContactsId** | **int?** | Contact id | [optional]
-**CrmLists** | **Object** | CRM lists in which contact is added |
-**Attributes** | **Object** | Contact attributes e.g firstname / lastname / SMS etc. | [optional]
-**CreatedAt** | **DateTime?** | Contact created date/time | [optional]
-**UpdatedAt** | **DateTime?** | Contact updated date/time | [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/ContactsApi.md b/docs/ContactsApi.md
index 7f34b41..956c21f 100644
--- a/docs/ContactsApi.md
+++ b/docs/ContactsApi.md
@@ -782,7 +782,7 @@ This endpoint does not need any parameter.
# **GetContactInfo**
-> GetExtendedContactDetails GetContactInfo (string identifier)
+> GetExtendedContactDetails GetContactInfo (string identifier, Object startDate = null, Object endDate = null)
Get a contact's details
@@ -813,11 +813,13 @@ namespace Example
var apiInstance = new ContactsApi();
var identifier = identifier_example; // string | Email (urlencoded) OR ID of the contact OR its SMS attribute value
+ var startDate = new Object(); // Object | **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 = new Object(); // Object | **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
{
// Get a contact's details
- GetExtendedContactDetails result = apiInstance.GetContactInfo(identifier);
+ GetExtendedContactDetails result = apiInstance.GetContactInfo(identifier, startDate, endDate);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -834,6 +836,8 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**identifier** | **string**| Email (urlencoded) OR ID of the contact OR its SMS attribute value |
+ **startDate** | [**Object**](Object.md)| **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** | [**Object**](Object.md)| **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
diff --git a/docs/ListsApi.md b/docs/ConversationsApi.md
similarity index 58%
rename from docs/ListsApi.md
rename to docs/ConversationsApi.md
index 047aef3..ece4148 100644
--- a/docs/ListsApi.md
+++ b/docs/ConversationsApi.md
@@ -1,25 +1,27 @@
-# sib_api_v3_sdk.Api.ListsApi
+# sib_api_v3_sdk.Api.ConversationsApi
All URIs are relative to *https://api.sendinblue.com/v3*
Method | HTTP request | Description
------------- | ------------- | -------------
-[**AddContactToList**](ListsApi.md#addcontacttolist) | **POST** /contacts/lists/{listId}/contacts/add | Add existing contacts to a list
-[**CreateList**](ListsApi.md#createlist) | **POST** /contacts/lists | Create a list
-[**DeleteList**](ListsApi.md#deletelist) | **DELETE** /contacts/lists/{listId} | Delete a list
-[**GetContactsFromList**](ListsApi.md#getcontactsfromlist) | **GET** /contacts/lists/{listId}/contacts | Get contacts in a list
-[**GetFolderLists**](ListsApi.md#getfolderlists) | **GET** /contacts/folders/{folderId}/lists | Get lists in a folder
-[**GetList**](ListsApi.md#getlist) | **GET** /contacts/lists/{listId} | Get a list's details
-[**GetLists**](ListsApi.md#getlists) | **GET** /contacts/lists | Get all the lists
-[**RemoveContactFromList**](ListsApi.md#removecontactfromlist) | **POST** /contacts/lists/{listId}/contacts/remove | Delete a contact from a list
-[**UpdateList**](ListsApi.md#updatelist) | **PUT** /contacts/lists/{listId} | Update a list
+[**ConversationsAgentOnlinePingPost**](ConversationsApi.md#conversationsagentonlinepingpost) | **POST** /conversations/agentOnlinePing | Sets agent’s status to online for 2-3 minutes
+[**ConversationsMessagesIdDelete**](ConversationsApi.md#conversationsmessagesiddelete) | **DELETE** /conversations/messages/{id} | Delete a message sent by an agent
+[**ConversationsMessagesIdGet**](ConversationsApi.md#conversationsmessagesidget) | **GET** /conversations/messages/{id} | Get a message
+[**ConversationsMessagesIdPut**](ConversationsApi.md#conversationsmessagesidput) | **PUT** /conversations/messages/{id} | Update a message sent by an agent
+[**ConversationsMessagesPost**](ConversationsApi.md#conversationsmessagespost) | **POST** /conversations/messages | Send a message as an agent
+[**ConversationsPushedMessagesIdDelete**](ConversationsApi.md#conversationspushedmessagesiddelete) | **DELETE** /conversations/pushedMessages/{id} | Delete an automated message
+[**ConversationsPushedMessagesIdGet**](ConversationsApi.md#conversationspushedmessagesidget) | **GET** /conversations/pushedMessages/{id} | Get an automated message
+[**ConversationsPushedMessagesIdPut**](ConversationsApi.md#conversationspushedmessagesidput) | **PUT** /conversations/pushedMessages/{id} | Update an automated message
+[**ConversationsPushedMessagesPost**](ConversationsApi.md#conversationspushedmessagespost) | **POST** /conversations/pushedMessages | Send an automated message to a visitor
-
-# **AddContactToList**
-> PostContactInfo AddContactToList (long? listId, AddContactToList contactEmails)
+
+# **ConversationsAgentOnlinePingPost**
+> void ConversationsAgentOnlinePingPost (Body12 body)
-Add existing contacts to a list
+Sets agent’s status to online for 2-3 minutes
+
+We recommend pinging this endpoint every minute for as long as the agent has to be considered online.
### Example
```csharp
@@ -31,7 +33,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class AddContactToListExample
+ public class ConversationsAgentOnlinePingPostExample
{
public void main()
{
@@ -44,19 +46,17 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new ListsApi();
- var listId = 789; // long? | Id of the list
- var contactEmails = new AddContactToList(); // AddContactToList | Emails addresses OR IDs of the contacts
+ var apiInstance = new ConversationsApi();
+ var body = new Body12(); // Body12 | Agent fields.
try
{
- // Add existing contacts to a list
- PostContactInfo result = apiInstance.AddContactToList(listId, contactEmails);
- Debug.WriteLine(result);
+ // Sets agent’s status to online for 2-3 minutes
+ apiInstance.ConversationsAgentOnlinePingPost(body);
}
catch (Exception e)
{
- Debug.Print("Exception when calling ListsApi.AddContactToList: " + e.Message );
+ Debug.Print("Exception when calling ConversationsApi.ConversationsAgentOnlinePingPost: " + e.Message );
}
}
}
@@ -67,12 +67,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **listId** | **long?**| Id of the list |
- **contactEmails** | [**AddContactToList**](AddContactToList.md)| Emails addresses OR IDs of the contacts |
+ **body** | [**Body12**](Body12.md)| Agent fields. |
### Return type
-[**PostContactInfo**](PostContactInfo.md)
+void (empty response body)
### Authorization
@@ -85,11 +84,13 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CreateList**
-> CreateModel CreateList (CreateList createList)
+
+# **ConversationsMessagesIdDelete**
+> void ConversationsMessagesIdDelete (string id)
+
+Delete a message sent by an agent
-Create a list
+Only agents’ messages can be deleted.
### Example
```csharp
@@ -101,7 +102,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class CreateListExample
+ public class ConversationsMessagesIdDeleteExample
{
public void main()
{
@@ -114,18 +115,17 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new ListsApi();
- var createList = new CreateList(); // CreateList | Values to create a list
+ var apiInstance = new ConversationsApi();
+ var id = id_example; // string | ID of the message
try
{
- // Create a list
- CreateModel result = apiInstance.CreateList(createList);
- Debug.WriteLine(result);
+ // Delete a message sent by an agent
+ apiInstance.ConversationsMessagesIdDelete(id);
}
catch (Exception e)
{
- Debug.Print("Exception when calling ListsApi.CreateList: " + e.Message );
+ Debug.Print("Exception when calling ConversationsApi.ConversationsMessagesIdDelete: " + e.Message );
}
}
}
@@ -136,11 +136,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **createList** | [**CreateList**](CreateList.md)| Values to create a list |
+ **id** | **string**| ID of the message |
### Return type
-[**CreateModel**](CreateModel.md)
+void (empty response body)
### Authorization
@@ -153,11 +153,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **DeleteList**
-> void DeleteList (long? listId)
+
+# **ConversationsMessagesIdGet**
+> ConversationsMessage ConversationsMessagesIdGet (string id)
-Delete a list
+Get a message
### Example
```csharp
@@ -169,7 +169,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class DeleteListExample
+ public class ConversationsMessagesIdGetExample
{
public void main()
{
@@ -182,17 +182,18 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new ListsApi();
- var listId = 789; // long? | Id of the list
+ var apiInstance = new ConversationsApi();
+ var id = id_example; // string | ID of the message
try
{
- // Delete a list
- apiInstance.DeleteList(listId);
+ // Get a message
+ ConversationsMessage result = apiInstance.ConversationsMessagesIdGet(id);
+ Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling ListsApi.DeleteList: " + e.Message );
+ Debug.Print("Exception when calling ConversationsApi.ConversationsMessagesIdGet: " + e.Message );
}
}
}
@@ -203,11 +204,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **listId** | **long?**| Id of the list |
+ **id** | **string**| ID of the message |
### Return type
-void (empty response body)
+[**ConversationsMessage**](ConversationsMessage.md)
### Authorization
@@ -220,11 +221,13 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **GetContactsFromList**
-> GetContacts GetContactsFromList (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null)
+
+# **ConversationsMessagesIdPut**
+> ConversationsMessage ConversationsMessagesIdPut (string id, Body9 body = null)
+
+Update a message sent by an agent
-Get contacts in a list
+Only agents’ messages can be edited.
### Example
```csharp
@@ -236,7 +239,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class GetContactsFromListExample
+ public class ConversationsMessagesIdPutExample
{
public void main()
{
@@ -249,22 +252,19 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new ListsApi();
- var listId = 789; // long? | Id of the list
- 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. Default order is **descending** if `sort` is not passed (optional) (default to desc)
+ var apiInstance = new ConversationsApi();
+ var id = id_example; // string | ID of the message
+ var body = new Body9(); // Body9 | (optional)
try
{
- // Get contacts in a list
- GetContacts result = apiInstance.GetContactsFromList(listId, modifiedSince, limit, offset, sort);
+ // Update a message sent by an agent
+ ConversationsMessage result = apiInstance.ConversationsMessagesIdPut(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling ListsApi.GetContactsFromList: " + e.Message );
+ Debug.Print("Exception when calling ConversationsApi.ConversationsMessagesIdPut: " + e.Message );
}
}
}
@@ -275,15 +275,12 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **listId** | **long?**| Id of the list |
- **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. Default order is **descending** if `sort` is not passed | [optional] [default to desc]
+ **id** | **string**| ID of the message |
+ **body** | [**Body9**](Body9.md)| | [optional]
### Return type
-[**GetContacts**](GetContacts.md)
+[**ConversationsMessage**](ConversationsMessage.md)
### Authorization
@@ -296,11 +293,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **GetFolderLists**
-> GetFolderLists GetFolderLists (long? folderId, long? limit = null, long? offset = null, string sort = null)
+
+# **ConversationsMessagesPost**
+> ConversationsMessage ConversationsMessagesPost (Body8 body)
-Get lists in a folder
+Send a message as an agent
### Example
```csharp
@@ -312,7 +309,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class GetFolderListsExample
+ public class ConversationsMessagesPostExample
{
public void main()
{
@@ -325,21 +322,18 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new ListsApi();
- 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. Default order is **descending** if `sort` is not passed (optional) (default to desc)
+ var apiInstance = new ConversationsApi();
+ var body = new Body8(); // Body8 | Message fields.
try
{
- // Get lists in a folder
- GetFolderLists result = apiInstance.GetFolderLists(folderId, limit, offset, sort);
+ // Send a message as an agent
+ ConversationsMessage result = apiInstance.ConversationsMessagesPost(body);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling ListsApi.GetFolderLists: " + e.Message );
+ Debug.Print("Exception when calling ConversationsApi.ConversationsMessagesPost: " + e.Message );
}
}
}
@@ -350,14 +344,11 @@ namespace Example
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. Default order is **descending** if `sort` is not passed | [optional] [default to desc]
+ **body** | [**Body8**](Body8.md)| Message fields. |
### Return type
-[**GetFolderLists**](GetFolderLists.md)
+[**ConversationsMessage**](ConversationsMessage.md)
### Authorization
@@ -370,11 +361,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **GetList**
-> GetExtendedList GetList (long? listId)
+
+# **ConversationsPushedMessagesIdDelete**
+> void ConversationsPushedMessagesIdDelete (string id)
-Get a list's details
+Delete an automated message
### Example
```csharp
@@ -386,7 +377,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class GetListExample
+ public class ConversationsPushedMessagesIdDeleteExample
{
public void main()
{
@@ -399,18 +390,17 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new ListsApi();
- var listId = 789; // long? | Id of the list
+ var apiInstance = new ConversationsApi();
+ var id = id_example; // string | ID of the message
try
{
- // Get a list's details
- GetExtendedList result = apiInstance.GetList(listId);
- Debug.WriteLine(result);
+ // Delete an automated message
+ apiInstance.ConversationsPushedMessagesIdDelete(id);
}
catch (Exception e)
{
- Debug.Print("Exception when calling ListsApi.GetList: " + e.Message );
+ Debug.Print("Exception when calling ConversationsApi.ConversationsPushedMessagesIdDelete: " + e.Message );
}
}
}
@@ -421,11 +411,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **listId** | **long?**| Id of the list |
+ **id** | **string**| ID of the message |
### Return type
-[**GetExtendedList**](GetExtendedList.md)
+void (empty response body)
### Authorization
@@ -438,11 +428,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **GetLists**
-> GetLists GetLists (long? limit = null, long? offset = null, string sort = null)
+
+# **ConversationsPushedMessagesIdGet**
+> ConversationsMessage ConversationsPushedMessagesIdGet (string id)
-Get all the lists
+Get an automated message
### Example
```csharp
@@ -454,7 +444,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class GetListsExample
+ public class ConversationsPushedMessagesIdGetExample
{
public void main()
{
@@ -467,20 +457,18 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- 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. Default order is **descending** if `sort` is not passed (optional) (default to desc)
+ var apiInstance = new ConversationsApi();
+ var id = id_example; // string | ID of the message sent previously
try
{
- // Get all the lists
- GetLists result = apiInstance.GetLists(limit, offset, sort);
+ // Get an automated message
+ ConversationsMessage result = apiInstance.ConversationsPushedMessagesIdGet(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling ListsApi.GetLists: " + e.Message );
+ Debug.Print("Exception when calling ConversationsApi.ConversationsPushedMessagesIdGet: " + e.Message );
}
}
}
@@ -491,13 +479,11 @@ namespace Example
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. Default order is **descending** if `sort` is not passed | [optional] [default to desc]
+ **id** | **string**| ID of the message sent previously |
### Return type
-[**GetLists**](GetLists.md)
+[**ConversationsMessage**](ConversationsMessage.md)
### Authorization
@@ -510,11 +496,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **RemoveContactFromList**
-> PostContactInfo RemoveContactFromList (long? listId, RemoveContactFromList contactEmails)
+
+# **ConversationsPushedMessagesIdPut**
+> ConversationsMessage ConversationsPushedMessagesIdPut (string id, Body11 body)
-Delete a contact from a list
+Update an automated message
### Example
```csharp
@@ -526,7 +512,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class RemoveContactFromListExample
+ public class ConversationsPushedMessagesIdPutExample
{
public void main()
{
@@ -539,19 +525,19 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new ListsApi();
- var listId = 789; // long? | Id of the list
- var contactEmails = new RemoveContactFromList(); // RemoveContactFromList | Emails addresses OR IDs of the contacts
+ var apiInstance = new ConversationsApi();
+ var id = id_example; // string | ID of the message
+ var body = new Body11(); // Body11 |
try
{
- // Delete a contact from a list
- PostContactInfo result = apiInstance.RemoveContactFromList(listId, contactEmails);
+ // Update an automated message
+ ConversationsMessage result = apiInstance.ConversationsPushedMessagesIdPut(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling ListsApi.RemoveContactFromList: " + e.Message );
+ Debug.Print("Exception when calling ConversationsApi.ConversationsPushedMessagesIdPut: " + e.Message );
}
}
}
@@ -562,12 +548,12 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **listId** | **long?**| Id of the list |
- **contactEmails** | [**RemoveContactFromList**](RemoveContactFromList.md)| Emails addresses OR IDs of the contacts |
+ **id** | **string**| ID of the message |
+ **body** | [**Body11**](Body11.md)| |
### Return type
-[**PostContactInfo**](PostContactInfo.md)
+[**ConversationsMessage**](ConversationsMessage.md)
### Authorization
@@ -580,11 +566,13 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **UpdateList**
-> void UpdateList (long? listId, UpdateList updateList)
+
+# **ConversationsPushedMessagesPost**
+> ConversationsMessage ConversationsPushedMessagesPost (Body10 body)
-Update a list
+Send an automated message to a visitor
+
+Example of automated messages: order status, announce new features in your web app, etc.
### Example
```csharp
@@ -596,7 +584,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class UpdateListExample
+ public class ConversationsPushedMessagesPostExample
{
public void main()
{
@@ -609,18 +597,18 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new ListsApi();
- var listId = 789; // long? | Id of the list
- var updateList = new UpdateList(); // UpdateList | Values to update a list
+ var apiInstance = new ConversationsApi();
+ var body = new Body10(); // Body10 |
try
{
- // Update a list
- apiInstance.UpdateList(listId, updateList);
+ // Send an automated message to a visitor
+ ConversationsMessage result = apiInstance.ConversationsPushedMessagesPost(body);
+ Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling ListsApi.UpdateList: " + e.Message );
+ Debug.Print("Exception when calling ConversationsApi.ConversationsPushedMessagesPost: " + e.Message );
}
}
}
@@ -631,12 +619,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **listId** | **long?**| Id of the list |
- **updateList** | [**UpdateList**](UpdateList.md)| Values to update a list |
+ **body** | [**Body10**](Body10.md)| |
### Return type
-void (empty response body)
+[**ConversationsMessage**](ConversationsMessage.md)
### Authorization
diff --git a/docs/ConversationsMessage.md b/docs/ConversationsMessage.md
new file mode 100644
index 0000000..79d2d6c
--- /dev/null
+++ b/docs/ConversationsMessage.md
@@ -0,0 +1,18 @@
+# sib_api_v3_sdk.Model.ConversationsMessage
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Message ID. It can be used for further manipulations with the message. | [optional]
+**Type** | **string** | `"agent"` for agents’ messages, `"visitor"` for visitors’ messages. | [optional]
+**Text** | **string** | Message text or name of the attached file | [optional]
+**VisitorId** | **string** | visitor’s ID | [optional]
+**AgentId** | **string** | ID of the agent on whose behalf the message was sent (only in messages sent by an agent). | [optional]
+**AgentName** | **string** | Agent’s name as displayed to the visitor. Only in the messages sent by an agent. | [optional]
+**CreatedAt** | **long?** | Timestamp in milliseconds. | [optional]
+**IsPushed** | **bool?** | `true` for pushed messages | [optional]
+**ReceivedFrom** | **string** | In two-way integrations, messages sent via REST API can be marked with receivedFrom property and then filtered out when received in a webhook to avoid infinite loop. | [optional]
+**File** | [**ConversationsMessageFile**](ConversationsMessageFile.md) | | [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/ConversationsMessageFile.md b/docs/ConversationsMessageFile.md
new file mode 100644
index 0000000..e0cc0ce
--- /dev/null
+++ b/docs/ConversationsMessageFile.md
@@ -0,0 +1,13 @@
+# sib_api_v3_sdk.Model.ConversationsMessageFile
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Filename** | **string** | Name of the file | [optional]
+**Size** | **long?** | Size in bytes | [optional]
+**IsImage** | **bool?** | Whether the file is an image | [optional]
+**Url** | **string** | URL of the file | [optional]
+**ImageInfo** | [**ConversationsMessageFileImageInfo**](ConversationsMessageFileImageInfo.md) | | [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/ConversationsMessageFileImageInfo.md b/docs/ConversationsMessageFileImageInfo.md
new file mode 100644
index 0000000..4ecdc41
--- /dev/null
+++ b/docs/ConversationsMessageFileImageInfo.md
@@ -0,0 +1,11 @@
+# sib_api_v3_sdk.Model.ConversationsMessageFileImageInfo
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Width** | **long?** | Width of the image | [optional]
+**Height** | **long?** | height of the image | [optional]
+**PreviewUrl** | **string** | URL of the preview | [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/CreateApiKeyRequest.md b/docs/CreateApiKeyRequest.md
new file mode 100644
index 0000000..9ac5163
--- /dev/null
+++ b/docs/CreateApiKeyRequest.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.CreateApiKeyRequest
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **long?** | Id of the sub-account organization |
+**Name** | **string** | Name of the API key | [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/CreateApiKeyResponse.md b/docs/CreateApiKeyResponse.md
new file mode 100644
index 0000000..ddefa5f
--- /dev/null
+++ b/docs/CreateApiKeyResponse.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.CreateApiKeyResponse
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Status** | **string** | Status of the API operation. | [optional]
+**Key** | **string** | API Key | [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/CreateAttribute.md b/docs/CreateAttribute.md
index 12a9085..ae15587 100644
--- a/docs/CreateAttribute.md
+++ b/docs/CreateAttribute.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Value** | **string** | Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' | [optional]
+**IsRecurring** | **bool?** | Type of the attribute. Use only if the attribute's category is 'calculated' or 'global' | [optional]
**Enumeration** | [**List<CreateAttributeEnumeration>**](CreateAttributeEnumeration.md) | List of values and labels that the attribute can take. Use only if the attribute's category is "category". For example, [{"value":1, "label":"male"}, {"value":2, "label":"female"}] | [optional]
**Type** | **string** | Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'boolean' is only available if the category is 'normal' attribute, type 'id' is only available if the category is 'transactional' attribute & type 'category' is only available if the category is 'category' attribute ) | [optional]
diff --git a/docs/CreateCategoryModel.md b/docs/CreateCategoryModel.md
new file mode 100644
index 0000000..40ebdc0
--- /dev/null
+++ b/docs/CreateCategoryModel.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.CreateCategoryModel
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **long?** | ID of the category when a new category is created | [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/CreateContact.md b/docs/CreateContact.md
index 05a9206..82b6408 100644
--- a/docs/CreateContact.md
+++ b/docs/CreateContact.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Email** | **string** | Email address of the user. Mandatory if "SMS" field is not passed in "attributes" parameter. Mobile Number in "SMS" field should be passed with proper country code. For example {"SMS":"+91xxxxxxxxxx"} or {"SMS":"0091xxxxxxxxxx"} | [optional]
-**Attributes** | **Object** | Pass the set of attributes and their values. These attributes must be present in your SendinBlue account. For eg. {"FNAME":"Elly", "LNAME":"Roger"} | [optional]
+**Attributes** | **Object** | Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg. {"FNAME":"Elly", "LNAME":"Roger"} | [optional]
**EmailBlacklisted** | **bool?** | Set this field to blacklist the contact for emails (emailBlacklisted = true) | [optional]
**SmsBlacklisted** | **bool?** | Set this field to blacklist the contact for SMS (smsBlacklisted = true) | [optional]
**ListIds** | **List<long?>** | Ids of the lists to add the contact to | [optional]
diff --git a/docs/CreateEmailCampaign.md b/docs/CreateEmailCampaign.md
index da54f17..0d0e8f7 100644
--- a/docs/CreateEmailCampaign.md
+++ b/docs/CreateEmailCampaign.md
@@ -31,6 +31,8 @@ Name | Type | Description | Notes
**IpWarmupEnable** | **bool?** | Available for dedicated ip clients. Set this to true if you wish to warm up your ip. | [optional] [default to false]
**InitialQuota** | **long?** | 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. | [optional]
**IncreaseRate** | **long?** | 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%. | [optional]
+**UnsubscriptionPageId** | **string** | Enter an unsubscription page id. The page id is a 24 digit alphanumeric id that can be found in the URL when editing the page. If not entered, then the default unsubscription page will be used. | [optional]
+**UpdateFormId** | **string** | Mandatory if templateId is used containing the {{ update_profile }} tag. Enter an update profile form id. The form id is a 24 digit alphanumeric id that can be found in the URL when editing the form. If not entered, then the default update profile form will be used. | [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/CreateEmailCampaignRecipients.md b/docs/CreateEmailCampaignRecipients.md
index 5b66d95..7f039c1 100644
--- a/docs/CreateEmailCampaignRecipients.md
+++ b/docs/CreateEmailCampaignRecipients.md
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ExclusionListIds** | **List<long?>** | List ids to exclude from the campaign | [optional]
**ListIds** | **List<long?>** | Mandatory if scheduledAt is not empty. List Ids to send the campaign to | [optional]
+**SegmentIds** | **List<long?>** | Mandatory if listIds are not used. Segment ids to send the campaign to. | [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/CreateProductModel.md b/docs/CreateProductModel.md
new file mode 100644
index 0000000..78d9a37
--- /dev/null
+++ b/docs/CreateProductModel.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.CreateProductModel
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **long?** | ID of the Product when a new product is created | [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/CreateSmsCampaign.md b/docs/CreateSmsCampaign.md
index 92cd5d1..1881886 100644
--- a/docs/CreateSmsCampaign.md
+++ b/docs/CreateSmsCampaign.md
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
**Recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [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]
**UnicodeEnabled** | **bool?** | Format of the message. It indicates whether the content should be treated as unicode or not. | [optional] [default to false]
+**OrganisationPrefix** | **string** | A recognizable prefix will ensure your audience knows who you are. Recommended by U.S. carriers. This will be added as your Brand Name before the message content. **Prefer verifying maximum length of 160 characters including this prefix in message content to avoid multiple sending of same sms.** | [optional]
+**UnsubscribeInstruction** | **string** | Instructions to unsubscribe from future communications. Recommended by U.S. carriers. Must include **STOP** keyword. This will be added as instructions after the end of message content. **Prefer verifying maximum length of 160 characters including this instructions in message content to avoid multiple sending of same sms.** | [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/CreateSubAccount.md b/docs/CreateSubAccount.md
index d5d65fa..91ea486 100644
--- a/docs/CreateSubAccount.md
+++ b/docs/CreateSubAccount.md
@@ -3,10 +3,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**CompanyName** | **string** | Name of the organization |
+**CompanyName** | **string** | Set the name of the sub-account company |
**Email** | **string** | Email address for the organization |
-**Language** | **string** | Language for identifying localization information | [optional]
-**Timezone** | **string** | Request timezone of the client | [optional]
+**Language** | **string** | Set the language of the sub-account | [optional]
+**Timezone** | **string** | Set the timezone of the sub-account | [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/CreateSubAccountResponse.md b/docs/CreateSubAccountResponse.md
new file mode 100644
index 0000000..1883c18
--- /dev/null
+++ b/docs/CreateSubAccountResponse.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.CreateSubAccountResponse
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **long?** | ID of the sub-account created |
+
+[[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/CreateUpdateBatchCategory.md b/docs/CreateUpdateBatchCategory.md
new file mode 100644
index 0000000..aee4165
--- /dev/null
+++ b/docs/CreateUpdateBatchCategory.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.CreateUpdateBatchCategory
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Categories** | [**List<CreateUpdateCategories>**](CreateUpdateCategories.md) | array of categories objects |
+**UpdateEnabled** | **bool?** | Facilitate to update the existing categories in the same request (updateEnabled = true) | [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/CreateUpdateBatchCategoryModel.md b/docs/CreateUpdateBatchCategoryModel.md
new file mode 100644
index 0000000..d514e44
--- /dev/null
+++ b/docs/CreateUpdateBatchCategoryModel.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.CreateUpdateBatchCategoryModel
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CreatedCount** | **long?** | Number of the new created categories | [optional]
+**UpdatedCount** | **long?** | Number of the existing categories updated | [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/CreateUpdateBatchProducts.md b/docs/CreateUpdateBatchProducts.md
new file mode 100644
index 0000000..691e41e
--- /dev/null
+++ b/docs/CreateUpdateBatchProducts.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.CreateUpdateBatchProducts
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Products** | [**List<CreateUpdateProducts>**](CreateUpdateProducts.md) | array of products objects |
+**UpdateEnabled** | **bool?** | Facilitate to update the existing categories in the same request (updateEnabled = true) | [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/CreateUpdateBatchProductsModel.md b/docs/CreateUpdateBatchProductsModel.md
new file mode 100644
index 0000000..ac00093
--- /dev/null
+++ b/docs/CreateUpdateBatchProductsModel.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.CreateUpdateBatchProductsModel
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CreatedCount** | **long?** | Number of the new created products | [optional]
+**UpdatedCount** | **long?** | Number of the existing products updated | [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/CreateUpdateCategories.md b/docs/CreateUpdateCategories.md
new file mode 100644
index 0000000..f136a19
--- /dev/null
+++ b/docs/CreateUpdateCategories.md
@@ -0,0 +1,11 @@
+# sib_api_v3_sdk.Model.CreateUpdateCategories
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Unique Category ID as saved in the shop |
+**Name** | **string** | **Mandatory in case of creation**. Name of the Category, as displayed in the shop | [optional]
+**Url** | **string** | URL to the category | [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/CreateUpdateCategory.md b/docs/CreateUpdateCategory.md
new file mode 100644
index 0000000..c670b84
--- /dev/null
+++ b/docs/CreateUpdateCategory.md
@@ -0,0 +1,12 @@
+# sib_api_v3_sdk.Model.CreateUpdateCategory
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Unique Category ID as saved in the shop |
+**Name** | **string** | **Mandatory in case of creation**. Name of the Category, as displayed in the shop | [optional]
+**Url** | **string** | URL to the category | [optional]
+**UpdateEnabled** | **bool?** | Facilitate to update the existing category in the same request (updateEnabled = true) | [optional] [default to false]
+
+[[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/CreateUpdateProduct.md b/docs/CreateUpdateProduct.md
new file mode 100644
index 0000000..b04871f
--- /dev/null
+++ b/docs/CreateUpdateProduct.md
@@ -0,0 +1,18 @@
+# sib_api_v3_sdk.Model.CreateUpdateProduct
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Product ID for which you requested the details |
+**Name** | **string** | Mandatory in case of creation**. Name of the product for which you requested the details |
+**Url** | **string** | URL to the product | [optional]
+**ImageUrl** | **string** | Absolute URL to the cover image of the product | [optional]
+**Sku** | **string** | Product identifier from the shop | [optional]
+**Price** | **float?** | Price of the product | [optional]
+**Categories** | **List<string>** | Category ID-s of the product | [optional]
+**ParentId** | **string** | Parent product id of the product | [optional]
+**MetaInfo** | **Dictionary<string, Object>** | Meta data of product such as description, vendor, producer, stock level. The size of cumulative metaInfo shall not exceed **1000 KB**. Maximum length of metaInfo object can be 10. | [optional]
+**UpdateEnabled** | **bool?** | Facilitate to update the existing category in the same request (updateEnabled = true) | [optional] [default to false]
+
+[[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/CreateUpdateProducts.md b/docs/CreateUpdateProducts.md
new file mode 100644
index 0000000..a7639a0
--- /dev/null
+++ b/docs/CreateUpdateProducts.md
@@ -0,0 +1,17 @@
+# sib_api_v3_sdk.Model.CreateUpdateProducts
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Product ID for which you requested the details |
+**Name** | **string** | Mandatory in case of creation**. Name of the product for which you requested the details |
+**Url** | **string** | URL to the product | [optional]
+**ImageUrl** | **string** | Absolute URL to the cover image of the product | [optional]
+**Sku** | **string** | Product identifier from the shop | [optional]
+**Price** | **float?** | Price of the product | [optional]
+**Categories** | **List<string>** | Category ID-s of the product | [optional]
+**ParentId** | **string** | Parent product id of the product | [optional]
+**MetaInfo** | **Dictionary<string, Object>** | Meta data of product such as description, vendor, producer, stock level. The size of cumulative metaInfo shall not exceed **1000 KB**. Maximum length of metaInfo object can be 10. | [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/CreatedBatchId.md b/docs/CreatedBatchId.md
new file mode 100644
index 0000000..91f9f23
--- /dev/null
+++ b/docs/CreatedBatchId.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.CreatedBatchId
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**BatchId** | **decimal?** | Batch ID of the request |
+
+[[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/Deal.md b/docs/Deal.md
new file mode 100644
index 0000000..046455d
--- /dev/null
+++ b/docs/Deal.md
@@ -0,0 +1,12 @@
+# sib_api_v3_sdk.Model.Deal
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Unique deal id | [optional]
+**Attributes** | **Object** | Deal attributes with values | [optional]
+**LinkedContactsIds** | **List<int?>** | Contact ids for contacts linked to this deal | [optional]
+**LinkedCompaniesIds** | **List<string>** | Companies ids for companies linked to this deal | [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/DealAttributes.md b/docs/DealAttributes.md
new file mode 100644
index 0000000..8e29325
--- /dev/null
+++ b/docs/DealAttributes.md
@@ -0,0 +1,8 @@
+# sib_api_v3_sdk.Model.DealAttributes
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/DealAttributesInner.md b/docs/DealAttributesInner.md
new file mode 100644
index 0000000..4a76d4d
--- /dev/null
+++ b/docs/DealAttributesInner.md
@@ -0,0 +1,13 @@
+# sib_api_v3_sdk.Model.DealAttributesInner
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**InternalName** | **string** | | [optional]
+**Label** | **string** | | [optional]
+**AttributeTypeName** | **string** | | [optional]
+**AttributeOptions** | **List<Object>** | | [optional]
+**IsRequired** | **bool?** | | [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/DealsApi.md b/docs/DealsApi.md
new file mode 100644
index 0000000..a23516e
--- /dev/null
+++ b/docs/DealsApi.md
@@ -0,0 +1,565 @@
+# sib_api_v3_sdk.Api.DealsApi
+
+All URIs are relative to *https://api.sendinblue.com/v3*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**CrmAttributesDealsGet**](DealsApi.md#crmattributesdealsget) | **GET** /crm/attributes/deals | Get deal attributes
+[**CrmDealsGet**](DealsApi.md#crmdealsget) | **GET** /crm/deals | Get all deals
+[**CrmDealsIdDelete**](DealsApi.md#crmdealsiddelete) | **DELETE** /crm/deals/{id} | Delete a deal
+[**CrmDealsIdGet**](DealsApi.md#crmdealsidget) | **GET** /crm/deals/{id} | Get a deal
+[**CrmDealsIdPatch**](DealsApi.md#crmdealsidpatch) | **PATCH** /crm/deals/{id} | Update a deal
+[**CrmDealsLinkUnlinkIdPatch**](DealsApi.md#crmdealslinkunlinkidpatch) | **PATCH** /crm/deals/link-unlink/{id} | Link and Unlink a deal with contacts and companies
+[**CrmDealsPost**](DealsApi.md#crmdealspost) | **POST** /crm/deals | Create a deal
+[**CrmPipelineDetailsGet**](DealsApi.md#crmpipelinedetailsget) | **GET** /crm/pipeline/details | Get pipeline stages
+
+
+
+# **CrmAttributesDealsGet**
+> DealAttributes CrmAttributesDealsGet ()
+
+Get deal attributes
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmAttributesDealsGetExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new DealsApi();
+
+ try
+ {
+ // Get deal attributes
+ DealAttributes result = apiInstance.CrmAttributesDealsGet();
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling DealsApi.CrmAttributesDealsGet: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+This endpoint does not need any parameter.
+
+### Return type
+
+[**DealAttributes**](DealAttributes.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmDealsGet**
+> DealsList CrmDealsGet (string filtersAttributes = null, string filtersLinkedCompaniesIds = null, string filtersLinkedContactsIds = null, long? offset = null, long? limit = null, string sort = null, string sortBy = null)
+
+Get all deals
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmDealsGetExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new DealsApi();
+ var filtersAttributes = filtersAttributes_example; // string | Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" (optional)
+ var filtersLinkedCompaniesIds = filtersLinkedCompaniesIds_example; // string | Filter by linked companies ids (optional)
+ var filtersLinkedContactsIds = filtersLinkedContactsIds_example; // string | Filter by linked companies ids (optional)
+ var offset = 789; // long? | Index of the first document of the page (optional)
+ var limit = 789; // long? | Number of documents per page (optional) (default to 50)
+ var sort = sort_example; // string | Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed (optional)
+ var sortBy = sortBy_example; // string | The field used to sort field names. (optional)
+
+ try
+ {
+ // Get all deals
+ DealsList result = apiInstance.CrmDealsGet(filtersAttributes, filtersLinkedCompaniesIds, filtersLinkedContactsIds, offset, limit, sort, sortBy);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling DealsApi.CrmDealsGet: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **filtersAttributes** | **string**| Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`." | [optional]
+ **filtersLinkedCompaniesIds** | **string**| Filter by linked companies ids | [optional]
+ **filtersLinkedContactsIds** | **string**| Filter by linked companies ids | [optional]
+ **offset** | **long?**| Index of the first document of the page | [optional]
+ **limit** | **long?**| Number of documents per page | [optional] [default to 50]
+ **sort** | **string**| Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed | [optional]
+ **sortBy** | **string**| The field used to sort field names. | [optional]
+
+### Return type
+
+[**DealsList**](DealsList.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmDealsIdDelete**
+> void CrmDealsIdDelete (string id)
+
+Delete a deal
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmDealsIdDeleteExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new DealsApi();
+ var id = id_example; // string |
+
+ try
+ {
+ // Delete a deal
+ apiInstance.CrmDealsIdDelete(id);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling DealsApi.CrmDealsIdDelete: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmDealsIdGet**
+> Deal CrmDealsIdGet (string id)
+
+Get a deal
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmDealsIdGetExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new DealsApi();
+ var id = id_example; // string |
+
+ try
+ {
+ // Get a deal
+ Deal result = apiInstance.CrmDealsIdGet(id);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling DealsApi.CrmDealsIdGet: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| |
+
+### Return type
+
+[**Deal**](Deal.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmDealsIdPatch**
+> void CrmDealsIdPatch (string id, Body4 body)
+
+Update a deal
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmDealsIdPatchExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new DealsApi();
+ var id = id_example; // string |
+ var body = new Body4(); // Body4 | Updated deal details.
+
+ try
+ {
+ // Update a deal
+ apiInstance.CrmDealsIdPatch(id, body);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling DealsApi.CrmDealsIdPatch: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| |
+ **body** | [**Body4**](Body4.md)| Updated deal details. |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmDealsLinkUnlinkIdPatch**
+> void CrmDealsLinkUnlinkIdPatch (string id, Body5 body)
+
+Link and Unlink a deal with contacts and companies
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmDealsLinkUnlinkIdPatchExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new DealsApi();
+ var id = id_example; // string |
+ var body = new Body5(); // Body5 | Linked / Unlinked contacts and companies ids.
+
+ try
+ {
+ // Link and Unlink a deal with contacts and companies
+ apiInstance.CrmDealsLinkUnlinkIdPatch(id, body);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling DealsApi.CrmDealsLinkUnlinkIdPatch: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| |
+ **body** | [**Body5**](Body5.md)| Linked / Unlinked contacts and companies ids. |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmDealsPost**
+> InlineResponse201 CrmDealsPost (Body3 body)
+
+Create a deal
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmDealsPostExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new DealsApi();
+ var body = new Body3(); // Body3 | Deal create data.
+
+ try
+ {
+ // Create a deal
+ InlineResponse201 result = apiInstance.CrmDealsPost(body);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling DealsApi.CrmDealsPost: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **body** | [**Body3**](Body3.md)| Deal create data. |
+
+### Return type
+
+[**InlineResponse201**](InlineResponse201.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmPipelineDetailsGet**
+> Pipeline CrmPipelineDetailsGet ()
+
+Get pipeline stages
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmPipelineDetailsGetExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new DealsApi();
+
+ try
+ {
+ // Get pipeline stages
+ Pipeline result = apiInstance.CrmPipelineDetailsGet();
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling DealsApi.CrmPipelineDetailsGet: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+This endpoint does not need any parameter.
+
+### Return type
+
+[**Pipeline**](Pipeline.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
diff --git a/docs/DealsList.md b/docs/DealsList.md
new file mode 100644
index 0000000..f43b901
--- /dev/null
+++ b/docs/DealsList.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.DealsList
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Items** | [**List<Deal>**](Deal.md) | List of deals | [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/CRMApi.md b/docs/EcommerceApi.md
similarity index 59%
rename from docs/CRMApi.md
rename to docs/EcommerceApi.md
index c534f63..ed95aac 100644
--- a/docs/CRMApi.md
+++ b/docs/EcommerceApi.md
@@ -1,97 +1,27 @@
-# sib_api_v3_sdk.Api.CRMApi
+# sib_api_v3_sdk.Api.EcommerceApi
All URIs are relative to *https://api.sendinblue.com/v3*
Method | HTTP request | Description
------------- | ------------- | -------------
-[**CrmFilesIdDataGet**](CRMApi.md#crmfilesiddataget) | **GET** /crm/files/{id}/data | Get file details
-[**CrmFilesIdDelete**](CRMApi.md#crmfilesiddelete) | **DELETE** /crm/files/{id} | Delete a file
-[**CrmFilesIdGet**](CRMApi.md#crmfilesidget) | **GET** /crm/files/{id} | Download a file
-[**CrmFilesPost**](CRMApi.md#crmfilespost) | **POST** /crm/files | Upload a file
-[**CrmNotesIdDelete**](CRMApi.md#crmnotesiddelete) | **DELETE** /crm/notes/{id} | Delete a note
-[**CrmNotesIdGet**](CRMApi.md#crmnotesidget) | **GET** /crm/notes/{id} | Get a note
-[**CrmNotesIdPatch**](CRMApi.md#crmnotesidpatch) | **PATCH** /crm/notes/{id} | Update a note
-[**CrmNotesPost**](CRMApi.md#crmnotespost) | **POST** /crm/notes | Create a note
-[**CrmTasksIdDelete**](CRMApi.md#crmtasksiddelete) | **DELETE** /crm/tasks/{id} | Delete a task
-[**CrmTasksIdGet**](CRMApi.md#crmtasksidget) | **GET** /crm/tasks/{id} | Get a task
-[**CrmTasksIdPatch**](CRMApi.md#crmtasksidpatch) | **PATCH** /crm/tasks/{id} | Update a task
-[**CrmTasksPost**](CRMApi.md#crmtaskspost) | **POST** /crm/tasks | Create a task
-[**CrmTasktypesGet**](CRMApi.md#crmtasktypesget) | **GET** /crm/tasktypes | Get all task types
-
-
-
-# **CrmFilesIdDataGet**
-> FileData CrmFilesIdDataGet (string id)
-
-Get file details
+[**CreateBatchOrder**](EcommerceApi.md#createbatchorder) | **POST** /orders/status/batch | Maintains a batch of orders
+[**CreateOrder**](EcommerceApi.md#createorder) | **POST** /orders/status | Maintains every transactional status of the order
+[**CreateUpdateBatchCategory**](EcommerceApi.md#createupdatebatchcategory) | **POST** /categories/batch | Create the categories in a batch
+[**CreateUpdateBatchProducts**](EcommerceApi.md#createupdatebatchproducts) | **POST** /products/batch | Creates the products in a batch
+[**CreateUpdateCategory**](EcommerceApi.md#createupdatecategory) | **POST** /categories | Create/Update a category
+[**CreateUpdateProduct**](EcommerceApi.md#createupdateproduct) | **POST** /products | Create/Update a product
+[**EcommerceActivatePost**](EcommerceApi.md#ecommerceactivatepost) | **POST** /ecommerce/activate | **Fulfills the eCommerce pre-requisites**
+[**GetCategories**](EcommerceApi.md#getcategories) | **GET** /categories | Return all your categories
+[**GetCategoryInfo**](EcommerceApi.md#getcategoryinfo) | **GET** /categories/{id} | Get a category details
+[**GetProductInfo**](EcommerceApi.md#getproductinfo) | **GET** /products/{id} | Get a product's details
+[**GetProducts**](EcommerceApi.md#getproducts) | **GET** /products | Return all your products
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using sib_api_v3_sdk.Api;
-using sib_api_v3_sdk.Client;
-using sib_api_v3_sdk.Model;
-
-namespace Example
-{
- public class CrmFilesIdDataGetExample
- {
- public void main()
- {
- // Configure API key authorization: api-key
- Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
- // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
- // Configure API key authorization: partner-key
- Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
- // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
-
- var apiInstance = new CRMApi();
- var id = id_example; // string | File id to get file data.
-
- try
- {
- // Get file details
- FileData result = apiInstance.CrmFilesIdDataGet(id);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling CRMApi.CrmFilesIdDataGet: " + e.Message );
- }
- }
- }
-}
-```
-### Parameters
+
+# **CreateBatchOrder**
+> void CreateBatchOrder (OrderBatch orderBatch)
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **id** | **string**| File id to get file data. |
-
-### Return type
-
-[**FileData**](FileData.md)
-
-### Authorization
-
-[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **CrmFilesIdDelete**
-> void CrmFilesIdDelete (string id)
-
-Delete a file
+Maintains a batch of orders
### Example
```csharp
@@ -103,7 +33,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class CrmFilesIdDeleteExample
+ public class CreateBatchOrderExample
{
public void main()
{
@@ -116,17 +46,17 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new CRMApi();
- var id = id_example; // string | File id to delete.
+ var apiInstance = new EcommerceApi();
+ var orderBatch = new OrderBatch(); // OrderBatch |
try
{
- // Delete a file
- apiInstance.CrmFilesIdDelete(id);
+ // Maintains a batch of orders
+ apiInstance.CreateBatchOrder(orderBatch);
}
catch (Exception e)
{
- Debug.Print("Exception when calling CRMApi.CrmFilesIdDelete: " + e.Message );
+ Debug.Print("Exception when calling EcommerceApi.CreateBatchOrder: " + e.Message );
}
}
}
@@ -137,7 +67,7 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **id** | **string**| File id to delete. |
+ **orderBatch** | [**OrderBatch**](OrderBatch.md)| |
### Return type
@@ -154,11 +84,11 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CrmFilesIdGet**
-> void CrmFilesIdGet (string id)
+
+# **CreateOrder**
+> void CreateOrder (Order order)
-Download a file
+Maintains every transactional status of the order
### Example
```csharp
@@ -170,7 +100,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class CrmFilesIdGetExample
+ public class CreateOrderExample
{
public void main()
{
@@ -183,17 +113,17 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new CRMApi();
- var id = id_example; // string | File id to download.
+ var apiInstance = new EcommerceApi();
+ var order = new Order(); // Order |
try
{
- // Download a file
- apiInstance.CrmFilesIdGet(id);
+ // Maintains every transactional status of the order
+ apiInstance.CreateOrder(order);
}
catch (Exception e)
{
- Debug.Print("Exception when calling CRMApi.CrmFilesIdGet: " + e.Message );
+ Debug.Print("Exception when calling EcommerceApi.CreateOrder: " + e.Message );
}
}
}
@@ -204,7 +134,7 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **id** | **string**| File id to download. |
+ **order** | [**Order**](Order.md)| |
### Return type
@@ -221,11 +151,11 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CrmFilesPost**
-> FileData CrmFilesPost (System.IO.Stream file, List dealsIds = null)
+
+# **CreateUpdateBatchCategory**
+> CreateUpdateBatchCategoryModel CreateUpdateBatchCategory (CreateUpdateBatchCategory createUpdateBatchCategory)
-Upload a file
+Create the categories in a batch
### Example
```csharp
@@ -237,7 +167,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class CrmFilesPostExample
+ public class CreateUpdateBatchCategoryExample
{
public void main()
{
@@ -250,87 +180,18 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new CRMApi();
- var file = new System.IO.Stream(); // System.IO.Stream | File data to create a file.
- var dealsIds = new List(); // List | Deal ids linked to a file (optional)
+ var apiInstance = new EcommerceApi();
+ var createUpdateBatchCategory = new CreateUpdateBatchCategory(); // CreateUpdateBatchCategory | Values to create a batch of categories
try
{
- // Upload a file
- FileData result = apiInstance.CrmFilesPost(file, dealsIds);
+ // Create the categories in a batch
+ CreateUpdateBatchCategoryModel result = apiInstance.CreateUpdateBatchCategory(createUpdateBatchCategory);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling CRMApi.CrmFilesPost: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **file** | **System.IO.Stream**| File data to create a file. |
- **dealsIds** | [**List<string>**](string.md)| Deal ids linked to a file | [optional]
-
-### Return type
-
-[**FileData**](FileData.md)
-
-### Authorization
-
-[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
-
-### HTTP request headers
-
- - **Content-Type**: multipart/form-data
- - **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **CrmNotesIdDelete**
-> void CrmNotesIdDelete (string id)
-
-Delete a note
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using sib_api_v3_sdk.Api;
-using sib_api_v3_sdk.Client;
-using sib_api_v3_sdk.Model;
-
-namespace Example
-{
- public class CrmNotesIdDeleteExample
- {
- public void main()
- {
- // Configure API key authorization: api-key
- Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
- // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
- // Configure API key authorization: partner-key
- Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
- // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
- // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
-
- var apiInstance = new CRMApi();
- var id = id_example; // string | Note ID to delete
-
- try
- {
- // Delete a note
- apiInstance.CrmNotesIdDelete(id);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling CRMApi.CrmNotesIdDelete: " + e.Message );
+ Debug.Print("Exception when calling EcommerceApi.CreateUpdateBatchCategory: " + e.Message );
}
}
}
@@ -341,11 +202,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **id** | **string**| Note ID to delete |
+ **createUpdateBatchCategory** | [**CreateUpdateBatchCategory**](CreateUpdateBatchCategory.md)| Values to create a batch of categories |
### Return type
-void (empty response body)
+[**CreateUpdateBatchCategoryModel**](CreateUpdateBatchCategoryModel.md)
### Authorization
@@ -358,11 +219,11 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CrmNotesIdGet**
-> Note CrmNotesIdGet (string id)
+
+# **CreateUpdateBatchProducts**
+> CreateUpdateBatchProductsModel CreateUpdateBatchProducts (CreateUpdateBatchProducts createUpdateBatchProducts)
-Get a note
+Creates the products in a batch
### Example
```csharp
@@ -374,7 +235,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class CrmNotesIdGetExample
+ public class CreateUpdateBatchProductsExample
{
public void main()
{
@@ -387,18 +248,18 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new CRMApi();
- var id = id_example; // string | Note ID to get
+ var apiInstance = new EcommerceApi();
+ var createUpdateBatchProducts = new CreateUpdateBatchProducts(); // CreateUpdateBatchProducts | Values to create a batch of products
try
{
- // Get a note
- Note result = apiInstance.CrmNotesIdGet(id);
+ // Creates the products in a batch
+ CreateUpdateBatchProductsModel result = apiInstance.CreateUpdateBatchProducts(createUpdateBatchProducts);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling CRMApi.CrmNotesIdGet: " + e.Message );
+ Debug.Print("Exception when calling EcommerceApi.CreateUpdateBatchProducts: " + e.Message );
}
}
}
@@ -409,11 +270,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **id** | **string**| Note ID to get |
+ **createUpdateBatchProducts** | [**CreateUpdateBatchProducts**](CreateUpdateBatchProducts.md)| Values to create a batch of products |
### Return type
-[**Note**](Note.md)
+[**CreateUpdateBatchProductsModel**](CreateUpdateBatchProductsModel.md)
### Authorization
@@ -426,11 +287,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CrmNotesIdPatch**
-> Note CrmNotesIdPatch (string id, NoteData body)
+
+# **CreateUpdateCategory**
+> CreateCategoryModel CreateUpdateCategory (CreateUpdateCategory createUpdateCategory)
-Update a note
+Create/Update a category
### Example
```csharp
@@ -442,7 +303,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class CrmNotesIdPatchExample
+ public class CreateUpdateCategoryExample
{
public void main()
{
@@ -455,19 +316,18 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new CRMApi();
- var id = id_example; // string | Note ID to update
- var body = new NoteData(); // NoteData | Note data to update a note
+ var apiInstance = new EcommerceApi();
+ var createUpdateCategory = new CreateUpdateCategory(); // CreateUpdateCategory | Values to create/update a category
try
{
- // Update a note
- Note result = apiInstance.CrmNotesIdPatch(id, body);
+ // Create/Update a category
+ CreateCategoryModel result = apiInstance.CreateUpdateCategory(createUpdateCategory);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling CRMApi.CrmNotesIdPatch: " + e.Message );
+ Debug.Print("Exception when calling EcommerceApi.CreateUpdateCategory: " + e.Message );
}
}
}
@@ -478,12 +338,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **id** | **string**| Note ID to update |
- **body** | [**NoteData**](NoteData.md)| Note data to update a note |
+ **createUpdateCategory** | [**CreateUpdateCategory**](CreateUpdateCategory.md)| Values to create/update a category |
### Return type
-[**Note**](Note.md)
+[**CreateCategoryModel**](CreateCategoryModel.md)
### Authorization
@@ -496,11 +355,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CrmNotesPost**
-> Note CrmNotesPost (NoteData body)
+
+# **CreateUpdateProduct**
+> CreateProductModel CreateUpdateProduct (CreateUpdateProduct createUpdateProduct)
-Create a note
+Create/Update a product
### Example
```csharp
@@ -512,7 +371,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class CrmNotesPostExample
+ public class CreateUpdateProductExample
{
public void main()
{
@@ -525,18 +384,18 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new CRMApi();
- var body = new NoteData(); // NoteData | Note data to create a note.
+ var apiInstance = new EcommerceApi();
+ var createUpdateProduct = new CreateUpdateProduct(); // CreateUpdateProduct | Values to create/update a product
try
{
- // Create a note
- Note result = apiInstance.CrmNotesPost(body);
+ // Create/Update a product
+ CreateProductModel result = apiInstance.CreateUpdateProduct(createUpdateProduct);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling CRMApi.CrmNotesPost: " + e.Message );
+ Debug.Print("Exception when calling EcommerceApi.CreateUpdateProduct: " + e.Message );
}
}
}
@@ -547,11 +406,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | [**NoteData**](NoteData.md)| Note data to create a note. |
+ **createUpdateProduct** | [**CreateUpdateProduct**](CreateUpdateProduct.md)| Values to create/update a product |
### Return type
-[**Note**](Note.md)
+[**CreateProductModel**](CreateProductModel.md)
### Authorization
@@ -564,11 +423,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CrmTasksIdDelete**
-> void CrmTasksIdDelete (string id)
+
+# **EcommerceActivatePost**
+> void EcommerceActivatePost ()
-Delete a task
+**Fulfills the eCommerce pre-requisites**
### Example
```csharp
@@ -580,7 +439,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class CrmTasksIdDeleteExample
+ public class EcommerceActivatePostExample
{
public void main()
{
@@ -593,17 +452,16 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new CRMApi();
- var id = id_example; // string |
+ var apiInstance = new EcommerceApi();
try
{
- // Delete a task
- apiInstance.CrmTasksIdDelete(id);
+ // **Fulfills the eCommerce pre-requisites**
+ apiInstance.EcommerceActivatePost();
}
catch (Exception e)
{
- Debug.Print("Exception when calling CRMApi.CrmTasksIdDelete: " + e.Message );
+ Debug.Print("Exception when calling EcommerceApi.EcommerceActivatePost: " + e.Message );
}
}
}
@@ -611,10 +469,7 @@ namespace Example
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **id** | **string**| |
+This endpoint does not need any parameter.
### Return type
@@ -631,11 +486,11 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CrmTasksIdGet**
-> Task CrmTasksIdGet (string id)
+
+# **GetCategories**
+> GetCategories GetCategories (long? limit = null, long? offset = null, string sort = null, List ids = null)
-Get a task
+Return all your categories
### Example
```csharp
@@ -647,7 +502,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class CrmTasksIdGetExample
+ public class GetCategoriesExample
{
public void main()
{
@@ -660,18 +515,21 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new CRMApi();
- var id = id_example; // string |
+ var apiInstance = new EcommerceApi();
+ var limit = 789; // long? | Number of documents 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. Default order is **descending** if `sort` is not passed (optional) (default to desc)
+ var ids = new List(); // List | Filter by category ids (optional)
try
{
- // Get a task
- Task result = apiInstance.CrmTasksIdGet(id);
+ // Return all your categories
+ GetCategories result = apiInstance.GetCategories(limit, offset, sort, ids);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling CRMApi.CrmTasksIdGet: " + e.Message );
+ Debug.Print("Exception when calling EcommerceApi.GetCategories: " + e.Message );
}
}
}
@@ -682,11 +540,14 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **id** | **string**| |
+ **limit** | **long?**| Number of documents 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. Default order is **descending** if `sort` is not passed | [optional] [default to desc]
+ **ids** | [**List<string>**](string.md)| Filter by category ids | [optional]
### Return type
-[**Task**](Task.md)
+[**GetCategories**](GetCategories.md)
### Authorization
@@ -699,11 +560,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CrmTasksIdPatch**
-> Task CrmTasksIdPatch (string id, Body1 body)
+
+# **GetCategoryInfo**
+> GetCategoryDetails GetCategoryInfo (string id)
-Update a task
+Get a category details
### Example
```csharp
@@ -715,7 +576,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class CrmTasksIdPatchExample
+ public class GetCategoryInfoExample
{
public void main()
{
@@ -728,19 +589,18 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new CRMApi();
- var id = id_example; // string |
- var body = new Body1(); // Body1 | Updated task details.
+ var apiInstance = new EcommerceApi();
+ var id = id_example; // string | Category ID
try
{
- // Update a task
- Task result = apiInstance.CrmTasksIdPatch(id, body);
+ // Get a category details
+ GetCategoryDetails result = apiInstance.GetCategoryInfo(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling CRMApi.CrmTasksIdPatch: " + e.Message );
+ Debug.Print("Exception when calling EcommerceApi.GetCategoryInfo: " + e.Message );
}
}
}
@@ -751,12 +611,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **id** | **string**| |
- **body** | [**Body1**](Body1.md)| Updated task details. |
+ **id** | **string**| Category ID |
### Return type
-[**Task**](Task.md)
+[**GetCategoryDetails**](GetCategoryDetails.md)
### Authorization
@@ -769,11 +628,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CrmTasksPost**
-> Task CrmTasksPost (Body body)
+
+# **GetProductInfo**
+> GetProductDetails GetProductInfo (string id)
-Create a task
+Get a product's details
### Example
```csharp
@@ -785,7 +644,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class CrmTasksPostExample
+ public class GetProductInfoExample
{
public void main()
{
@@ -798,18 +657,18 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new CRMApi();
- var body = new Body(); // Body | Task name.
+ var apiInstance = new EcommerceApi();
+ var id = id_example; // string | Product ID
try
{
- // Create a task
- Task result = apiInstance.CrmTasksPost(body);
+ // Get a product's details
+ GetProductDetails result = apiInstance.GetProductInfo(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling CRMApi.CrmTasksPost: " + e.Message );
+ Debug.Print("Exception when calling EcommerceApi.GetProductInfo: " + e.Message );
}
}
}
@@ -820,11 +679,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | [**Body**](Body.md)| Task name. |
+ **id** | **string**| Product ID |
### Return type
-[**Task**](Task.md)
+[**GetProductDetails**](GetProductDetails.md)
### Authorization
@@ -837,11 +696,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CrmTasktypesGet**
-> TaskTypes CrmTasktypesGet ()
+
+# **GetProducts**
+> GetProducts GetProducts (long? limit = null, long? offset = null, string sort = null, List ids = null)
-Get all task types
+Return all your products
### Example
```csharp
@@ -853,7 +712,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class CrmTasktypesGetExample
+ public class GetProductsExample
{
public void main()
{
@@ -866,17 +725,21 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new CRMApi();
+ var apiInstance = new EcommerceApi();
+ var limit = 789; // long? | Number of documents 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. Default order is **descending** if `sort` is not passed (optional) (default to desc)
+ var ids = new List(); // List | Filter by product ids (optional)
try
{
- // Get all task types
- TaskTypes result = apiInstance.CrmTasktypesGet();
+ // Return all your products
+ GetProducts result = apiInstance.GetProducts(limit, offset, sort, ids);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling CRMApi.CrmTasktypesGet: " + e.Message );
+ Debug.Print("Exception when calling EcommerceApi.GetProducts: " + e.Message );
}
}
}
@@ -884,11 +747,17 @@ namespace Example
```
### Parameters
-This endpoint does not need any parameter.
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **limit** | **long?**| Number of documents 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. Default order is **descending** if `sort` is not passed | [optional] [default to desc]
+ **ids** | [**List<string>**](string.md)| Filter by product ids | [optional]
### Return type
-[**TaskTypes**](TaskTypes.md)
+[**GetProducts**](GetProducts.md)
### Authorization
diff --git a/docs/EmailCampaignsApi.md b/docs/EmailCampaignsApi.md
index acaaf55..0361ad3 100644
--- a/docs/EmailCampaignsApi.md
+++ b/docs/EmailCampaignsApi.md
@@ -296,7 +296,7 @@ Name | Type | Description | Notes
# **GetEmailCampaign**
-> GetEmailCampaign GetEmailCampaign (long? campaignId)
+> GetEmailCampaign GetEmailCampaign (long? campaignId, string statistics = null)
Get an email campaign report
@@ -325,11 +325,12 @@ namespace Example
var apiInstance = new EmailCampaignsApi();
var campaignId = 789; // long? | Id of the campaign
+ var statistics = statistics_example; // string | Filter on the type of statistics required. Example **globalStats** value will only fetch globalStats info of the campaign in returned response. (optional)
try
{
// Get an email campaign report
- GetEmailCampaign result = apiInstance.GetEmailCampaign(campaignId);
+ GetEmailCampaign result = apiInstance.GetEmailCampaign(campaignId, statistics);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -346,6 +347,7 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**campaignId** | **long?**| Id of the campaign |
+ **statistics** | **string**| Filter on the type of statistics required. Example **globalStats** value will only fetch globalStats info of the campaign in returned response. | [optional]
### Return type
@@ -364,7 +366,7 @@ Name | Type | Description | Notes
# **GetEmailCampaigns**
-> GetEmailCampaigns GetEmailCampaigns (string type = null, string status = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null)
+> GetEmailCampaigns GetEmailCampaigns (string type = null, string status = null, string statistics = null, string startDate = null, string endDate = null, long? limit = null, long? offset = null, string sort = null)
Return all your created email campaigns
@@ -394,16 +396,17 @@ 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 statistics = statistics_example; // string | Filter on the type of statistics required. Example **globalStats** value will only fetch globalStats info of the campaign in returned response. (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 limit = 789; // long? | Number of documents 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. Default order is **descending** if `sort` is not passed (optional) (default to desc)
try
{
// Return all your created email campaigns
- GetEmailCampaigns result = apiInstance.GetEmailCampaigns(type, status, startDate, endDate, limit, offset, sort);
+ GetEmailCampaigns result = apiInstance.GetEmailCampaigns(type, status, statistics, startDate, endDate, limit, offset, sort);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -421,9 +424,10 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**type** | **string**| Filter on the type of the campaigns | [optional]
**status** | **string**| Filter on the status of the campaign | [optional]
+ **statistics** | **string**| Filter on the type of statistics required. Example **globalStats** value will only fetch globalStats info of the campaign in returned response. | [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]
+ **limit** | **long?**| Number of documents 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. Default order is **descending** if `sort` is not passed | [optional] [default to desc]
@@ -859,7 +863,7 @@ void (empty response body)
# **UploadImageToGallery**
-> void UploadImageToGallery (UploadImageToGallery uploadImage)
+> UploadImageModel UploadImageToGallery (UploadImageToGallery uploadImage)
Upload an image to your account's image gallery
@@ -892,7 +896,8 @@ namespace Example
try
{
// Upload an image to your account's image gallery
- apiInstance.UploadImageToGallery(uploadImage);
+ UploadImageModel result = apiInstance.UploadImageToGallery(uploadImage);
+ Debug.WriteLine(result);
}
catch (Exception e)
{
@@ -911,7 +916,7 @@ Name | Type | Description | Notes
### Return type
-void (empty response body)
+[**UploadImageModel**](UploadImageModel.md)
### Authorization
diff --git a/docs/FileData.md b/docs/FileData.md
index 60d2484..8c28e74 100644
--- a/docs/FileData.md
+++ b/docs/FileData.md
@@ -3,16 +3,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Url** | **string** | Url of uploaded file | [optional]
-**Id** | **string** | Id of uploaded file | [optional]
**Name** | **string** | Name of uploaded file | [optional]
**AuthorId** | **string** | Account id of user which created the file | [optional]
-**Author** | **Object** | Account details of user which created the file | [optional]
**ContactId** | **long?** | Contact id of contact on which file is uploaded | [optional]
-**DealIds** | **List<string>** | Deal ids linked to a file | [optional]
-**Size** | **long?** | Size of file uploaded | [optional]
+**DealId** | **string** | Deal id linked to a file | [optional]
+**CompanyId** | **string** | Company id linked to a file | [optional]
+**Size** | **long?** | Size of file in bytes | [optional]
**CreatedAt** | **DateTime?** | File created date/time | [optional]
-**UpdatedAt** | **DateTime?** | File updated date/time | [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/FileDownloadableLink.md b/docs/FileDownloadableLink.md
new file mode 100644
index 0000000..b6844ac
--- /dev/null
+++ b/docs/FileDownloadableLink.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.FileDownloadableLink
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**FileUrl** | **string** | A unique link to download the requested file. |
+
+[[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/FileList.md b/docs/FileList.md
new file mode 100644
index 0000000..7f82169
--- /dev/null
+++ b/docs/FileList.md
@@ -0,0 +1,8 @@
+# sib_api_v3_sdk.Model.FileList
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/FilesApi.md b/docs/FilesApi.md
new file mode 100644
index 0000000..ee92b5a
--- /dev/null
+++ b/docs/FilesApi.md
@@ -0,0 +1,370 @@
+# sib_api_v3_sdk.Api.FilesApi
+
+All URIs are relative to *https://api.sendinblue.com/v3*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**CrmFilesGet**](FilesApi.md#crmfilesget) | **GET** /crm/files | Get all files
+[**CrmFilesIdDataGet**](FilesApi.md#crmfilesiddataget) | **GET** /crm/files/{id}/data | Get file details
+[**CrmFilesIdDelete**](FilesApi.md#crmfilesiddelete) | **DELETE** /crm/files/{id} | Delete a file
+[**CrmFilesIdGet**](FilesApi.md#crmfilesidget) | **GET** /crm/files/{id} | Download a file
+[**CrmFilesPost**](FilesApi.md#crmfilespost) | **POST** /crm/files | Upload a file
+
+
+
+# **CrmFilesGet**
+> FileList CrmFilesGet (string entity = null, string entityIds = null, int? dateFrom = null, int? dateTo = null, long? offset = null, long? limit = null, string sort = null)
+
+Get all files
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmFilesGetExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new FilesApi();
+ var entity = entity_example; // string | Filter by file entity type (optional)
+ var entityIds = entityIds_example; // string | Filter by file entity IDs (optional)
+ var dateFrom = 56; // int? | dateFrom to date range filter type (timestamp in milliseconds) (optional)
+ var dateTo = 56; // int? | dateTo to date range filter type (timestamp in milliseconds) (optional)
+ var offset = 789; // long? | Index of the first document of the page (optional)
+ var limit = 789; // long? | Number of documents per page (optional) (default to 50)
+ var sort = sort_example; // string | Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed (optional)
+
+ try
+ {
+ // Get all files
+ FileList result = apiInstance.CrmFilesGet(entity, entityIds, dateFrom, dateTo, offset, limit, sort);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling FilesApi.CrmFilesGet: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **entity** | **string**| Filter by file entity type | [optional]
+ **entityIds** | **string**| Filter by file entity IDs | [optional]
+ **dateFrom** | **int?**| dateFrom to date range filter type (timestamp in milliseconds) | [optional]
+ **dateTo** | **int?**| dateTo to date range filter type (timestamp in milliseconds) | [optional]
+ **offset** | **long?**| Index of the first document of the page | [optional]
+ **limit** | **long?**| Number of documents per page | [optional] [default to 50]
+ **sort** | **string**| Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed | [optional]
+
+### Return type
+
+[**FileList**](FileList.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmFilesIdDataGet**
+> FileData CrmFilesIdDataGet (string id)
+
+Get file details
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmFilesIdDataGetExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new FilesApi();
+ var id = id_example; // string | File id to get file data.
+
+ try
+ {
+ // Get file details
+ FileData result = apiInstance.CrmFilesIdDataGet(id);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling FilesApi.CrmFilesIdDataGet: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| File id to get file data. |
+
+### Return type
+
+[**FileData**](FileData.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmFilesIdDelete**
+> void CrmFilesIdDelete (string id)
+
+Delete a file
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmFilesIdDeleteExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new FilesApi();
+ var id = id_example; // string | File id to delete.
+
+ try
+ {
+ // Delete a file
+ apiInstance.CrmFilesIdDelete(id);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling FilesApi.CrmFilesIdDelete: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| File id to delete. |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmFilesIdGet**
+> FileDownloadableLink CrmFilesIdGet (string id)
+
+Download a file
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmFilesIdGetExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new FilesApi();
+ var id = id_example; // string | File id to download.
+
+ try
+ {
+ // Download a file
+ FileDownloadableLink result = apiInstance.CrmFilesIdGet(id);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling FilesApi.CrmFilesIdGet: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| File id to download. |
+
+### Return type
+
+[**FileDownloadableLink**](FileDownloadableLink.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmFilesPost**
+> FileData CrmFilesPost (System.IO.Stream file, string dealId = null, long? contactId = null, string companyId = null)
+
+Upload a file
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmFilesPostExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new FilesApi();
+ var file = new System.IO.Stream(); // System.IO.Stream | File data to create a file.
+ var dealId = dealId_example; // string | Deal id linked to a file (optional)
+ var contactId = 789; // long? | Contact id linked to a file (optional)
+ var companyId = companyId_example; // string | Company id linked to a file (optional)
+
+ try
+ {
+ // Upload a file
+ FileData result = apiInstance.CrmFilesPost(file, dealId, contactId, companyId);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling FilesApi.CrmFilesPost: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **file** | **System.IO.Stream**| File data to create a file. |
+ **dealId** | **string**| Deal id linked to a file | [optional]
+ **contactId** | **long?**| Contact id linked to a file | [optional]
+ **companyId** | **string**| Company id linked to a file | [optional]
+
+### Return type
+
+[**FileData**](FileData.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: multipart/form-data
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
diff --git a/docs/GetCampaignStats.md b/docs/GetCampaignStats.md
index c463261..4fe1ed6 100644
--- a/docs/GetCampaignStats.md
+++ b/docs/GetCampaignStats.md
@@ -13,6 +13,8 @@ Name | Type | Description | Notes
**HardBounces** | **long?** | Number of harbounce for the campaign |
**UniqueViews** | **long?** | Number of unique openings for the campaign |
**TrackableViews** | **long?** | Recipients without any privacy protection option enabled in their email client |
+**TrackableViewsRate** | **float?** | Rate of recipients without any privacy protection option enabled in their email client | [optional]
+**EstimatedViews** | **long?** | Rate of recipients without any privacy protection option enabled in their email client, applied to all delivered emails | [optional]
**Unsubscriptions** | **long?** | Number of unsubscription for the campaign |
**Viewed** | **long?** | Number of openings for the campaign |
**Deferred** | **long?** | Number of deferred emails for the campaign | [optional]
diff --git a/docs/GetCategories.md b/docs/GetCategories.md
new file mode 100644
index 0000000..4fffd64
--- /dev/null
+++ b/docs/GetCategories.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.GetCategories
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Categories** | **List<Object>** | |
+**Count** | **long?** | Number of categories |
+
+[[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/GetCategoryDetails.md b/docs/GetCategoryDetails.md
new file mode 100644
index 0000000..bf5a27d
--- /dev/null
+++ b/docs/GetCategoryDetails.md
@@ -0,0 +1,13 @@
+# sib_api_v3_sdk.Model.GetCategoryDetails
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Category ID for which you requested the details |
+**Name** | **string** | Name of the category for which you requested the details |
+**CreatedAt** | **string** | Creation UTC date-time of the category (YYYY-MM-DDTHH:mm:ss.SSSZ) |
+**ModifiedAt** | **string** | Last modification UTC date-time of the category (YYYY-MM-DDTHH:mm:ss.SSSZ) |
+**Url** | **string** | URL to the category | [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/GetProductDetails.md b/docs/GetProductDetails.md
new file mode 100644
index 0000000..a5e05ef
--- /dev/null
+++ b/docs/GetProductDetails.md
@@ -0,0 +1,22 @@
+# sib_api_v3_sdk.Model.GetProductDetails
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Product ID for which you requested the details |
+**Name** | **string** | Name of the product for which you requested the details |
+**CreatedAt** | **string** | Creation UTC date-time of the product (YYYY-MM-DDTHH:mm:ss.SSSZ) |
+**ModifiedAt** | **string** | Last modification UTC date-time of the product (YYYY-MM-DDTHH:mm:ss.SSSZ) |
+**Url** | **string** | URL to the product | [optional]
+**ImageUrl** | **string** | Absolute URL to the cover image of the product | [optional]
+**Sku** | **string** | Product identifier from the shop | [optional]
+**Price** | **float?** | Price of the product | [optional]
+**Categories** | **List<string>** | Category ID-s of the product | [optional]
+**ParentId** | **string** | Parent product id of the product | [optional]
+**S3Original** | **string** | S3 url of original image | [optional]
+**S3ThumbAnalytics** | **string** | S3 thumbnail url of original image in 120x120 dimension for analytics section |
+**MetaInfo** | **Object** | Meta data of product such as description, vendor, producer, stock level, etc. | [optional]
+**S3ThumbEditor** | **string** | S3 thumbnail url of original image in 600x400 dimension for editor section |
+
+[[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/GetProducts.md b/docs/GetProducts.md
new file mode 100644
index 0000000..ad05af6
--- /dev/null
+++ b/docs/GetProducts.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.GetProducts
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Products** | **List<Object>** | |
+**Count** | **long?** | Number of products |
+
+[[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/GetScheduledEmailByBatchId.md b/docs/GetScheduledEmailByBatchId.md
new file mode 100644
index 0000000..de6e601
--- /dev/null
+++ b/docs/GetScheduledEmailByBatchId.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.GetScheduledEmailByBatchId
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Count** | **int?** | Total number of batches | [optional]
+**Batches** | [**List<GetScheduledEmailByBatchIdBatches>**](GetScheduledEmailByBatchIdBatches.md) | | [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/GetScheduledEmailByBatchIdBatches.md b/docs/GetScheduledEmailByBatchIdBatches.md
new file mode 100644
index 0000000..5e33521
--- /dev/null
+++ b/docs/GetScheduledEmailByBatchIdBatches.md
@@ -0,0 +1,11 @@
+# sib_api_v3_sdk.Model.GetScheduledEmailByBatchIdBatches
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ScheduledAt** | **DateTime?** | Datetime for which the batch was scheduled |
+**CreatedAt** | **DateTime?** | Datetime on which the batch was scheduled |
+**Status** | **string** | Current status of the scheduled batch |
+
+[[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/GetScheduledEmailByMessageId.md b/docs/GetScheduledEmailByMessageId.md
new file mode 100644
index 0000000..14f8118
--- /dev/null
+++ b/docs/GetScheduledEmailByMessageId.md
@@ -0,0 +1,11 @@
+# sib_api_v3_sdk.Model.GetScheduledEmailByMessageId
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ScheduledAt** | **DateTime?** | Datetime for which the email was scheduled |
+**CreatedAt** | **DateTime?** | Datetime on which the email was scheduled |
+**Status** | **string** | Current status of the scheduled 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/GetSsoToken.md b/docs/GetSsoToken.md
index 58bb819..15b3053 100644
--- a/docs/GetSsoToken.md
+++ b/docs/GetSsoToken.md
@@ -3,7 +3,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Token** | **string** | Session token. It will remain valid for a short period of time only. |
+**Token** | **string** | Session token, it will remain valid for 15 days. |
[[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/GetWebhook.md b/docs/GetWebhook.md
index 1aa3072..849b65d 100644
--- a/docs/GetWebhook.md
+++ b/docs/GetWebhook.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Id** | **long?** | ID of the webhook |
**Description** | **string** | Description of the webhook |
**Events** | **List<string>** | |
-**Type** | **string** | Type of webhook (marketing or transac) |
+**Type** | **string** | Type of webhook (marketing or transactional) |
**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) |
diff --git a/docs/GetWhatsappCampaignOverview.md b/docs/GetWhatsappCampaignOverview.md
new file mode 100644
index 0000000..253d8f3
--- /dev/null
+++ b/docs/GetWhatsappCampaignOverview.md
@@ -0,0 +1,17 @@
+# sib_api_v3_sdk.Model.GetWhatsappCampaignOverview
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **long?** | ID of the Whatsapp Campaign |
+**CampaignName** | **string** | Name of the Whatsapp Campaign |
+**CampaignStatus** | **string** | Status of the Whatsapp Campaign |
+**ScheduledAt** | **string** | UTC date-time on which Whatsapp campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional]
+**SenderNumber** | **string** | Sender of the Whatsapp Campaign |
+**Stats** | [**WhatsappCampStats**](WhatsappCampStats.md) | | [optional]
+**Template** | [**WhatsappCampTemplate**](WhatsappCampTemplate.md) | |
+**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/InboundParsingApi.md b/docs/InboundParsingApi.md
index 3c4fd63..3a9b9bc 100644
--- a/docs/InboundParsingApi.md
+++ b/docs/InboundParsingApi.md
@@ -4,10 +4,81 @@ All URIs are relative to *https://api.sendinblue.com/v3*
Method | HTTP request | Description
------------- | ------------- | -------------
+[**GetInboundEmailAttachment**](InboundParsingApi.md#getinboundemailattachment) | **GET** /inbound/attachments/{downloadToken} | Retrieve inbound attachment with download token.
[**GetInboundEmailEvents**](InboundParsingApi.md#getinboundemailevents) | **GET** /inbound/events | Get the list of all the events for the received emails.
[**GetInboundEmailEventsByUuid**](InboundParsingApi.md#getinboundemaileventsbyuuid) | **GET** /inbound/events/{uuid} | Fetch all events history for one particular received email.
+
+# **GetInboundEmailAttachment**
+> System.IO.Stream GetInboundEmailAttachment (string downloadToken)
+
+Retrieve inbound attachment with download token.
+
+This endpoint will retrieve inbound attachment with download token.
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class GetInboundEmailAttachmentExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new InboundParsingApi();
+ var downloadToken = downloadToken_example; // string | Token to fetch a particular attachment
+
+ try
+ {
+ // Retrieve inbound attachment with download token.
+ System.IO.Stream result = apiInstance.GetInboundEmailAttachment(downloadToken);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling InboundParsingApi.GetInboundEmailAttachment: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **downloadToken** | **string**| Token to fetch a particular attachment |
+
+### Return type
+
+**System.IO.Stream**
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **GetInboundEmailEvents**
> GetInboundEmailEvents GetInboundEmailEvents (string sender = null, DateTime? startDate = null, DateTime? endDate = null, long? limit = null, long? offset = null, string sort = null)
diff --git a/docs/InlineResponse200.md b/docs/InlineResponse200.md
new file mode 100644
index 0000000..63ff0c2
--- /dev/null
+++ b/docs/InlineResponse200.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.InlineResponse200
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Unique company id |
+
+[[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/InlineResponse201.md b/docs/InlineResponse201.md
new file mode 100644
index 0000000..b7868a8
--- /dev/null
+++ b/docs/InlineResponse201.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.InlineResponse201
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Unique deal id |
+
+[[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/InlineResponse2011.md b/docs/InlineResponse2011.md
new file mode 100644
index 0000000..be9a591
--- /dev/null
+++ b/docs/InlineResponse2011.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.InlineResponse2011
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Unique task id |
+
+[[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/MasterAccountApi.md b/docs/MasterAccountApi.md
index 29d7a20..a722647 100644
--- a/docs/MasterAccountApi.md
+++ b/docs/MasterAccountApi.md
@@ -9,6 +9,7 @@ Method | HTTP request | Description
[**CorporateSubAccountIdDelete**](MasterAccountApi.md#corporatesubaccountiddelete) | **DELETE** /corporate/subAccount/{id} | Delete a sub-account
[**CorporateSubAccountIdGet**](MasterAccountApi.md#corporatesubaccountidget) | **GET** /corporate/subAccount/{id} | Get sub-account details
[**CorporateSubAccountIdPlanPut**](MasterAccountApi.md#corporatesubaccountidplanput) | **PUT** /corporate/subAccount/{id}/plan | Update sub-account plan
+[**CorporateSubAccountKeyPost**](MasterAccountApi.md#corporatesubaccountkeypost) | **POST** /corporate/subAccount/key | Create an API key for a sub-account
[**CorporateSubAccountPost**](MasterAccountApi.md#corporatesubaccountpost) | **POST** /corporate/subAccount | Create a new sub-account under a master account.
[**CorporateSubAccountSsoTokenPost**](MasterAccountApi.md#corporatesubaccountssotokenpost) | **POST** /corporate/subAccount/ssoToken | Generate SSO token to access Sendinblue
@@ -111,7 +112,7 @@ namespace Example
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new MasterAccountApi();
- var offset = 56; // int? | Page number of sub-accounts listing
+ var offset = 56; // int? | Index of the first sub-account in the page
var limit = 56; // int? | Number of sub-accounts to be displayed on each page
try
@@ -133,7 +134,7 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **offset** | **int?**| Page number of sub-accounts listing |
+ **offset** | **int?**| Index of the first sub-account in the page |
**limit** | **int?**| Number of sub-accounts to be displayed on each page |
### Return type
@@ -224,7 +225,7 @@ void (empty response body)
Get sub-account details
-This endpoint will provide the details of specified sub-account organization
+This endpoint will provide the details for the specified sub-account company
### Example
```csharp
@@ -359,9 +360,79 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+# **CorporateSubAccountKeyPost**
+> CreateApiKeyResponse CorporateSubAccountKeyPost (CreateApiKeyRequest createApiKeyRequest)
+
+Create an API key for a sub-account
+
+This endpoint will generate an API v3 key for a sub account
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CorporateSubAccountKeyPostExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new MasterAccountApi();
+ var createApiKeyRequest = new CreateApiKeyRequest(); // CreateApiKeyRequest | Values to generate API key for sub-account
+
+ try
+ {
+ // Create an API key for a sub-account
+ CreateApiKeyResponse result = apiInstance.CorporateSubAccountKeyPost(createApiKeyRequest);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MasterAccountApi.CorporateSubAccountKeyPost: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **createApiKeyRequest** | [**CreateApiKeyRequest**](CreateApiKeyRequest.md)| Values to generate API key for sub-account |
+
+### Return type
+
+[**CreateApiKeyResponse**](CreateApiKeyResponse.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **CorporateSubAccountPost**
-> CreateModel CorporateSubAccountPost (CreateSubAccount subAccountCreate)
+> CreateSubAccountResponse CorporateSubAccountPost (CreateSubAccount subAccountCreate)
Create a new sub-account under a master account.
@@ -396,7 +467,7 @@ namespace Example
try
{
// Create a new sub-account under a master account.
- CreateModel result = apiInstance.CorporateSubAccountPost(subAccountCreate);
+ CreateSubAccountResponse result = apiInstance.CorporateSubAccountPost(subAccountCreate);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -416,7 +487,7 @@ Name | Type | Description | Notes
### Return type
-[**CreateModel**](CreateModel.md)
+[**CreateSubAccountResponse**](CreateSubAccountResponse.md)
### Authorization
@@ -435,7 +506,7 @@ Name | Type | Description | Notes
Generate SSO token to access Sendinblue
-This endpoint generates an sso token to authenticate and access a sub-account of the master using the account endpoint https://app.sendinblue.com/account/login/sub-account/sso/[token], where [token] will be replaced with actual token.
+This endpoint generates an sso token to authenticate and access a sub-account of the master using the account endpoint https://account-app.sendinblue.com/account/login/sub-account/sso/[token], where [token] will be replaced by the actual token.
### Example
```csharp
diff --git a/docs/NoteData.md b/docs/NoteData.md
index 9d69be7..32802b5 100644
--- a/docs/NoteData.md
+++ b/docs/NoteData.md
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
**Text** | **string** | Text content of a note |
**ContactIds** | **List<int?>** | Contact Ids linked to a note | [optional]
**DealIds** | **List<string>** | Deal Ids linked to a note | [optional]
+**CompanyIds** | **List<string>** | Company Ids linked to a note | [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/NoteId.md b/docs/NoteId.md
new file mode 100644
index 0000000..419513b
--- /dev/null
+++ b/docs/NoteId.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.NoteId
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Unique note 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/NoteList.md b/docs/NoteList.md
new file mode 100644
index 0000000..6961326
--- /dev/null
+++ b/docs/NoteList.md
@@ -0,0 +1,8 @@
+# sib_api_v3_sdk.Model.NoteList
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/NotesApi.md b/docs/NotesApi.md
new file mode 100644
index 0000000..fc8fbb9
--- /dev/null
+++ b/docs/NotesApi.md
@@ -0,0 +1,365 @@
+# sib_api_v3_sdk.Api.NotesApi
+
+All URIs are relative to *https://api.sendinblue.com/v3*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**CrmNotesGet**](NotesApi.md#crmnotesget) | **GET** /crm/notes | Get all notes
+[**CrmNotesIdDelete**](NotesApi.md#crmnotesiddelete) | **DELETE** /crm/notes/{id} | Delete a note
+[**CrmNotesIdGet**](NotesApi.md#crmnotesidget) | **GET** /crm/notes/{id} | Get a note
+[**CrmNotesIdPatch**](NotesApi.md#crmnotesidpatch) | **PATCH** /crm/notes/{id} | Update a note
+[**CrmNotesPost**](NotesApi.md#crmnotespost) | **POST** /crm/notes | Create a note
+
+
+
+# **CrmNotesGet**
+> NoteList CrmNotesGet (string entity = null, string entityIds = null, int? dateFrom = null, int? dateTo = null, long? offset = null, long? limit = null, string sort = null)
+
+Get all notes
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmNotesGetExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new NotesApi();
+ var entity = entity_example; // string | Filter by note entity type (optional)
+ var entityIds = entityIds_example; // string | Filter by note entity IDs (optional)
+ var dateFrom = 56; // int? | dateFrom to date range filter type (timestamp in milliseconds) (optional)
+ var dateTo = 56; // int? | dateTo to date range filter type (timestamp in milliseconds) (optional)
+ var offset = 789; // long? | Index of the first document of the page (optional)
+ var limit = 789; // long? | Number of documents per page (optional) (default to 50)
+ var sort = sort_example; // string | Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed (optional)
+
+ try
+ {
+ // Get all notes
+ NoteList result = apiInstance.CrmNotesGet(entity, entityIds, dateFrom, dateTo, offset, limit, sort);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling NotesApi.CrmNotesGet: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **entity** | **string**| Filter by note entity type | [optional]
+ **entityIds** | **string**| Filter by note entity IDs | [optional]
+ **dateFrom** | **int?**| dateFrom to date range filter type (timestamp in milliseconds) | [optional]
+ **dateTo** | **int?**| dateTo to date range filter type (timestamp in milliseconds) | [optional]
+ **offset** | **long?**| Index of the first document of the page | [optional]
+ **limit** | **long?**| Number of documents per page | [optional] [default to 50]
+ **sort** | **string**| Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed | [optional]
+
+### Return type
+
+[**NoteList**](NoteList.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmNotesIdDelete**
+> void CrmNotesIdDelete (string id)
+
+Delete a note
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmNotesIdDeleteExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new NotesApi();
+ var id = id_example; // string | Note ID to delete
+
+ try
+ {
+ // Delete a note
+ apiInstance.CrmNotesIdDelete(id);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling NotesApi.CrmNotesIdDelete: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| Note ID to delete |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmNotesIdGet**
+> Note CrmNotesIdGet (string id)
+
+Get a note
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmNotesIdGetExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new NotesApi();
+ var id = id_example; // string | Note ID to get
+
+ try
+ {
+ // Get a note
+ Note result = apiInstance.CrmNotesIdGet(id);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling NotesApi.CrmNotesIdGet: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| Note ID to get |
+
+### Return type
+
+[**Note**](Note.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmNotesIdPatch**
+> void CrmNotesIdPatch (string id, NoteData body)
+
+Update a note
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmNotesIdPatchExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new NotesApi();
+ var id = id_example; // string | Note ID to update
+ var body = new NoteData(); // NoteData | Note data to update a note
+
+ try
+ {
+ // Update a note
+ apiInstance.CrmNotesIdPatch(id, body);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling NotesApi.CrmNotesIdPatch: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **string**| Note ID to update |
+ **body** | [**NoteData**](NoteData.md)| Note data to update a note |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **CrmNotesPost**
+> NoteId CrmNotesPost (NoteData body)
+
+Create a note
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class CrmNotesPostExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new NotesApi();
+ var body = new NoteData(); // NoteData | Note data to create a note.
+
+ try
+ {
+ // Create a note
+ NoteId result = apiInstance.CrmNotesPost(body);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling NotesApi.CrmNotesPost: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **body** | [**NoteData**](NoteData.md)| Note data to create a note. |
+
+### Return type
+
+[**NoteId**](NoteId.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
diff --git a/docs/Order.md b/docs/Order.md
new file mode 100644
index 0000000..72dc629
--- /dev/null
+++ b/docs/Order.md
@@ -0,0 +1,17 @@
+# sib_api_v3_sdk.Model.Order
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Unique ID of the order. |
+**CreatedAt** | **string** | Event occurrence UTC date-time (YYYY-MM-DDTHH:mm:ssZ), when order is actually created. |
+**UpdatedAt** | **string** | Event updated UTC date-time (YYYY-MM-DDTHH:mm:ssZ), when the status of the order is actually changed/updated. |
+**Status** | **string** | State of the order. |
+**Amount** | **decimal?** | Total amount of the order, including all shipping expenses, tax and the price of items. |
+**Products** | [**List<OrderProducts>**](OrderProducts.md) | |
+**Email** | **string** | Email of the contact, Mandatory if "phone" field is not passed in "billing" parameter. | [optional]
+**Billing** | [**OrderBilling**](OrderBilling.md) | | [optional]
+**Coupons** | **List<string>** | Coupons applied to the order. Stored case insensitive. | [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/OrderBatch.md b/docs/OrderBatch.md
new file mode 100644
index 0000000..77830a1
--- /dev/null
+++ b/docs/OrderBatch.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.OrderBatch
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Orders** | [**List<Order>**](Order.md) | array of order objects |
+**NotifyUrl** | **string** | Notify Url provided by client to get the status of batch request | [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/OrderBilling.md b/docs/OrderBilling.md
new file mode 100644
index 0000000..516b68b
--- /dev/null
+++ b/docs/OrderBilling.md
@@ -0,0 +1,15 @@
+# sib_api_v3_sdk.Model.OrderBilling
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Address** | **string** | Full billing address. | [optional]
+**City** | **string** | Exact city of the address. | [optional]
+**CountryCode** | **string** | Billing country 2-letter ISO code. | [optional]
+**Phone** | **string** | Phone number to contact for further details about the order, Mandatory if "email" field is not passed. | [optional]
+**PostCode** | **string** | Postcode for delivery and billing. | [optional]
+**PaymentMethod** | **string** | How the visitor will pay for the item(s), e.g. paypal, check, etc. | [optional]
+**Region** | **string** | Exact region (state/province) for delivery and billing. | [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/OrderProducts.md b/docs/OrderProducts.md
new file mode 100644
index 0000000..3bd40d7
--- /dev/null
+++ b/docs/OrderProducts.md
@@ -0,0 +1,12 @@
+# sib_api_v3_sdk.Model.OrderProducts
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ProductId** | **string** | ID of the product. |
+**Quantity** | **decimal?** | How many pieces of the product the visitor has added to the cart. |
+**VariantId** | **string** | Product ID of the red color shirts. | [optional]
+**Price** | **decimal?** | The price of a unit of product |
+
+[[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/Pipeline.md b/docs/Pipeline.md
new file mode 100644
index 0000000..e90a6a2
--- /dev/null
+++ b/docs/Pipeline.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.Pipeline
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Stages** | [**List<PipelineStage>**](PipelineStage.md) | List of stages | [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/PipelineStage.md b/docs/PipelineStage.md
new file mode 100644
index 0000000..3504523
--- /dev/null
+++ b/docs/PipelineStage.md
@@ -0,0 +1,10 @@
+# sib_api_v3_sdk.Model.PipelineStage
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Stage id | [optional]
+**Name** | **string** | Stage name | [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/ScheduleSmtpEmail.md b/docs/ScheduleSmtpEmail.md
new file mode 100644
index 0000000..5a1b194
--- /dev/null
+++ b/docs/ScheduleSmtpEmail.md
@@ -0,0 +1,11 @@
+# sib_api_v3_sdk.Model.ScheduleSmtpEmail
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MessageId** | **string** | Message ID of the transactional email scheduled | [optional]
+**MessageIds** | **List<string>** | | [optional]
+**BatchId** | **string** | Batch ID of the batch transactional email scheduled | [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/SendSmtpEmail.md b/docs/SendSmtpEmail.md
index afd0502..c4c4111 100644
--- a/docs/SendSmtpEmail.md
+++ b/docs/SendSmtpEmail.md
@@ -17,6 +17,8 @@ Name | Type | Description | Notes
**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 mail. templateId can be customized only if global parameter contains templateId. htmlContent and textContent can be customized only if any of the two, htmlContent or textContent, is present in global parameters. Some global parameters such as **to(mandatory), bcc, cc, replyTo, subject** can also be customized specific to each version. Total number of recipients in one API request must not exceed 2000. However, you can still pass upto 99 recipients maximum in one message 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. 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]
+**ScheduledAt** | **DateTime?** | UTC date-time on which the email has to schedule (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for scheduling. There can be an expected delay of +5 minutes in scheduled email delivery. **Please note this feature is currently a public beta**. | [optional]
+**BatchId** | **string** | Valid UUIDv4 batch id to identify the scheduled batches transactional email. If not passed we will create a valid UUIDv4 batch id at our end. | [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/SendTransacSms.md b/docs/SendTransacSms.md
index e0ae621..07fb6a8 100644
--- a/docs/SendTransacSms.md
+++ b/docs/SendTransacSms.md
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
**Tag** | **string** | Tag of the message | [optional]
**WebUrl** | **string** | Webhook to call for each event triggered by the message (delivered etc.) | [optional]
**UnicodeEnabled** | **bool?** | Format of the message. It indicates whether the content should be treated as unicode or not. | [optional] [default to false]
+**OrganisationPrefix** | **string** | A recognizable prefix will ensure your audience knows who you are. Recommended by U.S. carriers. This will be added as your Brand Name before the message content. **Prefer verifying maximum length of 160 characters including this prefix in message content to avoid multiple sending of same sms.** | [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/SubAccountDetailsResponsePlanInfoCredits.md b/docs/SubAccountDetailsResponsePlanInfoCredits.md
index b80abb3..62349a7 100644
--- a/docs/SubAccountDetailsResponsePlanInfoCredits.md
+++ b/docs/SubAccountDetailsResponsePlanInfoCredits.md
@@ -3,7 +3,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Sms** | **long?** | Sms quota of the sub-account | [optional]
+**Sms** | **long?** | SMS credits remaining on the sub-account | [optional]
**Emails** | [**SubAccountDetailsResponsePlanInfoCreditsEmails**](SubAccountDetailsResponsePlanInfoCreditsEmails.md) | | [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/SubAccountsResponseSubAccounts.md b/docs/SubAccountsResponseSubAccounts.md
index cbe8c2e..489f263 100644
--- a/docs/SubAccountsResponseSubAccounts.md
+++ b/docs/SubAccountsResponseSubAccounts.md
@@ -3,10 +3,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **long?** | client id of sub-account organization |
-**CompanyName** | **string** | Name of sub-account organization |
-**Active** | **bool?** | Whether organization is active or not |
-**CreatedAt** | **long?** | timestamp when the organization was created |
+**Id** | **long?** | id of the sub-account |
+**CompanyName** | **string** | Name of the sub-account company |
+**Active** | **bool?** | Whether the sub-account is active or not |
+**CreatedAt** | **long?** | Timestamp when the sub-account was created |
[[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/Task.md b/docs/Task.md
index c780f76..83c16ea 100644
--- a/docs/Task.md
+++ b/docs/Task.md
@@ -3,23 +3,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**FirstContact** | [**Contact**](Contact.md) | | [optional]
**Id** | **string** | Unique task id | [optional]
**TaskTypeId** | **string** | Id for type of task e.g Call / Email / Meeting etc. |
**Name** | **string** | Name of task |
**ContactsIds** | **List<int?>** | Contact ids for contacts linked to this task | [optional]
-**Contacts** | [**List<Contact>**](Contact.md) | Contact details for contacts linked to this task | [optional]
**DealsIds** | **List<string>** | Deal ids for deals a task is linked to | [optional]
**CompaniesIds** | **List<string>** | Companies ids for companies a task is linked to | [optional]
-**AssignToId** | **string** | User id to whom task is assigned | [optional]
-**Date** | **DateTime?** | Task date/time |
-**Duration** | **int?** | Duration of task | [optional]
-**Notes** | **string** | Notes added to a task | [optional]
-**Done** | **bool?** | Task marked as done | [optional]
-**Reminder** | [**TaskReminder**](TaskReminder.md) | Task reminder date/time for a task | [optional]
-**CreatedAt** | **DateTime?** | Task created date/time | [optional]
-**UpdatedAt** | **DateTime?** | Task update date/time | [optional]
-**Refs** | **Object** | | [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/TaskList.md b/docs/TaskList.md
new file mode 100644
index 0000000..c18c4f1
--- /dev/null
+++ b/docs/TaskList.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.TaskList
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Items** | [**List<Task>**](Task.md) | List of tasks | [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/TaskReminder.md b/docs/TaskReminder.md
index c34c18e..4d0457c 100644
--- a/docs/TaskReminder.md
+++ b/docs/TaskReminder.md
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Value** | **int?** | Value of time unit before reminder is to be sent |
**Unit** | **string** | Unit of time before reminder is to be sent |
-**Types** | **List<string>** | Type of task reminder |
+**Types** | **List<string>** | Type of task reminder e.g email, push |
[[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/TaskTypes.md b/docs/TaskTypes.md
index e0dd8d0..98ddd3e 100644
--- a/docs/TaskTypes.md
+++ b/docs/TaskTypes.md
@@ -4,7 +4,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | Id of task type | [optional]
-**Icon** | **string** | Icon of task type | [optional]
**Title** | **string** | Title of task type | [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/FoldersApi.md b/docs/TasksApi.md
similarity index 60%
rename from docs/FoldersApi.md
rename to docs/TasksApi.md
index 0fb8416..33e848c 100644
--- a/docs/FoldersApi.md
+++ b/docs/TasksApi.md
@@ -1,22 +1,22 @@
-# sib_api_v3_sdk.Api.FoldersApi
+# sib_api_v3_sdk.Api.TasksApi
All URIs are relative to *https://api.sendinblue.com/v3*
Method | HTTP request | Description
------------- | ------------- | -------------
-[**CreateFolder**](FoldersApi.md#createfolder) | **POST** /contacts/folders | Create a folder
-[**DeleteFolder**](FoldersApi.md#deletefolder) | **DELETE** /contacts/folders/{folderId} | Delete a folder (and all its lists)
-[**GetFolder**](FoldersApi.md#getfolder) | **GET** /contacts/folders/{folderId} | Returns a folder's details
-[**GetFolderLists**](FoldersApi.md#getfolderlists) | **GET** /contacts/folders/{folderId}/lists | Get lists in a folder
-[**GetFolders**](FoldersApi.md#getfolders) | **GET** /contacts/folders | Get all folders
-[**UpdateFolder**](FoldersApi.md#updatefolder) | **PUT** /contacts/folders/{folderId} | Update a folder
+[**CrmTasksGet**](TasksApi.md#crmtasksget) | **GET** /crm/tasks | Get all tasks
+[**CrmTasksIdDelete**](TasksApi.md#crmtasksiddelete) | **DELETE** /crm/tasks/{id} | Delete a task
+[**CrmTasksIdGet**](TasksApi.md#crmtasksidget) | **GET** /crm/tasks/{id} | Get a task
+[**CrmTasksIdPatch**](TasksApi.md#crmtasksidpatch) | **PATCH** /crm/tasks/{id} | Update a task
+[**CrmTasksPost**](TasksApi.md#crmtaskspost) | **POST** /crm/tasks | Create a task
+[**CrmTasktypesGet**](TasksApi.md#crmtasktypesget) | **GET** /crm/tasktypes | Get all task types
-
-# **CreateFolder**
-> CreateModel CreateFolder (CreateUpdateFolder createFolder)
+
+# **CrmTasksGet**
+> TaskList CrmTasksGet (string filterType = null, string filterStatus = null, string filterDate = null, string filterAssignTo = null, string filterContacts = null, string filterDeals = null, string filterCompanies = null, int? dateFrom = null, int? dateTo = null, long? offset = null, long? limit = null, string sort = null, string sortBy = null)
-Create a folder
+Get all tasks
### Example
```csharp
@@ -28,7 +28,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class CreateFolderExample
+ public class CrmTasksGetExample
{
public void main()
{
@@ -41,18 +41,30 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new FoldersApi();
- var createFolder = new CreateUpdateFolder(); // CreateUpdateFolder | Name of the folder
+ var apiInstance = new TasksApi();
+ var filterType = filterType_example; // string | Filter by task type (ID) (optional)
+ var filterStatus = filterStatus_example; // string | Filter by task status (optional)
+ var filterDate = filterDate_example; // string | Filter by date (optional)
+ var filterAssignTo = filterAssignTo_example; // string | Filter by assignTo id (optional)
+ var filterContacts = filterContacts_example; // string | Filter by contact ids (optional)
+ var filterDeals = filterDeals_example; // string | Filter by deals ids (optional)
+ var filterCompanies = filterCompanies_example; // string | Filter by companies ids (optional)
+ var dateFrom = 56; // int? | dateFrom to date range filter type (timestamp in milliseconds) (optional)
+ var dateTo = 56; // int? | dateTo to date range filter type (timestamp in milliseconds) (optional)
+ var offset = 789; // long? | Index of the first document of the page (optional)
+ var limit = 789; // long? | Number of documents per page (optional) (default to 50)
+ var sort = sort_example; // string | Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed (optional)
+ var sortBy = sortBy_example; // string | The field used to sort field names. (optional)
try
{
- // Create a folder
- CreateModel result = apiInstance.CreateFolder(createFolder);
+ // Get all tasks
+ TaskList result = apiInstance.CrmTasksGet(filterType, filterStatus, filterDate, filterAssignTo, filterContacts, filterDeals, filterCompanies, dateFrom, dateTo, offset, limit, sort, sortBy);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling FoldersApi.CreateFolder: " + e.Message );
+ Debug.Print("Exception when calling TasksApi.CrmTasksGet: " + e.Message );
}
}
}
@@ -63,11 +75,23 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **createFolder** | [**CreateUpdateFolder**](CreateUpdateFolder.md)| Name of the folder |
+ **filterType** | **string**| Filter by task type (ID) | [optional]
+ **filterStatus** | **string**| Filter by task status | [optional]
+ **filterDate** | **string**| Filter by date | [optional]
+ **filterAssignTo** | **string**| Filter by assignTo id | [optional]
+ **filterContacts** | **string**| Filter by contact ids | [optional]
+ **filterDeals** | **string**| Filter by deals ids | [optional]
+ **filterCompanies** | **string**| Filter by companies ids | [optional]
+ **dateFrom** | **int?**| dateFrom to date range filter type (timestamp in milliseconds) | [optional]
+ **dateTo** | **int?**| dateTo to date range filter type (timestamp in milliseconds) | [optional]
+ **offset** | **long?**| Index of the first document of the page | [optional]
+ **limit** | **long?**| Number of documents per page | [optional] [default to 50]
+ **sort** | **string**| Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed | [optional]
+ **sortBy** | **string**| The field used to sort field names. | [optional]
### Return type
-[**CreateModel**](CreateModel.md)
+[**TaskList**](TaskList.md)
### Authorization
@@ -80,11 +104,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **DeleteFolder**
-> void DeleteFolder (long? folderId)
+
+# **CrmTasksIdDelete**
+> void CrmTasksIdDelete (string id)
-Delete a folder (and all its lists)
+Delete a task
### Example
```csharp
@@ -96,7 +120,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class DeleteFolderExample
+ public class CrmTasksIdDeleteExample
{
public void main()
{
@@ -109,17 +133,17 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new FoldersApi();
- var folderId = 789; // long? | Id of the folder
+ var apiInstance = new TasksApi();
+ var id = id_example; // string |
try
{
- // Delete a folder (and all its lists)
- apiInstance.DeleteFolder(folderId);
+ // Delete a task
+ apiInstance.CrmTasksIdDelete(id);
}
catch (Exception e)
{
- Debug.Print("Exception when calling FoldersApi.DeleteFolder: " + e.Message );
+ Debug.Print("Exception when calling TasksApi.CrmTasksIdDelete: " + e.Message );
}
}
}
@@ -130,7 +154,7 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **folderId** | **long?**| Id of the folder |
+ **id** | **string**| |
### Return type
@@ -147,11 +171,11 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **GetFolder**
-> GetFolder GetFolder (long? folderId)
+
+# **CrmTasksIdGet**
+> Task CrmTasksIdGet (string id)
-Returns a folder's details
+Get a task
### Example
```csharp
@@ -163,7 +187,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class GetFolderExample
+ public class CrmTasksIdGetExample
{
public void main()
{
@@ -176,18 +200,18 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new FoldersApi();
- var folderId = 789; // long? | id of the folder
+ var apiInstance = new TasksApi();
+ var id = id_example; // string |
try
{
- // Returns a folder's details
- GetFolder result = apiInstance.GetFolder(folderId);
+ // Get a task
+ Task result = apiInstance.CrmTasksIdGet(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling FoldersApi.GetFolder: " + e.Message );
+ Debug.Print("Exception when calling TasksApi.CrmTasksIdGet: " + e.Message );
}
}
}
@@ -198,11 +222,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **folderId** | **long?**| id of the folder |
+ **id** | **string**| |
### Return type
-[**GetFolder**](GetFolder.md)
+[**Task**](Task.md)
### Authorization
@@ -215,11 +239,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **GetFolderLists**
-> GetFolderLists GetFolderLists (long? folderId, long? limit = null, long? offset = null, string sort = null)
+
+# **CrmTasksIdPatch**
+> void CrmTasksIdPatch (string id, Body7 body)
-Get lists in a folder
+Update a task
### Example
```csharp
@@ -231,7 +255,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class GetFolderListsExample
+ public class CrmTasksIdPatchExample
{
public void main()
{
@@ -244,21 +268,18 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new FoldersApi();
- 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. Default order is **descending** if `sort` is not passed (optional) (default to desc)
+ var apiInstance = new TasksApi();
+ var id = id_example; // string |
+ var body = new Body7(); // Body7 | Updated task details.
try
{
- // Get lists in a folder
- GetFolderLists result = apiInstance.GetFolderLists(folderId, limit, offset, sort);
- Debug.WriteLine(result);
+ // Update a task
+ apiInstance.CrmTasksIdPatch(id, body);
}
catch (Exception e)
{
- Debug.Print("Exception when calling FoldersApi.GetFolderLists: " + e.Message );
+ Debug.Print("Exception when calling TasksApi.CrmTasksIdPatch: " + e.Message );
}
}
}
@@ -269,14 +290,12 @@ namespace Example
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. Default order is **descending** if `sort` is not passed | [optional] [default to desc]
+ **id** | **string**| |
+ **body** | [**Body7**](Body7.md)| Updated task details. |
### Return type
-[**GetFolderLists**](GetFolderLists.md)
+void (empty response body)
### Authorization
@@ -289,11 +308,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **GetFolders**
-> GetFolders GetFolders (long? limit, long? offset, string sort = null)
+
+# **CrmTasksPost**
+> InlineResponse2011 CrmTasksPost (Body6 body)
-Get all folders
+Create a task
### Example
```csharp
@@ -305,7 +324,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class GetFoldersExample
+ public class CrmTasksPostExample
{
public void main()
{
@@ -318,20 +337,18 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- 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. Default order is **descending** if `sort` is not passed (optional) (default to desc)
+ var apiInstance = new TasksApi();
+ var body = new Body6(); // Body6 | Task name.
try
{
- // Get all folders
- GetFolders result = apiInstance.GetFolders(limit, offset, sort);
+ // Create a task
+ InlineResponse2011 result = apiInstance.CrmTasksPost(body);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling FoldersApi.GetFolders: " + e.Message );
+ Debug.Print("Exception when calling TasksApi.CrmTasksPost: " + e.Message );
}
}
}
@@ -342,13 +359,11 @@ namespace Example
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. Default order is **descending** if `sort` is not passed | [optional] [default to desc]
+ **body** | [**Body6**](Body6.md)| Task name. |
### Return type
-[**GetFolders**](GetFolders.md)
+[**InlineResponse2011**](InlineResponse2011.md)
### Authorization
@@ -361,11 +376,11 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **UpdateFolder**
-> void UpdateFolder (long? folderId, CreateUpdateFolder updateFolder)
+
+# **CrmTasktypesGet**
+> TaskTypes CrmTasktypesGet ()
-Update a folder
+Get all task types
### Example
```csharp
@@ -377,7 +392,7 @@ using sib_api_v3_sdk.Model;
namespace Example
{
- public class UpdateFolderExample
+ public class CrmTasktypesGetExample
{
public void main()
{
@@ -390,18 +405,17 @@ namespace Example
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
- var apiInstance = new FoldersApi();
- var folderId = 789; // long? | Id of the folder
- var updateFolder = new CreateUpdateFolder(); // CreateUpdateFolder | Name of the folder
+ var apiInstance = new TasksApi();
try
{
- // Update a folder
- apiInstance.UpdateFolder(folderId, updateFolder);
+ // Get all task types
+ TaskTypes result = apiInstance.CrmTasktypesGet();
+ Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling FoldersApi.UpdateFolder: " + e.Message );
+ Debug.Print("Exception when calling TasksApi.CrmTasktypesGet: " + e.Message );
}
}
}
@@ -409,15 +423,11 @@ namespace Example
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **folderId** | **long?**| Id of the folder |
- **updateFolder** | [**CreateUpdateFolder**](CreateUpdateFolder.md)| Name of the folder |
+This endpoint does not need any parameter.
### Return type
-void (empty response body)
+[**TaskTypes**](TaskTypes.md)
### Authorization
diff --git a/docs/TransactionalEmailsApi.md b/docs/TransactionalEmailsApi.md
index 9ea31f5..8eb77dd 100644
--- a/docs/TransactionalEmailsApi.md
+++ b/docs/TransactionalEmailsApi.md
@@ -8,10 +8,13 @@ Method | HTTP request | Description
[**CreateSmtpTemplate**](TransactionalEmailsApi.md#createsmtptemplate) | **POST** /smtp/templates | Create an email template
[**DeleteBlockedDomain**](TransactionalEmailsApi.md#deleteblockeddomain) | **DELETE** /smtp/blockedDomains/{domain} | Unblock an existing domain from the list of blocked domains
[**DeleteHardbounces**](TransactionalEmailsApi.md#deletehardbounces) | **POST** /smtp/deleteHardbounces | Delete hardbounces
+[**DeleteScheduledEmailById**](TransactionalEmailsApi.md#deletescheduledemailbyid) | **DELETE** /smtp/email/{identifier} | Delete scheduled emails by batchId or messageId
[**DeleteSmtpTemplate**](TransactionalEmailsApi.md#deletesmtptemplate) | **DELETE** /smtp/templates/{templateId} | Delete an inactive email template
[**GetAggregatedSmtpReport**](TransactionalEmailsApi.md#getaggregatedsmtpreport) | **GET** /smtp/statistics/aggregatedReport | Get your transactional email activity aggregated over a period of time
[**GetBlockedDomains**](TransactionalEmailsApi.md#getblockeddomains) | **GET** /smtp/blockedDomains | Get the list of blocked domains
[**GetEmailEventReport**](TransactionalEmailsApi.md#getemaileventreport) | **GET** /smtp/statistics/events | Get all your transactional email activity (unaggregated events)
+[**GetScheduledEmailByBatchId**](TransactionalEmailsApi.md#getscheduledemailbybatchid) | **GET** /smtp/emailStatus/{batchId} | Fetch scheduled emails by batchId
+[**GetScheduledEmailByMessageId**](TransactionalEmailsApi.md#getscheduledemailbymessageid) | **GET** /smtp/emailStatus/{messageId} | Fetch scheduled email by messageId
[**GetSmtpReport**](TransactionalEmailsApi.md#getsmtpreport) | **GET** /smtp/statistics/reports | Get your transactional email activity aggregated per day
[**GetSmtpTemplate**](TransactionalEmailsApi.md#getsmtptemplate) | **GET** /smtp/templates/{templateId} | Returns the template information
[**GetSmtpTemplates**](TransactionalEmailsApi.md#getsmtptemplates) | **GET** /smtp/templates | Get the list of email templates
@@ -300,6 +303,75 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+# **DeleteScheduledEmailById**
+> void DeleteScheduledEmailById (string identifier)
+
+Delete scheduled emails by batchId or messageId
+
+Delete scheduled batch of emails by batchId or single scheduled email by messageId
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class DeleteScheduledEmailByIdExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new TransactionalEmailsApi();
+ var identifier = identifier_example; // string | The `batchId` of scheduled emails batch (Should be a valid UUIDv4) or the `messageId` of scheduled email.
+
+ try
+ {
+ // Delete scheduled emails by batchId or messageId
+ apiInstance.DeleteScheduledEmailById(identifier);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling TransactionalEmailsApi.DeleteScheduledEmailById: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **identifier** | **string**| The `batchId` of scheduled emails batch (Should be a valid UUIDv4) or the `messageId` of scheduled email. |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **DeleteSmtpTemplate**
> void DeleteSmtpTemplate (long? templateId)
@@ -541,7 +613,7 @@ namespace Example
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new TransactionalEmailsApi();
- var limit = 789; // long? | Number limitation for the result returned (optional) (default to 50)
+ var limit = 789; // long? | Number limitation for the result returned (optional) (default to 2500)
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)
@@ -572,7 +644,7 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **limit** | **long?**| Number limitation for the result returned | [optional] [default to 50]
+ **limit** | **long?**| Number limitation for the result returned | [optional] [default to 2500]
**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]
@@ -599,6 +671,162 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+# **GetScheduledEmailByBatchId**
+> GetScheduledEmailByBatchId GetScheduledEmailByBatchId (string batchId, DateTime? startDate = null, DateTime? endDate = null, string sort = null, string status = null, long? limit = null, long? offset = null)
+
+Fetch scheduled emails by batchId
+
+Fetch scheduled batch of emails by batchId (Can retrieve data upto 30 days old)
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class GetScheduledEmailByBatchIdExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new TransactionalEmailsApi();
+ var batchId = batchId_example; // string | The batchId of scheduled emails batch (Should be a valid UUIDv4)
+ var startDate = 2013-10-20; // DateTime? | Mandatory if `endDate` is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Can be maximum 30 days older tha current date. (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. Default order is **descending** if `sort` is not passed (optional) (default to desc)
+ var status = status_example; // string | Filter the records by `status` of the scheduled email batch or message. (optional)
+ var limit = 789; // long? | Number of documents returned per page (optional) (default to 100)
+ var offset = 789; // long? | Index of the first document on the page (optional) (default to 0)
+
+ try
+ {
+ // Fetch scheduled emails by batchId
+ GetScheduledEmailByBatchId result = apiInstance.GetScheduledEmailByBatchId(batchId, startDate, endDate, sort, status, limit, offset);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling TransactionalEmailsApi.GetScheduledEmailByBatchId: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **batchId** | **string**| The batchId of scheduled emails batch (Should be a valid UUIDv4) |
+ **startDate** | **DateTime?**| Mandatory if `endDate` is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Can be maximum 30 days older tha current date. | [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. Default order is **descending** if `sort` is not passed | [optional] [default to desc]
+ **status** | **string**| Filter the records by `status` of the scheduled email batch or message. | [optional]
+ **limit** | **long?**| Number of documents returned per page | [optional] [default to 100]
+ **offset** | **long?**| Index of the first document on the page | [optional] [default to 0]
+
+### Return type
+
+[**GetScheduledEmailByBatchId**](GetScheduledEmailByBatchId.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **GetScheduledEmailByMessageId**
+> GetScheduledEmailByMessageId GetScheduledEmailByMessageId (string messageId, DateTime? startDate = null, DateTime? endDate = null)
+
+Fetch scheduled email by messageId
+
+Fetch scheduled email by messageId (Can retrieve data upto 30 days old)
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class GetScheduledEmailByMessageIdExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new TransactionalEmailsApi();
+ var messageId = messageId_example; // string | The messageId of scheduled email
+ var startDate = 2013-10-20; // DateTime? | Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Can be maximum 30 days older tha current date. (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)
+
+ try
+ {
+ // Fetch scheduled email by messageId
+ GetScheduledEmailByMessageId result = apiInstance.GetScheduledEmailByMessageId(messageId, startDate, endDate);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling TransactionalEmailsApi.GetScheduledEmailByMessageId: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **messageId** | **string**| The messageId of scheduled email |
+ **startDate** | **DateTime?**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Can be maximum 30 days older tha current date. | [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]
+
+### Return type
+
+[**GetScheduledEmailByMessageId**](GetScheduledEmailByMessageId.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **GetSmtpReport**
> GetReports GetSmtpReport (long? limit = null, long? offset = null, string startDate = null, string endDate = null, long? days = null, string tag = null, string sort = null)
diff --git a/docs/UpdateContact.md b/docs/UpdateContact.md
index ec60017..42dacb4 100644
--- a/docs/UpdateContact.md
+++ b/docs/UpdateContact.md
@@ -3,7 +3,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Attributes** | **Object** | Pass the set of attributes to be updated. These attributes must be present in your account. To update existing email address of a contact with the new one please pass EMAIL in attribtes. For example, `{ "EMAIL":"newemail@domain.com", "FNAME":"Ellie", "LNAME":"Roger"}`. Keep in mind transactional attributes can be updated the same way as normal attributes. Mobile Number in "SMS" field should be passed with proper country code. For example {"SMS":"+91xxxxxxxxxx"} or {"SMS":"0091xxxxxxxxxx"} | [optional]
+**Attributes** | **Object** | Pass the set of attributes to be updated. These attributes must be present in your account. To update existing email address of a contact with the new one please pass EMAIL in attributes. For example, `{ "EMAIL":"newemail@domain.com", "FNAME":"Ellie", "LNAME":"Roger"}`. The attribute's parameter should be passed in capital letter while updating a contact. Keep in mind transactional attributes can be updated the same way as normal attributes. Mobile Number in "SMS" field should be passed with proper country code. For example {"SMS":"+91xxxxxxxxxx"} or {"SMS":"0091xxxxxxxxxx"} | [optional]
**EmailBlacklisted** | **bool?** | Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true) | [optional]
**SmsBlacklisted** | **bool?** | Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true) | [optional]
**ListIds** | **List<long?>** | Ids of the lists to add the contact to | [optional]
diff --git a/docs/UpdateEmailCampaign.md b/docs/UpdateEmailCampaign.md
index 7b25d30..fc6c5c5 100644
--- a/docs/UpdateEmailCampaign.md
+++ b/docs/UpdateEmailCampaign.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
**Tag** | **string** | Tag of the campaign | [optional]
**Sender** | [**UpdateEmailCampaignSender**](UpdateEmailCampaignSender.md) | | [optional]
**Name** | **string** | Name of the campaign | [optional]
-**HtmlContent** | **string** | Body of the message (HTML version). REQUIRED if htmlUrl is empty | [optional]
+**HtmlContent** | **string** | Body of the message (HTML version). If the campaign is designed using Drag & Drop editor via HTML content, then the design page will not have Drag & Drop editor access for that campaign. REQUIRED if htmlUrl is empty | [optional]
**HtmlUrl** | **string** | Url which contents the body of the email message. REQUIRED if htmlContent is empty | [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]
@@ -31,6 +31,8 @@ Name | Type | Description | Notes
**IpWarmupEnable** | **bool?** | Available for dedicated ip clients. Set this to true if you wish to warm up your ip. | [optional] [default to false]
**InitialQuota** | **long?** | Set an initial quota greater than 1 for warming up your ip. We recommend you set a value of 3000. | [optional]
**IncreaseRate** | **long?** | 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%. | [optional]
+**UnsubscriptionPageId** | **string** | Enter an unsubscription page id. The page id is a 24 digit alphanumeric id that can be found in the URL when editing the page. | [optional]
+**UpdateFormId** | **string** | Mandatory if templateId is used containing the {{ update_profile }} tag. Enter an update profile form id. The form id is a 24 digit alphanumeric id that can be found in the URL when editing the form. | [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/UpdateEmailCampaignRecipients.md b/docs/UpdateEmailCampaignRecipients.md
index fe4c309..f05d148 100644
--- a/docs/UpdateEmailCampaignRecipients.md
+++ b/docs/UpdateEmailCampaignRecipients.md
@@ -4,7 +4,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ExclusionListIds** | **List<long?>** | List ids which have to be excluded from a campaign | [optional]
-**ListIds** | **List<long?>** | Lists Ids to send the campaign to. REQUIRED if already not present in campaign and scheduledAt is not empty | [optional]
+**ListIds** | **List<long?>** | Lists Ids to send the campaign to. Campaign should only be updated with listIds if listIds were used to create it. REQUIRED if already not present in campaign and scheduledAt is not empty | [optional]
+**SegmentIds** | **List<long?>** | Mandatory if listIds are not used. Campaign should only be updated with segmentIds if segmentIds were used to create it. Segment ids to send the campaign to. | [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/UpdateSmsCampaign.md b/docs/UpdateSmsCampaign.md
index 1055d94..5daf6de 100644
--- a/docs/UpdateSmsCampaign.md
+++ b/docs/UpdateSmsCampaign.md
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
**Recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [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]
**UnicodeEnabled** | **bool?** | Format of the message. It indicates whether the content should be treated as unicode or not. | [optional] [default to false]
+**OrganisationPrefix** | **string** | A recognizable prefix will ensure your audience knows who you are. Recommended by U.S. carriers. This will be added as your Brand Name before the message content. **Prefer verifying maximum length of 160 characters including this prefix in message content to avoid multiple sending of same sms.** | [optional]
+**UnsubscribeInstruction** | **string** | Instructions to unsubscribe from future communications. Recommended by U.S. carriers. Must include **STOP** keyword. This will be added as instructions after the end of message content. **Prefer verifying maximum length of 160 characters including this instructions in message content to avoid multiple sending of same sms.** | [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/UpdateSmtpTemplate.md b/docs/UpdateSmtpTemplate.md
index 02f75c3..98cfd36 100644
--- a/docs/UpdateSmtpTemplate.md
+++ b/docs/UpdateSmtpTemplate.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
**Tag** | **string** | Tag of the template | [optional]
**Sender** | [**UpdateSmtpTemplateSender**](UpdateSmtpTemplateSender.md) | | [optional]
**TemplateName** | **string** | Name of the template | [optional]
-**HtmlContent** | **string** | Required if htmlUrl is empty. Body of the message (HTML must have more than 10 characters) | [optional]
+**HtmlContent** | **string** | Required if htmlUrl is empty. If the template is designed using Drag & Drop editor via HTML content, then the design page will not have Drag & Drop editor access for that template. Body of the message (HTML must have more than 10 characters) | [optional]
**HtmlUrl** | **string** | Required if htmlContent is empty. URL to the body of the email (HTML) | [optional]
**Subject** | **string** | Subject of the email | [optional]
**ReplyTo** | **string** | Email on which campaign recipients will be able to reply to | [optional]
diff --git a/docs/UploadImageModel.md b/docs/UploadImageModel.md
new file mode 100644
index 0000000..fa90ec8
--- /dev/null
+++ b/docs/UploadImageModel.md
@@ -0,0 +1,9 @@
+# sib_api_v3_sdk.Model.UploadImageModel
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Url** | **string** | URL of the image uploaded |
+
+[[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/VariablesItems.md b/docs/VariablesItems.md
new file mode 100644
index 0000000..26d4506
--- /dev/null
+++ b/docs/VariablesItems.md
@@ -0,0 +1,11 @@
+# sib_api_v3_sdk.Model.VariablesItems
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **string** | | [optional]
+**Default** | **string** | | [optional]
+**Datatype** | **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/WhatsappCampStats.md b/docs/WhatsappCampStats.md
new file mode 100644
index 0000000..f32a36c
--- /dev/null
+++ b/docs/WhatsappCampStats.md
@@ -0,0 +1,13 @@
+# sib_api_v3_sdk.Model.WhatsappCampStats
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Sent** | **int?** | |
+**Delivered** | **int?** | |
+**Read** | **int?** | |
+**Unsubscribe** | **int?** | |
+**NotSent** | **int?** | |
+
+[[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/WhatsappCampTemplate.md b/docs/WhatsappCampTemplate.md
new file mode 100644
index 0000000..bb989ae
--- /dev/null
+++ b/docs/WhatsappCampTemplate.md
@@ -0,0 +1,19 @@
+# sib_api_v3_sdk.Model.WhatsappCampTemplate
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **string** | name of the template | [optional]
+**Category** | **string** | description of the template | [optional]
+**Language** | **string** | language of the template | [optional]
+**ContainsButton** | **bool?** | | [optional]
+**DisplayHeader** | **bool?** | | [optional]
+**HeaderType** | **string** | type of header | [optional]
+**Components** | [**List<ComponentItems>**](ComponentItems.md) | array of component item objects | [optional]
+**HeaderVariables** | [**List<VariablesItems>**](VariablesItems.md) | array of variables item object | [optional]
+**BodyVariables** | [**List<VariablesItems>**](VariablesItems.md) | array of variables item variables | [optional]
+**ButtonType** | **string** | | [optional]
+**HideFooter** | **bool?** | | [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/WhatsappCampaignsApi.md b/docs/WhatsappCampaignsApi.md
new file mode 100644
index 0000000..61019fa
--- /dev/null
+++ b/docs/WhatsappCampaignsApi.md
@@ -0,0 +1,145 @@
+# sib_api_v3_sdk.Api.WhatsappCampaignsApi
+
+All URIs are relative to *https://api.sendinblue.com/v3*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**DeleteWhatsappCampaign**](WhatsappCampaignsApi.md#deletewhatsappcampaign) | **DELETE** /whatsappCampaigns/{campaignId} | Delete a whatsapp campaign
+[**GetWhatsappCampaign**](WhatsappCampaignsApi.md#getwhatsappcampaign) | **GET** /whatsappCampaigns/{campaignId} | Get Whatsapp campaign Overview
+
+
+
+# **DeleteWhatsappCampaign**
+> void DeleteWhatsappCampaign (Object campaignId)
+
+Delete a whatsapp campaign
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class DeleteWhatsappCampaignExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new WhatsappCampaignsApi();
+ var campaignId = new Object(); // Object | id of the campaign
+
+ try
+ {
+ // Delete a whatsapp campaign
+ apiInstance.DeleteWhatsappCampaign(campaignId);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WhatsappCampaignsApi.DeleteWhatsappCampaign: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **campaignId** | [**Object**](Object.md)| id of the campaign |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **GetWhatsappCampaign**
+> GetWhatsappCampaignOverview GetWhatsappCampaign (Object campaignId)
+
+Get Whatsapp campaign Overview
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class GetWhatsappCampaignExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new WhatsappCampaignsApi();
+ var campaignId = new Object(); // Object | Id of the campaign
+
+ try
+ {
+ // Get Whatsapp campaign Overview
+ GetWhatsappCampaignOverview result = apiInstance.GetWhatsappCampaign(campaignId);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WhatsappCampaignsApi.GetWhatsappCampaign: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **campaignId** | [**Object**](Object.md)| Id of the campaign |
+
+### Return type
+
+[**GetWhatsappCampaignOverview**](GetWhatsappCampaignOverview.md)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
diff --git a/sib_api_v3_sdk.sln b/sib_api_v3_sdk.sln
index a22a8af..a4f889f 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", "{5B3201DF-4DF3-4378-A1C0-0CC17F4E8E8C}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "sib_api_v3_sdk", "src\sib_api_v3_sdk\sib_api_v3_sdk.csproj", "{17020F04-B575-4F49-BF16-B65AF0D68A2A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -10,15 +10,15 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {5B3201DF-4DF3-4378-A1C0-0CC17F4E8E8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5B3201DF-4DF3-4378-A1C0-0CC17F4E8E8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5B3201DF-4DF3-4378-A1C0-0CC17F4E8E8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5B3201DF-4DF3-4378-A1C0-0CC17F4E8E8C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {17020F04-B575-4F49-BF16-B65AF0D68A2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {17020F04-B575-4F49-BF16-B65AF0D68A2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {17020F04-B575-4F49-BF16-B65AF0D68A2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {17020F04-B575-4F49-BF16-B65AF0D68A2A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {D2D4C59F-E9B8-405D-B967-F135732D56ED}
+ SolutionGuid = {E91C86A9-4587-4D4D-95EC-95771A196F08}
EndGlobalSection
EndGlobal
diff --git a/src/sib_api_v3_sdk/Api/CompaniesApi.cs b/src/sib_api_v3_sdk/Api/CompaniesApi.cs
new file mode 100644
index 0000000..751fe7b
--- /dev/null
+++ b/src/sib_api_v3_sdk/Api/CompaniesApi.cs
@@ -0,0 +1,1617 @@
+/*
+ * 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.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using RestSharp.Portable;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace sib_api_v3_sdk.Api
+{
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
+ public interface ICompaniesApi : IApiAccessor
+ {
+ #region Synchronous Operations
+ ///
+ /// Get company attributes
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ /// CompanyAttributes
+ CompanyAttributes CompaniesAttributesGet ();
+
+ ///
+ /// Get company attributes
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ /// ApiResponse of CompanyAttributes
+ ApiResponse CompaniesAttributesGetWithHttpInfo ();
+ ///
+ /// Get all companies
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ /// Filter by attrbutes. If you have filter for owner on your side please send it as {"attributes.owner":"5b1a17d914b73d35a76ca0c7"} (optional)
+ /// Filter by linked contacts ids (optional)
+ /// Filter by linked deals ids (optional)
+ /// Index of the first document of the page (optional)
+ /// Number of documents per page (optional, default to 50)
+ /// Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed (optional)
+ /// The field used to sort field names. (optional)
+ /// CompaniesList
+ CompaniesList CompaniesGet (string filters = null, long? linkedContactsIds = null, string linkedDealsIds = null, long? page = null, long? limit = null, string sort = null, string sortBy = null);
+
+ ///
+ /// Get all companies
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ /// Filter by attrbutes. If you have filter for owner on your side please send it as {"attributes.owner":"5b1a17d914b73d35a76ca0c7"} (optional)
+ /// Filter by linked contacts ids (optional)
+ /// Filter by linked deals ids (optional)
+ /// Index of the first document of the page (optional)
+ /// Number of documents per page (optional, default to 50)
+ /// Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed (optional)
+ /// The field used to sort field names. (optional)
+ /// ApiResponse of CompaniesList
+ ApiResponse CompaniesGetWithHttpInfo (string filters = null, long? linkedContactsIds = null, string linkedDealsIds = null, long? page = null, long? limit = null, string sort = null, string sortBy = null);
+ ///
+ /// Delete a company
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ ///
+ ///
+ void CompaniesIdDelete (string id);
+
+ ///
+ /// Delete a company
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// ApiResponse of Object(void)
+ ApiResponse