diff --git a/.gitignore b/.gitignore
index 17302c9..680e735 100644
--- a/.gitignore
+++ b/.gitignore
@@ -184,3 +184,5 @@ $RECYCLE.BIN/
# Visual Studio 2014 CTP
**/*.sln.ide
+
+.idea/*
diff --git a/src/sib_api_v3_sdk/Api/AccountApi.cs b/src/sib_api_v3_sdk/Api/AccountApi.cs
deleted file mode 100644
index 3493243..0000000
--- a/src/sib_api_v3_sdk/Api/AccountApi.cs
+++ /dev/null
@@ -1,311 +0,0 @@
-/*
- * 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 IAccountApi : IApiAccessor
- {
- #region Synchronous Operations
- ///
- /// Get your account information, plan and credits details
- ///
- ///
- ///
- ///
- /// Thrown when fails to make API call
- /// GetAccount
- GetAccount GetAccount ();
-
- ///
- /// Get your account information, plan and credits details
- ///
- ///
- ///
- ///
- /// Thrown when fails to make API call
- /// ApiResponse of GetAccount
- ApiResponse GetAccountWithHttpInfo ();
- #endregion Synchronous Operations
- #region Asynchronous Operations
- ///
- /// Get your account information, plan and credits details
- ///
- ///
- ///
- ///
- /// Thrown when fails to make API call
- /// Task of GetAccount
- System.Threading.Tasks.Task GetAccountAsync ();
-
- ///
- /// Get your account information, plan and credits details
- ///
- ///
- ///
- ///
- /// Thrown when fails to make API call
- /// Task of ApiResponse (GetAccount)
- System.Threading.Tasks.Task> GetAccountAsyncWithHttpInfo ();
- #endregion Asynchronous Operations
- }
-
- ///
- /// Represents a collection of functions to interact with the API endpoints
- ///
- public partial class AccountApi : IAccountApi
- {
- private sib_api_v3_sdk.Client.ExceptionFactory _exceptionFactory = (name, response) => null;
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- public AccountApi(String basePath)
- {
- this.Configuration = new sib_api_v3_sdk.Client.Configuration { BasePath = basePath };
-
- ExceptionFactory = sib_api_v3_sdk.Client.Configuration.DefaultExceptionFactory;
- }
-
- ///
- /// Initializes a new instance of the class
- /// using Configuration object
- ///
- /// An instance of Configuration
- ///
- public AccountApi(sib_api_v3_sdk.Client.Configuration configuration = null)
- {
- if (configuration == null) // use the default one in Configuration
- this.Configuration = sib_api_v3_sdk.Client.Configuration.Default;
- else
- this.Configuration = configuration;
-
- ExceptionFactory = sib_api_v3_sdk.Client.Configuration.DefaultExceptionFactory;
- }
-
- ///
- /// Gets the base path of the API client.
- ///
- /// The base path
- public String GetBasePath()
- {
- return this.Configuration.ApiClient.RestClient.BaseUrl.ToString();
- }
-
- ///
- /// Sets the base path of the API client.
- ///
- /// The base path
- [Obsolete("SetBasePath is deprecated, please do 'Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")]
- public void SetBasePath(String basePath)
- {
- // do nothing
- }
-
- ///
- /// Gets or sets the configuration object
- ///
- /// An instance of the Configuration
- public sib_api_v3_sdk.Client.Configuration Configuration {get; set;}
-
- ///
- /// Provides a factory method hook for the creation of exceptions.
- ///
- public sib_api_v3_sdk.Client.ExceptionFactory ExceptionFactory
- {
- get
- {
- if (_exceptionFactory != null && _exceptionFactory.GetInvocationList().Length > 1)
- {
- throw new InvalidOperationException("Multicast delegate for ExceptionFactory is unsupported.");
- }
- return _exceptionFactory;
- }
- set { _exceptionFactory = value; }
- }
-
- ///
- /// Gets the default header.
- ///
- /// Dictionary of HTTP header
- [Obsolete("DefaultHeader is deprecated, please use Configuration.DefaultHeader instead.")]
- public IDictionary DefaultHeader()
- {
- return new ReadOnlyDictionary(this.Configuration.DefaultHeader);
- }
-
- ///
- /// Add default header.
- ///
- /// Header field name.
- /// Header field value.
- ///
- [Obsolete("AddDefaultHeader is deprecated, please use Configuration.AddDefaultHeader instead.")]
- public void AddDefaultHeader(string key, string value)
- {
- this.Configuration.AddDefaultHeader(key, value);
- }
-
- ///
- /// Get your account information, plan and credits details
- ///
- /// Thrown when fails to make API call
- /// GetAccount
- public GetAccount GetAccount ()
- {
- ApiResponse localVarResponse = GetAccountWithHttpInfo();
- return localVarResponse.Data;
- }
-
- ///
- /// Get your account information, plan and credits details
- ///
- /// Thrown when fails to make API call
- /// ApiResponse of GetAccount
- public ApiResponse< GetAccount > GetAccountWithHttpInfo ()
- {
-
- var localVarPath = "./account";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new List>();
- var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json"
- };
- String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json"
- };
- String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
-
- // authentication (api-key) required
- if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("api-key")))
- {
- localVarHeaderParams["api-key"] = this.Configuration.GetApiKeyWithPrefix("api-key");
- }
- // authentication (partner-key) required
- if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("partner-key")))
- {
- localVarHeaderParams["partner-key"] = this.Configuration.GetApiKeyWithPrefix("partner-key");
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath,
- Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("GetAccount", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()),
- (GetAccount) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(GetAccount)));
- }
-
- ///
- /// Get your account information, plan and credits details
- ///
- /// Thrown when fails to make API call
- /// Task of GetAccount
- public async System.Threading.Tasks.Task GetAccountAsync ()
- {
- ApiResponse localVarResponse = await GetAccountAsyncWithHttpInfo();
- return localVarResponse.Data;
-
- }
-
- ///
- /// Get your account information, plan and credits details
- ///
- /// Thrown when fails to make API call
- /// Task of ApiResponse (GetAccount)
- public async System.Threading.Tasks.Task> GetAccountAsyncWithHttpInfo ()
- {
-
- var localVarPath = "./account";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new List>();
- var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json"
- };
- String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json"
- };
- String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
-
- // authentication (api-key) required
- if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("api-key")))
- {
- localVarHeaderParams["api-key"] = this.Configuration.GetApiKeyWithPrefix("api-key");
- }
- // authentication (partner-key) required
- if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("partner-key")))
- {
- localVarHeaderParams["partner-key"] = this.Configuration.GetApiKeyWithPrefix("partner-key");
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath,
- Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("GetAccount", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()),
- (GetAccount) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(GetAccount)));
- }
-
- }
-}
diff --git a/src/sib_api_v3_sdk/Api/CompaniesApi.cs b/src/sib_api_v3_sdk/Api/CompaniesApi.cs
deleted file mode 100644
index 751fe7b..0000000
--- a/src/sib_api_v3_sdk/Api/CompaniesApi.cs
+++ /dev/null
@@ -1,1617 +0,0 @@
-/*
- * 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