diff --git a/README.md b/README.md index 5d31581..4f56af5 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ For more information, please visit [https://account.brevo.com/support](https://a Add this line to your application's Gemfile: ```shell -gem 'brevo-ruby' +gem 'brevo' ``` And then execute: @@ -28,14 +28,14 @@ $ bundle Or install it yourself as: ```shell -$ ( sudo ) gem install brevo-ruby +$ ( sudo ) gem install brevo ``` ### Install from Git If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile: - gem 'brevo-ruby', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git' + gem 'brevo', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git' ### Include the Ruby code directly @@ -50,10 +50,10 @@ ruby -Ilib script.rb Please follow the [installation](#installation) procedure and then run the following code: ```ruby # Load the gem -require 'brevo-ruby' +require 'brevo' # Setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -65,13 +65,13 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::AccountApi.new +api_instance = Brevo::AccountApi.new begin #Get your account information, plan and credits details result = api_instance.get_account p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling AccountApi->get_account: #{e}" end @@ -83,542 +83,546 @@ All URIs are relative to *https://api.brevo.com/v3* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*BrevoRuby::AccountApi* | [**get_account**](docs/AccountApi.md#get_account) | **GET** /account | Get your account information, plan and credits details -*BrevoRuby::AccountApi* | [**get_account_activity**](docs/AccountApi.md#get_account_activity) | **GET** /organization/activities | Get user activity logs -*BrevoRuby::CompaniesApi* | [**companies_attributes_get**](docs/CompaniesApi.md#companies_attributes_get) | **GET** /companies/attributes | Get company attributes -*BrevoRuby::CompaniesApi* | [**companies_get**](docs/CompaniesApi.md#companies_get) | **GET** /companies | Get all companies -*BrevoRuby::CompaniesApi* | [**companies_id_delete**](docs/CompaniesApi.md#companies_id_delete) | **DELETE** /companies/{id} | Delete a company -*BrevoRuby::CompaniesApi* | [**companies_id_get**](docs/CompaniesApi.md#companies_id_get) | **GET** /companies/{id} | Get a company -*BrevoRuby::CompaniesApi* | [**companies_id_patch**](docs/CompaniesApi.md#companies_id_patch) | **PATCH** /companies/{id} | Update a company -*BrevoRuby::CompaniesApi* | [**companies_link_unlink_id_patch**](docs/CompaniesApi.md#companies_link_unlink_id_patch) | **PATCH** /companies/link-unlink/{id} | Link and Unlink company with contacts and deals -*BrevoRuby::CompaniesApi* | [**companies_post**](docs/CompaniesApi.md#companies_post) | **POST** /companies | Create a company -*BrevoRuby::ContactsApi* | [**add_contact_to_list**](docs/ContactsApi.md#add_contact_to_list) | **POST** /contacts/lists/{listId}/contacts/add | Add existing contacts to a list -*BrevoRuby::ContactsApi* | [**create_attribute**](docs/ContactsApi.md#create_attribute) | **POST** /contacts/attributes/{attributeCategory}/{attributeName} | Create contact attribute -*BrevoRuby::ContactsApi* | [**create_contact**](docs/ContactsApi.md#create_contact) | **POST** /contacts | Create a contact -*BrevoRuby::ContactsApi* | [**create_doi_contact**](docs/ContactsApi.md#create_doi_contact) | **POST** /contacts/doubleOptinConfirmation | Create Contact via DOI (Double-Opt-In) Flow -*BrevoRuby::ContactsApi* | [**create_folder**](docs/ContactsApi.md#create_folder) | **POST** /contacts/folders | Create a folder -*BrevoRuby::ContactsApi* | [**create_list**](docs/ContactsApi.md#create_list) | **POST** /contacts/lists | Create a list -*BrevoRuby::ContactsApi* | [**delete_attribute**](docs/ContactsApi.md#delete_attribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute -*BrevoRuby::ContactsApi* | [**delete_contact**](docs/ContactsApi.md#delete_contact) | **DELETE** /contacts/{identifier} | Delete a contact -*BrevoRuby::ContactsApi* | [**delete_folder**](docs/ContactsApi.md#delete_folder) | **DELETE** /contacts/folders/{folderId} | Delete a folder (and all its lists) -*BrevoRuby::ContactsApi* | [**delete_list**](docs/ContactsApi.md#delete_list) | **DELETE** /contacts/lists/{listId} | Delete a list -*BrevoRuby::ContactsApi* | [**get_attributes**](docs/ContactsApi.md#get_attributes) | **GET** /contacts/attributes | List all attributes -*BrevoRuby::ContactsApi* | [**get_contact_info**](docs/ContactsApi.md#get_contact_info) | **GET** /contacts/{identifier} | Get a contact's details -*BrevoRuby::ContactsApi* | [**get_contact_stats**](docs/ContactsApi.md#get_contact_stats) | **GET** /contacts/{identifier}/campaignStats | Get email campaigns' statistics for a contact -*BrevoRuby::ContactsApi* | [**get_contacts**](docs/ContactsApi.md#get_contacts) | **GET** /contacts | Get all the contacts -*BrevoRuby::ContactsApi* | [**get_contacts_from_list**](docs/ContactsApi.md#get_contacts_from_list) | **GET** /contacts/lists/{listId}/contacts | Get contacts in a list -*BrevoRuby::ContactsApi* | [**get_folder**](docs/ContactsApi.md#get_folder) | **GET** /contacts/folders/{folderId} | Returns a folder's details -*BrevoRuby::ContactsApi* | [**get_folder_lists**](docs/ContactsApi.md#get_folder_lists) | **GET** /contacts/folders/{folderId}/lists | Get lists in a folder -*BrevoRuby::ContactsApi* | [**get_folders**](docs/ContactsApi.md#get_folders) | **GET** /contacts/folders | Get all folders -*BrevoRuby::ContactsApi* | [**get_list**](docs/ContactsApi.md#get_list) | **GET** /contacts/lists/{listId} | Get a list's details -*BrevoRuby::ContactsApi* | [**get_lists**](docs/ContactsApi.md#get_lists) | **GET** /contacts/lists | Get all the lists -*BrevoRuby::ContactsApi* | [**get_segments**](docs/ContactsApi.md#get_segments) | **GET** /contacts/segments | Get all the Segments -*BrevoRuby::ContactsApi* | [**import_contacts**](docs/ContactsApi.md#import_contacts) | **POST** /contacts/import | Import contacts -*BrevoRuby::ContactsApi* | [**remove_contact_from_list**](docs/ContactsApi.md#remove_contact_from_list) | **POST** /contacts/lists/{listId}/contacts/remove | Delete a contact from a list -*BrevoRuby::ContactsApi* | [**request_contact_export**](docs/ContactsApi.md#request_contact_export) | **POST** /contacts/export | Export contacts -*BrevoRuby::ContactsApi* | [**update_attribute**](docs/ContactsApi.md#update_attribute) | **PUT** /contacts/attributes/{attributeCategory}/{attributeName} | Update contact attribute -*BrevoRuby::ContactsApi* | [**update_batch_contacts**](docs/ContactsApi.md#update_batch_contacts) | **POST** /contacts/batch | Update multiple contacts -*BrevoRuby::ContactsApi* | [**update_contact**](docs/ContactsApi.md#update_contact) | **PUT** /contacts/{identifier} | Update a contact -*BrevoRuby::ContactsApi* | [**update_folder**](docs/ContactsApi.md#update_folder) | **PUT** /contacts/folders/{folderId} | Update a folder -*BrevoRuby::ContactsApi* | [**update_list**](docs/ContactsApi.md#update_list) | **PUT** /contacts/lists/{listId} | Update a list -*BrevoRuby::ConversationsApi* | [**conversations_agent_online_ping_post**](docs/ConversationsApi.md#conversations_agent_online_ping_post) | **POST** /conversations/agentOnlinePing | Sets agent’s status to online for 2-3 minutes -*BrevoRuby::ConversationsApi* | [**conversations_messages_id_delete**](docs/ConversationsApi.md#conversations_messages_id_delete) | **DELETE** /conversations/messages/{id} | Delete a message sent by an agent -*BrevoRuby::ConversationsApi* | [**conversations_messages_id_get**](docs/ConversationsApi.md#conversations_messages_id_get) | **GET** /conversations/messages/{id} | Get a message -*BrevoRuby::ConversationsApi* | [**conversations_messages_id_put**](docs/ConversationsApi.md#conversations_messages_id_put) | **PUT** /conversations/messages/{id} | Update a message sent by an agent -*BrevoRuby::ConversationsApi* | [**conversations_messages_post**](docs/ConversationsApi.md#conversations_messages_post) | **POST** /conversations/messages | Send a message as an agent -*BrevoRuby::ConversationsApi* | [**conversations_pushed_messages_id_delete**](docs/ConversationsApi.md#conversations_pushed_messages_id_delete) | **DELETE** /conversations/pushedMessages/{id} | Delete an automated message -*BrevoRuby::ConversationsApi* | [**conversations_pushed_messages_id_get**](docs/ConversationsApi.md#conversations_pushed_messages_id_get) | **GET** /conversations/pushedMessages/{id} | Get an automated message -*BrevoRuby::ConversationsApi* | [**conversations_pushed_messages_id_put**](docs/ConversationsApi.md#conversations_pushed_messages_id_put) | **PUT** /conversations/pushedMessages/{id} | Update an automated message -*BrevoRuby::ConversationsApi* | [**conversations_pushed_messages_post**](docs/ConversationsApi.md#conversations_pushed_messages_post) | **POST** /conversations/pushedMessages | Send an automated message to a visitor -*BrevoRuby::CouponsApi* | [**create_coupon_collection**](docs/CouponsApi.md#create_coupon_collection) | **POST** /couponCollections | Create а coupon collection -*BrevoRuby::CouponsApi* | [**create_coupons**](docs/CouponsApi.md#create_coupons) | **POST** /coupons | Create coupons for a coupon collection -*BrevoRuby::CouponsApi* | [**get_coupon_collection**](docs/CouponsApi.md#get_coupon_collection) | **GET** /couponCollections/{id} | Get a coupon collection by id -*BrevoRuby::CouponsApi* | [**get_coupon_collections**](docs/CouponsApi.md#get_coupon_collections) | **GET** /couponCollections | Get all your coupon collections -*BrevoRuby::CouponsApi* | [**update_coupon_collection**](docs/CouponsApi.md#update_coupon_collection) | **PATCH** /couponCollections/{id} | Update a coupon collection by id -*BrevoRuby::DealsApi* | [**crm_attributes_deals_get**](docs/DealsApi.md#crm_attributes_deals_get) | **GET** /crm/attributes/deals | Get deal attributes -*BrevoRuby::DealsApi* | [**crm_deals_get**](docs/DealsApi.md#crm_deals_get) | **GET** /crm/deals | Get all deals -*BrevoRuby::DealsApi* | [**crm_deals_id_delete**](docs/DealsApi.md#crm_deals_id_delete) | **DELETE** /crm/deals/{id} | Delete a deal -*BrevoRuby::DealsApi* | [**crm_deals_id_get**](docs/DealsApi.md#crm_deals_id_get) | **GET** /crm/deals/{id} | Get a deal -*BrevoRuby::DealsApi* | [**crm_deals_id_patch**](docs/DealsApi.md#crm_deals_id_patch) | **PATCH** /crm/deals/{id} | Update a deal -*BrevoRuby::DealsApi* | [**crm_deals_link_unlink_id_patch**](docs/DealsApi.md#crm_deals_link_unlink_id_patch) | **PATCH** /crm/deals/link-unlink/{id} | Link and Unlink a deal with contacts and companies -*BrevoRuby::DealsApi* | [**crm_deals_post**](docs/DealsApi.md#crm_deals_post) | **POST** /crm/deals | Create a deal -*BrevoRuby::DealsApi* | [**crm_pipeline_details_get**](docs/DealsApi.md#crm_pipeline_details_get) | **GET** /crm/pipeline/details | Get pipeline stages -*BrevoRuby::DealsApi* | [**crm_pipeline_details_pipeline_id_get**](docs/DealsApi.md#crm_pipeline_details_pipeline_id_get) | **GET** /crm/pipeline/details/{pipelineID} | Get pipelines and their details -*BrevoRuby::DomainsApi* | [**authenticate_domain**](docs/DomainsApi.md#authenticate_domain) | **PUT** /senders/domains/{domainName}/authenticate | Authenticate a domain -*BrevoRuby::DomainsApi* | [**create_domain**](docs/DomainsApi.md#create_domain) | **POST** /senders/domains | Create a new domain -*BrevoRuby::DomainsApi* | [**delete_domain**](docs/DomainsApi.md#delete_domain) | **DELETE** /senders/domains/{domainName} | Delete a domain -*BrevoRuby::DomainsApi* | [**get_domain_configuration**](docs/DomainsApi.md#get_domain_configuration) | **GET** /senders/domains/{domainName} | Validate domain configuration -*BrevoRuby::DomainsApi* | [**get_domains**](docs/DomainsApi.md#get_domains) | **GET** /senders/domains | Get the list of all your domains -*BrevoRuby::EcommerceApi* | [**create_batch_order**](docs/EcommerceApi.md#create_batch_order) | **POST** /orders/status/batch | Create orders in batch -*BrevoRuby::EcommerceApi* | [**create_order**](docs/EcommerceApi.md#create_order) | **POST** /orders/status | Managing the status of the order -*BrevoRuby::EcommerceApi* | [**create_update_batch_category**](docs/EcommerceApi.md#create_update_batch_category) | **POST** /categories/batch | Create categories in batch -*BrevoRuby::EcommerceApi* | [**create_update_batch_products**](docs/EcommerceApi.md#create_update_batch_products) | **POST** /products/batch | Create products in batch -*BrevoRuby::EcommerceApi* | [**create_update_category**](docs/EcommerceApi.md#create_update_category) | **POST** /categories | Create/Update a category -*BrevoRuby::EcommerceApi* | [**create_update_product**](docs/EcommerceApi.md#create_update_product) | **POST** /products | Create/Update a product -*BrevoRuby::EcommerceApi* | [**ecommerce_activate_post**](docs/EcommerceApi.md#ecommerce_activate_post) | **POST** /ecommerce/activate | Activate the eCommerce app -*BrevoRuby::EcommerceApi* | [**get_categories**](docs/EcommerceApi.md#get_categories) | **GET** /categories | Return all your categories -*BrevoRuby::EcommerceApi* | [**get_category_info**](docs/EcommerceApi.md#get_category_info) | **GET** /categories/{id} | Get a category details -*BrevoRuby::EcommerceApi* | [**get_product_info**](docs/EcommerceApi.md#get_product_info) | **GET** /products/{id} | Get a product's details -*BrevoRuby::EcommerceApi* | [**get_products**](docs/EcommerceApi.md#get_products) | **GET** /products | Return all your products -*BrevoRuby::EmailCampaignsApi* | [**create_email_campaign**](docs/EmailCampaignsApi.md#create_email_campaign) | **POST** /emailCampaigns | Create an email campaign -*BrevoRuby::EmailCampaignsApi* | [**delete_email_campaign**](docs/EmailCampaignsApi.md#delete_email_campaign) | **DELETE** /emailCampaigns/{campaignId} | Delete an email campaign -*BrevoRuby::EmailCampaignsApi* | [**email_export_recipients**](docs/EmailCampaignsApi.md#email_export_recipients) | **POST** /emailCampaigns/{campaignId}/exportRecipients | Export the recipients of an email campaign -*BrevoRuby::EmailCampaignsApi* | [**get_ab_test_campaign_result**](docs/EmailCampaignsApi.md#get_ab_test_campaign_result) | **GET** /emailCampaigns/{campaignId}/abTestCampaignResult | Get an A/B test email campaign results -*BrevoRuby::EmailCampaignsApi* | [**get_email_campaign**](docs/EmailCampaignsApi.md#get_email_campaign) | **GET** /emailCampaigns/{campaignId} | Get an email campaign report -*BrevoRuby::EmailCampaignsApi* | [**get_email_campaigns**](docs/EmailCampaignsApi.md#get_email_campaigns) | **GET** /emailCampaigns | Return all your created email campaigns -*BrevoRuby::EmailCampaignsApi* | [**get_shared_template_url**](docs/EmailCampaignsApi.md#get_shared_template_url) | **GET** /emailCampaigns/{campaignId}/sharedUrl | Get a shared template url -*BrevoRuby::EmailCampaignsApi* | [**send_email_campaign_now**](docs/EmailCampaignsApi.md#send_email_campaign_now) | **POST** /emailCampaigns/{campaignId}/sendNow | Send an email campaign immediately, based on campaignId -*BrevoRuby::EmailCampaignsApi* | [**send_report**](docs/EmailCampaignsApi.md#send_report) | **POST** /emailCampaigns/{campaignId}/sendReport | Send the report of a campaign -*BrevoRuby::EmailCampaignsApi* | [**send_test_email**](docs/EmailCampaignsApi.md#send_test_email) | **POST** /emailCampaigns/{campaignId}/sendTest | Send an email campaign to your test list -*BrevoRuby::EmailCampaignsApi* | [**update_campaign_status**](docs/EmailCampaignsApi.md#update_campaign_status) | **PUT** /emailCampaigns/{campaignId}/status | Update an email campaign status -*BrevoRuby::EmailCampaignsApi* | [**update_email_campaign**](docs/EmailCampaignsApi.md#update_email_campaign) | **PUT** /emailCampaigns/{campaignId} | Update an email campaign -*BrevoRuby::EmailCampaignsApi* | [**upload_image_to_gallery**](docs/EmailCampaignsApi.md#upload_image_to_gallery) | **POST** /emailCampaigns/images | Upload an image to your account's image gallery -*BrevoRuby::ExternalFeedsApi* | [**create_external_feed**](docs/ExternalFeedsApi.md#create_external_feed) | **POST** /feeds | Create an external feed -*BrevoRuby::ExternalFeedsApi* | [**delete_external_feed**](docs/ExternalFeedsApi.md#delete_external_feed) | **DELETE** /feeds/{uuid} | Delete an external feed -*BrevoRuby::ExternalFeedsApi* | [**get_all_external_feeds**](docs/ExternalFeedsApi.md#get_all_external_feeds) | **GET** /feeds | Fetch all external feeds -*BrevoRuby::ExternalFeedsApi* | [**get_external_feed_by_uuid**](docs/ExternalFeedsApi.md#get_external_feed_by_uuid) | **GET** /feeds/{uuid} | Get an external feed by UUID -*BrevoRuby::ExternalFeedsApi* | [**update_external_feed**](docs/ExternalFeedsApi.md#update_external_feed) | **PUT** /feeds/{uuid} | Update an external feed -*BrevoRuby::FilesApi* | [**crm_files_get**](docs/FilesApi.md#crm_files_get) | **GET** /crm/files | Get all files -*BrevoRuby::FilesApi* | [**crm_files_id_data_get**](docs/FilesApi.md#crm_files_id_data_get) | **GET** /crm/files/{id}/data | Get file details -*BrevoRuby::FilesApi* | [**crm_files_id_delete**](docs/FilesApi.md#crm_files_id_delete) | **DELETE** /crm/files/{id} | Delete a file -*BrevoRuby::FilesApi* | [**crm_files_id_get**](docs/FilesApi.md#crm_files_id_get) | **GET** /crm/files/{id} | Download a file -*BrevoRuby::FilesApi* | [**crm_files_post**](docs/FilesApi.md#crm_files_post) | **POST** /crm/files | Upload a file -*BrevoRuby::InboundParsingApi* | [**get_inbound_email_attachment**](docs/InboundParsingApi.md#get_inbound_email_attachment) | **GET** /inbound/attachments/{downloadToken} | Retrieve inbound attachment with download token. -*BrevoRuby::InboundParsingApi* | [**get_inbound_email_events**](docs/InboundParsingApi.md#get_inbound_email_events) | **GET** /inbound/events | Get the list of all the events for the received emails. -*BrevoRuby::InboundParsingApi* | [**get_inbound_email_events_by_uuid**](docs/InboundParsingApi.md#get_inbound_email_events_by_uuid) | **GET** /inbound/events/{uuid} | Fetch all events history for one particular received email. -*BrevoRuby::MasterAccountApi* | [**corporate_master_account_get**](docs/MasterAccountApi.md#corporate_master_account_get) | **GET** /corporate/masterAccount | Get the details of requested master account -*BrevoRuby::MasterAccountApi* | [**corporate_sub_account_get**](docs/MasterAccountApi.md#corporate_sub_account_get) | **GET** /corporate/subAccount | Get the list of all the sub-accounts of the master account. -*BrevoRuby::MasterAccountApi* | [**corporate_sub_account_id_delete**](docs/MasterAccountApi.md#corporate_sub_account_id_delete) | **DELETE** /corporate/subAccount/{id} | Delete a sub-account -*BrevoRuby::MasterAccountApi* | [**corporate_sub_account_id_get**](docs/MasterAccountApi.md#corporate_sub_account_id_get) | **GET** /corporate/subAccount/{id} | Get sub-account details -*BrevoRuby::MasterAccountApi* | [**corporate_sub_account_id_plan_put**](docs/MasterAccountApi.md#corporate_sub_account_id_plan_put) | **PUT** /corporate/subAccount/{id}/plan | Update sub-account plan -*BrevoRuby::MasterAccountApi* | [**corporate_sub_account_key_post**](docs/MasterAccountApi.md#corporate_sub_account_key_post) | **POST** /corporate/subAccount/key | Create an API key for a sub-account -*BrevoRuby::MasterAccountApi* | [**corporate_sub_account_post**](docs/MasterAccountApi.md#corporate_sub_account_post) | **POST** /corporate/subAccount | Create a new sub-account under a master account. -*BrevoRuby::MasterAccountApi* | [**corporate_sub_account_sso_token_post**](docs/MasterAccountApi.md#corporate_sub_account_sso_token_post) | **POST** /corporate/subAccount/ssoToken | Generate SSO token to access Brevo -*BrevoRuby::MasterAccountApi* | [**get_account_activity**](docs/MasterAccountApi.md#get_account_activity) | **GET** /organization/activities | Get user activity logs -*BrevoRuby::NotesApi* | [**crm_notes_get**](docs/NotesApi.md#crm_notes_get) | **GET** /crm/notes | Get all notes -*BrevoRuby::NotesApi* | [**crm_notes_id_delete**](docs/NotesApi.md#crm_notes_id_delete) | **DELETE** /crm/notes/{id} | Delete a note -*BrevoRuby::NotesApi* | [**crm_notes_id_get**](docs/NotesApi.md#crm_notes_id_get) | **GET** /crm/notes/{id} | Get a note -*BrevoRuby::NotesApi* | [**crm_notes_id_patch**](docs/NotesApi.md#crm_notes_id_patch) | **PATCH** /crm/notes/{id} | Update a note -*BrevoRuby::NotesApi* | [**crm_notes_post**](docs/NotesApi.md#crm_notes_post) | **POST** /crm/notes | Create a note -*BrevoRuby::ProcessApi* | [**get_process**](docs/ProcessApi.md#get_process) | **GET** /processes/{processId} | Return the informations for a process -*BrevoRuby::ProcessApi* | [**get_processes**](docs/ProcessApi.md#get_processes) | **GET** /processes | Return all the processes for your account -*BrevoRuby::ResellerApi* | [**add_credits**](docs/ResellerApi.md#add_credits) | **POST** /reseller/children/{childIdentifier}/credits/add | Add Email and/or SMS credits to a specific child account -*BrevoRuby::ResellerApi* | [**associate_ip_to_child**](docs/ResellerApi.md#associate_ip_to_child) | **POST** /reseller/children/{childIdentifier}/ips/associate | Associate a dedicated IP to the child -*BrevoRuby::ResellerApi* | [**create_child_domain**](docs/ResellerApi.md#create_child_domain) | **POST** /reseller/children/{childIdentifier}/domains | Create a domain for a child account -*BrevoRuby::ResellerApi* | [**create_reseller_child**](docs/ResellerApi.md#create_reseller_child) | **POST** /reseller/children | Creates a reseller child -*BrevoRuby::ResellerApi* | [**delete_child_domain**](docs/ResellerApi.md#delete_child_domain) | **DELETE** /reseller/children/{childIdentifier}/domains/{domainName} | Delete the sender domain of the reseller child based on the childIdentifier and domainName passed -*BrevoRuby::ResellerApi* | [**delete_reseller_child**](docs/ResellerApi.md#delete_reseller_child) | **DELETE** /reseller/children/{childIdentifier} | Delete a single reseller child based on the child identifier supplied -*BrevoRuby::ResellerApi* | [**dissociate_ip_from_child**](docs/ResellerApi.md#dissociate_ip_from_child) | **POST** /reseller/children/{childIdentifier}/ips/dissociate | Dissociate a dedicated IP to the child -*BrevoRuby::ResellerApi* | [**get_child_account_creation_status**](docs/ResellerApi.md#get_child_account_creation_status) | **GET** /reseller/children/{childIdentifier}/accountCreationStatus | Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the identifier supplied -*BrevoRuby::ResellerApi* | [**get_child_domains**](docs/ResellerApi.md#get_child_domains) | **GET** /reseller/children/{childIdentifier}/domains | Get all sender domains for a specific child account -*BrevoRuby::ResellerApi* | [**get_child_info**](docs/ResellerApi.md#get_child_info) | **GET** /reseller/children/{childIdentifier} | Get a child account's details -*BrevoRuby::ResellerApi* | [**get_reseller_childs**](docs/ResellerApi.md#get_reseller_childs) | **GET** /reseller/children | Get the list of all children accounts -*BrevoRuby::ResellerApi* | [**get_sso_token**](docs/ResellerApi.md#get_sso_token) | **GET** /reseller/children/{childIdentifier}/auth | Get session token to access Brevo (SSO) -*BrevoRuby::ResellerApi* | [**remove_credits**](docs/ResellerApi.md#remove_credits) | **POST** /reseller/children/{childIdentifier}/credits/remove | Remove Email and/or SMS credits from a specific child account -*BrevoRuby::ResellerApi* | [**update_child_account_status**](docs/ResellerApi.md#update_child_account_status) | **PUT** /reseller/children/{childIdentifier}/accountStatus | Update info of reseller's child account status based on the childIdentifier supplied -*BrevoRuby::ResellerApi* | [**update_child_domain**](docs/ResellerApi.md#update_child_domain) | **PUT** /reseller/children/{childIdentifier}/domains/{domainName} | Update the sender domain of reseller's child based on the childIdentifier and domainName passed -*BrevoRuby::ResellerApi* | [**update_reseller_child**](docs/ResellerApi.md#update_reseller_child) | **PUT** /reseller/children/{childIdentifier} | Update info of reseller's child based on the child identifier supplied -*BrevoRuby::SMSCampaignsApi* | [**create_sms_campaign**](docs/SMSCampaignsApi.md#create_sms_campaign) | **POST** /smsCampaigns | Creates an SMS campaign -*BrevoRuby::SMSCampaignsApi* | [**delete_sms_campaign**](docs/SMSCampaignsApi.md#delete_sms_campaign) | **DELETE** /smsCampaigns/{campaignId} | Delete an SMS campaign -*BrevoRuby::SMSCampaignsApi* | [**get_sms_campaign**](docs/SMSCampaignsApi.md#get_sms_campaign) | **GET** /smsCampaigns/{campaignId} | Get an SMS campaign -*BrevoRuby::SMSCampaignsApi* | [**get_sms_campaigns**](docs/SMSCampaignsApi.md#get_sms_campaigns) | **GET** /smsCampaigns | Returns the information for all your created SMS campaigns -*BrevoRuby::SMSCampaignsApi* | [**request_sms_recipient_export**](docs/SMSCampaignsApi.md#request_sms_recipient_export) | **POST** /smsCampaigns/{campaignId}/exportRecipients | Export an SMS campaign's recipients -*BrevoRuby::SMSCampaignsApi* | [**send_sms_campaign_now**](docs/SMSCampaignsApi.md#send_sms_campaign_now) | **POST** /smsCampaigns/{campaignId}/sendNow | Send your SMS campaign immediately -*BrevoRuby::SMSCampaignsApi* | [**send_sms_report**](docs/SMSCampaignsApi.md#send_sms_report) | **POST** /smsCampaigns/{campaignId}/sendReport | Send an SMS campaign's report -*BrevoRuby::SMSCampaignsApi* | [**send_test_sms**](docs/SMSCampaignsApi.md#send_test_sms) | **POST** /smsCampaigns/{campaignId}/sendTest | Send a test SMS campaign -*BrevoRuby::SMSCampaignsApi* | [**update_sms_campaign**](docs/SMSCampaignsApi.md#update_sms_campaign) | **PUT** /smsCampaigns/{campaignId} | Update an SMS campaign -*BrevoRuby::SMSCampaignsApi* | [**update_sms_campaign_status**](docs/SMSCampaignsApi.md#update_sms_campaign_status) | **PUT** /smsCampaigns/{campaignId}/status | Update a campaign's status -*BrevoRuby::SendersApi* | [**create_sender**](docs/SendersApi.md#create_sender) | **POST** /senders | Create a new sender -*BrevoRuby::SendersApi* | [**delete_sender**](docs/SendersApi.md#delete_sender) | **DELETE** /senders/{senderId} | Delete a sender -*BrevoRuby::SendersApi* | [**get_ips**](docs/SendersApi.md#get_ips) | **GET** /senders/ips | Get all the dedicated IPs for your account -*BrevoRuby::SendersApi* | [**get_ips_from_sender**](docs/SendersApi.md#get_ips_from_sender) | **GET** /senders/{senderId}/ips | Get all the dedicated IPs for a sender -*BrevoRuby::SendersApi* | [**get_senders**](docs/SendersApi.md#get_senders) | **GET** /senders | Get the list of all your senders -*BrevoRuby::SendersApi* | [**update_sender**](docs/SendersApi.md#update_sender) | **PUT** /senders/{senderId} | Update a sender -*BrevoRuby::SendersApi* | [**validate_sender_by_otp**](docs/SendersApi.md#validate_sender_by_otp) | **PUT** /senders/{senderId}/validate | Update a sender -*BrevoRuby::TasksApi* | [**crm_tasks_get**](docs/TasksApi.md#crm_tasks_get) | **GET** /crm/tasks | Get all tasks -*BrevoRuby::TasksApi* | [**crm_tasks_id_delete**](docs/TasksApi.md#crm_tasks_id_delete) | **DELETE** /crm/tasks/{id} | Delete a task -*BrevoRuby::TasksApi* | [**crm_tasks_id_get**](docs/TasksApi.md#crm_tasks_id_get) | **GET** /crm/tasks/{id} | Get a task -*BrevoRuby::TasksApi* | [**crm_tasks_id_patch**](docs/TasksApi.md#crm_tasks_id_patch) | **PATCH** /crm/tasks/{id} | Update a task -*BrevoRuby::TasksApi* | [**crm_tasks_post**](docs/TasksApi.md#crm_tasks_post) | **POST** /crm/tasks | Create a task -*BrevoRuby::TasksApi* | [**crm_tasktypes_get**](docs/TasksApi.md#crm_tasktypes_get) | **GET** /crm/tasktypes | Get all task types -*BrevoRuby::TransactionalEmailsApi* | [**block_new_domain**](docs/TransactionalEmailsApi.md#block_new_domain) | **POST** /smtp/blockedDomains | Add a new domain to the list of blocked domains -*BrevoRuby::TransactionalEmailsApi* | [**create_smtp_template**](docs/TransactionalEmailsApi.md#create_smtp_template) | **POST** /smtp/templates | Create an email template -*BrevoRuby::TransactionalEmailsApi* | [**delete_blocked_domain**](docs/TransactionalEmailsApi.md#delete_blocked_domain) | **DELETE** /smtp/blockedDomains/{domain} | Unblock an existing domain from the list of blocked domains -*BrevoRuby::TransactionalEmailsApi* | [**delete_hardbounces**](docs/TransactionalEmailsApi.md#delete_hardbounces) | **POST** /smtp/deleteHardbounces | Delete hardbounces -*BrevoRuby::TransactionalEmailsApi* | [**delete_scheduled_email_by_id**](docs/TransactionalEmailsApi.md#delete_scheduled_email_by_id) | **DELETE** /smtp/email/{identifier} | Delete scheduled emails by batchId or messageId -*BrevoRuby::TransactionalEmailsApi* | [**delete_smtp_template**](docs/TransactionalEmailsApi.md#delete_smtp_template) | **DELETE** /smtp/templates/{templateId} | Delete an inactive email template -*BrevoRuby::TransactionalEmailsApi* | [**get_aggregated_smtp_report**](docs/TransactionalEmailsApi.md#get_aggregated_smtp_report) | **GET** /smtp/statistics/aggregatedReport | Get your transactional email activity aggregated over a period of time -*BrevoRuby::TransactionalEmailsApi* | [**get_blocked_domains**](docs/TransactionalEmailsApi.md#get_blocked_domains) | **GET** /smtp/blockedDomains | Get the list of blocked domains -*BrevoRuby::TransactionalEmailsApi* | [**get_email_event_report**](docs/TransactionalEmailsApi.md#get_email_event_report) | **GET** /smtp/statistics/events | Get all your transactional email activity (unaggregated events) -*BrevoRuby::TransactionalEmailsApi* | [**get_scheduled_email_by_batch_id**](docs/TransactionalEmailsApi.md#get_scheduled_email_by_batch_id) | **GET** /smtp/emailStatus/{batchId} | Fetch scheduled emails by batchId -*BrevoRuby::TransactionalEmailsApi* | [**get_scheduled_email_by_message_id**](docs/TransactionalEmailsApi.md#get_scheduled_email_by_message_id) | **GET** /smtp/emailStatus/{messageId} | Fetch scheduled email by messageId -*BrevoRuby::TransactionalEmailsApi* | [**get_smtp_report**](docs/TransactionalEmailsApi.md#get_smtp_report) | **GET** /smtp/statistics/reports | Get your transactional email activity aggregated per day -*BrevoRuby::TransactionalEmailsApi* | [**get_smtp_template**](docs/TransactionalEmailsApi.md#get_smtp_template) | **GET** /smtp/templates/{templateId} | Returns the template information -*BrevoRuby::TransactionalEmailsApi* | [**get_smtp_templates**](docs/TransactionalEmailsApi.md#get_smtp_templates) | **GET** /smtp/templates | Get the list of email templates -*BrevoRuby::TransactionalEmailsApi* | [**get_transac_blocked_contacts**](docs/TransactionalEmailsApi.md#get_transac_blocked_contacts) | **GET** /smtp/blockedContacts | Get the list of blocked or unsubscribed transactional contacts -*BrevoRuby::TransactionalEmailsApi* | [**get_transac_email_content**](docs/TransactionalEmailsApi.md#get_transac_email_content) | **GET** /smtp/emails/{uuid} | Get the personalized content of a sent transactional email -*BrevoRuby::TransactionalEmailsApi* | [**get_transac_emails_list**](docs/TransactionalEmailsApi.md#get_transac_emails_list) | **GET** /smtp/emails | Get the list of transactional emails on the basis of allowed filters -*BrevoRuby::TransactionalEmailsApi* | [**send_test_template**](docs/TransactionalEmailsApi.md#send_test_template) | **POST** /smtp/templates/{templateId}/sendTest | Send a template to your test list -*BrevoRuby::TransactionalEmailsApi* | [**send_transac_email**](docs/TransactionalEmailsApi.md#send_transac_email) | **POST** /smtp/email | Send a transactional email -*BrevoRuby::TransactionalEmailsApi* | [**smtp_blocked_contacts_email_delete**](docs/TransactionalEmailsApi.md#smtp_blocked_contacts_email_delete) | **DELETE** /smtp/blockedContacts/{email} | Unblock or resubscribe a transactional contact -*BrevoRuby::TransactionalEmailsApi* | [**smtp_log_message_id_delete**](docs/TransactionalEmailsApi.md#smtp_log_message_id_delete) | **DELETE** /smtp/log/{messageId} | Delete an SMTP transactional log -*BrevoRuby::TransactionalEmailsApi* | [**update_smtp_template**](docs/TransactionalEmailsApi.md#update_smtp_template) | **PUT** /smtp/templates/{templateId} | Update an email template -*BrevoRuby::TransactionalSMSApi* | [**get_sms_events**](docs/TransactionalSMSApi.md#get_sms_events) | **GET** /transactionalSMS/statistics/events | Get all your SMS activity (unaggregated events) -*BrevoRuby::TransactionalSMSApi* | [**get_transac_aggregated_sms_report**](docs/TransactionalSMSApi.md#get_transac_aggregated_sms_report) | **GET** /transactionalSMS/statistics/aggregatedReport | Get your SMS activity aggregated over a period of time -*BrevoRuby::TransactionalSMSApi* | [**get_transac_sms_report**](docs/TransactionalSMSApi.md#get_transac_sms_report) | **GET** /transactionalSMS/statistics/reports | Get your SMS activity aggregated per day -*BrevoRuby::TransactionalSMSApi* | [**send_transac_sms**](docs/TransactionalSMSApi.md#send_transac_sms) | **POST** /transactionalSMS/sms | Send SMS message to a mobile number -*BrevoRuby::TransactionalWhatsAppApi* | [**get_whatsapp_event_report**](docs/TransactionalWhatsAppApi.md#get_whatsapp_event_report) | **GET** /whatsapp/statistics/events | Get all your WhatsApp activity (unaggregated events) -*BrevoRuby::TransactionalWhatsAppApi* | [**send_whatsapp_message**](docs/TransactionalWhatsAppApi.md#send_whatsapp_message) | **POST** /whatsapp/sendMessage | Send a WhatsApp message -*BrevoRuby::UserApi* | [**get_invited_users_list**](docs/UserApi.md#get_invited_users_list) | **GET** /organization/invited/users | Get the list of all your users -*BrevoRuby::UserApi* | [**get_user_permission**](docs/UserApi.md#get_user_permission) | **GET** /organization/user/{email}/permissions | Check user permission -*BrevoRuby::WebhooksApi* | [**create_webhook**](docs/WebhooksApi.md#create_webhook) | **POST** /webhooks | Create a webhook -*BrevoRuby::WebhooksApi* | [**delete_webhook**](docs/WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{webhookId} | Delete a webhook -*BrevoRuby::WebhooksApi* | [**export_webhooks_history**](docs/WebhooksApi.md#export_webhooks_history) | **POST** /webhooks/export | Export all transactional events -*BrevoRuby::WebhooksApi* | [**get_webhook**](docs/WebhooksApi.md#get_webhook) | **GET** /webhooks/{webhookId} | Get a webhook details -*BrevoRuby::WebhooksApi* | [**get_webhooks**](docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | Get all webhooks -*BrevoRuby::WebhooksApi* | [**update_webhook**](docs/WebhooksApi.md#update_webhook) | **PUT** /webhooks/{webhookId} | Update a webhook -*BrevoRuby::WhatsAppCampaignsApi* | [**create_whats_app_campaign**](docs/WhatsAppCampaignsApi.md#create_whats_app_campaign) | **POST** /whatsappCampaigns | Create and Send a WhatsApp campaign -*BrevoRuby::WhatsAppCampaignsApi* | [**create_whats_app_template**](docs/WhatsAppCampaignsApi.md#create_whats_app_template) | **POST** /whatsppCampaigns/template | Create a WhatsApp template -*BrevoRuby::WhatsAppCampaignsApi* | [**delete_whats_app_campaign**](docs/WhatsAppCampaignsApi.md#delete_whats_app_campaign) | **DELETE** /whatsappCampaigns/{campaignId} | Delete a WhatsApp campaign -*BrevoRuby::WhatsAppCampaignsApi* | [**get_whats_app_campaign**](docs/WhatsAppCampaignsApi.md#get_whats_app_campaign) | **GET** /whatsappCampaigns/{campaignId} | Get a WhatsApp campaign -*BrevoRuby::WhatsAppCampaignsApi* | [**get_whats_app_campaigns**](docs/WhatsAppCampaignsApi.md#get_whats_app_campaigns) | **GET** /whatsappCampaigns | Return all your created WhatsApp campaigns -*BrevoRuby::WhatsAppCampaignsApi* | [**get_whats_app_config**](docs/WhatsAppCampaignsApi.md#get_whats_app_config) | **GET** /whatsappCampaigns/config | Get your WhatsApp API account information -*BrevoRuby::WhatsAppCampaignsApi* | [**get_whats_app_templates**](docs/WhatsAppCampaignsApi.md#get_whats_app_templates) | **GET** /whatsappCampaigns/template-list | Return all your created WhatsApp templates -*BrevoRuby::WhatsAppCampaignsApi* | [**send_whats_app_template_approval**](docs/WhatsAppCampaignsApi.md#send_whats_app_template_approval) | **POST** /whatsappCampaigns/template/approval/{templateId} | Send your WhatsApp template for approval -*BrevoRuby::WhatsAppCampaignsApi* | [**update_whats_app_campaign**](docs/WhatsAppCampaignsApi.md#update_whats_app_campaign) | **PUT** /whatsappCampaigns/{campaignId} | Update a WhatsApp campaign +*Brevo::AccountApi* | [**get_account**](docs/AccountApi.md#get_account) | **GET** /account | Get your account information, plan and credits details +*Brevo::AccountApi* | [**get_account_activity**](docs/AccountApi.md#get_account_activity) | **GET** /organization/activities | Get user activity logs +*Brevo::CompaniesApi* | [**companies_attributes_get**](docs/CompaniesApi.md#companies_attributes_get) | **GET** /companies/attributes | Get company attributes +*Brevo::CompaniesApi* | [**companies_get**](docs/CompaniesApi.md#companies_get) | **GET** /companies | Get all companies +*Brevo::CompaniesApi* | [**companies_id_delete**](docs/CompaniesApi.md#companies_id_delete) | **DELETE** /companies/{id} | Delete a company +*Brevo::CompaniesApi* | [**companies_id_get**](docs/CompaniesApi.md#companies_id_get) | **GET** /companies/{id} | Get a company +*Brevo::CompaniesApi* | [**companies_id_patch**](docs/CompaniesApi.md#companies_id_patch) | **PATCH** /companies/{id} | Update a company +*Brevo::CompaniesApi* | [**companies_link_unlink_id_patch**](docs/CompaniesApi.md#companies_link_unlink_id_patch) | **PATCH** /companies/link-unlink/{id} | Link and Unlink company with contacts and deals +*Brevo::CompaniesApi* | [**companies_post**](docs/CompaniesApi.md#companies_post) | **POST** /companies | Create a company +*Brevo::ContactsApi* | [**add_contact_to_list**](docs/ContactsApi.md#add_contact_to_list) | **POST** /contacts/lists/{listId}/contacts/add | Add existing contacts to a list +*Brevo::ContactsApi* | [**create_attribute**](docs/ContactsApi.md#create_attribute) | **POST** /contacts/attributes/{attributeCategory}/{attributeName} | Create contact attribute +*Brevo::ContactsApi* | [**create_contact**](docs/ContactsApi.md#create_contact) | **POST** /contacts | Create a contact +*Brevo::ContactsApi* | [**create_doi_contact**](docs/ContactsApi.md#create_doi_contact) | **POST** /contacts/doubleOptinConfirmation | Create Contact via DOI (Double-Opt-In) Flow +*Brevo::ContactsApi* | [**create_folder**](docs/ContactsApi.md#create_folder) | **POST** /contacts/folders | Create a folder +*Brevo::ContactsApi* | [**create_list**](docs/ContactsApi.md#create_list) | **POST** /contacts/lists | Create a list +*Brevo::ContactsApi* | [**delete_attribute**](docs/ContactsApi.md#delete_attribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute +*Brevo::ContactsApi* | [**delete_contact**](docs/ContactsApi.md#delete_contact) | **DELETE** /contacts/{identifier} | Delete a contact +*Brevo::ContactsApi* | [**delete_folder**](docs/ContactsApi.md#delete_folder) | **DELETE** /contacts/folders/{folderId} | Delete a folder (and all its lists) +*Brevo::ContactsApi* | [**delete_list**](docs/ContactsApi.md#delete_list) | **DELETE** /contacts/lists/{listId} | Delete a list +*Brevo::ContactsApi* | [**get_attributes**](docs/ContactsApi.md#get_attributes) | **GET** /contacts/attributes | List all attributes +*Brevo::ContactsApi* | [**get_contact_info**](docs/ContactsApi.md#get_contact_info) | **GET** /contacts/{identifier} | Get a contact's details +*Brevo::ContactsApi* | [**get_contact_stats**](docs/ContactsApi.md#get_contact_stats) | **GET** /contacts/{identifier}/campaignStats | Get email campaigns' statistics for a contact +*Brevo::ContactsApi* | [**get_contacts**](docs/ContactsApi.md#get_contacts) | **GET** /contacts | Get all the contacts +*Brevo::ContactsApi* | [**get_contacts_from_list**](docs/ContactsApi.md#get_contacts_from_list) | **GET** /contacts/lists/{listId}/contacts | Get contacts in a list +*Brevo::ContactsApi* | [**get_folder**](docs/ContactsApi.md#get_folder) | **GET** /contacts/folders/{folderId} | Returns a folder's details +*Brevo::ContactsApi* | [**get_folder_lists**](docs/ContactsApi.md#get_folder_lists) | **GET** /contacts/folders/{folderId}/lists | Get lists in a folder +*Brevo::ContactsApi* | [**get_folders**](docs/ContactsApi.md#get_folders) | **GET** /contacts/folders | Get all folders +*Brevo::ContactsApi* | [**get_list**](docs/ContactsApi.md#get_list) | **GET** /contacts/lists/{listId} | Get a list's details +*Brevo::ContactsApi* | [**get_lists**](docs/ContactsApi.md#get_lists) | **GET** /contacts/lists | Get all the lists +*Brevo::ContactsApi* | [**get_segments**](docs/ContactsApi.md#get_segments) | **GET** /contacts/segments | Get all the Segments +*Brevo::ContactsApi* | [**import_contacts**](docs/ContactsApi.md#import_contacts) | **POST** /contacts/import | Import contacts +*Brevo::ContactsApi* | [**remove_contact_from_list**](docs/ContactsApi.md#remove_contact_from_list) | **POST** /contacts/lists/{listId}/contacts/remove | Delete a contact from a list +*Brevo::ContactsApi* | [**request_contact_export**](docs/ContactsApi.md#request_contact_export) | **POST** /contacts/export | Export contacts +*Brevo::ContactsApi* | [**update_attribute**](docs/ContactsApi.md#update_attribute) | **PUT** /contacts/attributes/{attributeCategory}/{attributeName} | Update contact attribute +*Brevo::ContactsApi* | [**update_batch_contacts**](docs/ContactsApi.md#update_batch_contacts) | **POST** /contacts/batch | Update multiple contacts +*Brevo::ContactsApi* | [**update_contact**](docs/ContactsApi.md#update_contact) | **PUT** /contacts/{identifier} | Update a contact +*Brevo::ContactsApi* | [**update_folder**](docs/ContactsApi.md#update_folder) | **PUT** /contacts/folders/{folderId} | Update a folder +*Brevo::ContactsApi* | [**update_list**](docs/ContactsApi.md#update_list) | **PUT** /contacts/lists/{listId} | Update a list +*Brevo::ConversationsApi* | [**conversations_agent_online_ping_post**](docs/ConversationsApi.md#conversations_agent_online_ping_post) | **POST** /conversations/agentOnlinePing | Sets agent’s status to online for 2-3 minutes +*Brevo::ConversationsApi* | [**conversations_messages_id_delete**](docs/ConversationsApi.md#conversations_messages_id_delete) | **DELETE** /conversations/messages/{id} | Delete a message sent by an agent +*Brevo::ConversationsApi* | [**conversations_messages_id_get**](docs/ConversationsApi.md#conversations_messages_id_get) | **GET** /conversations/messages/{id} | Get a message +*Brevo::ConversationsApi* | [**conversations_messages_id_put**](docs/ConversationsApi.md#conversations_messages_id_put) | **PUT** /conversations/messages/{id} | Update a message sent by an agent +*Brevo::ConversationsApi* | [**conversations_messages_post**](docs/ConversationsApi.md#conversations_messages_post) | **POST** /conversations/messages | Send a message as an agent +*Brevo::ConversationsApi* | [**conversations_pushed_messages_id_delete**](docs/ConversationsApi.md#conversations_pushed_messages_id_delete) | **DELETE** /conversations/pushedMessages/{id} | Delete an automated message +*Brevo::ConversationsApi* | [**conversations_pushed_messages_id_get**](docs/ConversationsApi.md#conversations_pushed_messages_id_get) | **GET** /conversations/pushedMessages/{id} | Get an automated message +*Brevo::ConversationsApi* | [**conversations_pushed_messages_id_put**](docs/ConversationsApi.md#conversations_pushed_messages_id_put) | **PUT** /conversations/pushedMessages/{id} | Update an automated message +*Brevo::ConversationsApi* | [**conversations_pushed_messages_post**](docs/ConversationsApi.md#conversations_pushed_messages_post) | **POST** /conversations/pushedMessages | Send an automated message to a visitor +*Brevo::CouponsApi* | [**create_coupon_collection**](docs/CouponsApi.md#create_coupon_collection) | **POST** /couponCollections | Create а coupon collection +*Brevo::CouponsApi* | [**create_coupons**](docs/CouponsApi.md#create_coupons) | **POST** /coupons | Create coupons for a coupon collection +*Brevo::CouponsApi* | [**get_coupon_collection**](docs/CouponsApi.md#get_coupon_collection) | **GET** /couponCollections/{id} | Get a coupon collection by id +*Brevo::CouponsApi* | [**get_coupon_collections**](docs/CouponsApi.md#get_coupon_collections) | **GET** /couponCollections | Get all your coupon collections +*Brevo::CouponsApi* | [**update_coupon_collection**](docs/CouponsApi.md#update_coupon_collection) | **PATCH** /couponCollections/{id} | Update a coupon collection by id +*Brevo::DealsApi* | [**crm_attributes_deals_get**](docs/DealsApi.md#crm_attributes_deals_get) | **GET** /crm/attributes/deals | Get deal attributes +*Brevo::DealsApi* | [**crm_deals_get**](docs/DealsApi.md#crm_deals_get) | **GET** /crm/deals | Get all deals +*Brevo::DealsApi* | [**crm_deals_id_delete**](docs/DealsApi.md#crm_deals_id_delete) | **DELETE** /crm/deals/{id} | Delete a deal +*Brevo::DealsApi* | [**crm_deals_id_get**](docs/DealsApi.md#crm_deals_id_get) | **GET** /crm/deals/{id} | Get a deal +*Brevo::DealsApi* | [**crm_deals_id_patch**](docs/DealsApi.md#crm_deals_id_patch) | **PATCH** /crm/deals/{id} | Update a deal +*Brevo::DealsApi* | [**crm_deals_link_unlink_id_patch**](docs/DealsApi.md#crm_deals_link_unlink_id_patch) | **PATCH** /crm/deals/link-unlink/{id} | Link and Unlink a deal with contacts and companies +*Brevo::DealsApi* | [**crm_deals_post**](docs/DealsApi.md#crm_deals_post) | **POST** /crm/deals | Create a deal +*Brevo::DealsApi* | [**crm_pipeline_details_all_get**](docs/DealsApi.md#crm_pipeline_details_all_get) | **GET** /crm/pipeline/details/all | Get all pipelines +*Brevo::DealsApi* | [**crm_pipeline_details_get**](docs/DealsApi.md#crm_pipeline_details_get) | **GET** /crm/pipeline/details | Get pipeline stages +*Brevo::DealsApi* | [**crm_pipeline_details_pipeline_id_get**](docs/DealsApi.md#crm_pipeline_details_pipeline_id_get) | **GET** /crm/pipeline/details/{pipelineID} | Get a pipeline +*Brevo::DomainsApi* | [**authenticate_domain**](docs/DomainsApi.md#authenticate_domain) | **PUT** /senders/domains/{domainName}/authenticate | Authenticate a domain +*Brevo::DomainsApi* | [**create_domain**](docs/DomainsApi.md#create_domain) | **POST** /senders/domains | Create a new domain +*Brevo::DomainsApi* | [**delete_domain**](docs/DomainsApi.md#delete_domain) | **DELETE** /senders/domains/{domainName} | Delete a domain +*Brevo::DomainsApi* | [**get_domain_configuration**](docs/DomainsApi.md#get_domain_configuration) | **GET** /senders/domains/{domainName} | Validate domain configuration +*Brevo::DomainsApi* | [**get_domains**](docs/DomainsApi.md#get_domains) | **GET** /senders/domains | Get the list of all your domains +*Brevo::EcommerceApi* | [**create_batch_order**](docs/EcommerceApi.md#create_batch_order) | **POST** /orders/status/batch | Create orders in batch +*Brevo::EcommerceApi* | [**create_order**](docs/EcommerceApi.md#create_order) | **POST** /orders/status | Managing the status of the order +*Brevo::EcommerceApi* | [**create_update_batch_category**](docs/EcommerceApi.md#create_update_batch_category) | **POST** /categories/batch | Create categories in batch +*Brevo::EcommerceApi* | [**create_update_batch_products**](docs/EcommerceApi.md#create_update_batch_products) | **POST** /products/batch | Create products in batch +*Brevo::EcommerceApi* | [**create_update_category**](docs/EcommerceApi.md#create_update_category) | **POST** /categories | Create/Update a category +*Brevo::EcommerceApi* | [**create_update_product**](docs/EcommerceApi.md#create_update_product) | **POST** /products | Create/Update a product +*Brevo::EcommerceApi* | [**ecommerce_activate_post**](docs/EcommerceApi.md#ecommerce_activate_post) | **POST** /ecommerce/activate | Activate the eCommerce app +*Brevo::EcommerceApi* | [**get_categories**](docs/EcommerceApi.md#get_categories) | **GET** /categories | Return all your categories +*Brevo::EcommerceApi* | [**get_category_info**](docs/EcommerceApi.md#get_category_info) | **GET** /categories/{id} | Get a category details +*Brevo::EcommerceApi* | [**get_product_info**](docs/EcommerceApi.md#get_product_info) | **GET** /products/{id} | Get a product's details +*Brevo::EcommerceApi* | [**get_products**](docs/EcommerceApi.md#get_products) | **GET** /products | Return all your products +*Brevo::EmailCampaignsApi* | [**create_email_campaign**](docs/EmailCampaignsApi.md#create_email_campaign) | **POST** /emailCampaigns | Create an email campaign +*Brevo::EmailCampaignsApi* | [**delete_email_campaign**](docs/EmailCampaignsApi.md#delete_email_campaign) | **DELETE** /emailCampaigns/{campaignId} | Delete an email campaign +*Brevo::EmailCampaignsApi* | [**email_export_recipients**](docs/EmailCampaignsApi.md#email_export_recipients) | **POST** /emailCampaigns/{campaignId}/exportRecipients | Export the recipients of an email campaign +*Brevo::EmailCampaignsApi* | [**get_ab_test_campaign_result**](docs/EmailCampaignsApi.md#get_ab_test_campaign_result) | **GET** /emailCampaigns/{campaignId}/abTestCampaignResult | Get an A/B test email campaign results +*Brevo::EmailCampaignsApi* | [**get_email_campaign**](docs/EmailCampaignsApi.md#get_email_campaign) | **GET** /emailCampaigns/{campaignId} | Get an email campaign report +*Brevo::EmailCampaignsApi* | [**get_email_campaigns**](docs/EmailCampaignsApi.md#get_email_campaigns) | **GET** /emailCampaigns | Return all your created email campaigns +*Brevo::EmailCampaignsApi* | [**get_shared_template_url**](docs/EmailCampaignsApi.md#get_shared_template_url) | **GET** /emailCampaigns/{campaignId}/sharedUrl | Get a shared template url +*Brevo::EmailCampaignsApi* | [**send_email_campaign_now**](docs/EmailCampaignsApi.md#send_email_campaign_now) | **POST** /emailCampaigns/{campaignId}/sendNow | Send an email campaign immediately, based on campaignId +*Brevo::EmailCampaignsApi* | [**send_report**](docs/EmailCampaignsApi.md#send_report) | **POST** /emailCampaigns/{campaignId}/sendReport | Send the report of a campaign +*Brevo::EmailCampaignsApi* | [**send_test_email**](docs/EmailCampaignsApi.md#send_test_email) | **POST** /emailCampaigns/{campaignId}/sendTest | Send an email campaign to your test list +*Brevo::EmailCampaignsApi* | [**update_campaign_status**](docs/EmailCampaignsApi.md#update_campaign_status) | **PUT** /emailCampaigns/{campaignId}/status | Update an email campaign status +*Brevo::EmailCampaignsApi* | [**update_email_campaign**](docs/EmailCampaignsApi.md#update_email_campaign) | **PUT** /emailCampaigns/{campaignId} | Update an email campaign +*Brevo::EmailCampaignsApi* | [**upload_image_to_gallery**](docs/EmailCampaignsApi.md#upload_image_to_gallery) | **POST** /emailCampaigns/images | Upload an image to your account's image gallery +*Brevo::ExternalFeedsApi* | [**create_external_feed**](docs/ExternalFeedsApi.md#create_external_feed) | **POST** /feeds | Create an external feed +*Brevo::ExternalFeedsApi* | [**delete_external_feed**](docs/ExternalFeedsApi.md#delete_external_feed) | **DELETE** /feeds/{uuid} | Delete an external feed +*Brevo::ExternalFeedsApi* | [**get_all_external_feeds**](docs/ExternalFeedsApi.md#get_all_external_feeds) | **GET** /feeds | Fetch all external feeds +*Brevo::ExternalFeedsApi* | [**get_external_feed_by_uuid**](docs/ExternalFeedsApi.md#get_external_feed_by_uuid) | **GET** /feeds/{uuid} | Get an external feed by UUID +*Brevo::ExternalFeedsApi* | [**update_external_feed**](docs/ExternalFeedsApi.md#update_external_feed) | **PUT** /feeds/{uuid} | Update an external feed +*Brevo::FilesApi* | [**crm_files_get**](docs/FilesApi.md#crm_files_get) | **GET** /crm/files | Get all files +*Brevo::FilesApi* | [**crm_files_id_data_get**](docs/FilesApi.md#crm_files_id_data_get) | **GET** /crm/files/{id}/data | Get file details +*Brevo::FilesApi* | [**crm_files_id_delete**](docs/FilesApi.md#crm_files_id_delete) | **DELETE** /crm/files/{id} | Delete a file +*Brevo::FilesApi* | [**crm_files_id_get**](docs/FilesApi.md#crm_files_id_get) | **GET** /crm/files/{id} | Download a file +*Brevo::FilesApi* | [**crm_files_post**](docs/FilesApi.md#crm_files_post) | **POST** /crm/files | Upload a file +*Brevo::InboundParsingApi* | [**get_inbound_email_attachment**](docs/InboundParsingApi.md#get_inbound_email_attachment) | **GET** /inbound/attachments/{downloadToken} | Retrieve inbound attachment with download token. +*Brevo::InboundParsingApi* | [**get_inbound_email_events**](docs/InboundParsingApi.md#get_inbound_email_events) | **GET** /inbound/events | Get the list of all the events for the received emails. +*Brevo::InboundParsingApi* | [**get_inbound_email_events_by_uuid**](docs/InboundParsingApi.md#get_inbound_email_events_by_uuid) | **GET** /inbound/events/{uuid} | Fetch all events history for one particular received email. +*Brevo::MasterAccountApi* | [**corporate_master_account_get**](docs/MasterAccountApi.md#corporate_master_account_get) | **GET** /corporate/masterAccount | Get the details of requested master account +*Brevo::MasterAccountApi* | [**corporate_sub_account_get**](docs/MasterAccountApi.md#corporate_sub_account_get) | **GET** /corporate/subAccount | Get the list of all the sub-accounts of the master account. +*Brevo::MasterAccountApi* | [**corporate_sub_account_id_applications_toggle_put**](docs/MasterAccountApi.md#corporate_sub_account_id_applications_toggle_put) | **PUT** /corporate/subAccount/{id}/applications/toggle | Enable/disable sub-account application(s) +*Brevo::MasterAccountApi* | [**corporate_sub_account_id_delete**](docs/MasterAccountApi.md#corporate_sub_account_id_delete) | **DELETE** /corporate/subAccount/{id} | Delete a sub-account +*Brevo::MasterAccountApi* | [**corporate_sub_account_id_get**](docs/MasterAccountApi.md#corporate_sub_account_id_get) | **GET** /corporate/subAccount/{id} | Get sub-account details +*Brevo::MasterAccountApi* | [**corporate_sub_account_id_plan_put**](docs/MasterAccountApi.md#corporate_sub_account_id_plan_put) | **PUT** /corporate/subAccount/{id}/plan | Update sub-account plan +*Brevo::MasterAccountApi* | [**corporate_sub_account_key_post**](docs/MasterAccountApi.md#corporate_sub_account_key_post) | **POST** /corporate/subAccount/key | Create an API key for a sub-account +*Brevo::MasterAccountApi* | [**corporate_sub_account_post**](docs/MasterAccountApi.md#corporate_sub_account_post) | **POST** /corporate/subAccount | Create a new sub-account under a master account. +*Brevo::MasterAccountApi* | [**corporate_sub_account_sso_token_post**](docs/MasterAccountApi.md#corporate_sub_account_sso_token_post) | **POST** /corporate/subAccount/ssoToken | Generate SSO token to access Brevo +*Brevo::MasterAccountApi* | [**get_account_activity**](docs/MasterAccountApi.md#get_account_activity) | **GET** /organization/activities | Get user activity logs +*Brevo::NotesApi* | [**crm_notes_get**](docs/NotesApi.md#crm_notes_get) | **GET** /crm/notes | Get all notes +*Brevo::NotesApi* | [**crm_notes_id_delete**](docs/NotesApi.md#crm_notes_id_delete) | **DELETE** /crm/notes/{id} | Delete a note +*Brevo::NotesApi* | [**crm_notes_id_get**](docs/NotesApi.md#crm_notes_id_get) | **GET** /crm/notes/{id} | Get a note +*Brevo::NotesApi* | [**crm_notes_id_patch**](docs/NotesApi.md#crm_notes_id_patch) | **PATCH** /crm/notes/{id} | Update a note +*Brevo::NotesApi* | [**crm_notes_post**](docs/NotesApi.md#crm_notes_post) | **POST** /crm/notes | Create a note +*Brevo::ProcessApi* | [**get_process**](docs/ProcessApi.md#get_process) | **GET** /processes/{processId} | Return the informations for a process +*Brevo::ProcessApi* | [**get_processes**](docs/ProcessApi.md#get_processes) | **GET** /processes | Return all the processes for your account +*Brevo::ResellerApi* | [**add_credits**](docs/ResellerApi.md#add_credits) | **POST** /reseller/children/{childIdentifier}/credits/add | Add Email and/or SMS credits to a specific child account +*Brevo::ResellerApi* | [**associate_ip_to_child**](docs/ResellerApi.md#associate_ip_to_child) | **POST** /reseller/children/{childIdentifier}/ips/associate | Associate a dedicated IP to the child +*Brevo::ResellerApi* | [**create_child_domain**](docs/ResellerApi.md#create_child_domain) | **POST** /reseller/children/{childIdentifier}/domains | Create a domain for a child account +*Brevo::ResellerApi* | [**create_reseller_child**](docs/ResellerApi.md#create_reseller_child) | **POST** /reseller/children | Creates a reseller child +*Brevo::ResellerApi* | [**delete_child_domain**](docs/ResellerApi.md#delete_child_domain) | **DELETE** /reseller/children/{childIdentifier}/domains/{domainName} | Delete the sender domain of the reseller child based on the childIdentifier and domainName passed +*Brevo::ResellerApi* | [**delete_reseller_child**](docs/ResellerApi.md#delete_reseller_child) | **DELETE** /reseller/children/{childIdentifier} | Delete a single reseller child based on the child identifier supplied +*Brevo::ResellerApi* | [**dissociate_ip_from_child**](docs/ResellerApi.md#dissociate_ip_from_child) | **POST** /reseller/children/{childIdentifier}/ips/dissociate | Dissociate a dedicated IP to the child +*Brevo::ResellerApi* | [**get_child_account_creation_status**](docs/ResellerApi.md#get_child_account_creation_status) | **GET** /reseller/children/{childIdentifier}/accountCreationStatus | Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the identifier supplied +*Brevo::ResellerApi* | [**get_child_domains**](docs/ResellerApi.md#get_child_domains) | **GET** /reseller/children/{childIdentifier}/domains | Get all sender domains for a specific child account +*Brevo::ResellerApi* | [**get_child_info**](docs/ResellerApi.md#get_child_info) | **GET** /reseller/children/{childIdentifier} | Get a child account's details +*Brevo::ResellerApi* | [**get_reseller_childs**](docs/ResellerApi.md#get_reseller_childs) | **GET** /reseller/children | Get the list of all children accounts +*Brevo::ResellerApi* | [**get_sso_token**](docs/ResellerApi.md#get_sso_token) | **GET** /reseller/children/{childIdentifier}/auth | Get session token to access Brevo (SSO) +*Brevo::ResellerApi* | [**remove_credits**](docs/ResellerApi.md#remove_credits) | **POST** /reseller/children/{childIdentifier}/credits/remove | Remove Email and/or SMS credits from a specific child account +*Brevo::ResellerApi* | [**update_child_account_status**](docs/ResellerApi.md#update_child_account_status) | **PUT** /reseller/children/{childIdentifier}/accountStatus | Update info of reseller's child account status based on the childIdentifier supplied +*Brevo::ResellerApi* | [**update_child_domain**](docs/ResellerApi.md#update_child_domain) | **PUT** /reseller/children/{childIdentifier}/domains/{domainName} | Update the sender domain of reseller's child based on the childIdentifier and domainName passed +*Brevo::ResellerApi* | [**update_reseller_child**](docs/ResellerApi.md#update_reseller_child) | **PUT** /reseller/children/{childIdentifier} | Update info of reseller's child based on the child identifier supplied +*Brevo::SMSCampaignsApi* | [**create_sms_campaign**](docs/SMSCampaignsApi.md#create_sms_campaign) | **POST** /smsCampaigns | Creates an SMS campaign +*Brevo::SMSCampaignsApi* | [**delete_sms_campaign**](docs/SMSCampaignsApi.md#delete_sms_campaign) | **DELETE** /smsCampaigns/{campaignId} | Delete an SMS campaign +*Brevo::SMSCampaignsApi* | [**get_sms_campaign**](docs/SMSCampaignsApi.md#get_sms_campaign) | **GET** /smsCampaigns/{campaignId} | Get an SMS campaign +*Brevo::SMSCampaignsApi* | [**get_sms_campaigns**](docs/SMSCampaignsApi.md#get_sms_campaigns) | **GET** /smsCampaigns | Returns the information for all your created SMS campaigns +*Brevo::SMSCampaignsApi* | [**request_sms_recipient_export**](docs/SMSCampaignsApi.md#request_sms_recipient_export) | **POST** /smsCampaigns/{campaignId}/exportRecipients | Export an SMS campaign's recipients +*Brevo::SMSCampaignsApi* | [**send_sms_campaign_now**](docs/SMSCampaignsApi.md#send_sms_campaign_now) | **POST** /smsCampaigns/{campaignId}/sendNow | Send your SMS campaign immediately +*Brevo::SMSCampaignsApi* | [**send_sms_report**](docs/SMSCampaignsApi.md#send_sms_report) | **POST** /smsCampaigns/{campaignId}/sendReport | Send an SMS campaign's report +*Brevo::SMSCampaignsApi* | [**send_test_sms**](docs/SMSCampaignsApi.md#send_test_sms) | **POST** /smsCampaigns/{campaignId}/sendTest | Send a test SMS campaign +*Brevo::SMSCampaignsApi* | [**update_sms_campaign**](docs/SMSCampaignsApi.md#update_sms_campaign) | **PUT** /smsCampaigns/{campaignId} | Update an SMS campaign +*Brevo::SMSCampaignsApi* | [**update_sms_campaign_status**](docs/SMSCampaignsApi.md#update_sms_campaign_status) | **PUT** /smsCampaigns/{campaignId}/status | Update a campaign's status +*Brevo::SendersApi* | [**create_sender**](docs/SendersApi.md#create_sender) | **POST** /senders | Create a new sender +*Brevo::SendersApi* | [**delete_sender**](docs/SendersApi.md#delete_sender) | **DELETE** /senders/{senderId} | Delete a sender +*Brevo::SendersApi* | [**get_ips**](docs/SendersApi.md#get_ips) | **GET** /senders/ips | Get all the dedicated IPs for your account +*Brevo::SendersApi* | [**get_ips_from_sender**](docs/SendersApi.md#get_ips_from_sender) | **GET** /senders/{senderId}/ips | Get all the dedicated IPs for a sender +*Brevo::SendersApi* | [**get_senders**](docs/SendersApi.md#get_senders) | **GET** /senders | Get the list of all your senders +*Brevo::SendersApi* | [**update_sender**](docs/SendersApi.md#update_sender) | **PUT** /senders/{senderId} | Update a sender +*Brevo::SendersApi* | [**validate_sender_by_otp**](docs/SendersApi.md#validate_sender_by_otp) | **PUT** /senders/{senderId}/validate | Update a sender +*Brevo::TasksApi* | [**crm_tasks_get**](docs/TasksApi.md#crm_tasks_get) | **GET** /crm/tasks | Get all tasks +*Brevo::TasksApi* | [**crm_tasks_id_delete**](docs/TasksApi.md#crm_tasks_id_delete) | **DELETE** /crm/tasks/{id} | Delete a task +*Brevo::TasksApi* | [**crm_tasks_id_get**](docs/TasksApi.md#crm_tasks_id_get) | **GET** /crm/tasks/{id} | Get a task +*Brevo::TasksApi* | [**crm_tasks_id_patch**](docs/TasksApi.md#crm_tasks_id_patch) | **PATCH** /crm/tasks/{id} | Update a task +*Brevo::TasksApi* | [**crm_tasks_post**](docs/TasksApi.md#crm_tasks_post) | **POST** /crm/tasks | Create a task +*Brevo::TasksApi* | [**crm_tasktypes_get**](docs/TasksApi.md#crm_tasktypes_get) | **GET** /crm/tasktypes | Get all task types +*Brevo::TransactionalEmailsApi* | [**block_new_domain**](docs/TransactionalEmailsApi.md#block_new_domain) | **POST** /smtp/blockedDomains | Add a new domain to the list of blocked domains +*Brevo::TransactionalEmailsApi* | [**create_smtp_template**](docs/TransactionalEmailsApi.md#create_smtp_template) | **POST** /smtp/templates | Create an email template +*Brevo::TransactionalEmailsApi* | [**delete_blocked_domain**](docs/TransactionalEmailsApi.md#delete_blocked_domain) | **DELETE** /smtp/blockedDomains/{domain} | Unblock an existing domain from the list of blocked domains +*Brevo::TransactionalEmailsApi* | [**delete_hardbounces**](docs/TransactionalEmailsApi.md#delete_hardbounces) | **POST** /smtp/deleteHardbounces | Delete hardbounces +*Brevo::TransactionalEmailsApi* | [**delete_scheduled_email_by_id**](docs/TransactionalEmailsApi.md#delete_scheduled_email_by_id) | **DELETE** /smtp/email/{identifier} | Delete scheduled emails by batchId or messageId +*Brevo::TransactionalEmailsApi* | [**delete_smtp_template**](docs/TransactionalEmailsApi.md#delete_smtp_template) | **DELETE** /smtp/templates/{templateId} | Delete an inactive email template +*Brevo::TransactionalEmailsApi* | [**get_aggregated_smtp_report**](docs/TransactionalEmailsApi.md#get_aggregated_smtp_report) | **GET** /smtp/statistics/aggregatedReport | Get your transactional email activity aggregated over a period of time +*Brevo::TransactionalEmailsApi* | [**get_blocked_domains**](docs/TransactionalEmailsApi.md#get_blocked_domains) | **GET** /smtp/blockedDomains | Get the list of blocked domains +*Brevo::TransactionalEmailsApi* | [**get_email_event_report**](docs/TransactionalEmailsApi.md#get_email_event_report) | **GET** /smtp/statistics/events | Get all your transactional email activity (unaggregated events) +*Brevo::TransactionalEmailsApi* | [**get_scheduled_email_by_batch_id**](docs/TransactionalEmailsApi.md#get_scheduled_email_by_batch_id) | **GET** /smtp/emailStatus/{batchId} | Fetch scheduled emails by batchId +*Brevo::TransactionalEmailsApi* | [**get_scheduled_email_by_message_id**](docs/TransactionalEmailsApi.md#get_scheduled_email_by_message_id) | **GET** /smtp/emailStatus/{messageId} | Fetch scheduled email by messageId +*Brevo::TransactionalEmailsApi* | [**get_smtp_report**](docs/TransactionalEmailsApi.md#get_smtp_report) | **GET** /smtp/statistics/reports | Get your transactional email activity aggregated per day +*Brevo::TransactionalEmailsApi* | [**get_smtp_template**](docs/TransactionalEmailsApi.md#get_smtp_template) | **GET** /smtp/templates/{templateId} | Returns the template information +*Brevo::TransactionalEmailsApi* | [**get_smtp_templates**](docs/TransactionalEmailsApi.md#get_smtp_templates) | **GET** /smtp/templates | Get the list of email templates +*Brevo::TransactionalEmailsApi* | [**get_transac_blocked_contacts**](docs/TransactionalEmailsApi.md#get_transac_blocked_contacts) | **GET** /smtp/blockedContacts | Get the list of blocked or unsubscribed transactional contacts +*Brevo::TransactionalEmailsApi* | [**get_transac_email_content**](docs/TransactionalEmailsApi.md#get_transac_email_content) | **GET** /smtp/emails/{uuid} | Get the personalized content of a sent transactional email +*Brevo::TransactionalEmailsApi* | [**get_transac_emails_list**](docs/TransactionalEmailsApi.md#get_transac_emails_list) | **GET** /smtp/emails | Get the list of transactional emails on the basis of allowed filters +*Brevo::TransactionalEmailsApi* | [**send_test_template**](docs/TransactionalEmailsApi.md#send_test_template) | **POST** /smtp/templates/{templateId}/sendTest | Send a template to your test list +*Brevo::TransactionalEmailsApi* | [**send_transac_email**](docs/TransactionalEmailsApi.md#send_transac_email) | **POST** /smtp/email | Send a transactional email +*Brevo::TransactionalEmailsApi* | [**smtp_blocked_contacts_email_delete**](docs/TransactionalEmailsApi.md#smtp_blocked_contacts_email_delete) | **DELETE** /smtp/blockedContacts/{email} | Unblock or resubscribe a transactional contact +*Brevo::TransactionalEmailsApi* | [**smtp_log_message_id_delete**](docs/TransactionalEmailsApi.md#smtp_log_message_id_delete) | **DELETE** /smtp/log/{messageId} | Delete an SMTP transactional log +*Brevo::TransactionalEmailsApi* | [**update_smtp_template**](docs/TransactionalEmailsApi.md#update_smtp_template) | **PUT** /smtp/templates/{templateId} | Update an email template +*Brevo::TransactionalSMSApi* | [**get_sms_events**](docs/TransactionalSMSApi.md#get_sms_events) | **GET** /transactionalSMS/statistics/events | Get all your SMS activity (unaggregated events) +*Brevo::TransactionalSMSApi* | [**get_transac_aggregated_sms_report**](docs/TransactionalSMSApi.md#get_transac_aggregated_sms_report) | **GET** /transactionalSMS/statistics/aggregatedReport | Get your SMS activity aggregated over a period of time +*Brevo::TransactionalSMSApi* | [**get_transac_sms_report**](docs/TransactionalSMSApi.md#get_transac_sms_report) | **GET** /transactionalSMS/statistics/reports | Get your SMS activity aggregated per day +*Brevo::TransactionalSMSApi* | [**send_transac_sms**](docs/TransactionalSMSApi.md#send_transac_sms) | **POST** /transactionalSMS/sms | Send SMS message to a mobile number +*Brevo::TransactionalWhatsAppApi* | [**get_whatsapp_event_report**](docs/TransactionalWhatsAppApi.md#get_whatsapp_event_report) | **GET** /whatsapp/statistics/events | Get all your WhatsApp activity (unaggregated events) +*Brevo::TransactionalWhatsAppApi* | [**send_whatsapp_message**](docs/TransactionalWhatsAppApi.md#send_whatsapp_message) | **POST** /whatsapp/sendMessage | Send a WhatsApp message +*Brevo::UserApi* | [**get_invited_users_list**](docs/UserApi.md#get_invited_users_list) | **GET** /organization/invited/users | Get the list of all your users +*Brevo::UserApi* | [**get_user_permission**](docs/UserApi.md#get_user_permission) | **GET** /organization/user/{email}/permissions | Check user permission +*Brevo::WebhooksApi* | [**create_webhook**](docs/WebhooksApi.md#create_webhook) | **POST** /webhooks | Create a webhook +*Brevo::WebhooksApi* | [**delete_webhook**](docs/WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{webhookId} | Delete a webhook +*Brevo::WebhooksApi* | [**export_webhooks_history**](docs/WebhooksApi.md#export_webhooks_history) | **POST** /webhooks/export | Export all transactional events +*Brevo::WebhooksApi* | [**get_webhook**](docs/WebhooksApi.md#get_webhook) | **GET** /webhooks/{webhookId} | Get a webhook details +*Brevo::WebhooksApi* | [**get_webhooks**](docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | Get all webhooks +*Brevo::WebhooksApi* | [**update_webhook**](docs/WebhooksApi.md#update_webhook) | **PUT** /webhooks/{webhookId} | Update a webhook +*Brevo::WhatsAppCampaignsApi* | [**create_whats_app_campaign**](docs/WhatsAppCampaignsApi.md#create_whats_app_campaign) | **POST** /whatsappCampaigns | Create and Send a WhatsApp campaign +*Brevo::WhatsAppCampaignsApi* | [**create_whats_app_template**](docs/WhatsAppCampaignsApi.md#create_whats_app_template) | **POST** /whatsppCampaigns/template | Create a WhatsApp template +*Brevo::WhatsAppCampaignsApi* | [**delete_whats_app_campaign**](docs/WhatsAppCampaignsApi.md#delete_whats_app_campaign) | **DELETE** /whatsappCampaigns/{campaignId} | Delete a WhatsApp campaign +*Brevo::WhatsAppCampaignsApi* | [**get_whats_app_campaign**](docs/WhatsAppCampaignsApi.md#get_whats_app_campaign) | **GET** /whatsappCampaigns/{campaignId} | Get a WhatsApp campaign +*Brevo::WhatsAppCampaignsApi* | [**get_whats_app_campaigns**](docs/WhatsAppCampaignsApi.md#get_whats_app_campaigns) | **GET** /whatsappCampaigns | Return all your created WhatsApp campaigns +*Brevo::WhatsAppCampaignsApi* | [**get_whats_app_config**](docs/WhatsAppCampaignsApi.md#get_whats_app_config) | **GET** /whatsappCampaigns/config | Get your WhatsApp API account information +*Brevo::WhatsAppCampaignsApi* | [**get_whats_app_templates**](docs/WhatsAppCampaignsApi.md#get_whats_app_templates) | **GET** /whatsappCampaigns/template-list | Return all your created WhatsApp templates +*Brevo::WhatsAppCampaignsApi* | [**send_whats_app_template_approval**](docs/WhatsAppCampaignsApi.md#send_whats_app_template_approval) | **POST** /whatsappCampaigns/template/approval/{templateId} | Send your WhatsApp template for approval +*Brevo::WhatsAppCampaignsApi* | [**update_whats_app_campaign**](docs/WhatsAppCampaignsApi.md#update_whats_app_campaign) | **PUT** /whatsappCampaigns/{campaignId} | Update a WhatsApp campaign ## Documentation for Models - - [BrevoRuby::AbTestCampaignResult](docs/AbTestCampaignResult.md) - - [BrevoRuby::AbTestCampaignResultClickedLinks](docs/AbTestCampaignResultClickedLinks.md) - - [BrevoRuby::AbTestCampaignResultStatistics](docs/AbTestCampaignResultStatistics.md) - - [BrevoRuby::AbTestVersionClicks](docs/AbTestVersionClicks.md) - - [BrevoRuby::AbTestVersionClicksInner](docs/AbTestVersionClicksInner.md) - - [BrevoRuby::AbTestVersionStats](docs/AbTestVersionStats.md) - - [BrevoRuby::AddChildDomain](docs/AddChildDomain.md) - - [BrevoRuby::AddContactToList](docs/AddContactToList.md) - - [BrevoRuby::AddCredits](docs/AddCredits.md) - - [BrevoRuby::AuthenticateDomainModel](docs/AuthenticateDomainModel.md) - - [BrevoRuby::BlockDomain](docs/BlockDomain.md) - - [BrevoRuby::Body](docs/Body.md) - - [BrevoRuby::Body1](docs/Body1.md) - - [BrevoRuby::Body10](docs/Body10.md) - - [BrevoRuby::Body11](docs/Body11.md) - - [BrevoRuby::Body12](docs/Body12.md) - - [BrevoRuby::Body2](docs/Body2.md) - - [BrevoRuby::Body3](docs/Body3.md) - - [BrevoRuby::Body4](docs/Body4.md) - - [BrevoRuby::Body5](docs/Body5.md) - - [BrevoRuby::Body6](docs/Body6.md) - - [BrevoRuby::Body7](docs/Body7.md) - - [BrevoRuby::Body8](docs/Body8.md) - - [BrevoRuby::Body9](docs/Body9.md) - - [BrevoRuby::BodyVariablesItems](docs/BodyVariablesItems.md) - - [BrevoRuby::CompaniesList](docs/CompaniesList.md) - - [BrevoRuby::Company](docs/Company.md) - - [BrevoRuby::CompanyAttributes](docs/CompanyAttributes.md) - - [BrevoRuby::CompanyAttributesInner](docs/CompanyAttributesInner.md) - - [BrevoRuby::ComponentItems](docs/ComponentItems.md) - - [BrevoRuby::ConversationsMessage](docs/ConversationsMessage.md) - - [BrevoRuby::ConversationsMessageFile](docs/ConversationsMessageFile.md) - - [BrevoRuby::ConversationsMessageFileImageInfo](docs/ConversationsMessageFileImageInfo.md) - - [BrevoRuby::CreateApiKeyRequest](docs/CreateApiKeyRequest.md) - - [BrevoRuby::CreateApiKeyResponse](docs/CreateApiKeyResponse.md) - - [BrevoRuby::CreateAttribute](docs/CreateAttribute.md) - - [BrevoRuby::CreateAttributeEnumeration](docs/CreateAttributeEnumeration.md) - - [BrevoRuby::CreateCategoryModel](docs/CreateCategoryModel.md) - - [BrevoRuby::CreateChild](docs/CreateChild.md) - - [BrevoRuby::CreateContact](docs/CreateContact.md) - - [BrevoRuby::CreateCouponCollection](docs/CreateCouponCollection.md) - - [BrevoRuby::CreateCoupons](docs/CreateCoupons.md) - - [BrevoRuby::CreateDoiContact](docs/CreateDoiContact.md) - - [BrevoRuby::CreateDomain](docs/CreateDomain.md) - - [BrevoRuby::CreateDomainModel](docs/CreateDomainModel.md) - - [BrevoRuby::CreateDomainModelDnsRecords](docs/CreateDomainModelDnsRecords.md) - - [BrevoRuby::CreateDomainModelDnsRecordsDkimRecord](docs/CreateDomainModelDnsRecordsDkimRecord.md) - - [BrevoRuby::CreateEmailCampaign](docs/CreateEmailCampaign.md) - - [BrevoRuby::CreateEmailCampaignRecipients](docs/CreateEmailCampaignRecipients.md) - - [BrevoRuby::CreateEmailCampaignSender](docs/CreateEmailCampaignSender.md) - - [BrevoRuby::CreateExternalFeed](docs/CreateExternalFeed.md) - - [BrevoRuby::CreateList](docs/CreateList.md) - - [BrevoRuby::CreateModel](docs/CreateModel.md) - - [BrevoRuby::CreateProductModel](docs/CreateProductModel.md) - - [BrevoRuby::CreateReseller](docs/CreateReseller.md) - - [BrevoRuby::CreateSender](docs/CreateSender.md) - - [BrevoRuby::CreateSenderIps](docs/CreateSenderIps.md) - - [BrevoRuby::CreateSenderModel](docs/CreateSenderModel.md) - - [BrevoRuby::CreateSmsCampaign](docs/CreateSmsCampaign.md) - - [BrevoRuby::CreateSmsCampaignRecipients](docs/CreateSmsCampaignRecipients.md) - - [BrevoRuby::CreateSmtpEmail](docs/CreateSmtpEmail.md) - - [BrevoRuby::CreateSmtpTemplate](docs/CreateSmtpTemplate.md) - - [BrevoRuby::CreateSmtpTemplateSender](docs/CreateSmtpTemplateSender.md) - - [BrevoRuby::CreateSubAccount](docs/CreateSubAccount.md) - - [BrevoRuby::CreateSubAccountResponse](docs/CreateSubAccountResponse.md) - - [BrevoRuby::CreateUpdateBatchCategory](docs/CreateUpdateBatchCategory.md) - - [BrevoRuby::CreateUpdateBatchCategoryModel](docs/CreateUpdateBatchCategoryModel.md) - - [BrevoRuby::CreateUpdateBatchProducts](docs/CreateUpdateBatchProducts.md) - - [BrevoRuby::CreateUpdateBatchProductsModel](docs/CreateUpdateBatchProductsModel.md) - - [BrevoRuby::CreateUpdateCategories](docs/CreateUpdateCategories.md) - - [BrevoRuby::CreateUpdateCategory](docs/CreateUpdateCategory.md) - - [BrevoRuby::CreateUpdateContactModel](docs/CreateUpdateContactModel.md) - - [BrevoRuby::CreateUpdateFolder](docs/CreateUpdateFolder.md) - - [BrevoRuby::CreateUpdateProduct](docs/CreateUpdateProduct.md) - - [BrevoRuby::CreateUpdateProducts](docs/CreateUpdateProducts.md) - - [BrevoRuby::CreateWebhook](docs/CreateWebhook.md) - - [BrevoRuby::CreateWhatsAppCampaign](docs/CreateWhatsAppCampaign.md) - - [BrevoRuby::CreateWhatsAppCampaignRecipients](docs/CreateWhatsAppCampaignRecipients.md) - - [BrevoRuby::CreateWhatsAppTemplate](docs/CreateWhatsAppTemplate.md) - - [BrevoRuby::CreatedBatchId](docs/CreatedBatchId.md) - - [BrevoRuby::CreatedProcessId](docs/CreatedProcessId.md) - - [BrevoRuby::Deal](docs/Deal.md) - - [BrevoRuby::DealAttributes](docs/DealAttributes.md) - - [BrevoRuby::DealAttributesInner](docs/DealAttributesInner.md) - - [BrevoRuby::DealsList](docs/DealsList.md) - - [BrevoRuby::DeleteHardbounces](docs/DeleteHardbounces.md) - - [BrevoRuby::EmailExportRecipients](docs/EmailExportRecipients.md) - - [BrevoRuby::ErrorModel](docs/ErrorModel.md) - - [BrevoRuby::ExportWebhooksHistory](docs/ExportWebhooksHistory.md) - - [BrevoRuby::FileData](docs/FileData.md) - - [BrevoRuby::FileDownloadableLink](docs/FileDownloadableLink.md) - - [BrevoRuby::FileList](docs/FileList.md) - - [BrevoRuby::GetAccount](docs/GetAccount.md) - - [BrevoRuby::GetAccountActivity](docs/GetAccountActivity.md) - - [BrevoRuby::GetAccountActivityLogs](docs/GetAccountActivityLogs.md) - - [BrevoRuby::GetAccountMarketingAutomation](docs/GetAccountMarketingAutomation.md) - - [BrevoRuby::GetAccountPlan](docs/GetAccountPlan.md) - - [BrevoRuby::GetAccountRelay](docs/GetAccountRelay.md) - - [BrevoRuby::GetAccountRelayData](docs/GetAccountRelayData.md) - - [BrevoRuby::GetAggregatedReport](docs/GetAggregatedReport.md) - - [BrevoRuby::GetAllExternalFeeds](docs/GetAllExternalFeeds.md) - - [BrevoRuby::GetAllExternalFeedsFeeds](docs/GetAllExternalFeedsFeeds.md) - - [BrevoRuby::GetAttributes](docs/GetAttributes.md) - - [BrevoRuby::GetAttributesAttributes](docs/GetAttributesAttributes.md) - - [BrevoRuby::GetAttributesEnumeration](docs/GetAttributesEnumeration.md) - - [BrevoRuby::GetBlockedDomains](docs/GetBlockedDomains.md) - - [BrevoRuby::GetCampaignOverview](docs/GetCampaignOverview.md) - - [BrevoRuby::GetCampaignRecipients](docs/GetCampaignRecipients.md) - - [BrevoRuby::GetCampaignStats](docs/GetCampaignStats.md) - - [BrevoRuby::GetCategories](docs/GetCategories.md) - - [BrevoRuby::GetCategoryDetails](docs/GetCategoryDetails.md) - - [BrevoRuby::GetChildAccountCreationStatus](docs/GetChildAccountCreationStatus.md) - - [BrevoRuby::GetChildDomain](docs/GetChildDomain.md) - - [BrevoRuby::GetChildDomains](docs/GetChildDomains.md) - - [BrevoRuby::GetChildInfo](docs/GetChildInfo.md) - - [BrevoRuby::GetChildInfoApiKeys](docs/GetChildInfoApiKeys.md) - - [BrevoRuby::GetChildInfoApiKeysV2](docs/GetChildInfoApiKeysV2.md) - - [BrevoRuby::GetChildInfoApiKeysV3](docs/GetChildInfoApiKeysV3.md) - - [BrevoRuby::GetChildInfoCredits](docs/GetChildInfoCredits.md) - - [BrevoRuby::GetChildInfoStatistics](docs/GetChildInfoStatistics.md) - - [BrevoRuby::GetChildrenList](docs/GetChildrenList.md) - - [BrevoRuby::GetClient](docs/GetClient.md) - - [BrevoRuby::GetContactCampaignStats](docs/GetContactCampaignStats.md) - - [BrevoRuby::GetContactCampaignStatsClicked](docs/GetContactCampaignStatsClicked.md) - - [BrevoRuby::GetContactCampaignStatsOpened](docs/GetContactCampaignStatsOpened.md) - - [BrevoRuby::GetContactCampaignStatsTransacAttributes](docs/GetContactCampaignStatsTransacAttributes.md) - - [BrevoRuby::GetContactCampaignStatsUnsubscriptions](docs/GetContactCampaignStatsUnsubscriptions.md) - - [BrevoRuby::GetContactDetails](docs/GetContactDetails.md) - - [BrevoRuby::GetContacts](docs/GetContacts.md) - - [BrevoRuby::GetCouponCollection](docs/GetCouponCollection.md) - - [BrevoRuby::GetDeviceBrowserStats](docs/GetDeviceBrowserStats.md) - - [BrevoRuby::GetDomainConfigurationModel](docs/GetDomainConfigurationModel.md) - - [BrevoRuby::GetDomainsList](docs/GetDomainsList.md) - - [BrevoRuby::GetDomainsListDomains](docs/GetDomainsListDomains.md) - - [BrevoRuby::GetEmailCampaign](docs/GetEmailCampaign.md) - - [BrevoRuby::GetEmailCampaigns](docs/GetEmailCampaigns.md) - - [BrevoRuby::GetEmailEventReport](docs/GetEmailEventReport.md) - - [BrevoRuby::GetEmailEventReportEvents](docs/GetEmailEventReportEvents.md) - - [BrevoRuby::GetExtendedCampaignOverview](docs/GetExtendedCampaignOverview.md) - - [BrevoRuby::GetExtendedCampaignOverviewSender](docs/GetExtendedCampaignOverviewSender.md) - - [BrevoRuby::GetExtendedCampaignStats](docs/GetExtendedCampaignStats.md) - - [BrevoRuby::GetExtendedCampaignStatsGlobalStats](docs/GetExtendedCampaignStatsGlobalStats.md) - - [BrevoRuby::GetExtendedClient](docs/GetExtendedClient.md) - - [BrevoRuby::GetExtendedClientAddress](docs/GetExtendedClientAddress.md) - - [BrevoRuby::GetExtendedContactDetails](docs/GetExtendedContactDetails.md) - - [BrevoRuby::GetExtendedContactDetailsStatistics](docs/GetExtendedContactDetailsStatistics.md) - - [BrevoRuby::GetExtendedContactDetailsStatisticsClicked](docs/GetExtendedContactDetailsStatisticsClicked.md) - - [BrevoRuby::GetExtendedContactDetailsStatisticsDelivered](docs/GetExtendedContactDetailsStatisticsDelivered.md) - - [BrevoRuby::GetExtendedContactDetailsStatisticsLinks](docs/GetExtendedContactDetailsStatisticsLinks.md) - - [BrevoRuby::GetExtendedContactDetailsStatisticsMessagesSent](docs/GetExtendedContactDetailsStatisticsMessagesSent.md) - - [BrevoRuby::GetExtendedContactDetailsStatisticsOpened](docs/GetExtendedContactDetailsStatisticsOpened.md) - - [BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptions](docs/GetExtendedContactDetailsStatisticsUnsubscriptions.md) - - [BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription](docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md) - - [BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription](docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md) - - [BrevoRuby::GetExtendedList](docs/GetExtendedList.md) - - [BrevoRuby::GetExtendedListCampaignStats](docs/GetExtendedListCampaignStats.md) - - [BrevoRuby::GetExternalFeedByUUID](docs/GetExternalFeedByUUID.md) - - [BrevoRuby::GetExternalFeedByUUIDHeaders](docs/GetExternalFeedByUUIDHeaders.md) - - [BrevoRuby::GetFolder](docs/GetFolder.md) - - [BrevoRuby::GetFolderLists](docs/GetFolderLists.md) - - [BrevoRuby::GetFolders](docs/GetFolders.md) - - [BrevoRuby::GetInboundEmailEvents](docs/GetInboundEmailEvents.md) - - [BrevoRuby::GetInboundEmailEventsByUuid](docs/GetInboundEmailEventsByUuid.md) - - [BrevoRuby::GetInboundEmailEventsByUuidAttachments](docs/GetInboundEmailEventsByUuidAttachments.md) - - [BrevoRuby::GetInboundEmailEventsByUuidLogs](docs/GetInboundEmailEventsByUuidLogs.md) - - [BrevoRuby::GetInboundEmailEventsEvents](docs/GetInboundEmailEventsEvents.md) - - [BrevoRuby::GetInvitedUsersList](docs/GetInvitedUsersList.md) - - [BrevoRuby::GetInvitedUsersListFeatureAccess](docs/GetInvitedUsersListFeatureAccess.md) - - [BrevoRuby::GetInvitedUsersListUsers](docs/GetInvitedUsersListUsers.md) - - [BrevoRuby::GetIp](docs/GetIp.md) - - [BrevoRuby::GetIpFromSender](docs/GetIpFromSender.md) - - [BrevoRuby::GetIps](docs/GetIps.md) - - [BrevoRuby::GetIpsFromSender](docs/GetIpsFromSender.md) - - [BrevoRuby::GetList](docs/GetList.md) - - [BrevoRuby::GetLists](docs/GetLists.md) - - [BrevoRuby::GetProcess](docs/GetProcess.md) - - [BrevoRuby::GetProcesses](docs/GetProcesses.md) - - [BrevoRuby::GetProductDetails](docs/GetProductDetails.md) - - [BrevoRuby::GetProducts](docs/GetProducts.md) - - [BrevoRuby::GetReports](docs/GetReports.md) - - [BrevoRuby::GetReportsReports](docs/GetReportsReports.md) - - [BrevoRuby::GetScheduledEmailByBatchId](docs/GetScheduledEmailByBatchId.md) - - [BrevoRuby::GetScheduledEmailByBatchIdBatches](docs/GetScheduledEmailByBatchIdBatches.md) - - [BrevoRuby::GetScheduledEmailByMessageId](docs/GetScheduledEmailByMessageId.md) - - [BrevoRuby::GetSegments](docs/GetSegments.md) - - [BrevoRuby::GetSegmentsSegments](docs/GetSegmentsSegments.md) - - [BrevoRuby::GetSendersList](docs/GetSendersList.md) - - [BrevoRuby::GetSendersListIps](docs/GetSendersListIps.md) - - [BrevoRuby::GetSendersListSenders](docs/GetSendersListSenders.md) - - [BrevoRuby::GetSharedTemplateUrl](docs/GetSharedTemplateUrl.md) - - [BrevoRuby::GetSmsCampaign](docs/GetSmsCampaign.md) - - [BrevoRuby::GetSmsCampaignOverview](docs/GetSmsCampaignOverview.md) - - [BrevoRuby::GetSmsCampaignRecipients](docs/GetSmsCampaignRecipients.md) - - [BrevoRuby::GetSmsCampaignStats](docs/GetSmsCampaignStats.md) - - [BrevoRuby::GetSmsCampaigns](docs/GetSmsCampaigns.md) - - [BrevoRuby::GetSmsEventReport](docs/GetSmsEventReport.md) - - [BrevoRuby::GetSmsEventReportEvents](docs/GetSmsEventReportEvents.md) - - [BrevoRuby::GetSmtpTemplateOverview](docs/GetSmtpTemplateOverview.md) - - [BrevoRuby::GetSmtpTemplateOverviewSender](docs/GetSmtpTemplateOverviewSender.md) - - [BrevoRuby::GetSmtpTemplates](docs/GetSmtpTemplates.md) - - [BrevoRuby::GetSsoToken](docs/GetSsoToken.md) - - [BrevoRuby::GetStatsByBrowser](docs/GetStatsByBrowser.md) - - [BrevoRuby::GetStatsByDevice](docs/GetStatsByDevice.md) - - [BrevoRuby::GetStatsByDomain](docs/GetStatsByDomain.md) - - [BrevoRuby::GetTransacAggregatedSmsReport](docs/GetTransacAggregatedSmsReport.md) - - [BrevoRuby::GetTransacBlockedContacts](docs/GetTransacBlockedContacts.md) - - [BrevoRuby::GetTransacBlockedContactsContacts](docs/GetTransacBlockedContactsContacts.md) - - [BrevoRuby::GetTransacBlockedContactsReason](docs/GetTransacBlockedContactsReason.md) - - [BrevoRuby::GetTransacEmailContent](docs/GetTransacEmailContent.md) - - [BrevoRuby::GetTransacEmailContentEvents](docs/GetTransacEmailContentEvents.md) - - [BrevoRuby::GetTransacEmailsList](docs/GetTransacEmailsList.md) - - [BrevoRuby::GetTransacEmailsListTransactionalEmails](docs/GetTransacEmailsListTransactionalEmails.md) - - [BrevoRuby::GetTransacSmsReport](docs/GetTransacSmsReport.md) - - [BrevoRuby::GetTransacSmsReportReports](docs/GetTransacSmsReportReports.md) - - [BrevoRuby::GetUserPermission](docs/GetUserPermission.md) - - [BrevoRuby::GetUserPermissionPrivileges](docs/GetUserPermissionPrivileges.md) - - [BrevoRuby::GetWATemplates](docs/GetWATemplates.md) - - [BrevoRuby::GetWATemplatesTemplates](docs/GetWATemplatesTemplates.md) - - [BrevoRuby::GetWebhook](docs/GetWebhook.md) - - [BrevoRuby::GetWebhooks](docs/GetWebhooks.md) - - [BrevoRuby::GetWhatsAppConfig](docs/GetWhatsAppConfig.md) - - [BrevoRuby::GetWhatsappCampaignOverview](docs/GetWhatsappCampaignOverview.md) - - [BrevoRuby::GetWhatsappCampaigns](docs/GetWhatsappCampaigns.md) - - [BrevoRuby::GetWhatsappCampaignsCampaigns](docs/GetWhatsappCampaignsCampaigns.md) - - [BrevoRuby::GetWhatsappEventReport](docs/GetWhatsappEventReport.md) - - [BrevoRuby::GetWhatsappEventReportEvents](docs/GetWhatsappEventReportEvents.md) - - [BrevoRuby::InlineResponse200](docs/InlineResponse200.md) - - [BrevoRuby::InlineResponse2001](docs/InlineResponse2001.md) - - [BrevoRuby::InlineResponse201](docs/InlineResponse201.md) - - [BrevoRuby::InlineResponse2011](docs/InlineResponse2011.md) - - [BrevoRuby::InlineResponse2012](docs/InlineResponse2012.md) - - [BrevoRuby::InlineResponse2013](docs/InlineResponse2013.md) - - [BrevoRuby::InlineResponse2014](docs/InlineResponse2014.md) - - [BrevoRuby::ManageIp](docs/ManageIp.md) - - [BrevoRuby::MasterDetailsResponse](docs/MasterDetailsResponse.md) - - [BrevoRuby::MasterDetailsResponseBillingInfo](docs/MasterDetailsResponseBillingInfo.md) - - [BrevoRuby::MasterDetailsResponseBillingInfoAddress](docs/MasterDetailsResponseBillingInfoAddress.md) - - [BrevoRuby::MasterDetailsResponseBillingInfoName](docs/MasterDetailsResponseBillingInfoName.md) - - [BrevoRuby::MasterDetailsResponsePlanInfo](docs/MasterDetailsResponsePlanInfo.md) - - [BrevoRuby::MasterDetailsResponsePlanInfoFeatures](docs/MasterDetailsResponsePlanInfoFeatures.md) - - [BrevoRuby::Note](docs/Note.md) - - [BrevoRuby::NoteData](docs/NoteData.md) - - [BrevoRuby::NoteId](docs/NoteId.md) - - [BrevoRuby::NoteList](docs/NoteList.md) - - [BrevoRuby::Order](docs/Order.md) - - [BrevoRuby::OrderBatch](docs/OrderBatch.md) - - [BrevoRuby::OrderBilling](docs/OrderBilling.md) - - [BrevoRuby::OrderProducts](docs/OrderProducts.md) - - [BrevoRuby::Otp](docs/Otp.md) - - [BrevoRuby::Pipeline](docs/Pipeline.md) - - [BrevoRuby::PipelineStage](docs/PipelineStage.md) - - [BrevoRuby::Pipelines](docs/Pipelines.md) - - [BrevoRuby::PostContactInfo](docs/PostContactInfo.md) - - [BrevoRuby::PostContactInfoContacts](docs/PostContactInfoContacts.md) - - [BrevoRuby::PostSendFailed](docs/PostSendFailed.md) - - [BrevoRuby::PostSendSmsTestFailed](docs/PostSendSmsTestFailed.md) - - [BrevoRuby::RemainingCreditModel](docs/RemainingCreditModel.md) - - [BrevoRuby::RemainingCreditModelChild](docs/RemainingCreditModelChild.md) - - [BrevoRuby::RemainingCreditModelReseller](docs/RemainingCreditModelReseller.md) - - [BrevoRuby::RemoveContactFromList](docs/RemoveContactFromList.md) - - [BrevoRuby::RemoveCredits](docs/RemoveCredits.md) - - [BrevoRuby::RequestContactExport](docs/RequestContactExport.md) - - [BrevoRuby::RequestContactExportCustomContactFilter](docs/RequestContactExportCustomContactFilter.md) - - [BrevoRuby::RequestContactImport](docs/RequestContactImport.md) - - [BrevoRuby::RequestContactImportNewList](docs/RequestContactImportNewList.md) - - [BrevoRuby::RequestSmsRecipientExport](docs/RequestSmsRecipientExport.md) - - [BrevoRuby::ScheduleSmtpEmail](docs/ScheduleSmtpEmail.md) - - [BrevoRuby::SendReport](docs/SendReport.md) - - [BrevoRuby::SendReportEmail](docs/SendReportEmail.md) - - [BrevoRuby::SendSms](docs/SendSms.md) - - [BrevoRuby::SendSmtpEmail](docs/SendSmtpEmail.md) - - [BrevoRuby::SendSmtpEmailAttachment](docs/SendSmtpEmailAttachment.md) - - [BrevoRuby::SendSmtpEmailBcc](docs/SendSmtpEmailBcc.md) - - [BrevoRuby::SendSmtpEmailCc](docs/SendSmtpEmailCc.md) - - [BrevoRuby::SendSmtpEmailMessageVersions](docs/SendSmtpEmailMessageVersions.md) - - [BrevoRuby::SendSmtpEmailReplyTo](docs/SendSmtpEmailReplyTo.md) - - [BrevoRuby::SendSmtpEmailReplyTo1](docs/SendSmtpEmailReplyTo1.md) - - [BrevoRuby::SendSmtpEmailSender](docs/SendSmtpEmailSender.md) - - [BrevoRuby::SendSmtpEmailTo](docs/SendSmtpEmailTo.md) - - [BrevoRuby::SendSmtpEmailTo1](docs/SendSmtpEmailTo1.md) - - [BrevoRuby::SendTestEmail](docs/SendTestEmail.md) - - [BrevoRuby::SendTestSms](docs/SendTestSms.md) - - [BrevoRuby::SendTransacSms](docs/SendTransacSms.md) - - [BrevoRuby::SendWhatsappMessage](docs/SendWhatsappMessage.md) - - [BrevoRuby::SsoTokenRequest](docs/SsoTokenRequest.md) - - [BrevoRuby::SubAccountDetailsResponse](docs/SubAccountDetailsResponse.md) - - [BrevoRuby::SubAccountDetailsResponsePlanInfo](docs/SubAccountDetailsResponsePlanInfo.md) - - [BrevoRuby::SubAccountDetailsResponsePlanInfoCredits](docs/SubAccountDetailsResponsePlanInfoCredits.md) - - [BrevoRuby::SubAccountDetailsResponsePlanInfoCreditsEmails](docs/SubAccountDetailsResponsePlanInfoCreditsEmails.md) - - [BrevoRuby::SubAccountDetailsResponsePlanInfoFeatures](docs/SubAccountDetailsResponsePlanInfoFeatures.md) - - [BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesInbox](docs/SubAccountDetailsResponsePlanInfoFeaturesInbox.md) - - [BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesLandingPage](docs/SubAccountDetailsResponsePlanInfoFeaturesLandingPage.md) - - [BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesUsers](docs/SubAccountDetailsResponsePlanInfoFeaturesUsers.md) - - [BrevoRuby::SubAccountUpdatePlanRequest](docs/SubAccountUpdatePlanRequest.md) - - [BrevoRuby::SubAccountUpdatePlanRequestCredits](docs/SubAccountUpdatePlanRequestCredits.md) - - [BrevoRuby::SubAccountUpdatePlanRequestFeatures](docs/SubAccountUpdatePlanRequestFeatures.md) - - [BrevoRuby::SubAccountsResponse](docs/SubAccountsResponse.md) - - [BrevoRuby::SubAccountsResponseSubAccounts](docs/SubAccountsResponseSubAccounts.md) - - [BrevoRuby::Task](docs/Task.md) - - [BrevoRuby::TaskList](docs/TaskList.md) - - [BrevoRuby::TaskReminder](docs/TaskReminder.md) - - [BrevoRuby::TaskTypes](docs/TaskTypes.md) - - [BrevoRuby::UpdateAttribute](docs/UpdateAttribute.md) - - [BrevoRuby::UpdateAttributeEnumeration](docs/UpdateAttributeEnumeration.md) - - [BrevoRuby::UpdateBatchContacts](docs/UpdateBatchContacts.md) - - [BrevoRuby::UpdateBatchContactsContacts](docs/UpdateBatchContactsContacts.md) - - [BrevoRuby::UpdateBatchContactsModel](docs/UpdateBatchContactsModel.md) - - [BrevoRuby::UpdateCampaignStatus](docs/UpdateCampaignStatus.md) - - [BrevoRuby::UpdateChild](docs/UpdateChild.md) - - [BrevoRuby::UpdateChildAccountStatus](docs/UpdateChildAccountStatus.md) - - [BrevoRuby::UpdateChildDomain](docs/UpdateChildDomain.md) - - [BrevoRuby::UpdateContact](docs/UpdateContact.md) - - [BrevoRuby::UpdateCouponCollection](docs/UpdateCouponCollection.md) - - [BrevoRuby::UpdateEmailCampaign](docs/UpdateEmailCampaign.md) - - [BrevoRuby::UpdateEmailCampaignRecipients](docs/UpdateEmailCampaignRecipients.md) - - [BrevoRuby::UpdateEmailCampaignSender](docs/UpdateEmailCampaignSender.md) - - [BrevoRuby::UpdateExternalFeed](docs/UpdateExternalFeed.md) - - [BrevoRuby::UpdateList](docs/UpdateList.md) - - [BrevoRuby::UpdateSender](docs/UpdateSender.md) - - [BrevoRuby::UpdateSmsCampaign](docs/UpdateSmsCampaign.md) - - [BrevoRuby::UpdateSmtpTemplate](docs/UpdateSmtpTemplate.md) - - [BrevoRuby::UpdateSmtpTemplateSender](docs/UpdateSmtpTemplateSender.md) - - [BrevoRuby::UpdateWebhook](docs/UpdateWebhook.md) - - [BrevoRuby::UpdateWhatsAppCampaign](docs/UpdateWhatsAppCampaign.md) - - [BrevoRuby::UploadImageModel](docs/UploadImageModel.md) - - [BrevoRuby::UploadImageToGallery](docs/UploadImageToGallery.md) - - [BrevoRuby::VariablesItems](docs/VariablesItems.md) - - [BrevoRuby::WhatsappCampStats](docs/WhatsappCampStats.md) - - [BrevoRuby::WhatsappCampTemplate](docs/WhatsappCampTemplate.md) + - [Brevo::AbTestCampaignResult](docs/AbTestCampaignResult.md) + - [Brevo::AbTestCampaignResultClickedLinks](docs/AbTestCampaignResultClickedLinks.md) + - [Brevo::AbTestCampaignResultStatistics](docs/AbTestCampaignResultStatistics.md) + - [Brevo::AbTestVersionClicks](docs/AbTestVersionClicks.md) + - [Brevo::AbTestVersionClicksInner](docs/AbTestVersionClicksInner.md) + - [Brevo::AbTestVersionStats](docs/AbTestVersionStats.md) + - [Brevo::AddChildDomain](docs/AddChildDomain.md) + - [Brevo::AddContactToList](docs/AddContactToList.md) + - [Brevo::AddCredits](docs/AddCredits.md) + - [Brevo::AuthenticateDomainModel](docs/AuthenticateDomainModel.md) + - [Brevo::BlockDomain](docs/BlockDomain.md) + - [Brevo::Body](docs/Body.md) + - [Brevo::Body1](docs/Body1.md) + - [Brevo::Body10](docs/Body10.md) + - [Brevo::Body11](docs/Body11.md) + - [Brevo::Body12](docs/Body12.md) + - [Brevo::Body2](docs/Body2.md) + - [Brevo::Body3](docs/Body3.md) + - [Brevo::Body4](docs/Body4.md) + - [Brevo::Body5](docs/Body5.md) + - [Brevo::Body6](docs/Body6.md) + - [Brevo::Body7](docs/Body7.md) + - [Brevo::Body8](docs/Body8.md) + - [Brevo::Body9](docs/Body9.md) + - [Brevo::BodyVariablesItems](docs/BodyVariablesItems.md) + - [Brevo::CompaniesList](docs/CompaniesList.md) + - [Brevo::Company](docs/Company.md) + - [Brevo::CompanyAttributes](docs/CompanyAttributes.md) + - [Brevo::CompanyAttributesInner](docs/CompanyAttributesInner.md) + - [Brevo::ComponentItems](docs/ComponentItems.md) + - [Brevo::ConversationsMessage](docs/ConversationsMessage.md) + - [Brevo::ConversationsMessageFile](docs/ConversationsMessageFile.md) + - [Brevo::ConversationsMessageFileImageInfo](docs/ConversationsMessageFileImageInfo.md) + - [Brevo::CreateApiKeyRequest](docs/CreateApiKeyRequest.md) + - [Brevo::CreateApiKeyResponse](docs/CreateApiKeyResponse.md) + - [Brevo::CreateAttribute](docs/CreateAttribute.md) + - [Brevo::CreateAttributeEnumeration](docs/CreateAttributeEnumeration.md) + - [Brevo::CreateCategoryModel](docs/CreateCategoryModel.md) + - [Brevo::CreateChild](docs/CreateChild.md) + - [Brevo::CreateContact](docs/CreateContact.md) + - [Brevo::CreateCouponCollection](docs/CreateCouponCollection.md) + - [Brevo::CreateCoupons](docs/CreateCoupons.md) + - [Brevo::CreateDoiContact](docs/CreateDoiContact.md) + - [Brevo::CreateDomain](docs/CreateDomain.md) + - [Brevo::CreateDomainModel](docs/CreateDomainModel.md) + - [Brevo::CreateDomainModelDnsRecords](docs/CreateDomainModelDnsRecords.md) + - [Brevo::CreateDomainModelDnsRecordsDkimRecord](docs/CreateDomainModelDnsRecordsDkimRecord.md) + - [Brevo::CreateEmailCampaign](docs/CreateEmailCampaign.md) + - [Brevo::CreateEmailCampaignRecipients](docs/CreateEmailCampaignRecipients.md) + - [Brevo::CreateEmailCampaignSender](docs/CreateEmailCampaignSender.md) + - [Brevo::CreateExternalFeed](docs/CreateExternalFeed.md) + - [Brevo::CreateList](docs/CreateList.md) + - [Brevo::CreateModel](docs/CreateModel.md) + - [Brevo::CreateProductModel](docs/CreateProductModel.md) + - [Brevo::CreateReseller](docs/CreateReseller.md) + - [Brevo::CreateSender](docs/CreateSender.md) + - [Brevo::CreateSenderIps](docs/CreateSenderIps.md) + - [Brevo::CreateSenderModel](docs/CreateSenderModel.md) + - [Brevo::CreateSmsCampaign](docs/CreateSmsCampaign.md) + - [Brevo::CreateSmsCampaignRecipients](docs/CreateSmsCampaignRecipients.md) + - [Brevo::CreateSmtpEmail](docs/CreateSmtpEmail.md) + - [Brevo::CreateSmtpTemplate](docs/CreateSmtpTemplate.md) + - [Brevo::CreateSmtpTemplateSender](docs/CreateSmtpTemplateSender.md) + - [Brevo::CreateSubAccount](docs/CreateSubAccount.md) + - [Brevo::CreateSubAccountResponse](docs/CreateSubAccountResponse.md) + - [Brevo::CreateUpdateBatchCategory](docs/CreateUpdateBatchCategory.md) + - [Brevo::CreateUpdateBatchCategoryModel](docs/CreateUpdateBatchCategoryModel.md) + - [Brevo::CreateUpdateBatchProducts](docs/CreateUpdateBatchProducts.md) + - [Brevo::CreateUpdateBatchProductsModel](docs/CreateUpdateBatchProductsModel.md) + - [Brevo::CreateUpdateCategories](docs/CreateUpdateCategories.md) + - [Brevo::CreateUpdateCategory](docs/CreateUpdateCategory.md) + - [Brevo::CreateUpdateContactModel](docs/CreateUpdateContactModel.md) + - [Brevo::CreateUpdateFolder](docs/CreateUpdateFolder.md) + - [Brevo::CreateUpdateProduct](docs/CreateUpdateProduct.md) + - [Brevo::CreateUpdateProducts](docs/CreateUpdateProducts.md) + - [Brevo::CreateWebhook](docs/CreateWebhook.md) + - [Brevo::CreateWhatsAppCampaign](docs/CreateWhatsAppCampaign.md) + - [Brevo::CreateWhatsAppCampaignRecipients](docs/CreateWhatsAppCampaignRecipients.md) + - [Brevo::CreateWhatsAppTemplate](docs/CreateWhatsAppTemplate.md) + - [Brevo::CreatedBatchId](docs/CreatedBatchId.md) + - [Brevo::CreatedProcessId](docs/CreatedProcessId.md) + - [Brevo::Deal](docs/Deal.md) + - [Brevo::DealAttributes](docs/DealAttributes.md) + - [Brevo::DealAttributesInner](docs/DealAttributesInner.md) + - [Brevo::DealsList](docs/DealsList.md) + - [Brevo::DeleteHardbounces](docs/DeleteHardbounces.md) + - [Brevo::EmailExportRecipients](docs/EmailExportRecipients.md) + - [Brevo::ErrorModel](docs/ErrorModel.md) + - [Brevo::ExportWebhooksHistory](docs/ExportWebhooksHistory.md) + - [Brevo::FileData](docs/FileData.md) + - [Brevo::FileDownloadableLink](docs/FileDownloadableLink.md) + - [Brevo::FileList](docs/FileList.md) + - [Brevo::GetAccount](docs/GetAccount.md) + - [Brevo::GetAccountActivity](docs/GetAccountActivity.md) + - [Brevo::GetAccountActivityLogs](docs/GetAccountActivityLogs.md) + - [Brevo::GetAccountMarketingAutomation](docs/GetAccountMarketingAutomation.md) + - [Brevo::GetAccountPlan](docs/GetAccountPlan.md) + - [Brevo::GetAccountRelay](docs/GetAccountRelay.md) + - [Brevo::GetAccountRelayData](docs/GetAccountRelayData.md) + - [Brevo::GetAggregatedReport](docs/GetAggregatedReport.md) + - [Brevo::GetAllExternalFeeds](docs/GetAllExternalFeeds.md) + - [Brevo::GetAllExternalFeedsFeeds](docs/GetAllExternalFeedsFeeds.md) + - [Brevo::GetAttributes](docs/GetAttributes.md) + - [Brevo::GetAttributesAttributes](docs/GetAttributesAttributes.md) + - [Brevo::GetAttributesEnumeration](docs/GetAttributesEnumeration.md) + - [Brevo::GetBlockedDomains](docs/GetBlockedDomains.md) + - [Brevo::GetCampaignOverview](docs/GetCampaignOverview.md) + - [Brevo::GetCampaignRecipients](docs/GetCampaignRecipients.md) + - [Brevo::GetCampaignStats](docs/GetCampaignStats.md) + - [Brevo::GetCategories](docs/GetCategories.md) + - [Brevo::GetCategoryDetails](docs/GetCategoryDetails.md) + - [Brevo::GetChildAccountCreationStatus](docs/GetChildAccountCreationStatus.md) + - [Brevo::GetChildDomain](docs/GetChildDomain.md) + - [Brevo::GetChildDomains](docs/GetChildDomains.md) + - [Brevo::GetChildInfo](docs/GetChildInfo.md) + - [Brevo::GetChildInfoApiKeys](docs/GetChildInfoApiKeys.md) + - [Brevo::GetChildInfoApiKeysV2](docs/GetChildInfoApiKeysV2.md) + - [Brevo::GetChildInfoApiKeysV3](docs/GetChildInfoApiKeysV3.md) + - [Brevo::GetChildInfoCredits](docs/GetChildInfoCredits.md) + - [Brevo::GetChildInfoStatistics](docs/GetChildInfoStatistics.md) + - [Brevo::GetChildrenList](docs/GetChildrenList.md) + - [Brevo::GetClient](docs/GetClient.md) + - [Brevo::GetContactCampaignStats](docs/GetContactCampaignStats.md) + - [Brevo::GetContactCampaignStatsClicked](docs/GetContactCampaignStatsClicked.md) + - [Brevo::GetContactCampaignStatsOpened](docs/GetContactCampaignStatsOpened.md) + - [Brevo::GetContactCampaignStatsTransacAttributes](docs/GetContactCampaignStatsTransacAttributes.md) + - [Brevo::GetContactCampaignStatsUnsubscriptions](docs/GetContactCampaignStatsUnsubscriptions.md) + - [Brevo::GetContactDetails](docs/GetContactDetails.md) + - [Brevo::GetContacts](docs/GetContacts.md) + - [Brevo::GetCouponCollection](docs/GetCouponCollection.md) + - [Brevo::GetDeviceBrowserStats](docs/GetDeviceBrowserStats.md) + - [Brevo::GetDomainConfigurationModel](docs/GetDomainConfigurationModel.md) + - [Brevo::GetDomainsList](docs/GetDomainsList.md) + - [Brevo::GetDomainsListDomains](docs/GetDomainsListDomains.md) + - [Brevo::GetEmailCampaign](docs/GetEmailCampaign.md) + - [Brevo::GetEmailCampaigns](docs/GetEmailCampaigns.md) + - [Brevo::GetEmailEventReport](docs/GetEmailEventReport.md) + - [Brevo::GetEmailEventReportEvents](docs/GetEmailEventReportEvents.md) + - [Brevo::GetExtendedCampaignOverview](docs/GetExtendedCampaignOverview.md) + - [Brevo::GetExtendedCampaignOverviewSender](docs/GetExtendedCampaignOverviewSender.md) + - [Brevo::GetExtendedCampaignStats](docs/GetExtendedCampaignStats.md) + - [Brevo::GetExtendedCampaignStatsGlobalStats](docs/GetExtendedCampaignStatsGlobalStats.md) + - [Brevo::GetExtendedClient](docs/GetExtendedClient.md) + - [Brevo::GetExtendedClientAddress](docs/GetExtendedClientAddress.md) + - [Brevo::GetExtendedContactDetails](docs/GetExtendedContactDetails.md) + - [Brevo::GetExtendedContactDetailsStatistics](docs/GetExtendedContactDetailsStatistics.md) + - [Brevo::GetExtendedContactDetailsStatisticsClicked](docs/GetExtendedContactDetailsStatisticsClicked.md) + - [Brevo::GetExtendedContactDetailsStatisticsDelivered](docs/GetExtendedContactDetailsStatisticsDelivered.md) + - [Brevo::GetExtendedContactDetailsStatisticsLinks](docs/GetExtendedContactDetailsStatisticsLinks.md) + - [Brevo::GetExtendedContactDetailsStatisticsMessagesSent](docs/GetExtendedContactDetailsStatisticsMessagesSent.md) + - [Brevo::GetExtendedContactDetailsStatisticsOpened](docs/GetExtendedContactDetailsStatisticsOpened.md) + - [Brevo::GetExtendedContactDetailsStatisticsUnsubscriptions](docs/GetExtendedContactDetailsStatisticsUnsubscriptions.md) + - [Brevo::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription](docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md) + - [Brevo::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription](docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md) + - [Brevo::GetExtendedList](docs/GetExtendedList.md) + - [Brevo::GetExtendedListCampaignStats](docs/GetExtendedListCampaignStats.md) + - [Brevo::GetExternalFeedByUUID](docs/GetExternalFeedByUUID.md) + - [Brevo::GetExternalFeedByUUIDHeaders](docs/GetExternalFeedByUUIDHeaders.md) + - [Brevo::GetFolder](docs/GetFolder.md) + - [Brevo::GetFolderLists](docs/GetFolderLists.md) + - [Brevo::GetFolders](docs/GetFolders.md) + - [Brevo::GetInboundEmailEvents](docs/GetInboundEmailEvents.md) + - [Brevo::GetInboundEmailEventsByUuid](docs/GetInboundEmailEventsByUuid.md) + - [Brevo::GetInboundEmailEventsByUuidAttachments](docs/GetInboundEmailEventsByUuidAttachments.md) + - [Brevo::GetInboundEmailEventsByUuidLogs](docs/GetInboundEmailEventsByUuidLogs.md) + - [Brevo::GetInboundEmailEventsEvents](docs/GetInboundEmailEventsEvents.md) + - [Brevo::GetInvitedUsersList](docs/GetInvitedUsersList.md) + - [Brevo::GetInvitedUsersListFeatureAccess](docs/GetInvitedUsersListFeatureAccess.md) + - [Brevo::GetInvitedUsersListUsers](docs/GetInvitedUsersListUsers.md) + - [Brevo::GetIp](docs/GetIp.md) + - [Brevo::GetIpFromSender](docs/GetIpFromSender.md) + - [Brevo::GetIps](docs/GetIps.md) + - [Brevo::GetIpsFromSender](docs/GetIpsFromSender.md) + - [Brevo::GetList](docs/GetList.md) + - [Brevo::GetLists](docs/GetLists.md) + - [Brevo::GetProcess](docs/GetProcess.md) + - [Brevo::GetProcesses](docs/GetProcesses.md) + - [Brevo::GetProductDetails](docs/GetProductDetails.md) + - [Brevo::GetProducts](docs/GetProducts.md) + - [Brevo::GetReports](docs/GetReports.md) + - [Brevo::GetReportsReports](docs/GetReportsReports.md) + - [Brevo::GetScheduledEmailByBatchId](docs/GetScheduledEmailByBatchId.md) + - [Brevo::GetScheduledEmailByBatchIdBatches](docs/GetScheduledEmailByBatchIdBatches.md) + - [Brevo::GetScheduledEmailByMessageId](docs/GetScheduledEmailByMessageId.md) + - [Brevo::GetSegments](docs/GetSegments.md) + - [Brevo::GetSegmentsSegments](docs/GetSegmentsSegments.md) + - [Brevo::GetSendersList](docs/GetSendersList.md) + - [Brevo::GetSendersListIps](docs/GetSendersListIps.md) + - [Brevo::GetSendersListSenders](docs/GetSendersListSenders.md) + - [Brevo::GetSharedTemplateUrl](docs/GetSharedTemplateUrl.md) + - [Brevo::GetSmsCampaign](docs/GetSmsCampaign.md) + - [Brevo::GetSmsCampaignOverview](docs/GetSmsCampaignOverview.md) + - [Brevo::GetSmsCampaignRecipients](docs/GetSmsCampaignRecipients.md) + - [Brevo::GetSmsCampaignStats](docs/GetSmsCampaignStats.md) + - [Brevo::GetSmsCampaigns](docs/GetSmsCampaigns.md) + - [Brevo::GetSmsEventReport](docs/GetSmsEventReport.md) + - [Brevo::GetSmsEventReportEvents](docs/GetSmsEventReportEvents.md) + - [Brevo::GetSmtpTemplateOverview](docs/GetSmtpTemplateOverview.md) + - [Brevo::GetSmtpTemplateOverviewSender](docs/GetSmtpTemplateOverviewSender.md) + - [Brevo::GetSmtpTemplates](docs/GetSmtpTemplates.md) + - [Brevo::GetSsoToken](docs/GetSsoToken.md) + - [Brevo::GetStatsByBrowser](docs/GetStatsByBrowser.md) + - [Brevo::GetStatsByDevice](docs/GetStatsByDevice.md) + - [Brevo::GetStatsByDomain](docs/GetStatsByDomain.md) + - [Brevo::GetTransacAggregatedSmsReport](docs/GetTransacAggregatedSmsReport.md) + - [Brevo::GetTransacBlockedContacts](docs/GetTransacBlockedContacts.md) + - [Brevo::GetTransacBlockedContactsContacts](docs/GetTransacBlockedContactsContacts.md) + - [Brevo::GetTransacBlockedContactsReason](docs/GetTransacBlockedContactsReason.md) + - [Brevo::GetTransacEmailContent](docs/GetTransacEmailContent.md) + - [Brevo::GetTransacEmailContentEvents](docs/GetTransacEmailContentEvents.md) + - [Brevo::GetTransacEmailsList](docs/GetTransacEmailsList.md) + - [Brevo::GetTransacEmailsListTransactionalEmails](docs/GetTransacEmailsListTransactionalEmails.md) + - [Brevo::GetTransacSmsReport](docs/GetTransacSmsReport.md) + - [Brevo::GetTransacSmsReportReports](docs/GetTransacSmsReportReports.md) + - [Brevo::GetUserPermission](docs/GetUserPermission.md) + - [Brevo::GetUserPermissionPrivileges](docs/GetUserPermissionPrivileges.md) + - [Brevo::GetWATemplates](docs/GetWATemplates.md) + - [Brevo::GetWATemplatesTemplates](docs/GetWATemplatesTemplates.md) + - [Brevo::GetWebhook](docs/GetWebhook.md) + - [Brevo::GetWebhooks](docs/GetWebhooks.md) + - [Brevo::GetWhatsAppConfig](docs/GetWhatsAppConfig.md) + - [Brevo::GetWhatsappCampaignOverview](docs/GetWhatsappCampaignOverview.md) + - [Brevo::GetWhatsappCampaigns](docs/GetWhatsappCampaigns.md) + - [Brevo::GetWhatsappCampaignsCampaigns](docs/GetWhatsappCampaignsCampaigns.md) + - [Brevo::GetWhatsappEventReport](docs/GetWhatsappEventReport.md) + - [Brevo::GetWhatsappEventReportEvents](docs/GetWhatsappEventReportEvents.md) + - [Brevo::InlineResponse200](docs/InlineResponse200.md) + - [Brevo::InlineResponse2001](docs/InlineResponse2001.md) + - [Brevo::InlineResponse201](docs/InlineResponse201.md) + - [Brevo::InlineResponse2011](docs/InlineResponse2011.md) + - [Brevo::InlineResponse2012](docs/InlineResponse2012.md) + - [Brevo::InlineResponse2013](docs/InlineResponse2013.md) + - [Brevo::InlineResponse2014](docs/InlineResponse2014.md) + - [Brevo::ManageIp](docs/ManageIp.md) + - [Brevo::MasterDetailsResponse](docs/MasterDetailsResponse.md) + - [Brevo::MasterDetailsResponseBillingInfo](docs/MasterDetailsResponseBillingInfo.md) + - [Brevo::MasterDetailsResponseBillingInfoAddress](docs/MasterDetailsResponseBillingInfoAddress.md) + - [Brevo::MasterDetailsResponseBillingInfoName](docs/MasterDetailsResponseBillingInfoName.md) + - [Brevo::MasterDetailsResponsePlanInfo](docs/MasterDetailsResponsePlanInfo.md) + - [Brevo::MasterDetailsResponsePlanInfoFeatures](docs/MasterDetailsResponsePlanInfoFeatures.md) + - [Brevo::Note](docs/Note.md) + - [Brevo::NoteData](docs/NoteData.md) + - [Brevo::NoteId](docs/NoteId.md) + - [Brevo::NoteList](docs/NoteList.md) + - [Brevo::Order](docs/Order.md) + - [Brevo::OrderBatch](docs/OrderBatch.md) + - [Brevo::OrderBilling](docs/OrderBilling.md) + - [Brevo::OrderProducts](docs/OrderProducts.md) + - [Brevo::Otp](docs/Otp.md) + - [Brevo::Pipeline](docs/Pipeline.md) + - [Brevo::PipelineStage](docs/PipelineStage.md) + - [Brevo::Pipelines](docs/Pipelines.md) + - [Brevo::PostContactInfo](docs/PostContactInfo.md) + - [Brevo::PostContactInfoContacts](docs/PostContactInfoContacts.md) + - [Brevo::PostSendFailed](docs/PostSendFailed.md) + - [Brevo::PostSendSmsTestFailed](docs/PostSendSmsTestFailed.md) + - [Brevo::RemainingCreditModel](docs/RemainingCreditModel.md) + - [Brevo::RemainingCreditModelChild](docs/RemainingCreditModelChild.md) + - [Brevo::RemainingCreditModelReseller](docs/RemainingCreditModelReseller.md) + - [Brevo::RemoveContactFromList](docs/RemoveContactFromList.md) + - [Brevo::RemoveCredits](docs/RemoveCredits.md) + - [Brevo::RequestContactExport](docs/RequestContactExport.md) + - [Brevo::RequestContactExportCustomContactFilter](docs/RequestContactExportCustomContactFilter.md) + - [Brevo::RequestContactImport](docs/RequestContactImport.md) + - [Brevo::RequestContactImportJsonBody](docs/RequestContactImportJsonBody.md) + - [Brevo::RequestContactImportNewList](docs/RequestContactImportNewList.md) + - [Brevo::RequestSmsRecipientExport](docs/RequestSmsRecipientExport.md) + - [Brevo::ScheduleSmtpEmail](docs/ScheduleSmtpEmail.md) + - [Brevo::SendReport](docs/SendReport.md) + - [Brevo::SendReportEmail](docs/SendReportEmail.md) + - [Brevo::SendSms](docs/SendSms.md) + - [Brevo::SendSmtpEmail](docs/SendSmtpEmail.md) + - [Brevo::SendSmtpEmailAttachment](docs/SendSmtpEmailAttachment.md) + - [Brevo::SendSmtpEmailBcc](docs/SendSmtpEmailBcc.md) + - [Brevo::SendSmtpEmailCc](docs/SendSmtpEmailCc.md) + - [Brevo::SendSmtpEmailMessageVersions](docs/SendSmtpEmailMessageVersions.md) + - [Brevo::SendSmtpEmailReplyTo](docs/SendSmtpEmailReplyTo.md) + - [Brevo::SendSmtpEmailReplyTo1](docs/SendSmtpEmailReplyTo1.md) + - [Brevo::SendSmtpEmailSender](docs/SendSmtpEmailSender.md) + - [Brevo::SendSmtpEmailTo](docs/SendSmtpEmailTo.md) + - [Brevo::SendSmtpEmailTo1](docs/SendSmtpEmailTo1.md) + - [Brevo::SendTestEmail](docs/SendTestEmail.md) + - [Brevo::SendTestSms](docs/SendTestSms.md) + - [Brevo::SendTransacSms](docs/SendTransacSms.md) + - [Brevo::SendWhatsappMessage](docs/SendWhatsappMessage.md) + - [Brevo::SsoTokenRequest](docs/SsoTokenRequest.md) + - [Brevo::SubAccountAppsToggleRequest](docs/SubAccountAppsToggleRequest.md) + - [Brevo::SubAccountDetailsResponse](docs/SubAccountDetailsResponse.md) + - [Brevo::SubAccountDetailsResponsePlanInfo](docs/SubAccountDetailsResponsePlanInfo.md) + - [Brevo::SubAccountDetailsResponsePlanInfoCredits](docs/SubAccountDetailsResponsePlanInfoCredits.md) + - [Brevo::SubAccountDetailsResponsePlanInfoCreditsEmails](docs/SubAccountDetailsResponsePlanInfoCreditsEmails.md) + - [Brevo::SubAccountDetailsResponsePlanInfoFeatures](docs/SubAccountDetailsResponsePlanInfoFeatures.md) + - [Brevo::SubAccountDetailsResponsePlanInfoFeaturesInbox](docs/SubAccountDetailsResponsePlanInfoFeaturesInbox.md) + - [Brevo::SubAccountDetailsResponsePlanInfoFeaturesLandingPage](docs/SubAccountDetailsResponsePlanInfoFeaturesLandingPage.md) + - [Brevo::SubAccountDetailsResponsePlanInfoFeaturesUsers](docs/SubAccountDetailsResponsePlanInfoFeaturesUsers.md) + - [Brevo::SubAccountUpdatePlanRequest](docs/SubAccountUpdatePlanRequest.md) + - [Brevo::SubAccountUpdatePlanRequestCredits](docs/SubAccountUpdatePlanRequestCredits.md) + - [Brevo::SubAccountUpdatePlanRequestFeatures](docs/SubAccountUpdatePlanRequestFeatures.md) + - [Brevo::SubAccountsResponse](docs/SubAccountsResponse.md) + - [Brevo::SubAccountsResponseSubAccounts](docs/SubAccountsResponseSubAccounts.md) + - [Brevo::Task](docs/Task.md) + - [Brevo::TaskList](docs/TaskList.md) + - [Brevo::TaskReminder](docs/TaskReminder.md) + - [Brevo::TaskTypes](docs/TaskTypes.md) + - [Brevo::UpdateAttribute](docs/UpdateAttribute.md) + - [Brevo::UpdateAttributeEnumeration](docs/UpdateAttributeEnumeration.md) + - [Brevo::UpdateBatchContacts](docs/UpdateBatchContacts.md) + - [Brevo::UpdateBatchContactsContacts](docs/UpdateBatchContactsContacts.md) + - [Brevo::UpdateBatchContactsModel](docs/UpdateBatchContactsModel.md) + - [Brevo::UpdateCampaignStatus](docs/UpdateCampaignStatus.md) + - [Brevo::UpdateChild](docs/UpdateChild.md) + - [Brevo::UpdateChildAccountStatus](docs/UpdateChildAccountStatus.md) + - [Brevo::UpdateChildDomain](docs/UpdateChildDomain.md) + - [Brevo::UpdateContact](docs/UpdateContact.md) + - [Brevo::UpdateCouponCollection](docs/UpdateCouponCollection.md) + - [Brevo::UpdateEmailCampaign](docs/UpdateEmailCampaign.md) + - [Brevo::UpdateEmailCampaignRecipients](docs/UpdateEmailCampaignRecipients.md) + - [Brevo::UpdateEmailCampaignSender](docs/UpdateEmailCampaignSender.md) + - [Brevo::UpdateExternalFeed](docs/UpdateExternalFeed.md) + - [Brevo::UpdateList](docs/UpdateList.md) + - [Brevo::UpdateSender](docs/UpdateSender.md) + - [Brevo::UpdateSmsCampaign](docs/UpdateSmsCampaign.md) + - [Brevo::UpdateSmtpTemplate](docs/UpdateSmtpTemplate.md) + - [Brevo::UpdateSmtpTemplateSender](docs/UpdateSmtpTemplateSender.md) + - [Brevo::UpdateWebhook](docs/UpdateWebhook.md) + - [Brevo::UpdateWhatsAppCampaign](docs/UpdateWhatsAppCampaign.md) + - [Brevo::UploadImageModel](docs/UploadImageModel.md) + - [Brevo::UploadImageToGallery](docs/UploadImageToGallery.md) + - [Brevo::VariablesItems](docs/VariablesItems.md) + - [Brevo::WhatsappCampStats](docs/WhatsappCampStats.md) + - [Brevo::WhatsappCampTemplate](docs/WhatsappCampTemplate.md) ## Documentation for Authorization diff --git a/brevo-ruby.gemspec b/brevo.gemspec similarity index 71% rename from brevo-ruby.gemspec rename to brevo.gemspec index 4a8fd93..720003b 100644 --- a/brevo-ruby.gemspec +++ b/brevo.gemspec @@ -3,7 +3,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,11 +13,11 @@ Swagger Codegen version: 2.4.19 =end $:.push File.expand_path("../lib", __FILE__) -require "brevo-ruby/version" +require "brevo/version" Gem::Specification.new do |s| - s.name = "brevo-ruby" - s.version = BrevoRuby::VERSION + s.name = "brevo" + s.version = Brevo::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Brevo Developers"] s.email = ["contact@brevo.com"] diff --git a/docs/AbTestCampaignResult.md b/docs/AbTestCampaignResult.md index 0f544ee..ffb74f0 100644 --- a/docs/AbTestCampaignResult.md +++ b/docs/AbTestCampaignResult.md @@ -1,4 +1,4 @@ -# BrevoRuby::AbTestCampaignResult +# Brevo::AbTestCampaignResult ## Properties Name | Type | Description | Notes diff --git a/docs/AbTestCampaignResultClickedLinks.md b/docs/AbTestCampaignResultClickedLinks.md index f57dbec..7f7ecc8 100644 --- a/docs/AbTestCampaignResultClickedLinks.md +++ b/docs/AbTestCampaignResultClickedLinks.md @@ -1,4 +1,4 @@ -# BrevoRuby::AbTestCampaignResultClickedLinks +# Brevo::AbTestCampaignResultClickedLinks ## Properties Name | Type | Description | Notes diff --git a/docs/AbTestCampaignResultStatistics.md b/docs/AbTestCampaignResultStatistics.md index 02fea4a..9f2c7ab 100644 --- a/docs/AbTestCampaignResultStatistics.md +++ b/docs/AbTestCampaignResultStatistics.md @@ -1,4 +1,4 @@ -# BrevoRuby::AbTestCampaignResultStatistics +# Brevo::AbTestCampaignResultStatistics ## Properties Name | Type | Description | Notes diff --git a/docs/AbTestVersionClicks.md b/docs/AbTestVersionClicks.md index 0cb0a2f..493db68 100644 --- a/docs/AbTestVersionClicks.md +++ b/docs/AbTestVersionClicks.md @@ -1,4 +1,4 @@ -# BrevoRuby::AbTestVersionClicks +# Brevo::AbTestVersionClicks ## Properties Name | Type | Description | Notes diff --git a/docs/AbTestVersionClicksInner.md b/docs/AbTestVersionClicksInner.md index dfe1b55..7ea99f2 100644 --- a/docs/AbTestVersionClicksInner.md +++ b/docs/AbTestVersionClicksInner.md @@ -1,4 +1,4 @@ -# BrevoRuby::AbTestVersionClicksInner +# Brevo::AbTestVersionClicksInner ## Properties Name | Type | Description | Notes diff --git a/docs/AbTestVersionStats.md b/docs/AbTestVersionStats.md index 8336e28..733ca9d 100644 --- a/docs/AbTestVersionStats.md +++ b/docs/AbTestVersionStats.md @@ -1,4 +1,4 @@ -# BrevoRuby::AbTestVersionStats +# Brevo::AbTestVersionStats ## Properties Name | Type | Description | Notes diff --git a/docs/AccountApi.md b/docs/AccountApi.md index d01c914..218712e 100644 --- a/docs/AccountApi.md +++ b/docs/AccountApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::AccountApi +# Brevo::AccountApi All URIs are relative to *https://api.brevo.com/v3* @@ -16,9 +16,9 @@ Get your account information, plan and credits details ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -30,13 +30,13 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::AccountApi.new +api_instance = Brevo::AccountApi.new begin #Get your account information, plan and credits details result = api_instance.get_account p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling AccountApi->get_account: #{e}" end ``` @@ -67,9 +67,9 @@ Get user activity logs ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -81,7 +81,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::AccountApi.new +api_instance = Brevo::AccountApi.new opts = { start_date: 'start_date_example', # String | Mandatory if endDate is used. Enter start date in UTC date (YYYY-MM-DD) format to filter the activity in your account. Maximum time period that can be selected is one month. Additionally, you can retrieve activity logs from the past 12 months from the date of your search. @@ -94,7 +94,7 @@ begin #Get user activity logs result = api_instance.get_account_activity(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling AccountApi->get_account_activity: #{e}" end ``` diff --git a/docs/AddChildDomain.md b/docs/AddChildDomain.md index bd488ef..36e2354 100644 --- a/docs/AddChildDomain.md +++ b/docs/AddChildDomain.md @@ -1,4 +1,4 @@ -# BrevoRuby::AddChildDomain +# Brevo::AddChildDomain ## Properties Name | Type | Description | Notes diff --git a/docs/AddContactToList.md b/docs/AddContactToList.md index 70ff3a3..92280fe 100644 --- a/docs/AddContactToList.md +++ b/docs/AddContactToList.md @@ -1,4 +1,4 @@ -# BrevoRuby::AddContactToList +# Brevo::AddContactToList ## Properties Name | Type | Description | Notes diff --git a/docs/AddCredits.md b/docs/AddCredits.md index e8d5da3..d88157f 100644 --- a/docs/AddCredits.md +++ b/docs/AddCredits.md @@ -1,4 +1,4 @@ -# BrevoRuby::AddCredits +# Brevo::AddCredits ## Properties Name | Type | Description | Notes diff --git a/docs/AuthenticateDomainModel.md b/docs/AuthenticateDomainModel.md index bff0c7f..c1cb1cd 100644 --- a/docs/AuthenticateDomainModel.md +++ b/docs/AuthenticateDomainModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::AuthenticateDomainModel +# Brevo::AuthenticateDomainModel ## Properties Name | Type | Description | Notes diff --git a/docs/BlockDomain.md b/docs/BlockDomain.md index d6a5565..2bc519d 100644 --- a/docs/BlockDomain.md +++ b/docs/BlockDomain.md @@ -1,4 +1,4 @@ -# BrevoRuby::BlockDomain +# Brevo::BlockDomain ## Properties Name | Type | Description | Notes diff --git a/docs/Body.md b/docs/Body.md index 292daf2..35574d1 100644 --- a/docs/Body.md +++ b/docs/Body.md @@ -1,4 +1,4 @@ -# BrevoRuby::Body +# Brevo::Body ## Properties Name | Type | Description | Notes diff --git a/docs/Body1.md b/docs/Body1.md index 9c8e3e9..d4735cb 100644 --- a/docs/Body1.md +++ b/docs/Body1.md @@ -1,4 +1,4 @@ -# BrevoRuby::Body1 +# Brevo::Body1 ## Properties Name | Type | Description | Notes diff --git a/docs/Body10.md b/docs/Body10.md index 0536d09..d64d447 100644 --- a/docs/Body10.md +++ b/docs/Body10.md @@ -1,4 +1,4 @@ -# BrevoRuby::Body10 +# Brevo::Body10 ## Properties Name | Type | Description | Notes diff --git a/docs/Body11.md b/docs/Body11.md index 68612c9..7e41b8a 100644 --- a/docs/Body11.md +++ b/docs/Body11.md @@ -1,4 +1,4 @@ -# BrevoRuby::Body11 +# Brevo::Body11 ## Properties Name | Type | Description | Notes diff --git a/docs/Body12.md b/docs/Body12.md index 97e6b13..4092ec3 100644 --- a/docs/Body12.md +++ b/docs/Body12.md @@ -1,4 +1,4 @@ -# BrevoRuby::Body12 +# Brevo::Body12 ## Properties Name | Type | Description | Notes diff --git a/docs/Body2.md b/docs/Body2.md index 520b43f..005e1c7 100644 --- a/docs/Body2.md +++ b/docs/Body2.md @@ -1,4 +1,4 @@ -# BrevoRuby::Body2 +# Brevo::Body2 ## Properties Name | Type | Description | Notes diff --git a/docs/Body3.md b/docs/Body3.md index 77c2a01..3fc1319 100644 --- a/docs/Body3.md +++ b/docs/Body3.md @@ -1,4 +1,4 @@ -# BrevoRuby::Body3 +# Brevo::Body3 ## Properties Name | Type | Description | Notes diff --git a/docs/Body4.md b/docs/Body4.md index 09ceb0a..ee8441b 100644 --- a/docs/Body4.md +++ b/docs/Body4.md @@ -1,9 +1,9 @@ -# BrevoRuby::Body4 +# Brevo::Body4 ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of deal | [optional] -**attributes** | **Object** | Attributes for deal update If you wish to update the pipeline of a deal you need to provide the `pipeline` and the `deal_stage`. Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}` | [optional] +**attributes** | **Object** | Attributes for deal update If you wish to update the pipeline of a deal you need to provide the `pipeline` and the `deal_stage`. Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}` | [optional] diff --git a/docs/Body5.md b/docs/Body5.md index 38107cd..04c9624 100644 --- a/docs/Body5.md +++ b/docs/Body5.md @@ -1,4 +1,4 @@ -# BrevoRuby::Body5 +# Brevo::Body5 ## Properties Name | Type | Description | Notes diff --git a/docs/Body6.md b/docs/Body6.md index f22ffc1..f45d796 100644 --- a/docs/Body6.md +++ b/docs/Body6.md @@ -1,4 +1,4 @@ -# BrevoRuby::Body6 +# Brevo::Body6 ## Properties Name | Type | Description | Notes diff --git a/docs/Body7.md b/docs/Body7.md index 9185581..3348240 100644 --- a/docs/Body7.md +++ b/docs/Body7.md @@ -1,4 +1,4 @@ -# BrevoRuby::Body7 +# Brevo::Body7 ## Properties Name | Type | Description | Notes diff --git a/docs/Body8.md b/docs/Body8.md index b728922..3f3ccbd 100644 --- a/docs/Body8.md +++ b/docs/Body8.md @@ -1,4 +1,4 @@ -# BrevoRuby::Body8 +# Brevo::Body8 ## Properties Name | Type | Description | Notes diff --git a/docs/Body9.md b/docs/Body9.md index 4c682fa..932f97c 100644 --- a/docs/Body9.md +++ b/docs/Body9.md @@ -1,4 +1,4 @@ -# BrevoRuby::Body9 +# Brevo::Body9 ## Properties Name | Type | Description | Notes diff --git a/docs/BodyVariablesItems.md b/docs/BodyVariablesItems.md index 1f88d27..aae3ad3 100644 --- a/docs/BodyVariablesItems.md +++ b/docs/BodyVariablesItems.md @@ -1,4 +1,4 @@ -# BrevoRuby::BodyVariablesItems +# Brevo::BodyVariablesItems ## Properties Name | Type | Description | Notes diff --git a/docs/CompaniesApi.md b/docs/CompaniesApi.md index 6fd200c..04868a6 100644 --- a/docs/CompaniesApi.md +++ b/docs/CompaniesApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::CompaniesApi +# Brevo::CompaniesApi All URIs are relative to *https://api.brevo.com/v3* @@ -21,9 +21,9 @@ Get company attributes ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -35,13 +35,13 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::CompaniesApi.new +api_instance = Brevo::CompaniesApi.new begin #Get company attributes result = api_instance.companies_attributes_get p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling CompaniesApi->companies_attributes_get: #{e}" end ``` @@ -72,9 +72,9 @@ Get all companies ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -86,7 +86,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::CompaniesApi.new +api_instance = Brevo::CompaniesApi.new opts = { filters: 'filters_example', # String | Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} @@ -102,7 +102,7 @@ begin #Get all companies result = api_instance.companies_get(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling CompaniesApi->companies_get: #{e}" end ``` @@ -142,9 +142,9 @@ Delete a company ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -156,7 +156,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::CompaniesApi.new +api_instance = Brevo::CompaniesApi.new id = 'id_example' # String | @@ -164,7 +164,7 @@ id = 'id_example' # String | begin #Delete a company api_instance.companies_id_delete(id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling CompaniesApi->companies_id_delete: #{e}" end ``` @@ -198,9 +198,9 @@ Get a company ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -212,7 +212,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::CompaniesApi.new +api_instance = Brevo::CompaniesApi.new id = 'id_example' # String | @@ -221,7 +221,7 @@ begin #Get a company result = api_instance.companies_id_get(id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling CompaniesApi->companies_id_get: #{e}" end ``` @@ -255,9 +255,9 @@ Update a company ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -269,18 +269,18 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::CompaniesApi.new +api_instance = Brevo::CompaniesApi.new id = 'id_example' # String | -body = BrevoRuby::Body1.new # Body1 | Updated company details. +body = Brevo::Body1.new # Body1 | Updated company details. begin #Update a company result = api_instance.companies_id_patch(id, body) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling CompaniesApi->companies_id_patch: #{e}" end ``` @@ -315,9 +315,9 @@ Link and Unlink company with contacts and deals ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -329,17 +329,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::CompaniesApi.new +api_instance = Brevo::CompaniesApi.new id = 'id_example' # String | -body = BrevoRuby::Body2.new # Body2 | Linked / Unlinked contacts and deals ids. +body = Brevo::Body2.new # Body2 | Linked / Unlinked contacts and deals ids. begin #Link and Unlink company with contacts and deals api_instance.companies_link_unlink_id_patch(id, body) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling CompaniesApi->companies_link_unlink_id_patch: #{e}" end ``` @@ -374,9 +374,9 @@ Create a company ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -388,16 +388,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::CompaniesApi.new +api_instance = Brevo::CompaniesApi.new -body = BrevoRuby::Body.new # Body | Company create data. +body = Brevo::Body.new # Body | Company create data. begin #Create a company result = api_instance.companies_post(body) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling CompaniesApi->companies_post: #{e}" end ``` diff --git a/docs/CompaniesList.md b/docs/CompaniesList.md index 1e8be18..9defb9f 100644 --- a/docs/CompaniesList.md +++ b/docs/CompaniesList.md @@ -1,4 +1,4 @@ -# BrevoRuby::CompaniesList +# Brevo::CompaniesList ## Properties Name | Type | Description | Notes diff --git a/docs/Company.md b/docs/Company.md index ec35e29..75bc540 100644 --- a/docs/Company.md +++ b/docs/Company.md @@ -1,4 +1,4 @@ -# BrevoRuby::Company +# Brevo::Company ## Properties Name | Type | Description | Notes diff --git a/docs/CompanyAttributes.md b/docs/CompanyAttributes.md index 14da6eb..9277548 100644 --- a/docs/CompanyAttributes.md +++ b/docs/CompanyAttributes.md @@ -1,4 +1,4 @@ -# BrevoRuby::CompanyAttributes +# Brevo::CompanyAttributes ## Properties Name | Type | Description | Notes diff --git a/docs/CompanyAttributesInner.md b/docs/CompanyAttributesInner.md index 001fccb..3800aa3 100644 --- a/docs/CompanyAttributesInner.md +++ b/docs/CompanyAttributesInner.md @@ -1,4 +1,4 @@ -# BrevoRuby::CompanyAttributesInner +# Brevo::CompanyAttributesInner ## Properties Name | Type | Description | Notes diff --git a/docs/ComponentItems.md b/docs/ComponentItems.md index 9c9e579..fc31897 100644 --- a/docs/ComponentItems.md +++ b/docs/ComponentItems.md @@ -1,4 +1,4 @@ -# BrevoRuby::ComponentItems +# Brevo::ComponentItems ## Properties Name | Type | Description | Notes diff --git a/docs/ContactsApi.md b/docs/ContactsApi.md index fea6927..d89b0bd 100644 --- a/docs/ContactsApi.md +++ b/docs/ContactsApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::ContactsApi +# Brevo::ContactsApi All URIs are relative to *https://api.brevo.com/v3* @@ -43,9 +43,9 @@ Add existing contacts to a list ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -57,18 +57,18 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new list_id = 789 # Integer | Id of the list -contact_emails = BrevoRuby::AddContactToList.new # AddContactToList | Emails addresses OR IDs of the contacts +contact_emails = Brevo::AddContactToList.new # AddContactToList | Emails addresses OR IDs of the contacts begin #Add existing contacts to a list result = api_instance.add_contact_to_list(list_id, contact_emails) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->add_contact_to_list: #{e}" end ``` @@ -103,9 +103,9 @@ Create contact attribute ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -117,19 +117,19 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new attribute_category = 'attribute_category_example' # String | Category of the attribute attribute_name = 'attribute_name_example' # String | Name of the attribute -create_attribute = BrevoRuby::CreateAttribute.new # CreateAttribute | Values to create an attribute +create_attribute = Brevo::CreateAttribute.new # CreateAttribute | Values to create an attribute begin #Create contact attribute api_instance.create_attribute(attribute_category, attribute_name, create_attribute) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->create_attribute: #{e}" end ``` @@ -165,9 +165,9 @@ Create a contact ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -179,16 +179,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new -create_contact = BrevoRuby::CreateContact.new # CreateContact | Values to create a contact +create_contact = Brevo::CreateContact.new # CreateContact | Values to create a contact begin #Create a contact result = api_instance.create_contact(create_contact) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->create_contact: #{e}" end ``` @@ -222,9 +222,9 @@ Create Contact via DOI (Double-Opt-In) Flow ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -236,15 +236,15 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new -create_doi_contact = BrevoRuby::CreateDoiContact.new # CreateDoiContact | Values to create the Double opt-in (DOI) contact +create_doi_contact = Brevo::CreateDoiContact.new # CreateDoiContact | Values to create the Double opt-in (DOI) contact begin #Create Contact via DOI (Double-Opt-In) Flow api_instance.create_doi_contact(create_doi_contact) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->create_doi_contact: #{e}" end ``` @@ -278,9 +278,9 @@ Create a folder ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -292,16 +292,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new -create_folder = BrevoRuby::CreateUpdateFolder.new # CreateUpdateFolder | Name of the folder +create_folder = Brevo::CreateUpdateFolder.new # CreateUpdateFolder | Name of the folder begin #Create a folder result = api_instance.create_folder(create_folder) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->create_folder: #{e}" end ``` @@ -335,9 +335,9 @@ Create a list ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -349,16 +349,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new -create_list = BrevoRuby::CreateList.new # CreateList | Values to create a list +create_list = Brevo::CreateList.new # CreateList | Values to create a list begin #Create a list result = api_instance.create_list(create_list) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->create_list: #{e}" end ``` @@ -392,9 +392,9 @@ Delete an attribute ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -406,7 +406,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new attribute_category = 'attribute_category_example' # String | Category of the attribute @@ -416,7 +416,7 @@ attribute_name = 'attribute_name_example' # String | Name of the existing attrib begin #Delete an attribute api_instance.delete_attribute(attribute_category, attribute_name) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->delete_attribute: #{e}" end ``` @@ -451,9 +451,9 @@ Delete a contact ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -465,7 +465,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new identifier = 'identifier_example' # String | Email (urlencoded) OR ID of the contact @@ -473,7 +473,7 @@ identifier = 'identifier_example' # String | Email (urlencoded) OR ID of the con begin #Delete a contact api_instance.delete_contact(identifier) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->delete_contact: #{e}" end ``` @@ -507,9 +507,9 @@ Delete a folder (and all its lists) ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -521,7 +521,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new folder_id = 789 # Integer | Id of the folder @@ -529,7 +529,7 @@ folder_id = 789 # Integer | Id of the folder begin #Delete a folder (and all its lists) api_instance.delete_folder(folder_id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->delete_folder: #{e}" end ``` @@ -563,9 +563,9 @@ Delete a list ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -577,7 +577,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new list_id = 789 # Integer | Id of the list @@ -585,7 +585,7 @@ list_id = 789 # Integer | Id of the list begin #Delete a list api_instance.delete_list(list_id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->delete_list: #{e}" end ``` @@ -619,9 +619,9 @@ List all attributes ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -633,13 +633,13 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new begin #List all attributes result = api_instance.get_attributes p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->get_attributes: #{e}" end ``` @@ -672,9 +672,9 @@ Along with the contact details, this endpoint will show the statistics of contac ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -686,7 +686,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new identifier = 'identifier_example' # String | Email (urlencoded) OR ID of the contact OR its SMS attribute value @@ -699,7 +699,7 @@ begin #Get a contact's details result = api_instance.get_contact_info(identifier, opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->get_contact_info: #{e}" end ``` @@ -735,9 +735,9 @@ Get email campaigns' statistics for a contact ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -749,7 +749,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new identifier = 'identifier_example' # String | Email (urlencoded) OR ID of the contact @@ -762,7 +762,7 @@ begin #Get email campaigns' statistics for a contact result = api_instance.get_contact_stats(identifier, opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->get_contact_stats: #{e}" end ``` @@ -798,9 +798,9 @@ Get all the contacts ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -812,7 +812,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new opts = { limit: 50, # Integer | Number of documents per page @@ -826,7 +826,7 @@ begin #Get all the contacts result = api_instance.get_contacts(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->get_contacts: #{e}" end ``` @@ -864,9 +864,9 @@ Get contacts in a list ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -878,7 +878,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new list_id = 789 # Integer | Id of the list @@ -893,7 +893,7 @@ begin #Get contacts in a list result = api_instance.get_contacts_from_list(list_id, opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->get_contacts_from_list: #{e}" end ``` @@ -931,9 +931,9 @@ Returns a folder's details ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -945,7 +945,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new folder_id = 789 # Integer | id of the folder @@ -954,7 +954,7 @@ begin #Returns a folder's details result = api_instance.get_folder(folder_id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->get_folder: #{e}" end ``` @@ -988,9 +988,9 @@ Get lists in a folder ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1002,7 +1002,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new folder_id = 789 # Integer | Id of the folder @@ -1016,7 +1016,7 @@ begin #Get lists in a folder result = api_instance.get_folder_lists(folder_id, opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->get_folder_lists: #{e}" end ``` @@ -1053,9 +1053,9 @@ Get all folders ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1067,7 +1067,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new limit = 10 # Integer | Number of documents per page @@ -1081,7 +1081,7 @@ begin #Get all folders result = api_instance.get_folders(limit, offset, opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->get_folders: #{e}" end ``` @@ -1117,9 +1117,9 @@ Get a list's details ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1131,7 +1131,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new list_id = 789 # Integer | Id of the list @@ -1140,7 +1140,7 @@ begin #Get a list's details result = api_instance.get_list(list_id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->get_list: #{e}" end ``` @@ -1174,9 +1174,9 @@ Get all the lists ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1188,7 +1188,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new opts = { limit: 10, # Integer | Number of documents per page @@ -1200,7 +1200,7 @@ begin #Get all the lists result = api_instance.get_lists(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->get_lists: #{e}" end ``` @@ -1236,9 +1236,9 @@ Get all the Segments ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1250,7 +1250,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new limit = 10 # Integer | Number of documents per page @@ -1264,7 +1264,7 @@ begin #Get all the Segments result = api_instance.get_segments(limit, offset, opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->get_segments: #{e}" end ``` @@ -1302,9 +1302,9 @@ It returns the background process ID which on completion calls the notify URL th ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1316,16 +1316,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new -request_contact_import = BrevoRuby::RequestContactImport.new # RequestContactImport | Values to import contacts in Brevo. To know more about the expected format, please have a look at ``https://help.brevo.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` +request_contact_import = Brevo::RequestContactImport.new # RequestContactImport | Values to import contacts in Brevo. To know more about the expected format, please have a look at ``https://help.brevo.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` begin #Import contacts result = api_instance.import_contacts(request_contact_import) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->import_contacts: #{e}" end ``` @@ -1359,9 +1359,9 @@ Delete a contact from a list ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1373,18 +1373,18 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new list_id = 789 # Integer | Id of the list -contact_emails = BrevoRuby::RemoveContactFromList.new # RemoveContactFromList | Emails addresses OR IDs of the contacts +contact_emails = Brevo::RemoveContactFromList.new # RemoveContactFromList | Emails addresses OR IDs of the contacts begin #Delete a contact from a list result = api_instance.remove_contact_from_list(list_id, contact_emails) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->remove_contact_from_list: #{e}" end ``` @@ -1421,9 +1421,9 @@ It returns the background process ID which on completion calls the notify URL th ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1435,16 +1435,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new -request_contact_export = BrevoRuby::RequestContactExport.new # RequestContactExport | Values to request a contact export +request_contact_export = Brevo::RequestContactExport.new # RequestContactExport | Values to request a contact export begin #Export contacts result = api_instance.request_contact_export(request_contact_export) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->request_contact_export: #{e}" end ``` @@ -1478,9 +1478,9 @@ Update contact attribute ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1492,19 +1492,19 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new attribute_category = 'attribute_category_example' # String | Category of the attribute attribute_name = 'attribute_name_example' # String | Name of the existing attribute -update_attribute = BrevoRuby::UpdateAttribute.new # UpdateAttribute | Values to update an attribute +update_attribute = Brevo::UpdateAttribute.new # UpdateAttribute | Values to update an attribute begin #Update contact attribute api_instance.update_attribute(attribute_category, attribute_name, update_attribute) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->update_attribute: #{e}" end ``` @@ -1540,9 +1540,9 @@ Update multiple contacts ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1554,15 +1554,15 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new -update_batch_contacts = BrevoRuby::UpdateBatchContacts.new # UpdateBatchContacts | Values to update multiple contacts +update_batch_contacts = Brevo::UpdateBatchContacts.new # UpdateBatchContacts | Values to update multiple contacts begin #Update multiple contacts api_instance.update_batch_contacts(update_batch_contacts) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->update_batch_contacts: #{e}" end ``` @@ -1596,9 +1596,9 @@ Update a contact ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1610,17 +1610,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new identifier = 'identifier_example' # String | Email (urlencoded) OR ID of the contact -update_contact = BrevoRuby::UpdateContact.new # UpdateContact | Values to update a contact +update_contact = Brevo::UpdateContact.new # UpdateContact | Values to update a contact begin #Update a contact api_instance.update_contact(identifier, update_contact) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->update_contact: #{e}" end ``` @@ -1655,9 +1655,9 @@ Update a folder ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1669,17 +1669,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new folder_id = 789 # Integer | Id of the folder -update_folder = BrevoRuby::CreateUpdateFolder.new # CreateUpdateFolder | Name of the folder +update_folder = Brevo::CreateUpdateFolder.new # CreateUpdateFolder | Name of the folder begin #Update a folder api_instance.update_folder(folder_id, update_folder) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->update_folder: #{e}" end ``` @@ -1714,9 +1714,9 @@ Update a list ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1728,17 +1728,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ContactsApi.new +api_instance = Brevo::ContactsApi.new list_id = 789 # Integer | Id of the list -update_list = BrevoRuby::UpdateList.new # UpdateList | Values to update a list +update_list = Brevo::UpdateList.new # UpdateList | Values to update a list begin #Update a list api_instance.update_list(list_id, update_list) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ContactsApi->update_list: #{e}" end ``` diff --git a/docs/ConversationsApi.md b/docs/ConversationsApi.md index 436538c..f43722a 100644 --- a/docs/ConversationsApi.md +++ b/docs/ConversationsApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::ConversationsApi +# Brevo::ConversationsApi All URIs are relative to *https://api.brevo.com/v3* @@ -25,9 +25,9 @@ We recommend pinging this endpoint every minute for as long as the agent has to ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -39,15 +39,15 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ConversationsApi.new +api_instance = Brevo::ConversationsApi.new -body = BrevoRuby::Body12.new # Body12 | Agent fields. +body = Brevo::Body12.new # Body12 | Agent fields. begin #Sets agent’s status to online for 2-3 minutes api_instance.conversations_agent_online_ping_post(body) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ConversationsApi->conversations_agent_online_ping_post: #{e}" end ``` @@ -83,9 +83,9 @@ Only agents’ messages can be deleted. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -97,7 +97,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ConversationsApi.new +api_instance = Brevo::ConversationsApi.new id = 'id_example' # String | ID of the message @@ -105,7 +105,7 @@ id = 'id_example' # String | ID of the message begin #Delete a message sent by an agent api_instance.conversations_messages_id_delete(id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ConversationsApi->conversations_messages_id_delete: #{e}" end ``` @@ -139,9 +139,9 @@ Get a message ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -153,7 +153,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ConversationsApi.new +api_instance = Brevo::ConversationsApi.new id = 'id_example' # String | ID of the message @@ -162,7 +162,7 @@ begin #Get a message result = api_instance.conversations_messages_id_get(id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ConversationsApi->conversations_messages_id_get: #{e}" end ``` @@ -198,9 +198,9 @@ Only agents’ messages can be edited. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -212,19 +212,19 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ConversationsApi.new +api_instance = Brevo::ConversationsApi.new id = 'id_example' # String | ID of the message opts = { - body: BrevoRuby::Body9.new # Body9 | + body: Brevo::Body9.new # Body9 | } begin #Update a message sent by an agent result = api_instance.conversations_messages_id_put(id, opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ConversationsApi->conversations_messages_id_put: #{e}" end ``` @@ -259,9 +259,9 @@ Send a message as an agent ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -273,16 +273,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ConversationsApi.new +api_instance = Brevo::ConversationsApi.new -body = BrevoRuby::Body8.new # Body8 | Message fields. +body = Brevo::Body8.new # Body8 | Message fields. begin #Send a message as an agent result = api_instance.conversations_messages_post(body) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ConversationsApi->conversations_messages_post: #{e}" end ``` @@ -316,9 +316,9 @@ Delete an automated message ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -330,7 +330,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ConversationsApi.new +api_instance = Brevo::ConversationsApi.new id = 'id_example' # String | ID of the message @@ -338,7 +338,7 @@ id = 'id_example' # String | ID of the message begin #Delete an automated message api_instance.conversations_pushed_messages_id_delete(id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ConversationsApi->conversations_pushed_messages_id_delete: #{e}" end ``` @@ -372,9 +372,9 @@ Get an automated message ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -386,7 +386,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ConversationsApi.new +api_instance = Brevo::ConversationsApi.new id = 'id_example' # String | ID of the message sent previously @@ -395,7 +395,7 @@ begin #Get an automated message result = api_instance.conversations_pushed_messages_id_get(id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ConversationsApi->conversations_pushed_messages_id_get: #{e}" end ``` @@ -429,9 +429,9 @@ Update an automated message ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -443,18 +443,18 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ConversationsApi.new +api_instance = Brevo::ConversationsApi.new id = 'id_example' # String | ID of the message -body = BrevoRuby::Body11.new # Body11 | +body = Brevo::Body11.new # Body11 | begin #Update an automated message result = api_instance.conversations_pushed_messages_id_put(id, body) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ConversationsApi->conversations_pushed_messages_id_put: #{e}" end ``` @@ -491,9 +491,9 @@ Example of automated messages: order status, announce new features in your web a ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -505,16 +505,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ConversationsApi.new +api_instance = Brevo::ConversationsApi.new -body = BrevoRuby::Body10.new # Body10 | +body = Brevo::Body10.new # Body10 | begin #Send an automated message to a visitor result = api_instance.conversations_pushed_messages_post(body) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ConversationsApi->conversations_pushed_messages_post: #{e}" end ``` diff --git a/docs/ConversationsMessage.md b/docs/ConversationsMessage.md index b94509e..eed4746 100644 --- a/docs/ConversationsMessage.md +++ b/docs/ConversationsMessage.md @@ -1,4 +1,4 @@ -# BrevoRuby::ConversationsMessage +# Brevo::ConversationsMessage ## Properties Name | Type | Description | Notes diff --git a/docs/ConversationsMessageFile.md b/docs/ConversationsMessageFile.md index da4981e..5c6390a 100644 --- a/docs/ConversationsMessageFile.md +++ b/docs/ConversationsMessageFile.md @@ -1,4 +1,4 @@ -# BrevoRuby::ConversationsMessageFile +# Brevo::ConversationsMessageFile ## Properties Name | Type | Description | Notes diff --git a/docs/ConversationsMessageFileImageInfo.md b/docs/ConversationsMessageFileImageInfo.md index d025d20..9dc5e80 100644 --- a/docs/ConversationsMessageFileImageInfo.md +++ b/docs/ConversationsMessageFileImageInfo.md @@ -1,4 +1,4 @@ -# BrevoRuby::ConversationsMessageFileImageInfo +# Brevo::ConversationsMessageFileImageInfo ## Properties Name | Type | Description | Notes diff --git a/docs/CouponsApi.md b/docs/CouponsApi.md index 04469d1..3754ccc 100644 --- a/docs/CouponsApi.md +++ b/docs/CouponsApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::CouponsApi +# Brevo::CouponsApi All URIs are relative to *https://api.brevo.com/v3* @@ -19,9 +19,9 @@ Create а coupon collection ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -33,16 +33,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::CouponsApi.new +api_instance = Brevo::CouponsApi.new -create_coupon_collection = BrevoRuby::CreateCouponCollection.new # CreateCouponCollection | Values to create a coupon collection +create_coupon_collection = Brevo::CreateCouponCollection.new # CreateCouponCollection | Values to create a coupon collection begin #Create а coupon collection result = api_instance.create_coupon_collection(create_coupon_collection) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling CouponsApi->create_coupon_collection: #{e}" end ``` @@ -76,9 +76,9 @@ Create coupons for a coupon collection ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -90,15 +90,15 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::CouponsApi.new +api_instance = Brevo::CouponsApi.new -create_coupons = BrevoRuby::CreateCoupons.new # CreateCoupons | Values to create coupons +create_coupons = Brevo::CreateCoupons.new # CreateCoupons | Values to create coupons begin #Create coupons for a coupon collection api_instance.create_coupons(create_coupons) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling CouponsApi->create_coupons: #{e}" end ``` @@ -132,9 +132,9 @@ Get a coupon collection by id ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -146,7 +146,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::CouponsApi.new +api_instance = Brevo::CouponsApi.new id = 'id_example' # String | Id of the collection to return @@ -155,7 +155,7 @@ begin #Get a coupon collection by id result = api_instance.get_coupon_collection(id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling CouponsApi->get_coupon_collection: #{e}" end ``` @@ -189,9 +189,9 @@ Get all your coupon collections ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -203,7 +203,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::CouponsApi.new +api_instance = Brevo::CouponsApi.new opts = { limit: 50, # Integer | Number of documents returned per page @@ -215,7 +215,7 @@ begin #Get all your coupon collections result = api_instance.get_coupon_collections(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling CouponsApi->get_coupon_collections: #{e}" end ``` @@ -251,9 +251,9 @@ Update a coupon collection by id ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -265,18 +265,18 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::CouponsApi.new +api_instance = Brevo::CouponsApi.new id = 'id_example' # String | Id of the collection to update -update_coupon_collection = BrevoRuby::UpdateCouponCollection.new # UpdateCouponCollection | Values to update the coupon collection +update_coupon_collection = Brevo::UpdateCouponCollection.new # UpdateCouponCollection | Values to update the coupon collection begin #Update a coupon collection by id result = api_instance.update_coupon_collection(id, update_coupon_collection) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling CouponsApi->update_coupon_collection: #{e}" end ``` diff --git a/docs/CreateApiKeyRequest.md b/docs/CreateApiKeyRequest.md index dd60302..e2a00f9 100644 --- a/docs/CreateApiKeyRequest.md +++ b/docs/CreateApiKeyRequest.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateApiKeyRequest +# Brevo::CreateApiKeyRequest ## Properties Name | Type | Description | Notes diff --git a/docs/CreateApiKeyResponse.md b/docs/CreateApiKeyResponse.md index 672f480..149c631 100644 --- a/docs/CreateApiKeyResponse.md +++ b/docs/CreateApiKeyResponse.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateApiKeyResponse +# Brevo::CreateApiKeyResponse ## Properties Name | Type | Description | Notes diff --git a/docs/CreateAttribute.md b/docs/CreateAttribute.md index c2035a3..ce7cde9 100644 --- a/docs/CreateAttribute.md +++ b/docs/CreateAttribute.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateAttribute +# Brevo::CreateAttribute ## Properties Name | Type | Description | Notes diff --git a/docs/CreateAttributeEnumeration.md b/docs/CreateAttributeEnumeration.md index 490664e..f594b0c 100644 --- a/docs/CreateAttributeEnumeration.md +++ b/docs/CreateAttributeEnumeration.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateAttributeEnumeration +# Brevo::CreateAttributeEnumeration ## Properties Name | Type | Description | Notes diff --git a/docs/CreateCategoryModel.md b/docs/CreateCategoryModel.md index 7b2ac92..c6c68cf 100644 --- a/docs/CreateCategoryModel.md +++ b/docs/CreateCategoryModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateCategoryModel +# Brevo::CreateCategoryModel ## Properties Name | Type | Description | Notes diff --git a/docs/CreateChild.md b/docs/CreateChild.md index c02cc55..626e776 100644 --- a/docs/CreateChild.md +++ b/docs/CreateChild.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateChild +# Brevo::CreateChild ## Properties Name | Type | Description | Notes diff --git a/docs/CreateContact.md b/docs/CreateContact.md index ce54a10..ea63df9 100644 --- a/docs/CreateContact.md +++ b/docs/CreateContact.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateContact +# Brevo::CreateContact ## Properties Name | Type | Description | Notes diff --git a/docs/CreateCouponCollection.md b/docs/CreateCouponCollection.md index 9bc6809..196a4c8 100644 --- a/docs/CreateCouponCollection.md +++ b/docs/CreateCouponCollection.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateCouponCollection +# Brevo::CreateCouponCollection ## Properties Name | Type | Description | Notes diff --git a/docs/CreateCoupons.md b/docs/CreateCoupons.md index 94e3b08..490966b 100644 --- a/docs/CreateCoupons.md +++ b/docs/CreateCoupons.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateCoupons +# Brevo::CreateCoupons ## Properties Name | Type | Description | Notes diff --git a/docs/CreateDoiContact.md b/docs/CreateDoiContact.md index 3cb03da..a59bece 100644 --- a/docs/CreateDoiContact.md +++ b/docs/CreateDoiContact.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateDoiContact +# Brevo::CreateDoiContact ## Properties Name | Type | Description | Notes diff --git a/docs/CreateDomain.md b/docs/CreateDomain.md index 5c4fb0e..360026f 100644 --- a/docs/CreateDomain.md +++ b/docs/CreateDomain.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateDomain +# Brevo::CreateDomain ## Properties Name | Type | Description | Notes diff --git a/docs/CreateDomainModel.md b/docs/CreateDomainModel.md index 118288a..0927244 100644 --- a/docs/CreateDomainModel.md +++ b/docs/CreateDomainModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateDomainModel +# Brevo::CreateDomainModel ## Properties Name | Type | Description | Notes diff --git a/docs/CreateDomainModelDnsRecords.md b/docs/CreateDomainModelDnsRecords.md index c4244bf..3841a70 100644 --- a/docs/CreateDomainModelDnsRecords.md +++ b/docs/CreateDomainModelDnsRecords.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateDomainModelDnsRecords +# Brevo::CreateDomainModelDnsRecords ## Properties Name | Type | Description | Notes diff --git a/docs/CreateDomainModelDnsRecordsDkimRecord.md b/docs/CreateDomainModelDnsRecordsDkimRecord.md index bb05d49..d805fa3 100644 --- a/docs/CreateDomainModelDnsRecordsDkimRecord.md +++ b/docs/CreateDomainModelDnsRecordsDkimRecord.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateDomainModelDnsRecordsDkimRecord +# Brevo::CreateDomainModelDnsRecordsDkimRecord ## Properties Name | Type | Description | Notes diff --git a/docs/CreateEmailCampaign.md b/docs/CreateEmailCampaign.md index ba32ee8..13a4ece 100644 --- a/docs/CreateEmailCampaign.md +++ b/docs/CreateEmailCampaign.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateEmailCampaign +# Brevo::CreateEmailCampaign ## Properties Name | Type | Description | Notes @@ -11,6 +11,7 @@ Name | Type | Description | Notes **template_id** | **Integer** | Mandatory if htmlContent and htmlUrl are empty. Id of the transactional email template with status 'active'. Used to copy only its content fetched from htmlContent/htmlUrl to an email campaign for RSS feature. | [optional] **scheduled_at** | **String** | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional] **subject** | **String** | Subject of the campaign. Mandatory if abTesting is false. Ignored if abTesting is true. | [optional] +**preview_text** | **String** | Preview text or preheader of the email campaign | [optional] **reply_to** | **String** | Email on which the campaign recipients will be able to reply to | [optional] **to_field** | **String** | To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your Brevo account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization | [optional] **recipients** | [**CreateEmailCampaignRecipients**](CreateEmailCampaignRecipients.md) | | [optional] diff --git a/docs/CreateEmailCampaignRecipients.md b/docs/CreateEmailCampaignRecipients.md index 50d884c..159d61d 100644 --- a/docs/CreateEmailCampaignRecipients.md +++ b/docs/CreateEmailCampaignRecipients.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateEmailCampaignRecipients +# Brevo::CreateEmailCampaignRecipients ## Properties Name | Type | Description | Notes diff --git a/docs/CreateEmailCampaignSender.md b/docs/CreateEmailCampaignSender.md index 1facfa7..53222f2 100644 --- a/docs/CreateEmailCampaignSender.md +++ b/docs/CreateEmailCampaignSender.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateEmailCampaignSender +# Brevo::CreateEmailCampaignSender ## Properties Name | Type | Description | Notes diff --git a/docs/CreateExternalFeed.md b/docs/CreateExternalFeed.md index 7c0aa83..b7b0121 100644 --- a/docs/CreateExternalFeed.md +++ b/docs/CreateExternalFeed.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateExternalFeed +# Brevo::CreateExternalFeed ## Properties Name | Type | Description | Notes diff --git a/docs/CreateList.md b/docs/CreateList.md index 7789556..4c41831 100644 --- a/docs/CreateList.md +++ b/docs/CreateList.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateList +# Brevo::CreateList ## Properties Name | Type | Description | Notes diff --git a/docs/CreateModel.md b/docs/CreateModel.md index 7693bd0..6387f4f 100644 --- a/docs/CreateModel.md +++ b/docs/CreateModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateModel +# Brevo::CreateModel ## Properties Name | Type | Description | Notes diff --git a/docs/CreateProductModel.md b/docs/CreateProductModel.md index 4ef4bea..9e59319 100644 --- a/docs/CreateProductModel.md +++ b/docs/CreateProductModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateProductModel +# Brevo::CreateProductModel ## Properties Name | Type | Description | Notes diff --git a/docs/CreateReseller.md b/docs/CreateReseller.md index 636d811..999ffae 100644 --- a/docs/CreateReseller.md +++ b/docs/CreateReseller.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateReseller +# Brevo::CreateReseller ## Properties Name | Type | Description | Notes diff --git a/docs/CreateSender.md b/docs/CreateSender.md index 3082d95..c709227 100644 --- a/docs/CreateSender.md +++ b/docs/CreateSender.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateSender +# Brevo::CreateSender ## Properties Name | Type | Description | Notes diff --git a/docs/CreateSenderIps.md b/docs/CreateSenderIps.md index b119246..19507cc 100644 --- a/docs/CreateSenderIps.md +++ b/docs/CreateSenderIps.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateSenderIps +# Brevo::CreateSenderIps ## Properties Name | Type | Description | Notes diff --git a/docs/CreateSenderModel.md b/docs/CreateSenderModel.md index 7e26d56..4f17863 100644 --- a/docs/CreateSenderModel.md +++ b/docs/CreateSenderModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateSenderModel +# Brevo::CreateSenderModel ## Properties Name | Type | Description | Notes diff --git a/docs/CreateSmsCampaign.md b/docs/CreateSmsCampaign.md index 6fdde13..29884d3 100644 --- a/docs/CreateSmsCampaign.md +++ b/docs/CreateSmsCampaign.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateSmsCampaign +# Brevo::CreateSmsCampaign ## Properties Name | Type | Description | Notes diff --git a/docs/CreateSmsCampaignRecipients.md b/docs/CreateSmsCampaignRecipients.md index a2dd859..312c62f 100644 --- a/docs/CreateSmsCampaignRecipients.md +++ b/docs/CreateSmsCampaignRecipients.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateSmsCampaignRecipients +# Brevo::CreateSmsCampaignRecipients ## Properties Name | Type | Description | Notes diff --git a/docs/CreateSmtpEmail.md b/docs/CreateSmtpEmail.md index e16425d..7f7d406 100644 --- a/docs/CreateSmtpEmail.md +++ b/docs/CreateSmtpEmail.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateSmtpEmail +# Brevo::CreateSmtpEmail ## Properties Name | Type | Description | Notes diff --git a/docs/CreateSmtpTemplate.md b/docs/CreateSmtpTemplate.md index b694b3d..4215936 100644 --- a/docs/CreateSmtpTemplate.md +++ b/docs/CreateSmtpTemplate.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateSmtpTemplate +# Brevo::CreateSmtpTemplate ## Properties Name | Type | Description | Notes diff --git a/docs/CreateSmtpTemplateSender.md b/docs/CreateSmtpTemplateSender.md index e0e2308..06ddde9 100644 --- a/docs/CreateSmtpTemplateSender.md +++ b/docs/CreateSmtpTemplateSender.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateSmtpTemplateSender +# Brevo::CreateSmtpTemplateSender ## Properties Name | Type | Description | Notes diff --git a/docs/CreateSubAccount.md b/docs/CreateSubAccount.md index be37cf0..753654b 100644 --- a/docs/CreateSubAccount.md +++ b/docs/CreateSubAccount.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateSubAccount +# Brevo::CreateSubAccount ## Properties Name | Type | Description | Notes diff --git a/docs/CreateSubAccountResponse.md b/docs/CreateSubAccountResponse.md index be7f6e8..e0ec405 100644 --- a/docs/CreateSubAccountResponse.md +++ b/docs/CreateSubAccountResponse.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateSubAccountResponse +# Brevo::CreateSubAccountResponse ## Properties Name | Type | Description | Notes diff --git a/docs/CreateUpdateBatchCategory.md b/docs/CreateUpdateBatchCategory.md index 7def8a3..6338eef 100644 --- a/docs/CreateUpdateBatchCategory.md +++ b/docs/CreateUpdateBatchCategory.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateUpdateBatchCategory +# Brevo::CreateUpdateBatchCategory ## Properties Name | Type | Description | Notes diff --git a/docs/CreateUpdateBatchCategoryModel.md b/docs/CreateUpdateBatchCategoryModel.md index 45eac1e..0ad2d81 100644 --- a/docs/CreateUpdateBatchCategoryModel.md +++ b/docs/CreateUpdateBatchCategoryModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateUpdateBatchCategoryModel +# Brevo::CreateUpdateBatchCategoryModel ## Properties Name | Type | Description | Notes diff --git a/docs/CreateUpdateBatchProducts.md b/docs/CreateUpdateBatchProducts.md index fc62f8e..2c1ea8e 100644 --- a/docs/CreateUpdateBatchProducts.md +++ b/docs/CreateUpdateBatchProducts.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateUpdateBatchProducts +# Brevo::CreateUpdateBatchProducts ## Properties Name | Type | Description | Notes diff --git a/docs/CreateUpdateBatchProductsModel.md b/docs/CreateUpdateBatchProductsModel.md index 6301df94..82f1c16 100644 --- a/docs/CreateUpdateBatchProductsModel.md +++ b/docs/CreateUpdateBatchProductsModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateUpdateBatchProductsModel +# Brevo::CreateUpdateBatchProductsModel ## Properties Name | Type | Description | Notes diff --git a/docs/CreateUpdateCategories.md b/docs/CreateUpdateCategories.md index d85cb66..439c950 100644 --- a/docs/CreateUpdateCategories.md +++ b/docs/CreateUpdateCategories.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateUpdateCategories +# Brevo::CreateUpdateCategories ## Properties Name | Type | Description | Notes diff --git a/docs/CreateUpdateCategory.md b/docs/CreateUpdateCategory.md index e764ec5..39104c4 100644 --- a/docs/CreateUpdateCategory.md +++ b/docs/CreateUpdateCategory.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateUpdateCategory +# Brevo::CreateUpdateCategory ## Properties Name | Type | Description | Notes diff --git a/docs/CreateUpdateContactModel.md b/docs/CreateUpdateContactModel.md index 37b2d05..8ed27c9 100644 --- a/docs/CreateUpdateContactModel.md +++ b/docs/CreateUpdateContactModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateUpdateContactModel +# Brevo::CreateUpdateContactModel ## Properties Name | Type | Description | Notes diff --git a/docs/CreateUpdateFolder.md b/docs/CreateUpdateFolder.md index c983581..78c7d98 100644 --- a/docs/CreateUpdateFolder.md +++ b/docs/CreateUpdateFolder.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateUpdateFolder +# Brevo::CreateUpdateFolder ## Properties Name | Type | Description | Notes diff --git a/docs/CreateUpdateProduct.md b/docs/CreateUpdateProduct.md index 04cf86a..2907999 100644 --- a/docs/CreateUpdateProduct.md +++ b/docs/CreateUpdateProduct.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateUpdateProduct +# Brevo::CreateUpdateProduct ## Properties Name | Type | Description | Notes diff --git a/docs/CreateUpdateProducts.md b/docs/CreateUpdateProducts.md index d1a30a0..75268a7 100644 --- a/docs/CreateUpdateProducts.md +++ b/docs/CreateUpdateProducts.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateUpdateProducts +# Brevo::CreateUpdateProducts ## Properties Name | Type | Description | Notes diff --git a/docs/CreateWebhook.md b/docs/CreateWebhook.md index 019f294..7d39e81 100644 --- a/docs/CreateWebhook.md +++ b/docs/CreateWebhook.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateWebhook +# Brevo::CreateWebhook ## Properties Name | Type | Description | Notes diff --git a/docs/CreateWhatsAppCampaign.md b/docs/CreateWhatsAppCampaign.md index 991cb25..a400f40 100644 --- a/docs/CreateWhatsAppCampaign.md +++ b/docs/CreateWhatsAppCampaign.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateWhatsAppCampaign +# Brevo::CreateWhatsAppCampaign ## Properties Name | Type | Description | Notes diff --git a/docs/CreateWhatsAppCampaignRecipients.md b/docs/CreateWhatsAppCampaignRecipients.md index 0e0c848..4344764 100644 --- a/docs/CreateWhatsAppCampaignRecipients.md +++ b/docs/CreateWhatsAppCampaignRecipients.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreateWhatsAppCampaignRecipients +# Brevo::CreateWhatsAppCampaignRecipients ## Properties Name | Type | Description | Notes diff --git a/docs/CreateWhatsAppTemplate.md b/docs/CreateWhatsAppTemplate.md index 0aae977..13f9f10 100644 --- a/docs/CreateWhatsAppTemplate.md +++ b/docs/CreateWhatsAppTemplate.md @@ -1,10 +1,10 @@ -# BrevoRuby::CreateWhatsAppTemplate +# Brevo::CreateWhatsAppTemplate ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of the template | -**language** | **String** | Language of the template. For Example : **en** for English | +**language** | **String** | Language of the template. For Example : **en** for English | **category** | **String** | Category of the template | **media_url** | **String** | Absolute url of the media file **(no local file)** for the header. **Use this field in you want to add media in Template header and headerText is empty.** Allowed extensions for media files are: #### jpeg | png | mp4 | pdf | [optional] **body_text** | **String** | Body of the template. **Maximum allowed characters are 1024** | diff --git a/docs/CreatedBatchId.md b/docs/CreatedBatchId.md index 9d3d470..6fe19a0 100644 --- a/docs/CreatedBatchId.md +++ b/docs/CreatedBatchId.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreatedBatchId +# Brevo::CreatedBatchId ## Properties Name | Type | Description | Notes diff --git a/docs/CreatedProcessId.md b/docs/CreatedProcessId.md index 6877df2..eca9953 100644 --- a/docs/CreatedProcessId.md +++ b/docs/CreatedProcessId.md @@ -1,4 +1,4 @@ -# BrevoRuby::CreatedProcessId +# Brevo::CreatedProcessId ## Properties Name | Type | Description | Notes diff --git a/docs/Deal.md b/docs/Deal.md index af89d47..00162e4 100644 --- a/docs/Deal.md +++ b/docs/Deal.md @@ -1,4 +1,4 @@ -# BrevoRuby::Deal +# Brevo::Deal ## Properties Name | Type | Description | Notes diff --git a/docs/DealAttributes.md b/docs/DealAttributes.md index 62330ef..e275c27 100644 --- a/docs/DealAttributes.md +++ b/docs/DealAttributes.md @@ -1,4 +1,4 @@ -# BrevoRuby::DealAttributes +# Brevo::DealAttributes ## Properties Name | Type | Description | Notes diff --git a/docs/DealAttributesInner.md b/docs/DealAttributesInner.md index 4e17be9..89869ff 100644 --- a/docs/DealAttributesInner.md +++ b/docs/DealAttributesInner.md @@ -1,4 +1,4 @@ -# BrevoRuby::DealAttributesInner +# Brevo::DealAttributesInner ## Properties Name | Type | Description | Notes diff --git a/docs/DealsApi.md b/docs/DealsApi.md index 9841a89..9b7dd47 100644 --- a/docs/DealsApi.md +++ b/docs/DealsApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::DealsApi +# Brevo::DealsApi All URIs are relative to *https://api.brevo.com/v3* @@ -11,8 +11,9 @@ Method | HTTP request | Description [**crm_deals_id_patch**](DealsApi.md#crm_deals_id_patch) | **PATCH** /crm/deals/{id} | Update a deal [**crm_deals_link_unlink_id_patch**](DealsApi.md#crm_deals_link_unlink_id_patch) | **PATCH** /crm/deals/link-unlink/{id} | Link and Unlink a deal with contacts and companies [**crm_deals_post**](DealsApi.md#crm_deals_post) | **POST** /crm/deals | Create a deal +[**crm_pipeline_details_all_get**](DealsApi.md#crm_pipeline_details_all_get) | **GET** /crm/pipeline/details/all | Get all pipelines [**crm_pipeline_details_get**](DealsApi.md#crm_pipeline_details_get) | **GET** /crm/pipeline/details | Get pipeline stages -[**crm_pipeline_details_pipeline_id_get**](DealsApi.md#crm_pipeline_details_pipeline_id_get) | **GET** /crm/pipeline/details/{pipelineID} | Get pipelines and their details +[**crm_pipeline_details_pipeline_id_get**](DealsApi.md#crm_pipeline_details_pipeline_id_get) | **GET** /crm/pipeline/details/{pipelineID} | Get a pipeline # **crm_attributes_deals_get** @@ -23,9 +24,9 @@ Get deal attributes ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -37,13 +38,13 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DealsApi.new +api_instance = Brevo::DealsApi.new begin #Get deal attributes result = api_instance.crm_attributes_deals_get p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DealsApi->crm_attributes_deals_get: #{e}" end ``` @@ -74,9 +75,9 @@ Get all deals ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -88,10 +89,10 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DealsApi.new +api_instance = Brevo::DealsApi.new opts = { - filters_attributes: 'filters_attributes_example', # String | Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" + filters_attributes_deal_name: 'filters_attributes_deal_name_example', # String | Filter by attributes. If you have filter for owner on your side please send it as `filters[attributes.deal_owner]`.\" filters_linked_companies_ids: 'filters_linked_companies_ids_example', # String | Filter by linked companies ids filters_linked_contacts_ids: 'filters_linked_contacts_ids_example', # String | Filter by linked companies ids offset: 789, # Integer | Index of the first document of the page @@ -104,7 +105,7 @@ begin #Get all deals result = api_instance.crm_deals_get(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DealsApi->crm_deals_get: #{e}" end ``` @@ -113,7 +114,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filters_attributes** | **String**| Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" | [optional] + **filters_attributes_deal_name** | **String**| Filter by attributes. If you have filter for owner on your side please send it as `filters[attributes.deal_owner]`.\" | [optional] **filters_linked_companies_ids** | **String**| Filter by linked companies ids | [optional] **filters_linked_contacts_ids** | **String**| Filter by linked companies ids | [optional] **offset** | **Integer**| Index of the first document of the page | [optional] @@ -144,9 +145,9 @@ Delete a deal ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -158,7 +159,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DealsApi.new +api_instance = Brevo::DealsApi.new id = 'id_example' # String | @@ -166,7 +167,7 @@ id = 'id_example' # String | begin #Delete a deal api_instance.crm_deals_id_delete(id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DealsApi->crm_deals_id_delete: #{e}" end ``` @@ -200,9 +201,9 @@ Get a deal ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -214,7 +215,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DealsApi.new +api_instance = Brevo::DealsApi.new id = 'id_example' # String | @@ -223,7 +224,7 @@ begin #Get a deal result = api_instance.crm_deals_id_get(id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DealsApi->crm_deals_id_get: #{e}" end ``` @@ -257,9 +258,9 @@ Update a deal ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -271,17 +272,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DealsApi.new +api_instance = Brevo::DealsApi.new id = 'id_example' # String | -body = BrevoRuby::Body4.new # Body4 | Updated deal details. +body = Brevo::Body4.new # Body4 | Updated deal details. begin #Update a deal api_instance.crm_deals_id_patch(id, body) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DealsApi->crm_deals_id_patch: #{e}" end ``` @@ -316,9 +317,9 @@ Link and Unlink a deal with contacts and companies ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -330,17 +331,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DealsApi.new +api_instance = Brevo::DealsApi.new id = 'id_example' # String | -body = BrevoRuby::Body5.new # Body5 | Linked / Unlinked contacts and companies ids. +body = Brevo::Body5.new # Body5 | Linked / Unlinked contacts and companies ids. begin #Link and Unlink a deal with contacts and companies api_instance.crm_deals_link_unlink_id_patch(id, body) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DealsApi->crm_deals_link_unlink_id_patch: #{e}" end ``` @@ -375,9 +376,9 @@ Create a deal ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -389,16 +390,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DealsApi.new +api_instance = Brevo::DealsApi.new -body = BrevoRuby::Body3.new # Body3 | Deal create data. +body = Brevo::Body3.new # Body3 | Deal create data. begin #Create a deal result = api_instance.crm_deals_post(body) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DealsApi->crm_deals_post: #{e}" end ``` @@ -424,6 +425,57 @@ Name | Type | Description | Notes +# **crm_pipeline_details_all_get** +> Pipelines crm_pipeline_details_all_get + +Get all pipelines + +### Example +```ruby +# load the gem +require 'brevo' +# setup authorization +Brevo.configure do |config| + # Configure API key authorization: api-key + config.api_key['api-key'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['api-key'] = 'Bearer' + + # Configure API key authorization: partner-key + config.api_key['partner-key'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['partner-key'] = 'Bearer' +end + +api_instance = Brevo::DealsApi.new + +begin + #Get all pipelines + result = api_instance.crm_pipeline_details_all_get + p result +rescue Brevo::ApiError => e + puts "Exception when calling DealsApi->crm_pipeline_details_all_get: #{e}" +end +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**Pipelines**](Pipelines.md) + +### Authorization + +[api-key](../README.md#api-key), [partner-key](../README.md#partner-key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + + # **crm_pipeline_details_get** > Pipeline crm_pipeline_details_get @@ -434,9 +486,9 @@ This endpoint is deprecated. Prefer /crm/pipeline/details/{pipelineID} instead. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -448,13 +500,13 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DealsApi.new +api_instance = Brevo::DealsApi.new begin #Get pipeline stages result = api_instance.crm_pipeline_details_get p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DealsApi->crm_pipeline_details_get: #{e}" end ``` @@ -480,14 +532,14 @@ This endpoint does not need any parameter. # **crm_pipeline_details_pipeline_id_get** > Pipelines crm_pipeline_details_pipeline_id_get(pipeline_id) -Get pipelines and their details +Get a pipeline ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -499,16 +551,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DealsApi.new +api_instance = Brevo::DealsApi.new -pipeline_id = 'pipeline_id_example' # String | Gets the pipeline details with given pipelineID and all if no pipeline provided +pipeline_id = 'pipeline_id_example' # String | begin - #Get pipelines and their details + #Get a pipeline result = api_instance.crm_pipeline_details_pipeline_id_get(pipeline_id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DealsApi->crm_pipeline_details_pipeline_id_get: #{e}" end ``` @@ -517,7 +569,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pipeline_id** | **String**| Gets the pipeline details with given pipelineID and all if no pipeline provided | + **pipeline_id** | **String**| | ### Return type diff --git a/docs/DealsList.md b/docs/DealsList.md index cda44c1..147c1a1 100644 --- a/docs/DealsList.md +++ b/docs/DealsList.md @@ -1,4 +1,4 @@ -# BrevoRuby::DealsList +# Brevo::DealsList ## Properties Name | Type | Description | Notes diff --git a/docs/DeleteHardbounces.md b/docs/DeleteHardbounces.md index a8aa913..392451d 100644 --- a/docs/DeleteHardbounces.md +++ b/docs/DeleteHardbounces.md @@ -1,4 +1,4 @@ -# BrevoRuby::DeleteHardbounces +# Brevo::DeleteHardbounces ## Properties Name | Type | Description | Notes diff --git a/docs/DomainsApi.md b/docs/DomainsApi.md index 3cef610..73ba77c 100644 --- a/docs/DomainsApi.md +++ b/docs/DomainsApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::DomainsApi +# Brevo::DomainsApi All URIs are relative to *https://api.brevo.com/v3* @@ -19,9 +19,9 @@ Authenticate a domain ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -33,7 +33,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DomainsApi.new +api_instance = Brevo::DomainsApi.new domain_name = 'domain_name_example' # String | Domain name @@ -42,7 +42,7 @@ begin #Authenticate a domain result = api_instance.authenticate_domain(domain_name) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DomainsApi->authenticate_domain: #{e}" end ``` @@ -76,9 +76,9 @@ Create a new domain ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -90,17 +90,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DomainsApi.new +api_instance = Brevo::DomainsApi.new opts = { - domain_name: BrevoRuby::CreateDomain.new # CreateDomain | domain's name + domain_name: Brevo::CreateDomain.new # CreateDomain | domain's name } begin #Create a new domain result = api_instance.create_domain(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DomainsApi->create_domain: #{e}" end ``` @@ -134,9 +134,9 @@ Delete a domain ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -148,7 +148,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DomainsApi.new +api_instance = Brevo::DomainsApi.new domain_name = 'domain_name_example' # String | Domain name @@ -156,7 +156,7 @@ domain_name = 'domain_name_example' # String | Domain name begin #Delete a domain api_instance.delete_domain(domain_name) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DomainsApi->delete_domain: #{e}" end ``` @@ -190,9 +190,9 @@ Validate domain configuration ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -204,7 +204,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DomainsApi.new +api_instance = Brevo::DomainsApi.new domain_name = 'domain_name_example' # String | Domain name @@ -213,7 +213,7 @@ begin #Validate domain configuration result = api_instance.get_domain_configuration(domain_name) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DomainsApi->get_domain_configuration: #{e}" end ``` @@ -247,9 +247,9 @@ Get the list of all your domains ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -261,13 +261,13 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::DomainsApi.new +api_instance = Brevo::DomainsApi.new begin #Get the list of all your domains result = api_instance.get_domains p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling DomainsApi->get_domains: #{e}" end ``` diff --git a/docs/EcommerceApi.md b/docs/EcommerceApi.md index 5e2923a..f8575be 100644 --- a/docs/EcommerceApi.md +++ b/docs/EcommerceApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::EcommerceApi +# Brevo::EcommerceApi All URIs are relative to *https://api.brevo.com/v3* @@ -27,9 +27,9 @@ Create multiple orders at one time instead of one order at a time ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -41,15 +41,15 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EcommerceApi.new +api_instance = Brevo::EcommerceApi.new -order_batch = BrevoRuby::OrderBatch.new # OrderBatch | +order_batch = Brevo::OrderBatch.new # OrderBatch | begin #Create orders in batch api_instance.create_batch_order(order_batch) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EcommerceApi->create_batch_order: #{e}" end ``` @@ -85,9 +85,9 @@ Manages the transactional status of the order ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -99,15 +99,15 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EcommerceApi.new +api_instance = Brevo::EcommerceApi.new -order = BrevoRuby::Order.new # Order | +order = Brevo::Order.new # Order | begin #Managing the status of the order api_instance.create_order(order) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EcommerceApi->create_order: #{e}" end ``` @@ -141,9 +141,9 @@ Create categories in batch ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -155,16 +155,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EcommerceApi.new +api_instance = Brevo::EcommerceApi.new -create_update_batch_category = BrevoRuby::CreateUpdateBatchCategory.new # CreateUpdateBatchCategory | Values to create a batch of categories +create_update_batch_category = Brevo::CreateUpdateBatchCategory.new # CreateUpdateBatchCategory | Values to create a batch of categories begin #Create categories in batch result = api_instance.create_update_batch_category(create_update_batch_category) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EcommerceApi->create_update_batch_category: #{e}" end ``` @@ -198,9 +198,9 @@ Create products in batch ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -212,16 +212,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EcommerceApi.new +api_instance = Brevo::EcommerceApi.new -create_update_batch_products = BrevoRuby::CreateUpdateBatchProducts.new # CreateUpdateBatchProducts | Values to create a batch of products +create_update_batch_products = Brevo::CreateUpdateBatchProducts.new # CreateUpdateBatchProducts | Values to create a batch of products begin #Create products in batch result = api_instance.create_update_batch_products(create_update_batch_products) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EcommerceApi->create_update_batch_products: #{e}" end ``` @@ -255,9 +255,9 @@ Create/Update a category ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -269,16 +269,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EcommerceApi.new +api_instance = Brevo::EcommerceApi.new -create_update_category = BrevoRuby::CreateUpdateCategory.new # CreateUpdateCategory | Values to create/update a category +create_update_category = Brevo::CreateUpdateCategory.new # CreateUpdateCategory | Values to create/update a category begin #Create/Update a category result = api_instance.create_update_category(create_update_category) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EcommerceApi->create_update_category: #{e}" end ``` @@ -312,9 +312,9 @@ Create/Update a product ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -326,16 +326,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EcommerceApi.new +api_instance = Brevo::EcommerceApi.new -create_update_product = BrevoRuby::CreateUpdateProduct.new # CreateUpdateProduct | Values to create/update a product +create_update_product = Brevo::CreateUpdateProduct.new # CreateUpdateProduct | Values to create/update a product begin #Create/Update a product result = api_instance.create_update_product(create_update_product) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EcommerceApi->create_update_product: #{e}" end ``` @@ -371,9 +371,9 @@ Getting access to Brevo eCommerce. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -385,12 +385,12 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EcommerceApi.new +api_instance = Brevo::EcommerceApi.new begin #Activate the eCommerce app api_instance.ecommerce_activate_post -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EcommerceApi->ecommerce_activate_post: #{e}" end ``` @@ -421,9 +421,9 @@ Return all your categories ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -435,7 +435,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EcommerceApi.new +api_instance = Brevo::EcommerceApi.new opts = { limit: 50, # Integer | Number of documents per page @@ -449,7 +449,7 @@ begin #Return all your categories result = api_instance.get_categories(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EcommerceApi->get_categories: #{e}" end ``` @@ -487,9 +487,9 @@ Get a category details ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -501,7 +501,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EcommerceApi.new +api_instance = Brevo::EcommerceApi.new id = 'id_example' # String | Category ID @@ -510,7 +510,7 @@ begin #Get a category details result = api_instance.get_category_info(id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EcommerceApi->get_category_info: #{e}" end ``` @@ -544,9 +544,9 @@ Get a product's details ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -558,7 +558,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EcommerceApi.new +api_instance = Brevo::EcommerceApi.new id = 'id_example' # String | Product ID @@ -567,7 +567,7 @@ begin #Get a product's details result = api_instance.get_product_info(id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EcommerceApi->get_product_info: #{e}" end ``` @@ -601,9 +601,9 @@ Return all your products ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -615,7 +615,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EcommerceApi.new +api_instance = Brevo::EcommerceApi.new opts = { limit: 50, # Integer | Number of documents per page @@ -636,7 +636,7 @@ begin #Return all your products result = api_instance.get_products(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EcommerceApi->get_products: #{e}" end ``` diff --git a/docs/EmailCampaignsApi.md b/docs/EmailCampaignsApi.md index 1fe5840..d00bdd6 100644 --- a/docs/EmailCampaignsApi.md +++ b/docs/EmailCampaignsApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::EmailCampaignsApi +# Brevo::EmailCampaignsApi All URIs are relative to *https://api.brevo.com/v3* @@ -27,9 +27,9 @@ Create an email campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -41,16 +41,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EmailCampaignsApi.new +api_instance = Brevo::EmailCampaignsApi.new -email_campaigns = BrevoRuby::CreateEmailCampaign.new # CreateEmailCampaign | Values to create a campaign +email_campaigns = Brevo::CreateEmailCampaign.new # CreateEmailCampaign | Values to create a campaign begin #Create an email campaign result = api_instance.create_email_campaign(email_campaigns) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EmailCampaignsApi->create_email_campaign: #{e}" end ``` @@ -84,9 +84,9 @@ Delete an email campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -98,7 +98,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EmailCampaignsApi.new +api_instance = Brevo::EmailCampaignsApi.new campaign_id = 789 # Integer | id of the campaign @@ -106,7 +106,7 @@ campaign_id = 789 # Integer | id of the campaign begin #Delete an email campaign api_instance.delete_email_campaign(campaign_id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EmailCampaignsApi->delete_email_campaign: #{e}" end ``` @@ -140,9 +140,9 @@ Export the recipients of an email campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -154,19 +154,19 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EmailCampaignsApi.new +api_instance = Brevo::EmailCampaignsApi.new campaign_id = 789 # Integer | Id of the campaign opts = { - recipient_export: BrevoRuby::EmailExportRecipients.new # EmailExportRecipients | Values to send for a recipient export request + recipient_export: Brevo::EmailExportRecipients.new # EmailExportRecipients | Values to send for a recipient export request } begin #Export the recipients of an email campaign result = api_instance.email_export_recipients(campaign_id, opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EmailCampaignsApi->email_export_recipients: #{e}" end ``` @@ -203,9 +203,9 @@ Obtain winning version of an A/B test email campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -217,7 +217,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EmailCampaignsApi.new +api_instance = Brevo::EmailCampaignsApi.new campaign_id = 789 # Integer | Id of the A/B test campaign @@ -226,7 +226,7 @@ begin #Get an A/B test email campaign results result = api_instance.get_ab_test_campaign_result(campaign_id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EmailCampaignsApi->get_ab_test_campaign_result: #{e}" end ``` @@ -260,9 +260,9 @@ Get an email campaign report ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -274,19 +274,20 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EmailCampaignsApi.new +api_instance = Brevo::EmailCampaignsApi.new campaign_id = 789 # Integer | Id of the campaign opts = { - 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. + 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. + utm_value: 'utm_value_example' # String | Get email campaign report on the basis of custom UTM Value.**You can use either campaignId or utmValue to fetch campaign report.To use utmValue filter pass campaignId as empty.** } begin #Get an email campaign report result = api_instance.get_email_campaign(campaign_id, opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EmailCampaignsApi->get_email_campaign: #{e}" end ``` @@ -297,6 +298,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaign_id** | **Integer**| 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] + **utm_value** | **String**| Get email campaign report on the basis of custom UTM Value.**You can use either campaignId or utmValue to fetch campaign report.To use utmValue filter pass campaignId as empty.** | [optional] ### Return type @@ -321,9 +323,9 @@ Return all your created email campaigns ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -335,7 +337,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EmailCampaignsApi.new +api_instance = Brevo::EmailCampaignsApi.new opts = { type: 'type_example', # String | Filter on the type of the campaigns @@ -353,7 +355,7 @@ begin #Return all your created email campaigns result = api_instance.get_email_campaigns(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EmailCampaignsApi->get_email_campaigns: #{e}" end ``` @@ -397,9 +399,9 @@ Get a unique URL to share & import an email template from one Brevo account to a ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -411,7 +413,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EmailCampaignsApi.new +api_instance = Brevo::EmailCampaignsApi.new campaign_id = 789 # Integer | Id of the campaign or template @@ -420,7 +422,7 @@ begin #Get a shared template url result = api_instance.get_shared_template_url(campaign_id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EmailCampaignsApi->get_shared_template_url: #{e}" end ``` @@ -454,9 +456,9 @@ Send an email campaign immediately, based on campaignId ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -468,7 +470,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EmailCampaignsApi.new +api_instance = Brevo::EmailCampaignsApi.new campaign_id = 789 # Integer | Id of the campaign @@ -476,7 +478,7 @@ campaign_id = 789 # Integer | Id of the campaign begin #Send an email campaign immediately, based on campaignId api_instance.send_email_campaign_now(campaign_id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EmailCampaignsApi->send_email_campaign_now: #{e}" end ``` @@ -512,9 +514,9 @@ A PDF will be sent to the specified email addresses ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -526,17 +528,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EmailCampaignsApi.new +api_instance = Brevo::EmailCampaignsApi.new campaign_id = 789 # Integer | Id of the campaign -send_report = BrevoRuby::SendReport.new # SendReport | Values for send a report +send_report = Brevo::SendReport.new # SendReport | Values for send a report begin #Send the report of a campaign api_instance.send_report(campaign_id, send_report) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EmailCampaignsApi->send_report: #{e}" end ``` @@ -571,9 +573,9 @@ Send an email campaign to your test list ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -585,17 +587,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EmailCampaignsApi.new +api_instance = Brevo::EmailCampaignsApi.new campaign_id = 789 # Integer | Id of the campaign -email_to = BrevoRuby::SendTestEmail.new # SendTestEmail | +email_to = Brevo::SendTestEmail.new # SendTestEmail | begin #Send an email campaign to your test list api_instance.send_test_email(campaign_id, email_to) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EmailCampaignsApi->send_test_email: #{e}" end ``` @@ -630,9 +632,9 @@ Update an email campaign status ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -644,17 +646,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EmailCampaignsApi.new +api_instance = Brevo::EmailCampaignsApi.new campaign_id = 789 # Integer | Id of the campaign -status = BrevoRuby::UpdateCampaignStatus.new # UpdateCampaignStatus | Status of the campaign +status = Brevo::UpdateCampaignStatus.new # UpdateCampaignStatus | Status of the campaign begin #Update an email campaign status api_instance.update_campaign_status(campaign_id, status) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EmailCampaignsApi->update_campaign_status: #{e}" end ``` @@ -689,9 +691,9 @@ Update an email campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -703,17 +705,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EmailCampaignsApi.new +api_instance = Brevo::EmailCampaignsApi.new campaign_id = 789 # Integer | Id of the campaign -email_campaign = BrevoRuby::UpdateEmailCampaign.new # UpdateEmailCampaign | Values to update a campaign +email_campaign = Brevo::UpdateEmailCampaign.new # UpdateEmailCampaign | Values to update a campaign begin #Update an email campaign api_instance.update_email_campaign(campaign_id, email_campaign) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EmailCampaignsApi->update_email_campaign: #{e}" end ``` @@ -748,9 +750,9 @@ Upload an image to your account's image gallery ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -762,16 +764,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::EmailCampaignsApi.new +api_instance = Brevo::EmailCampaignsApi.new -upload_image = BrevoRuby::UploadImageToGallery.new # UploadImageToGallery | Parameters to upload an image +upload_image = Brevo::UploadImageToGallery.new # UploadImageToGallery | Parameters to upload an image begin #Upload an image to your account's image gallery result = api_instance.upload_image_to_gallery(upload_image) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling EmailCampaignsApi->upload_image_to_gallery: #{e}" end ``` diff --git a/docs/EmailExportRecipients.md b/docs/EmailExportRecipients.md index 8551dae..d61de9e 100644 --- a/docs/EmailExportRecipients.md +++ b/docs/EmailExportRecipients.md @@ -1,4 +1,4 @@ -# BrevoRuby::EmailExportRecipients +# Brevo::EmailExportRecipients ## Properties Name | Type | Description | Notes diff --git a/docs/ErrorModel.md b/docs/ErrorModel.md index 5ef2dd6..efefa2b 100644 --- a/docs/ErrorModel.md +++ b/docs/ErrorModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::ErrorModel +# Brevo::ErrorModel ## Properties Name | Type | Description | Notes diff --git a/docs/ExportWebhooksHistory.md b/docs/ExportWebhooksHistory.md index d352902..db84f20 100644 --- a/docs/ExportWebhooksHistory.md +++ b/docs/ExportWebhooksHistory.md @@ -1,4 +1,4 @@ -# BrevoRuby::ExportWebhooksHistory +# Brevo::ExportWebhooksHistory ## Properties Name | Type | Description | Notes diff --git a/docs/ExternalFeedsApi.md b/docs/ExternalFeedsApi.md index 91ccbfc..adb10ac 100644 --- a/docs/ExternalFeedsApi.md +++ b/docs/ExternalFeedsApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::ExternalFeedsApi +# Brevo::ExternalFeedsApi All URIs are relative to *https://api.brevo.com/v3* @@ -21,9 +21,9 @@ This endpoint will create an external feed. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -35,16 +35,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ExternalFeedsApi.new +api_instance = Brevo::ExternalFeedsApi.new -create_external_feed = BrevoRuby::CreateExternalFeed.new # CreateExternalFeed | Values to create a feed +create_external_feed = Brevo::CreateExternalFeed.new # CreateExternalFeed | Values to create a feed begin #Create an external feed result = api_instance.create_external_feed(create_external_feed) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ExternalFeedsApi->create_external_feed: #{e}" end ``` @@ -80,9 +80,9 @@ This endpoint will delete an external feed. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -94,7 +94,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ExternalFeedsApi.new +api_instance = Brevo::ExternalFeedsApi.new uuid = 'uuid_example' # String | UUID of the feed to delete @@ -102,7 +102,7 @@ uuid = 'uuid_example' # String | UUID of the feed to delete begin #Delete an external feed api_instance.delete_external_feed(uuid) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ExternalFeedsApi->delete_external_feed: #{e}" end ``` @@ -138,9 +138,9 @@ This endpoint can fetch all created external feeds. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -152,7 +152,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ExternalFeedsApi.new +api_instance = Brevo::ExternalFeedsApi.new opts = { search: 'search_example', # String | Can be used to filter records by search keyword on feed name @@ -168,7 +168,7 @@ begin #Fetch all external feeds result = api_instance.get_all_external_feeds(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ExternalFeedsApi->get_all_external_feeds: #{e}" end ``` @@ -210,9 +210,9 @@ This endpoint will update an external feed. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -224,7 +224,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ExternalFeedsApi.new +api_instance = Brevo::ExternalFeedsApi.new uuid = 'uuid_example' # String | UUID of the feed to fetch @@ -233,7 +233,7 @@ begin #Get an external feed by UUID result = api_instance.get_external_feed_by_uuid(uuid) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ExternalFeedsApi->get_external_feed_by_uuid: #{e}" end ``` @@ -269,9 +269,9 @@ This endpoint will update an external feed. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -283,17 +283,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ExternalFeedsApi.new +api_instance = Brevo::ExternalFeedsApi.new uuid = 'uuid_example' # String | UUID of the feed to update -update_external_feed = BrevoRuby::UpdateExternalFeed.new # UpdateExternalFeed | Values to update a feed +update_external_feed = Brevo::UpdateExternalFeed.new # UpdateExternalFeed | Values to update a feed begin #Update an external feed api_instance.update_external_feed(uuid, update_external_feed) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ExternalFeedsApi->update_external_feed: #{e}" end ``` diff --git a/docs/FileData.md b/docs/FileData.md index b292494..5ad0861 100644 --- a/docs/FileData.md +++ b/docs/FileData.md @@ -1,4 +1,4 @@ -# BrevoRuby::FileData +# Brevo::FileData ## Properties Name | Type | Description | Notes diff --git a/docs/FileDownloadableLink.md b/docs/FileDownloadableLink.md index 76beb9f..70112b5 100644 --- a/docs/FileDownloadableLink.md +++ b/docs/FileDownloadableLink.md @@ -1,4 +1,4 @@ -# BrevoRuby::FileDownloadableLink +# Brevo::FileDownloadableLink ## Properties Name | Type | Description | Notes diff --git a/docs/FileList.md b/docs/FileList.md index 4accf0e..1e24762 100644 --- a/docs/FileList.md +++ b/docs/FileList.md @@ -1,4 +1,4 @@ -# BrevoRuby::FileList +# Brevo::FileList ## Properties Name | Type | Description | Notes diff --git a/docs/FilesApi.md b/docs/FilesApi.md index da33075..4df1197 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::FilesApi +# Brevo::FilesApi All URIs are relative to *https://api.brevo.com/v3* @@ -19,9 +19,9 @@ Get all files ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -33,7 +33,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::FilesApi.new +api_instance = Brevo::FilesApi.new opts = { entity: 'entity_example', # String | Filter by file entity type @@ -49,7 +49,7 @@ begin #Get all files result = api_instance.crm_files_get(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling FilesApi->crm_files_get: #{e}" end ``` @@ -89,9 +89,9 @@ Get file details ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -103,7 +103,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::FilesApi.new +api_instance = Brevo::FilesApi.new id = 'id_example' # String | File id to get file data. @@ -112,7 +112,7 @@ begin #Get file details result = api_instance.crm_files_id_data_get(id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling FilesApi->crm_files_id_data_get: #{e}" end ``` @@ -146,9 +146,9 @@ Delete a file ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -160,7 +160,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::FilesApi.new +api_instance = Brevo::FilesApi.new id = 'id_example' # String | File id to delete. @@ -168,7 +168,7 @@ id = 'id_example' # String | File id to delete. begin #Delete a file api_instance.crm_files_id_delete(id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling FilesApi->crm_files_id_delete: #{e}" end ``` @@ -202,9 +202,9 @@ Download a file ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -216,7 +216,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::FilesApi.new +api_instance = Brevo::FilesApi.new id = 'id_example' # String | File id to download. @@ -225,7 +225,7 @@ begin #Download a file result = api_instance.crm_files_id_get(id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling FilesApi->crm_files_id_get: #{e}" end ``` @@ -259,9 +259,9 @@ Upload a file ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -273,7 +273,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::FilesApi.new +api_instance = Brevo::FilesApi.new file = File.new('/path/to/file.txt') # File | File data to create a file. @@ -287,7 +287,7 @@ begin #Upload a file result = api_instance.crm_files_post(file, opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling FilesApi->crm_files_post: #{e}" end ``` diff --git a/docs/GetAccount.md b/docs/GetAccount.md index 3283e9d..2d68b81 100644 --- a/docs/GetAccount.md +++ b/docs/GetAccount.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetAccount +# Brevo::GetAccount ## Properties Name | Type | Description | Notes diff --git a/docs/GetAccountActivity.md b/docs/GetAccountActivity.md index 2d13320..091879c 100644 --- a/docs/GetAccountActivity.md +++ b/docs/GetAccountActivity.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetAccountActivity +# Brevo::GetAccountActivity ## Properties Name | Type | Description | Notes diff --git a/docs/GetAccountActivityLogs.md b/docs/GetAccountActivityLogs.md index 3078839..d4fbb7f 100644 --- a/docs/GetAccountActivityLogs.md +++ b/docs/GetAccountActivityLogs.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetAccountActivityLogs +# Brevo::GetAccountActivityLogs ## Properties Name | Type | Description | Notes diff --git a/docs/GetAccountMarketingAutomation.md b/docs/GetAccountMarketingAutomation.md index bbbdfbc..b23c11a 100644 --- a/docs/GetAccountMarketingAutomation.md +++ b/docs/GetAccountMarketingAutomation.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetAccountMarketingAutomation +# Brevo::GetAccountMarketingAutomation ## Properties Name | Type | Description | Notes diff --git a/docs/GetAccountPlan.md b/docs/GetAccountPlan.md index 2321fd5..e7616a6 100644 --- a/docs/GetAccountPlan.md +++ b/docs/GetAccountPlan.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetAccountPlan +# Brevo::GetAccountPlan ## Properties Name | Type | Description | Notes diff --git a/docs/GetAccountRelay.md b/docs/GetAccountRelay.md index 4c6db42..e9c9fa7 100644 --- a/docs/GetAccountRelay.md +++ b/docs/GetAccountRelay.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetAccountRelay +# Brevo::GetAccountRelay ## Properties Name | Type | Description | Notes diff --git a/docs/GetAccountRelayData.md b/docs/GetAccountRelayData.md index 0f21f60..9405948 100644 --- a/docs/GetAccountRelayData.md +++ b/docs/GetAccountRelayData.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetAccountRelayData +# Brevo::GetAccountRelayData ## Properties Name | Type | Description | Notes diff --git a/docs/GetAggregatedReport.md b/docs/GetAggregatedReport.md index 3bc19d1..60672a8 100644 --- a/docs/GetAggregatedReport.md +++ b/docs/GetAggregatedReport.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetAggregatedReport +# Brevo::GetAggregatedReport ## Properties Name | Type | Description | Notes diff --git a/docs/GetAllExternalFeeds.md b/docs/GetAllExternalFeeds.md index fe0d34a..968fe04 100644 --- a/docs/GetAllExternalFeeds.md +++ b/docs/GetAllExternalFeeds.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetAllExternalFeeds +# Brevo::GetAllExternalFeeds ## Properties Name | Type | Description | Notes diff --git a/docs/GetAllExternalFeedsFeeds.md b/docs/GetAllExternalFeedsFeeds.md index f49290f..537c51a 100644 --- a/docs/GetAllExternalFeedsFeeds.md +++ b/docs/GetAllExternalFeedsFeeds.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetAllExternalFeedsFeeds +# Brevo::GetAllExternalFeedsFeeds ## Properties Name | Type | Description | Notes diff --git a/docs/GetAttributes.md b/docs/GetAttributes.md index 335724b..20a383a 100644 --- a/docs/GetAttributes.md +++ b/docs/GetAttributes.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetAttributes +# Brevo::GetAttributes ## Properties Name | Type | Description | Notes diff --git a/docs/GetAttributesAttributes.md b/docs/GetAttributesAttributes.md index e9ea236..0bccebd 100644 --- a/docs/GetAttributesAttributes.md +++ b/docs/GetAttributesAttributes.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetAttributesAttributes +# Brevo::GetAttributesAttributes ## Properties Name | Type | Description | Notes diff --git a/docs/GetAttributesEnumeration.md b/docs/GetAttributesEnumeration.md index 505afc9..fe22d28 100644 --- a/docs/GetAttributesEnumeration.md +++ b/docs/GetAttributesEnumeration.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetAttributesEnumeration +# Brevo::GetAttributesEnumeration ## Properties Name | Type | Description | Notes diff --git a/docs/GetBlockedDomains.md b/docs/GetBlockedDomains.md index 3d2b953..aa970c3 100644 --- a/docs/GetBlockedDomains.md +++ b/docs/GetBlockedDomains.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetBlockedDomains +# Brevo::GetBlockedDomains ## Properties Name | Type | Description | Notes diff --git a/docs/GetCampaignOverview.md b/docs/GetCampaignOverview.md index a9c627e..2664a7a 100644 --- a/docs/GetCampaignOverview.md +++ b/docs/GetCampaignOverview.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetCampaignOverview +# Brevo::GetCampaignOverview ## Properties Name | Type | Description | Notes @@ -6,6 +6,7 @@ Name | Type | Description | Notes **id** | **Integer** | ID of the campaign | **name** | **String** | Name of the campaign | **subject** | **String** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional] +**preview_text** | **String** | Preview text or preheader of the email campaign | [optional] **type** | **String** | Type of campaign | **status** | **String** | Status of the campaign | **scheduled_at** | **String** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] diff --git a/docs/GetCampaignRecipients.md b/docs/GetCampaignRecipients.md index 43aa6b5..04800d7 100644 --- a/docs/GetCampaignRecipients.md +++ b/docs/GetCampaignRecipients.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetCampaignRecipients +# Brevo::GetCampaignRecipients ## Properties Name | Type | Description | Notes diff --git a/docs/GetCampaignStats.md b/docs/GetCampaignStats.md index 858c02e..da866cd 100644 --- a/docs/GetCampaignStats.md +++ b/docs/GetCampaignStats.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetCampaignStats +# Brevo::GetCampaignStats ## Properties Name | Type | Description | Notes diff --git a/docs/GetCategories.md b/docs/GetCategories.md index aa27653..78d6fff 100644 --- a/docs/GetCategories.md +++ b/docs/GetCategories.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetCategories +# Brevo::GetCategories ## Properties Name | Type | Description | Notes diff --git a/docs/GetCategoryDetails.md b/docs/GetCategoryDetails.md index 7adfaab..2409eb4 100644 --- a/docs/GetCategoryDetails.md +++ b/docs/GetCategoryDetails.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetCategoryDetails +# Brevo::GetCategoryDetails ## Properties Name | Type | Description | Notes diff --git a/docs/GetChildAccountCreationStatus.md b/docs/GetChildAccountCreationStatus.md index 98d5d25..8e853a2 100644 --- a/docs/GetChildAccountCreationStatus.md +++ b/docs/GetChildAccountCreationStatus.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetChildAccountCreationStatus +# Brevo::GetChildAccountCreationStatus ## Properties Name | Type | Description | Notes diff --git a/docs/GetChildDomain.md b/docs/GetChildDomain.md index 31f3ccb..330956f 100644 --- a/docs/GetChildDomain.md +++ b/docs/GetChildDomain.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetChildDomain +# Brevo::GetChildDomain ## Properties Name | Type | Description | Notes diff --git a/docs/GetChildDomains.md b/docs/GetChildDomains.md index c614652..540d574 100644 --- a/docs/GetChildDomains.md +++ b/docs/GetChildDomains.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetChildDomains +# Brevo::GetChildDomains ## Properties Name | Type | Description | Notes diff --git a/docs/GetChildInfo.md b/docs/GetChildInfo.md index d6d4648..e72abff 100644 --- a/docs/GetChildInfo.md +++ b/docs/GetChildInfo.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetChildInfo +# Brevo::GetChildInfo ## Properties Name | Type | Description | Notes diff --git a/docs/GetChildInfoApiKeys.md b/docs/GetChildInfoApiKeys.md index 449f661..08f84fd 100644 --- a/docs/GetChildInfoApiKeys.md +++ b/docs/GetChildInfoApiKeys.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetChildInfoApiKeys +# Brevo::GetChildInfoApiKeys ## Properties Name | Type | Description | Notes diff --git a/docs/GetChildInfoApiKeysV2.md b/docs/GetChildInfoApiKeysV2.md index 0b0a0f9..89ce641 100644 --- a/docs/GetChildInfoApiKeysV2.md +++ b/docs/GetChildInfoApiKeysV2.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetChildInfoApiKeysV2 +# Brevo::GetChildInfoApiKeysV2 ## Properties Name | Type | Description | Notes diff --git a/docs/GetChildInfoApiKeysV3.md b/docs/GetChildInfoApiKeysV3.md index 8c3f372..7f4a102 100644 --- a/docs/GetChildInfoApiKeysV3.md +++ b/docs/GetChildInfoApiKeysV3.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetChildInfoApiKeysV3 +# Brevo::GetChildInfoApiKeysV3 ## Properties Name | Type | Description | Notes diff --git a/docs/GetChildInfoCredits.md b/docs/GetChildInfoCredits.md index 879a3d4..9296159 100644 --- a/docs/GetChildInfoCredits.md +++ b/docs/GetChildInfoCredits.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetChildInfoCredits +# Brevo::GetChildInfoCredits ## Properties Name | Type | Description | Notes diff --git a/docs/GetChildInfoStatistics.md b/docs/GetChildInfoStatistics.md index 4b24862..ac13e3d 100644 --- a/docs/GetChildInfoStatistics.md +++ b/docs/GetChildInfoStatistics.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetChildInfoStatistics +# Brevo::GetChildInfoStatistics ## Properties Name | Type | Description | Notes diff --git a/docs/GetChildrenList.md b/docs/GetChildrenList.md index e193a38..029e0cb 100644 --- a/docs/GetChildrenList.md +++ b/docs/GetChildrenList.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetChildrenList +# Brevo::GetChildrenList ## Properties Name | Type | Description | Notes diff --git a/docs/GetClient.md b/docs/GetClient.md index 86ae25e..e31eb01 100644 --- a/docs/GetClient.md +++ b/docs/GetClient.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetClient +# Brevo::GetClient ## Properties Name | Type | Description | Notes diff --git a/docs/GetContactCampaignStats.md b/docs/GetContactCampaignStats.md index 718a265..252846f 100644 --- a/docs/GetContactCampaignStats.md +++ b/docs/GetContactCampaignStats.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetContactCampaignStats +# Brevo::GetContactCampaignStats ## Properties Name | Type | Description | Notes diff --git a/docs/GetContactCampaignStatsClicked.md b/docs/GetContactCampaignStatsClicked.md index c51cdb8..8988e4a 100644 --- a/docs/GetContactCampaignStatsClicked.md +++ b/docs/GetContactCampaignStatsClicked.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetContactCampaignStatsClicked +# Brevo::GetContactCampaignStatsClicked ## Properties Name | Type | Description | Notes diff --git a/docs/GetContactCampaignStatsOpened.md b/docs/GetContactCampaignStatsOpened.md index 123b9e9..3ab7223 100644 --- a/docs/GetContactCampaignStatsOpened.md +++ b/docs/GetContactCampaignStatsOpened.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetContactCampaignStatsOpened +# Brevo::GetContactCampaignStatsOpened ## Properties Name | Type | Description | Notes diff --git a/docs/GetContactCampaignStatsTransacAttributes.md b/docs/GetContactCampaignStatsTransacAttributes.md index 6f41a66..894ea97 100644 --- a/docs/GetContactCampaignStatsTransacAttributes.md +++ b/docs/GetContactCampaignStatsTransacAttributes.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetContactCampaignStatsTransacAttributes +# Brevo::GetContactCampaignStatsTransacAttributes ## Properties Name | Type | Description | Notes diff --git a/docs/GetContactCampaignStatsUnsubscriptions.md b/docs/GetContactCampaignStatsUnsubscriptions.md index b813dd5..6c58a9e 100644 --- a/docs/GetContactCampaignStatsUnsubscriptions.md +++ b/docs/GetContactCampaignStatsUnsubscriptions.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetContactCampaignStatsUnsubscriptions +# Brevo::GetContactCampaignStatsUnsubscriptions ## Properties Name | Type | Description | Notes diff --git a/docs/GetContactDetails.md b/docs/GetContactDetails.md index 5f9a7a1..56c182c 100644 --- a/docs/GetContactDetails.md +++ b/docs/GetContactDetails.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetContactDetails +# Brevo::GetContactDetails ## Properties Name | Type | Description | Notes diff --git a/docs/GetContacts.md b/docs/GetContacts.md index 23bc422..f068e2a 100644 --- a/docs/GetContacts.md +++ b/docs/GetContacts.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetContacts +# Brevo::GetContacts ## Properties Name | Type | Description | Notes diff --git a/docs/GetCouponCollection.md b/docs/GetCouponCollection.md index c9c3ef8..aba9800 100644 --- a/docs/GetCouponCollection.md +++ b/docs/GetCouponCollection.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetCouponCollection +# Brevo::GetCouponCollection ## Properties Name | Type | Description | Notes diff --git a/docs/GetDeviceBrowserStats.md b/docs/GetDeviceBrowserStats.md index 401cd6e..dc11a63 100644 --- a/docs/GetDeviceBrowserStats.md +++ b/docs/GetDeviceBrowserStats.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetDeviceBrowserStats +# Brevo::GetDeviceBrowserStats ## Properties Name | Type | Description | Notes diff --git a/docs/GetDomainConfigurationModel.md b/docs/GetDomainConfigurationModel.md index 36db7fd..4cbde82 100644 --- a/docs/GetDomainConfigurationModel.md +++ b/docs/GetDomainConfigurationModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetDomainConfigurationModel +# Brevo::GetDomainConfigurationModel ## Properties Name | Type | Description | Notes diff --git a/docs/GetDomainsList.md b/docs/GetDomainsList.md index 977a4d7..91d519e 100644 --- a/docs/GetDomainsList.md +++ b/docs/GetDomainsList.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetDomainsList +# Brevo::GetDomainsList ## Properties Name | Type | Description | Notes diff --git a/docs/GetDomainsListDomains.md b/docs/GetDomainsListDomains.md index a5eb7bb..4df77e5 100644 --- a/docs/GetDomainsListDomains.md +++ b/docs/GetDomainsListDomains.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetDomainsListDomains +# Brevo::GetDomainsListDomains ## Properties Name | Type | Description | Notes diff --git a/docs/GetEmailCampaign.md b/docs/GetEmailCampaign.md index a398214..a9d752c 100644 --- a/docs/GetEmailCampaign.md +++ b/docs/GetEmailCampaign.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetEmailCampaign +# Brevo::GetEmailCampaign ## Properties Name | Type | Description | Notes @@ -6,6 +6,7 @@ Name | Type | Description | Notes **id** | **Integer** | ID of the campaign | **name** | **String** | Name of the campaign | **subject** | **String** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional] +**preview_text** | **String** | Preview text or preheader of the email campaign | [optional] **type** | **String** | Type of campaign | **status** | **String** | Status of the campaign | **scheduled_at** | **String** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] diff --git a/docs/GetEmailCampaigns.md b/docs/GetEmailCampaigns.md index 41fd73d..1da2dec 100644 --- a/docs/GetEmailCampaigns.md +++ b/docs/GetEmailCampaigns.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetEmailCampaigns +# Brevo::GetEmailCampaigns ## Properties Name | Type | Description | Notes diff --git a/docs/GetEmailEventReport.md b/docs/GetEmailEventReport.md index 9ae849d..dc2844b 100644 --- a/docs/GetEmailEventReport.md +++ b/docs/GetEmailEventReport.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetEmailEventReport +# Brevo::GetEmailEventReport ## Properties Name | Type | Description | Notes diff --git a/docs/GetEmailEventReportEvents.md b/docs/GetEmailEventReportEvents.md index f1be9ab..473c195 100644 --- a/docs/GetEmailEventReportEvents.md +++ b/docs/GetEmailEventReportEvents.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetEmailEventReportEvents +# Brevo::GetEmailEventReportEvents ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedCampaignOverview.md b/docs/GetExtendedCampaignOverview.md index f8e1344..e62faa1 100644 --- a/docs/GetExtendedCampaignOverview.md +++ b/docs/GetExtendedCampaignOverview.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedCampaignOverview +# Brevo::GetExtendedCampaignOverview ## Properties Name | Type | Description | Notes @@ -6,6 +6,7 @@ Name | Type | Description | Notes **id** | **Integer** | ID of the campaign | **name** | **String** | Name of the campaign | **subject** | **String** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional] +**preview_text** | **String** | Preview text or preheader of the email campaign | [optional] **type** | **String** | Type of campaign | **status** | **String** | Status of the campaign | **scheduled_at** | **String** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] diff --git a/docs/GetExtendedCampaignOverviewSender.md b/docs/GetExtendedCampaignOverviewSender.md index 96384bf..476f125 100644 --- a/docs/GetExtendedCampaignOverviewSender.md +++ b/docs/GetExtendedCampaignOverviewSender.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedCampaignOverviewSender +# Brevo::GetExtendedCampaignOverviewSender ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedCampaignStats.md b/docs/GetExtendedCampaignStats.md index 050085c..f375faf 100644 --- a/docs/GetExtendedCampaignStats.md +++ b/docs/GetExtendedCampaignStats.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedCampaignStats +# Brevo::GetExtendedCampaignStats ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedCampaignStatsGlobalStats.md b/docs/GetExtendedCampaignStatsGlobalStats.md index caec9a1..4b16502 100644 --- a/docs/GetExtendedCampaignStatsGlobalStats.md +++ b/docs/GetExtendedCampaignStatsGlobalStats.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedCampaignStatsGlobalStats +# Brevo::GetExtendedCampaignStatsGlobalStats ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedClient.md b/docs/GetExtendedClient.md index f6c565b..4421433 100644 --- a/docs/GetExtendedClient.md +++ b/docs/GetExtendedClient.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedClient +# Brevo::GetExtendedClient ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedClientAddress.md b/docs/GetExtendedClientAddress.md index d798180..c76e402 100644 --- a/docs/GetExtendedClientAddress.md +++ b/docs/GetExtendedClientAddress.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedClientAddress +# Brevo::GetExtendedClientAddress ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedContactDetails.md b/docs/GetExtendedContactDetails.md index ba834af..eb8f615 100644 --- a/docs/GetExtendedContactDetails.md +++ b/docs/GetExtendedContactDetails.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedContactDetails +# Brevo::GetExtendedContactDetails ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedContactDetailsStatistics.md b/docs/GetExtendedContactDetailsStatistics.md index f47e770..2099fa1 100644 --- a/docs/GetExtendedContactDetailsStatistics.md +++ b/docs/GetExtendedContactDetailsStatistics.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedContactDetailsStatistics +# Brevo::GetExtendedContactDetailsStatistics ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedContactDetailsStatisticsClicked.md b/docs/GetExtendedContactDetailsStatisticsClicked.md index d490d05..b274502 100644 --- a/docs/GetExtendedContactDetailsStatisticsClicked.md +++ b/docs/GetExtendedContactDetailsStatisticsClicked.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedContactDetailsStatisticsClicked +# Brevo::GetExtendedContactDetailsStatisticsClicked ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedContactDetailsStatisticsDelivered.md b/docs/GetExtendedContactDetailsStatisticsDelivered.md index 5a0d6ad..df21fc5 100644 --- a/docs/GetExtendedContactDetailsStatisticsDelivered.md +++ b/docs/GetExtendedContactDetailsStatisticsDelivered.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedContactDetailsStatisticsDelivered +# Brevo::GetExtendedContactDetailsStatisticsDelivered ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedContactDetailsStatisticsLinks.md b/docs/GetExtendedContactDetailsStatisticsLinks.md index 9f99440..0b86f42 100644 --- a/docs/GetExtendedContactDetailsStatisticsLinks.md +++ b/docs/GetExtendedContactDetailsStatisticsLinks.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedContactDetailsStatisticsLinks +# Brevo::GetExtendedContactDetailsStatisticsLinks ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedContactDetailsStatisticsMessagesSent.md b/docs/GetExtendedContactDetailsStatisticsMessagesSent.md index 9310b05..5055403 100644 --- a/docs/GetExtendedContactDetailsStatisticsMessagesSent.md +++ b/docs/GetExtendedContactDetailsStatisticsMessagesSent.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedContactDetailsStatisticsMessagesSent +# Brevo::GetExtendedContactDetailsStatisticsMessagesSent ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedContactDetailsStatisticsOpened.md b/docs/GetExtendedContactDetailsStatisticsOpened.md index 971f5a2..4ca3f4f 100644 --- a/docs/GetExtendedContactDetailsStatisticsOpened.md +++ b/docs/GetExtendedContactDetailsStatisticsOpened.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedContactDetailsStatisticsOpened +# Brevo::GetExtendedContactDetailsStatisticsOpened ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedContactDetailsStatisticsUnsubscriptions.md b/docs/GetExtendedContactDetailsStatisticsUnsubscriptions.md index 49a9ae2..05f9b17 100644 --- a/docs/GetExtendedContactDetailsStatisticsUnsubscriptions.md +++ b/docs/GetExtendedContactDetailsStatisticsUnsubscriptions.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptions +# Brevo::GetExtendedContactDetailsStatisticsUnsubscriptions ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md index 72c936d..1332b11 100644 --- a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md +++ b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription +# Brevo::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md index 3069b0a..ca52084 100644 --- a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md +++ b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription +# Brevo::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedList.md b/docs/GetExtendedList.md index 47cb8a9..bcc42a6 100644 --- a/docs/GetExtendedList.md +++ b/docs/GetExtendedList.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedList +# Brevo::GetExtendedList ## Properties Name | Type | Description | Notes diff --git a/docs/GetExtendedListCampaignStats.md b/docs/GetExtendedListCampaignStats.md index 493508c..bd81890 100644 --- a/docs/GetExtendedListCampaignStats.md +++ b/docs/GetExtendedListCampaignStats.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExtendedListCampaignStats +# Brevo::GetExtendedListCampaignStats ## Properties Name | Type | Description | Notes diff --git a/docs/GetExternalFeedByUUID.md b/docs/GetExternalFeedByUUID.md index 25bac4c..12e198a 100644 --- a/docs/GetExternalFeedByUUID.md +++ b/docs/GetExternalFeedByUUID.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExternalFeedByUUID +# Brevo::GetExternalFeedByUUID ## Properties Name | Type | Description | Notes diff --git a/docs/GetExternalFeedByUUIDHeaders.md b/docs/GetExternalFeedByUUIDHeaders.md index 31557aa..49c5b23 100644 --- a/docs/GetExternalFeedByUUIDHeaders.md +++ b/docs/GetExternalFeedByUUIDHeaders.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetExternalFeedByUUIDHeaders +# Brevo::GetExternalFeedByUUIDHeaders ## Properties Name | Type | Description | Notes diff --git a/docs/GetFolder.md b/docs/GetFolder.md index b685c56..7187040 100644 --- a/docs/GetFolder.md +++ b/docs/GetFolder.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetFolder +# Brevo::GetFolder ## Properties Name | Type | Description | Notes diff --git a/docs/GetFolderLists.md b/docs/GetFolderLists.md index 5fb6fd8..f1b50c3 100644 --- a/docs/GetFolderLists.md +++ b/docs/GetFolderLists.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetFolderLists +# Brevo::GetFolderLists ## Properties Name | Type | Description | Notes diff --git a/docs/GetFolders.md b/docs/GetFolders.md index 5736d56..9dc96c8 100644 --- a/docs/GetFolders.md +++ b/docs/GetFolders.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetFolders +# Brevo::GetFolders ## Properties Name | Type | Description | Notes diff --git a/docs/GetInboundEmailEvents.md b/docs/GetInboundEmailEvents.md index d9a971e..fbbc29b 100644 --- a/docs/GetInboundEmailEvents.md +++ b/docs/GetInboundEmailEvents.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetInboundEmailEvents +# Brevo::GetInboundEmailEvents ## Properties Name | Type | Description | Notes diff --git a/docs/GetInboundEmailEventsByUuid.md b/docs/GetInboundEmailEventsByUuid.md index cc6ab23..9fe75e7 100644 --- a/docs/GetInboundEmailEventsByUuid.md +++ b/docs/GetInboundEmailEventsByUuid.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetInboundEmailEventsByUuid +# Brevo::GetInboundEmailEventsByUuid ## Properties Name | Type | Description | Notes diff --git a/docs/GetInboundEmailEventsByUuidAttachments.md b/docs/GetInboundEmailEventsByUuidAttachments.md index 2dcf640..d0a5e4c 100644 --- a/docs/GetInboundEmailEventsByUuidAttachments.md +++ b/docs/GetInboundEmailEventsByUuidAttachments.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetInboundEmailEventsByUuidAttachments +# Brevo::GetInboundEmailEventsByUuidAttachments ## Properties Name | Type | Description | Notes diff --git a/docs/GetInboundEmailEventsByUuidLogs.md b/docs/GetInboundEmailEventsByUuidLogs.md index f4c6f78..4c1af63 100644 --- a/docs/GetInboundEmailEventsByUuidLogs.md +++ b/docs/GetInboundEmailEventsByUuidLogs.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetInboundEmailEventsByUuidLogs +# Brevo::GetInboundEmailEventsByUuidLogs ## Properties Name | Type | Description | Notes diff --git a/docs/GetInboundEmailEventsEvents.md b/docs/GetInboundEmailEventsEvents.md index 40ded95..07721a4 100644 --- a/docs/GetInboundEmailEventsEvents.md +++ b/docs/GetInboundEmailEventsEvents.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetInboundEmailEventsEvents +# Brevo::GetInboundEmailEventsEvents ## Properties Name | Type | Description | Notes diff --git a/docs/GetInvitedUsersList.md b/docs/GetInvitedUsersList.md index d307753..47bc8b6 100644 --- a/docs/GetInvitedUsersList.md +++ b/docs/GetInvitedUsersList.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetInvitedUsersList +# Brevo::GetInvitedUsersList ## Properties Name | Type | Description | Notes diff --git a/docs/GetInvitedUsersListFeatureAccess.md b/docs/GetInvitedUsersListFeatureAccess.md index 4111096..fa37027 100644 --- a/docs/GetInvitedUsersListFeatureAccess.md +++ b/docs/GetInvitedUsersListFeatureAccess.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetInvitedUsersListFeatureAccess +# Brevo::GetInvitedUsersListFeatureAccess ## Properties Name | Type | Description | Notes diff --git a/docs/GetInvitedUsersListUsers.md b/docs/GetInvitedUsersListUsers.md index f86f8f7..ee3ae65 100644 --- a/docs/GetInvitedUsersListUsers.md +++ b/docs/GetInvitedUsersListUsers.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetInvitedUsersListUsers +# Brevo::GetInvitedUsersListUsers ## Properties Name | Type | Description | Notes diff --git a/docs/GetIp.md b/docs/GetIp.md index 05365c9..2bc2bf2 100644 --- a/docs/GetIp.md +++ b/docs/GetIp.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetIp +# Brevo::GetIp ## Properties Name | Type | Description | Notes diff --git a/docs/GetIpFromSender.md b/docs/GetIpFromSender.md index 70855f0..090efa7 100644 --- a/docs/GetIpFromSender.md +++ b/docs/GetIpFromSender.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetIpFromSender +# Brevo::GetIpFromSender ## Properties Name | Type | Description | Notes diff --git a/docs/GetIps.md b/docs/GetIps.md index caf310c..043a054 100644 --- a/docs/GetIps.md +++ b/docs/GetIps.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetIps +# Brevo::GetIps ## Properties Name | Type | Description | Notes diff --git a/docs/GetIpsFromSender.md b/docs/GetIpsFromSender.md index 48d8bd3..bf49435 100644 --- a/docs/GetIpsFromSender.md +++ b/docs/GetIpsFromSender.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetIpsFromSender +# Brevo::GetIpsFromSender ## Properties Name | Type | Description | Notes diff --git a/docs/GetList.md b/docs/GetList.md index 9f3358f..99d7424 100644 --- a/docs/GetList.md +++ b/docs/GetList.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetList +# Brevo::GetList ## Properties Name | Type | Description | Notes diff --git a/docs/GetLists.md b/docs/GetLists.md index a2addc8..a661d95 100644 --- a/docs/GetLists.md +++ b/docs/GetLists.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetLists +# Brevo::GetLists ## Properties Name | Type | Description | Notes diff --git a/docs/GetProcess.md b/docs/GetProcess.md index 8b7bafb..0eec349 100644 --- a/docs/GetProcess.md +++ b/docs/GetProcess.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetProcess +# Brevo::GetProcess ## Properties Name | Type | Description | Notes diff --git a/docs/GetProcesses.md b/docs/GetProcesses.md index e782ec3..31be800 100644 --- a/docs/GetProcesses.md +++ b/docs/GetProcesses.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetProcesses +# Brevo::GetProcesses ## Properties Name | Type | Description | Notes diff --git a/docs/GetProductDetails.md b/docs/GetProductDetails.md index 432fac2..3f9c8d1 100644 --- a/docs/GetProductDetails.md +++ b/docs/GetProductDetails.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetProductDetails +# Brevo::GetProductDetails ## Properties Name | Type | Description | Notes diff --git a/docs/GetProducts.md b/docs/GetProducts.md index 8d61f68..9169773 100644 --- a/docs/GetProducts.md +++ b/docs/GetProducts.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetProducts +# Brevo::GetProducts ## Properties Name | Type | Description | Notes diff --git a/docs/GetReports.md b/docs/GetReports.md index d4fa0ae..2c01b6a 100644 --- a/docs/GetReports.md +++ b/docs/GetReports.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetReports +# Brevo::GetReports ## Properties Name | Type | Description | Notes diff --git a/docs/GetReportsReports.md b/docs/GetReportsReports.md index 12b226e..f21706b 100644 --- a/docs/GetReportsReports.md +++ b/docs/GetReportsReports.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetReportsReports +# Brevo::GetReportsReports ## Properties Name | Type | Description | Notes diff --git a/docs/GetScheduledEmailByBatchId.md b/docs/GetScheduledEmailByBatchId.md index ed97f07..0aba685 100644 --- a/docs/GetScheduledEmailByBatchId.md +++ b/docs/GetScheduledEmailByBatchId.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetScheduledEmailByBatchId +# Brevo::GetScheduledEmailByBatchId ## Properties Name | Type | Description | Notes diff --git a/docs/GetScheduledEmailByBatchIdBatches.md b/docs/GetScheduledEmailByBatchIdBatches.md index a6d0d9d..f113589 100644 --- a/docs/GetScheduledEmailByBatchIdBatches.md +++ b/docs/GetScheduledEmailByBatchIdBatches.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetScheduledEmailByBatchIdBatches +# Brevo::GetScheduledEmailByBatchIdBatches ## Properties Name | Type | Description | Notes diff --git a/docs/GetScheduledEmailByMessageId.md b/docs/GetScheduledEmailByMessageId.md index a59ea41..38d18b3 100644 --- a/docs/GetScheduledEmailByMessageId.md +++ b/docs/GetScheduledEmailByMessageId.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetScheduledEmailByMessageId +# Brevo::GetScheduledEmailByMessageId ## Properties Name | Type | Description | Notes diff --git a/docs/GetSegments.md b/docs/GetSegments.md index dce0c60..4c11264 100644 --- a/docs/GetSegments.md +++ b/docs/GetSegments.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSegments +# Brevo::GetSegments ## Properties Name | Type | Description | Notes diff --git a/docs/GetSegmentsSegments.md b/docs/GetSegmentsSegments.md index 54e80da..e11b07b 100644 --- a/docs/GetSegmentsSegments.md +++ b/docs/GetSegmentsSegments.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSegmentsSegments +# Brevo::GetSegmentsSegments ## Properties Name | Type | Description | Notes diff --git a/docs/GetSendersList.md b/docs/GetSendersList.md index d3289c8..1f72131 100644 --- a/docs/GetSendersList.md +++ b/docs/GetSendersList.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSendersList +# Brevo::GetSendersList ## Properties Name | Type | Description | Notes diff --git a/docs/GetSendersListIps.md b/docs/GetSendersListIps.md index 2d5de49..3c0e512 100644 --- a/docs/GetSendersListIps.md +++ b/docs/GetSendersListIps.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSendersListIps +# Brevo::GetSendersListIps ## Properties Name | Type | Description | Notes diff --git a/docs/GetSendersListSenders.md b/docs/GetSendersListSenders.md index 6fb42f9..ba07c75 100644 --- a/docs/GetSendersListSenders.md +++ b/docs/GetSendersListSenders.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSendersListSenders +# Brevo::GetSendersListSenders ## Properties Name | Type | Description | Notes diff --git a/docs/GetSharedTemplateUrl.md b/docs/GetSharedTemplateUrl.md index 0f8add5..3ce3cd6 100644 --- a/docs/GetSharedTemplateUrl.md +++ b/docs/GetSharedTemplateUrl.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSharedTemplateUrl +# Brevo::GetSharedTemplateUrl ## Properties Name | Type | Description | Notes diff --git a/docs/GetSmsCampaign.md b/docs/GetSmsCampaign.md index f218e45..03b96d7 100644 --- a/docs/GetSmsCampaign.md +++ b/docs/GetSmsCampaign.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSmsCampaign +# Brevo::GetSmsCampaign ## Properties Name | Type | Description | Notes diff --git a/docs/GetSmsCampaignOverview.md b/docs/GetSmsCampaignOverview.md index 965bfbb..d645e1e 100644 --- a/docs/GetSmsCampaignOverview.md +++ b/docs/GetSmsCampaignOverview.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSmsCampaignOverview +# Brevo::GetSmsCampaignOverview ## Properties Name | Type | Description | Notes diff --git a/docs/GetSmsCampaignRecipients.md b/docs/GetSmsCampaignRecipients.md index d293cd7..b9be023 100644 --- a/docs/GetSmsCampaignRecipients.md +++ b/docs/GetSmsCampaignRecipients.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSmsCampaignRecipients +# Brevo::GetSmsCampaignRecipients ## Properties Name | Type | Description | Notes diff --git a/docs/GetSmsCampaignStats.md b/docs/GetSmsCampaignStats.md index 7a3ad36..73a55dd 100644 --- a/docs/GetSmsCampaignStats.md +++ b/docs/GetSmsCampaignStats.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSmsCampaignStats +# Brevo::GetSmsCampaignStats ## Properties Name | Type | Description | Notes diff --git a/docs/GetSmsCampaigns.md b/docs/GetSmsCampaigns.md index ce64c45..937a2df 100644 --- a/docs/GetSmsCampaigns.md +++ b/docs/GetSmsCampaigns.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSmsCampaigns +# Brevo::GetSmsCampaigns ## Properties Name | Type | Description | Notes diff --git a/docs/GetSmsEventReport.md b/docs/GetSmsEventReport.md index 073d3ae..7c0ede8 100644 --- a/docs/GetSmsEventReport.md +++ b/docs/GetSmsEventReport.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSmsEventReport +# Brevo::GetSmsEventReport ## Properties Name | Type | Description | Notes diff --git a/docs/GetSmsEventReportEvents.md b/docs/GetSmsEventReportEvents.md index b91d9f2..b940927 100644 --- a/docs/GetSmsEventReportEvents.md +++ b/docs/GetSmsEventReportEvents.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSmsEventReportEvents +# Brevo::GetSmsEventReportEvents ## Properties Name | Type | Description | Notes diff --git a/docs/GetSmtpTemplateOverview.md b/docs/GetSmtpTemplateOverview.md index a091979..2b44124 100644 --- a/docs/GetSmtpTemplateOverview.md +++ b/docs/GetSmtpTemplateOverview.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSmtpTemplateOverview +# Brevo::GetSmtpTemplateOverview ## Properties Name | Type | Description | Notes diff --git a/docs/GetSmtpTemplateOverviewSender.md b/docs/GetSmtpTemplateOverviewSender.md index 6248b40..b12e5ac 100644 --- a/docs/GetSmtpTemplateOverviewSender.md +++ b/docs/GetSmtpTemplateOverviewSender.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSmtpTemplateOverviewSender +# Brevo::GetSmtpTemplateOverviewSender ## Properties Name | Type | Description | Notes diff --git a/docs/GetSmtpTemplates.md b/docs/GetSmtpTemplates.md index 4721536..052ee0b 100644 --- a/docs/GetSmtpTemplates.md +++ b/docs/GetSmtpTemplates.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSmtpTemplates +# Brevo::GetSmtpTemplates ## Properties Name | Type | Description | Notes diff --git a/docs/GetSsoToken.md b/docs/GetSsoToken.md index 1b5a00b..2f06b74 100644 --- a/docs/GetSsoToken.md +++ b/docs/GetSsoToken.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetSsoToken +# Brevo::GetSsoToken ## Properties Name | Type | Description | Notes diff --git a/docs/GetStatsByBrowser.md b/docs/GetStatsByBrowser.md index e8ed0c8..03e8b8d 100644 --- a/docs/GetStatsByBrowser.md +++ b/docs/GetStatsByBrowser.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetStatsByBrowser +# Brevo::GetStatsByBrowser ## Properties Name | Type | Description | Notes diff --git a/docs/GetStatsByDevice.md b/docs/GetStatsByDevice.md index 70455f6..5649452 100644 --- a/docs/GetStatsByDevice.md +++ b/docs/GetStatsByDevice.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetStatsByDevice +# Brevo::GetStatsByDevice ## Properties Name | Type | Description | Notes diff --git a/docs/GetStatsByDomain.md b/docs/GetStatsByDomain.md index 8ff3e52..21b8b83 100644 --- a/docs/GetStatsByDomain.md +++ b/docs/GetStatsByDomain.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetStatsByDomain +# Brevo::GetStatsByDomain ## Properties Name | Type | Description | Notes diff --git a/docs/GetTransacAggregatedSmsReport.md b/docs/GetTransacAggregatedSmsReport.md index 4f4d071..3295f4f 100644 --- a/docs/GetTransacAggregatedSmsReport.md +++ b/docs/GetTransacAggregatedSmsReport.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetTransacAggregatedSmsReport +# Brevo::GetTransacAggregatedSmsReport ## Properties Name | Type | Description | Notes diff --git a/docs/GetTransacBlockedContacts.md b/docs/GetTransacBlockedContacts.md index e125166..355a1d0 100644 --- a/docs/GetTransacBlockedContacts.md +++ b/docs/GetTransacBlockedContacts.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetTransacBlockedContacts +# Brevo::GetTransacBlockedContacts ## Properties Name | Type | Description | Notes diff --git a/docs/GetTransacBlockedContactsContacts.md b/docs/GetTransacBlockedContactsContacts.md index b24d61e..4215ccf 100644 --- a/docs/GetTransacBlockedContactsContacts.md +++ b/docs/GetTransacBlockedContactsContacts.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetTransacBlockedContactsContacts +# Brevo::GetTransacBlockedContactsContacts ## Properties Name | Type | Description | Notes diff --git a/docs/GetTransacBlockedContactsReason.md b/docs/GetTransacBlockedContactsReason.md index 890d5b4..cb06549 100644 --- a/docs/GetTransacBlockedContactsReason.md +++ b/docs/GetTransacBlockedContactsReason.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetTransacBlockedContactsReason +# Brevo::GetTransacBlockedContactsReason ## Properties Name | Type | Description | Notes diff --git a/docs/GetTransacEmailContent.md b/docs/GetTransacEmailContent.md index 52c7f56..e3e1ddf 100644 --- a/docs/GetTransacEmailContent.md +++ b/docs/GetTransacEmailContent.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetTransacEmailContent +# Brevo::GetTransacEmailContent ## Properties Name | Type | Description | Notes diff --git a/docs/GetTransacEmailContentEvents.md b/docs/GetTransacEmailContentEvents.md index 54da276..a4bec91 100644 --- a/docs/GetTransacEmailContentEvents.md +++ b/docs/GetTransacEmailContentEvents.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetTransacEmailContentEvents +# Brevo::GetTransacEmailContentEvents ## Properties Name | Type | Description | Notes diff --git a/docs/GetTransacEmailsList.md b/docs/GetTransacEmailsList.md index 1afe81e..672b203 100644 --- a/docs/GetTransacEmailsList.md +++ b/docs/GetTransacEmailsList.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetTransacEmailsList +# Brevo::GetTransacEmailsList ## Properties Name | Type | Description | Notes diff --git a/docs/GetTransacEmailsListTransactionalEmails.md b/docs/GetTransacEmailsListTransactionalEmails.md index b31506a..812c3f1 100644 --- a/docs/GetTransacEmailsListTransactionalEmails.md +++ b/docs/GetTransacEmailsListTransactionalEmails.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetTransacEmailsListTransactionalEmails +# Brevo::GetTransacEmailsListTransactionalEmails ## Properties Name | Type | Description | Notes diff --git a/docs/GetTransacSmsReport.md b/docs/GetTransacSmsReport.md index 89ddb32..c4a79a2 100644 --- a/docs/GetTransacSmsReport.md +++ b/docs/GetTransacSmsReport.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetTransacSmsReport +# Brevo::GetTransacSmsReport ## Properties Name | Type | Description | Notes diff --git a/docs/GetTransacSmsReportReports.md b/docs/GetTransacSmsReportReports.md index 0645aa7..e450edd 100644 --- a/docs/GetTransacSmsReportReports.md +++ b/docs/GetTransacSmsReportReports.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetTransacSmsReportReports +# Brevo::GetTransacSmsReportReports ## Properties Name | Type | Description | Notes diff --git a/docs/GetUserPermission.md b/docs/GetUserPermission.md index 4e3e82a..be50a23 100644 --- a/docs/GetUserPermission.md +++ b/docs/GetUserPermission.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetUserPermission +# Brevo::GetUserPermission ## Properties Name | Type | Description | Notes diff --git a/docs/GetUserPermissionPrivileges.md b/docs/GetUserPermissionPrivileges.md index 52368fb..f2de066 100644 --- a/docs/GetUserPermissionPrivileges.md +++ b/docs/GetUserPermissionPrivileges.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetUserPermissionPrivileges +# Brevo::GetUserPermissionPrivileges ## Properties Name | Type | Description | Notes diff --git a/docs/GetWATemplates.md b/docs/GetWATemplates.md index 8ba9dda..4751ebf 100644 --- a/docs/GetWATemplates.md +++ b/docs/GetWATemplates.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetWATemplates +# Brevo::GetWATemplates ## Properties Name | Type | Description | Notes diff --git a/docs/GetWATemplatesTemplates.md b/docs/GetWATemplatesTemplates.md index 5942cf8..5120a9f 100644 --- a/docs/GetWATemplatesTemplates.md +++ b/docs/GetWATemplatesTemplates.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetWATemplatesTemplates +# Brevo::GetWATemplatesTemplates ## Properties Name | Type | Description | Notes diff --git a/docs/GetWebhook.md b/docs/GetWebhook.md index 33f34c5..c8b1df9 100644 --- a/docs/GetWebhook.md +++ b/docs/GetWebhook.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetWebhook +# Brevo::GetWebhook ## Properties Name | Type | Description | Notes diff --git a/docs/GetWebhooks.md b/docs/GetWebhooks.md index 9cdde28..38b8ac1 100644 --- a/docs/GetWebhooks.md +++ b/docs/GetWebhooks.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetWebhooks +# Brevo::GetWebhooks ## Properties Name | Type | Description | Notes diff --git a/docs/GetWhatsAppConfig.md b/docs/GetWhatsAppConfig.md index 5662a18..75d7f72 100644 --- a/docs/GetWhatsAppConfig.md +++ b/docs/GetWhatsAppConfig.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetWhatsAppConfig +# Brevo::GetWhatsAppConfig ## Properties Name | Type | Description | Notes diff --git a/docs/GetWhatsappCampaignOverview.md b/docs/GetWhatsappCampaignOverview.md index 0258023..e18d140 100644 --- a/docs/GetWhatsappCampaignOverview.md +++ b/docs/GetWhatsappCampaignOverview.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetWhatsappCampaignOverview +# Brevo::GetWhatsappCampaignOverview ## Properties Name | Type | Description | Notes diff --git a/docs/GetWhatsappCampaigns.md b/docs/GetWhatsappCampaigns.md index 291d36e..1115c27 100644 --- a/docs/GetWhatsappCampaigns.md +++ b/docs/GetWhatsappCampaigns.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetWhatsappCampaigns +# Brevo::GetWhatsappCampaigns ## Properties Name | Type | Description | Notes diff --git a/docs/GetWhatsappCampaignsCampaigns.md b/docs/GetWhatsappCampaignsCampaigns.md index 50d5973..f68d597 100644 --- a/docs/GetWhatsappCampaignsCampaigns.md +++ b/docs/GetWhatsappCampaignsCampaigns.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetWhatsappCampaignsCampaigns +# Brevo::GetWhatsappCampaignsCampaigns ## Properties Name | Type | Description | Notes diff --git a/docs/GetWhatsappEventReport.md b/docs/GetWhatsappEventReport.md index 9e6bce6..92ba002 100644 --- a/docs/GetWhatsappEventReport.md +++ b/docs/GetWhatsappEventReport.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetWhatsappEventReport +# Brevo::GetWhatsappEventReport ## Properties Name | Type | Description | Notes diff --git a/docs/GetWhatsappEventReportEvents.md b/docs/GetWhatsappEventReportEvents.md index 07a4743..31248a5 100644 --- a/docs/GetWhatsappEventReportEvents.md +++ b/docs/GetWhatsappEventReportEvents.md @@ -1,4 +1,4 @@ -# BrevoRuby::GetWhatsappEventReportEvents +# Brevo::GetWhatsappEventReportEvents ## Properties Name | Type | Description | Notes diff --git a/docs/InboundParsingApi.md b/docs/InboundParsingApi.md index a021052..41cda8c 100644 --- a/docs/InboundParsingApi.md +++ b/docs/InboundParsingApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::InboundParsingApi +# Brevo::InboundParsingApi All URIs are relative to *https://api.brevo.com/v3* @@ -19,9 +19,9 @@ This endpoint will retrieve inbound attachment with download token. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -33,7 +33,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::InboundParsingApi.new +api_instance = Brevo::InboundParsingApi.new download_token = 'download_token_example' # String | Token to fetch a particular attachment @@ -42,7 +42,7 @@ begin #Retrieve inbound attachment with download token. result = api_instance.get_inbound_email_attachment(download_token) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling InboundParsingApi->get_inbound_email_attachment: #{e}" end ``` @@ -78,9 +78,9 @@ This endpoint will show the list of all the events for the received emails. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -92,7 +92,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::InboundParsingApi.new +api_instance = Brevo::InboundParsingApi.new opts = { sender: 'sender_example', # String | Email address of the sender. @@ -107,7 +107,7 @@ begin #Get the list of all the events for the received emails. result = api_instance.get_inbound_email_events(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling InboundParsingApi->get_inbound_email_events: #{e}" end ``` @@ -148,9 +148,9 @@ This endpoint will show the list of all events history for one particular receiv ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -162,7 +162,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::InboundParsingApi.new +api_instance = Brevo::InboundParsingApi.new uuid = 'uuid_example' # String | UUID to fetch events specific to recieved email @@ -171,7 +171,7 @@ begin #Fetch all events history for one particular received email. result = api_instance.get_inbound_email_events_by_uuid(uuid) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling InboundParsingApi->get_inbound_email_events_by_uuid: #{e}" end ``` diff --git a/docs/InlineResponse200.md b/docs/InlineResponse200.md index fa5c87a..bb790ed 100644 --- a/docs/InlineResponse200.md +++ b/docs/InlineResponse200.md @@ -1,4 +1,4 @@ -# BrevoRuby::InlineResponse200 +# Brevo::InlineResponse200 ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2001.md b/docs/InlineResponse2001.md index b78a6c4..0189660 100644 --- a/docs/InlineResponse2001.md +++ b/docs/InlineResponse2001.md @@ -1,4 +1,4 @@ -# BrevoRuby::InlineResponse2001 +# Brevo::InlineResponse2001 ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse201.md b/docs/InlineResponse201.md index 107973a..c79a1e2 100644 --- a/docs/InlineResponse201.md +++ b/docs/InlineResponse201.md @@ -1,4 +1,4 @@ -# BrevoRuby::InlineResponse201 +# Brevo::InlineResponse201 ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2011.md b/docs/InlineResponse2011.md index 6d4e725..10cedb8 100644 --- a/docs/InlineResponse2011.md +++ b/docs/InlineResponse2011.md @@ -1,4 +1,4 @@ -# BrevoRuby::InlineResponse2011 +# Brevo::InlineResponse2011 ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2012.md b/docs/InlineResponse2012.md index e79a4d0..efa699e 100644 --- a/docs/InlineResponse2012.md +++ b/docs/InlineResponse2012.md @@ -1,4 +1,4 @@ -# BrevoRuby::InlineResponse2012 +# Brevo::InlineResponse2012 ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2013.md b/docs/InlineResponse2013.md index 6c971ae..f833e91 100644 --- a/docs/InlineResponse2013.md +++ b/docs/InlineResponse2013.md @@ -1,4 +1,4 @@ -# BrevoRuby::InlineResponse2013 +# Brevo::InlineResponse2013 ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2014.md b/docs/InlineResponse2014.md index 04aa53b..abc13c4 100644 --- a/docs/InlineResponse2014.md +++ b/docs/InlineResponse2014.md @@ -1,4 +1,4 @@ -# BrevoRuby::InlineResponse2014 +# Brevo::InlineResponse2014 ## Properties Name | Type | Description | Notes diff --git a/docs/ManageIp.md b/docs/ManageIp.md index cc24bf0..4e3efa5 100644 --- a/docs/ManageIp.md +++ b/docs/ManageIp.md @@ -1,4 +1,4 @@ -# BrevoRuby::ManageIp +# Brevo::ManageIp ## Properties Name | Type | Description | Notes diff --git a/docs/MasterAccountApi.md b/docs/MasterAccountApi.md index 4c5d0a8..1a5c2ac 100644 --- a/docs/MasterAccountApi.md +++ b/docs/MasterAccountApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::MasterAccountApi +# Brevo::MasterAccountApi All URIs are relative to *https://api.brevo.com/v3* @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**corporate_master_account_get**](MasterAccountApi.md#corporate_master_account_get) | **GET** /corporate/masterAccount | Get the details of requested master account [**corporate_sub_account_get**](MasterAccountApi.md#corporate_sub_account_get) | **GET** /corporate/subAccount | Get the list of all the sub-accounts of the master account. +[**corporate_sub_account_id_applications_toggle_put**](MasterAccountApi.md#corporate_sub_account_id_applications_toggle_put) | **PUT** /corporate/subAccount/{id}/applications/toggle | Enable/disable sub-account application(s) [**corporate_sub_account_id_delete**](MasterAccountApi.md#corporate_sub_account_id_delete) | **DELETE** /corporate/subAccount/{id} | Delete a sub-account [**corporate_sub_account_id_get**](MasterAccountApi.md#corporate_sub_account_id_get) | **GET** /corporate/subAccount/{id} | Get sub-account details [**corporate_sub_account_id_plan_put**](MasterAccountApi.md#corporate_sub_account_id_plan_put) | **PUT** /corporate/subAccount/{id}/plan | Update sub-account plan @@ -25,9 +26,9 @@ This endpoint will provide the details of the master account. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -39,13 +40,13 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::MasterAccountApi.new +api_instance = Brevo::MasterAccountApi.new begin #Get the details of requested master account result = api_instance.corporate_master_account_get p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling MasterAccountApi->corporate_master_account_get: #{e}" end ``` @@ -78,9 +79,9 @@ This endpoint will provide the list all the sub-accounts of the master account. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -92,7 +93,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::MasterAccountApi.new +api_instance = Brevo::MasterAccountApi.new offset = 56 # Integer | Index of the first sub-account in the page @@ -103,7 +104,7 @@ begin #Get the list of all the sub-accounts of the master account. result = api_instance.corporate_sub_account_get(offset, limit) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling MasterAccountApi->corporate_sub_account_get: #{e}" end ``` @@ -130,6 +131,67 @@ Name | Type | Description | Notes +# **corporate_sub_account_id_applications_toggle_put** +> corporate_sub_account_id_applications_toggle_put(id, toggle_applications) + +Enable/disable sub-account application(s) + +API endpoint for the Corporate owner to enable/disable applications on the sub-account + +### Example +```ruby +# load the gem +require 'brevo' +# setup authorization +Brevo.configure do |config| + # Configure API key authorization: api-key + config.api_key['api-key'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['api-key'] = 'Bearer' + + # Configure API key authorization: partner-key + config.api_key['partner-key'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['partner-key'] = 'Bearer' +end + +api_instance = Brevo::MasterAccountApi.new + +id = 789 # Integer | Id of the sub-account organization (mandatory) + +toggle_applications = Brevo::SubAccountAppsToggleRequest.new # SubAccountAppsToggleRequest | List of applications to activate or deactivate on a sub-account + + +begin + #Enable/disable sub-account application(s) + api_instance.corporate_sub_account_id_applications_toggle_put(id, toggle_applications) +rescue Brevo::ApiError => e + puts "Exception when calling MasterAccountApi->corporate_sub_account_id_applications_toggle_put: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **Integer**| Id of the sub-account organization (mandatory) | + **toggle_applications** | [**SubAccountAppsToggleRequest**](SubAccountAppsToggleRequest.md)| List of applications to activate or deactivate on a sub-account | + +### Return type + +nil (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 + + + # **corporate_sub_account_id_delete** > corporate_sub_account_id_delete(id) @@ -138,9 +200,9 @@ Delete a sub-account ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -152,7 +214,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::MasterAccountApi.new +api_instance = Brevo::MasterAccountApi.new id = 789 # Integer | Id of the sub-account organization to be deleted @@ -160,7 +222,7 @@ id = 789 # Integer | Id of the sub-account organization to be deleted begin #Delete a sub-account api_instance.corporate_sub_account_id_delete(id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling MasterAccountApi->corporate_sub_account_id_delete: #{e}" end ``` @@ -196,9 +258,9 @@ This endpoint will provide the details for the specified sub-account company ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -210,7 +272,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::MasterAccountApi.new +api_instance = Brevo::MasterAccountApi.new id = 789 # Integer | Id of the sub-account organization @@ -219,7 +281,7 @@ begin #Get sub-account details result = api_instance.corporate_sub_account_id_get(id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling MasterAccountApi->corporate_sub_account_id_get: #{e}" end ``` @@ -255,9 +317,9 @@ This endpoint will update the sub-account plan ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -269,17 +331,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::MasterAccountApi.new +api_instance = Brevo::MasterAccountApi.new id = 789 # Integer | Id of the sub-account organization -update_plan_details = BrevoRuby::SubAccountUpdatePlanRequest.new # SubAccountUpdatePlanRequest | Values to update a sub-account plan +update_plan_details = Brevo::SubAccountUpdatePlanRequest.new # SubAccountUpdatePlanRequest | Values to update a sub-account plan begin #Update sub-account plan api_instance.corporate_sub_account_id_plan_put(id, update_plan_details) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling MasterAccountApi->corporate_sub_account_id_plan_put: #{e}" end ``` @@ -316,9 +378,9 @@ This endpoint will generate an API v3 key for a sub account ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -330,16 +392,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::MasterAccountApi.new +api_instance = Brevo::MasterAccountApi.new -create_api_key_request = BrevoRuby::CreateApiKeyRequest.new # CreateApiKeyRequest | Values to generate API key for sub-account +create_api_key_request = Brevo::CreateApiKeyRequest.new # CreateApiKeyRequest | Values to generate API key for sub-account begin #Create an API key for a sub-account result = api_instance.corporate_sub_account_key_post(create_api_key_request) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling MasterAccountApi->corporate_sub_account_key_post: #{e}" end ``` @@ -375,9 +437,9 @@ This endpoint will create a new sub-account under a master account ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -389,16 +451,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::MasterAccountApi.new +api_instance = Brevo::MasterAccountApi.new -sub_account_create = BrevoRuby::CreateSubAccount.new # CreateSubAccount | values to create new sub-account +sub_account_create = Brevo::CreateSubAccount.new # CreateSubAccount | values to create new sub-account begin #Create a new sub-account under a master account. result = api_instance.corporate_sub_account_post(sub_account_create) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling MasterAccountApi->corporate_sub_account_post: #{e}" end ``` @@ -434,9 +496,9 @@ This endpoint generates an sso token to authenticate and access a sub-account of ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -448,16 +510,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::MasterAccountApi.new +api_instance = Brevo::MasterAccountApi.new -sso_token_request = BrevoRuby::SsoTokenRequest.new # SsoTokenRequest | Values to generate SSO token for sub-account +sso_token_request = Brevo::SsoTokenRequest.new # SsoTokenRequest | Values to generate SSO token for sub-account begin #Generate SSO token to access Brevo result = api_instance.corporate_sub_account_sso_token_post(sso_token_request) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling MasterAccountApi->corporate_sub_account_sso_token_post: #{e}" end ``` @@ -491,9 +553,9 @@ Get user activity logs ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -505,7 +567,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::MasterAccountApi.new +api_instance = Brevo::MasterAccountApi.new opts = { start_date: 'start_date_example', # String | Mandatory if endDate is used. Enter start date in UTC date (YYYY-MM-DD) format to filter the activity in your account. Maximum time period that can be selected is one month. Additionally, you can retrieve activity logs from the past 12 months from the date of your search. @@ -518,7 +580,7 @@ begin #Get user activity logs result = api_instance.get_account_activity(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling MasterAccountApi->get_account_activity: #{e}" end ``` diff --git a/docs/MasterDetailsResponse.md b/docs/MasterDetailsResponse.md index 0024db1..239872c 100644 --- a/docs/MasterDetailsResponse.md +++ b/docs/MasterDetailsResponse.md @@ -1,4 +1,4 @@ -# BrevoRuby::MasterDetailsResponse +# Brevo::MasterDetailsResponse ## Properties Name | Type | Description | Notes diff --git a/docs/MasterDetailsResponseBillingInfo.md b/docs/MasterDetailsResponseBillingInfo.md index a44891d..d52d7dc 100644 --- a/docs/MasterDetailsResponseBillingInfo.md +++ b/docs/MasterDetailsResponseBillingInfo.md @@ -1,4 +1,4 @@ -# BrevoRuby::MasterDetailsResponseBillingInfo +# Brevo::MasterDetailsResponseBillingInfo ## Properties Name | Type | Description | Notes diff --git a/docs/MasterDetailsResponseBillingInfoAddress.md b/docs/MasterDetailsResponseBillingInfoAddress.md index ba99cef..1397d70 100644 --- a/docs/MasterDetailsResponseBillingInfoAddress.md +++ b/docs/MasterDetailsResponseBillingInfoAddress.md @@ -1,4 +1,4 @@ -# BrevoRuby::MasterDetailsResponseBillingInfoAddress +# Brevo::MasterDetailsResponseBillingInfoAddress ## Properties Name | Type | Description | Notes diff --git a/docs/MasterDetailsResponseBillingInfoName.md b/docs/MasterDetailsResponseBillingInfoName.md index 7a9133a..1a1e118 100644 --- a/docs/MasterDetailsResponseBillingInfoName.md +++ b/docs/MasterDetailsResponseBillingInfoName.md @@ -1,4 +1,4 @@ -# BrevoRuby::MasterDetailsResponseBillingInfoName +# Brevo::MasterDetailsResponseBillingInfoName ## Properties Name | Type | Description | Notes diff --git a/docs/MasterDetailsResponsePlanInfo.md b/docs/MasterDetailsResponsePlanInfo.md index a7a368a..0e27deb 100644 --- a/docs/MasterDetailsResponsePlanInfo.md +++ b/docs/MasterDetailsResponsePlanInfo.md @@ -1,4 +1,4 @@ -# BrevoRuby::MasterDetailsResponsePlanInfo +# Brevo::MasterDetailsResponsePlanInfo ## Properties Name | Type | Description | Notes diff --git a/docs/MasterDetailsResponsePlanInfoFeatures.md b/docs/MasterDetailsResponsePlanInfoFeatures.md index 4c0d2ab..349700d 100644 --- a/docs/MasterDetailsResponsePlanInfoFeatures.md +++ b/docs/MasterDetailsResponsePlanInfoFeatures.md @@ -1,4 +1,4 @@ -# BrevoRuby::MasterDetailsResponsePlanInfoFeatures +# Brevo::MasterDetailsResponsePlanInfoFeatures ## Properties Name | Type | Description | Notes diff --git a/docs/Note.md b/docs/Note.md index 2c7b02d..1bb6e80 100644 --- a/docs/Note.md +++ b/docs/Note.md @@ -1,4 +1,4 @@ -# BrevoRuby::Note +# Brevo::Note ## Properties Name | Type | Description | Notes diff --git a/docs/NoteData.md b/docs/NoteData.md index 99f5738..a9a8f70 100644 --- a/docs/NoteData.md +++ b/docs/NoteData.md @@ -1,4 +1,4 @@ -# BrevoRuby::NoteData +# Brevo::NoteData ## Properties Name | Type | Description | Notes diff --git a/docs/NoteId.md b/docs/NoteId.md index bca0c60..0ed12b0 100644 --- a/docs/NoteId.md +++ b/docs/NoteId.md @@ -1,4 +1,4 @@ -# BrevoRuby::NoteId +# Brevo::NoteId ## Properties Name | Type | Description | Notes diff --git a/docs/NoteList.md b/docs/NoteList.md index 5511b95..a460ba4 100644 --- a/docs/NoteList.md +++ b/docs/NoteList.md @@ -1,4 +1,4 @@ -# BrevoRuby::NoteList +# Brevo::NoteList ## Properties Name | Type | Description | Notes diff --git a/docs/NotesApi.md b/docs/NotesApi.md index c6bbe6f..fa22afe 100644 --- a/docs/NotesApi.md +++ b/docs/NotesApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::NotesApi +# Brevo::NotesApi All URIs are relative to *https://api.brevo.com/v3* @@ -19,9 +19,9 @@ Get all notes ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -33,7 +33,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::NotesApi.new +api_instance = Brevo::NotesApi.new opts = { entity: 'entity_example', # String | Filter by note entity type @@ -49,7 +49,7 @@ begin #Get all notes result = api_instance.crm_notes_get(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling NotesApi->crm_notes_get: #{e}" end ``` @@ -89,9 +89,9 @@ Delete a note ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -103,7 +103,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::NotesApi.new +api_instance = Brevo::NotesApi.new id = 'id_example' # String | Note ID to delete @@ -111,7 +111,7 @@ id = 'id_example' # String | Note ID to delete begin #Delete a note api_instance.crm_notes_id_delete(id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling NotesApi->crm_notes_id_delete: #{e}" end ``` @@ -145,9 +145,9 @@ Get a note ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -159,7 +159,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::NotesApi.new +api_instance = Brevo::NotesApi.new id = 'id_example' # String | Note ID to get @@ -168,7 +168,7 @@ begin #Get a note result = api_instance.crm_notes_id_get(id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling NotesApi->crm_notes_id_get: #{e}" end ``` @@ -202,9 +202,9 @@ Update a note ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -216,17 +216,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::NotesApi.new +api_instance = Brevo::NotesApi.new id = 'id_example' # String | Note ID to update -body = BrevoRuby::NoteData.new # NoteData | Note data to update a note +body = Brevo::NoteData.new # NoteData | Note data to update a note begin #Update a note api_instance.crm_notes_id_patch(id, body) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling NotesApi->crm_notes_id_patch: #{e}" end ``` @@ -261,9 +261,9 @@ Create a note ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -275,16 +275,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::NotesApi.new +api_instance = Brevo::NotesApi.new -body = BrevoRuby::NoteData.new # NoteData | Note data to create a note. +body = Brevo::NoteData.new # NoteData | Note data to create a note. begin #Create a note result = api_instance.crm_notes_post(body) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling NotesApi->crm_notes_post: #{e}" end ``` diff --git a/docs/Order.md b/docs/Order.md index 0ab43fe..c45b162 100644 --- a/docs/Order.md +++ b/docs/Order.md @@ -1,4 +1,4 @@ -# BrevoRuby::Order +# Brevo::Order ## Properties Name | Type | Description | Notes diff --git a/docs/OrderBatch.md b/docs/OrderBatch.md index 5bef0d7..be8c31c 100644 --- a/docs/OrderBatch.md +++ b/docs/OrderBatch.md @@ -1,4 +1,4 @@ -# BrevoRuby::OrderBatch +# Brevo::OrderBatch ## Properties Name | Type | Description | Notes diff --git a/docs/OrderBilling.md b/docs/OrderBilling.md index da33b36..ee5ac76 100644 --- a/docs/OrderBilling.md +++ b/docs/OrderBilling.md @@ -1,4 +1,4 @@ -# BrevoRuby::OrderBilling +# Brevo::OrderBilling ## Properties Name | Type | Description | Notes diff --git a/docs/OrderProducts.md b/docs/OrderProducts.md index c8538ec..c0a2688 100644 --- a/docs/OrderProducts.md +++ b/docs/OrderProducts.md @@ -1,4 +1,4 @@ -# BrevoRuby::OrderProducts +# Brevo::OrderProducts ## Properties Name | Type | Description | Notes diff --git a/docs/Otp.md b/docs/Otp.md index 56ffd92..9ec7456 100644 --- a/docs/Otp.md +++ b/docs/Otp.md @@ -1,4 +1,4 @@ -# BrevoRuby::Otp +# Brevo::Otp ## Properties Name | Type | Description | Notes diff --git a/docs/Pipeline.md b/docs/Pipeline.md index ed273bf..e6b0b71 100644 --- a/docs/Pipeline.md +++ b/docs/Pipeline.md @@ -1,4 +1,4 @@ -# BrevoRuby::Pipeline +# Brevo::Pipeline ## Properties Name | Type | Description | Notes diff --git a/docs/PipelineStage.md b/docs/PipelineStage.md index 8f445d2..5705500 100644 --- a/docs/PipelineStage.md +++ b/docs/PipelineStage.md @@ -1,4 +1,4 @@ -# BrevoRuby::PipelineStage +# Brevo::PipelineStage ## Properties Name | Type | Description | Notes diff --git a/docs/Pipelines.md b/docs/Pipelines.md index 9adcc8e..3351451 100644 --- a/docs/Pipelines.md +++ b/docs/Pipelines.md @@ -1,4 +1,4 @@ -# BrevoRuby::Pipelines +# Brevo::Pipelines ## Properties Name | Type | Description | Notes diff --git a/docs/PostContactInfo.md b/docs/PostContactInfo.md index 4343aa0..5476ddc 100644 --- a/docs/PostContactInfo.md +++ b/docs/PostContactInfo.md @@ -1,4 +1,4 @@ -# BrevoRuby::PostContactInfo +# Brevo::PostContactInfo ## Properties Name | Type | Description | Notes diff --git a/docs/PostContactInfoContacts.md b/docs/PostContactInfoContacts.md index b1340bd..a62d477 100644 --- a/docs/PostContactInfoContacts.md +++ b/docs/PostContactInfoContacts.md @@ -1,4 +1,4 @@ -# BrevoRuby::PostContactInfoContacts +# Brevo::PostContactInfoContacts ## Properties Name | Type | Description | Notes diff --git a/docs/PostSendFailed.md b/docs/PostSendFailed.md index dd76b89..a9ee31b 100644 --- a/docs/PostSendFailed.md +++ b/docs/PostSendFailed.md @@ -1,4 +1,4 @@ -# BrevoRuby::PostSendFailed +# Brevo::PostSendFailed ## Properties Name | Type | Description | Notes diff --git a/docs/PostSendSmsTestFailed.md b/docs/PostSendSmsTestFailed.md index 1fb69fc..427f064 100644 --- a/docs/PostSendSmsTestFailed.md +++ b/docs/PostSendSmsTestFailed.md @@ -1,4 +1,4 @@ -# BrevoRuby::PostSendSmsTestFailed +# Brevo::PostSendSmsTestFailed ## Properties Name | Type | Description | Notes diff --git a/docs/ProcessApi.md b/docs/ProcessApi.md index 841e2ae..c2ee33f 100644 --- a/docs/ProcessApi.md +++ b/docs/ProcessApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::ProcessApi +# Brevo::ProcessApi All URIs are relative to *https://api.brevo.com/v3* @@ -16,9 +16,9 @@ Return the informations for a process ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -30,7 +30,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ProcessApi.new +api_instance = Brevo::ProcessApi.new process_id = 789 # Integer | Id of the process @@ -39,7 +39,7 @@ begin #Return the informations for a process result = api_instance.get_process(process_id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ProcessApi->get_process: #{e}" end ``` @@ -73,9 +73,9 @@ Return all the processes for your account ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -87,7 +87,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ProcessApi.new +api_instance = Brevo::ProcessApi.new opts = { limit: 10, # Integer | Number limitation for the result returned @@ -99,7 +99,7 @@ begin #Return all the processes for your account result = api_instance.get_processes(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ProcessApi->get_processes: #{e}" end ``` diff --git a/docs/RemainingCreditModel.md b/docs/RemainingCreditModel.md index 199db8f..c1edf9e 100644 --- a/docs/RemainingCreditModel.md +++ b/docs/RemainingCreditModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::RemainingCreditModel +# Brevo::RemainingCreditModel ## Properties Name | Type | Description | Notes diff --git a/docs/RemainingCreditModelChild.md b/docs/RemainingCreditModelChild.md index fa4a0bd..85eaa69 100644 --- a/docs/RemainingCreditModelChild.md +++ b/docs/RemainingCreditModelChild.md @@ -1,4 +1,4 @@ -# BrevoRuby::RemainingCreditModelChild +# Brevo::RemainingCreditModelChild ## Properties Name | Type | Description | Notes diff --git a/docs/RemainingCreditModelReseller.md b/docs/RemainingCreditModelReseller.md index b49b6fb..44c667f 100644 --- a/docs/RemainingCreditModelReseller.md +++ b/docs/RemainingCreditModelReseller.md @@ -1,4 +1,4 @@ -# BrevoRuby::RemainingCreditModelReseller +# Brevo::RemainingCreditModelReseller ## Properties Name | Type | Description | Notes diff --git a/docs/RemoveContactFromList.md b/docs/RemoveContactFromList.md index 9adc21b..903c9be 100644 --- a/docs/RemoveContactFromList.md +++ b/docs/RemoveContactFromList.md @@ -1,4 +1,4 @@ -# BrevoRuby::RemoveContactFromList +# Brevo::RemoveContactFromList ## Properties Name | Type | Description | Notes diff --git a/docs/RemoveCredits.md b/docs/RemoveCredits.md index 0b92629..c672f51 100644 --- a/docs/RemoveCredits.md +++ b/docs/RemoveCredits.md @@ -1,4 +1,4 @@ -# BrevoRuby::RemoveCredits +# Brevo::RemoveCredits ## Properties Name | Type | Description | Notes diff --git a/docs/RequestContactExport.md b/docs/RequestContactExport.md index 013df6d..c45f329 100644 --- a/docs/RequestContactExport.md +++ b/docs/RequestContactExport.md @@ -1,4 +1,4 @@ -# BrevoRuby::RequestContactExport +# Brevo::RequestContactExport ## Properties Name | Type | Description | Notes diff --git a/docs/RequestContactExportCustomContactFilter.md b/docs/RequestContactExportCustomContactFilter.md index 296d1f1..4430d05 100644 --- a/docs/RequestContactExportCustomContactFilter.md +++ b/docs/RequestContactExportCustomContactFilter.md @@ -1,4 +1,4 @@ -# BrevoRuby::RequestContactExportCustomContactFilter +# Brevo::RequestContactExportCustomContactFilter ## Properties Name | Type | Description | Notes diff --git a/docs/RequestContactImport.md b/docs/RequestContactImport.md index ce11e66..b3f73ff 100644 --- a/docs/RequestContactImport.md +++ b/docs/RequestContactImport.md @@ -1,11 +1,11 @@ -# BrevoRuby::RequestContactImport +# Brevo::RequestContactImport ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **file_url** | **String** | Mandatory if fileBody or jsonBody is not defined. URL of the file to be imported (no local file). Possible file formats: .txt, .csv, .json | [optional] **file_body** | **String** | Mandatory if fileUrl and jsonBody is not defined. CSV content to be imported. Use semicolon to separate multiple attributes. Maximum allowed file body size is 10MB . However we recommend a safe limit of around 8 MB to avoid the issues caused due to increase of file body size while parsing. Please use fileUrl instead to import bigger files. | [optional] -**json_body** | **Array<Hash<String, Object>>** | **Mandatory if fileUrl and fileBody is not defined.** JSON content to be imported. **Maximum allowed json body size is 10MB** . However we recommend a safe limit of around 8 MB to avoid the issues caused due to increase of json body size while parsing. Please use fileUrl instead to import bigger files. | [optional] +**json_body** | [**Array<RequestContactImportJsonBody>**](RequestContactImportJsonBody.md) | **Mandatory if fileUrl and fileBody is not defined.** JSON content to be imported. **Maximum allowed json body size is 10MB** . However we recommend a safe limit of around 8 MB to avoid the issues caused due to increase of json body size while parsing. Please use fileUrl instead to import bigger files. | [optional] **list_ids** | **Array<Integer>** | Mandatory if newList is not defined. Ids of the lists in which the contacts shall be imported. For example, [2, 4, 7]. | [optional] **notify_url** | **String** | URL that will be called once the import process is finished. For reference, https://help.brevo.com/hc/en-us/articles/360007666479 | [optional] **new_list** | [**RequestContactImportNewList**](RequestContactImportNewList.md) | | [optional] diff --git a/docs/RequestContactImportJsonBody.md b/docs/RequestContactImportJsonBody.md new file mode 100644 index 0000000..1ecb0ec --- /dev/null +++ b/docs/RequestContactImportJsonBody.md @@ -0,0 +1,9 @@ +# Brevo::RequestContactImportJsonBody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**email** | **String** | | [optional] +**attributes** | **Object** | List of attributes to be imported | [optional] + + diff --git a/docs/RequestContactImportNewList.md b/docs/RequestContactImportNewList.md index eeb928e..f8759e8 100644 --- a/docs/RequestContactImportNewList.md +++ b/docs/RequestContactImportNewList.md @@ -1,4 +1,4 @@ -# BrevoRuby::RequestContactImportNewList +# Brevo::RequestContactImportNewList ## Properties Name | Type | Description | Notes diff --git a/docs/RequestSMSRecipientExport.md b/docs/RequestSMSRecipientExport.md index e9830bb..46a7a83 100644 --- a/docs/RequestSMSRecipientExport.md +++ b/docs/RequestSMSRecipientExport.md @@ -1,4 +1,4 @@ -# BrevoRuby::RequestSmsRecipientExport +# Brevo::RequestSmsRecipientExport ## Properties Name | Type | Description | Notes diff --git a/docs/ResellerApi.md b/docs/ResellerApi.md index 3d2b834..66e25c7 100644 --- a/docs/ResellerApi.md +++ b/docs/ResellerApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::ResellerApi +# Brevo::ResellerApi All URIs are relative to *https://api.brevo.com/v3* @@ -30,9 +30,9 @@ Add Email and/or SMS credits to a specific child account ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -44,18 +44,18 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child -add_credits = BrevoRuby::AddCredits.new # AddCredits | Values to post to add credit to a specific child account +add_credits = Brevo::AddCredits.new # AddCredits | Values to post to add credit to a specific child account begin #Add Email and/or SMS credits to a specific child account result = api_instance.add_credits(child_identifier, add_credits) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->add_credits: #{e}" end ``` @@ -90,9 +90,9 @@ Associate a dedicated IP to the child ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -104,17 +104,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child -ip = BrevoRuby::ManageIp.new # ManageIp | IP to associate +ip = Brevo::ManageIp.new # ManageIp | IP to associate begin #Associate a dedicated IP to the child api_instance.associate_ip_to_child(child_identifier, ip) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->associate_ip_to_child: #{e}" end ``` @@ -149,9 +149,9 @@ Create a domain for a child account ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -163,17 +163,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child -add_child_domain = BrevoRuby::AddChildDomain.new # AddChildDomain | Sender domain to add for a specific child account. This will not be displayed to the parent account. +add_child_domain = Brevo::AddChildDomain.new # AddChildDomain | Sender domain to add for a specific child account. This will not be displayed to the parent account. begin #Create a domain for a child account api_instance.create_child_domain(child_identifier, add_child_domain) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->create_child_domain: #{e}" end ``` @@ -208,9 +208,9 @@ Creates a reseller child ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -222,17 +222,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new opts = { - reseller_child: BrevoRuby::CreateChild.new # CreateChild | reseller child to add + reseller_child: Brevo::CreateChild.new # CreateChild | reseller child to add } begin #Creates a reseller child result = api_instance.create_reseller_child(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->create_reseller_child: #{e}" end ``` @@ -266,9 +266,9 @@ Delete the sender domain of the reseller child based on the childIdentifier and ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -280,7 +280,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child @@ -290,7 +290,7 @@ domain_name = 'domain_name_example' # String | Pass the existing domain that nee begin #Delete the sender domain of the reseller child based on the childIdentifier and domainName passed api_instance.delete_child_domain(child_identifier, domain_name) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->delete_child_domain: #{e}" end ``` @@ -325,9 +325,9 @@ Delete a single reseller child based on the child identifier supplied ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -339,7 +339,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or child id of reseller's child @@ -347,7 +347,7 @@ child_identifier = 'child_identifier_example' # String | Either auth key or chil begin #Delete a single reseller child based on the child identifier supplied api_instance.delete_reseller_child(child_identifier) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->delete_reseller_child: #{e}" end ``` @@ -381,9 +381,9 @@ Dissociate a dedicated IP to the child ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -395,17 +395,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child -ip = BrevoRuby::ManageIp.new # ManageIp | IP to dissociate +ip = Brevo::ManageIp.new # ManageIp | IP to dissociate begin #Dissociate a dedicated IP to the child api_instance.dissociate_ip_from_child(child_identifier, ip) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->dissociate_ip_from_child: #{e}" end ``` @@ -440,9 +440,9 @@ Get the status of a reseller's child account creation, whether it is successfull ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -454,7 +454,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child @@ -463,7 +463,7 @@ begin #Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the identifier supplied result = api_instance.get_child_account_creation_status(child_identifier) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->get_child_account_creation_status: #{e}" end ``` @@ -497,9 +497,9 @@ Get all sender domains for a specific child account ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -511,7 +511,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child @@ -520,7 +520,7 @@ begin #Get all sender domains for a specific child account result = api_instance.get_child_domains(child_identifier) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->get_child_domains: #{e}" end ``` @@ -554,9 +554,9 @@ Get a child account's details ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -568,7 +568,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child @@ -577,7 +577,7 @@ begin #Get a child account's details result = api_instance.get_child_info(child_identifier) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->get_child_info: #{e}" end ``` @@ -611,9 +611,9 @@ Get the list of all children accounts ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -625,7 +625,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new opts = { limit: 10, # Integer | Number of documents for child accounts information per page @@ -636,7 +636,7 @@ begin #Get the list of all children accounts result = api_instance.get_reseller_childs(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->get_reseller_childs: #{e}" end ``` @@ -673,9 +673,9 @@ It returns a session [token] which will remain valid for a short period of time. ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -687,7 +687,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child @@ -696,7 +696,7 @@ begin #Get session token to access Brevo (SSO) result = api_instance.get_sso_token(child_identifier) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->get_sso_token: #{e}" end ``` @@ -730,9 +730,9 @@ Remove Email and/or SMS credits from a specific child account ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -744,18 +744,18 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child -remove_credits = BrevoRuby::RemoveCredits.new # RemoveCredits | Values to post to remove email or SMS credits from a specific child account +remove_credits = Brevo::RemoveCredits.new # RemoveCredits | Values to post to remove email or SMS credits from a specific child account begin #Remove Email and/or SMS credits from a specific child account result = api_instance.remove_credits(child_identifier, remove_credits) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->remove_credits: #{e}" end ``` @@ -790,9 +790,9 @@ Update info of reseller's child account status based on the childIdentifier supp ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -804,17 +804,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child -update_child_account_status = BrevoRuby::UpdateChildAccountStatus.new # UpdateChildAccountStatus | values to update in child account status +update_child_account_status = Brevo::UpdateChildAccountStatus.new # UpdateChildAccountStatus | values to update in child account status begin #Update info of reseller's child account status based on the childIdentifier supplied api_instance.update_child_account_status(child_identifier, update_child_account_status) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->update_child_account_status: #{e}" end ``` @@ -849,9 +849,9 @@ Update the sender domain of reseller's child based on the childIdentifier and do ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -863,19 +863,19 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child domain_name = 'domain_name_example' # String | Pass the existing domain that needs to be updated -update_child_domain = BrevoRuby::UpdateChildDomain.new # UpdateChildDomain | value to update for sender domain +update_child_domain = Brevo::UpdateChildDomain.new # UpdateChildDomain | value to update for sender domain begin #Update the sender domain of reseller's child based on the childIdentifier and domainName passed api_instance.update_child_domain(child_identifier, domain_name, update_child_domain) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->update_child_domain: #{e}" end ``` @@ -911,9 +911,9 @@ Update info of reseller's child based on the child identifier supplied ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -925,17 +925,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::ResellerApi.new +api_instance = Brevo::ResellerApi.new child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child -reseller_child = BrevoRuby::UpdateChild.new # UpdateChild | values to update in child profile +reseller_child = Brevo::UpdateChild.new # UpdateChild | values to update in child profile begin #Update info of reseller's child based on the child identifier supplied api_instance.update_reseller_child(child_identifier, reseller_child) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling ResellerApi->update_reseller_child: #{e}" end ``` diff --git a/docs/SMSCampaignsApi.md b/docs/SMSCampaignsApi.md index 4476979..9596d7b 100644 --- a/docs/SMSCampaignsApi.md +++ b/docs/SMSCampaignsApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::SMSCampaignsApi +# Brevo::SMSCampaignsApi All URIs are relative to *https://api.brevo.com/v3* @@ -24,9 +24,9 @@ Creates an SMS campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -38,16 +38,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SMSCampaignsApi.new +api_instance = Brevo::SMSCampaignsApi.new -create_sms_campaign = BrevoRuby::CreateSmsCampaign.new # CreateSmsCampaign | Values to create an SMS Campaign +create_sms_campaign = Brevo::CreateSmsCampaign.new # CreateSmsCampaign | Values to create an SMS Campaign begin #Creates an SMS campaign result = api_instance.create_sms_campaign(create_sms_campaign) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SMSCampaignsApi->create_sms_campaign: #{e}" end ``` @@ -81,9 +81,9 @@ Delete an SMS campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -95,7 +95,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SMSCampaignsApi.new +api_instance = Brevo::SMSCampaignsApi.new campaign_id = 789 # Integer | id of the SMS campaign @@ -103,7 +103,7 @@ campaign_id = 789 # Integer | id of the SMS campaign begin #Delete an SMS campaign api_instance.delete_sms_campaign(campaign_id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SMSCampaignsApi->delete_sms_campaign: #{e}" end ``` @@ -137,9 +137,9 @@ Get an SMS campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -151,7 +151,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SMSCampaignsApi.new +api_instance = Brevo::SMSCampaignsApi.new campaign_id = 789 # Integer | id of the SMS campaign @@ -160,7 +160,7 @@ begin #Get an SMS campaign result = api_instance.get_sms_campaign(campaign_id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SMSCampaignsApi->get_sms_campaign: #{e}" end ``` @@ -194,9 +194,9 @@ Returns the information for all your created SMS campaigns ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -208,7 +208,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SMSCampaignsApi.new +api_instance = Brevo::SMSCampaignsApi.new opts = { status: 'status_example', # String | Status of campaign. @@ -223,7 +223,7 @@ begin #Returns the information for all your created SMS campaigns result = api_instance.get_sms_campaigns(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SMSCampaignsApi->get_sms_campaigns: #{e}" end ``` @@ -264,9 +264,9 @@ It returns the background process ID which on completion calls the notify URL th ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -278,19 +278,19 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SMSCampaignsApi.new +api_instance = Brevo::SMSCampaignsApi.new campaign_id = 789 # Integer | id of the campaign opts = { - recipient_export: BrevoRuby::RequestSmsRecipientExport.new # RequestSmsRecipientExport | Values to send for a recipient export request + recipient_export: Brevo::RequestSmsRecipientExport.new # RequestSmsRecipientExport | Values to send for a recipient export request } begin #Export an SMS campaign's recipients result = api_instance.request_sms_recipient_export(campaign_id, opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SMSCampaignsApi->request_sms_recipient_export: #{e}" end ``` @@ -325,9 +325,9 @@ Send your SMS campaign immediately ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -339,7 +339,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SMSCampaignsApi.new +api_instance = Brevo::SMSCampaignsApi.new campaign_id = 789 # Integer | id of the campaign @@ -347,7 +347,7 @@ campaign_id = 789 # Integer | id of the campaign begin #Send your SMS campaign immediately api_instance.send_sms_campaign_now(campaign_id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SMSCampaignsApi->send_sms_campaign_now: #{e}" end ``` @@ -383,9 +383,9 @@ Send report of Sent and Archived campaign, to the specified email addresses, wit ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -397,17 +397,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SMSCampaignsApi.new +api_instance = Brevo::SMSCampaignsApi.new campaign_id = 789 # Integer | id of the campaign -send_report = BrevoRuby::SendReport.new # SendReport | Values for send a report +send_report = Brevo::SendReport.new # SendReport | Values for send a report begin #Send an SMS campaign's report api_instance.send_sms_report(campaign_id, send_report) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SMSCampaignsApi->send_sms_report: #{e}" end ``` @@ -442,9 +442,9 @@ Send a test SMS campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -456,17 +456,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SMSCampaignsApi.new +api_instance = Brevo::SMSCampaignsApi.new campaign_id = 789 # Integer | Id of the SMS campaign -phone_number = BrevoRuby::SendTestSms.new # SendTestSms | Mobile number of the recipient with the country code. This number must belong to one of your contacts in Brevo account and must not be blacklisted +phone_number = Brevo::SendTestSms.new # SendTestSms | Mobile number of the recipient with the country code. This number must belong to one of your contacts in Brevo account and must not be blacklisted begin #Send a test SMS campaign api_instance.send_test_sms(campaign_id, phone_number) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SMSCampaignsApi->send_test_sms: #{e}" end ``` @@ -501,9 +501,9 @@ Update an SMS campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -515,17 +515,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SMSCampaignsApi.new +api_instance = Brevo::SMSCampaignsApi.new campaign_id = 789 # Integer | id of the SMS campaign -update_sms_campaign = BrevoRuby::UpdateSmsCampaign.new # UpdateSmsCampaign | Values to update an SMS Campaign +update_sms_campaign = Brevo::UpdateSmsCampaign.new # UpdateSmsCampaign | Values to update an SMS Campaign begin #Update an SMS campaign api_instance.update_sms_campaign(campaign_id, update_sms_campaign) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SMSCampaignsApi->update_sms_campaign: #{e}" end ``` @@ -560,9 +560,9 @@ Update a campaign's status ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -574,17 +574,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SMSCampaignsApi.new +api_instance = Brevo::SMSCampaignsApi.new campaign_id = 789 # Integer | id of the campaign -status = BrevoRuby::UpdateCampaignStatus.new # UpdateCampaignStatus | Status of the campaign. +status = Brevo::UpdateCampaignStatus.new # UpdateCampaignStatus | Status of the campaign. begin #Update a campaign's status api_instance.update_sms_campaign_status(campaign_id, status) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SMSCampaignsApi->update_sms_campaign_status: #{e}" end ``` diff --git a/docs/ScheduleSmtpEmail.md b/docs/ScheduleSmtpEmail.md index 291fc5f..4727e62 100644 --- a/docs/ScheduleSmtpEmail.md +++ b/docs/ScheduleSmtpEmail.md @@ -1,4 +1,4 @@ -# BrevoRuby::ScheduleSmtpEmail +# Brevo::ScheduleSmtpEmail ## Properties Name | Type | Description | Notes diff --git a/docs/SendReport.md b/docs/SendReport.md index fa463e4..1e50323 100644 --- a/docs/SendReport.md +++ b/docs/SendReport.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendReport +# Brevo::SendReport ## Properties Name | Type | Description | Notes diff --git a/docs/SendReportEmail.md b/docs/SendReportEmail.md index ac23bcd..0af0428 100644 --- a/docs/SendReportEmail.md +++ b/docs/SendReportEmail.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendReportEmail +# Brevo::SendReportEmail ## Properties Name | Type | Description | Notes diff --git a/docs/SendSms.md b/docs/SendSms.md index 9646638..f5ee28a 100644 --- a/docs/SendSms.md +++ b/docs/SendSms.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendSms +# Brevo::SendSms ## Properties Name | Type | Description | Notes diff --git a/docs/SendSmtpEmail.md b/docs/SendSmtpEmail.md index ae31d22..6f0d19a 100644 --- a/docs/SendSmtpEmail.md +++ b/docs/SendSmtpEmail.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendSmtpEmail +# Brevo::SendSmtpEmail ## Properties Name | Type | Description | Notes @@ -13,7 +13,7 @@ Name | Type | Description | Notes **reply_to** | [**SendSmtpEmailReplyTo**](SendSmtpEmailReplyTo.md) | | [optional] **attachment** | [**Array<SendSmtpEmailAttachment>**](SendSmtpEmailAttachment.md) | Pass the absolute URL (no local file) or the base64 content of the attachment along with the attachment name (Mandatory if attachment content is passed). For example, `[{\"url\":\"https://attachment.domain.com/myAttachmentFromUrl.jpg\", \"name\":\"myAttachmentFromUrl.jpg\"}, {\"content\":\"base64 example content\", \"name\":\"myAttachmentFromBase64.jpg\"}]`. Allowed extensions for attachment file: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub, eps, odt, mp3, m4a, m4v, wma, ogg, flac, wav, aif, aifc, aiff, mp4, mov, avi, mkv, mpeg, mpg, wmv, pkpass and xlsm ( If 'templateId' is passed and is in New Template Language format then both attachment url and content are accepted. If template is in Old template Language format, then 'attachment' is ignored ) | [optional] **headers** | **Object** | Pass the set of custom headers (not the standard headers) that shall be sent along the mail headers in the original email. 'sender.ip' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. Headers are allowed in `This-Case-Only` (i.e. words separated by hyphen with first letter of each word in capital letter), they will be converted to such case styling if not in this format in the request payload. For example, `{\"sender.ip\":\"1.2.3.4\", \"X-Mailin-custom\":\"some_custom_header\", \"idempotencyKey\":\"abc-123\"}`. | [optional] -**‘templateId’** | **Integer** | Id of the template. | [optional] +**template_id** | **Integer** | Id of the template. | [optional] **params** | **Object** | Pass the set of attributes to customize the template. For example, {\"FNAME\":\"Joe\", \"LNAME\":\"Doe\"}. It's considered only if template is in New Template Language format. | [optional] **message_versions** | [**Array<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.brevo.com/docs/batch-send-transactional-emails | [optional] **tags** | **Array<String>** | Tag your emails to find them more easily | [optional] diff --git a/docs/SendSmtpEmailAttachment.md b/docs/SendSmtpEmailAttachment.md index 7d11947..73062d8 100644 --- a/docs/SendSmtpEmailAttachment.md +++ b/docs/SendSmtpEmailAttachment.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendSmtpEmailAttachment +# Brevo::SendSmtpEmailAttachment ## Properties Name | Type | Description | Notes diff --git a/docs/SendSmtpEmailBcc.md b/docs/SendSmtpEmailBcc.md index b987f6d..2d4a8ee 100644 --- a/docs/SendSmtpEmailBcc.md +++ b/docs/SendSmtpEmailBcc.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendSmtpEmailBcc +# Brevo::SendSmtpEmailBcc ## Properties Name | Type | Description | Notes diff --git a/docs/SendSmtpEmailCc.md b/docs/SendSmtpEmailCc.md index 1ff3b86..4e85199 100644 --- a/docs/SendSmtpEmailCc.md +++ b/docs/SendSmtpEmailCc.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendSmtpEmailCc +# Brevo::SendSmtpEmailCc ## Properties Name | Type | Description | Notes diff --git a/docs/SendSmtpEmailMessageVersions.md b/docs/SendSmtpEmailMessageVersions.md index 45468b3..e41a8bd 100644 --- a/docs/SendSmtpEmailMessageVersions.md +++ b/docs/SendSmtpEmailMessageVersions.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendSmtpEmailMessageVersions +# Brevo::SendSmtpEmailMessageVersions ## Properties Name | Type | Description | Notes diff --git a/docs/SendSmtpEmailReplyTo.md b/docs/SendSmtpEmailReplyTo.md index dad9b7d..8cf9a1b 100644 --- a/docs/SendSmtpEmailReplyTo.md +++ b/docs/SendSmtpEmailReplyTo.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendSmtpEmailReplyTo +# Brevo::SendSmtpEmailReplyTo ## Properties Name | Type | Description | Notes diff --git a/docs/SendSmtpEmailReplyTo1.md b/docs/SendSmtpEmailReplyTo1.md index 5235058..9162cf6 100644 --- a/docs/SendSmtpEmailReplyTo1.md +++ b/docs/SendSmtpEmailReplyTo1.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendSmtpEmailReplyTo1 +# Brevo::SendSmtpEmailReplyTo1 ## Properties Name | Type | Description | Notes diff --git a/docs/SendSmtpEmailSender.md b/docs/SendSmtpEmailSender.md index 0f50374..366060b 100644 --- a/docs/SendSmtpEmailSender.md +++ b/docs/SendSmtpEmailSender.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendSmtpEmailSender +# Brevo::SendSmtpEmailSender ## Properties Name | Type | Description | Notes diff --git a/docs/SendSmtpEmailTo.md b/docs/SendSmtpEmailTo.md index 3f6f6db..8e32414 100644 --- a/docs/SendSmtpEmailTo.md +++ b/docs/SendSmtpEmailTo.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendSmtpEmailTo +# Brevo::SendSmtpEmailTo ## Properties Name | Type | Description | Notes diff --git a/docs/SendSmtpEmailTo1.md b/docs/SendSmtpEmailTo1.md index 1a42c89..f6c5aea 100644 --- a/docs/SendSmtpEmailTo1.md +++ b/docs/SendSmtpEmailTo1.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendSmtpEmailTo1 +# Brevo::SendSmtpEmailTo1 ## Properties Name | Type | Description | Notes diff --git a/docs/SendTestEmail.md b/docs/SendTestEmail.md index f02f33f..c926186 100644 --- a/docs/SendTestEmail.md +++ b/docs/SendTestEmail.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendTestEmail +# Brevo::SendTestEmail ## Properties Name | Type | Description | Notes diff --git a/docs/SendTestSms.md b/docs/SendTestSms.md index fb7d902..11ca7e4 100644 --- a/docs/SendTestSms.md +++ b/docs/SendTestSms.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendTestSms +# Brevo::SendTestSms ## Properties Name | Type | Description | Notes diff --git a/docs/SendTransacSms.md b/docs/SendTransacSms.md index 7d03c30..65746ca 100644 --- a/docs/SendTransacSms.md +++ b/docs/SendTransacSms.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendTransacSms +# Brevo::SendTransacSms ## Properties Name | Type | Description | Notes diff --git a/docs/SendWhatsappMessage.md b/docs/SendWhatsappMessage.md index 1c2902a..3e17c43 100644 --- a/docs/SendWhatsappMessage.md +++ b/docs/SendWhatsappMessage.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendWhatsappMessage +# Brevo::SendWhatsappMessage ## Properties Name | Type | Description | Notes diff --git a/docs/SendersApi.md b/docs/SendersApi.md index e32dc0d..5b50281 100644 --- a/docs/SendersApi.md +++ b/docs/SendersApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::SendersApi +# Brevo::SendersApi All URIs are relative to *https://api.brevo.com/v3* @@ -21,9 +21,9 @@ Create a new sender ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -35,17 +35,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SendersApi.new +api_instance = Brevo::SendersApi.new opts = { - sender: BrevoRuby::CreateSender.new # CreateSender | sender's name + sender: Brevo::CreateSender.new # CreateSender | sender's name } begin #Create a new sender result = api_instance.create_sender(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SendersApi->create_sender: #{e}" end ``` @@ -79,9 +79,9 @@ Delete a sender ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -93,7 +93,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SendersApi.new +api_instance = Brevo::SendersApi.new sender_id = 789 # Integer | Id of the sender @@ -101,7 +101,7 @@ sender_id = 789 # Integer | Id of the sender begin #Delete a sender api_instance.delete_sender(sender_id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SendersApi->delete_sender: #{e}" end ``` @@ -135,9 +135,9 @@ Get all the dedicated IPs for your account ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -149,13 +149,13 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SendersApi.new +api_instance = Brevo::SendersApi.new begin #Get all the dedicated IPs for your account result = api_instance.get_ips p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SendersApi->get_ips: #{e}" end ``` @@ -186,9 +186,9 @@ Get all the dedicated IPs for a sender ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -200,7 +200,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SendersApi.new +api_instance = Brevo::SendersApi.new sender_id = 789 # Integer | Id of the sender @@ -209,7 +209,7 @@ begin #Get all the dedicated IPs for a sender result = api_instance.get_ips_from_sender(sender_id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SendersApi->get_ips_from_sender: #{e}" end ``` @@ -243,9 +243,9 @@ Get the list of all your senders ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -257,7 +257,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SendersApi.new +api_instance = Brevo::SendersApi.new opts = { ip: 'ip_example', # String | Filter your senders for a specific ip (available for dedicated IP usage only) @@ -268,7 +268,7 @@ begin #Get the list of all your senders result = api_instance.get_senders(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SendersApi->get_senders: #{e}" end ``` @@ -303,9 +303,9 @@ Update a sender ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -317,18 +317,18 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SendersApi.new +api_instance = Brevo::SendersApi.new sender_id = 789 # Integer | Id of the sender opts = { - sender: BrevoRuby::UpdateSender.new # UpdateSender | sender's name + sender: Brevo::UpdateSender.new # UpdateSender | sender's name } begin #Update a sender api_instance.update_sender(sender_id, opts) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SendersApi->update_sender: #{e}" end ``` @@ -363,9 +363,9 @@ Update a sender ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -377,18 +377,18 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::SendersApi.new +api_instance = Brevo::SendersApi.new sender_id = 789 # Integer | Id of the sender opts = { - otp: BrevoRuby::Otp.new # Otp | otp + otp: Brevo::Otp.new # Otp | otp } begin #Update a sender api_instance.validate_sender_by_otp(sender_id, opts) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling SendersApi->validate_sender_by_otp: #{e}" end ``` diff --git a/docs/SsoTokenRequest.md b/docs/SsoTokenRequest.md index 2e4c72d..e6be5d6 100644 --- a/docs/SsoTokenRequest.md +++ b/docs/SsoTokenRequest.md @@ -1,4 +1,4 @@ -# BrevoRuby::SsoTokenRequest +# Brevo::SsoTokenRequest ## Properties Name | Type | Description | Notes @@ -6,5 +6,6 @@ Name | Type | Description | Notes **id** | **Integer** | Id of the sub-account organization | **email** | **String** | User email of sub-account organization | [optional] **target** | **String** | Set target after login success * automation - Redirect to Automation after login * email_campaign - Redirect to Email Campaign after login * contacts - Redirect to Contacts after login * landing_pages - Redirect to Landing Pages after login * email_transactional - Redirect to Email Transactional after login * senders - Redirect to Contacts after login * sms_campaign - Redirect to Sms Campaign after login * sms_transactional - Redirect to Sms Transactional after login | [optional] +**url** | **String** | Set the full target URL after login success. The user will land directly on this target URL after login | [optional] diff --git a/docs/SubAccountAppsToggleRequest.md b/docs/SubAccountAppsToggleRequest.md new file mode 100644 index 0000000..dc95dd1 --- /dev/null +++ b/docs/SubAccountAppsToggleRequest.md @@ -0,0 +1,20 @@ +# Brevo::SubAccountAppsToggleRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**inbox** | **BOOLEAN** | Set this field to enable or disable Inbox on the sub-account | [optional] +**whatsapp** | **BOOLEAN** | Set this field to enable or disable Whatsapp campaigns on the sub-account | [optional] +**automation** | **BOOLEAN** | Set this field to enable or disable Automation on the sub-account | [optional] +**email_campaigns** | **BOOLEAN** | Set this field to enable or disable Email Campaigns on the sub-account | [optional] +**sms_campaigns** | **BOOLEAN** | Set this field to enable or disable SMS Marketing on the sub-account | [optional] +**landing_pages** | **BOOLEAN** | Set this field to enable or disable Landing pages on the sub-account | [optional] +**transactional_emails** | **BOOLEAN** | Set this field to enable or disable Transactional Email on the sub-account | [optional] +**transactional_sms** | **BOOLEAN** | Set this field to enable or disable Transactional SMS on the sub-account | [optional] +**facebook_ads** | **BOOLEAN** | Set this field to enable or disable Facebook ads on the sub-account | [optional] +**web_push** | **BOOLEAN** | Set this field to enable or disable Web Push on the sub-account | [optional] +**meetings** | **BOOLEAN** | Set this field to enable or disable Meetings on the sub-account | [optional] +**conversations** | **BOOLEAN** | Set this field to enable or disable Conversations on the sub-account | [optional] +**crm** | **BOOLEAN** | Set this field to enable or disable Sales CRM on the sub-account | [optional] + + diff --git a/docs/SubAccountDetailsResponse.md b/docs/SubAccountDetailsResponse.md index 0ead1c8..0d01e69 100644 --- a/docs/SubAccountDetailsResponse.md +++ b/docs/SubAccountDetailsResponse.md @@ -1,4 +1,4 @@ -# BrevoRuby::SubAccountDetailsResponse +# Brevo::SubAccountDetailsResponse ## Properties Name | Type | Description | Notes diff --git a/docs/SubAccountDetailsResponsePlanInfo.md b/docs/SubAccountDetailsResponsePlanInfo.md index 585a93a..9bd1dd7 100644 --- a/docs/SubAccountDetailsResponsePlanInfo.md +++ b/docs/SubAccountDetailsResponsePlanInfo.md @@ -1,4 +1,4 @@ -# BrevoRuby::SubAccountDetailsResponsePlanInfo +# Brevo::SubAccountDetailsResponsePlanInfo ## Properties Name | Type | Description | Notes diff --git a/docs/SubAccountDetailsResponsePlanInfoCredits.md b/docs/SubAccountDetailsResponsePlanInfoCredits.md index 497bd51..c31789e 100644 --- a/docs/SubAccountDetailsResponsePlanInfoCredits.md +++ b/docs/SubAccountDetailsResponsePlanInfoCredits.md @@ -1,4 +1,4 @@ -# BrevoRuby::SubAccountDetailsResponsePlanInfoCredits +# Brevo::SubAccountDetailsResponsePlanInfoCredits ## Properties Name | Type | Description | Notes diff --git a/docs/SubAccountDetailsResponsePlanInfoCreditsEmails.md b/docs/SubAccountDetailsResponsePlanInfoCreditsEmails.md index 1d8cfb0..4f05bf7 100644 --- a/docs/SubAccountDetailsResponsePlanInfoCreditsEmails.md +++ b/docs/SubAccountDetailsResponsePlanInfoCreditsEmails.md @@ -1,4 +1,4 @@ -# BrevoRuby::SubAccountDetailsResponsePlanInfoCreditsEmails +# Brevo::SubAccountDetailsResponsePlanInfoCreditsEmails ## Properties Name | Type | Description | Notes diff --git a/docs/SubAccountDetailsResponsePlanInfoFeatures.md b/docs/SubAccountDetailsResponsePlanInfoFeatures.md index b712763..325c690 100644 --- a/docs/SubAccountDetailsResponsePlanInfoFeatures.md +++ b/docs/SubAccountDetailsResponsePlanInfoFeatures.md @@ -1,4 +1,4 @@ -# BrevoRuby::SubAccountDetailsResponsePlanInfoFeatures +# Brevo::SubAccountDetailsResponsePlanInfoFeatures ## Properties Name | Type | Description | Notes diff --git a/docs/SubAccountDetailsResponsePlanInfoFeaturesInbox.md b/docs/SubAccountDetailsResponsePlanInfoFeaturesInbox.md index c2cd204..9f2a29a 100644 --- a/docs/SubAccountDetailsResponsePlanInfoFeaturesInbox.md +++ b/docs/SubAccountDetailsResponsePlanInfoFeaturesInbox.md @@ -1,4 +1,4 @@ -# BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesInbox +# Brevo::SubAccountDetailsResponsePlanInfoFeaturesInbox ## Properties Name | Type | Description | Notes diff --git a/docs/SubAccountDetailsResponsePlanInfoFeaturesLandingPage.md b/docs/SubAccountDetailsResponsePlanInfoFeaturesLandingPage.md index e1e908c..bebc481 100644 --- a/docs/SubAccountDetailsResponsePlanInfoFeaturesLandingPage.md +++ b/docs/SubAccountDetailsResponsePlanInfoFeaturesLandingPage.md @@ -1,4 +1,4 @@ -# BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesLandingPage +# Brevo::SubAccountDetailsResponsePlanInfoFeaturesLandingPage ## Properties Name | Type | Description | Notes diff --git a/docs/SubAccountDetailsResponsePlanInfoFeaturesUsers.md b/docs/SubAccountDetailsResponsePlanInfoFeaturesUsers.md index ddf5778..4b70865 100644 --- a/docs/SubAccountDetailsResponsePlanInfoFeaturesUsers.md +++ b/docs/SubAccountDetailsResponsePlanInfoFeaturesUsers.md @@ -1,4 +1,4 @@ -# BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesUsers +# Brevo::SubAccountDetailsResponsePlanInfoFeaturesUsers ## Properties Name | Type | Description | Notes diff --git a/docs/SubAccountUpdatePlanRequest.md b/docs/SubAccountUpdatePlanRequest.md index 9f90dc1..76d0c70 100644 --- a/docs/SubAccountUpdatePlanRequest.md +++ b/docs/SubAccountUpdatePlanRequest.md @@ -1,4 +1,4 @@ -# BrevoRuby::SubAccountUpdatePlanRequest +# Brevo::SubAccountUpdatePlanRequest ## Properties Name | Type | Description | Notes diff --git a/docs/SubAccountUpdatePlanRequestCredits.md b/docs/SubAccountUpdatePlanRequestCredits.md index 12b9c9c..694d339 100644 --- a/docs/SubAccountUpdatePlanRequestCredits.md +++ b/docs/SubAccountUpdatePlanRequestCredits.md @@ -1,4 +1,4 @@ -# BrevoRuby::SubAccountUpdatePlanRequestCredits +# Brevo::SubAccountUpdatePlanRequestCredits ## Properties Name | Type | Description | Notes diff --git a/docs/SubAccountUpdatePlanRequestFeatures.md b/docs/SubAccountUpdatePlanRequestFeatures.md index 26dda7d..2968c08 100644 --- a/docs/SubAccountUpdatePlanRequestFeatures.md +++ b/docs/SubAccountUpdatePlanRequestFeatures.md @@ -1,4 +1,4 @@ -# BrevoRuby::SubAccountUpdatePlanRequestFeatures +# Brevo::SubAccountUpdatePlanRequestFeatures ## Properties Name | Type | Description | Notes diff --git a/docs/SubAccountsResponse.md b/docs/SubAccountsResponse.md index a5e2634..19e33bf 100644 --- a/docs/SubAccountsResponse.md +++ b/docs/SubAccountsResponse.md @@ -1,4 +1,4 @@ -# BrevoRuby::SubAccountsResponse +# Brevo::SubAccountsResponse ## Properties Name | Type | Description | Notes diff --git a/docs/SubAccountsResponseSubAccounts.md b/docs/SubAccountsResponseSubAccounts.md index c1775bc..ed7a250 100644 --- a/docs/SubAccountsResponseSubAccounts.md +++ b/docs/SubAccountsResponseSubAccounts.md @@ -1,4 +1,4 @@ -# BrevoRuby::SubAccountsResponseSubAccounts +# Brevo::SubAccountsResponseSubAccounts ## Properties Name | Type | Description | Notes diff --git a/docs/Task.md b/docs/Task.md index b83cd66..ec899ab 100644 --- a/docs/Task.md +++ b/docs/Task.md @@ -1,4 +1,4 @@ -# BrevoRuby::Task +# Brevo::Task ## Properties Name | Type | Description | Notes diff --git a/docs/TaskList.md b/docs/TaskList.md index 45eb7da..9b0f4bf 100644 --- a/docs/TaskList.md +++ b/docs/TaskList.md @@ -1,4 +1,4 @@ -# BrevoRuby::TaskList +# Brevo::TaskList ## Properties Name | Type | Description | Notes diff --git a/docs/TaskReminder.md b/docs/TaskReminder.md index c6eb8e2..ea25519 100644 --- a/docs/TaskReminder.md +++ b/docs/TaskReminder.md @@ -1,4 +1,4 @@ -# BrevoRuby::TaskReminder +# Brevo::TaskReminder ## Properties Name | Type | Description | Notes diff --git a/docs/TaskTypes.md b/docs/TaskTypes.md index 67c49ff..8784b71 100644 --- a/docs/TaskTypes.md +++ b/docs/TaskTypes.md @@ -1,4 +1,4 @@ -# BrevoRuby::TaskTypes +# Brevo::TaskTypes ## Properties Name | Type | Description | Notes diff --git a/docs/TasksApi.md b/docs/TasksApi.md index 61afeae..f18c4bc 100644 --- a/docs/TasksApi.md +++ b/docs/TasksApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::TasksApi +# Brevo::TasksApi All URIs are relative to *https://api.brevo.com/v3* @@ -20,9 +20,9 @@ Get all tasks ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -34,7 +34,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TasksApi.new +api_instance = Brevo::TasksApi.new opts = { filter_type: 'filter_type_example', # String | Filter by task type (ID) @@ -56,7 +56,7 @@ begin #Get all tasks result = api_instance.crm_tasks_get(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TasksApi->crm_tasks_get: #{e}" end ``` @@ -102,9 +102,9 @@ Delete a task ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -116,7 +116,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TasksApi.new +api_instance = Brevo::TasksApi.new id = 'id_example' # String | @@ -124,7 +124,7 @@ id = 'id_example' # String | begin #Delete a task api_instance.crm_tasks_id_delete(id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TasksApi->crm_tasks_id_delete: #{e}" end ``` @@ -158,9 +158,9 @@ Get a task ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -172,7 +172,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TasksApi.new +api_instance = Brevo::TasksApi.new id = 'id_example' # String | @@ -181,7 +181,7 @@ begin #Get a task result = api_instance.crm_tasks_id_get(id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TasksApi->crm_tasks_id_get: #{e}" end ``` @@ -215,9 +215,9 @@ Update a task ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -229,17 +229,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TasksApi.new +api_instance = Brevo::TasksApi.new id = 'id_example' # String | -body = BrevoRuby::Body7.new # Body7 | Updated task details. +body = Brevo::Body7.new # Body7 | Updated task details. begin #Update a task api_instance.crm_tasks_id_patch(id, body) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TasksApi->crm_tasks_id_patch: #{e}" end ``` @@ -274,9 +274,9 @@ Create a task ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -288,16 +288,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TasksApi.new +api_instance = Brevo::TasksApi.new -body = BrevoRuby::Body6.new # Body6 | Task name. +body = Brevo::Body6.new # Body6 | Task name. begin #Create a task result = api_instance.crm_tasks_post(body) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TasksApi->crm_tasks_post: #{e}" end ``` @@ -331,9 +331,9 @@ Get all task types ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -345,13 +345,13 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TasksApi.new +api_instance = Brevo::TasksApi.new begin #Get all task types result = api_instance.crm_tasktypes_get p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TasksApi->crm_tasktypes_get: #{e}" end ``` diff --git a/docs/TransactionalEmailsApi.md b/docs/TransactionalEmailsApi.md index bf414cf..56cbcda 100644 --- a/docs/TransactionalEmailsApi.md +++ b/docs/TransactionalEmailsApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::TransactionalEmailsApi +# Brevo::TransactionalEmailsApi All URIs are relative to *https://api.brevo.com/v3* @@ -38,9 +38,9 @@ Blocks a new domain in order to avoid messages being sent to the same ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -52,15 +52,15 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new -block_domain = BrevoRuby::BlockDomain.new # BlockDomain | +block_domain = Brevo::BlockDomain.new # BlockDomain | begin #Add a new domain to the list of blocked domains api_instance.block_new_domain(block_domain) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->block_new_domain: #{e}" end ``` @@ -94,9 +94,9 @@ Create an email template ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -108,16 +108,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new -smtp_template = BrevoRuby::CreateSmtpTemplate.new # CreateSmtpTemplate | values to update in transactional email template +smtp_template = Brevo::CreateSmtpTemplate.new # CreateSmtpTemplate | values to update in transactional email template begin #Create an email template result = api_instance.create_smtp_template(smtp_template) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->create_smtp_template: #{e}" end ``` @@ -153,9 +153,9 @@ Unblocks an existing domain from the list of blocked domains ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -167,7 +167,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new domain = 'domain_example' # String | The name of the domain to be deleted @@ -175,7 +175,7 @@ domain = 'domain_example' # String | The name of the domain to be deleted begin #Unblock an existing domain from the list of blocked domains api_instance.delete_blocked_domain(domain) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->delete_blocked_domain: #{e}" end ``` @@ -211,9 +211,9 @@ Delete hardbounces. To use carefully (e.g. in case of temporary ISP failures) ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -225,16 +225,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new opts = { - delete_hardbounces: BrevoRuby::DeleteHardbounces.new # DeleteHardbounces | values to delete hardbounces + delete_hardbounces: Brevo::DeleteHardbounces.new # DeleteHardbounces | values to delete hardbounces } begin #Delete hardbounces api_instance.delete_hardbounces(opts) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->delete_hardbounces: #{e}" end ``` @@ -270,9 +270,9 @@ Delete scheduled batch of emails by batchId or single scheduled email by message ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -284,7 +284,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new identifier = 'identifier_example' # String | The `batchId` of scheduled emails batch (Should be a valid UUIDv4) or the `messageId` of scheduled email. @@ -292,7 +292,7 @@ identifier = 'identifier_example' # String | The `batchId` of scheduled emails b begin #Delete scheduled emails by batchId or messageId api_instance.delete_scheduled_email_by_id(identifier) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->delete_scheduled_email_by_id: #{e}" end ``` @@ -326,9 +326,9 @@ Delete an inactive email template ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -340,7 +340,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new template_id = 789 # Integer | id of the template @@ -348,7 +348,7 @@ template_id = 789 # Integer | id of the template begin #Delete an inactive email template api_instance.delete_smtp_template(template_id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->delete_smtp_template: #{e}" end ``` @@ -384,9 +384,9 @@ This endpoint will show the aggregated stats for past 90 days by default if `sta ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -398,7 +398,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new opts = { start_date: 'start_date_example', # String | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate @@ -411,7 +411,7 @@ begin #Get your transactional email activity aggregated over a period of time result = api_instance.get_aggregated_smtp_report(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->get_aggregated_smtp_report: #{e}" end ``` @@ -450,9 +450,9 @@ Get the list of blocked domains ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -464,13 +464,13 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new begin #Get the list of blocked domains result = api_instance.get_blocked_domains p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->get_blocked_domains: #{e}" end ``` @@ -503,9 +503,9 @@ This endpoint will show the aggregated stats for past 30 days by default if `sta ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -517,7 +517,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new opts = { limit: 2500, # Integer | Number limitation for the result returned @@ -537,7 +537,7 @@ begin #Get all your transactional email activity (unaggregated events) result = api_instance.get_email_event_report(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->get_email_event_report: #{e}" end ``` @@ -583,9 +583,9 @@ Fetch scheduled batch of emails by batchId (Can retrieve data upto 30 days old) ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -597,7 +597,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new batch_id = 'batch_id_example' # String | The batchId of scheduled emails batch (Should be a valid UUIDv4) @@ -614,7 +614,7 @@ begin #Fetch scheduled emails by batchId result = api_instance.get_scheduled_email_by_batch_id(batch_id, opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->get_scheduled_email_by_batch_id: #{e}" end ``` @@ -656,9 +656,9 @@ Fetch scheduled email by messageId (Can retrieve data upto 30 days old) ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -670,7 +670,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new message_id = 'message_id_example' # String | The messageId of scheduled email @@ -683,7 +683,7 @@ begin #Fetch scheduled email by messageId result = api_instance.get_scheduled_email_by_message_id(message_id, opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->get_scheduled_email_by_message_id: #{e}" end ``` @@ -719,9 +719,9 @@ Get your transactional email activity aggregated per day ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -733,7 +733,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new opts = { limit: 10, # Integer | Number of documents returned per page @@ -749,7 +749,7 @@ begin #Get your transactional email activity aggregated per day result = api_instance.get_smtp_report(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->get_smtp_report: #{e}" end ``` @@ -789,9 +789,9 @@ Returns the template information ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -803,7 +803,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new template_id = 789 # Integer | id of the template @@ -812,7 +812,7 @@ begin #Returns the template information result = api_instance.get_smtp_template(template_id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->get_smtp_template: #{e}" end ``` @@ -846,9 +846,9 @@ Get the list of email templates ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -860,7 +860,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new opts = { template_status: true, # BOOLEAN | Filter on the status of the template. Active = true, inactive = false @@ -873,7 +873,7 @@ begin #Get the list of email templates result = api_instance.get_smtp_templates(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->get_smtp_templates: #{e}" end ``` @@ -910,9 +910,9 @@ Get the list of blocked or unsubscribed transactional contacts ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -924,7 +924,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new opts = { start_date: 'start_date_example', # String | Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the blocked or unsubscribed contacts @@ -939,7 +939,7 @@ begin #Get the list of blocked or unsubscribed transactional contacts result = api_instance.get_transac_blocked_contacts(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->get_transac_blocked_contacts: #{e}" end ``` @@ -978,9 +978,9 @@ Get the personalized content of a sent transactional email ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -992,7 +992,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new uuid = 'uuid_example' # String | Unique id of the transactional email that has been sent to a particular contact @@ -1001,7 +1001,7 @@ begin #Get the personalized content of a sent transactional email result = api_instance.get_transac_email_content(uuid) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->get_transac_email_content: #{e}" end ``` @@ -1037,9 +1037,9 @@ This endpoint will show the list of emails for past 30 days by default. To retri ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1051,7 +1051,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new opts = { email: 'email_example', # String | Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent. @@ -1068,7 +1068,7 @@ begin #Get the list of transactional emails on the basis of allowed filters result = api_instance.get_transac_emails_list(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->get_transac_emails_list: #{e}" end ``` @@ -1109,9 +1109,9 @@ Send a template to your test list ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1123,17 +1123,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new template_id = 789 # Integer | Id of the template -send_test_email = BrevoRuby::SendTestEmail.new # SendTestEmail | +send_test_email = Brevo::SendTestEmail.new # SendTestEmail | begin #Send a template to your test list api_instance.send_test_template(template_id, send_test_email) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->send_test_template: #{e}" end ``` @@ -1168,9 +1168,9 @@ Send a transactional email ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1182,16 +1182,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new -send_smtp_email = BrevoRuby::SendSmtpEmail.new # SendSmtpEmail | Values to send a transactional email +send_smtp_email = Brevo::SendSmtpEmail.new # SendSmtpEmail | Values to send a transactional email begin #Send a transactional email result = api_instance.send_transac_email(send_smtp_email) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->send_transac_email: #{e}" end ``` @@ -1225,9 +1225,9 @@ Unblock or resubscribe a transactional contact ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1239,7 +1239,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new email = 'email_example' # String | contact email (urlencoded) to unblock. @@ -1247,7 +1247,7 @@ email = 'email_example' # String | contact email (urlencoded) to unblock. begin #Unblock or resubscribe a transactional contact api_instance.smtp_blocked_contacts_email_delete(email) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->smtp_blocked_contacts_email_delete: #{e}" end ``` @@ -1281,9 +1281,9 @@ Delete an SMTP transactional log ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1295,7 +1295,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new message_id = 'message_id_example' # String | MessageId of the transactional log to delete @@ -1303,7 +1303,7 @@ message_id = 'message_id_example' # String | MessageId of the transactional log begin #Delete an SMTP transactional log api_instance.smtp_log_message_id_delete(message_id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->smtp_log_message_id_delete: #{e}" end ``` @@ -1337,9 +1337,9 @@ Update an email template ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -1351,17 +1351,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalEmailsApi.new +api_instance = Brevo::TransactionalEmailsApi.new template_id = 789 # Integer | id of the template -smtp_template = BrevoRuby::UpdateSmtpTemplate.new # UpdateSmtpTemplate | values to update in transactional email template +smtp_template = Brevo::UpdateSmtpTemplate.new # UpdateSmtpTemplate | values to update in transactional email template begin #Update an email template api_instance.update_smtp_template(template_id, smtp_template) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalEmailsApi->update_smtp_template: #{e}" end ``` diff --git a/docs/TransactionalSMSApi.md b/docs/TransactionalSMSApi.md index 3f2a213..86d1605 100644 --- a/docs/TransactionalSMSApi.md +++ b/docs/TransactionalSMSApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::TransactionalSMSApi +# Brevo::TransactionalSMSApi All URIs are relative to *https://api.brevo.com/v3* @@ -18,9 +18,9 @@ Get all your SMS activity (unaggregated events) ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -32,7 +32,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalSMSApi.new +api_instance = Brevo::TransactionalSMSApi.new opts = { limit: 50, # Integer | Number of documents per page @@ -50,7 +50,7 @@ begin #Get all your SMS activity (unaggregated events) result = api_instance.get_sms_events(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalSMSApi->get_sms_events: #{e}" end ``` @@ -92,9 +92,9 @@ Get your SMS activity aggregated over a period of time ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -106,7 +106,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalSMSApi.new +api_instance = Brevo::TransactionalSMSApi.new opts = { start_date: 'start_date_example', # String | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report @@ -119,7 +119,7 @@ begin #Get your SMS activity aggregated over a period of time result = api_instance.get_transac_aggregated_sms_report(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalSMSApi->get_transac_aggregated_sms_report: #{e}" end ``` @@ -156,9 +156,9 @@ Get your SMS activity aggregated per day ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -170,7 +170,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalSMSApi.new +api_instance = Brevo::TransactionalSMSApi.new opts = { start_date: 'start_date_example', # String | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report @@ -184,7 +184,7 @@ begin #Get your SMS activity aggregated per day result = api_instance.get_transac_sms_report(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalSMSApi->get_transac_sms_report: #{e}" end ``` @@ -222,9 +222,9 @@ Send SMS message to a mobile number ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -236,16 +236,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalSMSApi.new +api_instance = Brevo::TransactionalSMSApi.new -send_transac_sms = BrevoRuby::SendTransacSms.new # SendTransacSms | Values to send a transactional SMS +send_transac_sms = Brevo::SendTransacSms.new # SendTransacSms | Values to send a transactional SMS begin #Send SMS message to a mobile number result = api_instance.send_transac_sms(send_transac_sms) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalSMSApi->send_transac_sms: #{e}" end ``` diff --git a/docs/TransactionalWhatsAppApi.md b/docs/TransactionalWhatsAppApi.md index cba5ee7..3a38452 100644 --- a/docs/TransactionalWhatsAppApi.md +++ b/docs/TransactionalWhatsAppApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::TransactionalWhatsAppApi +# Brevo::TransactionalWhatsAppApi All URIs are relative to *https://api.brevo.com/v3* @@ -18,9 +18,9 @@ This endpoint will show the unaggregated statistics for WhatsApp activity (30 da ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -32,7 +32,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalWhatsAppApi.new +api_instance = Brevo::TransactionalWhatsAppApi.new opts = { limit: 2500, # Integer | Number limitation for the result returned @@ -49,7 +49,7 @@ begin #Get all your WhatsApp activity (unaggregated events) result = api_instance.get_whatsapp_event_report(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalWhatsAppApi->get_whatsapp_event_report: #{e}" end ``` @@ -92,9 +92,9 @@ This endpoint is used to send a WhatsApp message.
(**The first message you ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -106,16 +106,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::TransactionalWhatsAppApi.new +api_instance = Brevo::TransactionalWhatsAppApi.new -send_whatsapp_message = BrevoRuby::SendWhatsappMessage.new # SendWhatsappMessage | Values to send WhatsApp message +send_whatsapp_message = Brevo::SendWhatsappMessage.new # SendWhatsappMessage | Values to send WhatsApp message begin #Send a WhatsApp message result = api_instance.send_whatsapp_message(send_whatsapp_message) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling TransactionalWhatsAppApi->send_whatsapp_message: #{e}" end ``` diff --git a/docs/UpdateAttribute.md b/docs/UpdateAttribute.md index 4deb8b6..d0de98e 100644 --- a/docs/UpdateAttribute.md +++ b/docs/UpdateAttribute.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateAttribute +# Brevo::UpdateAttribute ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateAttributeEnumeration.md b/docs/UpdateAttributeEnumeration.md index 42c7ef1..faefd09 100644 --- a/docs/UpdateAttributeEnumeration.md +++ b/docs/UpdateAttributeEnumeration.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateAttributeEnumeration +# Brevo::UpdateAttributeEnumeration ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateBatchContacts.md b/docs/UpdateBatchContacts.md index 092f375..683f23a 100644 --- a/docs/UpdateBatchContacts.md +++ b/docs/UpdateBatchContacts.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateBatchContacts +# Brevo::UpdateBatchContacts ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateBatchContactsContacts.md b/docs/UpdateBatchContactsContacts.md index fb059ed..fbf1948 100644 --- a/docs/UpdateBatchContactsContacts.md +++ b/docs/UpdateBatchContactsContacts.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateBatchContactsContacts +# Brevo::UpdateBatchContactsContacts ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateBatchContactsModel.md b/docs/UpdateBatchContactsModel.md index 53444a1..4f5286f 100644 --- a/docs/UpdateBatchContactsModel.md +++ b/docs/UpdateBatchContactsModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateBatchContactsModel +# Brevo::UpdateBatchContactsModel ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateCampaignStatus.md b/docs/UpdateCampaignStatus.md index 690df89..8535932 100644 --- a/docs/UpdateCampaignStatus.md +++ b/docs/UpdateCampaignStatus.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateCampaignStatus +# Brevo::UpdateCampaignStatus ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateChild.md b/docs/UpdateChild.md index 0046ea0..f17f0a2 100644 --- a/docs/UpdateChild.md +++ b/docs/UpdateChild.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateChild +# Brevo::UpdateChild ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateChildAccountStatus.md b/docs/UpdateChildAccountStatus.md index 878bc41..b21b024 100644 --- a/docs/UpdateChildAccountStatus.md +++ b/docs/UpdateChildAccountStatus.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateChildAccountStatus +# Brevo::UpdateChildAccountStatus ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateChildDomain.md b/docs/UpdateChildDomain.md index f46ae62..ff24d02 100644 --- a/docs/UpdateChildDomain.md +++ b/docs/UpdateChildDomain.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateChildDomain +# Brevo::UpdateChildDomain ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateContact.md b/docs/UpdateContact.md index 128213a..1b028e5 100644 --- a/docs/UpdateContact.md +++ b/docs/UpdateContact.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateContact +# Brevo::UpdateContact ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateCouponCollection.md b/docs/UpdateCouponCollection.md index 6c05f3e..3206671 100644 --- a/docs/UpdateCouponCollection.md +++ b/docs/UpdateCouponCollection.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateCouponCollection +# Brevo::UpdateCouponCollection ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateEmailCampaign.md b/docs/UpdateEmailCampaign.md index 98216f6..e93ab76 100644 --- a/docs/UpdateEmailCampaign.md +++ b/docs/UpdateEmailCampaign.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateEmailCampaign +# Brevo::UpdateEmailCampaign ## Properties Name | Type | Description | Notes @@ -10,6 +10,7 @@ Name | Type | Description | Notes **html_url** | **String** | Url which contents the body of the email message. REQUIRED if htmlContent is empty | [optional] **scheduled_at** | **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] +**preview_text** | **String** | Preview text or preheader of the email campaign | [optional] **reply_to** | **String** | Email on which campaign recipients will be able to reply to | [optional] **to_field** | **String** | To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your Brevo account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization | [optional] **recipients** | [**UpdateEmailCampaignRecipients**](UpdateEmailCampaignRecipients.md) | | [optional] diff --git a/docs/UpdateEmailCampaignRecipients.md b/docs/UpdateEmailCampaignRecipients.md index 10d33d4..449733d 100644 --- a/docs/UpdateEmailCampaignRecipients.md +++ b/docs/UpdateEmailCampaignRecipients.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateEmailCampaignRecipients +# Brevo::UpdateEmailCampaignRecipients ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateEmailCampaignSender.md b/docs/UpdateEmailCampaignSender.md index b16e240..108ad79 100644 --- a/docs/UpdateEmailCampaignSender.md +++ b/docs/UpdateEmailCampaignSender.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateEmailCampaignSender +# Brevo::UpdateEmailCampaignSender ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateExternalFeed.md b/docs/UpdateExternalFeed.md index c26ea32..652a6d3 100644 --- a/docs/UpdateExternalFeed.md +++ b/docs/UpdateExternalFeed.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateExternalFeed +# Brevo::UpdateExternalFeed ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateList.md b/docs/UpdateList.md index 1c93fb1..7f90526 100644 --- a/docs/UpdateList.md +++ b/docs/UpdateList.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateList +# Brevo::UpdateList ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateSender.md b/docs/UpdateSender.md index 9d4c8cb..43d78ff 100644 --- a/docs/UpdateSender.md +++ b/docs/UpdateSender.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateSender +# Brevo::UpdateSender ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateSmsCampaign.md b/docs/UpdateSmsCampaign.md index c41052e..968ba5f 100644 --- a/docs/UpdateSmsCampaign.md +++ b/docs/UpdateSmsCampaign.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateSmsCampaign +# Brevo::UpdateSmsCampaign ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateSmtpTemplate.md b/docs/UpdateSmtpTemplate.md index 006aa37..53ad329 100644 --- a/docs/UpdateSmtpTemplate.md +++ b/docs/UpdateSmtpTemplate.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateSmtpTemplate +# Brevo::UpdateSmtpTemplate ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateSmtpTemplateSender.md b/docs/UpdateSmtpTemplateSender.md index 0f71074..210cd11 100644 --- a/docs/UpdateSmtpTemplateSender.md +++ b/docs/UpdateSmtpTemplateSender.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateSmtpTemplateSender +# Brevo::UpdateSmtpTemplateSender ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateWebhook.md b/docs/UpdateWebhook.md index 5862cab..05d1578 100644 --- a/docs/UpdateWebhook.md +++ b/docs/UpdateWebhook.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateWebhook +# Brevo::UpdateWebhook ## Properties Name | Type | Description | Notes diff --git a/docs/UpdateWhatsAppCampaign.md b/docs/UpdateWhatsAppCampaign.md index b204a71..9e0a418 100644 --- a/docs/UpdateWhatsAppCampaign.md +++ b/docs/UpdateWhatsAppCampaign.md @@ -1,4 +1,4 @@ -# BrevoRuby::UpdateWhatsAppCampaign +# Brevo::UpdateWhatsAppCampaign ## Properties Name | Type | Description | Notes diff --git a/docs/UploadImageModel.md b/docs/UploadImageModel.md index 41423d1..bd16be6 100644 --- a/docs/UploadImageModel.md +++ b/docs/UploadImageModel.md @@ -1,4 +1,4 @@ -# BrevoRuby::UploadImageModel +# Brevo::UploadImageModel ## Properties Name | Type | Description | Notes diff --git a/docs/UploadImageToGallery.md b/docs/UploadImageToGallery.md index ec975df..ac4e48c 100644 --- a/docs/UploadImageToGallery.md +++ b/docs/UploadImageToGallery.md @@ -1,4 +1,4 @@ -# BrevoRuby::UploadImageToGallery +# Brevo::UploadImageToGallery ## Properties Name | Type | Description | Notes diff --git a/docs/UserApi.md b/docs/UserApi.md index ce1448a..8f6b0c1 100644 --- a/docs/UserApi.md +++ b/docs/UserApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::UserApi +# Brevo::UserApi All URIs are relative to *https://api.brevo.com/v3* @@ -16,9 +16,9 @@ Get the list of all your users ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -30,13 +30,13 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::UserApi.new +api_instance = Brevo::UserApi.new begin #Get the list of all your users result = api_instance.get_invited_users_list p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling UserApi->get_invited_users_list: #{e}" end ``` @@ -67,9 +67,9 @@ Check user permission ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -81,7 +81,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::UserApi.new +api_instance = Brevo::UserApi.new email = 'email_example' # String | Email of the invited user. @@ -90,7 +90,7 @@ begin #Check user permission result = api_instance.get_user_permission(email) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling UserApi->get_user_permission: #{e}" end ``` diff --git a/docs/VariablesItems.md b/docs/VariablesItems.md index dad0623..91900b7 100644 --- a/docs/VariablesItems.md +++ b/docs/VariablesItems.md @@ -1,4 +1,4 @@ -# BrevoRuby::VariablesItems +# Brevo::VariablesItems ## Properties Name | Type | Description | Notes diff --git a/docs/WebhooksApi.md b/docs/WebhooksApi.md index be18b12..3cee203 100644 --- a/docs/WebhooksApi.md +++ b/docs/WebhooksApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::WebhooksApi +# Brevo::WebhooksApi All URIs are relative to *https://api.brevo.com/v3* @@ -20,9 +20,9 @@ Create a webhook ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -34,16 +34,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WebhooksApi.new +api_instance = Brevo::WebhooksApi.new -create_webhook = BrevoRuby::CreateWebhook.new # CreateWebhook | Values to create a webhook +create_webhook = Brevo::CreateWebhook.new # CreateWebhook | Values to create a webhook begin #Create a webhook result = api_instance.create_webhook(create_webhook) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WebhooksApi->create_webhook: #{e}" end ``` @@ -77,9 +77,9 @@ Delete a webhook ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -91,7 +91,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WebhooksApi.new +api_instance = Brevo::WebhooksApi.new webhook_id = 789 # Integer | Id of the webhook @@ -99,7 +99,7 @@ webhook_id = 789 # Integer | Id of the webhook begin #Delete a webhook api_instance.delete_webhook(webhook_id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WebhooksApi->delete_webhook: #{e}" end ``` @@ -135,9 +135,9 @@ This endpoint will submit a request to get the history of webhooks in the CSV fi ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -149,16 +149,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WebhooksApi.new +api_instance = Brevo::WebhooksApi.new -export_webhook_history = BrevoRuby::ExportWebhooksHistory.new # ExportWebhooksHistory | Values to submit for webhooks history +export_webhook_history = Brevo::ExportWebhooksHistory.new # ExportWebhooksHistory | Values to submit for webhooks history begin #Export all transactional events result = api_instance.export_webhooks_history(export_webhook_history) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WebhooksApi->export_webhooks_history: #{e}" end ``` @@ -192,9 +192,9 @@ Get a webhook details ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -206,7 +206,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WebhooksApi.new +api_instance = Brevo::WebhooksApi.new webhook_id = 789 # Integer | Id of the webhook @@ -215,7 +215,7 @@ begin #Get a webhook details result = api_instance.get_webhook(webhook_id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WebhooksApi->get_webhook: #{e}" end ``` @@ -249,9 +249,9 @@ Get all webhooks ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -263,7 +263,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WebhooksApi.new +api_instance = Brevo::WebhooksApi.new opts = { type: 'transactional', # String | Filter on webhook type @@ -274,7 +274,7 @@ begin #Get all webhooks result = api_instance.get_webhooks(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WebhooksApi->get_webhooks: #{e}" end ``` @@ -309,9 +309,9 @@ Update a webhook ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -323,17 +323,17 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WebhooksApi.new +api_instance = Brevo::WebhooksApi.new webhook_id = 789 # Integer | Id of the webhook -update_webhook = BrevoRuby::UpdateWebhook.new # UpdateWebhook | Values to update a webhook +update_webhook = Brevo::UpdateWebhook.new # UpdateWebhook | Values to update a webhook begin #Update a webhook api_instance.update_webhook(webhook_id, update_webhook) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WebhooksApi->update_webhook: #{e}" end ``` diff --git a/docs/WhatsAppCampaignsApi.md b/docs/WhatsAppCampaignsApi.md index 6a1805d..a2b298f 100644 --- a/docs/WhatsAppCampaignsApi.md +++ b/docs/WhatsAppCampaignsApi.md @@ -1,4 +1,4 @@ -# BrevoRuby::WhatsAppCampaignsApi +# Brevo::WhatsAppCampaignsApi All URIs are relative to *https://api.brevo.com/v3* @@ -23,9 +23,9 @@ Create and Send a WhatsApp campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -37,16 +37,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WhatsAppCampaignsApi.new +api_instance = Brevo::WhatsAppCampaignsApi.new -whats_app_campaigns = BrevoRuby::CreateWhatsAppCampaign.new # CreateWhatsAppCampaign | Values to create a campaign +whats_app_campaigns = Brevo::CreateWhatsAppCampaign.new # CreateWhatsAppCampaign | Values to create a campaign begin #Create and Send a WhatsApp campaign result = api_instance.create_whats_app_campaign(whats_app_campaigns) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WhatsAppCampaignsApi->create_whats_app_campaign: #{e}" end ``` @@ -80,9 +80,9 @@ Create a WhatsApp template ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -94,16 +94,16 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WhatsAppCampaignsApi.new +api_instance = Brevo::WhatsAppCampaignsApi.new -whats_app_templates = BrevoRuby::CreateWhatsAppTemplate.new # CreateWhatsAppTemplate | Values to create a template +whats_app_templates = Brevo::CreateWhatsAppTemplate.new # CreateWhatsAppTemplate | Values to create a template begin #Create a WhatsApp template result = api_instance.create_whats_app_template(whats_app_templates) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WhatsAppCampaignsApi->create_whats_app_template: #{e}" end ``` @@ -137,9 +137,9 @@ Delete a WhatsApp campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -151,7 +151,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WhatsAppCampaignsApi.new +api_instance = Brevo::WhatsAppCampaignsApi.new campaign_id = 789 # Integer | id of the campaign @@ -159,7 +159,7 @@ campaign_id = 789 # Integer | id of the campaign begin #Delete a WhatsApp campaign api_instance.delete_whats_app_campaign(campaign_id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WhatsAppCampaignsApi->delete_whats_app_campaign: #{e}" end ``` @@ -193,9 +193,9 @@ Get a WhatsApp campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -207,7 +207,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WhatsAppCampaignsApi.new +api_instance = Brevo::WhatsAppCampaignsApi.new campaign_id = 789 # Integer | Id of the campaign @@ -216,7 +216,7 @@ begin #Get a WhatsApp campaign result = api_instance.get_whats_app_campaign(campaign_id) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WhatsAppCampaignsApi->get_whats_app_campaign: #{e}" end ``` @@ -250,9 +250,9 @@ Return all your created WhatsApp campaigns ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -264,7 +264,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WhatsAppCampaignsApi.new +api_instance = Brevo::WhatsAppCampaignsApi.new opts = { start_date: 'start_date_example', # String | **Mandatory if endDate is used**. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the campaigns created. **Prefer to pass your timezone in date-time format for accurate result** @@ -278,7 +278,7 @@ begin #Return all your created WhatsApp campaigns result = api_instance.get_whats_app_campaigns(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WhatsAppCampaignsApi->get_whats_app_campaigns: #{e}" end ``` @@ -316,9 +316,9 @@ Get your WhatsApp API account information ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -330,13 +330,13 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WhatsAppCampaignsApi.new +api_instance = Brevo::WhatsAppCampaignsApi.new begin #Get your WhatsApp API account information result = api_instance.get_whats_app_config p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WhatsAppCampaignsApi->get_whats_app_config: #{e}" end ``` @@ -367,9 +367,9 @@ Return all your created WhatsApp templates ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -381,7 +381,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WhatsAppCampaignsApi.new +api_instance = Brevo::WhatsAppCampaignsApi.new opts = { start_date: 'start_date_example', # String | **Mandatory if endDate is used**. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the templates created. **Prefer to pass your timezone in date-time format for accurate result** @@ -395,7 +395,7 @@ begin #Return all your created WhatsApp templates result = api_instance.get_whats_app_templates(opts) p result -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WhatsAppCampaignsApi->get_whats_app_templates: #{e}" end ``` @@ -433,9 +433,9 @@ Send your WhatsApp template for approval ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -447,7 +447,7 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WhatsAppCampaignsApi.new +api_instance = Brevo::WhatsAppCampaignsApi.new template_id = 789 # Integer | id of the campaign @@ -455,7 +455,7 @@ template_id = 789 # Integer | id of the campaign begin #Send your WhatsApp template for approval api_instance.send_whats_app_template_approval(template_id) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WhatsAppCampaignsApi->send_whats_app_template_approval: #{e}" end ``` @@ -489,9 +489,9 @@ Update a WhatsApp campaign ### Example ```ruby # load the gem -require 'brevo-ruby' +require 'brevo' # setup authorization -BrevoRuby.configure do |config| +Brevo.configure do |config| # Configure API key authorization: api-key config.api_key['api-key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) @@ -503,18 +503,18 @@ BrevoRuby.configure do |config| #config.api_key_prefix['partner-key'] = 'Bearer' end -api_instance = BrevoRuby::WhatsAppCampaignsApi.new +api_instance = Brevo::WhatsAppCampaignsApi.new campaign_id = 789 # Integer | Id of the campaign opts = { - whats_app_campaign: BrevoRuby::UpdateWhatsAppCampaign.new # UpdateWhatsAppCampaign | values to update WhatsApp Campaign + whats_app_campaign: Brevo::UpdateWhatsAppCampaign.new # UpdateWhatsAppCampaign | values to update WhatsApp Campaign } begin #Update a WhatsApp campaign api_instance.update_whats_app_campaign(campaign_id, opts) -rescue BrevoRuby::ApiError => e +rescue Brevo::ApiError => e puts "Exception when calling WhatsAppCampaignsApi->update_whats_app_campaign: #{e}" end ``` diff --git a/docs/WhatsappCampStats.md b/docs/WhatsappCampStats.md index 104a2a3..54afba1 100644 --- a/docs/WhatsappCampStats.md +++ b/docs/WhatsappCampStats.md @@ -1,4 +1,4 @@ -# BrevoRuby::WhatsappCampStats +# Brevo::WhatsappCampStats ## Properties Name | Type | Description | Notes diff --git a/docs/WhatsappCampTemplate.md b/docs/WhatsappCampTemplate.md index f0d53dd..4b6c489 100644 --- a/docs/WhatsappCampTemplate.md +++ b/docs/WhatsappCampTemplate.md @@ -1,4 +1,4 @@ -# BrevoRuby::WhatsappCampTemplate +# Brevo::WhatsappCampTemplate ## Properties Name | Type | Description | Notes diff --git a/lib/brevo-ruby.rb b/lib/brevo-ruby.rb deleted file mode 100644 index 5d5371e..0000000 --- a/lib/brevo-ruby.rb +++ /dev/null @@ -1,393 +0,0 @@ -=begin -#Brevo API - -#Brevo 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/getbrevo **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@brevo.com -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.19 - -=end - -# Common files -require 'brevo-ruby/api_client' -require 'brevo-ruby/api_error' -require 'brevo-ruby/version' -require 'brevo-ruby/configuration' - -# Models -require 'brevo-ruby/models/ab_test_campaign_result' -require 'brevo-ruby/models/ab_test_campaign_result_clicked_links' -require 'brevo-ruby/models/ab_test_campaign_result_statistics' -require 'brevo-ruby/models/ab_test_version_clicks' -require 'brevo-ruby/models/ab_test_version_clicks_inner' -require 'brevo-ruby/models/ab_test_version_stats' -require 'brevo-ruby/models/add_child_domain' -require 'brevo-ruby/models/add_contact_to_list' -require 'brevo-ruby/models/add_credits' -require 'brevo-ruby/models/authenticate_domain_model' -require 'brevo-ruby/models/block_domain' -require 'brevo-ruby/models/body' -require 'brevo-ruby/models/body_1' -require 'brevo-ruby/models/body_10' -require 'brevo-ruby/models/body_11' -require 'brevo-ruby/models/body_12' -require 'brevo-ruby/models/body_2' -require 'brevo-ruby/models/body_3' -require 'brevo-ruby/models/body_4' -require 'brevo-ruby/models/body_5' -require 'brevo-ruby/models/body_6' -require 'brevo-ruby/models/body_7' -require 'brevo-ruby/models/body_8' -require 'brevo-ruby/models/body_9' -require 'brevo-ruby/models/body_variables_items' -require 'brevo-ruby/models/companies_list' -require 'brevo-ruby/models/company' -require 'brevo-ruby/models/company_attributes' -require 'brevo-ruby/models/company_attributes_inner' -require 'brevo-ruby/models/component_items' -require 'brevo-ruby/models/conversations_message' -require 'brevo-ruby/models/conversations_message_file' -require 'brevo-ruby/models/conversations_message_file_image_info' -require 'brevo-ruby/models/create_api_key_request' -require 'brevo-ruby/models/create_api_key_response' -require 'brevo-ruby/models/create_attribute' -require 'brevo-ruby/models/create_attribute_enumeration' -require 'brevo-ruby/models/create_category_model' -require 'brevo-ruby/models/create_child' -require 'brevo-ruby/models/create_contact' -require 'brevo-ruby/models/create_coupon_collection' -require 'brevo-ruby/models/create_coupons' -require 'brevo-ruby/models/create_doi_contact' -require 'brevo-ruby/models/create_domain' -require 'brevo-ruby/models/create_domain_model' -require 'brevo-ruby/models/create_domain_model_dns_records' -require 'brevo-ruby/models/create_domain_model_dns_records_dkim_record' -require 'brevo-ruby/models/create_email_campaign' -require 'brevo-ruby/models/create_email_campaign_recipients' -require 'brevo-ruby/models/create_email_campaign_sender' -require 'brevo-ruby/models/create_external_feed' -require 'brevo-ruby/models/create_list' -require 'brevo-ruby/models/create_model' -require 'brevo-ruby/models/create_product_model' -require 'brevo-ruby/models/create_reseller' -require 'brevo-ruby/models/create_sender' -require 'brevo-ruby/models/create_sender_ips' -require 'brevo-ruby/models/create_sender_model' -require 'brevo-ruby/models/create_sms_campaign' -require 'brevo-ruby/models/create_sms_campaign_recipients' -require 'brevo-ruby/models/create_smtp_email' -require 'brevo-ruby/models/create_smtp_template' -require 'brevo-ruby/models/create_smtp_template_sender' -require 'brevo-ruby/models/create_sub_account' -require 'brevo-ruby/models/create_sub_account_response' -require 'brevo-ruby/models/create_update_batch_category' -require 'brevo-ruby/models/create_update_batch_category_model' -require 'brevo-ruby/models/create_update_batch_products' -require 'brevo-ruby/models/create_update_batch_products_model' -require 'brevo-ruby/models/create_update_categories' -require 'brevo-ruby/models/create_update_category' -require 'brevo-ruby/models/create_update_contact_model' -require 'brevo-ruby/models/create_update_folder' -require 'brevo-ruby/models/create_update_product' -require 'brevo-ruby/models/create_update_products' -require 'brevo-ruby/models/create_webhook' -require 'brevo-ruby/models/create_whats_app_campaign' -require 'brevo-ruby/models/create_whats_app_campaign_recipients' -require 'brevo-ruby/models/create_whats_app_template' -require 'brevo-ruby/models/created_batch_id' -require 'brevo-ruby/models/created_process_id' -require 'brevo-ruby/models/deal' -require 'brevo-ruby/models/deal_attributes' -require 'brevo-ruby/models/deal_attributes_inner' -require 'brevo-ruby/models/deals_list' -require 'brevo-ruby/models/delete_hardbounces' -require 'brevo-ruby/models/email_export_recipients' -require 'brevo-ruby/models/error_model' -require 'brevo-ruby/models/export_webhooks_history' -require 'brevo-ruby/models/file_data' -require 'brevo-ruby/models/file_downloadable_link' -require 'brevo-ruby/models/file_list' -require 'brevo-ruby/models/get_account' -require 'brevo-ruby/models/get_account_activity' -require 'brevo-ruby/models/get_account_activity_logs' -require 'brevo-ruby/models/get_account_marketing_automation' -require 'brevo-ruby/models/get_account_plan' -require 'brevo-ruby/models/get_account_relay' -require 'brevo-ruby/models/get_account_relay_data' -require 'brevo-ruby/models/get_aggregated_report' -require 'brevo-ruby/models/get_all_external_feeds' -require 'brevo-ruby/models/get_all_external_feeds_feeds' -require 'brevo-ruby/models/get_attributes' -require 'brevo-ruby/models/get_attributes_attributes' -require 'brevo-ruby/models/get_attributes_enumeration' -require 'brevo-ruby/models/get_blocked_domains' -require 'brevo-ruby/models/get_campaign_overview' -require 'brevo-ruby/models/get_campaign_recipients' -require 'brevo-ruby/models/get_campaign_stats' -require 'brevo-ruby/models/get_categories' -require 'brevo-ruby/models/get_category_details' -require 'brevo-ruby/models/get_child_account_creation_status' -require 'brevo-ruby/models/get_child_domain' -require 'brevo-ruby/models/get_child_domains' -require 'brevo-ruby/models/get_child_info' -require 'brevo-ruby/models/get_child_info_api_keys' -require 'brevo-ruby/models/get_child_info_api_keys_v2' -require 'brevo-ruby/models/get_child_info_api_keys_v3' -require 'brevo-ruby/models/get_child_info_credits' -require 'brevo-ruby/models/get_child_info_statistics' -require 'brevo-ruby/models/get_children_list' -require 'brevo-ruby/models/get_client' -require 'brevo-ruby/models/get_contact_campaign_stats' -require 'brevo-ruby/models/get_contact_campaign_stats_clicked' -require 'brevo-ruby/models/get_contact_campaign_stats_opened' -require 'brevo-ruby/models/get_contact_campaign_stats_transac_attributes' -require 'brevo-ruby/models/get_contact_campaign_stats_unsubscriptions' -require 'brevo-ruby/models/get_contact_details' -require 'brevo-ruby/models/get_contacts' -require 'brevo-ruby/models/get_coupon_collection' -require 'brevo-ruby/models/get_device_browser_stats' -require 'brevo-ruby/models/get_domain_configuration_model' -require 'brevo-ruby/models/get_domains_list' -require 'brevo-ruby/models/get_domains_list_domains' -require 'brevo-ruby/models/get_email_campaign' -require 'brevo-ruby/models/get_email_campaigns' -require 'brevo-ruby/models/get_email_event_report' -require 'brevo-ruby/models/get_email_event_report_events' -require 'brevo-ruby/models/get_extended_campaign_overview' -require 'brevo-ruby/models/get_extended_campaign_overview_sender' -require 'brevo-ruby/models/get_extended_campaign_stats' -require 'brevo-ruby/models/get_extended_campaign_stats_global_stats' -require 'brevo-ruby/models/get_extended_client' -require 'brevo-ruby/models/get_extended_client_address' -require 'brevo-ruby/models/get_extended_contact_details' -require 'brevo-ruby/models/get_extended_contact_details_statistics' -require 'brevo-ruby/models/get_extended_contact_details_statistics_clicked' -require 'brevo-ruby/models/get_extended_contact_details_statistics_delivered' -require 'brevo-ruby/models/get_extended_contact_details_statistics_links' -require 'brevo-ruby/models/get_extended_contact_details_statistics_messages_sent' -require 'brevo-ruby/models/get_extended_contact_details_statistics_opened' -require 'brevo-ruby/models/get_extended_contact_details_statistics_unsubscriptions' -require 'brevo-ruby/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription' -require 'brevo-ruby/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription' -require 'brevo-ruby/models/get_extended_list' -require 'brevo-ruby/models/get_extended_list_campaign_stats' -require 'brevo-ruby/models/get_external_feed_by_uuid' -require 'brevo-ruby/models/get_external_feed_by_uuid_headers' -require 'brevo-ruby/models/get_folder' -require 'brevo-ruby/models/get_folder_lists' -require 'brevo-ruby/models/get_folders' -require 'brevo-ruby/models/get_inbound_email_events' -require 'brevo-ruby/models/get_inbound_email_events_by_uuid' -require 'brevo-ruby/models/get_inbound_email_events_by_uuid_attachments' -require 'brevo-ruby/models/get_inbound_email_events_by_uuid_logs' -require 'brevo-ruby/models/get_inbound_email_events_events' -require 'brevo-ruby/models/get_invited_users_list' -require 'brevo-ruby/models/get_invited_users_list_feature_access' -require 'brevo-ruby/models/get_invited_users_list_users' -require 'brevo-ruby/models/get_ip' -require 'brevo-ruby/models/get_ip_from_sender' -require 'brevo-ruby/models/get_ips' -require 'brevo-ruby/models/get_ips_from_sender' -require 'brevo-ruby/models/get_list' -require 'brevo-ruby/models/get_lists' -require 'brevo-ruby/models/get_process' -require 'brevo-ruby/models/get_processes' -require 'brevo-ruby/models/get_product_details' -require 'brevo-ruby/models/get_products' -require 'brevo-ruby/models/get_reports' -require 'brevo-ruby/models/get_reports_reports' -require 'brevo-ruby/models/get_scheduled_email_by_batch_id' -require 'brevo-ruby/models/get_scheduled_email_by_batch_id_batches' -require 'brevo-ruby/models/get_scheduled_email_by_message_id' -require 'brevo-ruby/models/get_segments' -require 'brevo-ruby/models/get_segments_segments' -require 'brevo-ruby/models/get_senders_list' -require 'brevo-ruby/models/get_senders_list_ips' -require 'brevo-ruby/models/get_senders_list_senders' -require 'brevo-ruby/models/get_shared_template_url' -require 'brevo-ruby/models/get_sms_campaign' -require 'brevo-ruby/models/get_sms_campaign_overview' -require 'brevo-ruby/models/get_sms_campaign_recipients' -require 'brevo-ruby/models/get_sms_campaign_stats' -require 'brevo-ruby/models/get_sms_campaigns' -require 'brevo-ruby/models/get_sms_event_report' -require 'brevo-ruby/models/get_sms_event_report_events' -require 'brevo-ruby/models/get_smtp_template_overview' -require 'brevo-ruby/models/get_smtp_template_overview_sender' -require 'brevo-ruby/models/get_smtp_templates' -require 'brevo-ruby/models/get_sso_token' -require 'brevo-ruby/models/get_stats_by_browser' -require 'brevo-ruby/models/get_stats_by_device' -require 'brevo-ruby/models/get_stats_by_domain' -require 'brevo-ruby/models/get_transac_aggregated_sms_report' -require 'brevo-ruby/models/get_transac_blocked_contacts' -require 'brevo-ruby/models/get_transac_blocked_contacts_contacts' -require 'brevo-ruby/models/get_transac_blocked_contacts_reason' -require 'brevo-ruby/models/get_transac_email_content' -require 'brevo-ruby/models/get_transac_email_content_events' -require 'brevo-ruby/models/get_transac_emails_list' -require 'brevo-ruby/models/get_transac_emails_list_transactional_emails' -require 'brevo-ruby/models/get_transac_sms_report' -require 'brevo-ruby/models/get_transac_sms_report_reports' -require 'brevo-ruby/models/get_user_permission' -require 'brevo-ruby/models/get_user_permission_privileges' -require 'brevo-ruby/models/get_wa_templates' -require 'brevo-ruby/models/get_wa_templates_templates' -require 'brevo-ruby/models/get_webhook' -require 'brevo-ruby/models/get_webhooks' -require 'brevo-ruby/models/get_whats_app_config' -require 'brevo-ruby/models/get_whatsapp_campaign_overview' -require 'brevo-ruby/models/get_whatsapp_campaigns' -require 'brevo-ruby/models/get_whatsapp_campaigns_campaigns' -require 'brevo-ruby/models/get_whatsapp_event_report' -require 'brevo-ruby/models/get_whatsapp_event_report_events' -require 'brevo-ruby/models/inline_response_200' -require 'brevo-ruby/models/inline_response_200_1' -require 'brevo-ruby/models/inline_response_201' -require 'brevo-ruby/models/inline_response_201_1' -require 'brevo-ruby/models/inline_response_201_2' -require 'brevo-ruby/models/inline_response_201_3' -require 'brevo-ruby/models/inline_response_201_4' -require 'brevo-ruby/models/manage_ip' -require 'brevo-ruby/models/master_details_response' -require 'brevo-ruby/models/master_details_response_billing_info' -require 'brevo-ruby/models/master_details_response_billing_info_address' -require 'brevo-ruby/models/master_details_response_billing_info_name' -require 'brevo-ruby/models/master_details_response_plan_info' -require 'brevo-ruby/models/master_details_response_plan_info_features' -require 'brevo-ruby/models/note' -require 'brevo-ruby/models/note_data' -require 'brevo-ruby/models/note_id' -require 'brevo-ruby/models/note_list' -require 'brevo-ruby/models/order' -require 'brevo-ruby/models/order_batch' -require 'brevo-ruby/models/order_billing' -require 'brevo-ruby/models/order_products' -require 'brevo-ruby/models/otp' -require 'brevo-ruby/models/pipeline' -require 'brevo-ruby/models/pipeline_stage' -require 'brevo-ruby/models/pipelines' -require 'brevo-ruby/models/post_contact_info' -require 'brevo-ruby/models/post_contact_info_contacts' -require 'brevo-ruby/models/post_send_failed' -require 'brevo-ruby/models/post_send_sms_test_failed' -require 'brevo-ruby/models/remaining_credit_model' -require 'brevo-ruby/models/remaining_credit_model_child' -require 'brevo-ruby/models/remaining_credit_model_reseller' -require 'brevo-ruby/models/remove_contact_from_list' -require 'brevo-ruby/models/remove_credits' -require 'brevo-ruby/models/request_contact_export' -require 'brevo-ruby/models/request_contact_export_custom_contact_filter' -require 'brevo-ruby/models/request_contact_import' -require 'brevo-ruby/models/request_contact_import_new_list' -require 'brevo-ruby/models/request_sms_recipient_export' -require 'brevo-ruby/models/schedule_smtp_email' -require 'brevo-ruby/models/send_report' -require 'brevo-ruby/models/send_report_email' -require 'brevo-ruby/models/send_sms' -require 'brevo-ruby/models/send_smtp_email' -require 'brevo-ruby/models/send_smtp_email_attachment' -require 'brevo-ruby/models/send_smtp_email_bcc' -require 'brevo-ruby/models/send_smtp_email_cc' -require 'brevo-ruby/models/send_smtp_email_message_versions' -require 'brevo-ruby/models/send_smtp_email_reply_to' -require 'brevo-ruby/models/send_smtp_email_reply_to_1' -require 'brevo-ruby/models/send_smtp_email_sender' -require 'brevo-ruby/models/send_smtp_email_to' -require 'brevo-ruby/models/send_smtp_email_to_1' -require 'brevo-ruby/models/send_test_email' -require 'brevo-ruby/models/send_test_sms' -require 'brevo-ruby/models/send_transac_sms' -require 'brevo-ruby/models/send_whatsapp_message' -require 'brevo-ruby/models/sso_token_request' -require 'brevo-ruby/models/sub_account_details_response' -require 'brevo-ruby/models/sub_account_details_response_plan_info' -require 'brevo-ruby/models/sub_account_details_response_plan_info_credits' -require 'brevo-ruby/models/sub_account_details_response_plan_info_credits_emails' -require 'brevo-ruby/models/sub_account_details_response_plan_info_features' -require 'brevo-ruby/models/sub_account_details_response_plan_info_features_inbox' -require 'brevo-ruby/models/sub_account_details_response_plan_info_features_landing_page' -require 'brevo-ruby/models/sub_account_details_response_plan_info_features_users' -require 'brevo-ruby/models/sub_account_update_plan_request' -require 'brevo-ruby/models/sub_account_update_plan_request_credits' -require 'brevo-ruby/models/sub_account_update_plan_request_features' -require 'brevo-ruby/models/sub_accounts_response' -require 'brevo-ruby/models/sub_accounts_response_sub_accounts' -require 'brevo-ruby/models/task' -require 'brevo-ruby/models/task_list' -require 'brevo-ruby/models/task_reminder' -require 'brevo-ruby/models/task_types' -require 'brevo-ruby/models/update_attribute' -require 'brevo-ruby/models/update_attribute_enumeration' -require 'brevo-ruby/models/update_batch_contacts' -require 'brevo-ruby/models/update_batch_contacts_contacts' -require 'brevo-ruby/models/update_batch_contacts_model' -require 'brevo-ruby/models/update_campaign_status' -require 'brevo-ruby/models/update_child' -require 'brevo-ruby/models/update_child_account_status' -require 'brevo-ruby/models/update_child_domain' -require 'brevo-ruby/models/update_contact' -require 'brevo-ruby/models/update_coupon_collection' -require 'brevo-ruby/models/update_email_campaign' -require 'brevo-ruby/models/update_email_campaign_recipients' -require 'brevo-ruby/models/update_email_campaign_sender' -require 'brevo-ruby/models/update_external_feed' -require 'brevo-ruby/models/update_list' -require 'brevo-ruby/models/update_sender' -require 'brevo-ruby/models/update_sms_campaign' -require 'brevo-ruby/models/update_smtp_template' -require 'brevo-ruby/models/update_smtp_template_sender' -require 'brevo-ruby/models/update_webhook' -require 'brevo-ruby/models/update_whats_app_campaign' -require 'brevo-ruby/models/upload_image_model' -require 'brevo-ruby/models/upload_image_to_gallery' -require 'brevo-ruby/models/variables_items' -require 'brevo-ruby/models/whatsapp_camp_stats' -require 'brevo-ruby/models/whatsapp_camp_template' - -# APIs -require 'brevo-ruby/api/account_api' -require 'brevo-ruby/api/companies_api' -require 'brevo-ruby/api/contacts_api' -require 'brevo-ruby/api/conversations_api' -require 'brevo-ruby/api/coupons_api' -require 'brevo-ruby/api/deals_api' -require 'brevo-ruby/api/domains_api' -require 'brevo-ruby/api/ecommerce_api' -require 'brevo-ruby/api/email_campaigns_api' -require 'brevo-ruby/api/external_feeds_api' -require 'brevo-ruby/api/files_api' -require 'brevo-ruby/api/inbound_parsing_api' -require 'brevo-ruby/api/master_account_api' -require 'brevo-ruby/api/notes_api' -require 'brevo-ruby/api/process_api' -require 'brevo-ruby/api/reseller_api' -require 'brevo-ruby/api/sms_campaigns_api' -require 'brevo-ruby/api/senders_api' -require 'brevo-ruby/api/tasks_api' -require 'brevo-ruby/api/transactional_emails_api' -require 'brevo-ruby/api/transactional_sms_api' -require 'brevo-ruby/api/transactional_whats_app_api' -require 'brevo-ruby/api/user_api' -require 'brevo-ruby/api/webhooks_api' -require 'brevo-ruby/api/whats_app_campaigns_api' - -module BrevoRuby - class << self - # Customize default settings for the SDK using block. - # BrevoRuby.configure do |config| - # config.username = "xxx" - # config.password = "xxx" - # end - # If no block given, return the default Configuration object. - def configure - if block_given? - yield(Configuration.default) - else - Configuration.default - end - end - end -end diff --git a/lib/brevo-ruby/version.rb b/lib/brevo-ruby/version.rb deleted file mode 100644 index e548b81..0000000 --- a/lib/brevo-ruby/version.rb +++ /dev/null @@ -1,15 +0,0 @@ -=begin -#Brevo API - -#Brevo 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/getbrevo **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@brevo.com -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.19 - -=end - -module BrevoRuby - VERSION = '1.0.0' -end diff --git a/lib/brevo.rb b/lib/brevo.rb new file mode 100644 index 0000000..50944a8 --- /dev/null +++ b/lib/brevo.rb @@ -0,0 +1,395 @@ +=begin +#Brevo API + +#Brevo 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/brevo **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@brevo.com +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.4.19 + +=end + +# Common files +require 'brevo/api_client' +require 'brevo/api_error' +require 'brevo/version' +require 'brevo/configuration' + +# Models +require 'brevo/models/ab_test_campaign_result' +require 'brevo/models/ab_test_campaign_result_clicked_links' +require 'brevo/models/ab_test_campaign_result_statistics' +require 'brevo/models/ab_test_version_clicks' +require 'brevo/models/ab_test_version_clicks_inner' +require 'brevo/models/ab_test_version_stats' +require 'brevo/models/add_child_domain' +require 'brevo/models/add_contact_to_list' +require 'brevo/models/add_credits' +require 'brevo/models/authenticate_domain_model' +require 'brevo/models/block_domain' +require 'brevo/models/body' +require 'brevo/models/body_1' +require 'brevo/models/body_10' +require 'brevo/models/body_11' +require 'brevo/models/body_12' +require 'brevo/models/body_2' +require 'brevo/models/body_3' +require 'brevo/models/body_4' +require 'brevo/models/body_5' +require 'brevo/models/body_6' +require 'brevo/models/body_7' +require 'brevo/models/body_8' +require 'brevo/models/body_9' +require 'brevo/models/body_variables_items' +require 'brevo/models/companies_list' +require 'brevo/models/company' +require 'brevo/models/company_attributes' +require 'brevo/models/company_attributes_inner' +require 'brevo/models/component_items' +require 'brevo/models/conversations_message' +require 'brevo/models/conversations_message_file' +require 'brevo/models/conversations_message_file_image_info' +require 'brevo/models/create_api_key_request' +require 'brevo/models/create_api_key_response' +require 'brevo/models/create_attribute' +require 'brevo/models/create_attribute_enumeration' +require 'brevo/models/create_category_model' +require 'brevo/models/create_child' +require 'brevo/models/create_contact' +require 'brevo/models/create_coupon_collection' +require 'brevo/models/create_coupons' +require 'brevo/models/create_doi_contact' +require 'brevo/models/create_domain' +require 'brevo/models/create_domain_model' +require 'brevo/models/create_domain_model_dns_records' +require 'brevo/models/create_domain_model_dns_records_dkim_record' +require 'brevo/models/create_email_campaign' +require 'brevo/models/create_email_campaign_recipients' +require 'brevo/models/create_email_campaign_sender' +require 'brevo/models/create_external_feed' +require 'brevo/models/create_list' +require 'brevo/models/create_model' +require 'brevo/models/create_product_model' +require 'brevo/models/create_reseller' +require 'brevo/models/create_sender' +require 'brevo/models/create_sender_ips' +require 'brevo/models/create_sender_model' +require 'brevo/models/create_sms_campaign' +require 'brevo/models/create_sms_campaign_recipients' +require 'brevo/models/create_smtp_email' +require 'brevo/models/create_smtp_template' +require 'brevo/models/create_smtp_template_sender' +require 'brevo/models/create_sub_account' +require 'brevo/models/create_sub_account_response' +require 'brevo/models/create_update_batch_category' +require 'brevo/models/create_update_batch_category_model' +require 'brevo/models/create_update_batch_products' +require 'brevo/models/create_update_batch_products_model' +require 'brevo/models/create_update_categories' +require 'brevo/models/create_update_category' +require 'brevo/models/create_update_contact_model' +require 'brevo/models/create_update_folder' +require 'brevo/models/create_update_product' +require 'brevo/models/create_update_products' +require 'brevo/models/create_webhook' +require 'brevo/models/create_whats_app_campaign' +require 'brevo/models/create_whats_app_campaign_recipients' +require 'brevo/models/create_whats_app_template' +require 'brevo/models/created_batch_id' +require 'brevo/models/created_process_id' +require 'brevo/models/deal' +require 'brevo/models/deal_attributes' +require 'brevo/models/deal_attributes_inner' +require 'brevo/models/deals_list' +require 'brevo/models/delete_hardbounces' +require 'brevo/models/email_export_recipients' +require 'brevo/models/error_model' +require 'brevo/models/export_webhooks_history' +require 'brevo/models/file_data' +require 'brevo/models/file_downloadable_link' +require 'brevo/models/file_list' +require 'brevo/models/get_account' +require 'brevo/models/get_account_activity' +require 'brevo/models/get_account_activity_logs' +require 'brevo/models/get_account_marketing_automation' +require 'brevo/models/get_account_plan' +require 'brevo/models/get_account_relay' +require 'brevo/models/get_account_relay_data' +require 'brevo/models/get_aggregated_report' +require 'brevo/models/get_all_external_feeds' +require 'brevo/models/get_all_external_feeds_feeds' +require 'brevo/models/get_attributes' +require 'brevo/models/get_attributes_attributes' +require 'brevo/models/get_attributes_enumeration' +require 'brevo/models/get_blocked_domains' +require 'brevo/models/get_campaign_overview' +require 'brevo/models/get_campaign_recipients' +require 'brevo/models/get_campaign_stats' +require 'brevo/models/get_categories' +require 'brevo/models/get_category_details' +require 'brevo/models/get_child_account_creation_status' +require 'brevo/models/get_child_domain' +require 'brevo/models/get_child_domains' +require 'brevo/models/get_child_info' +require 'brevo/models/get_child_info_api_keys' +require 'brevo/models/get_child_info_api_keys_v2' +require 'brevo/models/get_child_info_api_keys_v3' +require 'brevo/models/get_child_info_credits' +require 'brevo/models/get_child_info_statistics' +require 'brevo/models/get_children_list' +require 'brevo/models/get_client' +require 'brevo/models/get_contact_campaign_stats' +require 'brevo/models/get_contact_campaign_stats_clicked' +require 'brevo/models/get_contact_campaign_stats_opened' +require 'brevo/models/get_contact_campaign_stats_transac_attributes' +require 'brevo/models/get_contact_campaign_stats_unsubscriptions' +require 'brevo/models/get_contact_details' +require 'brevo/models/get_contacts' +require 'brevo/models/get_coupon_collection' +require 'brevo/models/get_device_browser_stats' +require 'brevo/models/get_domain_configuration_model' +require 'brevo/models/get_domains_list' +require 'brevo/models/get_domains_list_domains' +require 'brevo/models/get_email_campaign' +require 'brevo/models/get_email_campaigns' +require 'brevo/models/get_email_event_report' +require 'brevo/models/get_email_event_report_events' +require 'brevo/models/get_extended_campaign_overview' +require 'brevo/models/get_extended_campaign_overview_sender' +require 'brevo/models/get_extended_campaign_stats' +require 'brevo/models/get_extended_campaign_stats_global_stats' +require 'brevo/models/get_extended_client' +require 'brevo/models/get_extended_client_address' +require 'brevo/models/get_extended_contact_details' +require 'brevo/models/get_extended_contact_details_statistics' +require 'brevo/models/get_extended_contact_details_statistics_clicked' +require 'brevo/models/get_extended_contact_details_statistics_delivered' +require 'brevo/models/get_extended_contact_details_statistics_links' +require 'brevo/models/get_extended_contact_details_statistics_messages_sent' +require 'brevo/models/get_extended_contact_details_statistics_opened' +require 'brevo/models/get_extended_contact_details_statistics_unsubscriptions' +require 'brevo/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription' +require 'brevo/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription' +require 'brevo/models/get_extended_list' +require 'brevo/models/get_extended_list_campaign_stats' +require 'brevo/models/get_external_feed_by_uuid' +require 'brevo/models/get_external_feed_by_uuid_headers' +require 'brevo/models/get_folder' +require 'brevo/models/get_folder_lists' +require 'brevo/models/get_folders' +require 'brevo/models/get_inbound_email_events' +require 'brevo/models/get_inbound_email_events_by_uuid' +require 'brevo/models/get_inbound_email_events_by_uuid_attachments' +require 'brevo/models/get_inbound_email_events_by_uuid_logs' +require 'brevo/models/get_inbound_email_events_events' +require 'brevo/models/get_invited_users_list' +require 'brevo/models/get_invited_users_list_feature_access' +require 'brevo/models/get_invited_users_list_users' +require 'brevo/models/get_ip' +require 'brevo/models/get_ip_from_sender' +require 'brevo/models/get_ips' +require 'brevo/models/get_ips_from_sender' +require 'brevo/models/get_list' +require 'brevo/models/get_lists' +require 'brevo/models/get_process' +require 'brevo/models/get_processes' +require 'brevo/models/get_product_details' +require 'brevo/models/get_products' +require 'brevo/models/get_reports' +require 'brevo/models/get_reports_reports' +require 'brevo/models/get_scheduled_email_by_batch_id' +require 'brevo/models/get_scheduled_email_by_batch_id_batches' +require 'brevo/models/get_scheduled_email_by_message_id' +require 'brevo/models/get_segments' +require 'brevo/models/get_segments_segments' +require 'brevo/models/get_senders_list' +require 'brevo/models/get_senders_list_ips' +require 'brevo/models/get_senders_list_senders' +require 'brevo/models/get_shared_template_url' +require 'brevo/models/get_sms_campaign' +require 'brevo/models/get_sms_campaign_overview' +require 'brevo/models/get_sms_campaign_recipients' +require 'brevo/models/get_sms_campaign_stats' +require 'brevo/models/get_sms_campaigns' +require 'brevo/models/get_sms_event_report' +require 'brevo/models/get_sms_event_report_events' +require 'brevo/models/get_smtp_template_overview' +require 'brevo/models/get_smtp_template_overview_sender' +require 'brevo/models/get_smtp_templates' +require 'brevo/models/get_sso_token' +require 'brevo/models/get_stats_by_browser' +require 'brevo/models/get_stats_by_device' +require 'brevo/models/get_stats_by_domain' +require 'brevo/models/get_transac_aggregated_sms_report' +require 'brevo/models/get_transac_blocked_contacts' +require 'brevo/models/get_transac_blocked_contacts_contacts' +require 'brevo/models/get_transac_blocked_contacts_reason' +require 'brevo/models/get_transac_email_content' +require 'brevo/models/get_transac_email_content_events' +require 'brevo/models/get_transac_emails_list' +require 'brevo/models/get_transac_emails_list_transactional_emails' +require 'brevo/models/get_transac_sms_report' +require 'brevo/models/get_transac_sms_report_reports' +require 'brevo/models/get_user_permission' +require 'brevo/models/get_user_permission_privileges' +require 'brevo/models/get_wa_templates' +require 'brevo/models/get_wa_templates_templates' +require 'brevo/models/get_webhook' +require 'brevo/models/get_webhooks' +require 'brevo/models/get_whats_app_config' +require 'brevo/models/get_whatsapp_campaign_overview' +require 'brevo/models/get_whatsapp_campaigns' +require 'brevo/models/get_whatsapp_campaigns_campaigns' +require 'brevo/models/get_whatsapp_event_report' +require 'brevo/models/get_whatsapp_event_report_events' +require 'brevo/models/inline_response_200' +require 'brevo/models/inline_response_200_1' +require 'brevo/models/inline_response_201' +require 'brevo/models/inline_response_201_1' +require 'brevo/models/inline_response_201_2' +require 'brevo/models/inline_response_201_3' +require 'brevo/models/inline_response_201_4' +require 'brevo/models/manage_ip' +require 'brevo/models/master_details_response' +require 'brevo/models/master_details_response_billing_info' +require 'brevo/models/master_details_response_billing_info_address' +require 'brevo/models/master_details_response_billing_info_name' +require 'brevo/models/master_details_response_plan_info' +require 'brevo/models/master_details_response_plan_info_features' +require 'brevo/models/note' +require 'brevo/models/note_data' +require 'brevo/models/note_id' +require 'brevo/models/note_list' +require 'brevo/models/order' +require 'brevo/models/order_batch' +require 'brevo/models/order_billing' +require 'brevo/models/order_products' +require 'brevo/models/otp' +require 'brevo/models/pipeline' +require 'brevo/models/pipeline_stage' +require 'brevo/models/pipelines' +require 'brevo/models/post_contact_info' +require 'brevo/models/post_contact_info_contacts' +require 'brevo/models/post_send_failed' +require 'brevo/models/post_send_sms_test_failed' +require 'brevo/models/remaining_credit_model' +require 'brevo/models/remaining_credit_model_child' +require 'brevo/models/remaining_credit_model_reseller' +require 'brevo/models/remove_contact_from_list' +require 'brevo/models/remove_credits' +require 'brevo/models/request_contact_export' +require 'brevo/models/request_contact_export_custom_contact_filter' +require 'brevo/models/request_contact_import' +require 'brevo/models/request_contact_import_json_body' +require 'brevo/models/request_contact_import_new_list' +require 'brevo/models/request_sms_recipient_export' +require 'brevo/models/schedule_smtp_email' +require 'brevo/models/send_report' +require 'brevo/models/send_report_email' +require 'brevo/models/send_sms' +require 'brevo/models/send_smtp_email' +require 'brevo/models/send_smtp_email_attachment' +require 'brevo/models/send_smtp_email_bcc' +require 'brevo/models/send_smtp_email_cc' +require 'brevo/models/send_smtp_email_message_versions' +require 'brevo/models/send_smtp_email_reply_to' +require 'brevo/models/send_smtp_email_reply_to_1' +require 'brevo/models/send_smtp_email_sender' +require 'brevo/models/send_smtp_email_to' +require 'brevo/models/send_smtp_email_to_1' +require 'brevo/models/send_test_email' +require 'brevo/models/send_test_sms' +require 'brevo/models/send_transac_sms' +require 'brevo/models/send_whatsapp_message' +require 'brevo/models/sso_token_request' +require 'brevo/models/sub_account_apps_toggle_request' +require 'brevo/models/sub_account_details_response' +require 'brevo/models/sub_account_details_response_plan_info' +require 'brevo/models/sub_account_details_response_plan_info_credits' +require 'brevo/models/sub_account_details_response_plan_info_credits_emails' +require 'brevo/models/sub_account_details_response_plan_info_features' +require 'brevo/models/sub_account_details_response_plan_info_features_inbox' +require 'brevo/models/sub_account_details_response_plan_info_features_landing_page' +require 'brevo/models/sub_account_details_response_plan_info_features_users' +require 'brevo/models/sub_account_update_plan_request' +require 'brevo/models/sub_account_update_plan_request_credits' +require 'brevo/models/sub_account_update_plan_request_features' +require 'brevo/models/sub_accounts_response' +require 'brevo/models/sub_accounts_response_sub_accounts' +require 'brevo/models/task' +require 'brevo/models/task_list' +require 'brevo/models/task_reminder' +require 'brevo/models/task_types' +require 'brevo/models/update_attribute' +require 'brevo/models/update_attribute_enumeration' +require 'brevo/models/update_batch_contacts' +require 'brevo/models/update_batch_contacts_contacts' +require 'brevo/models/update_batch_contacts_model' +require 'brevo/models/update_campaign_status' +require 'brevo/models/update_child' +require 'brevo/models/update_child_account_status' +require 'brevo/models/update_child_domain' +require 'brevo/models/update_contact' +require 'brevo/models/update_coupon_collection' +require 'brevo/models/update_email_campaign' +require 'brevo/models/update_email_campaign_recipients' +require 'brevo/models/update_email_campaign_sender' +require 'brevo/models/update_external_feed' +require 'brevo/models/update_list' +require 'brevo/models/update_sender' +require 'brevo/models/update_sms_campaign' +require 'brevo/models/update_smtp_template' +require 'brevo/models/update_smtp_template_sender' +require 'brevo/models/update_webhook' +require 'brevo/models/update_whats_app_campaign' +require 'brevo/models/upload_image_model' +require 'brevo/models/upload_image_to_gallery' +require 'brevo/models/variables_items' +require 'brevo/models/whatsapp_camp_stats' +require 'brevo/models/whatsapp_camp_template' + +# APIs +require 'brevo/api/account_api' +require 'brevo/api/companies_api' +require 'brevo/api/contacts_api' +require 'brevo/api/conversations_api' +require 'brevo/api/coupons_api' +require 'brevo/api/deals_api' +require 'brevo/api/domains_api' +require 'brevo/api/ecommerce_api' +require 'brevo/api/email_campaigns_api' +require 'brevo/api/external_feeds_api' +require 'brevo/api/files_api' +require 'brevo/api/inbound_parsing_api' +require 'brevo/api/master_account_api' +require 'brevo/api/notes_api' +require 'brevo/api/process_api' +require 'brevo/api/reseller_api' +require 'brevo/api/sms_campaigns_api' +require 'brevo/api/senders_api' +require 'brevo/api/tasks_api' +require 'brevo/api/transactional_emails_api' +require 'brevo/api/transactional_sms_api' +require 'brevo/api/transactional_whats_app_api' +require 'brevo/api/user_api' +require 'brevo/api/webhooks_api' +require 'brevo/api/whats_app_campaigns_api' + +module Brevo + class << self + # Customize default settings for the SDK using block. + # Brevo.configure do |config| + # config.username = "xxx" + # config.password = "xxx" + # end + # If no block given, return the default Configuration object. + def configure + if block_given? + yield(Configuration.default) + else + Configuration.default + end + end + end +end diff --git a/lib/brevo-ruby/api/account_api.rb b/lib/brevo/api/account_api.rb similarity index 91% rename from lib/brevo-ruby/api/account_api.rb rename to lib/brevo/api/account_api.rb index 654b529..46bb9a8 100644 --- a/lib/brevo-ruby/api/account_api.rb +++ b/lib/brevo/api/account_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class AccountApi attr_accessor :api_client @@ -28,7 +28,7 @@ def setUserAgent(user_agent) @api_client.default_headers['User-Agent'] = @user_agent end end - + # Get your account information, plan and credits details # @param [Hash] opts the optional parameters # @return [GetAccount] diff --git a/lib/brevo-ruby/api/companies_api.rb b/lib/brevo/api/companies_api.rb similarity index 96% rename from lib/brevo-ruby/api/companies_api.rb rename to lib/brevo/api/companies_api.rb index 39613a9..5c4d7ac 100644 --- a/lib/brevo-ruby/api/companies_api.rb +++ b/lib/brevo/api/companies_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class CompaniesApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/contacts_api.rb b/lib/brevo/api/contacts_api.rb similarity index 99% rename from lib/brevo-ruby/api/contacts_api.rb rename to lib/brevo/api/contacts_api.rb index 96fe43a..12f2191 100644 --- a/lib/brevo-ruby/api/contacts_api.rb +++ b/lib/brevo/api/contacts_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class ContactsApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/conversations_api.rb b/lib/brevo/api/conversations_api.rb similarity index 97% rename from lib/brevo-ruby/api/conversations_api.rb rename to lib/brevo/api/conversations_api.rb index 37339fe..8fa5071 100644 --- a/lib/brevo-ruby/api/conversations_api.rb +++ b/lib/brevo/api/conversations_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class ConversationsApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/coupons_api.rb b/lib/brevo/api/coupons_api.rb similarity index 95% rename from lib/brevo-ruby/api/coupons_api.rb rename to lib/brevo/api/coupons_api.rb index b3c7cf9..c08db73 100644 --- a/lib/brevo-ruby/api/coupons_api.rb +++ b/lib/brevo/api/coupons_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class CouponsApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/deals_api.rb b/lib/brevo/api/deals_api.rb similarity index 87% rename from lib/brevo-ruby/api/deals_api.rb rename to lib/brevo/api/deals_api.rb index e22ce8c..90b5109 100644 --- a/lib/brevo-ruby/api/deals_api.rb +++ b/lib/brevo/api/deals_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class DealsApi attr_accessor :api_client @@ -77,7 +77,7 @@ def crm_attributes_deals_get_with_http_info(opts = {}) end # Get all deals # @param [Hash] opts the optional parameters - # @option opts [String] :filters_attributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" + # @option opts [String] :filters_attributes_deal_name Filter by attributes. If you have filter for owner on your side please send it as `filters[attributes.deal_owner]`.\" # @option opts [String] :filters_linked_companies_ids Filter by linked companies ids # @option opts [String] :filters_linked_contacts_ids Filter by linked companies ids # @option opts [Integer] :offset Index of the first document of the page @@ -92,7 +92,7 @@ def crm_deals_get(opts = {}) # Get all deals # @param [Hash] opts the optional parameters - # @option opts [String] :filters_attributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" + # @option opts [String] :filters_attributes_deal_name Filter by attributes. If you have filter for owner on your side please send it as `filters[attributes.deal_owner]`.\" # @option opts [String] :filters_linked_companies_ids Filter by linked companies ids # @option opts [String] :filters_linked_contacts_ids Filter by linked companies ids # @option opts [Integer] :offset Index of the first document of the page @@ -112,7 +112,7 @@ def crm_deals_get_with_http_info(opts = {}) # query parameters query_params = {} - query_params[:'filters[attributes]'] = opts[:'filters_attributes'] if !opts[:'filters_attributes'].nil? + query_params[:'filters[attributes.deal_name]'] = opts[:'filters_attributes_deal_name'] if !opts[:'filters_attributes_deal_name'].nil? query_params[:'filters[linkedCompaniesIds]'] = opts[:'filters_linked_companies_ids'] if !opts[:'filters_linked_companies_ids'].nil? query_params[:'filters[linkedContactsIds]'] = opts[:'filters_linked_contacts_ids'] if !opts[:'filters_linked_contacts_ids'].nil? query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil? @@ -414,6 +414,52 @@ def crm_deals_post_with_http_info(body, opts = {}) end return data, status_code, headers end + # Get all pipelines + # @param [Hash] opts the optional parameters + # @return [Pipelines] + def crm_pipeline_details_all_get(opts = {}) + data, _status_code, _headers = crm_pipeline_details_all_get_with_http_info(opts) + data + end + + # Get all pipelines + # @param [Hash] opts the optional parameters + # @return [Array<(Pipelines, Fixnum, Hash)>] Pipelines data, response status code and response headers + def crm_pipeline_details_all_get_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: DealsApi.crm_pipeline_details_all_get ...' + end + # resource path + local_var_path = '/crm/pipeline/details/all' + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['api-key', 'partner-key'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Pipelines') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: DealsApi#crm_pipeline_details_all_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end # Get pipeline stages # This endpoint is deprecated. Prefer /crm/pipeline/details/{pipelineID} instead. # @param [Hash] opts the optional parameters @@ -462,8 +508,8 @@ def crm_pipeline_details_get_with_http_info(opts = {}) end return data, status_code, headers end - # Get pipelines and their details - # @param pipeline_id Gets the pipeline details with given pipelineID and all if no pipeline provided + # Get a pipeline + # @param pipeline_id # @param [Hash] opts the optional parameters # @return [Pipelines] def crm_pipeline_details_pipeline_id_get(pipeline_id, opts = {}) @@ -471,8 +517,8 @@ def crm_pipeline_details_pipeline_id_get(pipeline_id, opts = {}) data end - # Get pipelines and their details - # @param pipeline_id Gets the pipeline details with given pipelineID and all if no pipeline provided + # Get a pipeline + # @param pipeline_id # @param [Hash] opts the optional parameters # @return [Array<(Pipelines, Fixnum, Hash)>] Pipelines data, response status code and response headers def crm_pipeline_details_pipeline_id_get_with_http_info(pipeline_id, opts = {}) diff --git a/lib/brevo-ruby/api/domains_api.rb b/lib/brevo/api/domains_api.rb similarity index 94% rename from lib/brevo-ruby/api/domains_api.rb rename to lib/brevo/api/domains_api.rb index 7ab4d07..aabbd7f 100644 --- a/lib/brevo-ruby/api/domains_api.rb +++ b/lib/brevo/api/domains_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class DomainsApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/ecommerce_api.rb b/lib/brevo/api/ecommerce_api.rb similarity index 98% rename from lib/brevo-ruby/api/ecommerce_api.rb rename to lib/brevo/api/ecommerce_api.rb index d0d70c5..f2e8d79 100644 --- a/lib/brevo-ruby/api/ecommerce_api.rb +++ b/lib/brevo/api/ecommerce_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class EcommerceApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/email_campaigns_api.rb b/lib/brevo/api/email_campaigns_api.rb similarity index 97% rename from lib/brevo-ruby/api/email_campaigns_api.rb rename to lib/brevo/api/email_campaigns_api.rb index 52aa8b6..718ee62 100644 --- a/lib/brevo-ruby/api/email_campaigns_api.rb +++ b/lib/brevo/api/email_campaigns_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class EmailCampaignsApi attr_accessor :api_client @@ -244,6 +244,7 @@ def get_ab_test_campaign_result_with_http_info(campaign_id, opts = {}) # @param campaign_id Id of the campaign # @param [Hash] opts the optional parameters # @option opts [String] :statistics Filter on the type of statistics required. Example **globalStats** value will only fetch globalStats info of the campaign in returned response. + # @option opts [String] :utm_value Get email campaign report on the basis of custom UTM Value.**You can use either campaignId or utmValue to fetch campaign report.To use utmValue filter pass campaignId as empty.** # @return [GetEmailCampaign] def get_email_campaign(campaign_id, opts = {}) data, _status_code, _headers = get_email_campaign_with_http_info(campaign_id, opts) @@ -254,6 +255,7 @@ def get_email_campaign(campaign_id, opts = {}) # @param campaign_id Id of the campaign # @param [Hash] opts the optional parameters # @option opts [String] :statistics Filter on the type of statistics required. Example **globalStats** value will only fetch globalStats info of the campaign in returned response. + # @option opts [String] :utm_value Get email campaign report on the basis of custom UTM Value.**You can use either campaignId or utmValue to fetch campaign report.To use utmValue filter pass campaignId as empty.** # @return [Array<(GetEmailCampaign, Fixnum, Hash)>] GetEmailCampaign data, response status code and response headers def get_email_campaign_with_http_info(campaign_id, opts = {}) if @api_client.config.debugging @@ -272,6 +274,7 @@ def get_email_campaign_with_http_info(campaign_id, opts = {}) # query parameters query_params = {} query_params[:'statistics'] = opts[:'statistics'] if !opts[:'statistics'].nil? + query_params[:'utmValue'] = opts[:'utm_value'] if !opts[:'utm_value'].nil? # header parameters header_params = {} diff --git a/lib/brevo-ruby/api/external_feeds_api.rb b/lib/brevo/api/external_feeds_api.rb similarity index 96% rename from lib/brevo-ruby/api/external_feeds_api.rb rename to lib/brevo/api/external_feeds_api.rb index 2807c0b..8bd5b97 100644 --- a/lib/brevo-ruby/api/external_feeds_api.rb +++ b/lib/brevo/api/external_feeds_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class ExternalFeedsApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/files_api.rb b/lib/brevo/api/files_api.rb similarity index 95% rename from lib/brevo-ruby/api/files_api.rb rename to lib/brevo/api/files_api.rb index 000ff4a..1b8c024 100644 --- a/lib/brevo-ruby/api/files_api.rb +++ b/lib/brevo/api/files_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class FilesApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/inbound_parsing_api.rb b/lib/brevo/api/inbound_parsing_api.rb similarity index 94% rename from lib/brevo-ruby/api/inbound_parsing_api.rb rename to lib/brevo/api/inbound_parsing_api.rb index d9727c5..e019253 100644 --- a/lib/brevo-ruby/api/inbound_parsing_api.rb +++ b/lib/brevo/api/inbound_parsing_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class InboundParsingApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/master_account_api.rb b/lib/brevo/api/master_account_api.rb similarity index 87% rename from lib/brevo-ruby/api/master_account_api.rb rename to lib/brevo/api/master_account_api.rb index 5a38cc4..139a9cf 100644 --- a/lib/brevo-ruby/api/master_account_api.rb +++ b/lib/brevo/api/master_account_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class MasterAccountApi attr_accessor :api_client @@ -139,6 +139,65 @@ def corporate_sub_account_get_with_http_info(offset, limit, opts = {}) end return data, status_code, headers end + # Enable/disable sub-account application(s) + # API endpoint for the Corporate owner to enable/disable applications on the sub-account + # @param id Id of the sub-account organization (mandatory) + # @param toggle_applications List of applications to activate or deactivate on a sub-account + # @param [Hash] opts the optional parameters + # @return [nil] + def corporate_sub_account_id_applications_toggle_put(id, toggle_applications, opts = {}) + corporate_sub_account_id_applications_toggle_put_with_http_info(id, toggle_applications, opts) + nil + end + + # Enable/disable sub-account application(s) + # API endpoint for the Corporate owner to enable/disable applications on the sub-account + # @param id Id of the sub-account organization (mandatory) + # @param toggle_applications List of applications to activate or deactivate on a sub-account + # @param [Hash] opts the optional parameters + # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers + def corporate_sub_account_id_applications_toggle_put_with_http_info(id, toggle_applications, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: MasterAccountApi.corporate_sub_account_id_applications_toggle_put ...' + end + # verify the required parameter 'id' is set + if @api_client.config.client_side_validation && id.nil? + fail ArgumentError, "Missing the required parameter 'id' when calling MasterAccountApi.corporate_sub_account_id_applications_toggle_put" + end + # verify the required parameter 'toggle_applications' is set + if @api_client.config.client_side_validation && toggle_applications.nil? + fail ArgumentError, "Missing the required parameter 'toggle_applications' when calling MasterAccountApi.corporate_sub_account_id_applications_toggle_put" + end + # resource path + local_var_path = '/corporate/subAccount/{id}/applications/toggle'.sub('{' + 'id' + '}', id.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(toggle_applications) + auth_names = ['api-key', 'partner-key'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: MasterAccountApi#corporate_sub_account_id_applications_toggle_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end # Delete a sub-account # @param id Id of the sub-account organization to be deleted # @param [Hash] opts the optional parameters diff --git a/lib/brevo-ruby/api/notes_api.rb b/lib/brevo/api/notes_api.rb similarity index 95% rename from lib/brevo-ruby/api/notes_api.rb rename to lib/brevo/api/notes_api.rb index b6c8a4b..96d22ff 100644 --- a/lib/brevo-ruby/api/notes_api.rb +++ b/lib/brevo/api/notes_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class NotesApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/process_api.rb b/lib/brevo/api/process_api.rb similarity index 91% rename from lib/brevo-ruby/api/process_api.rb rename to lib/brevo/api/process_api.rb index ede7e2c..3ee0731 100644 --- a/lib/brevo-ruby/api/process_api.rb +++ b/lib/brevo/api/process_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class ProcessApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/reseller_api.rb b/lib/brevo/api/reseller_api.rb similarity index 98% rename from lib/brevo-ruby/api/reseller_api.rb rename to lib/brevo/api/reseller_api.rb index cb65228..bb16358 100644 --- a/lib/brevo-ruby/api/reseller_api.rb +++ b/lib/brevo/api/reseller_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class ResellerApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/senders_api.rb b/lib/brevo/api/senders_api.rb similarity index 96% rename from lib/brevo-ruby/api/senders_api.rb rename to lib/brevo/api/senders_api.rb index 0cb1a70..73f69c9 100644 --- a/lib/brevo-ruby/api/senders_api.rb +++ b/lib/brevo/api/senders_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class SendersApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/sms_campaigns_api.rb b/lib/brevo/api/sms_campaigns_api.rb similarity index 97% rename from lib/brevo-ruby/api/sms_campaigns_api.rb rename to lib/brevo/api/sms_campaigns_api.rb index 65b96e2..4d9e19b 100644 --- a/lib/brevo-ruby/api/sms_campaigns_api.rb +++ b/lib/brevo/api/sms_campaigns_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class SMSCampaignsApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/tasks_api.rb b/lib/brevo/api/tasks_api.rb similarity index 96% rename from lib/brevo-ruby/api/tasks_api.rb rename to lib/brevo/api/tasks_api.rb index 1fec3b3..85a6c9a 100644 --- a/lib/brevo-ruby/api/tasks_api.rb +++ b/lib/brevo/api/tasks_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class TasksApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/transactional_emails_api.rb b/lib/brevo/api/transactional_emails_api.rb similarity index 99% rename from lib/brevo-ruby/api/transactional_emails_api.rb rename to lib/brevo/api/transactional_emails_api.rb index ea12769..4214d58 100644 --- a/lib/brevo-ruby/api/transactional_emails_api.rb +++ b/lib/brevo/api/transactional_emails_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class TransactionalEmailsApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/transactional_sms_api.rb b/lib/brevo/api/transactional_sms_api.rb similarity index 96% rename from lib/brevo-ruby/api/transactional_sms_api.rb rename to lib/brevo/api/transactional_sms_api.rb index 48b0c50..b5cf63e 100644 --- a/lib/brevo-ruby/api/transactional_sms_api.rb +++ b/lib/brevo/api/transactional_sms_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class TransactionalSMSApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/transactional_whats_app_api.rb b/lib/brevo/api/transactional_whats_app_api.rb similarity index 94% rename from lib/brevo-ruby/api/transactional_whats_app_api.rb rename to lib/brevo/api/transactional_whats_app_api.rb index 3671d4c..c06cbe9 100644 --- a/lib/brevo-ruby/api/transactional_whats_app_api.rb +++ b/lib/brevo/api/transactional_whats_app_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class TransactionalWhatsAppApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/user_api.rb b/lib/brevo/api/user_api.rb similarity index 89% rename from lib/brevo-ruby/api/user_api.rb rename to lib/brevo/api/user_api.rb index 66eebae..bac497e 100644 --- a/lib/brevo-ruby/api/user_api.rb +++ b/lib/brevo/api/user_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class UserApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/webhooks_api.rb b/lib/brevo/api/webhooks_api.rb similarity index 96% rename from lib/brevo-ruby/api/webhooks_api.rb rename to lib/brevo/api/webhooks_api.rb index 3d564c8..f47ce42 100644 --- a/lib/brevo-ruby/api/webhooks_api.rb +++ b/lib/brevo/api/webhooks_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class WebhooksApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api/whats_app_campaigns_api.rb b/lib/brevo/api/whats_app_campaigns_api.rb similarity index 97% rename from lib/brevo-ruby/api/whats_app_campaigns_api.rb rename to lib/brevo/api/whats_app_campaigns_api.rb index f5cff22..e0cd9c4 100644 --- a/lib/brevo-ruby/api/whats_app_campaigns_api.rb +++ b/lib/brevo/api/whats_app_campaigns_api.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'uri' -module BrevoRuby +module Brevo class WhatsAppCampaignsApi attr_accessor :api_client diff --git a/lib/brevo-ruby/api_client.rb b/lib/brevo/api_client.rb similarity index 95% rename from lib/brevo-ruby/api_client.rb rename to lib/brevo/api_client.rb index 86ea1b9..2b11cab 100644 --- a/lib/brevo-ruby/api_client.rb +++ b/lib/brevo/api_client.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -17,7 +17,7 @@ require 'typhoeus' require 'addressable/uri' -module BrevoRuby +module Brevo class ApiClient # The Configuration object holding settings to be used in the API client. attr_accessor :config @@ -213,7 +213,7 @@ def convert_to_type(data, return_type) end else # models, e.g. Pet - BrevoRuby.const_get(return_type).new.tap do |model| + Brevo.const_get(return_type).new.tap do |model| model.build_from_hash data end end diff --git a/lib/brevo-ruby/api_error.rb b/lib/brevo/api_error.rb similarity index 64% rename from lib/brevo-ruby/api_error.rb rename to lib/brevo/api_error.rb index 226bd6d..a16fb19 100644 --- a/lib/brevo-ruby/api_error.rb +++ b/lib/brevo/api_error.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -10,7 +10,7 @@ =end -module BrevoRuby +module Brevo class ApiError < StandardError attr_reader :code, :response_headers, :response_body diff --git a/lib/brevo-ruby/configuration.rb b/lib/brevo/configuration.rb similarity index 91% rename from lib/brevo-ruby/configuration.rb rename to lib/brevo/configuration.rb index d164370..31e7b7d 100644 --- a/lib/brevo-ruby/configuration.rb +++ b/lib/brevo/configuration.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'addressable/uri' -module BrevoRuby +module Brevo class Configuration # Defines url scheme attr_accessor :scheme diff --git a/lib/brevo-ruby/models/ab_test_campaign_result.rb b/lib/brevo/models/ab_test_campaign_result.rb similarity index 93% rename from lib/brevo-ruby/models/ab_test_campaign_result.rb rename to lib/brevo/models/ab_test_campaign_result.rb index bd35f35..ad661ff 100644 --- a/lib/brevo-ruby/models/ab_test_campaign_result.rb +++ b/lib/brevo/models/ab_test_campaign_result.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class AbTestCampaignResult # Winning Campaign Info. pending = Campaign has been picked for sending and winning version is yet to be decided, tie = A tie happened between both the versions, notAvailable = Campaign has not yet been picked for sending. attr_accessor :winning_version @@ -248,7 +248,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/ab_test_campaign_result_clicked_links.rb b/lib/brevo/models/ab_test_campaign_result_clicked_links.rb similarity index 90% rename from lib/brevo-ruby/models/ab_test_campaign_result_clicked_links.rb rename to lib/brevo/models/ab_test_campaign_result_clicked_links.rb index 7c62d77..a55bb30 100644 --- a/lib/brevo-ruby/models/ab_test_campaign_result_clicked_links.rb +++ b/lib/brevo/models/ab_test_campaign_result_clicked_links.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class AbTestCampaignResultClickedLinks attr_accessor :version_a @@ -152,7 +152,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/ab_test_campaign_result_statistics.rb b/lib/brevo/models/ab_test_campaign_result_statistics.rb similarity index 92% rename from lib/brevo-ruby/models/ab_test_campaign_result_statistics.rb rename to lib/brevo/models/ab_test_campaign_result_statistics.rb index 8292a56..df9982c 100644 --- a/lib/brevo-ruby/models/ab_test_campaign_result_statistics.rb +++ b/lib/brevo/models/ab_test_campaign_result_statistics.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class AbTestCampaignResultStatistics attr_accessor :openers @@ -208,7 +208,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/ab_test_version_clicks.rb b/lib/brevo/models/ab_test_version_clicks.rb similarity index 88% rename from lib/brevo-ruby/models/ab_test_version_clicks.rb rename to lib/brevo/models/ab_test_version_clicks.rb index 1d4ae45..934b6af 100644 --- a/lib/brevo-ruby/models/ab_test_version_clicks.rb +++ b/lib/brevo/models/ab_test_version_clicks.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Information on clicked links for a particular version class AbTestVersionClicks # Attribute mapping from ruby-style variable name to JSON key. @@ -125,7 +125,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/ab_test_version_clicks_inner.rb b/lib/brevo/models/ab_test_version_clicks_inner.rb similarity index 90% rename from lib/brevo-ruby/models/ab_test_version_clicks_inner.rb rename to lib/brevo/models/ab_test_version_clicks_inner.rb index 069c4cc..c611cf0 100644 --- a/lib/brevo-ruby/models/ab_test_version_clicks_inner.rb +++ b/lib/brevo/models/ab_test_version_clicks_inner.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class AbTestVersionClicksInner # URL of the link attr_accessor :link @@ -169,7 +169,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/ab_test_version_stats.rb b/lib/brevo/models/ab_test_version_stats.rb similarity index 90% rename from lib/brevo-ruby/models/ab_test_version_stats.rb rename to lib/brevo/models/ab_test_version_stats.rb index cf73a60..676a7a7 100644 --- a/lib/brevo-ruby/models/ab_test_version_stats.rb +++ b/lib/brevo/models/ab_test_version_stats.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Percentage of a particular event for both versions class AbTestVersionStats # percentage of an event for version A @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/add_child_domain.rb b/lib/brevo/models/add_child_domain.rb similarity index 89% rename from lib/brevo-ruby/models/add_child_domain.rb rename to lib/brevo/models/add_child_domain.rb index d1e30ae..932ea84 100644 --- a/lib/brevo-ruby/models/add_child_domain.rb +++ b/lib/brevo/models/add_child_domain.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class AddChildDomain # Sender domain to add for a specific child account attr_accessor :domain @@ -134,7 +134,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/add_contact_to_list.rb b/lib/brevo/models/add_contact_to_list.rb similarity index 90% rename from lib/brevo-ruby/models/add_contact_to_list.rb rename to lib/brevo/models/add_contact_to_list.rb index c4fd9aa..117ba75 100644 --- a/lib/brevo-ruby/models/add_contact_to_list.rb +++ b/lib/brevo/models/add_contact_to_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class AddContactToList # Mandatory if IDs are not passed, ignored otherwise. Emails to add to a list. You can pass a maximum of 150 emails for addition in one request. If you need to add the emails in bulk, please prefer /contacts/import api. attr_accessor :emails @@ -148,7 +148,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/add_credits.rb b/lib/brevo/models/add_credits.rb similarity index 89% rename from lib/brevo-ruby/models/add_credits.rb rename to lib/brevo/models/add_credits.rb index bc60730..b4b5ef6 100644 --- a/lib/brevo-ruby/models/add_credits.rb +++ b/lib/brevo/models/add_credits.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class AddCredits # Required if email credits are empty. SMS credits to be added to the child account attr_accessor :sms @@ -144,7 +144,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/authenticate_domain_model.rb b/lib/brevo/models/authenticate_domain_model.rb similarity index 90% rename from lib/brevo-ruby/models/authenticate_domain_model.rb rename to lib/brevo/models/authenticate_domain_model.rb index a9c7198..1139034 100644 --- a/lib/brevo-ruby/models/authenticate_domain_model.rb +++ b/lib/brevo/models/authenticate_domain_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class AuthenticateDomainModel # Domain attr_accessor :domain_name @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/block_domain.rb b/lib/brevo/models/block_domain.rb similarity index 89% rename from lib/brevo-ruby/models/block_domain.rb rename to lib/brevo/models/block_domain.rb index b0b8573..2424b9b 100644 --- a/lib/brevo-ruby/models/block_domain.rb +++ b/lib/brevo/models/block_domain.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class BlockDomain # name of the domain to be blocked attr_accessor :domain @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body.rb b/lib/brevo/models/body.rb similarity index 90% rename from lib/brevo-ruby/models/body.rb rename to lib/brevo/models/body.rb index d225dc5..fd02c40 100644 --- a/lib/brevo-ruby/models/body.rb +++ b/lib/brevo/models/body.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Body # Name of company attr_accessor :name @@ -159,7 +159,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body_1.rb b/lib/brevo/models/body_1.rb similarity index 90% rename from lib/brevo-ruby/models/body_1.rb rename to lib/brevo/models/body_1.rb index 574891f..f89a1b1 100644 --- a/lib/brevo-ruby/models/body_1.rb +++ b/lib/brevo/models/body_1.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Body1 # Name of company attr_accessor :name @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body_10.rb b/lib/brevo/models/body_10.rb similarity index 91% rename from lib/brevo-ruby/models/body_10.rb rename to lib/brevo/models/body_10.rb index 9cccba5..16def94 100644 --- a/lib/brevo-ruby/models/body_10.rb +++ b/lib/brevo/models/body_10.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Body10 # visitor’s ID received from a webhook or generated by you to bind existing user account to Conversations attr_accessor :visitor_id @@ -174,7 +174,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body_11.rb b/lib/brevo/models/body_11.rb similarity index 89% rename from lib/brevo-ruby/models/body_11.rb rename to lib/brevo/models/body_11.rb index d644d73..6097605 100644 --- a/lib/brevo-ruby/models/body_11.rb +++ b/lib/brevo/models/body_11.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Body11 # edited message text attr_accessor :text @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body_12.rb b/lib/brevo/models/body_12.rb similarity index 91% rename from lib/brevo-ruby/models/body_12.rb rename to lib/brevo/models/body_12.rb index 7e28c02..e5118b5 100644 --- a/lib/brevo-ruby/models/body_12.rb +++ b/lib/brevo/models/body_12.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Body12 # agent ID. It can be found on agent’s page or received from a webhook. Alternatively, you can use `agentEmail` + `agentName` + `receivedFrom` instead (all 3 fields required). attr_accessor :agent_id @@ -164,7 +164,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body_2.rb b/lib/brevo/models/body_2.rb similarity index 91% rename from lib/brevo-ruby/models/body_2.rb rename to lib/brevo/models/body_2.rb index 6adb5c5..96c0c75 100644 --- a/lib/brevo-ruby/models/body_2.rb +++ b/lib/brevo/models/body_2.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Body2 # Contact ids for contacts to be linked with company attr_accessor :link_contact_ids @@ -172,7 +172,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body_3.rb b/lib/brevo/models/body_3.rb similarity index 90% rename from lib/brevo-ruby/models/body_3.rb rename to lib/brevo/models/body_3.rb index cfd0392..52456f9 100644 --- a/lib/brevo-ruby/models/body_3.rb +++ b/lib/brevo/models/body_3.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Body3 # Name of deal attr_accessor :name @@ -149,7 +149,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body_4.rb b/lib/brevo/models/body_4.rb similarity index 88% rename from lib/brevo-ruby/models/body_4.rb rename to lib/brevo/models/body_4.rb index 66df484..cc78183 100644 --- a/lib/brevo-ruby/models/body_4.rb +++ b/lib/brevo/models/body_4.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,12 +12,12 @@ require 'date' -module BrevoRuby +module Brevo class Body4 # Name of deal attr_accessor :name - # Attributes for deal update If you wish to update the pipeline of a deal you need to provide the `pipeline` and the `deal_stage`. Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}` + # Attributes for deal update If you wish to update the pipeline of a deal you need to provide the `pipeline` and the `deal_stage`. Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}` attr_accessor :attributes # Attribute mapping from ruby-style variable name to JSON key. @@ -144,7 +144,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body_5.rb b/lib/brevo/models/body_5.rb similarity index 91% rename from lib/brevo-ruby/models/body_5.rb rename to lib/brevo/models/body_5.rb index 5f29193..e503a75 100644 --- a/lib/brevo-ruby/models/body_5.rb +++ b/lib/brevo/models/body_5.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Body5 # Contact ids for contacts to be linked with deal attr_accessor :link_contact_ids @@ -172,7 +172,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body_6.rb b/lib/brevo/models/body_6.rb similarity index 93% rename from lib/brevo-ruby/models/body_6.rb rename to lib/brevo/models/body_6.rb index fbb9a91..6535816 100644 --- a/lib/brevo-ruby/models/body_6.rb +++ b/lib/brevo/models/body_6.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Body6 # Name of task attr_accessor :name @@ -269,7 +269,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body_7.rb b/lib/brevo/models/body_7.rb similarity index 92% rename from lib/brevo-ruby/models/body_7.rb rename to lib/brevo/models/body_7.rb index 103d2f7..c02d1b6 100644 --- a/lib/brevo-ruby/models/body_7.rb +++ b/lib/brevo/models/body_7.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Body7 # Name of task attr_accessor :name @@ -230,7 +230,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body_8.rb b/lib/brevo/models/body_8.rb similarity index 92% rename from lib/brevo-ruby/models/body_8.rb rename to lib/brevo/models/body_8.rb index 2ddd42e..957dcd4 100644 --- a/lib/brevo-ruby/models/body_8.rb +++ b/lib/brevo/models/body_8.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Body8 # visitor’s ID received from a webhook or generated by you to bind existing user account to Conversations attr_accessor :visitor_id @@ -194,7 +194,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body_9.rb b/lib/brevo/models/body_9.rb similarity index 89% rename from lib/brevo-ruby/models/body_9.rb rename to lib/brevo/models/body_9.rb index de93d59..74fb55c 100644 --- a/lib/brevo-ruby/models/body_9.rb +++ b/lib/brevo/models/body_9.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Body9 # edited message text attr_accessor :text @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/body_variables_items.rb b/lib/brevo/models/body_variables_items.rb similarity index 88% rename from lib/brevo-ruby/models/body_variables_items.rb rename to lib/brevo/models/body_variables_items.rb index d214acb..92f9939 100644 --- a/lib/brevo-ruby/models/body_variables_items.rb +++ b/lib/brevo/models/body_variables_items.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class BodyVariablesItems # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -124,7 +124,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/companies_list.rb b/lib/brevo/models/companies_list.rb similarity index 89% rename from lib/brevo-ruby/models/companies_list.rb rename to lib/brevo/models/companies_list.rb index c8b20e7..bc8f744 100644 --- a/lib/brevo-ruby/models/companies_list.rb +++ b/lib/brevo/models/companies_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # List of companies class CompaniesList # List of compaies @@ -137,7 +137,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/company.rb b/lib/brevo/models/company.rb similarity index 90% rename from lib/brevo-ruby/models/company.rb rename to lib/brevo/models/company.rb index c1a3c8d..83f3959 100644 --- a/lib/brevo-ruby/models/company.rb +++ b/lib/brevo/models/company.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Company Details class Company # Unique company id @@ -169,7 +169,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/company_attributes.rb b/lib/brevo/models/company_attributes.rb similarity index 88% rename from lib/brevo-ruby/models/company_attributes.rb rename to lib/brevo/models/company_attributes.rb index 1c7c22d..c7549c8 100644 --- a/lib/brevo-ruby/models/company_attributes.rb +++ b/lib/brevo/models/company_attributes.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # List of company attributes class CompanyAttributes # Attribute mapping from ruby-style variable name to JSON key. @@ -125,7 +125,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/company_attributes_inner.rb b/lib/brevo/models/company_attributes_inner.rb similarity index 91% rename from lib/brevo-ruby/models/company_attributes_inner.rb rename to lib/brevo/models/company_attributes_inner.rb index 8d258e7..d53f18e 100644 --- a/lib/brevo-ruby/models/company_attributes_inner.rb +++ b/lib/brevo/models/company_attributes_inner.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # List of attributes class CompanyAttributesInner attr_accessor :internal_name @@ -172,7 +172,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/component_items.rb b/lib/brevo/models/component_items.rb similarity index 89% rename from lib/brevo-ruby/models/component_items.rb rename to lib/brevo/models/component_items.rb index 1f77bc1..40930b0 100644 --- a/lib/brevo-ruby/models/component_items.rb +++ b/lib/brevo/models/component_items.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class ComponentItems attr_accessor :type @@ -142,7 +142,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/conversations_message.rb b/lib/brevo/models/conversations_message.rb similarity index 93% rename from lib/brevo-ruby/models/conversations_message.rb rename to lib/brevo/models/conversations_message.rb index 13591db..456a915 100644 --- a/lib/brevo-ruby/models/conversations_message.rb +++ b/lib/brevo/models/conversations_message.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # a Conversations message class ConversationsMessage # Message ID. It can be used for further manipulations with the message. @@ -273,7 +273,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/conversations_message_file.rb b/lib/brevo/models/conversations_message_file.rb similarity index 91% rename from lib/brevo-ruby/models/conversations_message_file.rb rename to lib/brevo/models/conversations_message_file.rb index 7c39b5e..ec10ec6 100644 --- a/lib/brevo-ruby/models/conversations_message_file.rb +++ b/lib/brevo/models/conversations_message_file.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class ConversationsMessageFile # Name of the file attr_accessor :filename @@ -188,7 +188,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/conversations_message_file_image_info.rb b/lib/brevo/models/conversations_message_file_image_info.rb similarity index 91% rename from lib/brevo-ruby/models/conversations_message_file_image_info.rb rename to lib/brevo/models/conversations_message_file_image_info.rb index 9160acc..3ae37fe 100644 --- a/lib/brevo-ruby/models/conversations_message_file_image_info.rb +++ b/lib/brevo/models/conversations_message_file_image_info.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # image info is passed in case the file is an image class ConversationsMessageFileImageInfo # Width of the image @@ -185,7 +185,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_api_key_request.rb b/lib/brevo/models/create_api_key_request.rb similarity index 89% rename from lib/brevo-ruby/models/create_api_key_request.rb rename to lib/brevo/models/create_api_key_request.rb index 8e4f8a7..c1d834a 100644 --- a/lib/brevo-ruby/models/create_api_key_request.rb +++ b/lib/brevo/models/create_api_key_request.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateApiKeyRequest # Id of the sub-account organization attr_accessor :id @@ -149,7 +149,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_api_key_response.rb b/lib/brevo/models/create_api_key_response.rb similarity index 89% rename from lib/brevo-ruby/models/create_api_key_response.rb rename to lib/brevo/models/create_api_key_response.rb index 8541f1b..4853d5c 100644 --- a/lib/brevo-ruby/models/create_api_key_response.rb +++ b/lib/brevo/models/create_api_key_response.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateApiKeyResponse # Status of the API operation. attr_accessor :status @@ -144,7 +144,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_attribute.rb b/lib/brevo/models/create_attribute.rb similarity index 92% rename from lib/brevo-ruby/models/create_attribute.rb rename to lib/brevo/models/create_attribute.rb index d9e230b..c81a8f9 100644 --- a/lib/brevo-ruby/models/create_attribute.rb +++ b/lib/brevo/models/create_attribute.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateAttribute # Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' attr_accessor :value @@ -200,7 +200,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_attribute_enumeration.rb b/lib/brevo/models/create_attribute_enumeration.rb similarity index 90% rename from lib/brevo-ruby/models/create_attribute_enumeration.rb rename to lib/brevo/models/create_attribute_enumeration.rb index 7890e72..f763d43 100644 --- a/lib/brevo-ruby/models/create_attribute_enumeration.rb +++ b/lib/brevo/models/create_attribute_enumeration.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateAttributeEnumeration # Id of the value attr_accessor :value @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_category_model.rb b/lib/brevo/models/create_category_model.rb similarity index 89% rename from lib/brevo-ruby/models/create_category_model.rb rename to lib/brevo/models/create_category_model.rb index 436231d..baf0c20 100644 --- a/lib/brevo-ruby/models/create_category_model.rb +++ b/lib/brevo/models/create_category_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateCategoryModel # ID of the category when a new category is created attr_accessor :id @@ -134,7 +134,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_child.rb b/lib/brevo/models/create_child.rb similarity index 93% rename from lib/brevo-ruby/models/create_child.rb rename to lib/brevo/models/create_child.rb index 06a9829..a921372 100644 --- a/lib/brevo-ruby/models/create_child.rb +++ b/lib/brevo/models/create_child.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateChild # Email address to create the child account attr_accessor :email @@ -243,7 +243,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_contact.rb b/lib/brevo/models/create_contact.rb similarity index 92% rename from lib/brevo-ruby/models/create_contact.rb rename to lib/brevo/models/create_contact.rb index 806fc70..d67c8e2 100644 --- a/lib/brevo-ruby/models/create_contact.rb +++ b/lib/brevo/models/create_contact.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateContact # 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\"} attr_accessor :email @@ -210,7 +210,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_coupon_collection.rb b/lib/brevo/models/create_coupon_collection.rb similarity index 90% rename from lib/brevo-ruby/models/create_coupon_collection.rb rename to lib/brevo/models/create_coupon_collection.rb index c9721a3..ffed34c 100644 --- a/lib/brevo-ruby/models/create_coupon_collection.rb +++ b/lib/brevo/models/create_coupon_collection.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateCouponCollection # Name of the collection with no white spaces between words attr_accessor :name @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_coupons.rb b/lib/brevo/models/create_coupons.rb similarity index 90% rename from lib/brevo-ruby/models/create_coupons.rb rename to lib/brevo/models/create_coupons.rb index 9b002cc..196ce57 100644 --- a/lib/brevo-ruby/models/create_coupons.rb +++ b/lib/brevo/models/create_coupons.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateCoupons # The id of the coupon collection for which the coupons will be created attr_accessor :collection_id @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_doi_contact.rb b/lib/brevo/models/create_doi_contact.rb similarity index 92% rename from lib/brevo-ruby/models/create_doi_contact.rb rename to lib/brevo/models/create_doi_contact.rb index de2908f..e34841a 100644 --- a/lib/brevo-ruby/models/create_doi_contact.rb +++ b/lib/brevo/models/create_doi_contact.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateDoiContact # Email address where the confirmation email will be sent. This email address will be the identifier for all other contact attributes. attr_accessor :email @@ -208,7 +208,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_domain.rb b/lib/brevo/models/create_domain.rb similarity index 89% rename from lib/brevo-ruby/models/create_domain.rb rename to lib/brevo/models/create_domain.rb index 7178a0e..1578ea7 100644 --- a/lib/brevo-ruby/models/create_domain.rb +++ b/lib/brevo/models/create_domain.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateDomain # Domain name attr_accessor :name @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_domain_model.rb b/lib/brevo/models/create_domain_model.rb similarity index 90% rename from lib/brevo-ruby/models/create_domain_model.rb rename to lib/brevo/models/create_domain_model.rb index f094e9a..73b571b 100644 --- a/lib/brevo-ruby/models/create_domain_model.rb +++ b/lib/brevo/models/create_domain_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateDomainModel # ID of the Domain created attr_accessor :id @@ -168,7 +168,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_domain_model_dns_records.rb b/lib/brevo/models/create_domain_model_dns_records.rb similarity index 89% rename from lib/brevo-ruby/models/create_domain_model_dns_records.rb rename to lib/brevo/models/create_domain_model_dns_records.rb index 726e35e..6c63e37 100644 --- a/lib/brevo-ruby/models/create_domain_model_dns_records.rb +++ b/lib/brevo/models/create_domain_model_dns_records.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateDomainModelDnsRecords attr_accessor :dkim_record @@ -142,7 +142,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_domain_model_dns_records_dkim_record.rb b/lib/brevo/models/create_domain_model_dns_records_dkim_record.rb similarity index 90% rename from lib/brevo-ruby/models/create_domain_model_dns_records_dkim_record.rb rename to lib/brevo/models/create_domain_model_dns_records_dkim_record.rb index 379407b..146e216 100644 --- a/lib/brevo-ruby/models/create_domain_model_dns_records_dkim_record.rb +++ b/lib/brevo/models/create_domain_model_dns_records_dkim_record.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateDomainModelDnsRecordsDkimRecord attr_accessor :type @@ -160,7 +160,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_email_campaign.rb b/lib/brevo/models/create_email_campaign.rb similarity index 94% rename from lib/brevo-ruby/models/create_email_campaign.rb rename to lib/brevo/models/create_email_campaign.rb index 9a8cbb6..23520b5 100644 --- a/lib/brevo-ruby/models/create_email_campaign.rb +++ b/lib/brevo/models/create_email_campaign.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateEmailCampaign # Tag of the campaign attr_accessor :tag @@ -37,6 +37,9 @@ class CreateEmailCampaign # Subject of the campaign. Mandatory if abTesting is false. Ignored if abTesting is true. attr_accessor :subject + # Preview text or preheader of the email campaign + attr_accessor :preview_text + # Email on which the campaign recipients will be able to reply to attr_accessor :reply_to @@ -135,6 +138,7 @@ def self.attribute_map :'template_id' => :'templateId', :'scheduled_at' => :'scheduledAt', :'subject' => :'subject', + :'preview_text' => :'previewText', :'reply_to' => :'replyTo', :'to_field' => :'toField', :'recipients' => :'recipients', @@ -171,6 +175,7 @@ def self.swagger_types :'template_id' => :'Integer', :'scheduled_at' => :'String', :'subject' => :'String', + :'preview_text' => :'String', :'reply_to' => :'String', :'to_field' => :'String', :'recipients' => :'CreateEmailCampaignRecipients', @@ -236,6 +241,10 @@ def initialize(attributes = {}) self.subject = attributes[:'subject'] end + if attributes.has_key?(:'previewText') + self.preview_text = attributes[:'previewText'] + end + if attributes.has_key?(:'replyTo') self.reply_to = attributes[:'replyTo'] end @@ -453,6 +462,7 @@ def ==(o) template_id == o.template_id && scheduled_at == o.scheduled_at && subject == o.subject && + preview_text == o.preview_text && reply_to == o.reply_to && to_field == o.to_field && recipients == o.recipients && @@ -486,7 +496,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [tag, sender, name, html_content, html_url, template_id, scheduled_at, subject, reply_to, to_field, recipients, attachment_url, inline_image_activation, mirror_active, footer, header, utm_campaign, params, send_at_best_time, ab_testing, subject_a, subject_b, split_rule, winner_criteria, winner_delay, ip_warmup_enable, initial_quota, increase_rate, unsubscription_page_id, update_form_id].hash + [tag, sender, name, html_content, html_url, template_id, scheduled_at, subject, preview_text, reply_to, to_field, recipients, attachment_url, inline_image_activation, mirror_active, footer, header, utm_campaign, params, send_at_best_time, ab_testing, subject_a, subject_b, split_rule, winner_criteria, winner_delay, ip_warmup_enable, initial_quota, increase_rate, unsubscription_page_id, update_form_id].hash end # Builds the object from hash @@ -546,7 +556,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_email_campaign_recipients.rb b/lib/brevo/models/create_email_campaign_recipients.rb similarity index 90% rename from lib/brevo-ruby/models/create_email_campaign_recipients.rb rename to lib/brevo/models/create_email_campaign_recipients.rb index 7556479..a00772d 100644 --- a/lib/brevo-ruby/models/create_email_campaign_recipients.rb +++ b/lib/brevo/models/create_email_campaign_recipients.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Segment ids and List ids to include/exclude from campaign class CreateEmailCampaignRecipients # List ids to exclude from the campaign @@ -161,7 +161,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_email_campaign_sender.rb b/lib/brevo/models/create_email_campaign_sender.rb similarity index 90% rename from lib/brevo-ruby/models/create_email_campaign_sender.rb rename to lib/brevo/models/create_email_campaign_sender.rb index 866ab46..bb7f3f8 100644 --- a/lib/brevo-ruby/models/create_email_campaign_sender.rb +++ b/lib/brevo/models/create_email_campaign_sender.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{\"name\":\"xyz\", \"email\":\"example@abc.com\"}` , `{\"name\":\"xyz\", \"id\":123}` class CreateEmailCampaignSender # Sender Name @@ -160,7 +160,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_external_feed.rb b/lib/brevo/models/create_external_feed.rb similarity index 93% rename from lib/brevo-ruby/models/create_external_feed.rb rename to lib/brevo/models/create_external_feed.rb index 924d9a3..dbfbf33 100644 --- a/lib/brevo-ruby/models/create_external_feed.rb +++ b/lib/brevo/models/create_external_feed.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateExternalFeed # Name of the feed attr_accessor :name @@ -288,7 +288,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_list.rb b/lib/brevo/models/create_list.rb similarity index 90% rename from lib/brevo-ruby/models/create_list.rb rename to lib/brevo/models/create_list.rb index 1e54a14..bbcb48c 100644 --- a/lib/brevo-ruby/models/create_list.rb +++ b/lib/brevo/models/create_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateList # Name of the list attr_accessor :name @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_model.rb b/lib/brevo/models/create_model.rb similarity index 89% rename from lib/brevo-ruby/models/create_model.rb rename to lib/brevo/models/create_model.rb index 33a54a1..4898445 100644 --- a/lib/brevo-ruby/models/create_model.rb +++ b/lib/brevo/models/create_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateModel # ID of the object created attr_accessor :id @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_product_model.rb b/lib/brevo/models/create_product_model.rb similarity index 89% rename from lib/brevo-ruby/models/create_product_model.rb rename to lib/brevo/models/create_product_model.rb index 43b7283..20cc92e 100644 --- a/lib/brevo-ruby/models/create_product_model.rb +++ b/lib/brevo/models/create_product_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateProductModel # ID of the Product when a new product is created attr_accessor :id @@ -134,7 +134,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_reseller.rb b/lib/brevo/models/create_reseller.rb similarity index 89% rename from lib/brevo-ruby/models/create_reseller.rb rename to lib/brevo/models/create_reseller.rb index ca9cf0e..eb165ca 100644 --- a/lib/brevo-ruby/models/create_reseller.rb +++ b/lib/brevo/models/create_reseller.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateReseller # AuthKey of Reseller child created attr_accessor :auth_key @@ -149,7 +149,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_sender.rb b/lib/brevo/models/create_sender.rb similarity index 90% rename from lib/brevo-ruby/models/create_sender.rb rename to lib/brevo/models/create_sender.rb index f691920..c2238c6 100644 --- a/lib/brevo-ruby/models/create_sender.rb +++ b/lib/brevo/models/create_sender.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateSender # From Name to use for the sender attr_accessor :name @@ -166,7 +166,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_sender_ips.rb b/lib/brevo/models/create_sender_ips.rb similarity index 91% rename from lib/brevo-ruby/models/create_sender_ips.rb rename to lib/brevo/models/create_sender_ips.rb index 731450a..f99eaa3 100644 --- a/lib/brevo-ruby/models/create_sender_ips.rb +++ b/lib/brevo/models/create_sender_ips.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateSenderIps # Dedicated IP available in your account attr_accessor :ip @@ -188,7 +188,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_sender_model.rb b/lib/brevo/models/create_sender_model.rb similarity index 90% rename from lib/brevo-ruby/models/create_sender_model.rb rename to lib/brevo/models/create_sender_model.rb index fef0785..db7f609 100644 --- a/lib/brevo-ruby/models/create_sender_model.rb +++ b/lib/brevo/models/create_sender_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateSenderModel # ID of the Sender created attr_accessor :id @@ -159,7 +159,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_sms_campaign.rb b/lib/brevo/models/create_sms_campaign.rb similarity index 93% rename from lib/brevo-ruby/models/create_sms_campaign.rb rename to lib/brevo/models/create_sms_campaign.rb index f5f8d02..1ea3841 100644 --- a/lib/brevo-ruby/models/create_sms_campaign.rb +++ b/lib/brevo/models/create_sms_campaign.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateSmsCampaign # Name of the campaign attr_accessor :name @@ -239,7 +239,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_sms_campaign_recipients.rb b/lib/brevo/models/create_sms_campaign_recipients.rb similarity index 90% rename from lib/brevo-ruby/models/create_sms_campaign_recipients.rb rename to lib/brevo/models/create_sms_campaign_recipients.rb index 052457a..822a200 100644 --- a/lib/brevo-ruby/models/create_sms_campaign_recipients.rb +++ b/lib/brevo/models/create_sms_campaign_recipients.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateSmsCampaignRecipients # Lists Ids to send the campaign to. REQUIRED if scheduledAt is not empty attr_accessor :list_ids @@ -153,7 +153,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_smtp_email.rb b/lib/brevo/models/create_smtp_email.rb similarity index 89% rename from lib/brevo-ruby/models/create_smtp_email.rb rename to lib/brevo/models/create_smtp_email.rb index 5d1ab9d..2a94767 100644 --- a/lib/brevo-ruby/models/create_smtp_email.rb +++ b/lib/brevo/models/create_smtp_email.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateSmtpEmail # Message ID of the transactional email sent attr_accessor :message_id @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_smtp_template.rb b/lib/brevo/models/create_smtp_template.rb similarity index 93% rename from lib/brevo-ruby/models/create_smtp_template.rb rename to lib/brevo/models/create_smtp_template.rb index d5d3c2e..b73f41a 100644 --- a/lib/brevo-ruby/models/create_smtp_template.rb +++ b/lib/brevo/models/create_smtp_template.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateSmtpTemplate # Tag of the template attr_accessor :tag @@ -238,7 +238,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_smtp_template_sender.rb b/lib/brevo/models/create_smtp_template_sender.rb similarity index 90% rename from lib/brevo-ruby/models/create_smtp_template_sender.rb rename to lib/brevo/models/create_smtp_template_sender.rb index 6afdb14..f64d12a 100644 --- a/lib/brevo-ruby/models/create_smtp_template_sender.rb +++ b/lib/brevo/models/create_smtp_template_sender.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{\"name\":\"xyz\", \"email\":\"example@abc.com\"}` , `{\"name\":\"xyz\", \"id\":123}` class CreateSmtpTemplateSender # Name of the sender. If not passed, will be set to default @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_sub_account.rb b/lib/brevo/models/create_sub_account.rb similarity index 92% rename from lib/brevo-ruby/models/create_sub_account.rb rename to lib/brevo/models/create_sub_account.rb index 23f7761..fd8742d 100644 --- a/lib/brevo-ruby/models/create_sub_account.rb +++ b/lib/brevo/models/create_sub_account.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateSubAccount # Set the name of the sub-account company attr_accessor :company_name @@ -208,7 +208,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_sub_account_response.rb b/lib/brevo/models/create_sub_account_response.rb similarity index 89% rename from lib/brevo-ruby/models/create_sub_account_response.rb rename to lib/brevo/models/create_sub_account_response.rb index 3364a34..c7ab1ae 100644 --- a/lib/brevo-ruby/models/create_sub_account_response.rb +++ b/lib/brevo/models/create_sub_account_response.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateSubAccountResponse # ID of the sub-account created attr_accessor :id @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_update_batch_category.rb b/lib/brevo/models/create_update_batch_category.rb similarity index 90% rename from lib/brevo-ruby/models/create_update_batch_category.rb rename to lib/brevo/models/create_update_batch_category.rb index 270f74c..13dd385 100644 --- a/lib/brevo-ruby/models/create_update_batch_category.rb +++ b/lib/brevo/models/create_update_batch_category.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateUpdateBatchCategory # array of categories objects attr_accessor :categories @@ -151,7 +151,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_update_batch_category_model.rb b/lib/brevo/models/create_update_batch_category_model.rb similarity index 89% rename from lib/brevo-ruby/models/create_update_batch_category_model.rb rename to lib/brevo/models/create_update_batch_category_model.rb index a1a1860..3f3276e 100644 --- a/lib/brevo-ruby/models/create_update_batch_category_model.rb +++ b/lib/brevo/models/create_update_batch_category_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateUpdateBatchCategoryModel # Number of the new created categories attr_accessor :created_count @@ -144,7 +144,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_update_batch_products.rb b/lib/brevo/models/create_update_batch_products.rb similarity index 90% rename from lib/brevo-ruby/models/create_update_batch_products.rb rename to lib/brevo/models/create_update_batch_products.rb index 71c103f..34652fc 100644 --- a/lib/brevo-ruby/models/create_update_batch_products.rb +++ b/lib/brevo/models/create_update_batch_products.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateUpdateBatchProducts # array of products objects attr_accessor :products @@ -151,7 +151,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_update_batch_products_model.rb b/lib/brevo/models/create_update_batch_products_model.rb similarity index 89% rename from lib/brevo-ruby/models/create_update_batch_products_model.rb rename to lib/brevo/models/create_update_batch_products_model.rb index 4601e0e..4b2c0a6 100644 --- a/lib/brevo-ruby/models/create_update_batch_products_model.rb +++ b/lib/brevo/models/create_update_batch_products_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateUpdateBatchProductsModel # Number of the new created products attr_accessor :created_count @@ -144,7 +144,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_update_categories.rb b/lib/brevo/models/create_update_categories.rb similarity index 90% rename from lib/brevo-ruby/models/create_update_categories.rb rename to lib/brevo/models/create_update_categories.rb index 5e40f52..ba6a87c 100644 --- a/lib/brevo-ruby/models/create_update_categories.rb +++ b/lib/brevo/models/create_update_categories.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateUpdateCategories # Unique Category ID as saved in the shop attr_accessor :id @@ -169,7 +169,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_update_category.rb b/lib/brevo/models/create_update_category.rb similarity index 91% rename from lib/brevo-ruby/models/create_update_category.rb rename to lib/brevo/models/create_update_category.rb index acea540..3f99e87 100644 --- a/lib/brevo-ruby/models/create_update_category.rb +++ b/lib/brevo/models/create_update_category.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateUpdateCategory # Unique Category ID as saved in the shop attr_accessor :id @@ -181,7 +181,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_update_contact_model.rb b/lib/brevo/models/create_update_contact_model.rb similarity index 89% rename from lib/brevo-ruby/models/create_update_contact_model.rb rename to lib/brevo/models/create_update_contact_model.rb index c7bbb67..66ba381 100644 --- a/lib/brevo-ruby/models/create_update_contact_model.rb +++ b/lib/brevo/models/create_update_contact_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateUpdateContactModel # ID of the contact when a new contact is created attr_accessor :id @@ -134,7 +134,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_update_folder.rb b/lib/brevo/models/create_update_folder.rb similarity index 89% rename from lib/brevo-ruby/models/create_update_folder.rb rename to lib/brevo/models/create_update_folder.rb index e8621c1..40c5ba5 100644 --- a/lib/brevo-ruby/models/create_update_folder.rb +++ b/lib/brevo/models/create_update_folder.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateUpdateFolder # Name of the folder attr_accessor :name @@ -134,7 +134,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_update_product.rb b/lib/brevo/models/create_update_product.rb similarity index 93% rename from lib/brevo-ruby/models/create_update_product.rb rename to lib/brevo/models/create_update_product.rb index 263fcd8..491f069 100644 --- a/lib/brevo-ruby/models/create_update_product.rb +++ b/lib/brevo/models/create_update_product.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateUpdateProduct # Product ID for which you requested the details attr_accessor :id @@ -250,7 +250,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_update_products.rb b/lib/brevo/models/create_update_products.rb similarity index 92% rename from lib/brevo-ruby/models/create_update_products.rb rename to lib/brevo/models/create_update_products.rb index 2285b68..de5256b 100644 --- a/lib/brevo-ruby/models/create_update_products.rb +++ b/lib/brevo/models/create_update_products.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateUpdateProducts # Product ID for which you requested the details attr_accessor :id @@ -238,7 +238,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_webhook.rb b/lib/brevo/models/create_webhook.rb similarity index 92% rename from lib/brevo-ruby/models/create_webhook.rb rename to lib/brevo/models/create_webhook.rb index 5712b58..e9a9b12 100644 --- a/lib/brevo-ruby/models/create_webhook.rb +++ b/lib/brevo/models/create_webhook.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateWebhook # URL of the webhook attr_accessor :url @@ -222,7 +222,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_whats_app_campaign.rb b/lib/brevo/models/create_whats_app_campaign.rb similarity index 91% rename from lib/brevo-ruby/models/create_whats_app_campaign.rb rename to lib/brevo/models/create_whats_app_campaign.rb index de38f4e..35e6c2c 100644 --- a/lib/brevo-ruby/models/create_whats_app_campaign.rb +++ b/lib/brevo/models/create_whats_app_campaign.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreateWhatsAppCampaign # Name of the WhatsApp campaign creation attr_accessor :name @@ -183,7 +183,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_whats_app_campaign_recipients.rb b/lib/brevo/models/create_whats_app_campaign_recipients.rb similarity index 90% rename from lib/brevo-ruby/models/create_whats_app_campaign_recipients.rb rename to lib/brevo/models/create_whats_app_campaign_recipients.rb index 49948fd..b056df3 100644 --- a/lib/brevo-ruby/models/create_whats_app_campaign_recipients.rb +++ b/lib/brevo/models/create_whats_app_campaign_recipients.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Segment ids and List ids to include/exclude from campaign class CreateWhatsAppCampaignRecipients # List ids to exclude from the campaign @@ -161,7 +161,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/create_whats_app_template.rb b/lib/brevo/models/create_whats_app_template.rb similarity index 92% rename from lib/brevo-ruby/models/create_whats_app_template.rb rename to lib/brevo/models/create_whats_app_template.rb index d5a9971..ccf520a 100644 --- a/lib/brevo-ruby/models/create_whats_app_template.rb +++ b/lib/brevo/models/create_whats_app_template.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,12 +12,12 @@ require 'date' -module BrevoRuby +module Brevo class CreateWhatsAppTemplate # Name of the template attr_accessor :name - # Language of the template. For Example : **en** for English + # Language of the template. For Example : **en** for English attr_accessor :language # Category of the template @@ -238,7 +238,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/created_batch_id.rb b/lib/brevo/models/created_batch_id.rb similarity index 89% rename from lib/brevo-ruby/models/created_batch_id.rb rename to lib/brevo/models/created_batch_id.rb index 4a7fa28..785c85e 100644 --- a/lib/brevo-ruby/models/created_batch_id.rb +++ b/lib/brevo/models/created_batch_id.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreatedBatchId # Batch ID of the request attr_accessor :batch_id @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/created_process_id.rb b/lib/brevo/models/created_process_id.rb similarity index 89% rename from lib/brevo-ruby/models/created_process_id.rb rename to lib/brevo/models/created_process_id.rb index 8a50eb2..6d99254 100644 --- a/lib/brevo-ruby/models/created_process_id.rb +++ b/lib/brevo/models/created_process_id.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class CreatedProcessId # Id of the process created attr_accessor :process_id @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/deal.rb b/lib/brevo/models/deal.rb similarity index 91% rename from lib/brevo-ruby/models/deal.rb rename to lib/brevo/models/deal.rb index 003f08f..fb82d1e 100644 --- a/lib/brevo-ruby/models/deal.rb +++ b/lib/brevo/models/deal.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Deal Details class Deal # Unique deal id @@ -169,7 +169,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/deal_attributes.rb b/lib/brevo/models/deal_attributes.rb similarity index 88% rename from lib/brevo-ruby/models/deal_attributes.rb rename to lib/brevo/models/deal_attributes.rb index b334b9e..0c26fee 100644 --- a/lib/brevo-ruby/models/deal_attributes.rb +++ b/lib/brevo/models/deal_attributes.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # List of deal attributes class DealAttributes # Attribute mapping from ruby-style variable name to JSON key. @@ -125,7 +125,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/deal_attributes_inner.rb b/lib/brevo/models/deal_attributes_inner.rb similarity index 91% rename from lib/brevo-ruby/models/deal_attributes_inner.rb rename to lib/brevo/models/deal_attributes_inner.rb index aaccac8..891b22c 100644 --- a/lib/brevo-ruby/models/deal_attributes_inner.rb +++ b/lib/brevo/models/deal_attributes_inner.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # List of attributes class DealAttributesInner attr_accessor :internal_name @@ -172,7 +172,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/deals_list.rb b/lib/brevo/models/deals_list.rb similarity index 89% rename from lib/brevo-ruby/models/deals_list.rb rename to lib/brevo/models/deals_list.rb index 8c7fc82..b97c97c 100644 --- a/lib/brevo-ruby/models/deals_list.rb +++ b/lib/brevo/models/deals_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # List of Deals class DealsList # List of deals @@ -137,7 +137,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/delete_hardbounces.rb b/lib/brevo/models/delete_hardbounces.rb similarity index 90% rename from lib/brevo-ruby/models/delete_hardbounces.rb rename to lib/brevo/models/delete_hardbounces.rb index 660edfe..203fe41 100644 --- a/lib/brevo-ruby/models/delete_hardbounces.rb +++ b/lib/brevo/models/delete_hardbounces.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class DeleteHardbounces # Starting date (YYYY-MM-DD) of the time period for deletion. The hardbounces occurred after this date will be deleted. Must be less than or equal to the endDate attr_accessor :start_date @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/email_export_recipients.rb b/lib/brevo/models/email_export_recipients.rb similarity index 91% rename from lib/brevo-ruby/models/email_export_recipients.rb rename to lib/brevo/models/email_export_recipients.rb index fd56d08..b995914 100644 --- a/lib/brevo-ruby/models/email_export_recipients.rb +++ b/lib/brevo/models/email_export_recipients.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class EmailExportRecipients # Webhook called once the export process is finished. For reference, https://help.brevo.com/hc/en-us/articles/360007666479 attr_accessor :notify_url @@ -183,7 +183,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/error_model.rb b/lib/brevo/models/error_model.rb similarity index 92% rename from lib/brevo-ruby/models/error_model.rb rename to lib/brevo/models/error_model.rb index 467a641..15b9169 100644 --- a/lib/brevo-ruby/models/error_model.rb +++ b/lib/brevo/models/error_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class ErrorModel # Error code displayed in case of a failure attr_accessor :code @@ -188,7 +188,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/export_webhooks_history.rb b/lib/brevo/models/export_webhooks_history.rb similarity index 93% rename from lib/brevo-ruby/models/export_webhooks_history.rb rename to lib/brevo/models/export_webhooks_history.rb index 1b011b1..d3ee02f 100644 --- a/lib/brevo-ruby/models/export_webhooks_history.rb +++ b/lib/brevo/models/export_webhooks_history.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class ExportWebhooksHistory # Number of days in the past including today (positive integer). _Not compatible with 'startDate' and 'endDate'_ attr_accessor :days @@ -258,7 +258,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/file_data.rb b/lib/brevo/models/file_data.rb similarity index 91% rename from lib/brevo-ruby/models/file_data.rb rename to lib/brevo/models/file_data.rb index a060c34..392c590 100644 --- a/lib/brevo-ruby/models/file_data.rb +++ b/lib/brevo/models/file_data.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # File data that is uploaded class FileData # Name of uploaded file @@ -195,7 +195,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/file_downloadable_link.rb b/lib/brevo/models/file_downloadable_link.rb similarity index 89% rename from lib/brevo-ruby/models/file_downloadable_link.rb rename to lib/brevo/models/file_downloadable_link.rb index 040c169..f603d28 100644 --- a/lib/brevo-ruby/models/file_downloadable_link.rb +++ b/lib/brevo/models/file_downloadable_link.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class FileDownloadableLink # A unique link to download the requested file. attr_accessor :file_url @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/file_list.rb b/lib/brevo/models/file_list.rb similarity index 88% rename from lib/brevo-ruby/models/file_list.rb rename to lib/brevo/models/file_list.rb index 7c2a755..75f30c8 100644 --- a/lib/brevo-ruby/models/file_list.rb +++ b/lib/brevo/models/file_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # List of files class FileList # Attribute mapping from ruby-style variable name to JSON key. @@ -125,7 +125,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_account.rb b/lib/brevo/models/get_account.rb similarity index 92% rename from lib/brevo-ruby/models/get_account.rb rename to lib/brevo/models/get_account.rb index 030ee83..186d11e 100644 --- a/lib/brevo-ruby/models/get_account.rb +++ b/lib/brevo/models/get_account.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetAccount # Login Email attr_accessor :email @@ -238,7 +238,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_account_activity.rb b/lib/brevo/models/get_account_activity.rb similarity index 89% rename from lib/brevo-ruby/models/get_account_activity.rb rename to lib/brevo/models/get_account_activity.rb index acaf36d..b932721 100644 --- a/lib/brevo-ruby/models/get_account_activity.rb +++ b/lib/brevo/models/get_account_activity.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetAccountActivity # Get user activity logs attr_accessor :logs @@ -136,7 +136,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_account_activity_logs.rb b/lib/brevo/models/get_account_activity_logs.rb similarity index 91% rename from lib/brevo-ruby/models/get_account_activity_logs.rb rename to lib/brevo/models/get_account_activity_logs.rb index d2db5f8..94fe0f6 100644 --- a/lib/brevo-ruby/models/get_account_activity_logs.rb +++ b/lib/brevo/models/get_account_activity_logs.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetAccountActivityLogs # Type of activity in the account. attr_accessor :action @@ -199,7 +199,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_account_marketing_automation.rb b/lib/brevo/models/get_account_marketing_automation.rb similarity index 90% rename from lib/brevo-ruby/models/get_account_marketing_automation.rb rename to lib/brevo/models/get_account_marketing_automation.rb index cbc9b87..48dfb00 100644 --- a/lib/brevo-ruby/models/get_account_marketing_automation.rb +++ b/lib/brevo/models/get_account_marketing_automation.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetAccountMarketingAutomation # Marketing Automation Tracker ID attr_accessor :key @@ -149,7 +149,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_account_plan.rb b/lib/brevo/models/get_account_plan.rb similarity index 93% rename from lib/brevo-ruby/models/get_account_plan.rb rename to lib/brevo/models/get_account_plan.rb index 0203169..3b1ae53 100644 --- a/lib/brevo-ruby/models/get_account_plan.rb +++ b/lib/brevo/models/get_account_plan.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetAccountPlan # Displays the plan type of the user attr_accessor :type @@ -245,7 +245,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_account_relay.rb b/lib/brevo/models/get_account_relay.rb similarity index 90% rename from lib/brevo-ruby/models/get_account_relay.rb rename to lib/brevo/models/get_account_relay.rb index ee3bdb7..a25bd97 100644 --- a/lib/brevo-ruby/models/get_account_relay.rb +++ b/lib/brevo/models/get_account_relay.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Information about your transactional email account class GetAccountRelay # Status of your transactional email Account (true=Enabled, false=Disabled) @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_account_relay_data.rb b/lib/brevo/models/get_account_relay_data.rb similarity index 90% rename from lib/brevo-ruby/models/get_account_relay_data.rb rename to lib/brevo/models/get_account_relay_data.rb index 9659455..ae475fc 100644 --- a/lib/brevo-ruby/models/get_account_relay_data.rb +++ b/lib/brevo/models/get_account_relay_data.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Data regarding the transactional email account class GetAccountRelayData # Email to use as login on transactional platform @@ -170,7 +170,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_aggregated_report.rb b/lib/brevo/models/get_aggregated_report.rb similarity index 93% rename from lib/brevo-ruby/models/get_aggregated_report.rb rename to lib/brevo/models/get_aggregated_report.rb index 5f2915f..1663280 100644 --- a/lib/brevo-ruby/models/get_aggregated_report.rb +++ b/lib/brevo/models/get_aggregated_report.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetAggregatedReport # Time frame of the report attr_accessor :range @@ -254,7 +254,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_all_external_feeds.rb b/lib/brevo/models/get_all_external_feeds.rb similarity index 89% rename from lib/brevo-ruby/models/get_all_external_feeds.rb rename to lib/brevo/models/get_all_external_feeds.rb index c232204..2631cc8 100644 --- a/lib/brevo-ruby/models/get_all_external_feeds.rb +++ b/lib/brevo/models/get_all_external_feeds.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetAllExternalFeeds # Total number of batches attr_accessor :count @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_all_external_feeds_feeds.rb b/lib/brevo/models/get_all_external_feeds_feeds.rb similarity index 94% rename from lib/brevo-ruby/models/get_all_external_feeds_feeds.rb rename to lib/brevo/models/get_all_external_feeds_feeds.rb index 9391f04..0d0bdd6 100644 --- a/lib/brevo-ruby/models/get_all_external_feeds_feeds.rb +++ b/lib/brevo/models/get_all_external_feeds_feeds.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetAllExternalFeedsFeeds # ID of the feed attr_accessor :id @@ -353,7 +353,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_attributes.rb b/lib/brevo/models/get_attributes.rb similarity index 89% rename from lib/brevo-ruby/models/get_attributes.rb rename to lib/brevo/models/get_attributes.rb index f585157..a53bae7 100644 --- a/lib/brevo-ruby/models/get_attributes.rb +++ b/lib/brevo/models/get_attributes.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetAttributes # Listing of available contact attributes in your account attr_accessor :attributes @@ -141,7 +141,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_attributes_attributes.rb b/lib/brevo/models/get_attributes_attributes.rb similarity index 93% rename from lib/brevo-ruby/models/get_attributes_attributes.rb rename to lib/brevo/models/get_attributes_attributes.rb index b16bfc0..b4b9d08 100644 --- a/lib/brevo-ruby/models/get_attributes_attributes.rb +++ b/lib/brevo/models/get_attributes_attributes.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetAttributesAttributes # Name of the attribute attr_accessor :name @@ -232,7 +232,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_attributes_enumeration.rb b/lib/brevo/models/get_attributes_enumeration.rb similarity index 90% rename from lib/brevo-ruby/models/get_attributes_enumeration.rb rename to lib/brevo/models/get_attributes_enumeration.rb index bc5aa51..2f435e1 100644 --- a/lib/brevo-ruby/models/get_attributes_enumeration.rb +++ b/lib/brevo/models/get_attributes_enumeration.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetAttributesEnumeration # ID of Value of the \"category\" type attribute attr_accessor :value @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_blocked_domains.rb b/lib/brevo/models/get_blocked_domains.rb similarity index 89% rename from lib/brevo-ruby/models/get_blocked_domains.rb rename to lib/brevo/models/get_blocked_domains.rb index 1e6f85e..67b3b82 100644 --- a/lib/brevo-ruby/models/get_blocked_domains.rb +++ b/lib/brevo/models/get_blocked_domains.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # list of blocked domains class GetBlockedDomains # List of all blocked domains @@ -142,7 +142,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_campaign_overview.rb b/lib/brevo/models/get_campaign_overview.rb similarity index 91% rename from lib/brevo-ruby/models/get_campaign_overview.rb rename to lib/brevo/models/get_campaign_overview.rb index ba9baa9..5cff92f 100644 --- a/lib/brevo-ruby/models/get_campaign_overview.rb +++ b/lib/brevo/models/get_campaign_overview.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetCampaignOverview # ID of the campaign attr_accessor :id @@ -23,6 +23,9 @@ class GetCampaignOverview # Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` attr_accessor :subject + # Preview text or preheader of the email campaign + attr_accessor :preview_text + # Type of campaign attr_accessor :type @@ -81,6 +84,7 @@ def self.attribute_map :'id' => :'id', :'name' => :'name', :'subject' => :'subject', + :'preview_text' => :'previewText', :'type' => :'type', :'status' => :'status', :'scheduled_at' => :'scheduledAt', @@ -100,6 +104,7 @@ def self.swagger_types :'id' => :'Integer', :'name' => :'String', :'subject' => :'String', + :'preview_text' => :'String', :'type' => :'String', :'status' => :'String', :'scheduled_at' => :'String', @@ -133,6 +138,10 @@ def initialize(attributes = {}) self.subject = attributes[:'subject'] end + if attributes.has_key?(:'previewText') + self.preview_text = attributes[:'previewText'] + end + if attributes.has_key?(:'type') self.type = attributes[:'type'] end @@ -239,6 +248,7 @@ def ==(o) id == o.id && name == o.name && subject == o.subject && + preview_text == o.preview_text && type == o.type && status == o.status && scheduled_at == o.scheduled_at && @@ -260,7 +270,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [id, name, subject, type, status, scheduled_at, ab_testing, subject_a, subject_b, split_rule, winner_criteria, winner_delay, send_at_best_time].hash + [id, name, subject, preview_text, type, status, scheduled_at, ab_testing, subject_a, subject_b, split_rule, winner_criteria, winner_delay, send_at_best_time].hash end # Builds the object from hash @@ -320,7 +330,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_campaign_recipients.rb b/lib/brevo/models/get_campaign_recipients.rb similarity index 90% rename from lib/brevo-ruby/models/get_campaign_recipients.rb rename to lib/brevo/models/get_campaign_recipients.rb index 87ad212..3926bf0 100644 --- a/lib/brevo-ruby/models/get_campaign_recipients.rb +++ b/lib/brevo/models/get_campaign_recipients.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetCampaignRecipients attr_accessor :lists @@ -156,7 +156,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_campaign_stats.rb b/lib/brevo/models/get_campaign_stats.rb similarity index 95% rename from lib/brevo-ruby/models/get_campaign_stats.rb rename to lib/brevo/models/get_campaign_stats.rb index 78e3e75..7e1b0a3 100644 --- a/lib/brevo-ruby/models/get_campaign_stats.rb +++ b/lib/brevo/models/get_campaign_stats.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetCampaignStats # List Id of email campaign (only in case of get email campaign(s)(not for global stats)) attr_accessor :list_id @@ -339,7 +339,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_categories.rb b/lib/brevo/models/get_categories.rb similarity index 90% rename from lib/brevo-ruby/models/get_categories.rb rename to lib/brevo/models/get_categories.rb index 248ced4..c6615da 100644 --- a/lib/brevo-ruby/models/get_categories.rb +++ b/lib/brevo/models/get_categories.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetCategories attr_accessor :categories @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_category_details.rb b/lib/brevo/models/get_category_details.rb similarity index 92% rename from lib/brevo-ruby/models/get_category_details.rb rename to lib/brevo/models/get_category_details.rb index d45a50d..709ff18 100644 --- a/lib/brevo-ruby/models/get_category_details.rb +++ b/lib/brevo/models/get_category_details.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetCategoryDetails # Category ID for which you requested the details attr_accessor :id @@ -204,7 +204,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_child_account_creation_status.rb b/lib/brevo/models/get_child_account_creation_status.rb similarity index 89% rename from lib/brevo-ruby/models/get_child_account_creation_status.rb rename to lib/brevo/models/get_child_account_creation_status.rb index 83bb55f..f554d68 100644 --- a/lib/brevo-ruby/models/get_child_account_creation_status.rb +++ b/lib/brevo/models/get_child_account_creation_status.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetChildAccountCreationStatus # Status of child account creation whether it is successfully created (exists) or not. attr_accessor :child_account_created @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_child_domain.rb b/lib/brevo/models/get_child_domain.rb similarity index 89% rename from lib/brevo-ruby/models/get_child_domain.rb rename to lib/brevo/models/get_child_domain.rb index 890c29a..9f34bdb 100644 --- a/lib/brevo-ruby/models/get_child_domain.rb +++ b/lib/brevo/models/get_child_domain.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetChildDomain # Sender domain attr_accessor :domain @@ -144,7 +144,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_child_domains.rb b/lib/brevo/models/get_child_domains.rb similarity index 88% rename from lib/brevo-ruby/models/get_child_domains.rb rename to lib/brevo/models/get_child_domains.rb index 02cb9b0..6f191cf 100644 --- a/lib/brevo-ruby/models/get_child_domains.rb +++ b/lib/brevo/models/get_child_domains.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetChildDomains # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -124,7 +124,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_child_info.rb b/lib/brevo/models/get_child_info.rb similarity index 92% rename from lib/brevo-ruby/models/get_child_info.rb rename to lib/brevo/models/get_child_info.rb index 48c3599..b91e96d 100644 --- a/lib/brevo-ruby/models/get_child_info.rb +++ b/lib/brevo/models/get_child_info.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetChildInfo # Login Email attr_accessor :email @@ -238,7 +238,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_child_info_api_keys.rb b/lib/brevo/models/get_child_info_api_keys.rb similarity index 89% rename from lib/brevo-ruby/models/get_child_info_api_keys.rb rename to lib/brevo/models/get_child_info_api_keys.rb index 4aa2ba9..4c9b9b0 100644 --- a/lib/brevo-ruby/models/get_child_info_api_keys.rb +++ b/lib/brevo/models/get_child_info_api_keys.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # API Keys associated to child account class GetChildInfoApiKeys attr_accessor :v2 @@ -152,7 +152,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_child_info_api_keys_v2.rb b/lib/brevo/models/get_child_info_api_keys_v2.rb similarity index 90% rename from lib/brevo-ruby/models/get_child_info_api_keys_v2.rb rename to lib/brevo/models/get_child_info_api_keys_v2.rb index 463b611..b7d863b 100644 --- a/lib/brevo-ruby/models/get_child_info_api_keys_v2.rb +++ b/lib/brevo/models/get_child_info_api_keys_v2.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetChildInfoApiKeysV2 # Name of the key for version 2 attr_accessor :name @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_child_info_api_keys_v3.rb b/lib/brevo/models/get_child_info_api_keys_v3.rb similarity index 90% rename from lib/brevo-ruby/models/get_child_info_api_keys_v3.rb rename to lib/brevo/models/get_child_info_api_keys_v3.rb index ac3d9fd..39b68b7 100644 --- a/lib/brevo-ruby/models/get_child_info_api_keys_v3.rb +++ b/lib/brevo/models/get_child_info_api_keys_v3.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetChildInfoApiKeysV3 # Name of the key for version 3 attr_accessor :name @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_child_info_credits.rb b/lib/brevo/models/get_child_info_credits.rb similarity index 89% rename from lib/brevo-ruby/models/get_child_info_credits.rb rename to lib/brevo/models/get_child_info_credits.rb index afeb875..129d081 100644 --- a/lib/brevo-ruby/models/get_child_info_credits.rb +++ b/lib/brevo/models/get_child_info_credits.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Credits available for your child class GetChildInfoCredits # Email credits available for your child @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_child_info_statistics.rb b/lib/brevo/models/get_child_info_statistics.rb similarity index 90% rename from lib/brevo-ruby/models/get_child_info_statistics.rb rename to lib/brevo/models/get_child_info_statistics.rb index aa39411..b129ee1 100644 --- a/lib/brevo-ruby/models/get_child_info_statistics.rb +++ b/lib/brevo/models/get_child_info_statistics.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Statistics about your child account activity class GetChildInfoStatistics # Overall emails sent for the previous month @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_children_list.rb b/lib/brevo/models/get_children_list.rb similarity index 89% rename from lib/brevo-ruby/models/get_children_list.rb rename to lib/brevo/models/get_children_list.rb index 563b42f..25e8aae 100644 --- a/lib/brevo-ruby/models/get_children_list.rb +++ b/lib/brevo/models/get_children_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetChildrenList # Your children's account information attr_accessor :children @@ -146,7 +146,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_client.rb b/lib/brevo/models/get_client.rb similarity index 91% rename from lib/brevo-ruby/models/get_client.rb rename to lib/brevo/models/get_client.rb index 118b407..fc2bc83 100644 --- a/lib/brevo-ruby/models/get_client.rb +++ b/lib/brevo/models/get_client.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetClient # Login Email attr_accessor :email @@ -184,7 +184,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_contact_campaign_stats.rb b/lib/brevo/models/get_contact_campaign_stats.rb similarity index 92% rename from lib/brevo-ruby/models/get_contact_campaign_stats.rb rename to lib/brevo/models/get_contact_campaign_stats.rb index 9ad3dd2..20424f4 100644 --- a/lib/brevo-ruby/models/get_contact_campaign_stats.rb +++ b/lib/brevo/models/get_contact_campaign_stats.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Campaign Statistics for the contact class GetContactCampaignStats attr_accessor :messages_sent @@ -222,7 +222,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_contact_campaign_stats_clicked.rb b/lib/brevo/models/get_contact_campaign_stats_clicked.rb similarity index 90% rename from lib/brevo-ruby/models/get_contact_campaign_stats_clicked.rb rename to lib/brevo/models/get_contact_campaign_stats_clicked.rb index a62bbbe..18849bf 100644 --- a/lib/brevo-ruby/models/get_contact_campaign_stats_clicked.rb +++ b/lib/brevo/models/get_contact_campaign_stats_clicked.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetContactCampaignStatsClicked # ID of the campaign which generated the event attr_accessor :campaign_id @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_contact_campaign_stats_opened.rb b/lib/brevo/models/get_contact_campaign_stats_opened.rb similarity index 91% rename from lib/brevo-ruby/models/get_contact_campaign_stats_opened.rb rename to lib/brevo/models/get_contact_campaign_stats_opened.rb index 0e48c07..8f2cfab 100644 --- a/lib/brevo-ruby/models/get_contact_campaign_stats_opened.rb +++ b/lib/brevo/models/get_contact_campaign_stats_opened.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetContactCampaignStatsOpened # ID of the campaign which generated the event attr_accessor :campaign_id @@ -184,7 +184,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_contact_campaign_stats_transac_attributes.rb b/lib/brevo/models/get_contact_campaign_stats_transac_attributes.rb similarity index 90% rename from lib/brevo-ruby/models/get_contact_campaign_stats_transac_attributes.rb rename to lib/brevo/models/get_contact_campaign_stats_transac_attributes.rb index db62f86..93da711 100644 --- a/lib/brevo-ruby/models/get_contact_campaign_stats_transac_attributes.rb +++ b/lib/brevo/models/get_contact_campaign_stats_transac_attributes.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetContactCampaignStatsTransacAttributes # Date of the order attr_accessor :order_date @@ -169,7 +169,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_contact_campaign_stats_unsubscriptions.rb b/lib/brevo/models/get_contact_campaign_stats_unsubscriptions.rb similarity index 91% rename from lib/brevo-ruby/models/get_contact_campaign_stats_unsubscriptions.rb rename to lib/brevo/models/get_contact_campaign_stats_unsubscriptions.rb index ed7cf43..ca6a59f 100644 --- a/lib/brevo-ruby/models/get_contact_campaign_stats_unsubscriptions.rb +++ b/lib/brevo/models/get_contact_campaign_stats_unsubscriptions.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetContactCampaignStatsUnsubscriptions # Contact has unsubscribed via the unsubscription link in the email attr_accessor :user_unsubscription @@ -158,7 +158,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_contact_details.rb b/lib/brevo/models/get_contact_details.rb similarity index 93% rename from lib/brevo-ruby/models/get_contact_details.rb rename to lib/brevo/models/get_contact_details.rb index c94922a..cab4f3d 100644 --- a/lib/brevo-ruby/models/get_contact_details.rb +++ b/lib/brevo/models/get_contact_details.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetContactDetails # Email address of the contact for which you requested the details attr_accessor :email @@ -256,7 +256,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_contacts.rb b/lib/brevo/models/get_contacts.rb similarity index 90% rename from lib/brevo-ruby/models/get_contacts.rb rename to lib/brevo/models/get_contacts.rb index 15f9793..8e406f0 100644 --- a/lib/brevo-ruby/models/get_contacts.rb +++ b/lib/brevo/models/get_contacts.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetContacts attr_accessor :contacts @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_coupon_collection.rb b/lib/brevo/models/get_coupon_collection.rb similarity index 92% rename from lib/brevo-ruby/models/get_coupon_collection.rb rename to lib/brevo/models/get_coupon_collection.rb index c1c136f..60ade5d 100644 --- a/lib/brevo-ruby/models/get_coupon_collection.rb +++ b/lib/brevo/models/get_coupon_collection.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetCouponCollection # The id of the collection attr_accessor :id @@ -214,7 +214,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_device_browser_stats.rb b/lib/brevo/models/get_device_browser_stats.rb similarity index 91% rename from lib/brevo-ruby/models/get_device_browser_stats.rb rename to lib/brevo/models/get_device_browser_stats.rb index 4668034..af5236e 100644 --- a/lib/brevo-ruby/models/get_device_browser_stats.rb +++ b/lib/brevo/models/get_device_browser_stats.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetDeviceBrowserStats # Number of total clicks for the campaign using the particular browser attr_accessor :clickers @@ -184,7 +184,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_domain_configuration_model.rb b/lib/brevo/models/get_domain_configuration_model.rb similarity index 91% rename from lib/brevo-ruby/models/get_domain_configuration_model.rb rename to lib/brevo/models/get_domain_configuration_model.rb index 070dfd1..eccde6e 100644 --- a/lib/brevo-ruby/models/get_domain_configuration_model.rb +++ b/lib/brevo/models/get_domain_configuration_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetDomainConfigurationModel # Domain attr_accessor :domain @@ -183,7 +183,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_domains_list.rb b/lib/brevo/models/get_domains_list.rb similarity index 89% rename from lib/brevo-ruby/models/get_domains_list.rb rename to lib/brevo/models/get_domains_list.rb index 40f5f50..9302101 100644 --- a/lib/brevo-ruby/models/get_domains_list.rb +++ b/lib/brevo/models/get_domains_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetDomainsList # List of the domains available in your account attr_accessor :domains @@ -136,7 +136,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_domains_list_domains.rb b/lib/brevo/models/get_domains_list_domains.rb similarity index 91% rename from lib/brevo-ruby/models/get_domains_list_domains.rb rename to lib/brevo/models/get_domains_list_domains.rb index 0570b3e..be48347 100644 --- a/lib/brevo-ruby/models/get_domains_list_domains.rb +++ b/lib/brevo/models/get_domains_list_domains.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetDomainsListDomains # Id of the domain attr_accessor :id @@ -194,7 +194,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_email_campaign.rb b/lib/brevo/models/get_email_campaign.rb similarity index 93% rename from lib/brevo-ruby/models/get_email_campaign.rb rename to lib/brevo/models/get_email_campaign.rb index fd4d156..b25b896 100644 --- a/lib/brevo-ruby/models/get_email_campaign.rb +++ b/lib/brevo/models/get_email_campaign.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetEmailCampaign # ID of the campaign attr_accessor :id @@ -23,6 +23,9 @@ class GetEmailCampaign # Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` attr_accessor :subject + # Preview text or preheader of the email campaign + attr_accessor :preview_text + # Type of campaign attr_accessor :type @@ -132,6 +135,7 @@ def self.attribute_map :'id' => :'id', :'name' => :'name', :'subject' => :'subject', + :'preview_text' => :'previewText', :'type' => :'type', :'status' => :'status', :'scheduled_at' => :'scheduledAt', @@ -169,6 +173,7 @@ def self.swagger_types :'id' => :'Integer', :'name' => :'String', :'subject' => :'String', + :'preview_text' => :'String', :'type' => :'String', :'status' => :'String', :'scheduled_at' => :'String', @@ -220,6 +225,10 @@ def initialize(attributes = {}) self.subject = attributes[:'subject'] end + if attributes.has_key?(:'previewText') + self.preview_text = attributes[:'previewText'] + end + if attributes.has_key?(:'type') self.type = attributes[:'type'] end @@ -448,6 +457,7 @@ def ==(o) id == o.id && name == o.name && subject == o.subject && + preview_text == o.preview_text && type == o.type && status == o.status && scheduled_at == o.scheduled_at && @@ -487,7 +497,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [id, name, subject, type, status, scheduled_at, ab_testing, subject_a, subject_b, split_rule, winner_criteria, winner_delay, send_at_best_time, test_sent, header, footer, sender, reply_to, to_field, html_content, share_link, tag, created_at, modified_at, inline_image_activation, mirror_active, recurring, sent_date, return_bounce, recipients, statistics].hash + [id, name, subject, preview_text, type, status, scheduled_at, ab_testing, subject_a, subject_b, split_rule, winner_criteria, winner_delay, send_at_best_time, test_sent, header, footer, sender, reply_to, to_field, html_content, share_link, tag, created_at, modified_at, inline_image_activation, mirror_active, recurring, sent_date, return_bounce, recipients, statistics].hash end # Builds the object from hash @@ -547,7 +557,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_email_campaigns.rb b/lib/brevo/models/get_email_campaigns.rb similarity index 89% rename from lib/brevo-ruby/models/get_email_campaigns.rb rename to lib/brevo/models/get_email_campaigns.rb index 9ca222f..ea1e4fb 100644 --- a/lib/brevo-ruby/models/get_email_campaigns.rb +++ b/lib/brevo/models/get_email_campaigns.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetEmailCampaigns attr_accessor :campaigns @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_email_event_report.rb b/lib/brevo/models/get_email_event_report.rb similarity index 89% rename from lib/brevo-ruby/models/get_email_event_report.rb rename to lib/brevo/models/get_email_event_report.rb index 031b29a..fb77b81 100644 --- a/lib/brevo-ruby/models/get_email_event_report.rb +++ b/lib/brevo/models/get_email_event_report.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetEmailEventReport attr_accessor :events @@ -135,7 +135,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_email_event_report_events.rb b/lib/brevo/models/get_email_event_report_events.rb similarity index 94% rename from lib/brevo-ruby/models/get_email_event_report_events.rb rename to lib/brevo/models/get_email_event_report_events.rb index 979968d..ecf042b 100644 --- a/lib/brevo-ruby/models/get_email_event_report_events.rb +++ b/lib/brevo/models/get_email_event_report_events.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetEmailEventReportEvents # Email address which generates the event attr_accessor :email @@ -288,7 +288,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_campaign_overview.rb b/lib/brevo/models/get_extended_campaign_overview.rb similarity index 93% rename from lib/brevo-ruby/models/get_extended_campaign_overview.rb rename to lib/brevo/models/get_extended_campaign_overview.rb index 71c770a..53c2e6c 100644 --- a/lib/brevo-ruby/models/get_extended_campaign_overview.rb +++ b/lib/brevo/models/get_extended_campaign_overview.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedCampaignOverview # ID of the campaign attr_accessor :id @@ -23,6 +23,9 @@ class GetExtendedCampaignOverview # Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` attr_accessor :subject + # Preview text or preheader of the email campaign + attr_accessor :preview_text + # Type of campaign attr_accessor :type @@ -128,6 +131,7 @@ def self.attribute_map :'id' => :'id', :'name' => :'name', :'subject' => :'subject', + :'preview_text' => :'previewText', :'type' => :'type', :'status' => :'status', :'scheduled_at' => :'scheduledAt', @@ -163,6 +167,7 @@ def self.swagger_types :'id' => :'Integer', :'name' => :'String', :'subject' => :'String', + :'preview_text' => :'String', :'type' => :'String', :'status' => :'String', :'scheduled_at' => :'String', @@ -212,6 +217,10 @@ def initialize(attributes = {}) self.subject = attributes[:'subject'] end + if attributes.has_key?(:'previewText') + self.preview_text = attributes[:'previewText'] + end + if attributes.has_key?(:'type') self.type = attributes[:'type'] end @@ -422,6 +431,7 @@ def ==(o) id == o.id && name == o.name && subject == o.subject && + preview_text == o.preview_text && type == o.type && status == o.status && scheduled_at == o.scheduled_at && @@ -459,7 +469,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [id, name, subject, type, status, scheduled_at, ab_testing, subject_a, subject_b, split_rule, winner_criteria, winner_delay, send_at_best_time, test_sent, header, footer, sender, reply_to, to_field, html_content, share_link, tag, created_at, modified_at, inline_image_activation, mirror_active, recurring, sent_date, return_bounce].hash + [id, name, subject, preview_text, type, status, scheduled_at, ab_testing, subject_a, subject_b, split_rule, winner_criteria, winner_delay, send_at_best_time, test_sent, header, footer, sender, reply_to, to_field, html_content, share_link, tag, created_at, modified_at, inline_image_activation, mirror_active, recurring, sent_date, return_bounce].hash end # Builds the object from hash @@ -519,7 +529,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_campaign_overview_sender.rb b/lib/brevo/models/get_extended_campaign_overview_sender.rb similarity index 90% rename from lib/brevo-ruby/models/get_extended_campaign_overview_sender.rb rename to lib/brevo/models/get_extended_campaign_overview_sender.rb index 50f27ae..7597416 100644 --- a/lib/brevo-ruby/models/get_extended_campaign_overview_sender.rb +++ b/lib/brevo/models/get_extended_campaign_overview_sender.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedCampaignOverviewSender # Sender name of the campaign attr_accessor :name @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_campaign_stats.rb b/lib/brevo/models/get_extended_campaign_stats.rb similarity index 93% rename from lib/brevo-ruby/models/get_extended_campaign_stats.rb rename to lib/brevo/models/get_extended_campaign_stats.rb index 6b43dbe..061fa3c 100644 --- a/lib/brevo-ruby/models/get_extended_campaign_stats.rb +++ b/lib/brevo/models/get_extended_campaign_stats.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedCampaignStats attr_accessor :global_stats @@ -244,7 +244,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_campaign_stats_global_stats.rb b/lib/brevo/models/get_extended_campaign_stats_global_stats.rb similarity index 88% rename from lib/brevo-ruby/models/get_extended_campaign_stats_global_stats.rb rename to lib/brevo/models/get_extended_campaign_stats_global_stats.rb index 7fc1b25..b0c2a39 100644 --- a/lib/brevo-ruby/models/get_extended_campaign_stats_global_stats.rb +++ b/lib/brevo/models/get_extended_campaign_stats_global_stats.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Overall statistics of the campaign class GetExtendedCampaignStatsGlobalStats # Attribute mapping from ruby-style variable name to JSON key. @@ -125,7 +125,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_client.rb b/lib/brevo/models/get_extended_client.rb similarity index 91% rename from lib/brevo-ruby/models/get_extended_client.rb rename to lib/brevo/models/get_extended_client.rb index 81a5ca0..913ebe5 100644 --- a/lib/brevo-ruby/models/get_extended_client.rb +++ b/lib/brevo/models/get_extended_client.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedClient # Login Email attr_accessor :email @@ -198,7 +198,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_client_address.rb b/lib/brevo/models/get_extended_client_address.rb similarity index 91% rename from lib/brevo-ruby/models/get_extended_client_address.rb rename to lib/brevo/models/get_extended_client_address.rb index 83379b2..06eeb16 100644 --- a/lib/brevo-ruby/models/get_extended_client_address.rb +++ b/lib/brevo/models/get_extended_client_address.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Address informations class GetExtendedClientAddress # Street information @@ -185,7 +185,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_contact_details.rb b/lib/brevo/models/get_extended_contact_details.rb similarity index 93% rename from lib/brevo-ruby/models/get_extended_contact_details.rb rename to lib/brevo/models/get_extended_contact_details.rb index 6197d63..f91bcbd 100644 --- a/lib/brevo-ruby/models/get_extended_contact_details.rb +++ b/lib/brevo/models/get_extended_contact_details.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedContactDetails # Email address of the contact for which you requested the details attr_accessor :email @@ -270,7 +270,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_contact_details_statistics.rb b/lib/brevo/models/get_extended_contact_details_statistics.rb similarity index 93% rename from lib/brevo-ruby/models/get_extended_contact_details_statistics.rb rename to lib/brevo/models/get_extended_contact_details_statistics.rb index b225979..1eb6857 100644 --- a/lib/brevo-ruby/models/get_extended_contact_details_statistics.rb +++ b/lib/brevo/models/get_extended_contact_details_statistics.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Campaign statistics of the contact class GetExtendedContactDetailsStatistics # Listing of the sent campaign for the contact @@ -230,7 +230,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_contact_details_statistics_clicked.rb b/lib/brevo/models/get_extended_contact_details_statistics_clicked.rb similarity index 90% rename from lib/brevo-ruby/models/get_extended_contact_details_statistics_clicked.rb rename to lib/brevo/models/get_extended_contact_details_statistics_clicked.rb index 80964e4..7173950 100644 --- a/lib/brevo-ruby/models/get_extended_contact_details_statistics_clicked.rb +++ b/lib/brevo/models/get_extended_contact_details_statistics_clicked.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedContactDetailsStatisticsClicked # ID of the campaign which generated the event attr_accessor :campaign_id @@ -156,7 +156,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_contact_details_statistics_delivered.rb b/lib/brevo/models/get_extended_contact_details_statistics_delivered.rb similarity index 90% rename from lib/brevo-ruby/models/get_extended_contact_details_statistics_delivered.rb rename to lib/brevo/models/get_extended_contact_details_statistics_delivered.rb index 781478d..5afb068 100644 --- a/lib/brevo-ruby/models/get_extended_contact_details_statistics_delivered.rb +++ b/lib/brevo/models/get_extended_contact_details_statistics_delivered.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedContactDetailsStatisticsDelivered # ID of the campaign which generated the event attr_accessor :campaign_id @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_contact_details_statistics_links.rb b/lib/brevo/models/get_extended_contact_details_statistics_links.rb similarity index 91% rename from lib/brevo-ruby/models/get_extended_contact_details_statistics_links.rb rename to lib/brevo/models/get_extended_contact_details_statistics_links.rb index 0706478..57cfaee 100644 --- a/lib/brevo-ruby/models/get_extended_contact_details_statistics_links.rb +++ b/lib/brevo/models/get_extended_contact_details_statistics_links.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedContactDetailsStatisticsLinks # Number of clicks on this link for the campaign attr_accessor :count @@ -184,7 +184,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_contact_details_statistics_messages_sent.rb b/lib/brevo/models/get_extended_contact_details_statistics_messages_sent.rb similarity index 90% rename from lib/brevo-ruby/models/get_extended_contact_details_statistics_messages_sent.rb rename to lib/brevo/models/get_extended_contact_details_statistics_messages_sent.rb index 27fe94f..c1dec93 100644 --- a/lib/brevo-ruby/models/get_extended_contact_details_statistics_messages_sent.rb +++ b/lib/brevo/models/get_extended_contact_details_statistics_messages_sent.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedContactDetailsStatisticsMessagesSent # ID of the campaign which generated the event attr_accessor :campaign_id @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_contact_details_statistics_opened.rb b/lib/brevo/models/get_extended_contact_details_statistics_opened.rb similarity index 91% rename from lib/brevo-ruby/models/get_extended_contact_details_statistics_opened.rb rename to lib/brevo/models/get_extended_contact_details_statistics_opened.rb index 64b6ef3..269f51d 100644 --- a/lib/brevo-ruby/models/get_extended_contact_details_statistics_opened.rb +++ b/lib/brevo/models/get_extended_contact_details_statistics_opened.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedContactDetailsStatisticsOpened # ID of the campaign which generated the event attr_accessor :campaign_id @@ -184,7 +184,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_contact_details_statistics_unsubscriptions.rb b/lib/brevo/models/get_extended_contact_details_statistics_unsubscriptions.rb similarity index 91% rename from lib/brevo-ruby/models/get_extended_contact_details_statistics_unsubscriptions.rb rename to lib/brevo/models/get_extended_contact_details_statistics_unsubscriptions.rb index 0024b87..7d31c1a 100644 --- a/lib/brevo-ruby/models/get_extended_contact_details_statistics_unsubscriptions.rb +++ b/lib/brevo/models/get_extended_contact_details_statistics_unsubscriptions.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Listing of the unsubscription for the contact class GetExtendedContactDetailsStatisticsUnsubscriptions # Contact unsubscribe via unsubscription link in a campaign @@ -159,7 +159,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb b/lib/brevo/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb similarity index 90% rename from lib/brevo-ruby/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb rename to lib/brevo/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb index 766c3cf..6330b77 100644 --- a/lib/brevo-ruby/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb +++ b/lib/brevo/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription # UTC date-time of the event attr_accessor :event_time @@ -149,7 +149,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb b/lib/brevo/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb similarity index 90% rename from lib/brevo-ruby/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb rename to lib/brevo/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb index 48c011a..419ec2d 100644 --- a/lib/brevo-ruby/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb +++ b/lib/brevo/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription # ID of the campaign which generated the event attr_accessor :campaign_id @@ -164,7 +164,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_list.rb b/lib/brevo/models/get_extended_list.rb similarity index 93% rename from lib/brevo-ruby/models/get_extended_list.rb rename to lib/brevo/models/get_extended_list.rb index af8a7ba..13d7dd1 100644 --- a/lib/brevo-ruby/models/get_extended_list.rb +++ b/lib/brevo/models/get_extended_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedList # ID of the list attr_accessor :id @@ -250,7 +250,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_extended_list_campaign_stats.rb b/lib/brevo/models/get_extended_list_campaign_stats.rb similarity index 90% rename from lib/brevo-ruby/models/get_extended_list_campaign_stats.rb rename to lib/brevo/models/get_extended_list_campaign_stats.rb index 7ccaaa0..233b0de 100644 --- a/lib/brevo-ruby/models/get_extended_list_campaign_stats.rb +++ b/lib/brevo/models/get_extended_list_campaign_stats.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExtendedListCampaignStats # ID of the campaign attr_accessor :campaign_id @@ -153,7 +153,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_external_feed_by_uuid.rb b/lib/brevo/models/get_external_feed_by_uuid.rb similarity index 94% rename from lib/brevo-ruby/models/get_external_feed_by_uuid.rb rename to lib/brevo/models/get_external_feed_by_uuid.rb index 0b51096..ea6c325 100644 --- a/lib/brevo-ruby/models/get_external_feed_by_uuid.rb +++ b/lib/brevo/models/get_external_feed_by_uuid.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExternalFeedByUUID # ID of the feed attr_accessor :id @@ -353,7 +353,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_external_feed_by_uuid_headers.rb b/lib/brevo/models/get_external_feed_by_uuid_headers.rb similarity index 89% rename from lib/brevo-ruby/models/get_external_feed_by_uuid_headers.rb rename to lib/brevo/models/get_external_feed_by_uuid_headers.rb index d2d23a6..0e31bde 100644 --- a/lib/brevo-ruby/models/get_external_feed_by_uuid_headers.rb +++ b/lib/brevo/models/get_external_feed_by_uuid_headers.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetExternalFeedByUUIDHeaders # Name of the header attr_accessor :name @@ -144,7 +144,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_folder.rb b/lib/brevo/models/get_folder.rb similarity index 92% rename from lib/brevo-ruby/models/get_folder.rb rename to lib/brevo/models/get_folder.rb index cfbeef6..ce967f1 100644 --- a/lib/brevo-ruby/models/get_folder.rb +++ b/lib/brevo/models/get_folder.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetFolder # ID of the folder attr_accessor :id @@ -199,7 +199,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_folder_lists.rb b/lib/brevo/models/get_folder_lists.rb similarity index 89% rename from lib/brevo-ruby/models/get_folder_lists.rb rename to lib/brevo/models/get_folder_lists.rb index 47e64a1..f6ea27a 100644 --- a/lib/brevo-ruby/models/get_folder_lists.rb +++ b/lib/brevo/models/get_folder_lists.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetFolderLists attr_accessor :lists @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_folders.rb b/lib/brevo/models/get_folders.rb similarity index 89% rename from lib/brevo-ruby/models/get_folders.rb rename to lib/brevo/models/get_folders.rb index eb7c485..b797abc 100644 --- a/lib/brevo-ruby/models/get_folders.rb +++ b/lib/brevo/models/get_folders.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetFolders attr_accessor :folders @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_inbound_email_events.rb b/lib/brevo/models/get_inbound_email_events.rb similarity index 89% rename from lib/brevo-ruby/models/get_inbound_email_events.rb rename to lib/brevo/models/get_inbound_email_events.rb index 7700275..f443780 100644 --- a/lib/brevo-ruby/models/get_inbound_email_events.rb +++ b/lib/brevo/models/get_inbound_email_events.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetInboundEmailEvents attr_accessor :events @@ -135,7 +135,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_inbound_email_events_by_uuid.rb b/lib/brevo/models/get_inbound_email_events_by_uuid.rb similarity index 92% rename from lib/brevo-ruby/models/get_inbound_email_events_by_uuid.rb rename to lib/brevo/models/get_inbound_email_events_by_uuid.rb index 9fd8b04..46fa6bf 100644 --- a/lib/brevo-ruby/models/get_inbound_email_events_by_uuid.rb +++ b/lib/brevo/models/get_inbound_email_events_by_uuid.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetInboundEmailEventsByUuid # Date when email was received on SMTP relay attr_accessor :received_at @@ -208,7 +208,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_inbound_email_events_by_uuid_attachments.rb b/lib/brevo/models/get_inbound_email_events_by_uuid_attachments.rb similarity index 90% rename from lib/brevo-ruby/models/get_inbound_email_events_by_uuid_attachments.rb rename to lib/brevo/models/get_inbound_email_events_by_uuid_attachments.rb index 2df207f..f0dce49 100644 --- a/lib/brevo-ruby/models/get_inbound_email_events_by_uuid_attachments.rb +++ b/lib/brevo/models/get_inbound_email_events_by_uuid_attachments.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetInboundEmailEventsByUuidAttachments # filename specified in the Content-Disposition header of the attachment attr_accessor :name @@ -164,7 +164,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_inbound_email_events_by_uuid_logs.rb b/lib/brevo/models/get_inbound_email_events_by_uuid_logs.rb similarity index 91% rename from lib/brevo-ruby/models/get_inbound_email_events_by_uuid_logs.rb rename to lib/brevo/models/get_inbound_email_events_by_uuid_logs.rb index 8b29150..92ad4af 100644 --- a/lib/brevo-ruby/models/get_inbound_email_events_by_uuid_logs.rb +++ b/lib/brevo/models/get_inbound_email_events_by_uuid_logs.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetInboundEmailEventsByUuidLogs # Date of the event attr_accessor :date @@ -178,7 +178,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_inbound_email_events_events.rb b/lib/brevo/models/get_inbound_email_events_events.rb similarity index 91% rename from lib/brevo-ruby/models/get_inbound_email_events_events.rb rename to lib/brevo/models/get_inbound_email_events_events.rb index d994926..ac93b4f 100644 --- a/lib/brevo-ruby/models/get_inbound_email_events_events.rb +++ b/lib/brevo/models/get_inbound_email_events_events.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetInboundEmailEventsEvents # UUID that can be used to fetch additional data attr_accessor :uuid @@ -184,7 +184,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_invited_users_list.rb b/lib/brevo/models/get_invited_users_list.rb similarity index 89% rename from lib/brevo-ruby/models/get_invited_users_list.rb rename to lib/brevo/models/get_invited_users_list.rb index de43cba..b20d694 100644 --- a/lib/brevo-ruby/models/get_invited_users_list.rb +++ b/lib/brevo/models/get_invited_users_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetInvitedUsersList # Get invited users list attr_accessor :users @@ -136,7 +136,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_invited_users_list_feature_access.rb b/lib/brevo/models/get_invited_users_list_feature_access.rb similarity index 90% rename from lib/brevo-ruby/models/get_invited_users_list_feature_access.rb rename to lib/brevo/models/get_invited_users_list_feature_access.rb index 8eee2af..9e93880 100644 --- a/lib/brevo-ruby/models/get_invited_users_list_feature_access.rb +++ b/lib/brevo/models/get_invited_users_list_feature_access.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Feature accessiblity given to the user. class GetInvitedUsersListFeatureAccess # Marketing features accessiblity. @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_invited_users_list_users.rb b/lib/brevo/models/get_invited_users_list_users.rb similarity index 91% rename from lib/brevo-ruby/models/get_invited_users_list_users.rb rename to lib/brevo/models/get_invited_users_list_users.rb index 2781e8d..4a7f725 100644 --- a/lib/brevo-ruby/models/get_invited_users_list_users.rb +++ b/lib/brevo/models/get_invited_users_list_users.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetInvitedUsersListUsers # Email address of the user. attr_accessor :email @@ -183,7 +183,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_ip.rb b/lib/brevo/models/get_ip.rb similarity index 91% rename from lib/brevo-ruby/models/get_ip.rb rename to lib/brevo/models/get_ip.rb index 6b44996..712cf8c 100644 --- a/lib/brevo-ruby/models/get_ip.rb +++ b/lib/brevo/models/get_ip.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetIp # ID of the dedicated IP attr_accessor :id @@ -184,7 +184,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_ip_from_sender.rb b/lib/brevo/models/get_ip_from_sender.rb similarity index 91% rename from lib/brevo-ruby/models/get_ip_from_sender.rb rename to lib/brevo/models/get_ip_from_sender.rb index d47934b..efb9ce8 100644 --- a/lib/brevo-ruby/models/get_ip_from_sender.rb +++ b/lib/brevo/models/get_ip_from_sender.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetIpFromSender # ID of the dedicated IP attr_accessor :id @@ -184,7 +184,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_ips.rb b/lib/brevo/models/get_ips.rb similarity index 89% rename from lib/brevo-ruby/models/get_ips.rb rename to lib/brevo/models/get_ips.rb index a48759e..8d975f9 100644 --- a/lib/brevo-ruby/models/get_ips.rb +++ b/lib/brevo/models/get_ips.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetIps # Dedicated IP(s) available on your account attr_accessor :ips @@ -141,7 +141,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_ips_from_sender.rb b/lib/brevo/models/get_ips_from_sender.rb similarity index 89% rename from lib/brevo-ruby/models/get_ips_from_sender.rb rename to lib/brevo/models/get_ips_from_sender.rb index 568d82a..bc8dc28 100644 --- a/lib/brevo-ruby/models/get_ips_from_sender.rb +++ b/lib/brevo/models/get_ips_from_sender.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetIpsFromSender # Dedicated IP(s) linked to a sender attr_accessor :ips @@ -141,7 +141,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_list.rb b/lib/brevo/models/get_list.rb similarity index 92% rename from lib/brevo-ruby/models/get_list.rb rename to lib/brevo/models/get_list.rb index 241311a..3ed5f41 100644 --- a/lib/brevo-ruby/models/get_list.rb +++ b/lib/brevo/models/get_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetList # ID of the list attr_accessor :id @@ -199,7 +199,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_lists.rb b/lib/brevo/models/get_lists.rb similarity index 89% rename from lib/brevo-ruby/models/get_lists.rb rename to lib/brevo/models/get_lists.rb index 24832f0..c5a1ff4 100644 --- a/lib/brevo-ruby/models/get_lists.rb +++ b/lib/brevo/models/get_lists.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetLists # Listing of all the lists available in your account attr_accessor :lists @@ -146,7 +146,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_process.rb b/lib/brevo/models/get_process.rb similarity index 92% rename from lib/brevo-ruby/models/get_process.rb rename to lib/brevo/models/get_process.rb index 3fa093a..3eaf5b5 100644 --- a/lib/brevo-ruby/models/get_process.rb +++ b/lib/brevo/models/get_process.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetProcess # Id of the process attr_accessor :id @@ -213,7 +213,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_processes.rb b/lib/brevo/models/get_processes.rb similarity index 89% rename from lib/brevo-ruby/models/get_processes.rb rename to lib/brevo/models/get_processes.rb index 677d4d1..9b3668b 100644 --- a/lib/brevo-ruby/models/get_processes.rb +++ b/lib/brevo/models/get_processes.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetProcesses # List of processes available on your account attr_accessor :processes @@ -146,7 +146,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_product_details.rb b/lib/brevo/models/get_product_details.rb similarity index 94% rename from lib/brevo-ruby/models/get_product_details.rb rename to lib/brevo/models/get_product_details.rb index d4ff2ef..99478e0 100644 --- a/lib/brevo-ruby/models/get_product_details.rb +++ b/lib/brevo/models/get_product_details.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetProductDetails # Product ID for which you requested the details attr_accessor :id @@ -306,7 +306,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_products.rb b/lib/brevo/models/get_products.rb similarity index 90% rename from lib/brevo-ruby/models/get_products.rb rename to lib/brevo/models/get_products.rb index 5fda765..c6cac8f 100644 --- a/lib/brevo-ruby/models/get_products.rb +++ b/lib/brevo/models/get_products.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetProducts attr_accessor :products @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_reports.rb b/lib/brevo/models/get_reports.rb similarity index 89% rename from lib/brevo-ruby/models/get_reports.rb rename to lib/brevo/models/get_reports.rb index 72d88ed..a62e753 100644 --- a/lib/brevo-ruby/models/get_reports.rb +++ b/lib/brevo/models/get_reports.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetReports attr_accessor :reports @@ -135,7 +135,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_reports_reports.rb b/lib/brevo/models/get_reports_reports.rb similarity index 94% rename from lib/brevo-ruby/models/get_reports_reports.rb rename to lib/brevo/models/get_reports_reports.rb index b871642..5ade1bf 100644 --- a/lib/brevo-ruby/models/get_reports_reports.rb +++ b/lib/brevo/models/get_reports_reports.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetReportsReports # Date of the statistics attr_accessor :date @@ -319,7 +319,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_scheduled_email_by_batch_id.rb b/lib/brevo/models/get_scheduled_email_by_batch_id.rb similarity index 89% rename from lib/brevo-ruby/models/get_scheduled_email_by_batch_id.rb rename to lib/brevo/models/get_scheduled_email_by_batch_id.rb index 09c378c..73959bf 100644 --- a/lib/brevo-ruby/models/get_scheduled_email_by_batch_id.rb +++ b/lib/brevo/models/get_scheduled_email_by_batch_id.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetScheduledEmailByBatchId # Total number of batches attr_accessor :count @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_scheduled_email_by_batch_id_batches.rb b/lib/brevo/models/get_scheduled_email_by_batch_id_batches.rb similarity index 92% rename from lib/brevo-ruby/models/get_scheduled_email_by_batch_id_batches.rb rename to lib/brevo/models/get_scheduled_email_by_batch_id_batches.rb index 1adb287..88f3141 100644 --- a/lib/brevo-ruby/models/get_scheduled_email_by_batch_id_batches.rb +++ b/lib/brevo/models/get_scheduled_email_by_batch_id_batches.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetScheduledEmailByBatchIdBatches # Datetime for which the batch was scheduled attr_accessor :scheduled_at @@ -203,7 +203,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_scheduled_email_by_message_id.rb b/lib/brevo/models/get_scheduled_email_by_message_id.rb similarity index 92% rename from lib/brevo-ruby/models/get_scheduled_email_by_message_id.rb rename to lib/brevo/models/get_scheduled_email_by_message_id.rb index 0f10f4f..2672213 100644 --- a/lib/brevo-ruby/models/get_scheduled_email_by_message_id.rb +++ b/lib/brevo/models/get_scheduled_email_by_message_id.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetScheduledEmailByMessageId # Datetime for which the email was scheduled attr_accessor :scheduled_at @@ -203,7 +203,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_segments.rb b/lib/brevo/models/get_segments.rb similarity index 89% rename from lib/brevo-ruby/models/get_segments.rb rename to lib/brevo/models/get_segments.rb index bdeaf68..5a49958 100644 --- a/lib/brevo-ruby/models/get_segments.rb +++ b/lib/brevo/models/get_segments.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSegments attr_accessor :segments @@ -143,7 +143,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_segments_segments.rb b/lib/brevo/models/get_segments_segments.rb similarity index 90% rename from lib/brevo-ruby/models/get_segments_segments.rb rename to lib/brevo/models/get_segments_segments.rb index 610eb1d..7916989 100644 --- a/lib/brevo-ruby/models/get_segments_segments.rb +++ b/lib/brevo/models/get_segments_segments.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSegmentsSegments # ID of the list attr_accessor :id @@ -164,7 +164,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_senders_list.rb b/lib/brevo/models/get_senders_list.rb similarity index 89% rename from lib/brevo-ruby/models/get_senders_list.rb rename to lib/brevo/models/get_senders_list.rb index fd7a96a..9e4cca6 100644 --- a/lib/brevo-ruby/models/get_senders_list.rb +++ b/lib/brevo/models/get_senders_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSendersList # List of the senders available in your account attr_accessor :senders @@ -136,7 +136,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_senders_list_ips.rb b/lib/brevo/models/get_senders_list_ips.rb similarity index 90% rename from lib/brevo-ruby/models/get_senders_list_ips.rb rename to lib/brevo/models/get_senders_list_ips.rb index 9355eef..f57ff93 100644 --- a/lib/brevo-ruby/models/get_senders_list_ips.rb +++ b/lib/brevo/models/get_senders_list_ips.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSendersListIps # Dedicated IP available in your account attr_accessor :ip @@ -169,7 +169,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_senders_list_senders.rb b/lib/brevo/models/get_senders_list_senders.rb similarity index 91% rename from lib/brevo-ruby/models/get_senders_list_senders.rb rename to lib/brevo/models/get_senders_list_senders.rb index 4f97612..2c9d19b 100644 --- a/lib/brevo-ruby/models/get_senders_list_senders.rb +++ b/lib/brevo/models/get_senders_list_senders.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSendersListSenders # Id of the sender attr_accessor :id @@ -196,7 +196,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_shared_template_url.rb b/lib/brevo/models/get_shared_template_url.rb similarity index 89% rename from lib/brevo-ruby/models/get_shared_template_url.rb rename to lib/brevo/models/get_shared_template_url.rb index 4b19c47..96752f5 100644 --- a/lib/brevo-ruby/models/get_shared_template_url.rb +++ b/lib/brevo/models/get_shared_template_url.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSharedTemplateUrl # A unique URL for the email campaign or transactional template. This URL can be shared with other Brevo users. attr_accessor :shared_url @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_sms_campaign.rb b/lib/brevo/models/get_sms_campaign.rb similarity index 94% rename from lib/brevo-ruby/models/get_sms_campaign.rb rename to lib/brevo/models/get_sms_campaign.rb index e29cc7e..104cf2e 100644 --- a/lib/brevo-ruby/models/get_sms_campaign.rb +++ b/lib/brevo/models/get_sms_campaign.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSmsCampaign # ID of the SMS Campaign attr_accessor :id @@ -301,7 +301,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_sms_campaign_overview.rb b/lib/brevo/models/get_sms_campaign_overview.rb similarity index 93% rename from lib/brevo-ruby/models/get_sms_campaign_overview.rb rename to lib/brevo/models/get_sms_campaign_overview.rb index 8791a1a..c15adfe 100644 --- a/lib/brevo-ruby/models/get_sms_campaign_overview.rb +++ b/lib/brevo/models/get_sms_campaign_overview.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSmsCampaignOverview # ID of the SMS Campaign attr_accessor :id @@ -273,7 +273,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_sms_campaign_recipients.rb b/lib/brevo/models/get_sms_campaign_recipients.rb similarity index 88% rename from lib/brevo-ruby/models/get_sms_campaign_recipients.rb rename to lib/brevo/models/get_sms_campaign_recipients.rb index bb12f4d..56cb4c1 100644 --- a/lib/brevo-ruby/models/get_sms_campaign_recipients.rb +++ b/lib/brevo/models/get_sms_campaign_recipients.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSmsCampaignRecipients # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -124,7 +124,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_sms_campaign_stats.rb b/lib/brevo/models/get_sms_campaign_stats.rb similarity index 92% rename from lib/brevo-ruby/models/get_sms_campaign_stats.rb rename to lib/brevo/models/get_sms_campaign_stats.rb index cba6abd..d7056ea 100644 --- a/lib/brevo-ruby/models/get_sms_campaign_stats.rb +++ b/lib/brevo/models/get_sms_campaign_stats.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSmsCampaignStats # Number of delivered SMS attr_accessor :delivered @@ -229,7 +229,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_sms_campaigns.rb b/lib/brevo/models/get_sms_campaigns.rb similarity index 89% rename from lib/brevo-ruby/models/get_sms_campaigns.rb rename to lib/brevo/models/get_sms_campaigns.rb index 30833f7..d6d19b3 100644 --- a/lib/brevo-ruby/models/get_sms_campaigns.rb +++ b/lib/brevo/models/get_sms_campaigns.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSmsCampaigns attr_accessor :campaigns @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_sms_event_report.rb b/lib/brevo/models/get_sms_event_report.rb similarity index 89% rename from lib/brevo-ruby/models/get_sms_event_report.rb rename to lib/brevo/models/get_sms_event_report.rb index e4f0a85..d12b782 100644 --- a/lib/brevo-ruby/models/get_sms_event_report.rb +++ b/lib/brevo/models/get_sms_event_report.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSmsEventReport attr_accessor :events @@ -135,7 +135,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_sms_event_report_events.rb b/lib/brevo/models/get_sms_event_report_events.rb similarity index 92% rename from lib/brevo-ruby/models/get_sms_event_report_events.rb rename to lib/brevo/models/get_sms_event_report_events.rb index 78c0cb3..ed8375c 100644 --- a/lib/brevo-ruby/models/get_sms_event_report_events.rb +++ b/lib/brevo/models/get_sms_event_report_events.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSmsEventReportEvents # Phone number which has generated the event attr_accessor :phone_number @@ -227,7 +227,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_smtp_template_overview.rb b/lib/brevo/models/get_smtp_template_overview.rb similarity index 94% rename from lib/brevo-ruby/models/get_smtp_template_overview.rb rename to lib/brevo/models/get_smtp_template_overview.rb index 9e08083..5d8d7d3 100644 --- a/lib/brevo-ruby/models/get_smtp_template_overview.rb +++ b/lib/brevo/models/get_smtp_template_overview.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSmtpTemplateOverview # ID of the template attr_accessor :id @@ -313,7 +313,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_smtp_template_overview_sender.rb b/lib/brevo/models/get_smtp_template_overview_sender.rb similarity index 90% rename from lib/brevo-ruby/models/get_smtp_template_overview_sender.rb rename to lib/brevo/models/get_smtp_template_overview_sender.rb index 121ad79..cd381b8 100644 --- a/lib/brevo-ruby/models/get_smtp_template_overview_sender.rb +++ b/lib/brevo/models/get_smtp_template_overview_sender.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSmtpTemplateOverviewSender # From email for the template attr_accessor :name @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_smtp_templates.rb b/lib/brevo/models/get_smtp_templates.rb similarity index 89% rename from lib/brevo-ruby/models/get_smtp_templates.rb rename to lib/brevo/models/get_smtp_templates.rb index d445a8e..b654007 100644 --- a/lib/brevo-ruby/models/get_smtp_templates.rb +++ b/lib/brevo/models/get_smtp_templates.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSmtpTemplates # Count of transactional email templates attr_accessor :count @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_sso_token.rb b/lib/brevo/models/get_sso_token.rb similarity index 89% rename from lib/brevo-ruby/models/get_sso_token.rb rename to lib/brevo/models/get_sso_token.rb index 9211e38..f0ca133 100644 --- a/lib/brevo-ruby/models/get_sso_token.rb +++ b/lib/brevo/models/get_sso_token.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetSsoToken # Session token, it will remain valid for 15 days. attr_accessor :token @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_stats_by_browser.rb b/lib/brevo/models/get_stats_by_browser.rb similarity index 88% rename from lib/brevo-ruby/models/get_stats_by_browser.rb rename to lib/brevo/models/get_stats_by_browser.rb index ad3d466..f32f11b 100644 --- a/lib/brevo-ruby/models/get_stats_by_browser.rb +++ b/lib/brevo/models/get_stats_by_browser.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetStatsByBrowser # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -124,7 +124,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_stats_by_device.rb b/lib/brevo/models/get_stats_by_device.rb similarity index 91% rename from lib/brevo-ruby/models/get_stats_by_device.rb rename to lib/brevo/models/get_stats_by_device.rb index 9c8fbd2..d580a8b 100644 --- a/lib/brevo-ruby/models/get_stats_by_device.rb +++ b/lib/brevo/models/get_stats_by_device.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetStatsByDevice # Statistics of the campaign on the basis of desktop devices attr_accessor :desktop @@ -172,7 +172,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_stats_by_domain.rb b/lib/brevo/models/get_stats_by_domain.rb similarity index 88% rename from lib/brevo-ruby/models/get_stats_by_domain.rb rename to lib/brevo/models/get_stats_by_domain.rb index 1700a0d..94f0add 100644 --- a/lib/brevo-ruby/models/get_stats_by_domain.rb +++ b/lib/brevo/models/get_stats_by_domain.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetStatsByDomain # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -124,7 +124,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_transac_aggregated_sms_report.rb b/lib/brevo/models/get_transac_aggregated_sms_report.rb similarity index 92% rename from lib/brevo-ruby/models/get_transac_aggregated_sms_report.rb rename to lib/brevo/models/get_transac_aggregated_sms_report.rb index 25441b7..e5dc4d7 100644 --- a/lib/brevo-ruby/models/get_transac_aggregated_sms_report.rb +++ b/lib/brevo/models/get_transac_aggregated_sms_report.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetTransacAggregatedSmsReport # Time frame of the report attr_accessor :range @@ -224,7 +224,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_transac_blocked_contacts.rb b/lib/brevo/models/get_transac_blocked_contacts.rb similarity index 89% rename from lib/brevo-ruby/models/get_transac_blocked_contacts.rb rename to lib/brevo/models/get_transac_blocked_contacts.rb index ac410cf..27cb0b6 100644 --- a/lib/brevo-ruby/models/get_transac_blocked_contacts.rb +++ b/lib/brevo/models/get_transac_blocked_contacts.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetTransacBlockedContacts # Count of blocked or unsubscribed contact attr_accessor :count @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_transac_blocked_contacts_contacts.rb b/lib/brevo/models/get_transac_blocked_contacts_contacts.rb similarity index 91% rename from lib/brevo-ruby/models/get_transac_blocked_contacts_contacts.rb rename to lib/brevo/models/get_transac_blocked_contacts_contacts.rb index d5d5b03..a6a1a8e 100644 --- a/lib/brevo-ruby/models/get_transac_blocked_contacts_contacts.rb +++ b/lib/brevo/models/get_transac_blocked_contacts_contacts.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetTransacBlockedContactsContacts # Email address of the blocked or unsubscribed contact attr_accessor :email @@ -183,7 +183,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_transac_blocked_contacts_reason.rb b/lib/brevo/models/get_transac_blocked_contacts_reason.rb similarity index 91% rename from lib/brevo-ruby/models/get_transac_blocked_contacts_reason.rb rename to lib/brevo/models/get_transac_blocked_contacts_reason.rb index 786a084..5a52f15 100644 --- a/lib/brevo-ruby/models/get_transac_blocked_contacts_reason.rb +++ b/lib/brevo/models/get_transac_blocked_contacts_reason.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Reason for blocking / unsubscribing class GetTransacBlockedContactsReason # Reason code for blocking / unsubscribing (This code is safe for comparison) @@ -179,7 +179,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_transac_email_content.rb b/lib/brevo/models/get_transac_email_content.rb similarity index 92% rename from lib/brevo-ruby/models/get_transac_email_content.rb rename to lib/brevo/models/get_transac_email_content.rb index fc908ab..3f51b59 100644 --- a/lib/brevo-ruby/models/get_transac_email_content.rb +++ b/lib/brevo/models/get_transac_email_content.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetTransacEmailContent # Email address to which transactional email has been sent attr_accessor :email @@ -226,7 +226,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_transac_email_content_events.rb b/lib/brevo/models/get_transac_email_content_events.rb similarity index 90% rename from lib/brevo-ruby/models/get_transac_email_content_events.rb rename to lib/brevo/models/get_transac_email_content_events.rb index 936f6be..17272b0 100644 --- a/lib/brevo-ruby/models/get_transac_email_content_events.rb +++ b/lib/brevo/models/get_transac_email_content_events.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetTransacEmailContentEvents # Name of the event that occurred on the sent email attr_accessor :name @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_transac_emails_list.rb b/lib/brevo/models/get_transac_emails_list.rb similarity index 90% rename from lib/brevo-ruby/models/get_transac_emails_list.rb rename to lib/brevo/models/get_transac_emails_list.rb index e87fc3f..815fd98 100644 --- a/lib/brevo-ruby/models/get_transac_emails_list.rb +++ b/lib/brevo/models/get_transac_emails_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetTransacEmailsList # Total number of transactional emails available on your account according to the passed filter attr_accessor :count @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_transac_emails_list_transactional_emails.rb b/lib/brevo/models/get_transac_emails_list_transactional_emails.rb similarity index 92% rename from lib/brevo-ruby/models/get_transac_emails_list_transactional_emails.rb rename to lib/brevo/models/get_transac_emails_list_transactional_emails.rb index 1499e83..1c4d39d 100644 --- a/lib/brevo-ruby/models/get_transac_emails_list_transactional_emails.rb +++ b/lib/brevo/models/get_transac_emails_list_transactional_emails.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetTransacEmailsListTransactionalEmails # Email address to which transactional email has been sent attr_accessor :email @@ -231,7 +231,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_transac_sms_report.rb b/lib/brevo/models/get_transac_sms_report.rb similarity index 89% rename from lib/brevo-ruby/models/get_transac_sms_report.rb rename to lib/brevo/models/get_transac_sms_report.rb index 195dac4..36d4c5b 100644 --- a/lib/brevo-ruby/models/get_transac_sms_report.rb +++ b/lib/brevo/models/get_transac_sms_report.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetTransacSmsReport attr_accessor :reports @@ -135,7 +135,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_transac_sms_report_reports.rb b/lib/brevo/models/get_transac_sms_report_reports.rb similarity index 92% rename from lib/brevo-ruby/models/get_transac_sms_report_reports.rb rename to lib/brevo/models/get_transac_sms_report_reports.rb index 8891943..9d6a414 100644 --- a/lib/brevo-ruby/models/get_transac_sms_report_reports.rb +++ b/lib/brevo/models/get_transac_sms_report_reports.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetTransacSmsReportReports # Date for which statistics are retrieved attr_accessor :date @@ -224,7 +224,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_user_permission.rb b/lib/brevo/models/get_user_permission.rb similarity index 90% rename from lib/brevo-ruby/models/get_user_permission.rb rename to lib/brevo/models/get_user_permission.rb index 018ddae..3384cbf 100644 --- a/lib/brevo-ruby/models/get_user_permission.rb +++ b/lib/brevo/models/get_user_permission.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Check user permission class GetUserPermission # Email address of the user. @@ -172,7 +172,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_user_permission_privileges.rb b/lib/brevo/models/get_user_permission_privileges.rb similarity index 90% rename from lib/brevo-ruby/models/get_user_permission_privileges.rb rename to lib/brevo/models/get_user_permission_privileges.rb index 8dab97b..af42952 100644 --- a/lib/brevo-ruby/models/get_user_permission_privileges.rb +++ b/lib/brevo/models/get_user_permission_privileges.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetUserPermissionPrivileges attr_accessor :feature @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_wa_templates.rb b/lib/brevo/models/get_wa_templates.rb similarity index 90% rename from lib/brevo-ruby/models/get_wa_templates.rb rename to lib/brevo/models/get_wa_templates.rb index 33e4046..d076c2c 100644 --- a/lib/brevo-ruby/models/get_wa_templates.rb +++ b/lib/brevo/models/get_wa_templates.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetWATemplates attr_accessor :templates @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_wa_templates_templates.rb b/lib/brevo/models/get_wa_templates_templates.rb similarity index 92% rename from lib/brevo-ruby/models/get_wa_templates_templates.rb rename to lib/brevo/models/get_wa_templates_templates.rb index 3516005..472bfc1 100644 --- a/lib/brevo-ruby/models/get_wa_templates_templates.rb +++ b/lib/brevo/models/get_wa_templates_templates.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetWATemplatesTemplates # id of the template attr_accessor :id @@ -239,7 +239,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_webhook.rb b/lib/brevo/models/get_webhook.rb similarity index 93% rename from lib/brevo-ruby/models/get_webhook.rb rename to lib/brevo/models/get_webhook.rb index 1fe95e1..0808fbc 100644 --- a/lib/brevo-ruby/models/get_webhook.rb +++ b/lib/brevo/models/get_webhook.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetWebhook # URL of the webhook attr_accessor :url @@ -264,7 +264,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_webhooks.rb b/lib/brevo/models/get_webhooks.rb similarity index 89% rename from lib/brevo-ruby/models/get_webhooks.rb rename to lib/brevo/models/get_webhooks.rb index adfe93e..ae38de3 100644 --- a/lib/brevo-ruby/models/get_webhooks.rb +++ b/lib/brevo/models/get_webhooks.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetWebhooks attr_accessor :webhooks @@ -140,7 +140,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_whats_app_config.rb b/lib/brevo/models/get_whats_app_config.rb similarity index 93% rename from lib/brevo-ruby/models/get_whats_app_config.rb rename to lib/brevo/models/get_whats_app_config.rb index 49cfe28..c176ea2 100644 --- a/lib/brevo-ruby/models/get_whats_app_config.rb +++ b/lib/brevo/models/get_whats_app_config.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetWhatsAppConfig # Id of the WhatsApp business account attr_accessor :whatsapp_business_account_id @@ -230,7 +230,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_whatsapp_campaign_overview.rb b/lib/brevo/models/get_whatsapp_campaign_overview.rb similarity index 94% rename from lib/brevo-ruby/models/get_whatsapp_campaign_overview.rb rename to lib/brevo/models/get_whatsapp_campaign_overview.rb index f9ee157..78c11bc 100644 --- a/lib/brevo-ruby/models/get_whatsapp_campaign_overview.rb +++ b/lib/brevo/models/get_whatsapp_campaign_overview.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetWhatsappCampaignOverview # ID of the WhatsApp Campaign attr_accessor :id @@ -281,7 +281,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_whatsapp_campaigns.rb b/lib/brevo/models/get_whatsapp_campaigns.rb similarity index 89% rename from lib/brevo-ruby/models/get_whatsapp_campaigns.rb rename to lib/brevo/models/get_whatsapp_campaigns.rb index 2dc365f..2ee21ce 100644 --- a/lib/brevo-ruby/models/get_whatsapp_campaigns.rb +++ b/lib/brevo/models/get_whatsapp_campaigns.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetWhatsappCampaigns attr_accessor :campaigns @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_whatsapp_campaigns_campaigns.rb b/lib/brevo/models/get_whatsapp_campaigns_campaigns.rb similarity index 94% rename from lib/brevo-ruby/models/get_whatsapp_campaigns_campaigns.rb rename to lib/brevo/models/get_whatsapp_campaigns_campaigns.rb index 51ebf61..541456e 100644 --- a/lib/brevo-ruby/models/get_whatsapp_campaigns_campaigns.rb +++ b/lib/brevo/models/get_whatsapp_campaigns_campaigns.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetWhatsappCampaignsCampaigns # ID of the WhatsApp Campaign attr_accessor :id @@ -302,7 +302,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_whatsapp_event_report.rb b/lib/brevo/models/get_whatsapp_event_report.rb similarity index 89% rename from lib/brevo-ruby/models/get_whatsapp_event_report.rb rename to lib/brevo/models/get_whatsapp_event_report.rb index d59a2b2..2c30e50 100644 --- a/lib/brevo-ruby/models/get_whatsapp_event_report.rb +++ b/lib/brevo/models/get_whatsapp_event_report.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetWhatsappEventReport attr_accessor :events @@ -135,7 +135,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/get_whatsapp_event_report_events.rb b/lib/brevo/models/get_whatsapp_event_report_events.rb similarity index 93% rename from lib/brevo-ruby/models/get_whatsapp_event_report_events.rb rename to lib/brevo/models/get_whatsapp_event_report_events.rb index a9a1528..5e759a5 100644 --- a/lib/brevo-ruby/models/get_whatsapp_event_report_events.rb +++ b/lib/brevo/models/get_whatsapp_event_report_events.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class GetWhatsappEventReportEvents # WhatsApp Number with country code. Example, 85264318721 attr_accessor :contact_number @@ -263,7 +263,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/inline_response_200.rb b/lib/brevo/models/inline_response_200.rb similarity index 89% rename from lib/brevo-ruby/models/inline_response_200.rb rename to lib/brevo/models/inline_response_200.rb index c494d51..c5ad4ba 100644 --- a/lib/brevo-ruby/models/inline_response_200.rb +++ b/lib/brevo/models/inline_response_200.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Created company id class InlineResponse200 # Unique company id @@ -140,7 +140,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/inline_response_200_1.rb b/lib/brevo/models/inline_response_200_1.rb similarity index 90% rename from lib/brevo-ruby/models/inline_response_200_1.rb rename to lib/brevo/models/inline_response_200_1.rb index a92ff5f..1422b42 100644 --- a/lib/brevo-ruby/models/inline_response_200_1.rb +++ b/lib/brevo/models/inline_response_200_1.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class InlineResponse2001 # The id of the collection attr_accessor :id @@ -169,7 +169,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/inline_response_201.rb b/lib/brevo/models/inline_response_201.rb similarity index 89% rename from lib/brevo-ruby/models/inline_response_201.rb rename to lib/brevo/models/inline_response_201.rb index 47f4dd2..189a135 100644 --- a/lib/brevo-ruby/models/inline_response_201.rb +++ b/lib/brevo/models/inline_response_201.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Created deal id class InlineResponse201 # Unique deal id @@ -140,7 +140,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/inline_response_201_1.rb b/lib/brevo/models/inline_response_201_1.rb similarity index 89% rename from lib/brevo-ruby/models/inline_response_201_1.rb rename to lib/brevo/models/inline_response_201_1.rb index cb5686c..241eae6 100644 --- a/lib/brevo-ruby/models/inline_response_201_1.rb +++ b/lib/brevo/models/inline_response_201_1.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Task Details class InlineResponse2011 # Unique task id @@ -140,7 +140,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/inline_response_201_2.rb b/lib/brevo/models/inline_response_201_2.rb similarity index 89% rename from lib/brevo-ruby/models/inline_response_201_2.rb rename to lib/brevo/models/inline_response_201_2.rb index fe64587..ae54099 100644 --- a/lib/brevo-ruby/models/inline_response_201_2.rb +++ b/lib/brevo/models/inline_response_201_2.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class InlineResponse2012 # The id of the created collection attr_accessor :id @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/inline_response_201_3.rb b/lib/brevo/models/inline_response_201_3.rb similarity index 89% rename from lib/brevo-ruby/models/inline_response_201_3.rb rename to lib/brevo/models/inline_response_201_3.rb index fff0be6..2154b75 100644 --- a/lib/brevo-ruby/models/inline_response_201_3.rb +++ b/lib/brevo/models/inline_response_201_3.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class InlineResponse2013 # messageId of sent message attr_accessor :message_id @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/inline_response_201_4.rb b/lib/brevo/models/inline_response_201_4.rb similarity index 89% rename from lib/brevo-ruby/models/inline_response_201_4.rb rename to lib/brevo/models/inline_response_201_4.rb index bf7c787..d27a7f4 100644 --- a/lib/brevo-ruby/models/inline_response_201_4.rb +++ b/lib/brevo/models/inline_response_201_4.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class InlineResponse2014 # ID of the object created attr_accessor :id @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/manage_ip.rb b/lib/brevo/models/manage_ip.rb similarity index 89% rename from lib/brevo-ruby/models/manage_ip.rb rename to lib/brevo/models/manage_ip.rb index 8fe91ef..965ba13 100644 --- a/lib/brevo-ruby/models/manage_ip.rb +++ b/lib/brevo/models/manage_ip.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class ManageIp # Dedicated ID attr_accessor :ip @@ -134,7 +134,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/master_details_response.rb b/lib/brevo/models/master_details_response.rb similarity index 91% rename from lib/brevo-ruby/models/master_details_response.rb rename to lib/brevo/models/master_details_response.rb index d49fe73..3043e43 100644 --- a/lib/brevo-ruby/models/master_details_response.rb +++ b/lib/brevo/models/master_details_response.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class MasterDetailsResponse # Email id of master account attr_accessor :email @@ -192,7 +192,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/master_details_response_billing_info.rb b/lib/brevo/models/master_details_response_billing_info.rb similarity index 90% rename from lib/brevo-ruby/models/master_details_response_billing_info.rb rename to lib/brevo/models/master_details_response_billing_info.rb index 7548116..ef392ab 100644 --- a/lib/brevo-ruby/models/master_details_response_billing_info.rb +++ b/lib/brevo/models/master_details_response_billing_info.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Billing details of the master account organization class MasterDetailsResponseBillingInfo # Billing email id of master account @@ -163,7 +163,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/master_details_response_billing_info_address.rb b/lib/brevo/models/master_details_response_billing_info_address.rb similarity index 91% rename from lib/brevo-ruby/models/master_details_response_billing_info_address.rb rename to lib/brevo/models/master_details_response_billing_info_address.rb index 5c6e569..0ef5a5d 100644 --- a/lib/brevo-ruby/models/master_details_response_billing_info_address.rb +++ b/lib/brevo/models/master_details_response_billing_info_address.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Billing address of master account class MasterDetailsResponseBillingInfoAddress # Street address @@ -175,7 +175,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/master_details_response_billing_info_name.rb b/lib/brevo/models/master_details_response_billing_info_name.rb similarity index 89% rename from lib/brevo-ruby/models/master_details_response_billing_info_name.rb rename to lib/brevo/models/master_details_response_billing_info_name.rb index 1fc7ac2..7763295 100644 --- a/lib/brevo-ruby/models/master_details_response_billing_info_name.rb +++ b/lib/brevo/models/master_details_response_billing_info_name.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Billing name of master account holder class MasterDetailsResponseBillingInfoName # First name for billing @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/master_details_response_plan_info.rb b/lib/brevo/models/master_details_response_plan_info.rb similarity index 92% rename from lib/brevo-ruby/models/master_details_response_plan_info.rb rename to lib/brevo/models/master_details_response_plan_info.rb index 39694a2..8646a3f 100644 --- a/lib/brevo-ruby/models/master_details_response_plan_info.rb +++ b/lib/brevo/models/master_details_response_plan_info.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Plan details class MasterDetailsResponsePlanInfo # Plan currency @@ -221,7 +221,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/master_details_response_plan_info_features.rb b/lib/brevo/models/master_details_response_plan_info_features.rb similarity index 90% rename from lib/brevo-ruby/models/master_details_response_plan_info_features.rb rename to lib/brevo/models/master_details_response_plan_info_features.rb index eb576f4..a6c0ce9 100644 --- a/lib/brevo-ruby/models/master_details_response_plan_info_features.rb +++ b/lib/brevo/models/master_details_response_plan_info_features.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class MasterDetailsResponsePlanInfoFeatures # Name of the feature attr_accessor :name @@ -174,7 +174,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/note.rb b/lib/brevo/models/note.rb similarity index 92% rename from lib/brevo-ruby/models/note.rb rename to lib/brevo/models/note.rb index 8e77699..c36067f 100644 --- a/lib/brevo-ruby/models/note.rb +++ b/lib/brevo/models/note.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Note Details class Note # Unique note Id @@ -232,7 +232,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/note_data.rb b/lib/brevo/models/note_data.rb similarity index 92% rename from lib/brevo-ruby/models/note_data.rb rename to lib/brevo/models/note_data.rb index e226b8f..5f7c590 100644 --- a/lib/brevo-ruby/models/note_data.rb +++ b/lib/brevo/models/note_data.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Note data to be saved class NoteData # Text content of a note @@ -204,7 +204,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/note_id.rb b/lib/brevo/models/note_id.rb similarity index 89% rename from lib/brevo-ruby/models/note_id.rb rename to lib/brevo/models/note_id.rb index 2eabe7e..61493be 100644 --- a/lib/brevo-ruby/models/note_id.rb +++ b/lib/brevo/models/note_id.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Updated Note ID class NoteId # Unique note Id @@ -135,7 +135,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/note_list.rb b/lib/brevo/models/note_list.rb similarity index 88% rename from lib/brevo-ruby/models/note_list.rb rename to lib/brevo/models/note_list.rb index ffece48..6fd26a5 100644 --- a/lib/brevo-ruby/models/note_list.rb +++ b/lib/brevo/models/note_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # List of notes class NoteList # Attribute mapping from ruby-style variable name to JSON key. @@ -125,7 +125,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/order.rb b/lib/brevo/models/order.rb similarity index 93% rename from lib/brevo-ruby/models/order.rb rename to lib/brevo/models/order.rb index 936a088..697d218 100644 --- a/lib/brevo-ruby/models/order.rb +++ b/lib/brevo/models/order.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Order # Unique ID of the order. attr_accessor :id @@ -246,7 +246,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/order_batch.rb b/lib/brevo/models/order_batch.rb similarity index 90% rename from lib/brevo-ruby/models/order_batch.rb rename to lib/brevo/models/order_batch.rb index fc0736c..3186978 100644 --- a/lib/brevo-ruby/models/order_batch.rb +++ b/lib/brevo/models/order_batch.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class OrderBatch # array of order objects attr_accessor :orders @@ -151,7 +151,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/order_billing.rb b/lib/brevo/models/order_billing.rb similarity index 91% rename from lib/brevo-ruby/models/order_billing.rb rename to lib/brevo/models/order_billing.rb index 0f024ba..c1ae389 100644 --- a/lib/brevo-ruby/models/order_billing.rb +++ b/lib/brevo/models/order_billing.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Billing details of an order. class OrderBilling # Full billing address. @@ -195,7 +195,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/order_products.rb b/lib/brevo/models/order_products.rb similarity index 91% rename from lib/brevo-ruby/models/order_products.rb rename to lib/brevo/models/order_products.rb index cdbcaaa..845b99c 100644 --- a/lib/brevo-ruby/models/order_products.rb +++ b/lib/brevo/models/order_products.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Details for the Products in an order. class OrderProducts # ID of the product. @@ -180,7 +180,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/otp.rb b/lib/brevo/models/otp.rb similarity index 89% rename from lib/brevo-ruby/models/otp.rb rename to lib/brevo/models/otp.rb index ab32bf3..6e377f1 100644 --- a/lib/brevo-ruby/models/otp.rb +++ b/lib/brevo/models/otp.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class Otp # 6 digit OTP received on email attr_accessor :name @@ -134,7 +134,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/pipeline.rb b/lib/brevo/models/pipeline.rb similarity index 90% rename from lib/brevo-ruby/models/pipeline.rb rename to lib/brevo/models/pipeline.rb index 79ce18b..dd65e2b 100644 --- a/lib/brevo-ruby/models/pipeline.rb +++ b/lib/brevo/models/pipeline.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # List of stages class Pipeline # Pipeline id @@ -157,7 +157,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/pipeline_stage.rb b/lib/brevo/models/pipeline_stage.rb similarity index 89% rename from lib/brevo-ruby/models/pipeline_stage.rb rename to lib/brevo/models/pipeline_stage.rb index 0b283e0..87715f7 100644 --- a/lib/brevo-ruby/models/pipeline_stage.rb +++ b/lib/brevo/models/pipeline_stage.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # List of stages class PipelineStage # Stage id @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/pipelines.rb b/lib/brevo/models/pipelines.rb similarity index 88% rename from lib/brevo-ruby/models/pipelines.rb rename to lib/brevo/models/pipelines.rb index bc8b68c..cef6b7a 100644 --- a/lib/brevo-ruby/models/pipelines.rb +++ b/lib/brevo/models/pipelines.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # List of pipeline class Pipelines # Attribute mapping from ruby-style variable name to JSON key. @@ -125,7 +125,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/post_contact_info.rb b/lib/brevo/models/post_contact_info.rb similarity index 89% rename from lib/brevo-ruby/models/post_contact_info.rb rename to lib/brevo/models/post_contact_info.rb index 0fc7cbc..e3912e7 100644 --- a/lib/brevo-ruby/models/post_contact_info.rb +++ b/lib/brevo/models/post_contact_info.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class PostContactInfo attr_accessor :contacts @@ -138,7 +138,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/post_contact_info_contacts.rb b/lib/brevo/models/post_contact_info_contacts.rb similarity index 90% rename from lib/brevo-ruby/models/post_contact_info_contacts.rb rename to lib/brevo/models/post_contact_info_contacts.rb index 0088075..bed7266 100644 --- a/lib/brevo-ruby/models/post_contact_info_contacts.rb +++ b/lib/brevo/models/post_contact_info_contacts.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class PostContactInfoContacts attr_accessor :success @@ -166,7 +166,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/post_send_failed.rb b/lib/brevo/models/post_send_failed.rb similarity index 91% rename from lib/brevo-ruby/models/post_send_failed.rb rename to lib/brevo/models/post_send_failed.rb index e22a83a..d368434 100644 --- a/lib/brevo-ruby/models/post_send_failed.rb +++ b/lib/brevo/models/post_send_failed.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class PostSendFailed # Response code attr_accessor :code @@ -187,7 +187,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/post_send_sms_test_failed.rb b/lib/brevo/models/post_send_sms_test_failed.rb similarity index 91% rename from lib/brevo-ruby/models/post_send_sms_test_failed.rb rename to lib/brevo/models/post_send_sms_test_failed.rb index aa5b082..7013ad9 100644 --- a/lib/brevo-ruby/models/post_send_sms_test_failed.rb +++ b/lib/brevo/models/post_send_sms_test_failed.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class PostSendSmsTestFailed # Response code attr_accessor :code @@ -176,7 +176,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/remaining_credit_model.rb b/lib/brevo/models/remaining_credit_model.rb similarity index 90% rename from lib/brevo-ruby/models/remaining_credit_model.rb rename to lib/brevo/models/remaining_credit_model.rb index d395966..bb48782 100644 --- a/lib/brevo-ruby/models/remaining_credit_model.rb +++ b/lib/brevo/models/remaining_credit_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class RemainingCreditModel attr_accessor :child @@ -152,7 +152,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/remaining_credit_model_child.rb b/lib/brevo/models/remaining_credit_model_child.rb similarity index 90% rename from lib/brevo-ruby/models/remaining_credit_model_child.rb rename to lib/brevo/models/remaining_credit_model_child.rb index daac5fe..e3dc0fe 100644 --- a/lib/brevo-ruby/models/remaining_credit_model_child.rb +++ b/lib/brevo/models/remaining_credit_model_child.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Credits remaining for child account class RemainingCreditModelChild # SMS Credits remaining for child account @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/remaining_credit_model_reseller.rb b/lib/brevo/models/remaining_credit_model_reseller.rb similarity index 90% rename from lib/brevo-ruby/models/remaining_credit_model_reseller.rb rename to lib/brevo/models/remaining_credit_model_reseller.rb index 67ca73c..2b7bf8f 100644 --- a/lib/brevo-ruby/models/remaining_credit_model_reseller.rb +++ b/lib/brevo/models/remaining_credit_model_reseller.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class RemainingCreditModelReseller # SMS Credits remaining for reseller account attr_accessor :sms @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/remove_contact_from_list.rb b/lib/brevo/models/remove_contact_from_list.rb similarity index 90% rename from lib/brevo-ruby/models/remove_contact_from_list.rb rename to lib/brevo/models/remove_contact_from_list.rb index 5a648f1..efe2c34 100644 --- a/lib/brevo-ruby/models/remove_contact_from_list.rb +++ b/lib/brevo/models/remove_contact_from_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class RemoveContactFromList # Required if 'all' is false. Emails to remove from a list. You can pass a maximum of 150 emails for removal in one request. attr_accessor :emails @@ -158,7 +158,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/remove_credits.rb b/lib/brevo/models/remove_credits.rb similarity index 89% rename from lib/brevo-ruby/models/remove_credits.rb rename to lib/brevo/models/remove_credits.rb index a00fee3..da3bfaa 100644 --- a/lib/brevo-ruby/models/remove_credits.rb +++ b/lib/brevo/models/remove_credits.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class RemoveCredits # Required if email credits are empty. SMS credits to be removed from the child account attr_accessor :sms @@ -144,7 +144,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/request_contact_export.rb b/lib/brevo/models/request_contact_export.rb similarity index 91% rename from lib/brevo-ruby/models/request_contact_export.rb rename to lib/brevo/models/request_contact_export.rb index 7da5533..e3abf11 100644 --- a/lib/brevo-ruby/models/request_contact_export.rb +++ b/lib/brevo/models/request_contact_export.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class RequestContactExport # List of all the attributes that you want to export. These attributes must be present in your contact database. For example, ['fname', 'lname', 'email']. attr_accessor :export_attributes @@ -160,7 +160,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/request_contact_export_custom_contact_filter.rb b/lib/brevo/models/request_contact_export_custom_contact_filter.rb similarity index 95% rename from lib/brevo-ruby/models/request_contact_export_custom_contact_filter.rb rename to lib/brevo/models/request_contact_export_custom_contact_filter.rb index ab60a1c..f35322c 100644 --- a/lib/brevo-ruby/models/request_contact_export_custom_contact_filter.rb +++ b/lib/brevo/models/request_contact_export_custom_contact_filter.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Set the filter for the contacts to be exported. class RequestContactExportCustomContactFilter # Mandatory if neither actionForEmailCampaigns nor actionForSmsCampaigns is passed. This will export the contacts on the basis of provided action applied on contacts as per the list id. * allContacts - Fetch the list of all contacts for a particular list. * subscribed & unsubscribed - Fetch the list of subscribed / unsubscribed (blacklisted via any means) contacts for a particular list. * unsubscribedPerList - Fetch the list of contacts that are unsubscribed from a particular list only. @@ -243,7 +243,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/request_contact_import.rb b/lib/brevo/models/request_contact_import.rb similarity index 93% rename from lib/brevo-ruby/models/request_contact_import.rb rename to lib/brevo/models/request_contact_import.rb index ab4a70c..2763401 100644 --- a/lib/brevo-ruby/models/request_contact_import.rb +++ b/lib/brevo/models/request_contact_import.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class RequestContactImport # Mandatory if fileBody or jsonBody is not defined. URL of the file to be imported (no local file). Possible file formats: .txt, .csv, .json attr_accessor :file_url @@ -64,7 +64,7 @@ def self.swagger_types { :'file_url' => :'String', :'file_body' => :'String', - :'json_body' => :'Array>', + :'json_body' => :'Array', :'list_ids' => :'Array', :'notify_url' => :'String', :'new_list' => :'RequestContactImportNewList', @@ -235,7 +235,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo/models/request_contact_import_json_body.rb b/lib/brevo/models/request_contact_import_json_body.rb new file mode 100644 index 0000000..ce9843d --- /dev/null +++ b/lib/brevo/models/request_contact_import_json_body.rb @@ -0,0 +1,194 @@ +=begin +#Brevo API + +#Brevo 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/brevo **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@brevo.com +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.4.19 + +=end + +require 'date' + +module Brevo + class RequestContactImportJsonBody + attr_accessor :email + + # List of attributes to be imported + attr_accessor :attributes + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'email' => :'email', + :'attributes' => :'attributes' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'email' => :'String', + :'attributes' => :'Object' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } + + if attributes.has_key?(:'email') + self.email = attributes[:'email'] + end + + if attributes.has_key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + email == o.email && + attributes == o.attributes + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [email, attributes].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Brevo.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end +end diff --git a/lib/brevo-ruby/models/request_contact_import_new_list.rb b/lib/brevo/models/request_contact_import_new_list.rb similarity index 90% rename from lib/brevo-ruby/models/request_contact_import_new_list.rb rename to lib/brevo/models/request_contact_import_new_list.rb index 2d47f3b..e578022 100644 --- a/lib/brevo-ruby/models/request_contact_import_new_list.rb +++ b/lib/brevo/models/request_contact_import_new_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # To create a new list and import the contacts into it, pass the listName and an optional folderId. class RequestContactImportNewList # List with listName will be created first and users will be imported in it (Mandatory if listIds is empty). @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/request_sms_recipient_export.rb b/lib/brevo/models/request_sms_recipient_export.rb similarity index 91% rename from lib/brevo-ruby/models/request_sms_recipient_export.rb rename to lib/brevo/models/request_sms_recipient_export.rb index 1615bc6..9aca9fd 100644 --- a/lib/brevo-ruby/models/request_sms_recipient_export.rb +++ b/lib/brevo/models/request_sms_recipient_export.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class RequestSmsRecipientExport # URL that will be called once the export process is finished. For reference, https://help.brevo.com/hc/en-us/articles/360007666479 attr_accessor :notify_url @@ -183,7 +183,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/schedule_smtp_email.rb b/lib/brevo/models/schedule_smtp_email.rb similarity index 90% rename from lib/brevo-ruby/models/schedule_smtp_email.rb rename to lib/brevo/models/schedule_smtp_email.rb index 1c03b5b..df5a80b 100644 --- a/lib/brevo-ruby/models/schedule_smtp_email.rb +++ b/lib/brevo/models/schedule_smtp_email.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class ScheduleSmtpEmail # Message ID of the transactional email scheduled attr_accessor :message_id @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_report.rb b/lib/brevo/models/send_report.rb similarity index 91% rename from lib/brevo-ruby/models/send_report.rb rename to lib/brevo/models/send_report.rb index bb94686..671e193 100644 --- a/lib/brevo-ruby/models/send_report.rb +++ b/lib/brevo/models/send_report.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SendReport # Language of email content for campaign report sending. attr_accessor :language @@ -184,7 +184,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_report_email.rb b/lib/brevo/models/send_report_email.rb similarity index 90% rename from lib/brevo-ruby/models/send_report_email.rb rename to lib/brevo/models/send_report_email.rb index c97d778..c6d5bda 100644 --- a/lib/brevo-ruby/models/send_report_email.rb +++ b/lib/brevo/models/send_report_email.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Custom attributes for the report email. class SendReportEmail # Email addresses of the recipients @@ -157,7 +157,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_sms.rb b/lib/brevo/models/send_sms.rb similarity index 91% rename from lib/brevo-ruby/models/send_sms.rb rename to lib/brevo/models/send_sms.rb index 7cb4574..dbc9057 100644 --- a/lib/brevo-ruby/models/send_sms.rb +++ b/lib/brevo/models/send_sms.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SendSms attr_accessor :reference @@ -182,7 +182,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_smtp_email.rb b/lib/brevo/models/send_smtp_email.rb similarity index 95% rename from lib/brevo-ruby/models/send_smtp_email.rb rename to lib/brevo/models/send_smtp_email.rb index b2c7e2b..379703f 100644 --- a/lib/brevo-ruby/models/send_smtp_email.rb +++ b/lib/brevo/models/send_smtp_email.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SendSmtpEmail attr_accessor :sender @@ -294,7 +294,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_smtp_email_attachment.rb b/lib/brevo/models/send_smtp_email_attachment.rb similarity index 91% rename from lib/brevo-ruby/models/send_smtp_email_attachment.rb rename to lib/brevo/models/send_smtp_email_attachment.rb index cbcedf8..a3b2f0b 100644 --- a/lib/brevo-ruby/models/send_smtp_email_attachment.rb +++ b/lib/brevo/models/send_smtp_email_attachment.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SendSmtpEmailAttachment # Absolute url of the attachment (no local file). attr_accessor :url @@ -169,7 +169,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_smtp_email_bcc.rb b/lib/brevo/models/send_smtp_email_bcc.rb similarity index 89% rename from lib/brevo-ruby/models/send_smtp_email_bcc.rb rename to lib/brevo/models/send_smtp_email_bcc.rb index 7b5e5c3..0a5fa90 100644 --- a/lib/brevo-ruby/models/send_smtp_email_bcc.rb +++ b/lib/brevo/models/send_smtp_email_bcc.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SendSmtpEmailBcc # Email address of the recipient in bcc attr_accessor :email @@ -149,7 +149,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_smtp_email_cc.rb b/lib/brevo/models/send_smtp_email_cc.rb similarity index 89% rename from lib/brevo-ruby/models/send_smtp_email_cc.rb rename to lib/brevo/models/send_smtp_email_cc.rb index 06ae54f..cfc83c9 100644 --- a/lib/brevo-ruby/models/send_smtp_email_cc.rb +++ b/lib/brevo/models/send_smtp_email_cc.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SendSmtpEmailCc # Email address of the recipient in cc attr_accessor :email @@ -149,7 +149,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_smtp_email_message_versions.rb b/lib/brevo/models/send_smtp_email_message_versions.rb similarity index 91% rename from lib/brevo-ruby/models/send_smtp_email_message_versions.rb rename to lib/brevo/models/send_smtp_email_message_versions.rb index 2eaa210..ca01159 100644 --- a/lib/brevo-ruby/models/send_smtp_email_message_versions.rb +++ b/lib/brevo/models/send_smtp_email_message_versions.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SendSmtpEmailMessageVersions # List of email addresses and names (_optional_) of the recipients. For example, [{\"name\":\"Jimmy\", \"email\":\"jimmy98@example.com\"}, {\"name\":\"Joe\", \"email\":\"joe@example.com\"}] attr_accessor :to @@ -196,7 +196,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_smtp_email_reply_to.rb b/lib/brevo/models/send_smtp_email_reply_to.rb similarity index 90% rename from lib/brevo-ruby/models/send_smtp_email_reply_to.rb rename to lib/brevo/models/send_smtp_email_reply_to.rb index 758427e..1a2bbd1 100644 --- a/lib/brevo-ruby/models/send_smtp_email_reply_to.rb +++ b/lib/brevo/models/send_smtp_email_reply_to.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Email (required), along with name (optional), on which transactional mail recipients will be able to reply back. For example, {\"email\":\"ann6533@example.com\", \"name\":\"Ann\"}. class SendSmtpEmailReplyTo # Email address in reply to @@ -150,7 +150,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_smtp_email_reply_to_1.rb b/lib/brevo/models/send_smtp_email_reply_to_1.rb similarity index 90% rename from lib/brevo-ruby/models/send_smtp_email_reply_to_1.rb rename to lib/brevo/models/send_smtp_email_reply_to_1.rb index e8e9caa..e8e6afa 100644 --- a/lib/brevo-ruby/models/send_smtp_email_reply_to_1.rb +++ b/lib/brevo/models/send_smtp_email_reply_to_1.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Email (required), along with name (optional), on which transactional mail recipients will be able to reply back. For example, {\"email\":\"ann6533@example.com\", \"name\":\"Ann\"} class SendSmtpEmailReplyTo1 # Email address in reply to @@ -150,7 +150,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_smtp_email_sender.rb b/lib/brevo/models/send_smtp_email_sender.rb similarity index 90% rename from lib/brevo-ruby/models/send_smtp_email_sender.rb rename to lib/brevo/models/send_smtp_email_sender.rb index 8147f75..d385ccb 100644 --- a/lib/brevo-ruby/models/send_smtp_email_sender.rb +++ b/lib/brevo/models/send_smtp_email_sender.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Mandatory if `templateId` is not passed. Pass `name` (optional) and `email` OR `id` of sender from which emails will be sent. `name` will be ignored if passed along with sender `id`. For example, {\"name\":\"Mary from MyShop\", \"email\":\"no-reply@myshop.com\"} or {\"id\":2} class SendSmtpEmailSender # Name of the sender from which the emails will be sent. Maximum allowed characters are 70. Applicable only when email is passed. @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_smtp_email_to.rb b/lib/brevo/models/send_smtp_email_to.rb similarity index 89% rename from lib/brevo-ruby/models/send_smtp_email_to.rb rename to lib/brevo/models/send_smtp_email_to.rb index b1d3950..4024cfa 100644 --- a/lib/brevo-ruby/models/send_smtp_email_to.rb +++ b/lib/brevo/models/send_smtp_email_to.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SendSmtpEmailTo # Email address of the recipient attr_accessor :email @@ -149,7 +149,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_smtp_email_to_1.rb b/lib/brevo/models/send_smtp_email_to_1.rb similarity index 89% rename from lib/brevo-ruby/models/send_smtp_email_to_1.rb rename to lib/brevo/models/send_smtp_email_to_1.rb index db6263a..79083ea 100644 --- a/lib/brevo-ruby/models/send_smtp_email_to_1.rb +++ b/lib/brevo/models/send_smtp_email_to_1.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SendSmtpEmailTo1 # Email address of the recipient attr_accessor :email @@ -149,7 +149,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_test_email.rb b/lib/brevo/models/send_test_email.rb similarity index 89% rename from lib/brevo-ruby/models/send_test_email.rb rename to lib/brevo/models/send_test_email.rb index 7f7d719..8d62054 100644 --- a/lib/brevo-ruby/models/send_test_email.rb +++ b/lib/brevo/models/send_test_email.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SendTestEmail # List of the email addresses of the recipients whom you wish to send the test mail. If left empty, the test mail will be sent to your entire test list. You can not send more than 50 test emails per day. attr_accessor :email_to @@ -136,7 +136,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_test_sms.rb b/lib/brevo/models/send_test_sms.rb similarity index 89% rename from lib/brevo-ruby/models/send_test_sms.rb rename to lib/brevo/models/send_test_sms.rb index cf72fc4..b4ec2cf 100644 --- a/lib/brevo-ruby/models/send_test_sms.rb +++ b/lib/brevo/models/send_test_sms.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SendTestSms # Mobile number of the recipient with the country code. This number must belong to one of your contacts in Brevo account and must not be blacklisted attr_accessor :phone_number @@ -134,7 +134,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_transac_sms.rb b/lib/brevo/models/send_transac_sms.rb similarity index 94% rename from lib/brevo-ruby/models/send_transac_sms.rb rename to lib/brevo/models/send_transac_sms.rb index 8d46855..04fe42e 100644 --- a/lib/brevo-ruby/models/send_transac_sms.rb +++ b/lib/brevo/models/send_transac_sms.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SendTransacSms # Name of the sender. **The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters** attr_accessor :sender @@ -276,7 +276,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/send_whatsapp_message.rb b/lib/brevo/models/send_whatsapp_message.rb similarity index 91% rename from lib/brevo-ruby/models/send_whatsapp_message.rb rename to lib/brevo/models/send_whatsapp_message.rb index e2188b3..f17b89d 100644 --- a/lib/brevo-ruby/models/send_whatsapp_message.rb +++ b/lib/brevo/models/send_whatsapp_message.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SendWhatsappMessage # ID of the template to send attr_accessor :template_id @@ -176,7 +176,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/sso_token_request.rb b/lib/brevo/models/sso_token_request.rb similarity index 87% rename from lib/brevo-ruby/models/sso_token_request.rb rename to lib/brevo/models/sso_token_request.rb index 1bd219e..538b3fc 100644 --- a/lib/brevo-ruby/models/sso_token_request.rb +++ b/lib/brevo/models/sso_token_request.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SsoTokenRequest # Id of the sub-account organization attr_accessor :id @@ -23,6 +23,9 @@ class SsoTokenRequest # Set target after login success * automation - Redirect to Automation after login * email_campaign - Redirect to Email Campaign after login * contacts - Redirect to Contacts after login * landing_pages - Redirect to Landing Pages after login * email_transactional - Redirect to Email Transactional after login * senders - Redirect to Contacts after login * sms_campaign - Redirect to Sms Campaign after login * sms_transactional - Redirect to Sms Transactional after login attr_accessor :target + # Set the full target URL after login success. The user will land directly on this target URL after login + attr_accessor :url + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -50,7 +53,8 @@ def self.attribute_map { :'id' => :'id', :'email' => :'email', - :'target' => :'target' + :'target' => :'target', + :'url' => :'url' } end @@ -59,7 +63,8 @@ def self.swagger_types { :'id' => :'Integer', :'email' => :'String', - :'target' => :'String' + :'target' => :'String', + :'url' => :'String' } end @@ -82,6 +87,10 @@ def initialize(attributes = {}) if attributes.has_key?(:'target') self.target = attributes[:'target'] end + + if attributes.has_key?(:'url') + self.url = attributes[:'url'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -121,7 +130,8 @@ def ==(o) self.class == o.class && id == o.id && email == o.email && - target == o.target + target == o.target && + url == o.url end # @see the `==` method @@ -133,7 +143,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [id, email, target].hash + [id, email, target, url].hash end # Builds the object from hash @@ -193,7 +203,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo/models/sub_account_apps_toggle_request.rb b/lib/brevo/models/sub_account_apps_toggle_request.rb new file mode 100644 index 0000000..0f36dfb --- /dev/null +++ b/lib/brevo/models/sub_account_apps_toggle_request.rb @@ -0,0 +1,306 @@ +=begin +#Brevo API + +#Brevo 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/brevo **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@brevo.com +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.4.19 + +=end + +require 'date' + +module Brevo + # List of enable/disable applications on the sub-account + class SubAccountAppsToggleRequest + # Set this field to enable or disable Inbox on the sub-account + attr_accessor :inbox + + # Set this field to enable or disable Whatsapp campaigns on the sub-account + attr_accessor :whatsapp + + # Set this field to enable or disable Automation on the sub-account + attr_accessor :automation + + # Set this field to enable or disable Email Campaigns on the sub-account + attr_accessor :email_campaigns + + # Set this field to enable or disable SMS Marketing on the sub-account + attr_accessor :sms_campaigns + + # Set this field to enable or disable Landing pages on the sub-account + attr_accessor :landing_pages + + # Set this field to enable or disable Transactional Email on the sub-account + attr_accessor :transactional_emails + + # Set this field to enable or disable Transactional SMS on the sub-account + attr_accessor :transactional_sms + + # Set this field to enable or disable Facebook ads on the sub-account + attr_accessor :facebook_ads + + # Set this field to enable or disable Web Push on the sub-account + attr_accessor :web_push + + # Set this field to enable or disable Meetings on the sub-account + attr_accessor :meetings + + # Set this field to enable or disable Conversations on the sub-account + attr_accessor :conversations + + # Set this field to enable or disable Sales CRM on the sub-account + attr_accessor :crm + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'inbox' => :'inbox', + :'whatsapp' => :'whatsapp', + :'automation' => :'automation', + :'email_campaigns' => :'email-campaigns', + :'sms_campaigns' => :'sms-campaigns', + :'landing_pages' => :'landing-pages', + :'transactional_emails' => :'transactional-emails', + :'transactional_sms' => :'transactional-sms', + :'facebook_ads' => :'facebook-ads', + :'web_push' => :'web-push', + :'meetings' => :'meetings', + :'conversations' => :'conversations', + :'crm' => :'crm' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'inbox' => :'BOOLEAN', + :'whatsapp' => :'BOOLEAN', + :'automation' => :'BOOLEAN', + :'email_campaigns' => :'BOOLEAN', + :'sms_campaigns' => :'BOOLEAN', + :'landing_pages' => :'BOOLEAN', + :'transactional_emails' => :'BOOLEAN', + :'transactional_sms' => :'BOOLEAN', + :'facebook_ads' => :'BOOLEAN', + :'web_push' => :'BOOLEAN', + :'meetings' => :'BOOLEAN', + :'conversations' => :'BOOLEAN', + :'crm' => :'BOOLEAN' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } + + if attributes.has_key?(:'inbox') + self.inbox = attributes[:'inbox'] + end + + if attributes.has_key?(:'whatsapp') + self.whatsapp = attributes[:'whatsapp'] + end + + if attributes.has_key?(:'automation') + self.automation = attributes[:'automation'] + end + + if attributes.has_key?(:'email-campaigns') + self.email_campaigns = attributes[:'email-campaigns'] + end + + if attributes.has_key?(:'sms-campaigns') + self.sms_campaigns = attributes[:'sms-campaigns'] + end + + if attributes.has_key?(:'landing-pages') + self.landing_pages = attributes[:'landing-pages'] + end + + if attributes.has_key?(:'transactional-emails') + self.transactional_emails = attributes[:'transactional-emails'] + end + + if attributes.has_key?(:'transactional-sms') + self.transactional_sms = attributes[:'transactional-sms'] + end + + if attributes.has_key?(:'facebook-ads') + self.facebook_ads = attributes[:'facebook-ads'] + end + + if attributes.has_key?(:'web-push') + self.web_push = attributes[:'web-push'] + end + + if attributes.has_key?(:'meetings') + self.meetings = attributes[:'meetings'] + end + + if attributes.has_key?(:'conversations') + self.conversations = attributes[:'conversations'] + end + + if attributes.has_key?(:'crm') + self.crm = attributes[:'crm'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + inbox == o.inbox && + whatsapp == o.whatsapp && + automation == o.automation && + email_campaigns == o.email_campaigns && + sms_campaigns == o.sms_campaigns && + landing_pages == o.landing_pages && + transactional_emails == o.transactional_emails && + transactional_sms == o.transactional_sms && + facebook_ads == o.facebook_ads && + web_push == o.web_push && + meetings == o.meetings && + conversations == o.conversations && + crm == o.crm + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [inbox, whatsapp, automation, email_campaigns, sms_campaigns, landing_pages, transactional_emails, transactional_sms, facebook_ads, web_push, meetings, conversations, crm].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Brevo.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end +end diff --git a/lib/brevo-ruby/models/sub_account_details_response.rb b/lib/brevo/models/sub_account_details_response.rb similarity index 90% rename from lib/brevo-ruby/models/sub_account_details_response.rb rename to lib/brevo/models/sub_account_details_response.rb index c3fcc2e..17154bd 100644 --- a/lib/brevo-ruby/models/sub_account_details_response.rb +++ b/lib/brevo/models/sub_account_details_response.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SubAccountDetailsResponse # Name of the sub-account user attr_accessor :name @@ -163,7 +163,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/sub_account_details_response_plan_info.rb b/lib/brevo/models/sub_account_details_response_plan_info.rb similarity index 90% rename from lib/brevo-ruby/models/sub_account_details_response_plan_info.rb rename to lib/brevo/models/sub_account_details_response_plan_info.rb index c1616e5..13301a1 100644 --- a/lib/brevo-ruby/models/sub_account_details_response_plan_info.rb +++ b/lib/brevo/models/sub_account_details_response_plan_info.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Sub-account plan details class SubAccountDetailsResponsePlanInfo attr_accessor :credits @@ -153,7 +153,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/sub_account_details_response_plan_info_credits.rb b/lib/brevo/models/sub_account_details_response_plan_info_credits.rb similarity index 89% rename from lib/brevo-ruby/models/sub_account_details_response_plan_info_credits.rb rename to lib/brevo/models/sub_account_details_response_plan_info_credits.rb index 16bd228..36b6d22 100644 --- a/lib/brevo-ruby/models/sub_account_details_response_plan_info_credits.rb +++ b/lib/brevo/models/sub_account_details_response_plan_info_credits.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Credits quota and remaining credits on the sub-account class SubAccountDetailsResponsePlanInfoCredits # SMS credits remaining on the sub-account @@ -144,7 +144,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/sub_account_details_response_plan_info_credits_emails.rb b/lib/brevo/models/sub_account_details_response_plan_info_credits_emails.rb similarity index 89% rename from lib/brevo-ruby/models/sub_account_details_response_plan_info_credits_emails.rb rename to lib/brevo/models/sub_account_details_response_plan_info_credits_emails.rb index 00f3ebf..e02f8de 100644 --- a/lib/brevo-ruby/models/sub_account_details_response_plan_info_credits_emails.rb +++ b/lib/brevo/models/sub_account_details_response_plan_info_credits_emails.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Email credits remaining on the sub-account class SubAccountDetailsResponsePlanInfoCreditsEmails # Quantity of email messaging limits provided @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/sub_account_details_response_plan_info_features.rb b/lib/brevo/models/sub_account_details_response_plan_info_features.rb similarity index 90% rename from lib/brevo-ruby/models/sub_account_details_response_plan_info_features.rb rename to lib/brevo/models/sub_account_details_response_plan_info_features.rb index b799533..2d50b6a 100644 --- a/lib/brevo-ruby/models/sub_account_details_response_plan_info_features.rb +++ b/lib/brevo/models/sub_account_details_response_plan_info_features.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Features available on the sub-account class SubAccountDetailsResponsePlanInfoFeatures attr_accessor :inbox @@ -152,7 +152,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/sub_account_details_response_plan_info_features_inbox.rb b/lib/brevo/models/sub_account_details_response_plan_info_features_inbox.rb similarity index 89% rename from lib/brevo-ruby/models/sub_account_details_response_plan_info_features_inbox.rb rename to lib/brevo/models/sub_account_details_response_plan_info_features_inbox.rb index 0cc7ba7..a72b053 100644 --- a/lib/brevo-ruby/models/sub_account_details_response_plan_info_features_inbox.rb +++ b/lib/brevo/models/sub_account_details_response_plan_info_features_inbox.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Inbox details class SubAccountDetailsResponsePlanInfoFeaturesInbox # Quantity of inbox provided @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/sub_account_details_response_plan_info_features_landing_page.rb b/lib/brevo/models/sub_account_details_response_plan_info_features_landing_page.rb similarity index 89% rename from lib/brevo-ruby/models/sub_account_details_response_plan_info_features_landing_page.rb rename to lib/brevo/models/sub_account_details_response_plan_info_features_landing_page.rb index 4a903b2..a621ef4 100644 --- a/lib/brevo-ruby/models/sub_account_details_response_plan_info_features_landing_page.rb +++ b/lib/brevo/models/sub_account_details_response_plan_info_features_landing_page.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Landing page details class SubAccountDetailsResponsePlanInfoFeaturesLandingPage # Quantity of landing pages provided @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/sub_account_details_response_plan_info_features_users.rb b/lib/brevo/models/sub_account_details_response_plan_info_features_users.rb similarity index 89% rename from lib/brevo-ruby/models/sub_account_details_response_plan_info_features_users.rb rename to lib/brevo/models/sub_account_details_response_plan_info_features_users.rb index d528263..7181d07 100644 --- a/lib/brevo-ruby/models/sub_account_details_response_plan_info_features_users.rb +++ b/lib/brevo/models/sub_account_details_response_plan_info_features_users.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Multi-account details class SubAccountDetailsResponsePlanInfoFeaturesUsers # Quantity of multi-account's provided @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/sub_account_update_plan_request.rb b/lib/brevo/models/sub_account_update_plan_request.rb similarity index 89% rename from lib/brevo-ruby/models/sub_account_update_plan_request.rb rename to lib/brevo/models/sub_account_update_plan_request.rb index 654ad27..92e7b69 100644 --- a/lib/brevo-ruby/models/sub_account_update_plan_request.rb +++ b/lib/brevo/models/sub_account_update_plan_request.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Details of the plan to be changed class SubAccountUpdatePlanRequest attr_accessor :credits @@ -143,7 +143,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/sub_account_update_plan_request_credits.rb b/lib/brevo/models/sub_account_update_plan_request_credits.rb similarity index 89% rename from lib/brevo-ruby/models/sub_account_update_plan_request_credits.rb rename to lib/brevo/models/sub_account_update_plan_request_credits.rb index ed9b85d..5f36d1f 100644 --- a/lib/brevo-ruby/models/sub_account_update_plan_request_credits.rb +++ b/lib/brevo/models/sub_account_update_plan_request_credits.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Credit details to update class SubAccountUpdatePlanRequestCredits # Number of email credits @@ -135,7 +135,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/sub_account_update_plan_request_features.rb b/lib/brevo/models/sub_account_update_plan_request_features.rb similarity index 90% rename from lib/brevo-ruby/models/sub_account_update_plan_request_features.rb rename to lib/brevo/models/sub_account_update_plan_request_features.rb index a0cbb9e..dfd43e0 100644 --- a/lib/brevo-ruby/models/sub_account_update_plan_request_features.rb +++ b/lib/brevo/models/sub_account_update_plan_request_features.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Features details to update class SubAccountUpdatePlanRequestFeatures # Number of multi-users @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/sub_accounts_response.rb b/lib/brevo/models/sub_accounts_response.rb similarity index 89% rename from lib/brevo-ruby/models/sub_accounts_response.rb rename to lib/brevo/models/sub_accounts_response.rb index 8db18d5..ee64723 100644 --- a/lib/brevo-ruby/models/sub_accounts_response.rb +++ b/lib/brevo/models/sub_accounts_response.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SubAccountsResponse # Total number of subaccounts attr_accessor :count @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/sub_accounts_response_sub_accounts.rb b/lib/brevo/models/sub_accounts_response_sub_accounts.rb similarity index 91% rename from lib/brevo-ruby/models/sub_accounts_response_sub_accounts.rb rename to lib/brevo/models/sub_accounts_response_sub_accounts.rb index f9a16a2..0fb9471 100644 --- a/lib/brevo-ruby/models/sub_accounts_response_sub_accounts.rb +++ b/lib/brevo/models/sub_accounts_response_sub_accounts.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class SubAccountsResponseSubAccounts # id of the sub-account attr_accessor :id @@ -184,7 +184,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/task.rb b/lib/brevo/models/task.rb similarity index 91% rename from lib/brevo-ruby/models/task.rb rename to lib/brevo/models/task.rb index e39e44f..64d9b0e 100644 --- a/lib/brevo-ruby/models/task.rb +++ b/lib/brevo/models/task.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Task Details class Task # Unique task id @@ -201,7 +201,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/task_list.rb b/lib/brevo/models/task_list.rb similarity index 89% rename from lib/brevo-ruby/models/task_list.rb rename to lib/brevo/models/task_list.rb index 8f8037c..7454be1 100644 --- a/lib/brevo-ruby/models/task_list.rb +++ b/lib/brevo/models/task_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # List of tasks class TaskList # List of tasks @@ -137,7 +137,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/task_reminder.rb b/lib/brevo/models/task_reminder.rb similarity index 92% rename from lib/brevo-ruby/models/task_reminder.rb rename to lib/brevo/models/task_reminder.rb index c79a150..182c3d5 100644 --- a/lib/brevo-ruby/models/task_reminder.rb +++ b/lib/brevo/models/task_reminder.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Task reminder date/time for a task class TaskReminder # Value of time unit before reminder is to be sent @@ -206,7 +206,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/task_types.rb b/lib/brevo/models/task_types.rb similarity index 89% rename from lib/brevo-ruby/models/task_types.rb rename to lib/brevo/models/task_types.rb index bf16ceb..10a747e 100644 --- a/lib/brevo-ruby/models/task_types.rb +++ b/lib/brevo/models/task_types.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Task types details class TaskTypes # Id of task type @@ -145,7 +145,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_attribute.rb b/lib/brevo/models/update_attribute.rb similarity index 90% rename from lib/brevo-ruby/models/update_attribute.rb rename to lib/brevo/models/update_attribute.rb index 7819b32..a0a3f81 100644 --- a/lib/brevo-ruby/models/update_attribute.rb +++ b/lib/brevo/models/update_attribute.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateAttribute # Value of the attribute to update. Use only if the attribute's category is 'calculated' or 'global' attr_accessor :value @@ -146,7 +146,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_attribute_enumeration.rb b/lib/brevo/models/update_attribute_enumeration.rb similarity index 90% rename from lib/brevo-ruby/models/update_attribute_enumeration.rb rename to lib/brevo/models/update_attribute_enumeration.rb index 6d43fa7..3cb5bd4 100644 --- a/lib/brevo-ruby/models/update_attribute_enumeration.rb +++ b/lib/brevo/models/update_attribute_enumeration.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateAttributeEnumeration # Id of the value attr_accessor :value @@ -154,7 +154,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_batch_contacts.rb b/lib/brevo/models/update_batch_contacts.rb similarity index 89% rename from lib/brevo-ruby/models/update_batch_contacts.rb rename to lib/brevo/models/update_batch_contacts.rb index b09d700..9a89439 100644 --- a/lib/brevo-ruby/models/update_batch_contacts.rb +++ b/lib/brevo/models/update_batch_contacts.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateBatchContacts # List of contacts to be updated attr_accessor :contacts @@ -136,7 +136,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_batch_contacts_contacts.rb b/lib/brevo/models/update_batch_contacts_contacts.rb similarity index 93% rename from lib/brevo-ruby/models/update_batch_contacts_contacts.rb rename to lib/brevo/models/update_batch_contacts_contacts.rb index ad43716..9cc5153 100644 --- a/lib/brevo-ruby/models/update_batch_contacts_contacts.rb +++ b/lib/brevo/models/update_batch_contacts_contacts.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateBatchContactsContacts # Email address of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms) attr_accessor :email @@ -232,7 +232,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_batch_contacts_model.rb b/lib/brevo/models/update_batch_contacts_model.rb similarity index 89% rename from lib/brevo-ruby/models/update_batch_contacts_model.rb rename to lib/brevo/models/update_batch_contacts_model.rb index a5da037..3cab08b 100644 --- a/lib/brevo-ruby/models/update_batch_contacts_model.rb +++ b/lib/brevo/models/update_batch_contacts_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateBatchContactsModel attr_accessor :success_ids @@ -146,7 +146,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_campaign_status.rb b/lib/brevo/models/update_campaign_status.rb similarity index 91% rename from lib/brevo-ruby/models/update_campaign_status.rb rename to lib/brevo/models/update_campaign_status.rb index 4708052..f5de950 100644 --- a/lib/brevo-ruby/models/update_campaign_status.rb +++ b/lib/brevo/models/update_campaign_status.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Status of the campaign class UpdateCampaignStatus # Note:- replicateTemplate status will be available only for template type campaigns. @@ -169,7 +169,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_child.rb b/lib/brevo/models/update_child.rb similarity index 91% rename from lib/brevo-ruby/models/update_child.rb rename to lib/brevo/models/update_child.rb index 8ecfbe8..8932ef9 100644 --- a/lib/brevo-ruby/models/update_child.rb +++ b/lib/brevo/models/update_child.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateChild # New Email address to update the child account attr_accessor :email @@ -174,7 +174,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_child_account_status.rb b/lib/brevo/models/update_child_account_status.rb similarity index 91% rename from lib/brevo-ruby/models/update_child_account_status.rb rename to lib/brevo/models/update_child_account_status.rb index e6b466e..e4a7520 100644 --- a/lib/brevo-ruby/models/update_child_account_status.rb +++ b/lib/brevo/models/update_child_account_status.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateChildAccountStatus # Status of Transactional Email Platform activation for your account (true=enabled, false=disabled) attr_accessor :transactional_email @@ -164,7 +164,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_child_domain.rb b/lib/brevo/models/update_child_domain.rb similarity index 89% rename from lib/brevo-ruby/models/update_child_domain.rb rename to lib/brevo/models/update_child_domain.rb index 36786c3..b94e5a5 100644 --- a/lib/brevo-ruby/models/update_child_domain.rb +++ b/lib/brevo/models/update_child_domain.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateChildDomain # Value for the sender domain that will replace the existing domain attr_accessor :domain @@ -134,7 +134,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_contact.rb b/lib/brevo/models/update_contact.rb similarity index 92% rename from lib/brevo-ruby/models/update_contact.rb rename to lib/brevo/models/update_contact.rb index b90a58e..b135045 100644 --- a/lib/brevo-ruby/models/update_contact.rb +++ b/lib/brevo/models/update_contact.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateContact # 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\"} attr_accessor :attributes @@ -200,7 +200,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_coupon_collection.rb b/lib/brevo/models/update_coupon_collection.rb similarity index 89% rename from lib/brevo-ruby/models/update_coupon_collection.rb rename to lib/brevo/models/update_coupon_collection.rb index 174169c..8858858 100644 --- a/lib/brevo-ruby/models/update_coupon_collection.rb +++ b/lib/brevo/models/update_coupon_collection.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateCouponCollection # A default coupon to be used in case there are no coupons left attr_accessor :default_coupon @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_email_campaign.rb b/lib/brevo/models/update_email_campaign.rb similarity index 94% rename from lib/brevo-ruby/models/update_email_campaign.rb rename to lib/brevo/models/update_email_campaign.rb index 3f9fe5b..01e0dd5 100644 --- a/lib/brevo-ruby/models/update_email_campaign.rb +++ b/lib/brevo/models/update_email_campaign.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateEmailCampaign # Tag of the campaign attr_accessor :tag @@ -34,6 +34,9 @@ class UpdateEmailCampaign # Subject of the campaign attr_accessor :subject + # Preview text or preheader of the email campaign + attr_accessor :preview_text + # Email on which campaign recipients will be able to reply to attr_accessor :reply_to @@ -134,6 +137,7 @@ def self.attribute_map :'html_url' => :'htmlUrl', :'scheduled_at' => :'scheduledAt', :'subject' => :'subject', + :'preview_text' => :'previewText', :'reply_to' => :'replyTo', :'to_field' => :'toField', :'recipients' => :'recipients', @@ -170,6 +174,7 @@ def self.swagger_types :'html_url' => :'String', :'scheduled_at' => :'String', :'subject' => :'String', + :'preview_text' => :'String', :'reply_to' => :'String', :'to_field' => :'String', :'recipients' => :'UpdateEmailCampaignRecipients', @@ -232,6 +237,10 @@ def initialize(attributes = {}) self.subject = attributes[:'subject'] end + if attributes.has_key?(:'previewText') + self.preview_text = attributes[:'previewText'] + end + if attributes.has_key?(:'replyTo') self.reply_to = attributes[:'replyTo'] end @@ -442,6 +451,7 @@ def ==(o) html_url == o.html_url && scheduled_at == o.scheduled_at && subject == o.subject && + preview_text == o.preview_text && reply_to == o.reply_to && to_field == o.to_field && recipients == o.recipients && @@ -476,7 +486,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [tag, sender, name, html_content, html_url, scheduled_at, subject, reply_to, to_field, recipients, attachment_url, inline_image_activation, mirror_active, recurring, footer, header, utm_campaign, params, send_at_best_time, ab_testing, subject_a, subject_b, split_rule, winner_criteria, winner_delay, ip_warmup_enable, initial_quota, increase_rate, unsubscription_page_id, update_form_id].hash + [tag, sender, name, html_content, html_url, scheduled_at, subject, preview_text, reply_to, to_field, recipients, attachment_url, inline_image_activation, mirror_active, recurring, footer, header, utm_campaign, params, send_at_best_time, ab_testing, subject_a, subject_b, split_rule, winner_criteria, winner_delay, ip_warmup_enable, initial_quota, increase_rate, unsubscription_page_id, update_form_id].hash end # Builds the object from hash @@ -536,7 +546,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_email_campaign_recipients.rb b/lib/brevo/models/update_email_campaign_recipients.rb similarity index 91% rename from lib/brevo-ruby/models/update_email_campaign_recipients.rb rename to lib/brevo/models/update_email_campaign_recipients.rb index ebafec7..72596b7 100644 --- a/lib/brevo-ruby/models/update_email_campaign_recipients.rb +++ b/lib/brevo/models/update_email_campaign_recipients.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Segment ids and List ids to include/exclude from campaign class UpdateEmailCampaignRecipients # List ids which have to be excluded from a campaign @@ -161,7 +161,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_email_campaign_sender.rb b/lib/brevo/models/update_email_campaign_sender.rb similarity index 90% rename from lib/brevo-ruby/models/update_email_campaign_sender.rb rename to lib/brevo/models/update_email_campaign_sender.rb index cef169f..354572f 100644 --- a/lib/brevo-ruby/models/update_email_campaign_sender.rb +++ b/lib/brevo/models/update_email_campaign_sender.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{\"name\":\"xyz\", \"email\":\"example@abc.com\"}` , `{\"name\":\"xyz\", \"id\":123}` class UpdateEmailCampaignSender # Sender Name from which the campaign emails are sent @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_external_feed.rb b/lib/brevo/models/update_external_feed.rb similarity index 93% rename from lib/brevo-ruby/models/update_external_feed.rb rename to lib/brevo/models/update_external_feed.rb index 087499c..f3dcf0f 100644 --- a/lib/brevo-ruby/models/update_external_feed.rb +++ b/lib/brevo/models/update_external_feed.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateExternalFeed # Name of the feed attr_accessor :name @@ -276,7 +276,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_list.rb b/lib/brevo/models/update_list.rb similarity index 89% rename from lib/brevo-ruby/models/update_list.rb rename to lib/brevo/models/update_list.rb index 01c1f44..269684e 100644 --- a/lib/brevo-ruby/models/update_list.rb +++ b/lib/brevo/models/update_list.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateList # Name of the list. Either of the two parameters (name, folderId) can be updated at a time. attr_accessor :name @@ -144,7 +144,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_sender.rb b/lib/brevo/models/update_sender.rb similarity index 90% rename from lib/brevo-ruby/models/update_sender.rb rename to lib/brevo/models/update_sender.rb index 3a24615..025252b 100644 --- a/lib/brevo-ruby/models/update_sender.rb +++ b/lib/brevo/models/update_sender.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateSender # From Name to update the sender attr_accessor :name @@ -156,7 +156,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_sms_campaign.rb b/lib/brevo/models/update_sms_campaign.rb similarity index 93% rename from lib/brevo-ruby/models/update_sms_campaign.rb rename to lib/brevo/models/update_sms_campaign.rb index 747c3a4..c182d70 100644 --- a/lib/brevo-ruby/models/update_sms_campaign.rb +++ b/lib/brevo/models/update_sms_campaign.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateSmsCampaign # Name of the campaign attr_accessor :name @@ -220,7 +220,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_smtp_template.rb b/lib/brevo/models/update_smtp_template.rb similarity index 93% rename from lib/brevo-ruby/models/update_smtp_template.rb rename to lib/brevo/models/update_smtp_template.rb index cf0bd93..4821ffb 100644 --- a/lib/brevo-ruby/models/update_smtp_template.rb +++ b/lib/brevo/models/update_smtp_template.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateSmtpTemplate # Tag of the template attr_accessor :tag @@ -223,7 +223,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_smtp_template_sender.rb b/lib/brevo/models/update_smtp_template_sender.rb similarity index 90% rename from lib/brevo-ruby/models/update_smtp_template_sender.rb rename to lib/brevo/models/update_smtp_template_sender.rb index 006c181..361fe32 100644 --- a/lib/brevo-ruby/models/update_smtp_template_sender.rb +++ b/lib/brevo/models/update_smtp_template_sender.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo # Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{\"name\":\"xyz\", \"email\":\"example@abc.com\"}` , `{\"name\":\"xyz\", \"id\":123}` class UpdateSmtpTemplateSender # Name of the sender @@ -155,7 +155,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_webhook.rb b/lib/brevo/models/update_webhook.rb similarity index 91% rename from lib/brevo-ruby/models/update_webhook.rb rename to lib/brevo/models/update_webhook.rb index 85873de..bf9f7b9 100644 --- a/lib/brevo-ruby/models/update_webhook.rb +++ b/lib/brevo/models/update_webhook.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateWebhook # URL of the webhook attr_accessor :url @@ -188,7 +188,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/update_whats_app_campaign.rb b/lib/brevo/models/update_whats_app_campaign.rb similarity index 92% rename from lib/brevo-ruby/models/update_whats_app_campaign.rb rename to lib/brevo/models/update_whats_app_campaign.rb index 8c90cbf..2e340dc 100644 --- a/lib/brevo-ruby/models/update_whats_app_campaign.rb +++ b/lib/brevo/models/update_whats_app_campaign.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UpdateWhatsAppCampaign # Name of the campaign attr_accessor :campaign_name @@ -199,7 +199,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/upload_image_model.rb b/lib/brevo/models/upload_image_model.rb similarity index 89% rename from lib/brevo-ruby/models/upload_image_model.rb rename to lib/brevo/models/upload_image_model.rb index 33edce5..99e7ca9 100644 --- a/lib/brevo-ruby/models/upload_image_model.rb +++ b/lib/brevo/models/upload_image_model.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UploadImageModel # URL of the image uploaded attr_accessor :url @@ -139,7 +139,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/upload_image_to_gallery.rb b/lib/brevo/models/upload_image_to_gallery.rb similarity index 90% rename from lib/brevo-ruby/models/upload_image_to_gallery.rb rename to lib/brevo/models/upload_image_to_gallery.rb index e04363d..41986de 100644 --- a/lib/brevo-ruby/models/upload_image_to_gallery.rb +++ b/lib/brevo/models/upload_image_to_gallery.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class UploadImageToGallery # The absolute url of the image (no local file). Maximum allowed size for image is 2MB. Allowed extensions for images are - jpeg, jpg, png, bmp, gif. attr_accessor :image_url @@ -149,7 +149,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/variables_items.rb b/lib/brevo/models/variables_items.rb similarity index 89% rename from lib/brevo-ruby/models/variables_items.rb rename to lib/brevo/models/variables_items.rb index 7d2abd1..f7e79ee 100644 --- a/lib/brevo-ruby/models/variables_items.rb +++ b/lib/brevo/models/variables_items.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class VariablesItems attr_accessor :name @@ -151,7 +151,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/whatsapp_camp_stats.rb b/lib/brevo/models/whatsapp_camp_stats.rb similarity index 91% rename from lib/brevo-ruby/models/whatsapp_camp_stats.rb rename to lib/brevo/models/whatsapp_camp_stats.rb index 5b71078..9f577a2 100644 --- a/lib/brevo-ruby/models/whatsapp_camp_stats.rb +++ b/lib/brevo/models/whatsapp_camp_stats.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class WhatsappCampStats attr_accessor :sent @@ -194,7 +194,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo-ruby/models/whatsapp_camp_template.rb b/lib/brevo/models/whatsapp_camp_template.rb similarity index 93% rename from lib/brevo-ruby/models/whatsapp_camp_template.rb rename to lib/brevo/models/whatsapp_camp_template.rb index c0ba772..74ea414 100644 --- a/lib/brevo-ruby/models/whatsapp_camp_template.rb +++ b/lib/brevo/models/whatsapp_camp_template.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,7 +12,7 @@ require 'date' -module BrevoRuby +module Brevo class WhatsappCampTemplate # name of the template attr_accessor :name @@ -236,7 +236,7 @@ def _deserialize(type, value) end end else # model - temp_model = BrevoRuby.const_get(type).new + temp_model = Brevo.const_get(type).new temp_model.build_from_hash(value) end end diff --git a/lib/brevo/version.rb b/lib/brevo/version.rb new file mode 100644 index 0000000..8d1cf7a --- /dev/null +++ b/lib/brevo/version.rb @@ -0,0 +1,15 @@ +=begin +#Brevo API + +#Brevo 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/brevo **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@brevo.com +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.4.19 + +=end + +module Brevo + VERSION = '2.0.0' +end diff --git a/spec/api/account_api_spec.rb b/spec/api/account_api_spec.rb index 25eee4e..113e2a6 100644 --- a/spec/api/account_api_spec.rb +++ b/spec/api/account_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::AccountApi +# Unit tests for Brevo::AccountApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'AccountApi' do before do # run before each test - @instance = BrevoRuby::AccountApi.new + @instance = Brevo::AccountApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of AccountApi' do it 'should create an instance of AccountApi' do - expect(@instance).to be_instance_of(BrevoRuby::AccountApi) + expect(@instance).to be_instance_of(Brevo::AccountApi) end end diff --git a/spec/api/companies_api_spec.rb b/spec/api/companies_api_spec.rb index f4cc76c..8f38f21 100644 --- a/spec/api/companies_api_spec.rb +++ b/spec/api/companies_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::CompaniesApi +# Unit tests for Brevo::CompaniesApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CompaniesApi' do before do # run before each test - @instance = BrevoRuby::CompaniesApi.new + @instance = Brevo::CompaniesApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of CompaniesApi' do it 'should create an instance of CompaniesApi' do - expect(@instance).to be_instance_of(BrevoRuby::CompaniesApi) + expect(@instance).to be_instance_of(Brevo::CompaniesApi) end end diff --git a/spec/api/contacts_api_spec.rb b/spec/api/contacts_api_spec.rb index 5c2e35c..f4a5325 100644 --- a/spec/api/contacts_api_spec.rb +++ b/spec/api/contacts_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::ContactsApi +# Unit tests for Brevo::ContactsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ContactsApi' do before do # run before each test - @instance = BrevoRuby::ContactsApi.new + @instance = Brevo::ContactsApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of ContactsApi' do it 'should create an instance of ContactsApi' do - expect(@instance).to be_instance_of(BrevoRuby::ContactsApi) + expect(@instance).to be_instance_of(Brevo::ContactsApi) end end diff --git a/spec/api/conversations_api_spec.rb b/spec/api/conversations_api_spec.rb index ab74381..31aa728 100644 --- a/spec/api/conversations_api_spec.rb +++ b/spec/api/conversations_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::ConversationsApi +# Unit tests for Brevo::ConversationsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ConversationsApi' do before do # run before each test - @instance = BrevoRuby::ConversationsApi.new + @instance = Brevo::ConversationsApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of ConversationsApi' do it 'should create an instance of ConversationsApi' do - expect(@instance).to be_instance_of(BrevoRuby::ConversationsApi) + expect(@instance).to be_instance_of(Brevo::ConversationsApi) end end diff --git a/spec/api/coupons_api_spec.rb b/spec/api/coupons_api_spec.rb index 8b5b0f4..b4b158d 100644 --- a/spec/api/coupons_api_spec.rb +++ b/spec/api/coupons_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::CouponsApi +# Unit tests for Brevo::CouponsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CouponsApi' do before do # run before each test - @instance = BrevoRuby::CouponsApi.new + @instance = Brevo::CouponsApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of CouponsApi' do it 'should create an instance of CouponsApi' do - expect(@instance).to be_instance_of(BrevoRuby::CouponsApi) + expect(@instance).to be_instance_of(Brevo::CouponsApi) end end diff --git a/spec/api/deals_api_spec.rb b/spec/api/deals_api_spec.rb index 1756eea..e5f7ed7 100644 --- a/spec/api/deals_api_spec.rb +++ b/spec/api/deals_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::DealsApi +# Unit tests for Brevo::DealsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'DealsApi' do before do # run before each test - @instance = BrevoRuby::DealsApi.new + @instance = Brevo::DealsApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of DealsApi' do it 'should create an instance of DealsApi' do - expect(@instance).to be_instance_of(BrevoRuby::DealsApi) + expect(@instance).to be_instance_of(Brevo::DealsApi) end end @@ -45,7 +45,7 @@ # unit tests for crm_deals_get # Get all deals # @param [Hash] opts the optional parameters - # @option opts [String] :filters_attributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" + # @option opts [String] :filters_attributes_deal_name Filter by attributes. If you have filter for owner on your side please send it as `filters[attributes.deal_owner]`.\" # @option opts [String] :filters_linked_companies_ids Filter by linked companies ids # @option opts [String] :filters_linked_contacts_ids Filter by linked companies ids # @option opts [Integer] :offset Index of the first document of the page @@ -116,6 +116,16 @@ end end + # unit tests for crm_pipeline_details_all_get + # Get all pipelines + # @param [Hash] opts the optional parameters + # @return [Pipelines] + describe 'crm_pipeline_details_all_get test' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for crm_pipeline_details_get # Get pipeline stages # This endpoint is deprecated. Prefer /crm/pipeline/details/{pipelineID} instead. @@ -128,8 +138,8 @@ end # unit tests for crm_pipeline_details_pipeline_id_get - # Get pipelines and their details - # @param pipeline_id Gets the pipeline details with given pipelineID and all if no pipeline provided + # Get a pipeline + # @param pipeline_id # @param [Hash] opts the optional parameters # @return [Pipelines] describe 'crm_pipeline_details_pipeline_id_get test' do diff --git a/spec/api/domains_api_spec.rb b/spec/api/domains_api_spec.rb index bb0e766..b84aa04 100644 --- a/spec/api/domains_api_spec.rb +++ b/spec/api/domains_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::DomainsApi +# Unit tests for Brevo::DomainsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'DomainsApi' do before do # run before each test - @instance = BrevoRuby::DomainsApi.new + @instance = Brevo::DomainsApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of DomainsApi' do it 'should create an instance of DomainsApi' do - expect(@instance).to be_instance_of(BrevoRuby::DomainsApi) + expect(@instance).to be_instance_of(Brevo::DomainsApi) end end diff --git a/spec/api/ecommerce_api_spec.rb b/spec/api/ecommerce_api_spec.rb index 2ee34c3..ea704e9 100644 --- a/spec/api/ecommerce_api_spec.rb +++ b/spec/api/ecommerce_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::EcommerceApi +# Unit tests for Brevo::EcommerceApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'EcommerceApi' do before do # run before each test - @instance = BrevoRuby::EcommerceApi.new + @instance = Brevo::EcommerceApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of EcommerceApi' do it 'should create an instance of EcommerceApi' do - expect(@instance).to be_instance_of(BrevoRuby::EcommerceApi) + expect(@instance).to be_instance_of(Brevo::EcommerceApi) end end diff --git a/spec/api/email_campaigns_api_spec.rb b/spec/api/email_campaigns_api_spec.rb index db40125..e3150fa 100644 --- a/spec/api/email_campaigns_api_spec.rb +++ b/spec/api/email_campaigns_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::EmailCampaignsApi +# Unit tests for Brevo::EmailCampaignsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'EmailCampaignsApi' do before do # run before each test - @instance = BrevoRuby::EmailCampaignsApi.new + @instance = Brevo::EmailCampaignsApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of EmailCampaignsApi' do it 'should create an instance of EmailCampaignsApi' do - expect(@instance).to be_instance_of(BrevoRuby::EmailCampaignsApi) + expect(@instance).to be_instance_of(Brevo::EmailCampaignsApi) end end @@ -83,6 +83,7 @@ # @param campaign_id Id of the campaign # @param [Hash] opts the optional parameters # @option opts [String] :statistics Filter on the type of statistics required. Example **globalStats** value will only fetch globalStats info of the campaign in returned response. + # @option opts [String] :utm_value Get email campaign report on the basis of custom UTM Value.**You can use either campaignId or utmValue to fetch campaign report.To use utmValue filter pass campaignId as empty.** # @return [GetEmailCampaign] describe 'get_email_campaign test' do it 'should work' do diff --git a/spec/api/external_feeds_api_spec.rb b/spec/api/external_feeds_api_spec.rb index 8109e09..976ae9b 100644 --- a/spec/api/external_feeds_api_spec.rb +++ b/spec/api/external_feeds_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::ExternalFeedsApi +# Unit tests for Brevo::ExternalFeedsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ExternalFeedsApi' do before do # run before each test - @instance = BrevoRuby::ExternalFeedsApi.new + @instance = Brevo::ExternalFeedsApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of ExternalFeedsApi' do it 'should create an instance of ExternalFeedsApi' do - expect(@instance).to be_instance_of(BrevoRuby::ExternalFeedsApi) + expect(@instance).to be_instance_of(Brevo::ExternalFeedsApi) end end diff --git a/spec/api/files_api_spec.rb b/spec/api/files_api_spec.rb index f555d82..8e8b786 100644 --- a/spec/api/files_api_spec.rb +++ b/spec/api/files_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::FilesApi +# Unit tests for Brevo::FilesApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'FilesApi' do before do # run before each test - @instance = BrevoRuby::FilesApi.new + @instance = Brevo::FilesApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of FilesApi' do it 'should create an instance of FilesApi' do - expect(@instance).to be_instance_of(BrevoRuby::FilesApi) + expect(@instance).to be_instance_of(Brevo::FilesApi) end end diff --git a/spec/api/inbound_parsing_api_spec.rb b/spec/api/inbound_parsing_api_spec.rb index ac2b5b8..d709c0e 100644 --- a/spec/api/inbound_parsing_api_spec.rb +++ b/spec/api/inbound_parsing_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::InboundParsingApi +# Unit tests for Brevo::InboundParsingApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'InboundParsingApi' do before do # run before each test - @instance = BrevoRuby::InboundParsingApi.new + @instance = Brevo::InboundParsingApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of InboundParsingApi' do it 'should create an instance of InboundParsingApi' do - expect(@instance).to be_instance_of(BrevoRuby::InboundParsingApi) + expect(@instance).to be_instance_of(Brevo::InboundParsingApi) end end diff --git a/spec/api/master_account_api_spec.rb b/spec/api/master_account_api_spec.rb index f482b24..d13a459 100644 --- a/spec/api/master_account_api_spec.rb +++ b/spec/api/master_account_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::MasterAccountApi +# Unit tests for Brevo::MasterAccountApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'MasterAccountApi' do before do # run before each test - @instance = BrevoRuby::MasterAccountApi.new + @instance = Brevo::MasterAccountApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of MasterAccountApi' do it 'should create an instance of MasterAccountApi' do - expect(@instance).to be_instance_of(BrevoRuby::MasterAccountApi) + expect(@instance).to be_instance_of(Brevo::MasterAccountApi) end end @@ -56,6 +56,19 @@ end end + # unit tests for corporate_sub_account_id_applications_toggle_put + # Enable/disable sub-account application(s) + # API endpoint for the Corporate owner to enable/disable applications on the sub-account + # @param id Id of the sub-account organization (mandatory) + # @param toggle_applications List of applications to activate or deactivate on a sub-account + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'corporate_sub_account_id_applications_toggle_put test' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for corporate_sub_account_id_delete # Delete a sub-account # @param id Id of the sub-account organization to be deleted diff --git a/spec/api/notes_api_spec.rb b/spec/api/notes_api_spec.rb index 1047d1d..41ca44b 100644 --- a/spec/api/notes_api_spec.rb +++ b/spec/api/notes_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::NotesApi +# Unit tests for Brevo::NotesApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'NotesApi' do before do # run before each test - @instance = BrevoRuby::NotesApi.new + @instance = Brevo::NotesApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of NotesApi' do it 'should create an instance of NotesApi' do - expect(@instance).to be_instance_of(BrevoRuby::NotesApi) + expect(@instance).to be_instance_of(Brevo::NotesApi) end end diff --git a/spec/api/process_api_spec.rb b/spec/api/process_api_spec.rb index bce89ac..f0621f4 100644 --- a/spec/api/process_api_spec.rb +++ b/spec/api/process_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::ProcessApi +# Unit tests for Brevo::ProcessApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ProcessApi' do before do # run before each test - @instance = BrevoRuby::ProcessApi.new + @instance = Brevo::ProcessApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of ProcessApi' do it 'should create an instance of ProcessApi' do - expect(@instance).to be_instance_of(BrevoRuby::ProcessApi) + expect(@instance).to be_instance_of(Brevo::ProcessApi) end end diff --git a/spec/api/reseller_api_spec.rb b/spec/api/reseller_api_spec.rb index b4d79e5..c5a0336 100644 --- a/spec/api/reseller_api_spec.rb +++ b/spec/api/reseller_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::ResellerApi +# Unit tests for Brevo::ResellerApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ResellerApi' do before do # run before each test - @instance = BrevoRuby::ResellerApi.new + @instance = Brevo::ResellerApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of ResellerApi' do it 'should create an instance of ResellerApi' do - expect(@instance).to be_instance_of(BrevoRuby::ResellerApi) + expect(@instance).to be_instance_of(Brevo::ResellerApi) end end diff --git a/spec/api/senders_api_spec.rb b/spec/api/senders_api_spec.rb index 2e1b5d1..8296d51 100644 --- a/spec/api/senders_api_spec.rb +++ b/spec/api/senders_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::SendersApi +# Unit tests for Brevo::SendersApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendersApi' do before do # run before each test - @instance = BrevoRuby::SendersApi.new + @instance = Brevo::SendersApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of SendersApi' do it 'should create an instance of SendersApi' do - expect(@instance).to be_instance_of(BrevoRuby::SendersApi) + expect(@instance).to be_instance_of(Brevo::SendersApi) end end diff --git a/spec/api/sms_campaigns_api_spec.rb b/spec/api/sms_campaigns_api_spec.rb index ef9b6c3..2112123 100644 --- a/spec/api/sms_campaigns_api_spec.rb +++ b/spec/api/sms_campaigns_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::SMSCampaignsApi +# Unit tests for Brevo::SMSCampaignsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SMSCampaignsApi' do before do # run before each test - @instance = BrevoRuby::SMSCampaignsApi.new + @instance = Brevo::SMSCampaignsApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of SMSCampaignsApi' do it 'should create an instance of SMSCampaignsApi' do - expect(@instance).to be_instance_of(BrevoRuby::SMSCampaignsApi) + expect(@instance).to be_instance_of(Brevo::SMSCampaignsApi) end end diff --git a/spec/api/tasks_api_spec.rb b/spec/api/tasks_api_spec.rb index 7e68d47..9a9a351 100644 --- a/spec/api/tasks_api_spec.rb +++ b/spec/api/tasks_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::TasksApi +# Unit tests for Brevo::TasksApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'TasksApi' do before do # run before each test - @instance = BrevoRuby::TasksApi.new + @instance = Brevo::TasksApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of TasksApi' do it 'should create an instance of TasksApi' do - expect(@instance).to be_instance_of(BrevoRuby::TasksApi) + expect(@instance).to be_instance_of(Brevo::TasksApi) end end diff --git a/spec/api/transactional_emails_api_spec.rb b/spec/api/transactional_emails_api_spec.rb index 6b997f2..68a4029 100644 --- a/spec/api/transactional_emails_api_spec.rb +++ b/spec/api/transactional_emails_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::TransactionalEmailsApi +# Unit tests for Brevo::TransactionalEmailsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'TransactionalEmailsApi' do before do # run before each test - @instance = BrevoRuby::TransactionalEmailsApi.new + @instance = Brevo::TransactionalEmailsApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of TransactionalEmailsApi' do it 'should create an instance of TransactionalEmailsApi' do - expect(@instance).to be_instance_of(BrevoRuby::TransactionalEmailsApi) + expect(@instance).to be_instance_of(Brevo::TransactionalEmailsApi) end end diff --git a/spec/api/transactional_sms_api_spec.rb b/spec/api/transactional_sms_api_spec.rb index 1188428..b5b9e12 100644 --- a/spec/api/transactional_sms_api_spec.rb +++ b/spec/api/transactional_sms_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::TransactionalSMSApi +# Unit tests for Brevo::TransactionalSMSApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'TransactionalSMSApi' do before do # run before each test - @instance = BrevoRuby::TransactionalSMSApi.new + @instance = Brevo::TransactionalSMSApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of TransactionalSMSApi' do it 'should create an instance of TransactionalSMSApi' do - expect(@instance).to be_instance_of(BrevoRuby::TransactionalSMSApi) + expect(@instance).to be_instance_of(Brevo::TransactionalSMSApi) end end diff --git a/spec/api/transactional_whats_app_api_spec.rb b/spec/api/transactional_whats_app_api_spec.rb index 1f15679..aaa4826 100644 --- a/spec/api/transactional_whats_app_api_spec.rb +++ b/spec/api/transactional_whats_app_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::TransactionalWhatsAppApi +# Unit tests for Brevo::TransactionalWhatsAppApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'TransactionalWhatsAppApi' do before do # run before each test - @instance = BrevoRuby::TransactionalWhatsAppApi.new + @instance = Brevo::TransactionalWhatsAppApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of TransactionalWhatsAppApi' do it 'should create an instance of TransactionalWhatsAppApi' do - expect(@instance).to be_instance_of(BrevoRuby::TransactionalWhatsAppApi) + expect(@instance).to be_instance_of(Brevo::TransactionalWhatsAppApi) end end diff --git a/spec/api/user_api_spec.rb b/spec/api/user_api_spec.rb index 3722cd5..b1e23ff 100644 --- a/spec/api/user_api_spec.rb +++ b/spec/api/user_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::UserApi +# Unit tests for Brevo::UserApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UserApi' do before do # run before each test - @instance = BrevoRuby::UserApi.new + @instance = Brevo::UserApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of UserApi' do it 'should create an instance of UserApi' do - expect(@instance).to be_instance_of(BrevoRuby::UserApi) + expect(@instance).to be_instance_of(Brevo::UserApi) end end diff --git a/spec/api/webhooks_api_spec.rb b/spec/api/webhooks_api_spec.rb index 4e1e868..2ce2690 100644 --- a/spec/api/webhooks_api_spec.rb +++ b/spec/api/webhooks_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::WebhooksApi +# Unit tests for Brevo::WebhooksApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'WebhooksApi' do before do # run before each test - @instance = BrevoRuby::WebhooksApi.new + @instance = Brevo::WebhooksApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of WebhooksApi' do it 'should create an instance of WebhooksApi' do - expect(@instance).to be_instance_of(BrevoRuby::WebhooksApi) + expect(@instance).to be_instance_of(Brevo::WebhooksApi) end end diff --git a/spec/api/whats_app_campaigns_api_spec.rb b/spec/api/whats_app_campaigns_api_spec.rb index f2fef96..ea4d5b0 100644 --- a/spec/api/whats_app_campaigns_api_spec.rb +++ b/spec/api/whats_app_campaigns_api_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -13,13 +13,13 @@ require 'spec_helper' require 'json' -# Unit tests for BrevoRuby::WhatsAppCampaignsApi +# Unit tests for Brevo::WhatsAppCampaignsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'WhatsAppCampaignsApi' do before do # run before each test - @instance = BrevoRuby::WhatsAppCampaignsApi.new + @instance = Brevo::WhatsAppCampaignsApi.new end after do @@ -28,7 +28,7 @@ describe 'test an instance of WhatsAppCampaignsApi' do it 'should create an instance of WhatsAppCampaignsApi' do - expect(@instance).to be_instance_of(BrevoRuby::WhatsAppCampaignsApi) + expect(@instance).to be_instance_of(Brevo::WhatsAppCampaignsApi) end end diff --git a/spec/api_client_spec.rb b/spec/api_client_spec.rb index db9306a..f011c86 100644 --- a/spec/api_client_spec.rb +++ b/spec/api_client_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,51 +12,51 @@ require 'spec_helper' -describe BrevoRuby::ApiClient do +describe Brevo::ApiClient do context 'initialization' do context 'URL stuff' do context 'host' do it 'removes http from host' do - BrevoRuby.configure { |c| c.host = 'http://example.com' } - expect(BrevoRuby::Configuration.default.host).to eq('example.com') + Brevo.configure { |c| c.host = 'http://example.com' } + expect(Brevo::Configuration.default.host).to eq('example.com') end it 'removes https from host' do - BrevoRuby.configure { |c| c.host = 'https://wookiee.com' } - expect(BrevoRuby::ApiClient.default.config.host).to eq('wookiee.com') + Brevo.configure { |c| c.host = 'https://wookiee.com' } + expect(Brevo::ApiClient.default.config.host).to eq('wookiee.com') end it 'removes trailing path from host' do - BrevoRuby.configure { |c| c.host = 'hobo.com/v4' } - expect(BrevoRuby::Configuration.default.host).to eq('hobo.com') + Brevo.configure { |c| c.host = 'hobo.com/v4' } + expect(Brevo::Configuration.default.host).to eq('hobo.com') end end context 'base_path' do it "prepends a slash to base_path" do - BrevoRuby.configure { |c| c.base_path = 'v4/dog' } - expect(BrevoRuby::Configuration.default.base_path).to eq('/v4/dog') + Brevo.configure { |c| c.base_path = 'v4/dog' } + expect(Brevo::Configuration.default.base_path).to eq('/v4/dog') end it "doesn't prepend a slash if one is already there" do - BrevoRuby.configure { |c| c.base_path = '/v4/dog' } - expect(BrevoRuby::Configuration.default.base_path).to eq('/v4/dog') + Brevo.configure { |c| c.base_path = '/v4/dog' } + expect(Brevo::Configuration.default.base_path).to eq('/v4/dog') end it "ends up as a blank string if nil" do - BrevoRuby.configure { |c| c.base_path = nil } - expect(BrevoRuby::Configuration.default.base_path).to eq('') + Brevo.configure { |c| c.base_path = nil } + expect(Brevo::Configuration.default.base_path).to eq('') end end end end describe 'params_encoding in #build_request' do - let(:config) { BrevoRuby::Configuration.new } - let(:api_client) { BrevoRuby::ApiClient.new(config) } + let(:config) { Brevo::Configuration.new } + let(:api_client) { Brevo::ApiClient.new(config) } it 'defaults to nil' do - expect(BrevoRuby::Configuration.default.params_encoding).to eq(nil) + expect(Brevo::Configuration.default.params_encoding).to eq(nil) expect(config.params_encoding).to eq(nil) request = api_client.build_request(:get, '/test') @@ -71,11 +71,11 @@ end describe 'timeout in #build_request' do - let(:config) { BrevoRuby::Configuration.new } - let(:api_client) { BrevoRuby::ApiClient.new(config) } + let(:config) { Brevo::Configuration.new } + let(:api_client) { Brevo::ApiClient.new(config) } it 'defaults to 0' do - expect(BrevoRuby::Configuration.default.timeout).to eq(0) + expect(Brevo::Configuration.default.timeout).to eq(0) expect(config.timeout).to eq(0) request = api_client.build_request(:get, '/test') @@ -90,8 +90,8 @@ end describe '#build_request' do - let(:config) { BrevoRuby::Configuration.new } - let(:api_client) { BrevoRuby::ApiClient.new(config) } + let(:config) { Brevo::Configuration.new } + let(:api_client) { Brevo::ApiClient.new(config) } it 'does not send multipart to request' do expect(Typhoeus::Request).to receive(:new).with(anything, hash_not_including(:multipart)) @@ -108,7 +108,7 @@ describe '#deserialize' do it "handles Array" do - api_client = BrevoRuby::ApiClient.new + api_client = Brevo::ApiClient.new headers = { 'Content-Type' => 'application/json' } response = double('response', headers: headers, body: '[12, 34]') data = api_client.deserialize(response, 'Array') @@ -117,7 +117,7 @@ end it 'handles Array>' do - api_client = BrevoRuby::ApiClient.new + api_client = Brevo::ApiClient.new headers = { 'Content-Type' => 'application/json' } response = double('response', headers: headers, body: '[[12, 34], [56]]') data = api_client.deserialize(response, 'Array>') @@ -126,7 +126,7 @@ end it 'handles Hash' do - api_client = BrevoRuby::ApiClient.new + api_client = Brevo::ApiClient.new headers = { 'Content-Type' => 'application/json' } response = double('response', headers: headers, body: '{"message": "Hello"}') data = api_client.deserialize(response, 'Hash') @@ -138,8 +138,8 @@ describe "#object_to_hash" do it 'ignores nils and includes empty arrays' do # uncomment below to test object_to_hash for model - # api_client = BrevoRuby::ApiClient.new - # _model = BrevoRuby::ModelName.new + # api_client = Brevo::ApiClient.new + # _model = Brevo::ModelName.new # update the model attribute below # _model.id = 1 # update the expected value (hash) below @@ -150,7 +150,7 @@ describe '#build_collection_param' do let(:param) { ['aa', 'bb', 'cc'] } - let(:api_client) { BrevoRuby::ApiClient.new } + let(:api_client) { Brevo::ApiClient.new } it 'works for csv' do expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc') @@ -178,7 +178,7 @@ end describe '#json_mime?' do - let(:api_client) { BrevoRuby::ApiClient.new } + let(:api_client) { Brevo::ApiClient.new } it 'works' do expect(api_client.json_mime?(nil)).to eq false @@ -195,7 +195,7 @@ end describe '#select_header_accept' do - let(:api_client) { BrevoRuby::ApiClient.new } + let(:api_client) { Brevo::ApiClient.new } it 'works' do expect(api_client.select_header_accept(nil)).to be_nil @@ -211,7 +211,7 @@ end describe '#select_header_content_type' do - let(:api_client) { BrevoRuby::ApiClient.new } + let(:api_client) { Brevo::ApiClient.new } it 'works' do expect(api_client.select_header_content_type(nil)).to eq('application/json') @@ -226,7 +226,7 @@ end describe '#sanitize_filename' do - let(:api_client) { BrevoRuby::ApiClient.new } + let(:api_client) { Brevo::ApiClient.new } it 'works' do expect(api_client.sanitize_filename('sun')).to eq('sun') diff --git a/spec/configuration_spec.rb b/spec/configuration_spec.rb index 8e308a0..5383f4e 100644 --- a/spec/configuration_spec.rb +++ b/spec/configuration_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -12,14 +12,14 @@ require 'spec_helper' -describe BrevoRuby::Configuration do - let(:config) { BrevoRuby::Configuration.default } +describe Brevo::Configuration do + let(:config) { Brevo::Configuration.default } before(:each) do # uncomment below to setup host and base_path # require 'URI' # uri = URI.parse("https://api.brevo.com/v3") - # BrevoRuby.configure do |c| + # Brevo.configure do |c| # c.host = uri.host # c.base_path = uri.path # end diff --git a/spec/models/ab_test_campaign_result_clicked_links_spec.rb b/spec/models/ab_test_campaign_result_clicked_links_spec.rb index a28282f..de41004 100644 --- a/spec/models/ab_test_campaign_result_clicked_links_spec.rb +++ b/spec/models/ab_test_campaign_result_clicked_links_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::AbTestCampaignResultClickedLinks +# Unit tests for Brevo::AbTestCampaignResultClickedLinks # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'AbTestCampaignResultClickedLinks' do before do # run before each test - @instance = BrevoRuby::AbTestCampaignResultClickedLinks.new + @instance = Brevo::AbTestCampaignResultClickedLinks.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of AbTestCampaignResultClickedLinks' do it 'should create an instance of AbTestCampaignResultClickedLinks' do - expect(@instance).to be_instance_of(BrevoRuby::AbTestCampaignResultClickedLinks) + expect(@instance).to be_instance_of(Brevo::AbTestCampaignResultClickedLinks) end end describe 'test attribute "version_a"' do diff --git a/spec/models/ab_test_campaign_result_spec.rb b/spec/models/ab_test_campaign_result_spec.rb index 94aa5ce..814d48e 100644 --- a/spec/models/ab_test_campaign_result_spec.rb +++ b/spec/models/ab_test_campaign_result_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::AbTestCampaignResult +# Unit tests for Brevo::AbTestCampaignResult # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'AbTestCampaignResult' do before do # run before each test - @instance = BrevoRuby::AbTestCampaignResult.new + @instance = Brevo::AbTestCampaignResult.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of AbTestCampaignResult' do it 'should create an instance of AbTestCampaignResult' do - expect(@instance).to be_instance_of(BrevoRuby::AbTestCampaignResult) + expect(@instance).to be_instance_of(Brevo::AbTestCampaignResult) end end describe 'test attribute "winning_version"' do diff --git a/spec/models/ab_test_campaign_result_statistics_spec.rb b/spec/models/ab_test_campaign_result_statistics_spec.rb index f625e7f..6e42520 100644 --- a/spec/models/ab_test_campaign_result_statistics_spec.rb +++ b/spec/models/ab_test_campaign_result_statistics_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::AbTestCampaignResultStatistics +# Unit tests for Brevo::AbTestCampaignResultStatistics # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'AbTestCampaignResultStatistics' do before do # run before each test - @instance = BrevoRuby::AbTestCampaignResultStatistics.new + @instance = Brevo::AbTestCampaignResultStatistics.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of AbTestCampaignResultStatistics' do it 'should create an instance of AbTestCampaignResultStatistics' do - expect(@instance).to be_instance_of(BrevoRuby::AbTestCampaignResultStatistics) + expect(@instance).to be_instance_of(Brevo::AbTestCampaignResultStatistics) end end describe 'test attribute "openers"' do diff --git a/spec/models/ab_test_version_clicks_inner_spec.rb b/spec/models/ab_test_version_clicks_inner_spec.rb index a0fea81..4076841 100644 --- a/spec/models/ab_test_version_clicks_inner_spec.rb +++ b/spec/models/ab_test_version_clicks_inner_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::AbTestVersionClicksInner +# Unit tests for Brevo::AbTestVersionClicksInner # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'AbTestVersionClicksInner' do before do # run before each test - @instance = BrevoRuby::AbTestVersionClicksInner.new + @instance = Brevo::AbTestVersionClicksInner.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of AbTestVersionClicksInner' do it 'should create an instance of AbTestVersionClicksInner' do - expect(@instance).to be_instance_of(BrevoRuby::AbTestVersionClicksInner) + expect(@instance).to be_instance_of(Brevo::AbTestVersionClicksInner) end end describe 'test attribute "link"' do diff --git a/spec/models/ab_test_version_clicks_spec.rb b/spec/models/ab_test_version_clicks_spec.rb index 0df87af..5a13976 100644 --- a/spec/models/ab_test_version_clicks_spec.rb +++ b/spec/models/ab_test_version_clicks_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::AbTestVersionClicks +# Unit tests for Brevo::AbTestVersionClicks # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'AbTestVersionClicks' do before do # run before each test - @instance = BrevoRuby::AbTestVersionClicks.new + @instance = Brevo::AbTestVersionClicks.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of AbTestVersionClicks' do it 'should create an instance of AbTestVersionClicks' do - expect(@instance).to be_instance_of(BrevoRuby::AbTestVersionClicks) + expect(@instance).to be_instance_of(Brevo::AbTestVersionClicks) end end end diff --git a/spec/models/ab_test_version_stats_spec.rb b/spec/models/ab_test_version_stats_spec.rb index 8d78553..641f575 100644 --- a/spec/models/ab_test_version_stats_spec.rb +++ b/spec/models/ab_test_version_stats_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::AbTestVersionStats +# Unit tests for Brevo::AbTestVersionStats # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'AbTestVersionStats' do before do # run before each test - @instance = BrevoRuby::AbTestVersionStats.new + @instance = Brevo::AbTestVersionStats.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of AbTestVersionStats' do it 'should create an instance of AbTestVersionStats' do - expect(@instance).to be_instance_of(BrevoRuby::AbTestVersionStats) + expect(@instance).to be_instance_of(Brevo::AbTestVersionStats) end end describe 'test attribute "version_a"' do diff --git a/spec/models/add_child_domain_spec.rb b/spec/models/add_child_domain_spec.rb index d33950b..aa9ff96 100644 --- a/spec/models/add_child_domain_spec.rb +++ b/spec/models/add_child_domain_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::AddChildDomain +# Unit tests for Brevo::AddChildDomain # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'AddChildDomain' do before do # run before each test - @instance = BrevoRuby::AddChildDomain.new + @instance = Brevo::AddChildDomain.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of AddChildDomain' do it 'should create an instance of AddChildDomain' do - expect(@instance).to be_instance_of(BrevoRuby::AddChildDomain) + expect(@instance).to be_instance_of(Brevo::AddChildDomain) end end describe 'test attribute "domain"' do diff --git a/spec/models/add_contact_to_list_spec.rb b/spec/models/add_contact_to_list_spec.rb index 5b8f93e..ccd54a2 100644 --- a/spec/models/add_contact_to_list_spec.rb +++ b/spec/models/add_contact_to_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::AddContactToList +# Unit tests for Brevo::AddContactToList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'AddContactToList' do before do # run before each test - @instance = BrevoRuby::AddContactToList.new + @instance = Brevo::AddContactToList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of AddContactToList' do it 'should create an instance of AddContactToList' do - expect(@instance).to be_instance_of(BrevoRuby::AddContactToList) + expect(@instance).to be_instance_of(Brevo::AddContactToList) end end describe 'test attribute "emails"' do diff --git a/spec/models/add_credits_spec.rb b/spec/models/add_credits_spec.rb index 2d73a50..4177ff7 100644 --- a/spec/models/add_credits_spec.rb +++ b/spec/models/add_credits_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::AddCredits +# Unit tests for Brevo::AddCredits # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'AddCredits' do before do # run before each test - @instance = BrevoRuby::AddCredits.new + @instance = Brevo::AddCredits.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of AddCredits' do it 'should create an instance of AddCredits' do - expect(@instance).to be_instance_of(BrevoRuby::AddCredits) + expect(@instance).to be_instance_of(Brevo::AddCredits) end end describe 'test attribute "sms"' do diff --git a/spec/models/authenticate_domain_model_spec.rb b/spec/models/authenticate_domain_model_spec.rb index 7c1a4a3..b16116c 100644 --- a/spec/models/authenticate_domain_model_spec.rb +++ b/spec/models/authenticate_domain_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::AuthenticateDomainModel +# Unit tests for Brevo::AuthenticateDomainModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'AuthenticateDomainModel' do before do # run before each test - @instance = BrevoRuby::AuthenticateDomainModel.new + @instance = Brevo::AuthenticateDomainModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of AuthenticateDomainModel' do it 'should create an instance of AuthenticateDomainModel' do - expect(@instance).to be_instance_of(BrevoRuby::AuthenticateDomainModel) + expect(@instance).to be_instance_of(Brevo::AuthenticateDomainModel) end end describe 'test attribute "domain_name"' do diff --git a/spec/models/block_domain_spec.rb b/spec/models/block_domain_spec.rb index c99992b..c33499a 100644 --- a/spec/models/block_domain_spec.rb +++ b/spec/models/block_domain_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::BlockDomain +# Unit tests for Brevo::BlockDomain # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'BlockDomain' do before do # run before each test - @instance = BrevoRuby::BlockDomain.new + @instance = Brevo::BlockDomain.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of BlockDomain' do it 'should create an instance of BlockDomain' do - expect(@instance).to be_instance_of(BrevoRuby::BlockDomain) + expect(@instance).to be_instance_of(Brevo::BlockDomain) end end describe 'test attribute "domain"' do diff --git a/spec/models/body_10_spec.rb b/spec/models/body_10_spec.rb index a56c318..e529a36 100644 --- a/spec/models/body_10_spec.rb +++ b/spec/models/body_10_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Body10 +# Unit tests for Brevo::Body10 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body10' do before do # run before each test - @instance = BrevoRuby::Body10.new + @instance = Brevo::Body10.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Body10' do it 'should create an instance of Body10' do - expect(@instance).to be_instance_of(BrevoRuby::Body10) + expect(@instance).to be_instance_of(Brevo::Body10) end end describe 'test attribute "visitor_id"' do diff --git a/spec/models/body_11_spec.rb b/spec/models/body_11_spec.rb index 73f1852..f2ba609 100644 --- a/spec/models/body_11_spec.rb +++ b/spec/models/body_11_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Body11 +# Unit tests for Brevo::Body11 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body11' do before do # run before each test - @instance = BrevoRuby::Body11.new + @instance = Brevo::Body11.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Body11' do it 'should create an instance of Body11' do - expect(@instance).to be_instance_of(BrevoRuby::Body11) + expect(@instance).to be_instance_of(Brevo::Body11) end end describe 'test attribute "text"' do diff --git a/spec/models/body_12_spec.rb b/spec/models/body_12_spec.rb index 7c20b4e..aa8b802 100644 --- a/spec/models/body_12_spec.rb +++ b/spec/models/body_12_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Body12 +# Unit tests for Brevo::Body12 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body12' do before do # run before each test - @instance = BrevoRuby::Body12.new + @instance = Brevo::Body12.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Body12' do it 'should create an instance of Body12' do - expect(@instance).to be_instance_of(BrevoRuby::Body12) + expect(@instance).to be_instance_of(Brevo::Body12) end end describe 'test attribute "agent_id"' do diff --git a/spec/models/body_1_spec.rb b/spec/models/body_1_spec.rb index f32a8e8..6c287d9 100644 --- a/spec/models/body_1_spec.rb +++ b/spec/models/body_1_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Body1 +# Unit tests for Brevo::Body1 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body1' do before do # run before each test - @instance = BrevoRuby::Body1.new + @instance = Brevo::Body1.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Body1' do it 'should create an instance of Body1' do - expect(@instance).to be_instance_of(BrevoRuby::Body1) + expect(@instance).to be_instance_of(Brevo::Body1) end end describe 'test attribute "name"' do diff --git a/spec/models/body_2_spec.rb b/spec/models/body_2_spec.rb index 4ac9645..444b6b2 100644 --- a/spec/models/body_2_spec.rb +++ b/spec/models/body_2_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Body2 +# Unit tests for Brevo::Body2 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body2' do before do # run before each test - @instance = BrevoRuby::Body2.new + @instance = Brevo::Body2.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Body2' do it 'should create an instance of Body2' do - expect(@instance).to be_instance_of(BrevoRuby::Body2) + expect(@instance).to be_instance_of(Brevo::Body2) end end describe 'test attribute "link_contact_ids"' do diff --git a/spec/models/body_3_spec.rb b/spec/models/body_3_spec.rb index 9fc2c10..f1b7924 100644 --- a/spec/models/body_3_spec.rb +++ b/spec/models/body_3_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Body3 +# Unit tests for Brevo::Body3 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body3' do before do # run before each test - @instance = BrevoRuby::Body3.new + @instance = Brevo::Body3.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Body3' do it 'should create an instance of Body3' do - expect(@instance).to be_instance_of(BrevoRuby::Body3) + expect(@instance).to be_instance_of(Brevo::Body3) end end describe 'test attribute "name"' do diff --git a/spec/models/body_4_spec.rb b/spec/models/body_4_spec.rb index d44a270..ea58de6 100644 --- a/spec/models/body_4_spec.rb +++ b/spec/models/body_4_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Body4 +# Unit tests for Brevo::Body4 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body4' do before do # run before each test - @instance = BrevoRuby::Body4.new + @instance = Brevo::Body4.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Body4' do it 'should create an instance of Body4' do - expect(@instance).to be_instance_of(BrevoRuby::Body4) + expect(@instance).to be_instance_of(Brevo::Body4) end end describe 'test attribute "name"' do diff --git a/spec/models/body_5_spec.rb b/spec/models/body_5_spec.rb index c241e08..e5c9590 100644 --- a/spec/models/body_5_spec.rb +++ b/spec/models/body_5_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Body5 +# Unit tests for Brevo::Body5 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body5' do before do # run before each test - @instance = BrevoRuby::Body5.new + @instance = Brevo::Body5.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Body5' do it 'should create an instance of Body5' do - expect(@instance).to be_instance_of(BrevoRuby::Body5) + expect(@instance).to be_instance_of(Brevo::Body5) end end describe 'test attribute "link_contact_ids"' do diff --git a/spec/models/body_6_spec.rb b/spec/models/body_6_spec.rb index f9148ee..c5d996d 100644 --- a/spec/models/body_6_spec.rb +++ b/spec/models/body_6_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Body6 +# Unit tests for Brevo::Body6 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body6' do before do # run before each test - @instance = BrevoRuby::Body6.new + @instance = Brevo::Body6.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Body6' do it 'should create an instance of Body6' do - expect(@instance).to be_instance_of(BrevoRuby::Body6) + expect(@instance).to be_instance_of(Brevo::Body6) end end describe 'test attribute "name"' do diff --git a/spec/models/body_7_spec.rb b/spec/models/body_7_spec.rb index b7cbbd6..1b89229 100644 --- a/spec/models/body_7_spec.rb +++ b/spec/models/body_7_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Body7 +# Unit tests for Brevo::Body7 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body7' do before do # run before each test - @instance = BrevoRuby::Body7.new + @instance = Brevo::Body7.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Body7' do it 'should create an instance of Body7' do - expect(@instance).to be_instance_of(BrevoRuby::Body7) + expect(@instance).to be_instance_of(Brevo::Body7) end end describe 'test attribute "name"' do diff --git a/spec/models/body_8_spec.rb b/spec/models/body_8_spec.rb index aaae543..9de10a9 100644 --- a/spec/models/body_8_spec.rb +++ b/spec/models/body_8_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Body8 +# Unit tests for Brevo::Body8 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body8' do before do # run before each test - @instance = BrevoRuby::Body8.new + @instance = Brevo::Body8.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Body8' do it 'should create an instance of Body8' do - expect(@instance).to be_instance_of(BrevoRuby::Body8) + expect(@instance).to be_instance_of(Brevo::Body8) end end describe 'test attribute "visitor_id"' do diff --git a/spec/models/body_9_spec.rb b/spec/models/body_9_spec.rb index 0f3e8dd..488976f 100644 --- a/spec/models/body_9_spec.rb +++ b/spec/models/body_9_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Body9 +# Unit tests for Brevo::Body9 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body9' do before do # run before each test - @instance = BrevoRuby::Body9.new + @instance = Brevo::Body9.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Body9' do it 'should create an instance of Body9' do - expect(@instance).to be_instance_of(BrevoRuby::Body9) + expect(@instance).to be_instance_of(Brevo::Body9) end end describe 'test attribute "text"' do diff --git a/spec/models/body_spec.rb b/spec/models/body_spec.rb index 3843758..cb54b50 100644 --- a/spec/models/body_spec.rb +++ b/spec/models/body_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Body +# Unit tests for Brevo::Body # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body' do before do # run before each test - @instance = BrevoRuby::Body.new + @instance = Brevo::Body.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Body' do it 'should create an instance of Body' do - expect(@instance).to be_instance_of(BrevoRuby::Body) + expect(@instance).to be_instance_of(Brevo::Body) end end describe 'test attribute "name"' do diff --git a/spec/models/body_variables_items_spec.rb b/spec/models/body_variables_items_spec.rb index f743f1b..0f6c552 100644 --- a/spec/models/body_variables_items_spec.rb +++ b/spec/models/body_variables_items_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::BodyVariablesItems +# Unit tests for Brevo::BodyVariablesItems # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'BodyVariablesItems' do before do # run before each test - @instance = BrevoRuby::BodyVariablesItems.new + @instance = Brevo::BodyVariablesItems.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of BodyVariablesItems' do it 'should create an instance of BodyVariablesItems' do - expect(@instance).to be_instance_of(BrevoRuby::BodyVariablesItems) + expect(@instance).to be_instance_of(Brevo::BodyVariablesItems) end end end diff --git a/spec/models/companies_list_spec.rb b/spec/models/companies_list_spec.rb index a8ae0a4..14866f0 100644 --- a/spec/models/companies_list_spec.rb +++ b/spec/models/companies_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CompaniesList +# Unit tests for Brevo::CompaniesList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CompaniesList' do before do # run before each test - @instance = BrevoRuby::CompaniesList.new + @instance = Brevo::CompaniesList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CompaniesList' do it 'should create an instance of CompaniesList' do - expect(@instance).to be_instance_of(BrevoRuby::CompaniesList) + expect(@instance).to be_instance_of(Brevo::CompaniesList) end end describe 'test attribute "items"' do diff --git a/spec/models/company_attributes_inner_spec.rb b/spec/models/company_attributes_inner_spec.rb index af575c9..63cee61 100644 --- a/spec/models/company_attributes_inner_spec.rb +++ b/spec/models/company_attributes_inner_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CompanyAttributesInner +# Unit tests for Brevo::CompanyAttributesInner # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CompanyAttributesInner' do before do # run before each test - @instance = BrevoRuby::CompanyAttributesInner.new + @instance = Brevo::CompanyAttributesInner.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CompanyAttributesInner' do it 'should create an instance of CompanyAttributesInner' do - expect(@instance).to be_instance_of(BrevoRuby::CompanyAttributesInner) + expect(@instance).to be_instance_of(Brevo::CompanyAttributesInner) end end describe 'test attribute "internal_name"' do diff --git a/spec/models/company_attributes_spec.rb b/spec/models/company_attributes_spec.rb index 71e52e1..55153f9 100644 --- a/spec/models/company_attributes_spec.rb +++ b/spec/models/company_attributes_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CompanyAttributes +# Unit tests for Brevo::CompanyAttributes # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CompanyAttributes' do before do # run before each test - @instance = BrevoRuby::CompanyAttributes.new + @instance = Brevo::CompanyAttributes.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CompanyAttributes' do it 'should create an instance of CompanyAttributes' do - expect(@instance).to be_instance_of(BrevoRuby::CompanyAttributes) + expect(@instance).to be_instance_of(Brevo::CompanyAttributes) end end end diff --git a/spec/models/company_spec.rb b/spec/models/company_spec.rb index e113b68..30ac03d 100644 --- a/spec/models/company_spec.rb +++ b/spec/models/company_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Company +# Unit tests for Brevo::Company # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Company' do before do # run before each test - @instance = BrevoRuby::Company.new + @instance = Brevo::Company.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Company' do it 'should create an instance of Company' do - expect(@instance).to be_instance_of(BrevoRuby::Company) + expect(@instance).to be_instance_of(Brevo::Company) end end describe 'test attribute "id"' do diff --git a/spec/models/component_items_spec.rb b/spec/models/component_items_spec.rb index b17591f..608b97f 100644 --- a/spec/models/component_items_spec.rb +++ b/spec/models/component_items_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::ComponentItems +# Unit tests for Brevo::ComponentItems # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ComponentItems' do before do # run before each test - @instance = BrevoRuby::ComponentItems.new + @instance = Brevo::ComponentItems.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of ComponentItems' do it 'should create an instance of ComponentItems' do - expect(@instance).to be_instance_of(BrevoRuby::ComponentItems) + expect(@instance).to be_instance_of(Brevo::ComponentItems) end end describe 'test attribute "type"' do diff --git a/spec/models/conversations_message_file_image_info_spec.rb b/spec/models/conversations_message_file_image_info_spec.rb index 7485cf5..7627474 100644 --- a/spec/models/conversations_message_file_image_info_spec.rb +++ b/spec/models/conversations_message_file_image_info_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::ConversationsMessageFileImageInfo +# Unit tests for Brevo::ConversationsMessageFileImageInfo # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ConversationsMessageFileImageInfo' do before do # run before each test - @instance = BrevoRuby::ConversationsMessageFileImageInfo.new + @instance = Brevo::ConversationsMessageFileImageInfo.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of ConversationsMessageFileImageInfo' do it 'should create an instance of ConversationsMessageFileImageInfo' do - expect(@instance).to be_instance_of(BrevoRuby::ConversationsMessageFileImageInfo) + expect(@instance).to be_instance_of(Brevo::ConversationsMessageFileImageInfo) end end describe 'test attribute "width"' do diff --git a/spec/models/conversations_message_file_spec.rb b/spec/models/conversations_message_file_spec.rb index c7c6bba..a79984b 100644 --- a/spec/models/conversations_message_file_spec.rb +++ b/spec/models/conversations_message_file_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::ConversationsMessageFile +# Unit tests for Brevo::ConversationsMessageFile # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ConversationsMessageFile' do before do # run before each test - @instance = BrevoRuby::ConversationsMessageFile.new + @instance = Brevo::ConversationsMessageFile.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of ConversationsMessageFile' do it 'should create an instance of ConversationsMessageFile' do - expect(@instance).to be_instance_of(BrevoRuby::ConversationsMessageFile) + expect(@instance).to be_instance_of(Brevo::ConversationsMessageFile) end end describe 'test attribute "filename"' do diff --git a/spec/models/conversations_message_spec.rb b/spec/models/conversations_message_spec.rb index a1f0b26..40d7068 100644 --- a/spec/models/conversations_message_spec.rb +++ b/spec/models/conversations_message_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::ConversationsMessage +# Unit tests for Brevo::ConversationsMessage # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ConversationsMessage' do before do # run before each test - @instance = BrevoRuby::ConversationsMessage.new + @instance = Brevo::ConversationsMessage.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of ConversationsMessage' do it 'should create an instance of ConversationsMessage' do - expect(@instance).to be_instance_of(BrevoRuby::ConversationsMessage) + expect(@instance).to be_instance_of(Brevo::ConversationsMessage) end end describe 'test attribute "id"' do diff --git a/spec/models/create_api_key_request_spec.rb b/spec/models/create_api_key_request_spec.rb index a160420..82967e3 100644 --- a/spec/models/create_api_key_request_spec.rb +++ b/spec/models/create_api_key_request_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateApiKeyRequest +# Unit tests for Brevo::CreateApiKeyRequest # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateApiKeyRequest' do before do # run before each test - @instance = BrevoRuby::CreateApiKeyRequest.new + @instance = Brevo::CreateApiKeyRequest.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateApiKeyRequest' do it 'should create an instance of CreateApiKeyRequest' do - expect(@instance).to be_instance_of(BrevoRuby::CreateApiKeyRequest) + expect(@instance).to be_instance_of(Brevo::CreateApiKeyRequest) end end describe 'test attribute "id"' do diff --git a/spec/models/create_api_key_response_spec.rb b/spec/models/create_api_key_response_spec.rb index ced7179..aaa79b0 100644 --- a/spec/models/create_api_key_response_spec.rb +++ b/spec/models/create_api_key_response_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateApiKeyResponse +# Unit tests for Brevo::CreateApiKeyResponse # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateApiKeyResponse' do before do # run before each test - @instance = BrevoRuby::CreateApiKeyResponse.new + @instance = Brevo::CreateApiKeyResponse.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateApiKeyResponse' do it 'should create an instance of CreateApiKeyResponse' do - expect(@instance).to be_instance_of(BrevoRuby::CreateApiKeyResponse) + expect(@instance).to be_instance_of(Brevo::CreateApiKeyResponse) end end describe 'test attribute "status"' do diff --git a/spec/models/create_attribute_enumeration_spec.rb b/spec/models/create_attribute_enumeration_spec.rb index 936d661..f8b2188 100644 --- a/spec/models/create_attribute_enumeration_spec.rb +++ b/spec/models/create_attribute_enumeration_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateAttributeEnumeration +# Unit tests for Brevo::CreateAttributeEnumeration # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateAttributeEnumeration' do before do # run before each test - @instance = BrevoRuby::CreateAttributeEnumeration.new + @instance = Brevo::CreateAttributeEnumeration.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateAttributeEnumeration' do it 'should create an instance of CreateAttributeEnumeration' do - expect(@instance).to be_instance_of(BrevoRuby::CreateAttributeEnumeration) + expect(@instance).to be_instance_of(Brevo::CreateAttributeEnumeration) end end describe 'test attribute "value"' do diff --git a/spec/models/create_attribute_spec.rb b/spec/models/create_attribute_spec.rb index 9f4a917..b44e7e2 100644 --- a/spec/models/create_attribute_spec.rb +++ b/spec/models/create_attribute_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateAttribute +# Unit tests for Brevo::CreateAttribute # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateAttribute' do before do # run before each test - @instance = BrevoRuby::CreateAttribute.new + @instance = Brevo::CreateAttribute.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateAttribute' do it 'should create an instance of CreateAttribute' do - expect(@instance).to be_instance_of(BrevoRuby::CreateAttribute) + expect(@instance).to be_instance_of(Brevo::CreateAttribute) end end describe 'test attribute "value"' do diff --git a/spec/models/create_category_model_spec.rb b/spec/models/create_category_model_spec.rb index 0eebdea..df70b25 100644 --- a/spec/models/create_category_model_spec.rb +++ b/spec/models/create_category_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateCategoryModel +# Unit tests for Brevo::CreateCategoryModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateCategoryModel' do before do # run before each test - @instance = BrevoRuby::CreateCategoryModel.new + @instance = Brevo::CreateCategoryModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateCategoryModel' do it 'should create an instance of CreateCategoryModel' do - expect(@instance).to be_instance_of(BrevoRuby::CreateCategoryModel) + expect(@instance).to be_instance_of(Brevo::CreateCategoryModel) end end describe 'test attribute "id"' do diff --git a/spec/models/create_child_spec.rb b/spec/models/create_child_spec.rb index a6f5504..4684bbd 100644 --- a/spec/models/create_child_spec.rb +++ b/spec/models/create_child_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateChild +# Unit tests for Brevo::CreateChild # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateChild' do before do # run before each test - @instance = BrevoRuby::CreateChild.new + @instance = Brevo::CreateChild.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateChild' do it 'should create an instance of CreateChild' do - expect(@instance).to be_instance_of(BrevoRuby::CreateChild) + expect(@instance).to be_instance_of(Brevo::CreateChild) end end describe 'test attribute "email"' do diff --git a/spec/models/create_contact_spec.rb b/spec/models/create_contact_spec.rb index 23379df..dcaf5a4 100644 --- a/spec/models/create_contact_spec.rb +++ b/spec/models/create_contact_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateContact +# Unit tests for Brevo::CreateContact # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateContact' do before do # run before each test - @instance = BrevoRuby::CreateContact.new + @instance = Brevo::CreateContact.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateContact' do it 'should create an instance of CreateContact' do - expect(@instance).to be_instance_of(BrevoRuby::CreateContact) + expect(@instance).to be_instance_of(Brevo::CreateContact) end end describe 'test attribute "email"' do diff --git a/spec/models/create_coupon_collection_spec.rb b/spec/models/create_coupon_collection_spec.rb index 5adbb80..e5fbb69 100644 --- a/spec/models/create_coupon_collection_spec.rb +++ b/spec/models/create_coupon_collection_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateCouponCollection +# Unit tests for Brevo::CreateCouponCollection # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateCouponCollection' do before do # run before each test - @instance = BrevoRuby::CreateCouponCollection.new + @instance = Brevo::CreateCouponCollection.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateCouponCollection' do it 'should create an instance of CreateCouponCollection' do - expect(@instance).to be_instance_of(BrevoRuby::CreateCouponCollection) + expect(@instance).to be_instance_of(Brevo::CreateCouponCollection) end end describe 'test attribute "name"' do diff --git a/spec/models/create_coupons_spec.rb b/spec/models/create_coupons_spec.rb index f36ad69..e4c6898 100644 --- a/spec/models/create_coupons_spec.rb +++ b/spec/models/create_coupons_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateCoupons +# Unit tests for Brevo::CreateCoupons # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateCoupons' do before do # run before each test - @instance = BrevoRuby::CreateCoupons.new + @instance = Brevo::CreateCoupons.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateCoupons' do it 'should create an instance of CreateCoupons' do - expect(@instance).to be_instance_of(BrevoRuby::CreateCoupons) + expect(@instance).to be_instance_of(Brevo::CreateCoupons) end end describe 'test attribute "collection_id"' do diff --git a/spec/models/create_doi_contact_spec.rb b/spec/models/create_doi_contact_spec.rb index d725875..ac589a8 100644 --- a/spec/models/create_doi_contact_spec.rb +++ b/spec/models/create_doi_contact_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateDoiContact +# Unit tests for Brevo::CreateDoiContact # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateDoiContact' do before do # run before each test - @instance = BrevoRuby::CreateDoiContact.new + @instance = Brevo::CreateDoiContact.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateDoiContact' do it 'should create an instance of CreateDoiContact' do - expect(@instance).to be_instance_of(BrevoRuby::CreateDoiContact) + expect(@instance).to be_instance_of(Brevo::CreateDoiContact) end end describe 'test attribute "email"' do diff --git a/spec/models/create_domain_model_dns_records_dkim_record_spec.rb b/spec/models/create_domain_model_dns_records_dkim_record_spec.rb index af3c956..4e94cce 100644 --- a/spec/models/create_domain_model_dns_records_dkim_record_spec.rb +++ b/spec/models/create_domain_model_dns_records_dkim_record_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateDomainModelDnsRecordsDkimRecord +# Unit tests for Brevo::CreateDomainModelDnsRecordsDkimRecord # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateDomainModelDnsRecordsDkimRecord' do before do # run before each test - @instance = BrevoRuby::CreateDomainModelDnsRecordsDkimRecord.new + @instance = Brevo::CreateDomainModelDnsRecordsDkimRecord.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateDomainModelDnsRecordsDkimRecord' do it 'should create an instance of CreateDomainModelDnsRecordsDkimRecord' do - expect(@instance).to be_instance_of(BrevoRuby::CreateDomainModelDnsRecordsDkimRecord) + expect(@instance).to be_instance_of(Brevo::CreateDomainModelDnsRecordsDkimRecord) end end describe 'test attribute "type"' do diff --git a/spec/models/create_domain_model_dns_records_spec.rb b/spec/models/create_domain_model_dns_records_spec.rb index 61476da..25259d7 100644 --- a/spec/models/create_domain_model_dns_records_spec.rb +++ b/spec/models/create_domain_model_dns_records_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateDomainModelDnsRecords +# Unit tests for Brevo::CreateDomainModelDnsRecords # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateDomainModelDnsRecords' do before do # run before each test - @instance = BrevoRuby::CreateDomainModelDnsRecords.new + @instance = Brevo::CreateDomainModelDnsRecords.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateDomainModelDnsRecords' do it 'should create an instance of CreateDomainModelDnsRecords' do - expect(@instance).to be_instance_of(BrevoRuby::CreateDomainModelDnsRecords) + expect(@instance).to be_instance_of(Brevo::CreateDomainModelDnsRecords) end end describe 'test attribute "dkim_record"' do diff --git a/spec/models/create_domain_model_spec.rb b/spec/models/create_domain_model_spec.rb index 0fae0f3..d2bb97d 100644 --- a/spec/models/create_domain_model_spec.rb +++ b/spec/models/create_domain_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateDomainModel +# Unit tests for Brevo::CreateDomainModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateDomainModel' do before do # run before each test - @instance = BrevoRuby::CreateDomainModel.new + @instance = Brevo::CreateDomainModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateDomainModel' do it 'should create an instance of CreateDomainModel' do - expect(@instance).to be_instance_of(BrevoRuby::CreateDomainModel) + expect(@instance).to be_instance_of(Brevo::CreateDomainModel) end end describe 'test attribute "id"' do diff --git a/spec/models/create_domain_spec.rb b/spec/models/create_domain_spec.rb index df01d66..a35a75d 100644 --- a/spec/models/create_domain_spec.rb +++ b/spec/models/create_domain_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateDomain +# Unit tests for Brevo::CreateDomain # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateDomain' do before do # run before each test - @instance = BrevoRuby::CreateDomain.new + @instance = Brevo::CreateDomain.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateDomain' do it 'should create an instance of CreateDomain' do - expect(@instance).to be_instance_of(BrevoRuby::CreateDomain) + expect(@instance).to be_instance_of(Brevo::CreateDomain) end end describe 'test attribute "name"' do diff --git a/spec/models/create_email_campaign_recipients_spec.rb b/spec/models/create_email_campaign_recipients_spec.rb index 7e121d7..5f09892 100644 --- a/spec/models/create_email_campaign_recipients_spec.rb +++ b/spec/models/create_email_campaign_recipients_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateEmailCampaignRecipients +# Unit tests for Brevo::CreateEmailCampaignRecipients # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateEmailCampaignRecipients' do before do # run before each test - @instance = BrevoRuby::CreateEmailCampaignRecipients.new + @instance = Brevo::CreateEmailCampaignRecipients.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateEmailCampaignRecipients' do it 'should create an instance of CreateEmailCampaignRecipients' do - expect(@instance).to be_instance_of(BrevoRuby::CreateEmailCampaignRecipients) + expect(@instance).to be_instance_of(Brevo::CreateEmailCampaignRecipients) end end describe 'test attribute "exclusion_list_ids"' do diff --git a/spec/models/create_email_campaign_sender_spec.rb b/spec/models/create_email_campaign_sender_spec.rb index 9f4c33d..b2562bf 100644 --- a/spec/models/create_email_campaign_sender_spec.rb +++ b/spec/models/create_email_campaign_sender_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateEmailCampaignSender +# Unit tests for Brevo::CreateEmailCampaignSender # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateEmailCampaignSender' do before do # run before each test - @instance = BrevoRuby::CreateEmailCampaignSender.new + @instance = Brevo::CreateEmailCampaignSender.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateEmailCampaignSender' do it 'should create an instance of CreateEmailCampaignSender' do - expect(@instance).to be_instance_of(BrevoRuby::CreateEmailCampaignSender) + expect(@instance).to be_instance_of(Brevo::CreateEmailCampaignSender) end end describe 'test attribute "name"' do diff --git a/spec/models/create_email_campaign_spec.rb b/spec/models/create_email_campaign_spec.rb index 05a132f..d79e4f5 100644 --- a/spec/models/create_email_campaign_spec.rb +++ b/spec/models/create_email_campaign_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateEmailCampaign +# Unit tests for Brevo::CreateEmailCampaign # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateEmailCampaign' do before do # run before each test - @instance = BrevoRuby::CreateEmailCampaign.new + @instance = Brevo::CreateEmailCampaign.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateEmailCampaign' do it 'should create an instance of CreateEmailCampaign' do - expect(@instance).to be_instance_of(BrevoRuby::CreateEmailCampaign) + expect(@instance).to be_instance_of(Brevo::CreateEmailCampaign) end end describe 'test attribute "tag"' do @@ -80,6 +80,12 @@ end end + describe 'test attribute "preview_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "reply_to"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/spec/models/create_external_feed_spec.rb b/spec/models/create_external_feed_spec.rb index 545dc97..6f337c4 100644 --- a/spec/models/create_external_feed_spec.rb +++ b/spec/models/create_external_feed_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateExternalFeed +# Unit tests for Brevo::CreateExternalFeed # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateExternalFeed' do before do # run before each test - @instance = BrevoRuby::CreateExternalFeed.new + @instance = Brevo::CreateExternalFeed.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateExternalFeed' do it 'should create an instance of CreateExternalFeed' do - expect(@instance).to be_instance_of(BrevoRuby::CreateExternalFeed) + expect(@instance).to be_instance_of(Brevo::CreateExternalFeed) end end describe 'test attribute "name"' do diff --git a/spec/models/create_list_spec.rb b/spec/models/create_list_spec.rb index 2780b61..27bbadc 100644 --- a/spec/models/create_list_spec.rb +++ b/spec/models/create_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateList +# Unit tests for Brevo::CreateList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateList' do before do # run before each test - @instance = BrevoRuby::CreateList.new + @instance = Brevo::CreateList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateList' do it 'should create an instance of CreateList' do - expect(@instance).to be_instance_of(BrevoRuby::CreateList) + expect(@instance).to be_instance_of(Brevo::CreateList) end end describe 'test attribute "name"' do diff --git a/spec/models/create_model_spec.rb b/spec/models/create_model_spec.rb index 95f3990..cb29627 100644 --- a/spec/models/create_model_spec.rb +++ b/spec/models/create_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateModel +# Unit tests for Brevo::CreateModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateModel' do before do # run before each test - @instance = BrevoRuby::CreateModel.new + @instance = Brevo::CreateModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateModel' do it 'should create an instance of CreateModel' do - expect(@instance).to be_instance_of(BrevoRuby::CreateModel) + expect(@instance).to be_instance_of(Brevo::CreateModel) end end describe 'test attribute "id"' do diff --git a/spec/models/create_product_model_spec.rb b/spec/models/create_product_model_spec.rb index 111568c..64ebba5 100644 --- a/spec/models/create_product_model_spec.rb +++ b/spec/models/create_product_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateProductModel +# Unit tests for Brevo::CreateProductModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateProductModel' do before do # run before each test - @instance = BrevoRuby::CreateProductModel.new + @instance = Brevo::CreateProductModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateProductModel' do it 'should create an instance of CreateProductModel' do - expect(@instance).to be_instance_of(BrevoRuby::CreateProductModel) + expect(@instance).to be_instance_of(Brevo::CreateProductModel) end end describe 'test attribute "id"' do diff --git a/spec/models/create_reseller_spec.rb b/spec/models/create_reseller_spec.rb index 31d9f17..f0cbda9 100644 --- a/spec/models/create_reseller_spec.rb +++ b/spec/models/create_reseller_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateReseller +# Unit tests for Brevo::CreateReseller # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateReseller' do before do # run before each test - @instance = BrevoRuby::CreateReseller.new + @instance = Brevo::CreateReseller.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateReseller' do it 'should create an instance of CreateReseller' do - expect(@instance).to be_instance_of(BrevoRuby::CreateReseller) + expect(@instance).to be_instance_of(Brevo::CreateReseller) end end describe 'test attribute "auth_key"' do diff --git a/spec/models/create_sender_ips_spec.rb b/spec/models/create_sender_ips_spec.rb index 291a419..e733cf1 100644 --- a/spec/models/create_sender_ips_spec.rb +++ b/spec/models/create_sender_ips_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateSenderIps +# Unit tests for Brevo::CreateSenderIps # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateSenderIps' do before do # run before each test - @instance = BrevoRuby::CreateSenderIps.new + @instance = Brevo::CreateSenderIps.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateSenderIps' do it 'should create an instance of CreateSenderIps' do - expect(@instance).to be_instance_of(BrevoRuby::CreateSenderIps) + expect(@instance).to be_instance_of(Brevo::CreateSenderIps) end end describe 'test attribute "ip"' do diff --git a/spec/models/create_sender_model_spec.rb b/spec/models/create_sender_model_spec.rb index f40910b..5b9c171 100644 --- a/spec/models/create_sender_model_spec.rb +++ b/spec/models/create_sender_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateSenderModel +# Unit tests for Brevo::CreateSenderModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateSenderModel' do before do # run before each test - @instance = BrevoRuby::CreateSenderModel.new + @instance = Brevo::CreateSenderModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateSenderModel' do it 'should create an instance of CreateSenderModel' do - expect(@instance).to be_instance_of(BrevoRuby::CreateSenderModel) + expect(@instance).to be_instance_of(Brevo::CreateSenderModel) end end describe 'test attribute "id"' do diff --git a/spec/models/create_sender_spec.rb b/spec/models/create_sender_spec.rb index 03171ea..b033722 100644 --- a/spec/models/create_sender_spec.rb +++ b/spec/models/create_sender_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateSender +# Unit tests for Brevo::CreateSender # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateSender' do before do # run before each test - @instance = BrevoRuby::CreateSender.new + @instance = Brevo::CreateSender.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateSender' do it 'should create an instance of CreateSender' do - expect(@instance).to be_instance_of(BrevoRuby::CreateSender) + expect(@instance).to be_instance_of(Brevo::CreateSender) end end describe 'test attribute "name"' do diff --git a/spec/models/create_sms_campaign_recipients_spec.rb b/spec/models/create_sms_campaign_recipients_spec.rb index 7d1d7ab..a1e8293 100644 --- a/spec/models/create_sms_campaign_recipients_spec.rb +++ b/spec/models/create_sms_campaign_recipients_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateSmsCampaignRecipients +# Unit tests for Brevo::CreateSmsCampaignRecipients # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateSmsCampaignRecipients' do before do # run before each test - @instance = BrevoRuby::CreateSmsCampaignRecipients.new + @instance = Brevo::CreateSmsCampaignRecipients.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateSmsCampaignRecipients' do it 'should create an instance of CreateSmsCampaignRecipients' do - expect(@instance).to be_instance_of(BrevoRuby::CreateSmsCampaignRecipients) + expect(@instance).to be_instance_of(Brevo::CreateSmsCampaignRecipients) end end describe 'test attribute "list_ids"' do diff --git a/spec/models/create_sms_campaign_spec.rb b/spec/models/create_sms_campaign_spec.rb index 3f3638b..aafb6e2 100644 --- a/spec/models/create_sms_campaign_spec.rb +++ b/spec/models/create_sms_campaign_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateSmsCampaign +# Unit tests for Brevo::CreateSmsCampaign # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateSmsCampaign' do before do # run before each test - @instance = BrevoRuby::CreateSmsCampaign.new + @instance = Brevo::CreateSmsCampaign.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateSmsCampaign' do it 'should create an instance of CreateSmsCampaign' do - expect(@instance).to be_instance_of(BrevoRuby::CreateSmsCampaign) + expect(@instance).to be_instance_of(Brevo::CreateSmsCampaign) end end describe 'test attribute "name"' do diff --git a/spec/models/create_smtp_email_spec.rb b/spec/models/create_smtp_email_spec.rb index 23cdd19..596c7a6 100644 --- a/spec/models/create_smtp_email_spec.rb +++ b/spec/models/create_smtp_email_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateSmtpEmail +# Unit tests for Brevo::CreateSmtpEmail # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateSmtpEmail' do before do # run before each test - @instance = BrevoRuby::CreateSmtpEmail.new + @instance = Brevo::CreateSmtpEmail.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateSmtpEmail' do it 'should create an instance of CreateSmtpEmail' do - expect(@instance).to be_instance_of(BrevoRuby::CreateSmtpEmail) + expect(@instance).to be_instance_of(Brevo::CreateSmtpEmail) end end describe 'test attribute "message_id"' do diff --git a/spec/models/create_smtp_template_sender_spec.rb b/spec/models/create_smtp_template_sender_spec.rb index aeac9d0..0e323d1 100644 --- a/spec/models/create_smtp_template_sender_spec.rb +++ b/spec/models/create_smtp_template_sender_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateSmtpTemplateSender +# Unit tests for Brevo::CreateSmtpTemplateSender # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateSmtpTemplateSender' do before do # run before each test - @instance = BrevoRuby::CreateSmtpTemplateSender.new + @instance = Brevo::CreateSmtpTemplateSender.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateSmtpTemplateSender' do it 'should create an instance of CreateSmtpTemplateSender' do - expect(@instance).to be_instance_of(BrevoRuby::CreateSmtpTemplateSender) + expect(@instance).to be_instance_of(Brevo::CreateSmtpTemplateSender) end end describe 'test attribute "name"' do diff --git a/spec/models/create_smtp_template_spec.rb b/spec/models/create_smtp_template_spec.rb index 7f3a026..67c5cdc 100644 --- a/spec/models/create_smtp_template_spec.rb +++ b/spec/models/create_smtp_template_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateSmtpTemplate +# Unit tests for Brevo::CreateSmtpTemplate # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateSmtpTemplate' do before do # run before each test - @instance = BrevoRuby::CreateSmtpTemplate.new + @instance = Brevo::CreateSmtpTemplate.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateSmtpTemplate' do it 'should create an instance of CreateSmtpTemplate' do - expect(@instance).to be_instance_of(BrevoRuby::CreateSmtpTemplate) + expect(@instance).to be_instance_of(Brevo::CreateSmtpTemplate) end end describe 'test attribute "tag"' do diff --git a/spec/models/create_sub_account_response_spec.rb b/spec/models/create_sub_account_response_spec.rb index df10574..8b6e82c 100644 --- a/spec/models/create_sub_account_response_spec.rb +++ b/spec/models/create_sub_account_response_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateSubAccountResponse +# Unit tests for Brevo::CreateSubAccountResponse # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateSubAccountResponse' do before do # run before each test - @instance = BrevoRuby::CreateSubAccountResponse.new + @instance = Brevo::CreateSubAccountResponse.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateSubAccountResponse' do it 'should create an instance of CreateSubAccountResponse' do - expect(@instance).to be_instance_of(BrevoRuby::CreateSubAccountResponse) + expect(@instance).to be_instance_of(Brevo::CreateSubAccountResponse) end end describe 'test attribute "id"' do diff --git a/spec/models/create_sub_account_spec.rb b/spec/models/create_sub_account_spec.rb index 824f8b4..8e4a3af 100644 --- a/spec/models/create_sub_account_spec.rb +++ b/spec/models/create_sub_account_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateSubAccount +# Unit tests for Brevo::CreateSubAccount # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateSubAccount' do before do # run before each test - @instance = BrevoRuby::CreateSubAccount.new + @instance = Brevo::CreateSubAccount.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateSubAccount' do it 'should create an instance of CreateSubAccount' do - expect(@instance).to be_instance_of(BrevoRuby::CreateSubAccount) + expect(@instance).to be_instance_of(Brevo::CreateSubAccount) end end describe 'test attribute "company_name"' do diff --git a/spec/models/create_update_batch_category_model_spec.rb b/spec/models/create_update_batch_category_model_spec.rb index 56f1d4c..e8cdf17 100644 --- a/spec/models/create_update_batch_category_model_spec.rb +++ b/spec/models/create_update_batch_category_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateUpdateBatchCategoryModel +# Unit tests for Brevo::CreateUpdateBatchCategoryModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateUpdateBatchCategoryModel' do before do # run before each test - @instance = BrevoRuby::CreateUpdateBatchCategoryModel.new + @instance = Brevo::CreateUpdateBatchCategoryModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateUpdateBatchCategoryModel' do it 'should create an instance of CreateUpdateBatchCategoryModel' do - expect(@instance).to be_instance_of(BrevoRuby::CreateUpdateBatchCategoryModel) + expect(@instance).to be_instance_of(Brevo::CreateUpdateBatchCategoryModel) end end describe 'test attribute "created_count"' do diff --git a/spec/models/create_update_batch_category_spec.rb b/spec/models/create_update_batch_category_spec.rb index 8752cdd..60c410c 100644 --- a/spec/models/create_update_batch_category_spec.rb +++ b/spec/models/create_update_batch_category_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateUpdateBatchCategory +# Unit tests for Brevo::CreateUpdateBatchCategory # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateUpdateBatchCategory' do before do # run before each test - @instance = BrevoRuby::CreateUpdateBatchCategory.new + @instance = Brevo::CreateUpdateBatchCategory.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateUpdateBatchCategory' do it 'should create an instance of CreateUpdateBatchCategory' do - expect(@instance).to be_instance_of(BrevoRuby::CreateUpdateBatchCategory) + expect(@instance).to be_instance_of(Brevo::CreateUpdateBatchCategory) end end describe 'test attribute "categories"' do diff --git a/spec/models/create_update_batch_products_model_spec.rb b/spec/models/create_update_batch_products_model_spec.rb index b22583f..a5652d0 100644 --- a/spec/models/create_update_batch_products_model_spec.rb +++ b/spec/models/create_update_batch_products_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateUpdateBatchProductsModel +# Unit tests for Brevo::CreateUpdateBatchProductsModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateUpdateBatchProductsModel' do before do # run before each test - @instance = BrevoRuby::CreateUpdateBatchProductsModel.new + @instance = Brevo::CreateUpdateBatchProductsModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateUpdateBatchProductsModel' do it 'should create an instance of CreateUpdateBatchProductsModel' do - expect(@instance).to be_instance_of(BrevoRuby::CreateUpdateBatchProductsModel) + expect(@instance).to be_instance_of(Brevo::CreateUpdateBatchProductsModel) end end describe 'test attribute "created_count"' do diff --git a/spec/models/create_update_batch_products_spec.rb b/spec/models/create_update_batch_products_spec.rb index 774277d..b09c884 100644 --- a/spec/models/create_update_batch_products_spec.rb +++ b/spec/models/create_update_batch_products_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateUpdateBatchProducts +# Unit tests for Brevo::CreateUpdateBatchProducts # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateUpdateBatchProducts' do before do # run before each test - @instance = BrevoRuby::CreateUpdateBatchProducts.new + @instance = Brevo::CreateUpdateBatchProducts.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateUpdateBatchProducts' do it 'should create an instance of CreateUpdateBatchProducts' do - expect(@instance).to be_instance_of(BrevoRuby::CreateUpdateBatchProducts) + expect(@instance).to be_instance_of(Brevo::CreateUpdateBatchProducts) end end describe 'test attribute "products"' do diff --git a/spec/models/create_update_categories_spec.rb b/spec/models/create_update_categories_spec.rb index 36a8cf0..dbcef45 100644 --- a/spec/models/create_update_categories_spec.rb +++ b/spec/models/create_update_categories_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateUpdateCategories +# Unit tests for Brevo::CreateUpdateCategories # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateUpdateCategories' do before do # run before each test - @instance = BrevoRuby::CreateUpdateCategories.new + @instance = Brevo::CreateUpdateCategories.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateUpdateCategories' do it 'should create an instance of CreateUpdateCategories' do - expect(@instance).to be_instance_of(BrevoRuby::CreateUpdateCategories) + expect(@instance).to be_instance_of(Brevo::CreateUpdateCategories) end end describe 'test attribute "id"' do diff --git a/spec/models/create_update_category_spec.rb b/spec/models/create_update_category_spec.rb index 28563a9..31818fc 100644 --- a/spec/models/create_update_category_spec.rb +++ b/spec/models/create_update_category_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateUpdateCategory +# Unit tests for Brevo::CreateUpdateCategory # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateUpdateCategory' do before do # run before each test - @instance = BrevoRuby::CreateUpdateCategory.new + @instance = Brevo::CreateUpdateCategory.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateUpdateCategory' do it 'should create an instance of CreateUpdateCategory' do - expect(@instance).to be_instance_of(BrevoRuby::CreateUpdateCategory) + expect(@instance).to be_instance_of(Brevo::CreateUpdateCategory) end end describe 'test attribute "id"' do diff --git a/spec/models/create_update_contact_model_spec.rb b/spec/models/create_update_contact_model_spec.rb index f991b69..52ebf9d 100644 --- a/spec/models/create_update_contact_model_spec.rb +++ b/spec/models/create_update_contact_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateUpdateContactModel +# Unit tests for Brevo::CreateUpdateContactModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateUpdateContactModel' do before do # run before each test - @instance = BrevoRuby::CreateUpdateContactModel.new + @instance = Brevo::CreateUpdateContactModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateUpdateContactModel' do it 'should create an instance of CreateUpdateContactModel' do - expect(@instance).to be_instance_of(BrevoRuby::CreateUpdateContactModel) + expect(@instance).to be_instance_of(Brevo::CreateUpdateContactModel) end end describe 'test attribute "id"' do diff --git a/spec/models/create_update_folder_spec.rb b/spec/models/create_update_folder_spec.rb index 1c89fb3..29da8dd 100644 --- a/spec/models/create_update_folder_spec.rb +++ b/spec/models/create_update_folder_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateUpdateFolder +# Unit tests for Brevo::CreateUpdateFolder # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateUpdateFolder' do before do # run before each test - @instance = BrevoRuby::CreateUpdateFolder.new + @instance = Brevo::CreateUpdateFolder.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateUpdateFolder' do it 'should create an instance of CreateUpdateFolder' do - expect(@instance).to be_instance_of(BrevoRuby::CreateUpdateFolder) + expect(@instance).to be_instance_of(Brevo::CreateUpdateFolder) end end describe 'test attribute "name"' do diff --git a/spec/models/create_update_product_spec.rb b/spec/models/create_update_product_spec.rb index 0d46b03..578da44 100644 --- a/spec/models/create_update_product_spec.rb +++ b/spec/models/create_update_product_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateUpdateProduct +# Unit tests for Brevo::CreateUpdateProduct # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateUpdateProduct' do before do # run before each test - @instance = BrevoRuby::CreateUpdateProduct.new + @instance = Brevo::CreateUpdateProduct.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateUpdateProduct' do it 'should create an instance of CreateUpdateProduct' do - expect(@instance).to be_instance_of(BrevoRuby::CreateUpdateProduct) + expect(@instance).to be_instance_of(Brevo::CreateUpdateProduct) end end describe 'test attribute "id"' do diff --git a/spec/models/create_update_products_spec.rb b/spec/models/create_update_products_spec.rb index 937e51f..8bfc516 100644 --- a/spec/models/create_update_products_spec.rb +++ b/spec/models/create_update_products_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateUpdateProducts +# Unit tests for Brevo::CreateUpdateProducts # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateUpdateProducts' do before do # run before each test - @instance = BrevoRuby::CreateUpdateProducts.new + @instance = Brevo::CreateUpdateProducts.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateUpdateProducts' do it 'should create an instance of CreateUpdateProducts' do - expect(@instance).to be_instance_of(BrevoRuby::CreateUpdateProducts) + expect(@instance).to be_instance_of(Brevo::CreateUpdateProducts) end end describe 'test attribute "id"' do diff --git a/spec/models/create_webhook_spec.rb b/spec/models/create_webhook_spec.rb index b0fd50f..3527de0 100644 --- a/spec/models/create_webhook_spec.rb +++ b/spec/models/create_webhook_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateWebhook +# Unit tests for Brevo::CreateWebhook # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateWebhook' do before do # run before each test - @instance = BrevoRuby::CreateWebhook.new + @instance = Brevo::CreateWebhook.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateWebhook' do it 'should create an instance of CreateWebhook' do - expect(@instance).to be_instance_of(BrevoRuby::CreateWebhook) + expect(@instance).to be_instance_of(Brevo::CreateWebhook) end end describe 'test attribute "url"' do diff --git a/spec/models/create_whats_app_campaign_recipients_spec.rb b/spec/models/create_whats_app_campaign_recipients_spec.rb index e6f8175..9435076 100644 --- a/spec/models/create_whats_app_campaign_recipients_spec.rb +++ b/spec/models/create_whats_app_campaign_recipients_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateWhatsAppCampaignRecipients +# Unit tests for Brevo::CreateWhatsAppCampaignRecipients # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateWhatsAppCampaignRecipients' do before do # run before each test - @instance = BrevoRuby::CreateWhatsAppCampaignRecipients.new + @instance = Brevo::CreateWhatsAppCampaignRecipients.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateWhatsAppCampaignRecipients' do it 'should create an instance of CreateWhatsAppCampaignRecipients' do - expect(@instance).to be_instance_of(BrevoRuby::CreateWhatsAppCampaignRecipients) + expect(@instance).to be_instance_of(Brevo::CreateWhatsAppCampaignRecipients) end end describe 'test attribute "excluded_list_ids"' do diff --git a/spec/models/create_whats_app_campaign_spec.rb b/spec/models/create_whats_app_campaign_spec.rb index 8704558..dbd7396 100644 --- a/spec/models/create_whats_app_campaign_spec.rb +++ b/spec/models/create_whats_app_campaign_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateWhatsAppCampaign +# Unit tests for Brevo::CreateWhatsAppCampaign # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateWhatsAppCampaign' do before do # run before each test - @instance = BrevoRuby::CreateWhatsAppCampaign.new + @instance = Brevo::CreateWhatsAppCampaign.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateWhatsAppCampaign' do it 'should create an instance of CreateWhatsAppCampaign' do - expect(@instance).to be_instance_of(BrevoRuby::CreateWhatsAppCampaign) + expect(@instance).to be_instance_of(Brevo::CreateWhatsAppCampaign) end end describe 'test attribute "name"' do diff --git a/spec/models/create_whats_app_template_spec.rb b/spec/models/create_whats_app_template_spec.rb index d0e46c1..3933f96 100644 --- a/spec/models/create_whats_app_template_spec.rb +++ b/spec/models/create_whats_app_template_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreateWhatsAppTemplate +# Unit tests for Brevo::CreateWhatsAppTemplate # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreateWhatsAppTemplate' do before do # run before each test - @instance = BrevoRuby::CreateWhatsAppTemplate.new + @instance = Brevo::CreateWhatsAppTemplate.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreateWhatsAppTemplate' do it 'should create an instance of CreateWhatsAppTemplate' do - expect(@instance).to be_instance_of(BrevoRuby::CreateWhatsAppTemplate) + expect(@instance).to be_instance_of(Brevo::CreateWhatsAppTemplate) end end describe 'test attribute "name"' do diff --git a/spec/models/created_batch_id_spec.rb b/spec/models/created_batch_id_spec.rb index 91ba374..0b205c9 100644 --- a/spec/models/created_batch_id_spec.rb +++ b/spec/models/created_batch_id_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreatedBatchId +# Unit tests for Brevo::CreatedBatchId # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreatedBatchId' do before do # run before each test - @instance = BrevoRuby::CreatedBatchId.new + @instance = Brevo::CreatedBatchId.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreatedBatchId' do it 'should create an instance of CreatedBatchId' do - expect(@instance).to be_instance_of(BrevoRuby::CreatedBatchId) + expect(@instance).to be_instance_of(Brevo::CreatedBatchId) end end describe 'test attribute "batch_id"' do diff --git a/spec/models/created_process_id_spec.rb b/spec/models/created_process_id_spec.rb index 7844b7d..f3d3f73 100644 --- a/spec/models/created_process_id_spec.rb +++ b/spec/models/created_process_id_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::CreatedProcessId +# Unit tests for Brevo::CreatedProcessId # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CreatedProcessId' do before do # run before each test - @instance = BrevoRuby::CreatedProcessId.new + @instance = Brevo::CreatedProcessId.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of CreatedProcessId' do it 'should create an instance of CreatedProcessId' do - expect(@instance).to be_instance_of(BrevoRuby::CreatedProcessId) + expect(@instance).to be_instance_of(Brevo::CreatedProcessId) end end describe 'test attribute "process_id"' do diff --git a/spec/models/deal_attributes_inner_spec.rb b/spec/models/deal_attributes_inner_spec.rb index 906c7c2..b734289 100644 --- a/spec/models/deal_attributes_inner_spec.rb +++ b/spec/models/deal_attributes_inner_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::DealAttributesInner +# Unit tests for Brevo::DealAttributesInner # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'DealAttributesInner' do before do # run before each test - @instance = BrevoRuby::DealAttributesInner.new + @instance = Brevo::DealAttributesInner.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of DealAttributesInner' do it 'should create an instance of DealAttributesInner' do - expect(@instance).to be_instance_of(BrevoRuby::DealAttributesInner) + expect(@instance).to be_instance_of(Brevo::DealAttributesInner) end end describe 'test attribute "internal_name"' do diff --git a/spec/models/deal_attributes_spec.rb b/spec/models/deal_attributes_spec.rb index abae313..74e1d43 100644 --- a/spec/models/deal_attributes_spec.rb +++ b/spec/models/deal_attributes_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::DealAttributes +# Unit tests for Brevo::DealAttributes # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'DealAttributes' do before do # run before each test - @instance = BrevoRuby::DealAttributes.new + @instance = Brevo::DealAttributes.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of DealAttributes' do it 'should create an instance of DealAttributes' do - expect(@instance).to be_instance_of(BrevoRuby::DealAttributes) + expect(@instance).to be_instance_of(Brevo::DealAttributes) end end end diff --git a/spec/models/deal_spec.rb b/spec/models/deal_spec.rb index 1a32597..4a44efb 100644 --- a/spec/models/deal_spec.rb +++ b/spec/models/deal_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Deal +# Unit tests for Brevo::Deal # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Deal' do before do # run before each test - @instance = BrevoRuby::Deal.new + @instance = Brevo::Deal.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Deal' do it 'should create an instance of Deal' do - expect(@instance).to be_instance_of(BrevoRuby::Deal) + expect(@instance).to be_instance_of(Brevo::Deal) end end describe 'test attribute "id"' do diff --git a/spec/models/deals_list_spec.rb b/spec/models/deals_list_spec.rb index 08a6ee9..d087ac8 100644 --- a/spec/models/deals_list_spec.rb +++ b/spec/models/deals_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::DealsList +# Unit tests for Brevo::DealsList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'DealsList' do before do # run before each test - @instance = BrevoRuby::DealsList.new + @instance = Brevo::DealsList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of DealsList' do it 'should create an instance of DealsList' do - expect(@instance).to be_instance_of(BrevoRuby::DealsList) + expect(@instance).to be_instance_of(Brevo::DealsList) end end describe 'test attribute "items"' do diff --git a/spec/models/delete_hardbounces_spec.rb b/spec/models/delete_hardbounces_spec.rb index 6aa34e0..bb94fe7 100644 --- a/spec/models/delete_hardbounces_spec.rb +++ b/spec/models/delete_hardbounces_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::DeleteHardbounces +# Unit tests for Brevo::DeleteHardbounces # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'DeleteHardbounces' do before do # run before each test - @instance = BrevoRuby::DeleteHardbounces.new + @instance = Brevo::DeleteHardbounces.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of DeleteHardbounces' do it 'should create an instance of DeleteHardbounces' do - expect(@instance).to be_instance_of(BrevoRuby::DeleteHardbounces) + expect(@instance).to be_instance_of(Brevo::DeleteHardbounces) end end describe 'test attribute "start_date"' do diff --git a/spec/models/email_export_recipients_spec.rb b/spec/models/email_export_recipients_spec.rb index e8287bd..44e64ed 100644 --- a/spec/models/email_export_recipients_spec.rb +++ b/spec/models/email_export_recipients_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::EmailExportRecipients +# Unit tests for Brevo::EmailExportRecipients # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'EmailExportRecipients' do before do # run before each test - @instance = BrevoRuby::EmailExportRecipients.new + @instance = Brevo::EmailExportRecipients.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of EmailExportRecipients' do it 'should create an instance of EmailExportRecipients' do - expect(@instance).to be_instance_of(BrevoRuby::EmailExportRecipients) + expect(@instance).to be_instance_of(Brevo::EmailExportRecipients) end end describe 'test attribute "notify_url"' do diff --git a/spec/models/error_model_spec.rb b/spec/models/error_model_spec.rb index 5b581c7..424f02b 100644 --- a/spec/models/error_model_spec.rb +++ b/spec/models/error_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::ErrorModel +# Unit tests for Brevo::ErrorModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ErrorModel' do before do # run before each test - @instance = BrevoRuby::ErrorModel.new + @instance = Brevo::ErrorModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of ErrorModel' do it 'should create an instance of ErrorModel' do - expect(@instance).to be_instance_of(BrevoRuby::ErrorModel) + expect(@instance).to be_instance_of(Brevo::ErrorModel) end end describe 'test attribute "code"' do diff --git a/spec/models/export_webhooks_history_spec.rb b/spec/models/export_webhooks_history_spec.rb index f67766c..fb4fce7 100644 --- a/spec/models/export_webhooks_history_spec.rb +++ b/spec/models/export_webhooks_history_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::ExportWebhooksHistory +# Unit tests for Brevo::ExportWebhooksHistory # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ExportWebhooksHistory' do before do # run before each test - @instance = BrevoRuby::ExportWebhooksHistory.new + @instance = Brevo::ExportWebhooksHistory.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of ExportWebhooksHistory' do it 'should create an instance of ExportWebhooksHistory' do - expect(@instance).to be_instance_of(BrevoRuby::ExportWebhooksHistory) + expect(@instance).to be_instance_of(Brevo::ExportWebhooksHistory) end end describe 'test attribute "days"' do diff --git a/spec/models/file_data_spec.rb b/spec/models/file_data_spec.rb index fdc8eb0..abf0050 100644 --- a/spec/models/file_data_spec.rb +++ b/spec/models/file_data_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::FileData +# Unit tests for Brevo::FileData # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'FileData' do before do # run before each test - @instance = BrevoRuby::FileData.new + @instance = Brevo::FileData.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of FileData' do it 'should create an instance of FileData' do - expect(@instance).to be_instance_of(BrevoRuby::FileData) + expect(@instance).to be_instance_of(Brevo::FileData) end end describe 'test attribute "name"' do diff --git a/spec/models/file_downloadable_link_spec.rb b/spec/models/file_downloadable_link_spec.rb index 096038f..a223bc9 100644 --- a/spec/models/file_downloadable_link_spec.rb +++ b/spec/models/file_downloadable_link_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::FileDownloadableLink +# Unit tests for Brevo::FileDownloadableLink # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'FileDownloadableLink' do before do # run before each test - @instance = BrevoRuby::FileDownloadableLink.new + @instance = Brevo::FileDownloadableLink.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of FileDownloadableLink' do it 'should create an instance of FileDownloadableLink' do - expect(@instance).to be_instance_of(BrevoRuby::FileDownloadableLink) + expect(@instance).to be_instance_of(Brevo::FileDownloadableLink) end end describe 'test attribute "file_url"' do diff --git a/spec/models/file_list_spec.rb b/spec/models/file_list_spec.rb index 44e82a2..734257e 100644 --- a/spec/models/file_list_spec.rb +++ b/spec/models/file_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::FileList +# Unit tests for Brevo::FileList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'FileList' do before do # run before each test - @instance = BrevoRuby::FileList.new + @instance = Brevo::FileList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of FileList' do it 'should create an instance of FileList' do - expect(@instance).to be_instance_of(BrevoRuby::FileList) + expect(@instance).to be_instance_of(Brevo::FileList) end end end diff --git a/spec/models/get_account_activity_logs_spec.rb b/spec/models/get_account_activity_logs_spec.rb index 668944c..7b2273c 100644 --- a/spec/models/get_account_activity_logs_spec.rb +++ b/spec/models/get_account_activity_logs_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetAccountActivityLogs +# Unit tests for Brevo::GetAccountActivityLogs # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetAccountActivityLogs' do before do # run before each test - @instance = BrevoRuby::GetAccountActivityLogs.new + @instance = Brevo::GetAccountActivityLogs.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetAccountActivityLogs' do it 'should create an instance of GetAccountActivityLogs' do - expect(@instance).to be_instance_of(BrevoRuby::GetAccountActivityLogs) + expect(@instance).to be_instance_of(Brevo::GetAccountActivityLogs) end end describe 'test attribute "action"' do diff --git a/spec/models/get_account_activity_spec.rb b/spec/models/get_account_activity_spec.rb index 981701d..461a717 100644 --- a/spec/models/get_account_activity_spec.rb +++ b/spec/models/get_account_activity_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetAccountActivity +# Unit tests for Brevo::GetAccountActivity # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetAccountActivity' do before do # run before each test - @instance = BrevoRuby::GetAccountActivity.new + @instance = Brevo::GetAccountActivity.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetAccountActivity' do it 'should create an instance of GetAccountActivity' do - expect(@instance).to be_instance_of(BrevoRuby::GetAccountActivity) + expect(@instance).to be_instance_of(Brevo::GetAccountActivity) end end describe 'test attribute "logs"' do diff --git a/spec/models/get_account_marketing_automation_spec.rb b/spec/models/get_account_marketing_automation_spec.rb index e2a595b..8e81856 100644 --- a/spec/models/get_account_marketing_automation_spec.rb +++ b/spec/models/get_account_marketing_automation_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetAccountMarketingAutomation +# Unit tests for Brevo::GetAccountMarketingAutomation # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetAccountMarketingAutomation' do before do # run before each test - @instance = BrevoRuby::GetAccountMarketingAutomation.new + @instance = Brevo::GetAccountMarketingAutomation.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetAccountMarketingAutomation' do it 'should create an instance of GetAccountMarketingAutomation' do - expect(@instance).to be_instance_of(BrevoRuby::GetAccountMarketingAutomation) + expect(@instance).to be_instance_of(Brevo::GetAccountMarketingAutomation) end end describe 'test attribute "key"' do diff --git a/spec/models/get_account_plan_spec.rb b/spec/models/get_account_plan_spec.rb index 3bcaeac..7f6c801 100644 --- a/spec/models/get_account_plan_spec.rb +++ b/spec/models/get_account_plan_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetAccountPlan +# Unit tests for Brevo::GetAccountPlan # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetAccountPlan' do before do # run before each test - @instance = BrevoRuby::GetAccountPlan.new + @instance = Brevo::GetAccountPlan.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetAccountPlan' do it 'should create an instance of GetAccountPlan' do - expect(@instance).to be_instance_of(BrevoRuby::GetAccountPlan) + expect(@instance).to be_instance_of(Brevo::GetAccountPlan) end end describe 'test attribute "type"' do diff --git a/spec/models/get_account_relay_data_spec.rb b/spec/models/get_account_relay_data_spec.rb index 05aa77f..09a1ec0 100644 --- a/spec/models/get_account_relay_data_spec.rb +++ b/spec/models/get_account_relay_data_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetAccountRelayData +# Unit tests for Brevo::GetAccountRelayData # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetAccountRelayData' do before do # run before each test - @instance = BrevoRuby::GetAccountRelayData.new + @instance = Brevo::GetAccountRelayData.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetAccountRelayData' do it 'should create an instance of GetAccountRelayData' do - expect(@instance).to be_instance_of(BrevoRuby::GetAccountRelayData) + expect(@instance).to be_instance_of(Brevo::GetAccountRelayData) end end describe 'test attribute "user_name"' do diff --git a/spec/models/get_account_relay_spec.rb b/spec/models/get_account_relay_spec.rb index 440008a..bba883a 100644 --- a/spec/models/get_account_relay_spec.rb +++ b/spec/models/get_account_relay_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetAccountRelay +# Unit tests for Brevo::GetAccountRelay # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetAccountRelay' do before do # run before each test - @instance = BrevoRuby::GetAccountRelay.new + @instance = Brevo::GetAccountRelay.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetAccountRelay' do it 'should create an instance of GetAccountRelay' do - expect(@instance).to be_instance_of(BrevoRuby::GetAccountRelay) + expect(@instance).to be_instance_of(Brevo::GetAccountRelay) end end describe 'test attribute "enabled"' do diff --git a/spec/models/get_account_spec.rb b/spec/models/get_account_spec.rb index dbee0f6..bbb5c56 100644 --- a/spec/models/get_account_spec.rb +++ b/spec/models/get_account_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetAccount +# Unit tests for Brevo::GetAccount # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetAccount' do before do # run before each test - @instance = BrevoRuby::GetAccount.new + @instance = Brevo::GetAccount.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetAccount' do it 'should create an instance of GetAccount' do - expect(@instance).to be_instance_of(BrevoRuby::GetAccount) + expect(@instance).to be_instance_of(Brevo::GetAccount) end end describe 'test attribute "email"' do diff --git a/spec/models/get_aggregated_report_spec.rb b/spec/models/get_aggregated_report_spec.rb index ff55a07..91b881e 100644 --- a/spec/models/get_aggregated_report_spec.rb +++ b/spec/models/get_aggregated_report_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetAggregatedReport +# Unit tests for Brevo::GetAggregatedReport # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetAggregatedReport' do before do # run before each test - @instance = BrevoRuby::GetAggregatedReport.new + @instance = Brevo::GetAggregatedReport.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetAggregatedReport' do it 'should create an instance of GetAggregatedReport' do - expect(@instance).to be_instance_of(BrevoRuby::GetAggregatedReport) + expect(@instance).to be_instance_of(Brevo::GetAggregatedReport) end end describe 'test attribute "range"' do diff --git a/spec/models/get_all_external_feeds_feeds_spec.rb b/spec/models/get_all_external_feeds_feeds_spec.rb index 3c4e415..c67ebd8 100644 --- a/spec/models/get_all_external_feeds_feeds_spec.rb +++ b/spec/models/get_all_external_feeds_feeds_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetAllExternalFeedsFeeds +# Unit tests for Brevo::GetAllExternalFeedsFeeds # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetAllExternalFeedsFeeds' do before do # run before each test - @instance = BrevoRuby::GetAllExternalFeedsFeeds.new + @instance = Brevo::GetAllExternalFeedsFeeds.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetAllExternalFeedsFeeds' do it 'should create an instance of GetAllExternalFeedsFeeds' do - expect(@instance).to be_instance_of(BrevoRuby::GetAllExternalFeedsFeeds) + expect(@instance).to be_instance_of(Brevo::GetAllExternalFeedsFeeds) end end describe 'test attribute "id"' do diff --git a/spec/models/get_all_external_feeds_spec.rb b/spec/models/get_all_external_feeds_spec.rb index 00dde88..b226719 100644 --- a/spec/models/get_all_external_feeds_spec.rb +++ b/spec/models/get_all_external_feeds_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetAllExternalFeeds +# Unit tests for Brevo::GetAllExternalFeeds # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetAllExternalFeeds' do before do # run before each test - @instance = BrevoRuby::GetAllExternalFeeds.new + @instance = Brevo::GetAllExternalFeeds.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetAllExternalFeeds' do it 'should create an instance of GetAllExternalFeeds' do - expect(@instance).to be_instance_of(BrevoRuby::GetAllExternalFeeds) + expect(@instance).to be_instance_of(Brevo::GetAllExternalFeeds) end end describe 'test attribute "count"' do diff --git a/spec/models/get_attributes_attributes_spec.rb b/spec/models/get_attributes_attributes_spec.rb index be09a1c..f8b7ec8 100644 --- a/spec/models/get_attributes_attributes_spec.rb +++ b/spec/models/get_attributes_attributes_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetAttributesAttributes +# Unit tests for Brevo::GetAttributesAttributes # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetAttributesAttributes' do before do # run before each test - @instance = BrevoRuby::GetAttributesAttributes.new + @instance = Brevo::GetAttributesAttributes.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetAttributesAttributes' do it 'should create an instance of GetAttributesAttributes' do - expect(@instance).to be_instance_of(BrevoRuby::GetAttributesAttributes) + expect(@instance).to be_instance_of(Brevo::GetAttributesAttributes) end end describe 'test attribute "name"' do diff --git a/spec/models/get_attributes_enumeration_spec.rb b/spec/models/get_attributes_enumeration_spec.rb index 42b7165..89bf1a6 100644 --- a/spec/models/get_attributes_enumeration_spec.rb +++ b/spec/models/get_attributes_enumeration_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetAttributesEnumeration +# Unit tests for Brevo::GetAttributesEnumeration # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetAttributesEnumeration' do before do # run before each test - @instance = BrevoRuby::GetAttributesEnumeration.new + @instance = Brevo::GetAttributesEnumeration.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetAttributesEnumeration' do it 'should create an instance of GetAttributesEnumeration' do - expect(@instance).to be_instance_of(BrevoRuby::GetAttributesEnumeration) + expect(@instance).to be_instance_of(Brevo::GetAttributesEnumeration) end end describe 'test attribute "value"' do diff --git a/spec/models/get_attributes_spec.rb b/spec/models/get_attributes_spec.rb index 23c19b1..06bb0c9 100644 --- a/spec/models/get_attributes_spec.rb +++ b/spec/models/get_attributes_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetAttributes +# Unit tests for Brevo::GetAttributes # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetAttributes' do before do # run before each test - @instance = BrevoRuby::GetAttributes.new + @instance = Brevo::GetAttributes.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetAttributes' do it 'should create an instance of GetAttributes' do - expect(@instance).to be_instance_of(BrevoRuby::GetAttributes) + expect(@instance).to be_instance_of(Brevo::GetAttributes) end end describe 'test attribute "attributes"' do diff --git a/spec/models/get_blocked_domains_spec.rb b/spec/models/get_blocked_domains_spec.rb index 13ad1dd..08d48fc 100644 --- a/spec/models/get_blocked_domains_spec.rb +++ b/spec/models/get_blocked_domains_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetBlockedDomains +# Unit tests for Brevo::GetBlockedDomains # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetBlockedDomains' do before do # run before each test - @instance = BrevoRuby::GetBlockedDomains.new + @instance = Brevo::GetBlockedDomains.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetBlockedDomains' do it 'should create an instance of GetBlockedDomains' do - expect(@instance).to be_instance_of(BrevoRuby::GetBlockedDomains) + expect(@instance).to be_instance_of(Brevo::GetBlockedDomains) end end describe 'test attribute "domains"' do diff --git a/spec/models/get_campaign_overview_spec.rb b/spec/models/get_campaign_overview_spec.rb index 1ebd648..554c92c 100644 --- a/spec/models/get_campaign_overview_spec.rb +++ b/spec/models/get_campaign_overview_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetCampaignOverview +# Unit tests for Brevo::GetCampaignOverview # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetCampaignOverview' do before do # run before each test - @instance = BrevoRuby::GetCampaignOverview.new + @instance = Brevo::GetCampaignOverview.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetCampaignOverview' do it 'should create an instance of GetCampaignOverview' do - expect(@instance).to be_instance_of(BrevoRuby::GetCampaignOverview) + expect(@instance).to be_instance_of(Brevo::GetCampaignOverview) end end describe 'test attribute "id"' do @@ -50,6 +50,12 @@ end end + describe 'test attribute "preview_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "type"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/spec/models/get_campaign_recipients_spec.rb b/spec/models/get_campaign_recipients_spec.rb index d77d0c1..bf59354 100644 --- a/spec/models/get_campaign_recipients_spec.rb +++ b/spec/models/get_campaign_recipients_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetCampaignRecipients +# Unit tests for Brevo::GetCampaignRecipients # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetCampaignRecipients' do before do # run before each test - @instance = BrevoRuby::GetCampaignRecipients.new + @instance = Brevo::GetCampaignRecipients.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetCampaignRecipients' do it 'should create an instance of GetCampaignRecipients' do - expect(@instance).to be_instance_of(BrevoRuby::GetCampaignRecipients) + expect(@instance).to be_instance_of(Brevo::GetCampaignRecipients) end end describe 'test attribute "lists"' do diff --git a/spec/models/get_campaign_stats_spec.rb b/spec/models/get_campaign_stats_spec.rb index 49cffaf..f6ff2c1 100644 --- a/spec/models/get_campaign_stats_spec.rb +++ b/spec/models/get_campaign_stats_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetCampaignStats +# Unit tests for Brevo::GetCampaignStats # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetCampaignStats' do before do # run before each test - @instance = BrevoRuby::GetCampaignStats.new + @instance = Brevo::GetCampaignStats.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetCampaignStats' do it 'should create an instance of GetCampaignStats' do - expect(@instance).to be_instance_of(BrevoRuby::GetCampaignStats) + expect(@instance).to be_instance_of(Brevo::GetCampaignStats) end end describe 'test attribute "list_id"' do diff --git a/spec/models/get_categories_spec.rb b/spec/models/get_categories_spec.rb index ea7e29b..d3d838e 100644 --- a/spec/models/get_categories_spec.rb +++ b/spec/models/get_categories_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetCategories +# Unit tests for Brevo::GetCategories # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetCategories' do before do # run before each test - @instance = BrevoRuby::GetCategories.new + @instance = Brevo::GetCategories.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetCategories' do it 'should create an instance of GetCategories' do - expect(@instance).to be_instance_of(BrevoRuby::GetCategories) + expect(@instance).to be_instance_of(Brevo::GetCategories) end end describe 'test attribute "categories"' do diff --git a/spec/models/get_category_details_spec.rb b/spec/models/get_category_details_spec.rb index 3dc7938..3fb0353 100644 --- a/spec/models/get_category_details_spec.rb +++ b/spec/models/get_category_details_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetCategoryDetails +# Unit tests for Brevo::GetCategoryDetails # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetCategoryDetails' do before do # run before each test - @instance = BrevoRuby::GetCategoryDetails.new + @instance = Brevo::GetCategoryDetails.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetCategoryDetails' do it 'should create an instance of GetCategoryDetails' do - expect(@instance).to be_instance_of(BrevoRuby::GetCategoryDetails) + expect(@instance).to be_instance_of(Brevo::GetCategoryDetails) end end describe 'test attribute "id"' do diff --git a/spec/models/get_child_account_creation_status_spec.rb b/spec/models/get_child_account_creation_status_spec.rb index ad2b14e..d0b3b8b 100644 --- a/spec/models/get_child_account_creation_status_spec.rb +++ b/spec/models/get_child_account_creation_status_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetChildAccountCreationStatus +# Unit tests for Brevo::GetChildAccountCreationStatus # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetChildAccountCreationStatus' do before do # run before each test - @instance = BrevoRuby::GetChildAccountCreationStatus.new + @instance = Brevo::GetChildAccountCreationStatus.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetChildAccountCreationStatus' do it 'should create an instance of GetChildAccountCreationStatus' do - expect(@instance).to be_instance_of(BrevoRuby::GetChildAccountCreationStatus) + expect(@instance).to be_instance_of(Brevo::GetChildAccountCreationStatus) end end describe 'test attribute "child_account_created"' do diff --git a/spec/models/get_child_domain_spec.rb b/spec/models/get_child_domain_spec.rb index 2593876..3efe613 100644 --- a/spec/models/get_child_domain_spec.rb +++ b/spec/models/get_child_domain_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetChildDomain +# Unit tests for Brevo::GetChildDomain # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetChildDomain' do before do # run before each test - @instance = BrevoRuby::GetChildDomain.new + @instance = Brevo::GetChildDomain.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetChildDomain' do it 'should create an instance of GetChildDomain' do - expect(@instance).to be_instance_of(BrevoRuby::GetChildDomain) + expect(@instance).to be_instance_of(Brevo::GetChildDomain) end end describe 'test attribute "domain"' do diff --git a/spec/models/get_child_domains_spec.rb b/spec/models/get_child_domains_spec.rb index 0696385..66eb074 100644 --- a/spec/models/get_child_domains_spec.rb +++ b/spec/models/get_child_domains_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetChildDomains +# Unit tests for Brevo::GetChildDomains # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetChildDomains' do before do # run before each test - @instance = BrevoRuby::GetChildDomains.new + @instance = Brevo::GetChildDomains.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetChildDomains' do it 'should create an instance of GetChildDomains' do - expect(@instance).to be_instance_of(BrevoRuby::GetChildDomains) + expect(@instance).to be_instance_of(Brevo::GetChildDomains) end end end diff --git a/spec/models/get_child_info_api_keys_spec.rb b/spec/models/get_child_info_api_keys_spec.rb index 6dbe2a0..51933e7 100644 --- a/spec/models/get_child_info_api_keys_spec.rb +++ b/spec/models/get_child_info_api_keys_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetChildInfoApiKeys +# Unit tests for Brevo::GetChildInfoApiKeys # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetChildInfoApiKeys' do before do # run before each test - @instance = BrevoRuby::GetChildInfoApiKeys.new + @instance = Brevo::GetChildInfoApiKeys.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetChildInfoApiKeys' do it 'should create an instance of GetChildInfoApiKeys' do - expect(@instance).to be_instance_of(BrevoRuby::GetChildInfoApiKeys) + expect(@instance).to be_instance_of(Brevo::GetChildInfoApiKeys) end end describe 'test attribute "v2"' do diff --git a/spec/models/get_child_info_api_keys_v2_spec.rb b/spec/models/get_child_info_api_keys_v2_spec.rb index 1d00d78..1513e8d 100644 --- a/spec/models/get_child_info_api_keys_v2_spec.rb +++ b/spec/models/get_child_info_api_keys_v2_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetChildInfoApiKeysV2 +# Unit tests for Brevo::GetChildInfoApiKeysV2 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetChildInfoApiKeysV2' do before do # run before each test - @instance = BrevoRuby::GetChildInfoApiKeysV2.new + @instance = Brevo::GetChildInfoApiKeysV2.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetChildInfoApiKeysV2' do it 'should create an instance of GetChildInfoApiKeysV2' do - expect(@instance).to be_instance_of(BrevoRuby::GetChildInfoApiKeysV2) + expect(@instance).to be_instance_of(Brevo::GetChildInfoApiKeysV2) end end describe 'test attribute "name"' do diff --git a/spec/models/get_child_info_api_keys_v3_spec.rb b/spec/models/get_child_info_api_keys_v3_spec.rb index 446e171..fef317a 100644 --- a/spec/models/get_child_info_api_keys_v3_spec.rb +++ b/spec/models/get_child_info_api_keys_v3_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetChildInfoApiKeysV3 +# Unit tests for Brevo::GetChildInfoApiKeysV3 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetChildInfoApiKeysV3' do before do # run before each test - @instance = BrevoRuby::GetChildInfoApiKeysV3.new + @instance = Brevo::GetChildInfoApiKeysV3.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetChildInfoApiKeysV3' do it 'should create an instance of GetChildInfoApiKeysV3' do - expect(@instance).to be_instance_of(BrevoRuby::GetChildInfoApiKeysV3) + expect(@instance).to be_instance_of(Brevo::GetChildInfoApiKeysV3) end end describe 'test attribute "name"' do diff --git a/spec/models/get_child_info_credits_spec.rb b/spec/models/get_child_info_credits_spec.rb index cc38d18..8bef407 100644 --- a/spec/models/get_child_info_credits_spec.rb +++ b/spec/models/get_child_info_credits_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetChildInfoCredits +# Unit tests for Brevo::GetChildInfoCredits # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetChildInfoCredits' do before do # run before each test - @instance = BrevoRuby::GetChildInfoCredits.new + @instance = Brevo::GetChildInfoCredits.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetChildInfoCredits' do it 'should create an instance of GetChildInfoCredits' do - expect(@instance).to be_instance_of(BrevoRuby::GetChildInfoCredits) + expect(@instance).to be_instance_of(Brevo::GetChildInfoCredits) end end describe 'test attribute "email_credits"' do diff --git a/spec/models/get_child_info_spec.rb b/spec/models/get_child_info_spec.rb index a91317d..3968ca1 100644 --- a/spec/models/get_child_info_spec.rb +++ b/spec/models/get_child_info_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetChildInfo +# Unit tests for Brevo::GetChildInfo # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetChildInfo' do before do # run before each test - @instance = BrevoRuby::GetChildInfo.new + @instance = Brevo::GetChildInfo.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetChildInfo' do it 'should create an instance of GetChildInfo' do - expect(@instance).to be_instance_of(BrevoRuby::GetChildInfo) + expect(@instance).to be_instance_of(Brevo::GetChildInfo) end end describe 'test attribute "email"' do diff --git a/spec/models/get_child_info_statistics_spec.rb b/spec/models/get_child_info_statistics_spec.rb index 515cc1f..06d249d 100644 --- a/spec/models/get_child_info_statistics_spec.rb +++ b/spec/models/get_child_info_statistics_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetChildInfoStatistics +# Unit tests for Brevo::GetChildInfoStatistics # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetChildInfoStatistics' do before do # run before each test - @instance = BrevoRuby::GetChildInfoStatistics.new + @instance = Brevo::GetChildInfoStatistics.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetChildInfoStatistics' do it 'should create an instance of GetChildInfoStatistics' do - expect(@instance).to be_instance_of(BrevoRuby::GetChildInfoStatistics) + expect(@instance).to be_instance_of(Brevo::GetChildInfoStatistics) end end describe 'test attribute "previous_month_total_sent"' do diff --git a/spec/models/get_children_list_spec.rb b/spec/models/get_children_list_spec.rb index 4683d6b..5f83e08 100644 --- a/spec/models/get_children_list_spec.rb +++ b/spec/models/get_children_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetChildrenList +# Unit tests for Brevo::GetChildrenList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetChildrenList' do before do # run before each test - @instance = BrevoRuby::GetChildrenList.new + @instance = Brevo::GetChildrenList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetChildrenList' do it 'should create an instance of GetChildrenList' do - expect(@instance).to be_instance_of(BrevoRuby::GetChildrenList) + expect(@instance).to be_instance_of(Brevo::GetChildrenList) end end describe 'test attribute "children"' do diff --git a/spec/models/get_client_spec.rb b/spec/models/get_client_spec.rb index ad38585..ff0924f 100644 --- a/spec/models/get_client_spec.rb +++ b/spec/models/get_client_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetClient +# Unit tests for Brevo::GetClient # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetClient' do before do # run before each test - @instance = BrevoRuby::GetClient.new + @instance = Brevo::GetClient.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetClient' do it 'should create an instance of GetClient' do - expect(@instance).to be_instance_of(BrevoRuby::GetClient) + expect(@instance).to be_instance_of(Brevo::GetClient) end end describe 'test attribute "email"' do diff --git a/spec/models/get_contact_campaign_stats_clicked_spec.rb b/spec/models/get_contact_campaign_stats_clicked_spec.rb index 5d1fcb5..c7fa13f 100644 --- a/spec/models/get_contact_campaign_stats_clicked_spec.rb +++ b/spec/models/get_contact_campaign_stats_clicked_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetContactCampaignStatsClicked +# Unit tests for Brevo::GetContactCampaignStatsClicked # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetContactCampaignStatsClicked' do before do # run before each test - @instance = BrevoRuby::GetContactCampaignStatsClicked.new + @instance = Brevo::GetContactCampaignStatsClicked.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetContactCampaignStatsClicked' do it 'should create an instance of GetContactCampaignStatsClicked' do - expect(@instance).to be_instance_of(BrevoRuby::GetContactCampaignStatsClicked) + expect(@instance).to be_instance_of(Brevo::GetContactCampaignStatsClicked) end end describe 'test attribute "campaign_id"' do diff --git a/spec/models/get_contact_campaign_stats_opened_spec.rb b/spec/models/get_contact_campaign_stats_opened_spec.rb index f97c62b..da5aa75 100644 --- a/spec/models/get_contact_campaign_stats_opened_spec.rb +++ b/spec/models/get_contact_campaign_stats_opened_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetContactCampaignStatsOpened +# Unit tests for Brevo::GetContactCampaignStatsOpened # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetContactCampaignStatsOpened' do before do # run before each test - @instance = BrevoRuby::GetContactCampaignStatsOpened.new + @instance = Brevo::GetContactCampaignStatsOpened.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetContactCampaignStatsOpened' do it 'should create an instance of GetContactCampaignStatsOpened' do - expect(@instance).to be_instance_of(BrevoRuby::GetContactCampaignStatsOpened) + expect(@instance).to be_instance_of(Brevo::GetContactCampaignStatsOpened) end end describe 'test attribute "campaign_id"' do diff --git a/spec/models/get_contact_campaign_stats_spec.rb b/spec/models/get_contact_campaign_stats_spec.rb index 96bc423..04c3f27 100644 --- a/spec/models/get_contact_campaign_stats_spec.rb +++ b/spec/models/get_contact_campaign_stats_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetContactCampaignStats +# Unit tests for Brevo::GetContactCampaignStats # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetContactCampaignStats' do before do # run before each test - @instance = BrevoRuby::GetContactCampaignStats.new + @instance = Brevo::GetContactCampaignStats.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetContactCampaignStats' do it 'should create an instance of GetContactCampaignStats' do - expect(@instance).to be_instance_of(BrevoRuby::GetContactCampaignStats) + expect(@instance).to be_instance_of(Brevo::GetContactCampaignStats) end end describe 'test attribute "messages_sent"' do diff --git a/spec/models/get_contact_campaign_stats_transac_attributes_spec.rb b/spec/models/get_contact_campaign_stats_transac_attributes_spec.rb index 93d7508..6696832 100644 --- a/spec/models/get_contact_campaign_stats_transac_attributes_spec.rb +++ b/spec/models/get_contact_campaign_stats_transac_attributes_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetContactCampaignStatsTransacAttributes +# Unit tests for Brevo::GetContactCampaignStatsTransacAttributes # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetContactCampaignStatsTransacAttributes' do before do # run before each test - @instance = BrevoRuby::GetContactCampaignStatsTransacAttributes.new + @instance = Brevo::GetContactCampaignStatsTransacAttributes.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetContactCampaignStatsTransacAttributes' do it 'should create an instance of GetContactCampaignStatsTransacAttributes' do - expect(@instance).to be_instance_of(BrevoRuby::GetContactCampaignStatsTransacAttributes) + expect(@instance).to be_instance_of(Brevo::GetContactCampaignStatsTransacAttributes) end end describe 'test attribute "order_date"' do diff --git a/spec/models/get_contact_campaign_stats_unsubscriptions_spec.rb b/spec/models/get_contact_campaign_stats_unsubscriptions_spec.rb index 65cd454..d2c321b 100644 --- a/spec/models/get_contact_campaign_stats_unsubscriptions_spec.rb +++ b/spec/models/get_contact_campaign_stats_unsubscriptions_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetContactCampaignStatsUnsubscriptions +# Unit tests for Brevo::GetContactCampaignStatsUnsubscriptions # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetContactCampaignStatsUnsubscriptions' do before do # run before each test - @instance = BrevoRuby::GetContactCampaignStatsUnsubscriptions.new + @instance = Brevo::GetContactCampaignStatsUnsubscriptions.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetContactCampaignStatsUnsubscriptions' do it 'should create an instance of GetContactCampaignStatsUnsubscriptions' do - expect(@instance).to be_instance_of(BrevoRuby::GetContactCampaignStatsUnsubscriptions) + expect(@instance).to be_instance_of(Brevo::GetContactCampaignStatsUnsubscriptions) end end describe 'test attribute "user_unsubscription"' do diff --git a/spec/models/get_contact_details_spec.rb b/spec/models/get_contact_details_spec.rb index 13e503e..3634f92 100644 --- a/spec/models/get_contact_details_spec.rb +++ b/spec/models/get_contact_details_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetContactDetails +# Unit tests for Brevo::GetContactDetails # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetContactDetails' do before do # run before each test - @instance = BrevoRuby::GetContactDetails.new + @instance = Brevo::GetContactDetails.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetContactDetails' do it 'should create an instance of GetContactDetails' do - expect(@instance).to be_instance_of(BrevoRuby::GetContactDetails) + expect(@instance).to be_instance_of(Brevo::GetContactDetails) end end describe 'test attribute "email"' do diff --git a/spec/models/get_contacts_spec.rb b/spec/models/get_contacts_spec.rb index 7b74c5a..f121e26 100644 --- a/spec/models/get_contacts_spec.rb +++ b/spec/models/get_contacts_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetContacts +# Unit tests for Brevo::GetContacts # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetContacts' do before do # run before each test - @instance = BrevoRuby::GetContacts.new + @instance = Brevo::GetContacts.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetContacts' do it 'should create an instance of GetContacts' do - expect(@instance).to be_instance_of(BrevoRuby::GetContacts) + expect(@instance).to be_instance_of(Brevo::GetContacts) end end describe 'test attribute "contacts"' do diff --git a/spec/models/get_coupon_collection_spec.rb b/spec/models/get_coupon_collection_spec.rb index 160138f..737cb42 100644 --- a/spec/models/get_coupon_collection_spec.rb +++ b/spec/models/get_coupon_collection_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetCouponCollection +# Unit tests for Brevo::GetCouponCollection # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetCouponCollection' do before do # run before each test - @instance = BrevoRuby::GetCouponCollection.new + @instance = Brevo::GetCouponCollection.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetCouponCollection' do it 'should create an instance of GetCouponCollection' do - expect(@instance).to be_instance_of(BrevoRuby::GetCouponCollection) + expect(@instance).to be_instance_of(Brevo::GetCouponCollection) end end describe 'test attribute "id"' do diff --git a/spec/models/get_device_browser_stats_spec.rb b/spec/models/get_device_browser_stats_spec.rb index 69a8114..c5f0a07 100644 --- a/spec/models/get_device_browser_stats_spec.rb +++ b/spec/models/get_device_browser_stats_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetDeviceBrowserStats +# Unit tests for Brevo::GetDeviceBrowserStats # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetDeviceBrowserStats' do before do # run before each test - @instance = BrevoRuby::GetDeviceBrowserStats.new + @instance = Brevo::GetDeviceBrowserStats.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetDeviceBrowserStats' do it 'should create an instance of GetDeviceBrowserStats' do - expect(@instance).to be_instance_of(BrevoRuby::GetDeviceBrowserStats) + expect(@instance).to be_instance_of(Brevo::GetDeviceBrowserStats) end end describe 'test attribute "clickers"' do diff --git a/spec/models/get_domain_configuration_model_spec.rb b/spec/models/get_domain_configuration_model_spec.rb index 43c3d6f..ac7cd41 100644 --- a/spec/models/get_domain_configuration_model_spec.rb +++ b/spec/models/get_domain_configuration_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetDomainConfigurationModel +# Unit tests for Brevo::GetDomainConfigurationModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetDomainConfigurationModel' do before do # run before each test - @instance = BrevoRuby::GetDomainConfigurationModel.new + @instance = Brevo::GetDomainConfigurationModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetDomainConfigurationModel' do it 'should create an instance of GetDomainConfigurationModel' do - expect(@instance).to be_instance_of(BrevoRuby::GetDomainConfigurationModel) + expect(@instance).to be_instance_of(Brevo::GetDomainConfigurationModel) end end describe 'test attribute "domain"' do diff --git a/spec/models/get_domains_list_domains_spec.rb b/spec/models/get_domains_list_domains_spec.rb index 6afba49..0268fb1 100644 --- a/spec/models/get_domains_list_domains_spec.rb +++ b/spec/models/get_domains_list_domains_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetDomainsListDomains +# Unit tests for Brevo::GetDomainsListDomains # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetDomainsListDomains' do before do # run before each test - @instance = BrevoRuby::GetDomainsListDomains.new + @instance = Brevo::GetDomainsListDomains.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetDomainsListDomains' do it 'should create an instance of GetDomainsListDomains' do - expect(@instance).to be_instance_of(BrevoRuby::GetDomainsListDomains) + expect(@instance).to be_instance_of(Brevo::GetDomainsListDomains) end end describe 'test attribute "id"' do diff --git a/spec/models/get_domains_list_spec.rb b/spec/models/get_domains_list_spec.rb index c70a6d2..2d1c80b 100644 --- a/spec/models/get_domains_list_spec.rb +++ b/spec/models/get_domains_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetDomainsList +# Unit tests for Brevo::GetDomainsList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetDomainsList' do before do # run before each test - @instance = BrevoRuby::GetDomainsList.new + @instance = Brevo::GetDomainsList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetDomainsList' do it 'should create an instance of GetDomainsList' do - expect(@instance).to be_instance_of(BrevoRuby::GetDomainsList) + expect(@instance).to be_instance_of(Brevo::GetDomainsList) end end describe 'test attribute "domains"' do diff --git a/spec/models/get_email_campaign_spec.rb b/spec/models/get_email_campaign_spec.rb index 5426d74..b47a1c0 100644 --- a/spec/models/get_email_campaign_spec.rb +++ b/spec/models/get_email_campaign_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetEmailCampaign +# Unit tests for Brevo::GetEmailCampaign # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetEmailCampaign' do before do # run before each test - @instance = BrevoRuby::GetEmailCampaign.new + @instance = Brevo::GetEmailCampaign.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetEmailCampaign' do it 'should create an instance of GetEmailCampaign' do - expect(@instance).to be_instance_of(BrevoRuby::GetEmailCampaign) + expect(@instance).to be_instance_of(Brevo::GetEmailCampaign) end end describe 'test attribute "id"' do @@ -50,6 +50,12 @@ end end + describe 'test attribute "preview_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "type"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/spec/models/get_email_campaigns_spec.rb b/spec/models/get_email_campaigns_spec.rb index 4107870..0ef8ee1 100644 --- a/spec/models/get_email_campaigns_spec.rb +++ b/spec/models/get_email_campaigns_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetEmailCampaigns +# Unit tests for Brevo::GetEmailCampaigns # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetEmailCampaigns' do before do # run before each test - @instance = BrevoRuby::GetEmailCampaigns.new + @instance = Brevo::GetEmailCampaigns.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetEmailCampaigns' do it 'should create an instance of GetEmailCampaigns' do - expect(@instance).to be_instance_of(BrevoRuby::GetEmailCampaigns) + expect(@instance).to be_instance_of(Brevo::GetEmailCampaigns) end end describe 'test attribute "campaigns"' do diff --git a/spec/models/get_email_event_report_events_spec.rb b/spec/models/get_email_event_report_events_spec.rb index 0da2d3c..fb73216 100644 --- a/spec/models/get_email_event_report_events_spec.rb +++ b/spec/models/get_email_event_report_events_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetEmailEventReportEvents +# Unit tests for Brevo::GetEmailEventReportEvents # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetEmailEventReportEvents' do before do # run before each test - @instance = BrevoRuby::GetEmailEventReportEvents.new + @instance = Brevo::GetEmailEventReportEvents.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetEmailEventReportEvents' do it 'should create an instance of GetEmailEventReportEvents' do - expect(@instance).to be_instance_of(BrevoRuby::GetEmailEventReportEvents) + expect(@instance).to be_instance_of(Brevo::GetEmailEventReportEvents) end end describe 'test attribute "email"' do diff --git a/spec/models/get_email_event_report_spec.rb b/spec/models/get_email_event_report_spec.rb index 2a0ab57..268b8e9 100644 --- a/spec/models/get_email_event_report_spec.rb +++ b/spec/models/get_email_event_report_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetEmailEventReport +# Unit tests for Brevo::GetEmailEventReport # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetEmailEventReport' do before do # run before each test - @instance = BrevoRuby::GetEmailEventReport.new + @instance = Brevo::GetEmailEventReport.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetEmailEventReport' do it 'should create an instance of GetEmailEventReport' do - expect(@instance).to be_instance_of(BrevoRuby::GetEmailEventReport) + expect(@instance).to be_instance_of(Brevo::GetEmailEventReport) end end describe 'test attribute "events"' do diff --git a/spec/models/get_extended_campaign_overview_sender_spec.rb b/spec/models/get_extended_campaign_overview_sender_spec.rb index 26249ab..eecae2e 100644 --- a/spec/models/get_extended_campaign_overview_sender_spec.rb +++ b/spec/models/get_extended_campaign_overview_sender_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedCampaignOverviewSender +# Unit tests for Brevo::GetExtendedCampaignOverviewSender # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedCampaignOverviewSender' do before do # run before each test - @instance = BrevoRuby::GetExtendedCampaignOverviewSender.new + @instance = Brevo::GetExtendedCampaignOverviewSender.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedCampaignOverviewSender' do it 'should create an instance of GetExtendedCampaignOverviewSender' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedCampaignOverviewSender) + expect(@instance).to be_instance_of(Brevo::GetExtendedCampaignOverviewSender) end end describe 'test attribute "name"' do diff --git a/spec/models/get_extended_campaign_overview_spec.rb b/spec/models/get_extended_campaign_overview_spec.rb index 7547e71..bed5292 100644 --- a/spec/models/get_extended_campaign_overview_spec.rb +++ b/spec/models/get_extended_campaign_overview_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedCampaignOverview +# Unit tests for Brevo::GetExtendedCampaignOverview # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedCampaignOverview' do before do # run before each test - @instance = BrevoRuby::GetExtendedCampaignOverview.new + @instance = Brevo::GetExtendedCampaignOverview.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedCampaignOverview' do it 'should create an instance of GetExtendedCampaignOverview' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedCampaignOverview) + expect(@instance).to be_instance_of(Brevo::GetExtendedCampaignOverview) end end describe 'test attribute "id"' do @@ -50,6 +50,12 @@ end end + describe 'test attribute "preview_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "type"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/spec/models/get_extended_campaign_stats_global_stats_spec.rb b/spec/models/get_extended_campaign_stats_global_stats_spec.rb index d773f6e..ab92d36 100644 --- a/spec/models/get_extended_campaign_stats_global_stats_spec.rb +++ b/spec/models/get_extended_campaign_stats_global_stats_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedCampaignStatsGlobalStats +# Unit tests for Brevo::GetExtendedCampaignStatsGlobalStats # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedCampaignStatsGlobalStats' do before do # run before each test - @instance = BrevoRuby::GetExtendedCampaignStatsGlobalStats.new + @instance = Brevo::GetExtendedCampaignStatsGlobalStats.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedCampaignStatsGlobalStats' do it 'should create an instance of GetExtendedCampaignStatsGlobalStats' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedCampaignStatsGlobalStats) + expect(@instance).to be_instance_of(Brevo::GetExtendedCampaignStatsGlobalStats) end end end diff --git a/spec/models/get_extended_campaign_stats_spec.rb b/spec/models/get_extended_campaign_stats_spec.rb index 981fd60..e9924d1 100644 --- a/spec/models/get_extended_campaign_stats_spec.rb +++ b/spec/models/get_extended_campaign_stats_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedCampaignStats +# Unit tests for Brevo::GetExtendedCampaignStats # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedCampaignStats' do before do # run before each test - @instance = BrevoRuby::GetExtendedCampaignStats.new + @instance = Brevo::GetExtendedCampaignStats.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedCampaignStats' do it 'should create an instance of GetExtendedCampaignStats' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedCampaignStats) + expect(@instance).to be_instance_of(Brevo::GetExtendedCampaignStats) end end describe 'test attribute "global_stats"' do diff --git a/spec/models/get_extended_client_address_spec.rb b/spec/models/get_extended_client_address_spec.rb index 01ec570..017c09b 100644 --- a/spec/models/get_extended_client_address_spec.rb +++ b/spec/models/get_extended_client_address_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedClientAddress +# Unit tests for Brevo::GetExtendedClientAddress # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedClientAddress' do before do # run before each test - @instance = BrevoRuby::GetExtendedClientAddress.new + @instance = Brevo::GetExtendedClientAddress.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedClientAddress' do it 'should create an instance of GetExtendedClientAddress' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedClientAddress) + expect(@instance).to be_instance_of(Brevo::GetExtendedClientAddress) end end describe 'test attribute "street"' do diff --git a/spec/models/get_extended_client_spec.rb b/spec/models/get_extended_client_spec.rb index 1a49070..e491d79 100644 --- a/spec/models/get_extended_client_spec.rb +++ b/spec/models/get_extended_client_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedClient +# Unit tests for Brevo::GetExtendedClient # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedClient' do before do # run before each test - @instance = BrevoRuby::GetExtendedClient.new + @instance = Brevo::GetExtendedClient.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedClient' do it 'should create an instance of GetExtendedClient' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedClient) + expect(@instance).to be_instance_of(Brevo::GetExtendedClient) end end describe 'test attribute "email"' do diff --git a/spec/models/get_extended_contact_details_spec.rb b/spec/models/get_extended_contact_details_spec.rb index 3b96305..d399646 100644 --- a/spec/models/get_extended_contact_details_spec.rb +++ b/spec/models/get_extended_contact_details_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedContactDetails +# Unit tests for Brevo::GetExtendedContactDetails # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedContactDetails' do before do # run before each test - @instance = BrevoRuby::GetExtendedContactDetails.new + @instance = Brevo::GetExtendedContactDetails.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedContactDetails' do it 'should create an instance of GetExtendedContactDetails' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedContactDetails) + expect(@instance).to be_instance_of(Brevo::GetExtendedContactDetails) end end describe 'test attribute "email"' do diff --git a/spec/models/get_extended_contact_details_statistics_clicked_spec.rb b/spec/models/get_extended_contact_details_statistics_clicked_spec.rb index 9d3e187..01535ab 100644 --- a/spec/models/get_extended_contact_details_statistics_clicked_spec.rb +++ b/spec/models/get_extended_contact_details_statistics_clicked_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedContactDetailsStatisticsClicked +# Unit tests for Brevo::GetExtendedContactDetailsStatisticsClicked # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedContactDetailsStatisticsClicked' do before do # run before each test - @instance = BrevoRuby::GetExtendedContactDetailsStatisticsClicked.new + @instance = Brevo::GetExtendedContactDetailsStatisticsClicked.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedContactDetailsStatisticsClicked' do it 'should create an instance of GetExtendedContactDetailsStatisticsClicked' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedContactDetailsStatisticsClicked) + expect(@instance).to be_instance_of(Brevo::GetExtendedContactDetailsStatisticsClicked) end end describe 'test attribute "campaign_id"' do diff --git a/spec/models/get_extended_contact_details_statistics_delivered_spec.rb b/spec/models/get_extended_contact_details_statistics_delivered_spec.rb index fe5a2bf..6949cda 100644 --- a/spec/models/get_extended_contact_details_statistics_delivered_spec.rb +++ b/spec/models/get_extended_contact_details_statistics_delivered_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedContactDetailsStatisticsDelivered +# Unit tests for Brevo::GetExtendedContactDetailsStatisticsDelivered # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedContactDetailsStatisticsDelivered' do before do # run before each test - @instance = BrevoRuby::GetExtendedContactDetailsStatisticsDelivered.new + @instance = Brevo::GetExtendedContactDetailsStatisticsDelivered.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedContactDetailsStatisticsDelivered' do it 'should create an instance of GetExtendedContactDetailsStatisticsDelivered' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedContactDetailsStatisticsDelivered) + expect(@instance).to be_instance_of(Brevo::GetExtendedContactDetailsStatisticsDelivered) end end describe 'test attribute "campaign_id"' do diff --git a/spec/models/get_extended_contact_details_statistics_links_spec.rb b/spec/models/get_extended_contact_details_statistics_links_spec.rb index d36ad7d..af15cfb 100644 --- a/spec/models/get_extended_contact_details_statistics_links_spec.rb +++ b/spec/models/get_extended_contact_details_statistics_links_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedContactDetailsStatisticsLinks +# Unit tests for Brevo::GetExtendedContactDetailsStatisticsLinks # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedContactDetailsStatisticsLinks' do before do # run before each test - @instance = BrevoRuby::GetExtendedContactDetailsStatisticsLinks.new + @instance = Brevo::GetExtendedContactDetailsStatisticsLinks.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedContactDetailsStatisticsLinks' do it 'should create an instance of GetExtendedContactDetailsStatisticsLinks' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedContactDetailsStatisticsLinks) + expect(@instance).to be_instance_of(Brevo::GetExtendedContactDetailsStatisticsLinks) end end describe 'test attribute "count"' do diff --git a/spec/models/get_extended_contact_details_statistics_messages_sent_spec.rb b/spec/models/get_extended_contact_details_statistics_messages_sent_spec.rb index 3e1c71a..4be8de7 100644 --- a/spec/models/get_extended_contact_details_statistics_messages_sent_spec.rb +++ b/spec/models/get_extended_contact_details_statistics_messages_sent_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedContactDetailsStatisticsMessagesSent +# Unit tests for Brevo::GetExtendedContactDetailsStatisticsMessagesSent # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedContactDetailsStatisticsMessagesSent' do before do # run before each test - @instance = BrevoRuby::GetExtendedContactDetailsStatisticsMessagesSent.new + @instance = Brevo::GetExtendedContactDetailsStatisticsMessagesSent.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedContactDetailsStatisticsMessagesSent' do it 'should create an instance of GetExtendedContactDetailsStatisticsMessagesSent' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedContactDetailsStatisticsMessagesSent) + expect(@instance).to be_instance_of(Brevo::GetExtendedContactDetailsStatisticsMessagesSent) end end describe 'test attribute "campaign_id"' do diff --git a/spec/models/get_extended_contact_details_statistics_opened_spec.rb b/spec/models/get_extended_contact_details_statistics_opened_spec.rb index 2295a65..c7ae183 100644 --- a/spec/models/get_extended_contact_details_statistics_opened_spec.rb +++ b/spec/models/get_extended_contact_details_statistics_opened_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedContactDetailsStatisticsOpened +# Unit tests for Brevo::GetExtendedContactDetailsStatisticsOpened # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedContactDetailsStatisticsOpened' do before do # run before each test - @instance = BrevoRuby::GetExtendedContactDetailsStatisticsOpened.new + @instance = Brevo::GetExtendedContactDetailsStatisticsOpened.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedContactDetailsStatisticsOpened' do it 'should create an instance of GetExtendedContactDetailsStatisticsOpened' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedContactDetailsStatisticsOpened) + expect(@instance).to be_instance_of(Brevo::GetExtendedContactDetailsStatisticsOpened) end end describe 'test attribute "campaign_id"' do diff --git a/spec/models/get_extended_contact_details_statistics_spec.rb b/spec/models/get_extended_contact_details_statistics_spec.rb index e506bf0..23247bf 100644 --- a/spec/models/get_extended_contact_details_statistics_spec.rb +++ b/spec/models/get_extended_contact_details_statistics_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedContactDetailsStatistics +# Unit tests for Brevo::GetExtendedContactDetailsStatistics # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedContactDetailsStatistics' do before do # run before each test - @instance = BrevoRuby::GetExtendedContactDetailsStatistics.new + @instance = Brevo::GetExtendedContactDetailsStatistics.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedContactDetailsStatistics' do it 'should create an instance of GetExtendedContactDetailsStatistics' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedContactDetailsStatistics) + expect(@instance).to be_instance_of(Brevo::GetExtendedContactDetailsStatistics) end end describe 'test attribute "messages_sent"' do diff --git a/spec/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription_spec.rb b/spec/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription_spec.rb index d0a503c..14314f3 100644 --- a/spec/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription_spec.rb +++ b/spec/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription +# Unit tests for Brevo::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription' do before do # run before each test - @instance = BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.new + @instance = Brevo::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription' do it 'should create an instance of GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription) + expect(@instance).to be_instance_of(Brevo::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription) end end describe 'test attribute "event_time"' do diff --git a/spec/models/get_extended_contact_details_statistics_unsubscriptions_spec.rb b/spec/models/get_extended_contact_details_statistics_unsubscriptions_spec.rb index adfcd61..66d79e6 100644 --- a/spec/models/get_extended_contact_details_statistics_unsubscriptions_spec.rb +++ b/spec/models/get_extended_contact_details_statistics_unsubscriptions_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptions +# Unit tests for Brevo::GetExtendedContactDetailsStatisticsUnsubscriptions # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedContactDetailsStatisticsUnsubscriptions' do before do # run before each test - @instance = BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptions.new + @instance = Brevo::GetExtendedContactDetailsStatisticsUnsubscriptions.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedContactDetailsStatisticsUnsubscriptions' do it 'should create an instance of GetExtendedContactDetailsStatisticsUnsubscriptions' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptions) + expect(@instance).to be_instance_of(Brevo::GetExtendedContactDetailsStatisticsUnsubscriptions) end end describe 'test attribute "user_unsubscription"' do diff --git a/spec/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription_spec.rb b/spec/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription_spec.rb index bb774e7..67d6859 100644 --- a/spec/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription_spec.rb +++ b/spec/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription +# Unit tests for Brevo::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription' do before do # run before each test - @instance = BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.new + @instance = Brevo::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription' do it 'should create an instance of GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription) + expect(@instance).to be_instance_of(Brevo::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription) end end describe 'test attribute "campaign_id"' do diff --git a/spec/models/get_extended_list_campaign_stats_spec.rb b/spec/models/get_extended_list_campaign_stats_spec.rb index f0f4e6c..831b20f 100644 --- a/spec/models/get_extended_list_campaign_stats_spec.rb +++ b/spec/models/get_extended_list_campaign_stats_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedListCampaignStats +# Unit tests for Brevo::GetExtendedListCampaignStats # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedListCampaignStats' do before do # run before each test - @instance = BrevoRuby::GetExtendedListCampaignStats.new + @instance = Brevo::GetExtendedListCampaignStats.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedListCampaignStats' do it 'should create an instance of GetExtendedListCampaignStats' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedListCampaignStats) + expect(@instance).to be_instance_of(Brevo::GetExtendedListCampaignStats) end end describe 'test attribute "campaign_id"' do diff --git a/spec/models/get_extended_list_spec.rb b/spec/models/get_extended_list_spec.rb index 535eb11..27b6d02 100644 --- a/spec/models/get_extended_list_spec.rb +++ b/spec/models/get_extended_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExtendedList +# Unit tests for Brevo::GetExtendedList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExtendedList' do before do # run before each test - @instance = BrevoRuby::GetExtendedList.new + @instance = Brevo::GetExtendedList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExtendedList' do it 'should create an instance of GetExtendedList' do - expect(@instance).to be_instance_of(BrevoRuby::GetExtendedList) + expect(@instance).to be_instance_of(Brevo::GetExtendedList) end end describe 'test attribute "id"' do diff --git a/spec/models/get_external_feed_by_uuid_headers_spec.rb b/spec/models/get_external_feed_by_uuid_headers_spec.rb index e027589..8e11ba3 100644 --- a/spec/models/get_external_feed_by_uuid_headers_spec.rb +++ b/spec/models/get_external_feed_by_uuid_headers_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExternalFeedByUUIDHeaders +# Unit tests for Brevo::GetExternalFeedByUUIDHeaders # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExternalFeedByUUIDHeaders' do before do # run before each test - @instance = BrevoRuby::GetExternalFeedByUUIDHeaders.new + @instance = Brevo::GetExternalFeedByUUIDHeaders.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExternalFeedByUUIDHeaders' do it 'should create an instance of GetExternalFeedByUUIDHeaders' do - expect(@instance).to be_instance_of(BrevoRuby::GetExternalFeedByUUIDHeaders) + expect(@instance).to be_instance_of(Brevo::GetExternalFeedByUUIDHeaders) end end describe 'test attribute "name"' do diff --git a/spec/models/get_external_feed_by_uuid_spec.rb b/spec/models/get_external_feed_by_uuid_spec.rb index 764687f..2efdc27 100644 --- a/spec/models/get_external_feed_by_uuid_spec.rb +++ b/spec/models/get_external_feed_by_uuid_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetExternalFeedByUUID +# Unit tests for Brevo::GetExternalFeedByUUID # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetExternalFeedByUUID' do before do # run before each test - @instance = BrevoRuby::GetExternalFeedByUUID.new + @instance = Brevo::GetExternalFeedByUUID.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetExternalFeedByUUID' do it 'should create an instance of GetExternalFeedByUUID' do - expect(@instance).to be_instance_of(BrevoRuby::GetExternalFeedByUUID) + expect(@instance).to be_instance_of(Brevo::GetExternalFeedByUUID) end end describe 'test attribute "id"' do diff --git a/spec/models/get_folder_lists_spec.rb b/spec/models/get_folder_lists_spec.rb index c5e99be..91e3c34 100644 --- a/spec/models/get_folder_lists_spec.rb +++ b/spec/models/get_folder_lists_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetFolderLists +# Unit tests for Brevo::GetFolderLists # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetFolderLists' do before do # run before each test - @instance = BrevoRuby::GetFolderLists.new + @instance = Brevo::GetFolderLists.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetFolderLists' do it 'should create an instance of GetFolderLists' do - expect(@instance).to be_instance_of(BrevoRuby::GetFolderLists) + expect(@instance).to be_instance_of(Brevo::GetFolderLists) end end describe 'test attribute "lists"' do diff --git a/spec/models/get_folder_spec.rb b/spec/models/get_folder_spec.rb index 44d8f3e..7054ce4 100644 --- a/spec/models/get_folder_spec.rb +++ b/spec/models/get_folder_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetFolder +# Unit tests for Brevo::GetFolder # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetFolder' do before do # run before each test - @instance = BrevoRuby::GetFolder.new + @instance = Brevo::GetFolder.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetFolder' do it 'should create an instance of GetFolder' do - expect(@instance).to be_instance_of(BrevoRuby::GetFolder) + expect(@instance).to be_instance_of(Brevo::GetFolder) end end describe 'test attribute "id"' do diff --git a/spec/models/get_folders_spec.rb b/spec/models/get_folders_spec.rb index ffdb3fd..d1917c0 100644 --- a/spec/models/get_folders_spec.rb +++ b/spec/models/get_folders_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetFolders +# Unit tests for Brevo::GetFolders # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetFolders' do before do # run before each test - @instance = BrevoRuby::GetFolders.new + @instance = Brevo::GetFolders.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetFolders' do it 'should create an instance of GetFolders' do - expect(@instance).to be_instance_of(BrevoRuby::GetFolders) + expect(@instance).to be_instance_of(Brevo::GetFolders) end end describe 'test attribute "folders"' do diff --git a/spec/models/get_inbound_email_events_by_uuid_attachments_spec.rb b/spec/models/get_inbound_email_events_by_uuid_attachments_spec.rb index 916ae65..76b5fcf 100644 --- a/spec/models/get_inbound_email_events_by_uuid_attachments_spec.rb +++ b/spec/models/get_inbound_email_events_by_uuid_attachments_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetInboundEmailEventsByUuidAttachments +# Unit tests for Brevo::GetInboundEmailEventsByUuidAttachments # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetInboundEmailEventsByUuidAttachments' do before do # run before each test - @instance = BrevoRuby::GetInboundEmailEventsByUuidAttachments.new + @instance = Brevo::GetInboundEmailEventsByUuidAttachments.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetInboundEmailEventsByUuidAttachments' do it 'should create an instance of GetInboundEmailEventsByUuidAttachments' do - expect(@instance).to be_instance_of(BrevoRuby::GetInboundEmailEventsByUuidAttachments) + expect(@instance).to be_instance_of(Brevo::GetInboundEmailEventsByUuidAttachments) end end describe 'test attribute "name"' do diff --git a/spec/models/get_inbound_email_events_by_uuid_logs_spec.rb b/spec/models/get_inbound_email_events_by_uuid_logs_spec.rb index f74657e..ff6642e 100644 --- a/spec/models/get_inbound_email_events_by_uuid_logs_spec.rb +++ b/spec/models/get_inbound_email_events_by_uuid_logs_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetInboundEmailEventsByUuidLogs +# Unit tests for Brevo::GetInboundEmailEventsByUuidLogs # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetInboundEmailEventsByUuidLogs' do before do # run before each test - @instance = BrevoRuby::GetInboundEmailEventsByUuidLogs.new + @instance = Brevo::GetInboundEmailEventsByUuidLogs.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetInboundEmailEventsByUuidLogs' do it 'should create an instance of GetInboundEmailEventsByUuidLogs' do - expect(@instance).to be_instance_of(BrevoRuby::GetInboundEmailEventsByUuidLogs) + expect(@instance).to be_instance_of(Brevo::GetInboundEmailEventsByUuidLogs) end end describe 'test attribute "date"' do diff --git a/spec/models/get_inbound_email_events_by_uuid_spec.rb b/spec/models/get_inbound_email_events_by_uuid_spec.rb index 098f029..43a4b1b 100644 --- a/spec/models/get_inbound_email_events_by_uuid_spec.rb +++ b/spec/models/get_inbound_email_events_by_uuid_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetInboundEmailEventsByUuid +# Unit tests for Brevo::GetInboundEmailEventsByUuid # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetInboundEmailEventsByUuid' do before do # run before each test - @instance = BrevoRuby::GetInboundEmailEventsByUuid.new + @instance = Brevo::GetInboundEmailEventsByUuid.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetInboundEmailEventsByUuid' do it 'should create an instance of GetInboundEmailEventsByUuid' do - expect(@instance).to be_instance_of(BrevoRuby::GetInboundEmailEventsByUuid) + expect(@instance).to be_instance_of(Brevo::GetInboundEmailEventsByUuid) end end describe 'test attribute "received_at"' do diff --git a/spec/models/get_inbound_email_events_events_spec.rb b/spec/models/get_inbound_email_events_events_spec.rb index 3630c52..f143bf2 100644 --- a/spec/models/get_inbound_email_events_events_spec.rb +++ b/spec/models/get_inbound_email_events_events_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetInboundEmailEventsEvents +# Unit tests for Brevo::GetInboundEmailEventsEvents # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetInboundEmailEventsEvents' do before do # run before each test - @instance = BrevoRuby::GetInboundEmailEventsEvents.new + @instance = Brevo::GetInboundEmailEventsEvents.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetInboundEmailEventsEvents' do it 'should create an instance of GetInboundEmailEventsEvents' do - expect(@instance).to be_instance_of(BrevoRuby::GetInboundEmailEventsEvents) + expect(@instance).to be_instance_of(Brevo::GetInboundEmailEventsEvents) end end describe 'test attribute "uuid"' do diff --git a/spec/models/get_inbound_email_events_spec.rb b/spec/models/get_inbound_email_events_spec.rb index 5392f23..ac318e8 100644 --- a/spec/models/get_inbound_email_events_spec.rb +++ b/spec/models/get_inbound_email_events_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetInboundEmailEvents +# Unit tests for Brevo::GetInboundEmailEvents # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetInboundEmailEvents' do before do # run before each test - @instance = BrevoRuby::GetInboundEmailEvents.new + @instance = Brevo::GetInboundEmailEvents.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetInboundEmailEvents' do it 'should create an instance of GetInboundEmailEvents' do - expect(@instance).to be_instance_of(BrevoRuby::GetInboundEmailEvents) + expect(@instance).to be_instance_of(Brevo::GetInboundEmailEvents) end end describe 'test attribute "events"' do diff --git a/spec/models/get_invited_users_list_feature_access_spec.rb b/spec/models/get_invited_users_list_feature_access_spec.rb index 0dba0ae..1d3a80c 100644 --- a/spec/models/get_invited_users_list_feature_access_spec.rb +++ b/spec/models/get_invited_users_list_feature_access_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetInvitedUsersListFeatureAccess +# Unit tests for Brevo::GetInvitedUsersListFeatureAccess # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetInvitedUsersListFeatureAccess' do before do # run before each test - @instance = BrevoRuby::GetInvitedUsersListFeatureAccess.new + @instance = Brevo::GetInvitedUsersListFeatureAccess.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetInvitedUsersListFeatureAccess' do it 'should create an instance of GetInvitedUsersListFeatureAccess' do - expect(@instance).to be_instance_of(BrevoRuby::GetInvitedUsersListFeatureAccess) + expect(@instance).to be_instance_of(Brevo::GetInvitedUsersListFeatureAccess) end end describe 'test attribute "marketing"' do diff --git a/spec/models/get_invited_users_list_spec.rb b/spec/models/get_invited_users_list_spec.rb index d6f9289..7434a75 100644 --- a/spec/models/get_invited_users_list_spec.rb +++ b/spec/models/get_invited_users_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetInvitedUsersList +# Unit tests for Brevo::GetInvitedUsersList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetInvitedUsersList' do before do # run before each test - @instance = BrevoRuby::GetInvitedUsersList.new + @instance = Brevo::GetInvitedUsersList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetInvitedUsersList' do it 'should create an instance of GetInvitedUsersList' do - expect(@instance).to be_instance_of(BrevoRuby::GetInvitedUsersList) + expect(@instance).to be_instance_of(Brevo::GetInvitedUsersList) end end describe 'test attribute "users"' do diff --git a/spec/models/get_invited_users_list_users_spec.rb b/spec/models/get_invited_users_list_users_spec.rb index f132543..142e492 100644 --- a/spec/models/get_invited_users_list_users_spec.rb +++ b/spec/models/get_invited_users_list_users_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetInvitedUsersListUsers +# Unit tests for Brevo::GetInvitedUsersListUsers # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetInvitedUsersListUsers' do before do # run before each test - @instance = BrevoRuby::GetInvitedUsersListUsers.new + @instance = Brevo::GetInvitedUsersListUsers.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetInvitedUsersListUsers' do it 'should create an instance of GetInvitedUsersListUsers' do - expect(@instance).to be_instance_of(BrevoRuby::GetInvitedUsersListUsers) + expect(@instance).to be_instance_of(Brevo::GetInvitedUsersListUsers) end end describe 'test attribute "email"' do diff --git a/spec/models/get_ip_from_sender_spec.rb b/spec/models/get_ip_from_sender_spec.rb index 65aae54..6266eb0 100644 --- a/spec/models/get_ip_from_sender_spec.rb +++ b/spec/models/get_ip_from_sender_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetIpFromSender +# Unit tests for Brevo::GetIpFromSender # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetIpFromSender' do before do # run before each test - @instance = BrevoRuby::GetIpFromSender.new + @instance = Brevo::GetIpFromSender.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetIpFromSender' do it 'should create an instance of GetIpFromSender' do - expect(@instance).to be_instance_of(BrevoRuby::GetIpFromSender) + expect(@instance).to be_instance_of(Brevo::GetIpFromSender) end end describe 'test attribute "id"' do diff --git a/spec/models/get_ip_spec.rb b/spec/models/get_ip_spec.rb index f0eee7c..c443247 100644 --- a/spec/models/get_ip_spec.rb +++ b/spec/models/get_ip_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetIp +# Unit tests for Brevo::GetIp # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetIp' do before do # run before each test - @instance = BrevoRuby::GetIp.new + @instance = Brevo::GetIp.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetIp' do it 'should create an instance of GetIp' do - expect(@instance).to be_instance_of(BrevoRuby::GetIp) + expect(@instance).to be_instance_of(Brevo::GetIp) end end describe 'test attribute "id"' do diff --git a/spec/models/get_ips_from_sender_spec.rb b/spec/models/get_ips_from_sender_spec.rb index 67ed584..61e6cf0 100644 --- a/spec/models/get_ips_from_sender_spec.rb +++ b/spec/models/get_ips_from_sender_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetIpsFromSender +# Unit tests for Brevo::GetIpsFromSender # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetIpsFromSender' do before do # run before each test - @instance = BrevoRuby::GetIpsFromSender.new + @instance = Brevo::GetIpsFromSender.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetIpsFromSender' do it 'should create an instance of GetIpsFromSender' do - expect(@instance).to be_instance_of(BrevoRuby::GetIpsFromSender) + expect(@instance).to be_instance_of(Brevo::GetIpsFromSender) end end describe 'test attribute "ips"' do diff --git a/spec/models/get_ips_spec.rb b/spec/models/get_ips_spec.rb index 982a540..2881b49 100644 --- a/spec/models/get_ips_spec.rb +++ b/spec/models/get_ips_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetIps +# Unit tests for Brevo::GetIps # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetIps' do before do # run before each test - @instance = BrevoRuby::GetIps.new + @instance = Brevo::GetIps.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetIps' do it 'should create an instance of GetIps' do - expect(@instance).to be_instance_of(BrevoRuby::GetIps) + expect(@instance).to be_instance_of(Brevo::GetIps) end end describe 'test attribute "ips"' do diff --git a/spec/models/get_list_spec.rb b/spec/models/get_list_spec.rb index de04a1e..9affa7f 100644 --- a/spec/models/get_list_spec.rb +++ b/spec/models/get_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetList +# Unit tests for Brevo::GetList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetList' do before do # run before each test - @instance = BrevoRuby::GetList.new + @instance = Brevo::GetList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetList' do it 'should create an instance of GetList' do - expect(@instance).to be_instance_of(BrevoRuby::GetList) + expect(@instance).to be_instance_of(Brevo::GetList) end end describe 'test attribute "id"' do diff --git a/spec/models/get_lists_spec.rb b/spec/models/get_lists_spec.rb index 50fa712..3d041b8 100644 --- a/spec/models/get_lists_spec.rb +++ b/spec/models/get_lists_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetLists +# Unit tests for Brevo::GetLists # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetLists' do before do # run before each test - @instance = BrevoRuby::GetLists.new + @instance = Brevo::GetLists.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetLists' do it 'should create an instance of GetLists' do - expect(@instance).to be_instance_of(BrevoRuby::GetLists) + expect(@instance).to be_instance_of(Brevo::GetLists) end end describe 'test attribute "lists"' do diff --git a/spec/models/get_process_spec.rb b/spec/models/get_process_spec.rb index 5d83a07..403e034 100644 --- a/spec/models/get_process_spec.rb +++ b/spec/models/get_process_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetProcess +# Unit tests for Brevo::GetProcess # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetProcess' do before do # run before each test - @instance = BrevoRuby::GetProcess.new + @instance = Brevo::GetProcess.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetProcess' do it 'should create an instance of GetProcess' do - expect(@instance).to be_instance_of(BrevoRuby::GetProcess) + expect(@instance).to be_instance_of(Brevo::GetProcess) end end describe 'test attribute "id"' do diff --git a/spec/models/get_processes_spec.rb b/spec/models/get_processes_spec.rb index 42878b2..5848e5a 100644 --- a/spec/models/get_processes_spec.rb +++ b/spec/models/get_processes_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetProcesses +# Unit tests for Brevo::GetProcesses # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetProcesses' do before do # run before each test - @instance = BrevoRuby::GetProcesses.new + @instance = Brevo::GetProcesses.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetProcesses' do it 'should create an instance of GetProcesses' do - expect(@instance).to be_instance_of(BrevoRuby::GetProcesses) + expect(@instance).to be_instance_of(Brevo::GetProcesses) end end describe 'test attribute "processes"' do diff --git a/spec/models/get_product_details_spec.rb b/spec/models/get_product_details_spec.rb index c7e638f..1bfb30a 100644 --- a/spec/models/get_product_details_spec.rb +++ b/spec/models/get_product_details_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetProductDetails +# Unit tests for Brevo::GetProductDetails # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetProductDetails' do before do # run before each test - @instance = BrevoRuby::GetProductDetails.new + @instance = Brevo::GetProductDetails.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetProductDetails' do it 'should create an instance of GetProductDetails' do - expect(@instance).to be_instance_of(BrevoRuby::GetProductDetails) + expect(@instance).to be_instance_of(Brevo::GetProductDetails) end end describe 'test attribute "id"' do diff --git a/spec/models/get_products_spec.rb b/spec/models/get_products_spec.rb index 4f43fc5..88f0541 100644 --- a/spec/models/get_products_spec.rb +++ b/spec/models/get_products_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetProducts +# Unit tests for Brevo::GetProducts # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetProducts' do before do # run before each test - @instance = BrevoRuby::GetProducts.new + @instance = Brevo::GetProducts.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetProducts' do it 'should create an instance of GetProducts' do - expect(@instance).to be_instance_of(BrevoRuby::GetProducts) + expect(@instance).to be_instance_of(Brevo::GetProducts) end end describe 'test attribute "products"' do diff --git a/spec/models/get_reports_reports_spec.rb b/spec/models/get_reports_reports_spec.rb index d205147..3c997ec 100644 --- a/spec/models/get_reports_reports_spec.rb +++ b/spec/models/get_reports_reports_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetReportsReports +# Unit tests for Brevo::GetReportsReports # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetReportsReports' do before do # run before each test - @instance = BrevoRuby::GetReportsReports.new + @instance = Brevo::GetReportsReports.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetReportsReports' do it 'should create an instance of GetReportsReports' do - expect(@instance).to be_instance_of(BrevoRuby::GetReportsReports) + expect(@instance).to be_instance_of(Brevo::GetReportsReports) end end describe 'test attribute "date"' do diff --git a/spec/models/get_reports_spec.rb b/spec/models/get_reports_spec.rb index ccd7b7d..09022d1 100644 --- a/spec/models/get_reports_spec.rb +++ b/spec/models/get_reports_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetReports +# Unit tests for Brevo::GetReports # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetReports' do before do # run before each test - @instance = BrevoRuby::GetReports.new + @instance = Brevo::GetReports.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetReports' do it 'should create an instance of GetReports' do - expect(@instance).to be_instance_of(BrevoRuby::GetReports) + expect(@instance).to be_instance_of(Brevo::GetReports) end end describe 'test attribute "reports"' do diff --git a/spec/models/get_scheduled_email_by_batch_id_batches_spec.rb b/spec/models/get_scheduled_email_by_batch_id_batches_spec.rb index a3fda45..e2e4fac 100644 --- a/spec/models/get_scheduled_email_by_batch_id_batches_spec.rb +++ b/spec/models/get_scheduled_email_by_batch_id_batches_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetScheduledEmailByBatchIdBatches +# Unit tests for Brevo::GetScheduledEmailByBatchIdBatches # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetScheduledEmailByBatchIdBatches' do before do # run before each test - @instance = BrevoRuby::GetScheduledEmailByBatchIdBatches.new + @instance = Brevo::GetScheduledEmailByBatchIdBatches.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetScheduledEmailByBatchIdBatches' do it 'should create an instance of GetScheduledEmailByBatchIdBatches' do - expect(@instance).to be_instance_of(BrevoRuby::GetScheduledEmailByBatchIdBatches) + expect(@instance).to be_instance_of(Brevo::GetScheduledEmailByBatchIdBatches) end end describe 'test attribute "scheduled_at"' do diff --git a/spec/models/get_scheduled_email_by_batch_id_spec.rb b/spec/models/get_scheduled_email_by_batch_id_spec.rb index 1b9abae..13addb1 100644 --- a/spec/models/get_scheduled_email_by_batch_id_spec.rb +++ b/spec/models/get_scheduled_email_by_batch_id_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetScheduledEmailByBatchId +# Unit tests for Brevo::GetScheduledEmailByBatchId # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetScheduledEmailByBatchId' do before do # run before each test - @instance = BrevoRuby::GetScheduledEmailByBatchId.new + @instance = Brevo::GetScheduledEmailByBatchId.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetScheduledEmailByBatchId' do it 'should create an instance of GetScheduledEmailByBatchId' do - expect(@instance).to be_instance_of(BrevoRuby::GetScheduledEmailByBatchId) + expect(@instance).to be_instance_of(Brevo::GetScheduledEmailByBatchId) end end describe 'test attribute "count"' do diff --git a/spec/models/get_scheduled_email_by_message_id_spec.rb b/spec/models/get_scheduled_email_by_message_id_spec.rb index f02464a..221e0a7 100644 --- a/spec/models/get_scheduled_email_by_message_id_spec.rb +++ b/spec/models/get_scheduled_email_by_message_id_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetScheduledEmailByMessageId +# Unit tests for Brevo::GetScheduledEmailByMessageId # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetScheduledEmailByMessageId' do before do # run before each test - @instance = BrevoRuby::GetScheduledEmailByMessageId.new + @instance = Brevo::GetScheduledEmailByMessageId.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetScheduledEmailByMessageId' do it 'should create an instance of GetScheduledEmailByMessageId' do - expect(@instance).to be_instance_of(BrevoRuby::GetScheduledEmailByMessageId) + expect(@instance).to be_instance_of(Brevo::GetScheduledEmailByMessageId) end end describe 'test attribute "scheduled_at"' do diff --git a/spec/models/get_segments_segments_spec.rb b/spec/models/get_segments_segments_spec.rb index f53da95..b5b568a 100644 --- a/spec/models/get_segments_segments_spec.rb +++ b/spec/models/get_segments_segments_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSegmentsSegments +# Unit tests for Brevo::GetSegmentsSegments # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSegmentsSegments' do before do # run before each test - @instance = BrevoRuby::GetSegmentsSegments.new + @instance = Brevo::GetSegmentsSegments.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSegmentsSegments' do it 'should create an instance of GetSegmentsSegments' do - expect(@instance).to be_instance_of(BrevoRuby::GetSegmentsSegments) + expect(@instance).to be_instance_of(Brevo::GetSegmentsSegments) end end describe 'test attribute "id"' do diff --git a/spec/models/get_segments_spec.rb b/spec/models/get_segments_spec.rb index 79e55ab..4efe550 100644 --- a/spec/models/get_segments_spec.rb +++ b/spec/models/get_segments_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSegments +# Unit tests for Brevo::GetSegments # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSegments' do before do # run before each test - @instance = BrevoRuby::GetSegments.new + @instance = Brevo::GetSegments.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSegments' do it 'should create an instance of GetSegments' do - expect(@instance).to be_instance_of(BrevoRuby::GetSegments) + expect(@instance).to be_instance_of(Brevo::GetSegments) end end describe 'test attribute "segments"' do diff --git a/spec/models/get_senders_list_ips_spec.rb b/spec/models/get_senders_list_ips_spec.rb index 321c447..7a1db45 100644 --- a/spec/models/get_senders_list_ips_spec.rb +++ b/spec/models/get_senders_list_ips_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSendersListIps +# Unit tests for Brevo::GetSendersListIps # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSendersListIps' do before do # run before each test - @instance = BrevoRuby::GetSendersListIps.new + @instance = Brevo::GetSendersListIps.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSendersListIps' do it 'should create an instance of GetSendersListIps' do - expect(@instance).to be_instance_of(BrevoRuby::GetSendersListIps) + expect(@instance).to be_instance_of(Brevo::GetSendersListIps) end end describe 'test attribute "ip"' do diff --git a/spec/models/get_senders_list_senders_spec.rb b/spec/models/get_senders_list_senders_spec.rb index d81f40b..dd203a9 100644 --- a/spec/models/get_senders_list_senders_spec.rb +++ b/spec/models/get_senders_list_senders_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSendersListSenders +# Unit tests for Brevo::GetSendersListSenders # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSendersListSenders' do before do # run before each test - @instance = BrevoRuby::GetSendersListSenders.new + @instance = Brevo::GetSendersListSenders.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSendersListSenders' do it 'should create an instance of GetSendersListSenders' do - expect(@instance).to be_instance_of(BrevoRuby::GetSendersListSenders) + expect(@instance).to be_instance_of(Brevo::GetSendersListSenders) end end describe 'test attribute "id"' do diff --git a/spec/models/get_senders_list_spec.rb b/spec/models/get_senders_list_spec.rb index 89c291a..930890f 100644 --- a/spec/models/get_senders_list_spec.rb +++ b/spec/models/get_senders_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSendersList +# Unit tests for Brevo::GetSendersList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSendersList' do before do # run before each test - @instance = BrevoRuby::GetSendersList.new + @instance = Brevo::GetSendersList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSendersList' do it 'should create an instance of GetSendersList' do - expect(@instance).to be_instance_of(BrevoRuby::GetSendersList) + expect(@instance).to be_instance_of(Brevo::GetSendersList) end end describe 'test attribute "senders"' do diff --git a/spec/models/get_shared_template_url_spec.rb b/spec/models/get_shared_template_url_spec.rb index 4d1a7fa..a097a38 100644 --- a/spec/models/get_shared_template_url_spec.rb +++ b/spec/models/get_shared_template_url_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSharedTemplateUrl +# Unit tests for Brevo::GetSharedTemplateUrl # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSharedTemplateUrl' do before do # run before each test - @instance = BrevoRuby::GetSharedTemplateUrl.new + @instance = Brevo::GetSharedTemplateUrl.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSharedTemplateUrl' do it 'should create an instance of GetSharedTemplateUrl' do - expect(@instance).to be_instance_of(BrevoRuby::GetSharedTemplateUrl) + expect(@instance).to be_instance_of(Brevo::GetSharedTemplateUrl) end end describe 'test attribute "shared_url"' do diff --git a/spec/models/get_sms_campaign_overview_spec.rb b/spec/models/get_sms_campaign_overview_spec.rb index 1fd4c1d..abafba6 100644 --- a/spec/models/get_sms_campaign_overview_spec.rb +++ b/spec/models/get_sms_campaign_overview_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSmsCampaignOverview +# Unit tests for Brevo::GetSmsCampaignOverview # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSmsCampaignOverview' do before do # run before each test - @instance = BrevoRuby::GetSmsCampaignOverview.new + @instance = Brevo::GetSmsCampaignOverview.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSmsCampaignOverview' do it 'should create an instance of GetSmsCampaignOverview' do - expect(@instance).to be_instance_of(BrevoRuby::GetSmsCampaignOverview) + expect(@instance).to be_instance_of(Brevo::GetSmsCampaignOverview) end end describe 'test attribute "id"' do diff --git a/spec/models/get_sms_campaign_recipients_spec.rb b/spec/models/get_sms_campaign_recipients_spec.rb index 713be14..606dadf 100644 --- a/spec/models/get_sms_campaign_recipients_spec.rb +++ b/spec/models/get_sms_campaign_recipients_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSmsCampaignRecipients +# Unit tests for Brevo::GetSmsCampaignRecipients # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSmsCampaignRecipients' do before do # run before each test - @instance = BrevoRuby::GetSmsCampaignRecipients.new + @instance = Brevo::GetSmsCampaignRecipients.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSmsCampaignRecipients' do it 'should create an instance of GetSmsCampaignRecipients' do - expect(@instance).to be_instance_of(BrevoRuby::GetSmsCampaignRecipients) + expect(@instance).to be_instance_of(Brevo::GetSmsCampaignRecipients) end end end diff --git a/spec/models/get_sms_campaign_spec.rb b/spec/models/get_sms_campaign_spec.rb index cdfecc7..9acde67 100644 --- a/spec/models/get_sms_campaign_spec.rb +++ b/spec/models/get_sms_campaign_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSmsCampaign +# Unit tests for Brevo::GetSmsCampaign # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSmsCampaign' do before do # run before each test - @instance = BrevoRuby::GetSmsCampaign.new + @instance = Brevo::GetSmsCampaign.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSmsCampaign' do it 'should create an instance of GetSmsCampaign' do - expect(@instance).to be_instance_of(BrevoRuby::GetSmsCampaign) + expect(@instance).to be_instance_of(Brevo::GetSmsCampaign) end end describe 'test attribute "id"' do diff --git a/spec/models/get_sms_campaign_stats_spec.rb b/spec/models/get_sms_campaign_stats_spec.rb index d0105b1..52e5dcb 100644 --- a/spec/models/get_sms_campaign_stats_spec.rb +++ b/spec/models/get_sms_campaign_stats_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSmsCampaignStats +# Unit tests for Brevo::GetSmsCampaignStats # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSmsCampaignStats' do before do # run before each test - @instance = BrevoRuby::GetSmsCampaignStats.new + @instance = Brevo::GetSmsCampaignStats.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSmsCampaignStats' do it 'should create an instance of GetSmsCampaignStats' do - expect(@instance).to be_instance_of(BrevoRuby::GetSmsCampaignStats) + expect(@instance).to be_instance_of(Brevo::GetSmsCampaignStats) end end describe 'test attribute "delivered"' do diff --git a/spec/models/get_sms_campaigns_spec.rb b/spec/models/get_sms_campaigns_spec.rb index 3ed453f..6467235 100644 --- a/spec/models/get_sms_campaigns_spec.rb +++ b/spec/models/get_sms_campaigns_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSmsCampaigns +# Unit tests for Brevo::GetSmsCampaigns # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSmsCampaigns' do before do # run before each test - @instance = BrevoRuby::GetSmsCampaigns.new + @instance = Brevo::GetSmsCampaigns.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSmsCampaigns' do it 'should create an instance of GetSmsCampaigns' do - expect(@instance).to be_instance_of(BrevoRuby::GetSmsCampaigns) + expect(@instance).to be_instance_of(Brevo::GetSmsCampaigns) end end describe 'test attribute "campaigns"' do diff --git a/spec/models/get_sms_event_report_events_spec.rb b/spec/models/get_sms_event_report_events_spec.rb index 84a4546..5041dac 100644 --- a/spec/models/get_sms_event_report_events_spec.rb +++ b/spec/models/get_sms_event_report_events_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSmsEventReportEvents +# Unit tests for Brevo::GetSmsEventReportEvents # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSmsEventReportEvents' do before do # run before each test - @instance = BrevoRuby::GetSmsEventReportEvents.new + @instance = Brevo::GetSmsEventReportEvents.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSmsEventReportEvents' do it 'should create an instance of GetSmsEventReportEvents' do - expect(@instance).to be_instance_of(BrevoRuby::GetSmsEventReportEvents) + expect(@instance).to be_instance_of(Brevo::GetSmsEventReportEvents) end end describe 'test attribute "phone_number"' do diff --git a/spec/models/get_sms_event_report_spec.rb b/spec/models/get_sms_event_report_spec.rb index 898828f..7018fa2 100644 --- a/spec/models/get_sms_event_report_spec.rb +++ b/spec/models/get_sms_event_report_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSmsEventReport +# Unit tests for Brevo::GetSmsEventReport # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSmsEventReport' do before do # run before each test - @instance = BrevoRuby::GetSmsEventReport.new + @instance = Brevo::GetSmsEventReport.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSmsEventReport' do it 'should create an instance of GetSmsEventReport' do - expect(@instance).to be_instance_of(BrevoRuby::GetSmsEventReport) + expect(@instance).to be_instance_of(Brevo::GetSmsEventReport) end end describe 'test attribute "events"' do diff --git a/spec/models/get_smtp_template_overview_sender_spec.rb b/spec/models/get_smtp_template_overview_sender_spec.rb index 4b27ede..03f39a6 100644 --- a/spec/models/get_smtp_template_overview_sender_spec.rb +++ b/spec/models/get_smtp_template_overview_sender_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSmtpTemplateOverviewSender +# Unit tests for Brevo::GetSmtpTemplateOverviewSender # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSmtpTemplateOverviewSender' do before do # run before each test - @instance = BrevoRuby::GetSmtpTemplateOverviewSender.new + @instance = Brevo::GetSmtpTemplateOverviewSender.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSmtpTemplateOverviewSender' do it 'should create an instance of GetSmtpTemplateOverviewSender' do - expect(@instance).to be_instance_of(BrevoRuby::GetSmtpTemplateOverviewSender) + expect(@instance).to be_instance_of(Brevo::GetSmtpTemplateOverviewSender) end end describe 'test attribute "name"' do diff --git a/spec/models/get_smtp_template_overview_spec.rb b/spec/models/get_smtp_template_overview_spec.rb index 84f8355..0fef436 100644 --- a/spec/models/get_smtp_template_overview_spec.rb +++ b/spec/models/get_smtp_template_overview_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSmtpTemplateOverview +# Unit tests for Brevo::GetSmtpTemplateOverview # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSmtpTemplateOverview' do before do # run before each test - @instance = BrevoRuby::GetSmtpTemplateOverview.new + @instance = Brevo::GetSmtpTemplateOverview.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSmtpTemplateOverview' do it 'should create an instance of GetSmtpTemplateOverview' do - expect(@instance).to be_instance_of(BrevoRuby::GetSmtpTemplateOverview) + expect(@instance).to be_instance_of(Brevo::GetSmtpTemplateOverview) end end describe 'test attribute "id"' do diff --git a/spec/models/get_smtp_templates_spec.rb b/spec/models/get_smtp_templates_spec.rb index 51c2b71..f00a8db 100644 --- a/spec/models/get_smtp_templates_spec.rb +++ b/spec/models/get_smtp_templates_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSmtpTemplates +# Unit tests for Brevo::GetSmtpTemplates # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSmtpTemplates' do before do # run before each test - @instance = BrevoRuby::GetSmtpTemplates.new + @instance = Brevo::GetSmtpTemplates.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSmtpTemplates' do it 'should create an instance of GetSmtpTemplates' do - expect(@instance).to be_instance_of(BrevoRuby::GetSmtpTemplates) + expect(@instance).to be_instance_of(Brevo::GetSmtpTemplates) end end describe 'test attribute "count"' do diff --git a/spec/models/get_sso_token_spec.rb b/spec/models/get_sso_token_spec.rb index 7bbabb6..2352684 100644 --- a/spec/models/get_sso_token_spec.rb +++ b/spec/models/get_sso_token_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetSsoToken +# Unit tests for Brevo::GetSsoToken # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetSsoToken' do before do # run before each test - @instance = BrevoRuby::GetSsoToken.new + @instance = Brevo::GetSsoToken.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetSsoToken' do it 'should create an instance of GetSsoToken' do - expect(@instance).to be_instance_of(BrevoRuby::GetSsoToken) + expect(@instance).to be_instance_of(Brevo::GetSsoToken) end end describe 'test attribute "token"' do diff --git a/spec/models/get_stats_by_browser_spec.rb b/spec/models/get_stats_by_browser_spec.rb index 50e7e1d..a4c0c8a 100644 --- a/spec/models/get_stats_by_browser_spec.rb +++ b/spec/models/get_stats_by_browser_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetStatsByBrowser +# Unit tests for Brevo::GetStatsByBrowser # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetStatsByBrowser' do before do # run before each test - @instance = BrevoRuby::GetStatsByBrowser.new + @instance = Brevo::GetStatsByBrowser.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetStatsByBrowser' do it 'should create an instance of GetStatsByBrowser' do - expect(@instance).to be_instance_of(BrevoRuby::GetStatsByBrowser) + expect(@instance).to be_instance_of(Brevo::GetStatsByBrowser) end end end diff --git a/spec/models/get_stats_by_device_spec.rb b/spec/models/get_stats_by_device_spec.rb index f7b2584..2db42e7 100644 --- a/spec/models/get_stats_by_device_spec.rb +++ b/spec/models/get_stats_by_device_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetStatsByDevice +# Unit tests for Brevo::GetStatsByDevice # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetStatsByDevice' do before do # run before each test - @instance = BrevoRuby::GetStatsByDevice.new + @instance = Brevo::GetStatsByDevice.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetStatsByDevice' do it 'should create an instance of GetStatsByDevice' do - expect(@instance).to be_instance_of(BrevoRuby::GetStatsByDevice) + expect(@instance).to be_instance_of(Brevo::GetStatsByDevice) end end describe 'test attribute "desktop"' do diff --git a/spec/models/get_stats_by_domain_spec.rb b/spec/models/get_stats_by_domain_spec.rb index 7c67a0f..30c318b 100644 --- a/spec/models/get_stats_by_domain_spec.rb +++ b/spec/models/get_stats_by_domain_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetStatsByDomain +# Unit tests for Brevo::GetStatsByDomain # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetStatsByDomain' do before do # run before each test - @instance = BrevoRuby::GetStatsByDomain.new + @instance = Brevo::GetStatsByDomain.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetStatsByDomain' do it 'should create an instance of GetStatsByDomain' do - expect(@instance).to be_instance_of(BrevoRuby::GetStatsByDomain) + expect(@instance).to be_instance_of(Brevo::GetStatsByDomain) end end end diff --git a/spec/models/get_transac_aggregated_sms_report_spec.rb b/spec/models/get_transac_aggregated_sms_report_spec.rb index db1741a..abd5781 100644 --- a/spec/models/get_transac_aggregated_sms_report_spec.rb +++ b/spec/models/get_transac_aggregated_sms_report_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetTransacAggregatedSmsReport +# Unit tests for Brevo::GetTransacAggregatedSmsReport # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetTransacAggregatedSmsReport' do before do # run before each test - @instance = BrevoRuby::GetTransacAggregatedSmsReport.new + @instance = Brevo::GetTransacAggregatedSmsReport.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetTransacAggregatedSmsReport' do it 'should create an instance of GetTransacAggregatedSmsReport' do - expect(@instance).to be_instance_of(BrevoRuby::GetTransacAggregatedSmsReport) + expect(@instance).to be_instance_of(Brevo::GetTransacAggregatedSmsReport) end end describe 'test attribute "range"' do diff --git a/spec/models/get_transac_blocked_contacts_contacts_spec.rb b/spec/models/get_transac_blocked_contacts_contacts_spec.rb index 456ff4d..f54afd8 100644 --- a/spec/models/get_transac_blocked_contacts_contacts_spec.rb +++ b/spec/models/get_transac_blocked_contacts_contacts_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetTransacBlockedContactsContacts +# Unit tests for Brevo::GetTransacBlockedContactsContacts # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetTransacBlockedContactsContacts' do before do # run before each test - @instance = BrevoRuby::GetTransacBlockedContactsContacts.new + @instance = Brevo::GetTransacBlockedContactsContacts.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetTransacBlockedContactsContacts' do it 'should create an instance of GetTransacBlockedContactsContacts' do - expect(@instance).to be_instance_of(BrevoRuby::GetTransacBlockedContactsContacts) + expect(@instance).to be_instance_of(Brevo::GetTransacBlockedContactsContacts) end end describe 'test attribute "email"' do diff --git a/spec/models/get_transac_blocked_contacts_reason_spec.rb b/spec/models/get_transac_blocked_contacts_reason_spec.rb index f072a44..7591d29 100644 --- a/spec/models/get_transac_blocked_contacts_reason_spec.rb +++ b/spec/models/get_transac_blocked_contacts_reason_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetTransacBlockedContactsReason +# Unit tests for Brevo::GetTransacBlockedContactsReason # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetTransacBlockedContactsReason' do before do # run before each test - @instance = BrevoRuby::GetTransacBlockedContactsReason.new + @instance = Brevo::GetTransacBlockedContactsReason.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetTransacBlockedContactsReason' do it 'should create an instance of GetTransacBlockedContactsReason' do - expect(@instance).to be_instance_of(BrevoRuby::GetTransacBlockedContactsReason) + expect(@instance).to be_instance_of(Brevo::GetTransacBlockedContactsReason) end end describe 'test attribute "code"' do diff --git a/spec/models/get_transac_blocked_contacts_spec.rb b/spec/models/get_transac_blocked_contacts_spec.rb index 68f2435..d9ee0df 100644 --- a/spec/models/get_transac_blocked_contacts_spec.rb +++ b/spec/models/get_transac_blocked_contacts_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetTransacBlockedContacts +# Unit tests for Brevo::GetTransacBlockedContacts # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetTransacBlockedContacts' do before do # run before each test - @instance = BrevoRuby::GetTransacBlockedContacts.new + @instance = Brevo::GetTransacBlockedContacts.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetTransacBlockedContacts' do it 'should create an instance of GetTransacBlockedContacts' do - expect(@instance).to be_instance_of(BrevoRuby::GetTransacBlockedContacts) + expect(@instance).to be_instance_of(Brevo::GetTransacBlockedContacts) end end describe 'test attribute "count"' do diff --git a/spec/models/get_transac_email_content_events_spec.rb b/spec/models/get_transac_email_content_events_spec.rb index 3bdb23b..40caaed 100644 --- a/spec/models/get_transac_email_content_events_spec.rb +++ b/spec/models/get_transac_email_content_events_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetTransacEmailContentEvents +# Unit tests for Brevo::GetTransacEmailContentEvents # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetTransacEmailContentEvents' do before do # run before each test - @instance = BrevoRuby::GetTransacEmailContentEvents.new + @instance = Brevo::GetTransacEmailContentEvents.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetTransacEmailContentEvents' do it 'should create an instance of GetTransacEmailContentEvents' do - expect(@instance).to be_instance_of(BrevoRuby::GetTransacEmailContentEvents) + expect(@instance).to be_instance_of(Brevo::GetTransacEmailContentEvents) end end describe 'test attribute "name"' do diff --git a/spec/models/get_transac_email_content_spec.rb b/spec/models/get_transac_email_content_spec.rb index f72cbdd..667e2e0 100644 --- a/spec/models/get_transac_email_content_spec.rb +++ b/spec/models/get_transac_email_content_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetTransacEmailContent +# Unit tests for Brevo::GetTransacEmailContent # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetTransacEmailContent' do before do # run before each test - @instance = BrevoRuby::GetTransacEmailContent.new + @instance = Brevo::GetTransacEmailContent.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetTransacEmailContent' do it 'should create an instance of GetTransacEmailContent' do - expect(@instance).to be_instance_of(BrevoRuby::GetTransacEmailContent) + expect(@instance).to be_instance_of(Brevo::GetTransacEmailContent) end end describe 'test attribute "email"' do diff --git a/spec/models/get_transac_emails_list_spec.rb b/spec/models/get_transac_emails_list_spec.rb index 43de236..1591840 100644 --- a/spec/models/get_transac_emails_list_spec.rb +++ b/spec/models/get_transac_emails_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetTransacEmailsList +# Unit tests for Brevo::GetTransacEmailsList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetTransacEmailsList' do before do # run before each test - @instance = BrevoRuby::GetTransacEmailsList.new + @instance = Brevo::GetTransacEmailsList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetTransacEmailsList' do it 'should create an instance of GetTransacEmailsList' do - expect(@instance).to be_instance_of(BrevoRuby::GetTransacEmailsList) + expect(@instance).to be_instance_of(Brevo::GetTransacEmailsList) end end describe 'test attribute "count"' do diff --git a/spec/models/get_transac_emails_list_transactional_emails_spec.rb b/spec/models/get_transac_emails_list_transactional_emails_spec.rb index 3c36be9..5025dbe 100644 --- a/spec/models/get_transac_emails_list_transactional_emails_spec.rb +++ b/spec/models/get_transac_emails_list_transactional_emails_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetTransacEmailsListTransactionalEmails +# Unit tests for Brevo::GetTransacEmailsListTransactionalEmails # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetTransacEmailsListTransactionalEmails' do before do # run before each test - @instance = BrevoRuby::GetTransacEmailsListTransactionalEmails.new + @instance = Brevo::GetTransacEmailsListTransactionalEmails.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetTransacEmailsListTransactionalEmails' do it 'should create an instance of GetTransacEmailsListTransactionalEmails' do - expect(@instance).to be_instance_of(BrevoRuby::GetTransacEmailsListTransactionalEmails) + expect(@instance).to be_instance_of(Brevo::GetTransacEmailsListTransactionalEmails) end end describe 'test attribute "email"' do diff --git a/spec/models/get_transac_sms_report_reports_spec.rb b/spec/models/get_transac_sms_report_reports_spec.rb index 6f8335a..49fbf30 100644 --- a/spec/models/get_transac_sms_report_reports_spec.rb +++ b/spec/models/get_transac_sms_report_reports_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetTransacSmsReportReports +# Unit tests for Brevo::GetTransacSmsReportReports # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetTransacSmsReportReports' do before do # run before each test - @instance = BrevoRuby::GetTransacSmsReportReports.new + @instance = Brevo::GetTransacSmsReportReports.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetTransacSmsReportReports' do it 'should create an instance of GetTransacSmsReportReports' do - expect(@instance).to be_instance_of(BrevoRuby::GetTransacSmsReportReports) + expect(@instance).to be_instance_of(Brevo::GetTransacSmsReportReports) end end describe 'test attribute "date"' do diff --git a/spec/models/get_transac_sms_report_spec.rb b/spec/models/get_transac_sms_report_spec.rb index 761fb4e..89642bd 100644 --- a/spec/models/get_transac_sms_report_spec.rb +++ b/spec/models/get_transac_sms_report_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetTransacSmsReport +# Unit tests for Brevo::GetTransacSmsReport # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetTransacSmsReport' do before do # run before each test - @instance = BrevoRuby::GetTransacSmsReport.new + @instance = Brevo::GetTransacSmsReport.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetTransacSmsReport' do it 'should create an instance of GetTransacSmsReport' do - expect(@instance).to be_instance_of(BrevoRuby::GetTransacSmsReport) + expect(@instance).to be_instance_of(Brevo::GetTransacSmsReport) end end describe 'test attribute "reports"' do diff --git a/spec/models/get_user_permission_privileges_spec.rb b/spec/models/get_user_permission_privileges_spec.rb index 658a9bf..732d6fe 100644 --- a/spec/models/get_user_permission_privileges_spec.rb +++ b/spec/models/get_user_permission_privileges_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetUserPermissionPrivileges +# Unit tests for Brevo::GetUserPermissionPrivileges # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetUserPermissionPrivileges' do before do # run before each test - @instance = BrevoRuby::GetUserPermissionPrivileges.new + @instance = Brevo::GetUserPermissionPrivileges.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetUserPermissionPrivileges' do it 'should create an instance of GetUserPermissionPrivileges' do - expect(@instance).to be_instance_of(BrevoRuby::GetUserPermissionPrivileges) + expect(@instance).to be_instance_of(Brevo::GetUserPermissionPrivileges) end end describe 'test attribute "feature"' do diff --git a/spec/models/get_user_permission_spec.rb b/spec/models/get_user_permission_spec.rb index e8e8a1d..4ac41ae 100644 --- a/spec/models/get_user_permission_spec.rb +++ b/spec/models/get_user_permission_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetUserPermission +# Unit tests for Brevo::GetUserPermission # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetUserPermission' do before do # run before each test - @instance = BrevoRuby::GetUserPermission.new + @instance = Brevo::GetUserPermission.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetUserPermission' do it 'should create an instance of GetUserPermission' do - expect(@instance).to be_instance_of(BrevoRuby::GetUserPermission) + expect(@instance).to be_instance_of(Brevo::GetUserPermission) end end describe 'test attribute "email"' do diff --git a/spec/models/get_wa_templates_spec.rb b/spec/models/get_wa_templates_spec.rb index 08eae75..d6887c1 100644 --- a/spec/models/get_wa_templates_spec.rb +++ b/spec/models/get_wa_templates_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetWATemplates +# Unit tests for Brevo::GetWATemplates # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetWATemplates' do before do # run before each test - @instance = BrevoRuby::GetWATemplates.new + @instance = Brevo::GetWATemplates.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetWATemplates' do it 'should create an instance of GetWATemplates' do - expect(@instance).to be_instance_of(BrevoRuby::GetWATemplates) + expect(@instance).to be_instance_of(Brevo::GetWATemplates) end end describe 'test attribute "templates"' do diff --git a/spec/models/get_wa_templates_templates_spec.rb b/spec/models/get_wa_templates_templates_spec.rb index 52b5e2d..e49001b 100644 --- a/spec/models/get_wa_templates_templates_spec.rb +++ b/spec/models/get_wa_templates_templates_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetWATemplatesTemplates +# Unit tests for Brevo::GetWATemplatesTemplates # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetWATemplatesTemplates' do before do # run before each test - @instance = BrevoRuby::GetWATemplatesTemplates.new + @instance = Brevo::GetWATemplatesTemplates.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetWATemplatesTemplates' do it 'should create an instance of GetWATemplatesTemplates' do - expect(@instance).to be_instance_of(BrevoRuby::GetWATemplatesTemplates) + expect(@instance).to be_instance_of(Brevo::GetWATemplatesTemplates) end end describe 'test attribute "id"' do diff --git a/spec/models/get_webhook_spec.rb b/spec/models/get_webhook_spec.rb index 7018f29..1fecbc4 100644 --- a/spec/models/get_webhook_spec.rb +++ b/spec/models/get_webhook_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetWebhook +# Unit tests for Brevo::GetWebhook # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetWebhook' do before do # run before each test - @instance = BrevoRuby::GetWebhook.new + @instance = Brevo::GetWebhook.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetWebhook' do it 'should create an instance of GetWebhook' do - expect(@instance).to be_instance_of(BrevoRuby::GetWebhook) + expect(@instance).to be_instance_of(Brevo::GetWebhook) end end describe 'test attribute "url"' do diff --git a/spec/models/get_webhooks_spec.rb b/spec/models/get_webhooks_spec.rb index dd0eec9..e9eed37 100644 --- a/spec/models/get_webhooks_spec.rb +++ b/spec/models/get_webhooks_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetWebhooks +# Unit tests for Brevo::GetWebhooks # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetWebhooks' do before do # run before each test - @instance = BrevoRuby::GetWebhooks.new + @instance = Brevo::GetWebhooks.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetWebhooks' do it 'should create an instance of GetWebhooks' do - expect(@instance).to be_instance_of(BrevoRuby::GetWebhooks) + expect(@instance).to be_instance_of(Brevo::GetWebhooks) end end describe 'test attribute "webhooks"' do diff --git a/spec/models/get_whats_app_config_spec.rb b/spec/models/get_whats_app_config_spec.rb index 393ce2d..0b0e209 100644 --- a/spec/models/get_whats_app_config_spec.rb +++ b/spec/models/get_whats_app_config_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetWhatsAppConfig +# Unit tests for Brevo::GetWhatsAppConfig # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetWhatsAppConfig' do before do # run before each test - @instance = BrevoRuby::GetWhatsAppConfig.new + @instance = Brevo::GetWhatsAppConfig.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetWhatsAppConfig' do it 'should create an instance of GetWhatsAppConfig' do - expect(@instance).to be_instance_of(BrevoRuby::GetWhatsAppConfig) + expect(@instance).to be_instance_of(Brevo::GetWhatsAppConfig) end end describe 'test attribute "whatsapp_business_account_id"' do diff --git a/spec/models/get_whatsapp_campaign_overview_spec.rb b/spec/models/get_whatsapp_campaign_overview_spec.rb index ea288ac..6d5c87a 100644 --- a/spec/models/get_whatsapp_campaign_overview_spec.rb +++ b/spec/models/get_whatsapp_campaign_overview_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetWhatsappCampaignOverview +# Unit tests for Brevo::GetWhatsappCampaignOverview # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetWhatsappCampaignOverview' do before do # run before each test - @instance = BrevoRuby::GetWhatsappCampaignOverview.new + @instance = Brevo::GetWhatsappCampaignOverview.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetWhatsappCampaignOverview' do it 'should create an instance of GetWhatsappCampaignOverview' do - expect(@instance).to be_instance_of(BrevoRuby::GetWhatsappCampaignOverview) + expect(@instance).to be_instance_of(Brevo::GetWhatsappCampaignOverview) end end describe 'test attribute "id"' do diff --git a/spec/models/get_whatsapp_campaigns_campaigns_spec.rb b/spec/models/get_whatsapp_campaigns_campaigns_spec.rb index 87b1a9b..d045f0a 100644 --- a/spec/models/get_whatsapp_campaigns_campaigns_spec.rb +++ b/spec/models/get_whatsapp_campaigns_campaigns_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetWhatsappCampaignsCampaigns +# Unit tests for Brevo::GetWhatsappCampaignsCampaigns # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetWhatsappCampaignsCampaigns' do before do # run before each test - @instance = BrevoRuby::GetWhatsappCampaignsCampaigns.new + @instance = Brevo::GetWhatsappCampaignsCampaigns.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetWhatsappCampaignsCampaigns' do it 'should create an instance of GetWhatsappCampaignsCampaigns' do - expect(@instance).to be_instance_of(BrevoRuby::GetWhatsappCampaignsCampaigns) + expect(@instance).to be_instance_of(Brevo::GetWhatsappCampaignsCampaigns) end end describe 'test attribute "id"' do diff --git a/spec/models/get_whatsapp_campaigns_spec.rb b/spec/models/get_whatsapp_campaigns_spec.rb index c5ba7a1..61b8d6c 100644 --- a/spec/models/get_whatsapp_campaigns_spec.rb +++ b/spec/models/get_whatsapp_campaigns_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetWhatsappCampaigns +# Unit tests for Brevo::GetWhatsappCampaigns # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetWhatsappCampaigns' do before do # run before each test - @instance = BrevoRuby::GetWhatsappCampaigns.new + @instance = Brevo::GetWhatsappCampaigns.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetWhatsappCampaigns' do it 'should create an instance of GetWhatsappCampaigns' do - expect(@instance).to be_instance_of(BrevoRuby::GetWhatsappCampaigns) + expect(@instance).to be_instance_of(Brevo::GetWhatsappCampaigns) end end describe 'test attribute "campaigns"' do diff --git a/spec/models/get_whatsapp_event_report_events_spec.rb b/spec/models/get_whatsapp_event_report_events_spec.rb index 8084a08..a282312 100644 --- a/spec/models/get_whatsapp_event_report_events_spec.rb +++ b/spec/models/get_whatsapp_event_report_events_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetWhatsappEventReportEvents +# Unit tests for Brevo::GetWhatsappEventReportEvents # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetWhatsappEventReportEvents' do before do # run before each test - @instance = BrevoRuby::GetWhatsappEventReportEvents.new + @instance = Brevo::GetWhatsappEventReportEvents.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetWhatsappEventReportEvents' do it 'should create an instance of GetWhatsappEventReportEvents' do - expect(@instance).to be_instance_of(BrevoRuby::GetWhatsappEventReportEvents) + expect(@instance).to be_instance_of(Brevo::GetWhatsappEventReportEvents) end end describe 'test attribute "contact_number"' do diff --git a/spec/models/get_whatsapp_event_report_spec.rb b/spec/models/get_whatsapp_event_report_spec.rb index 8957a25..0e1d015 100644 --- a/spec/models/get_whatsapp_event_report_spec.rb +++ b/spec/models/get_whatsapp_event_report_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::GetWhatsappEventReport +# Unit tests for Brevo::GetWhatsappEventReport # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'GetWhatsappEventReport' do before do # run before each test - @instance = BrevoRuby::GetWhatsappEventReport.new + @instance = Brevo::GetWhatsappEventReport.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of GetWhatsappEventReport' do it 'should create an instance of GetWhatsappEventReport' do - expect(@instance).to be_instance_of(BrevoRuby::GetWhatsappEventReport) + expect(@instance).to be_instance_of(Brevo::GetWhatsappEventReport) end end describe 'test attribute "events"' do diff --git a/spec/models/inline_response_200_1_spec.rb b/spec/models/inline_response_200_1_spec.rb index 5e8d065..0658ddf 100644 --- a/spec/models/inline_response_200_1_spec.rb +++ b/spec/models/inline_response_200_1_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::InlineResponse2001 +# Unit tests for Brevo::InlineResponse2001 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'InlineResponse2001' do before do # run before each test - @instance = BrevoRuby::InlineResponse2001.new + @instance = Brevo::InlineResponse2001.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of InlineResponse2001' do it 'should create an instance of InlineResponse2001' do - expect(@instance).to be_instance_of(BrevoRuby::InlineResponse2001) + expect(@instance).to be_instance_of(Brevo::InlineResponse2001) end end describe 'test attribute "id"' do diff --git a/spec/models/inline_response_200_spec.rb b/spec/models/inline_response_200_spec.rb index 040a28f..02d03ee 100644 --- a/spec/models/inline_response_200_spec.rb +++ b/spec/models/inline_response_200_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::InlineResponse200 +# Unit tests for Brevo::InlineResponse200 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'InlineResponse200' do before do # run before each test - @instance = BrevoRuby::InlineResponse200.new + @instance = Brevo::InlineResponse200.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of InlineResponse200' do it 'should create an instance of InlineResponse200' do - expect(@instance).to be_instance_of(BrevoRuby::InlineResponse200) + expect(@instance).to be_instance_of(Brevo::InlineResponse200) end end describe 'test attribute "id"' do diff --git a/spec/models/inline_response_201_1_spec.rb b/spec/models/inline_response_201_1_spec.rb index 9ff59d2..69337e9 100644 --- a/spec/models/inline_response_201_1_spec.rb +++ b/spec/models/inline_response_201_1_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::InlineResponse2011 +# Unit tests for Brevo::InlineResponse2011 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'InlineResponse2011' do before do # run before each test - @instance = BrevoRuby::InlineResponse2011.new + @instance = Brevo::InlineResponse2011.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of InlineResponse2011' do it 'should create an instance of InlineResponse2011' do - expect(@instance).to be_instance_of(BrevoRuby::InlineResponse2011) + expect(@instance).to be_instance_of(Brevo::InlineResponse2011) end end describe 'test attribute "id"' do diff --git a/spec/models/inline_response_201_2_spec.rb b/spec/models/inline_response_201_2_spec.rb index ada1610..de831fc 100644 --- a/spec/models/inline_response_201_2_spec.rb +++ b/spec/models/inline_response_201_2_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::InlineResponse2012 +# Unit tests for Brevo::InlineResponse2012 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'InlineResponse2012' do before do # run before each test - @instance = BrevoRuby::InlineResponse2012.new + @instance = Brevo::InlineResponse2012.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of InlineResponse2012' do it 'should create an instance of InlineResponse2012' do - expect(@instance).to be_instance_of(BrevoRuby::InlineResponse2012) + expect(@instance).to be_instance_of(Brevo::InlineResponse2012) end end describe 'test attribute "id"' do diff --git a/spec/models/inline_response_201_3_spec.rb b/spec/models/inline_response_201_3_spec.rb index 2a8b686..ac258e2 100644 --- a/spec/models/inline_response_201_3_spec.rb +++ b/spec/models/inline_response_201_3_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::InlineResponse2013 +# Unit tests for Brevo::InlineResponse2013 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'InlineResponse2013' do before do # run before each test - @instance = BrevoRuby::InlineResponse2013.new + @instance = Brevo::InlineResponse2013.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of InlineResponse2013' do it 'should create an instance of InlineResponse2013' do - expect(@instance).to be_instance_of(BrevoRuby::InlineResponse2013) + expect(@instance).to be_instance_of(Brevo::InlineResponse2013) end end describe 'test attribute "message_id"' do diff --git a/spec/models/inline_response_201_4_spec.rb b/spec/models/inline_response_201_4_spec.rb index dfa69a1..b2960eb 100644 --- a/spec/models/inline_response_201_4_spec.rb +++ b/spec/models/inline_response_201_4_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::InlineResponse2014 +# Unit tests for Brevo::InlineResponse2014 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'InlineResponse2014' do before do # run before each test - @instance = BrevoRuby::InlineResponse2014.new + @instance = Brevo::InlineResponse2014.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of InlineResponse2014' do it 'should create an instance of InlineResponse2014' do - expect(@instance).to be_instance_of(BrevoRuby::InlineResponse2014) + expect(@instance).to be_instance_of(Brevo::InlineResponse2014) end end describe 'test attribute "id"' do diff --git a/spec/models/inline_response_201_spec.rb b/spec/models/inline_response_201_spec.rb index db8aae1..192fb6f 100644 --- a/spec/models/inline_response_201_spec.rb +++ b/spec/models/inline_response_201_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::InlineResponse201 +# Unit tests for Brevo::InlineResponse201 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'InlineResponse201' do before do # run before each test - @instance = BrevoRuby::InlineResponse201.new + @instance = Brevo::InlineResponse201.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of InlineResponse201' do it 'should create an instance of InlineResponse201' do - expect(@instance).to be_instance_of(BrevoRuby::InlineResponse201) + expect(@instance).to be_instance_of(Brevo::InlineResponse201) end end describe 'test attribute "id"' do diff --git a/spec/models/manage_ip_spec.rb b/spec/models/manage_ip_spec.rb index b544da7..693a8e8 100644 --- a/spec/models/manage_ip_spec.rb +++ b/spec/models/manage_ip_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::ManageIp +# Unit tests for Brevo::ManageIp # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ManageIp' do before do # run before each test - @instance = BrevoRuby::ManageIp.new + @instance = Brevo::ManageIp.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of ManageIp' do it 'should create an instance of ManageIp' do - expect(@instance).to be_instance_of(BrevoRuby::ManageIp) + expect(@instance).to be_instance_of(Brevo::ManageIp) end end describe 'test attribute "ip"' do diff --git a/spec/models/master_details_response_billing_info_address_spec.rb b/spec/models/master_details_response_billing_info_address_spec.rb index dc7016a..7c9def6 100644 --- a/spec/models/master_details_response_billing_info_address_spec.rb +++ b/spec/models/master_details_response_billing_info_address_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::MasterDetailsResponseBillingInfoAddress +# Unit tests for Brevo::MasterDetailsResponseBillingInfoAddress # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'MasterDetailsResponseBillingInfoAddress' do before do # run before each test - @instance = BrevoRuby::MasterDetailsResponseBillingInfoAddress.new + @instance = Brevo::MasterDetailsResponseBillingInfoAddress.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of MasterDetailsResponseBillingInfoAddress' do it 'should create an instance of MasterDetailsResponseBillingInfoAddress' do - expect(@instance).to be_instance_of(BrevoRuby::MasterDetailsResponseBillingInfoAddress) + expect(@instance).to be_instance_of(Brevo::MasterDetailsResponseBillingInfoAddress) end end describe 'test attribute "street_address"' do diff --git a/spec/models/master_details_response_billing_info_name_spec.rb b/spec/models/master_details_response_billing_info_name_spec.rb index 54d4cd3..29cd0b4 100644 --- a/spec/models/master_details_response_billing_info_name_spec.rb +++ b/spec/models/master_details_response_billing_info_name_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::MasterDetailsResponseBillingInfoName +# Unit tests for Brevo::MasterDetailsResponseBillingInfoName # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'MasterDetailsResponseBillingInfoName' do before do # run before each test - @instance = BrevoRuby::MasterDetailsResponseBillingInfoName.new + @instance = Brevo::MasterDetailsResponseBillingInfoName.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of MasterDetailsResponseBillingInfoName' do it 'should create an instance of MasterDetailsResponseBillingInfoName' do - expect(@instance).to be_instance_of(BrevoRuby::MasterDetailsResponseBillingInfoName) + expect(@instance).to be_instance_of(Brevo::MasterDetailsResponseBillingInfoName) end end describe 'test attribute "given_name"' do diff --git a/spec/models/master_details_response_billing_info_spec.rb b/spec/models/master_details_response_billing_info_spec.rb index f535801..34b235d 100644 --- a/spec/models/master_details_response_billing_info_spec.rb +++ b/spec/models/master_details_response_billing_info_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::MasterDetailsResponseBillingInfo +# Unit tests for Brevo::MasterDetailsResponseBillingInfo # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'MasterDetailsResponseBillingInfo' do before do # run before each test - @instance = BrevoRuby::MasterDetailsResponseBillingInfo.new + @instance = Brevo::MasterDetailsResponseBillingInfo.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of MasterDetailsResponseBillingInfo' do it 'should create an instance of MasterDetailsResponseBillingInfo' do - expect(@instance).to be_instance_of(BrevoRuby::MasterDetailsResponseBillingInfo) + expect(@instance).to be_instance_of(Brevo::MasterDetailsResponseBillingInfo) end end describe 'test attribute "email"' do diff --git a/spec/models/master_details_response_plan_info_features_spec.rb b/spec/models/master_details_response_plan_info_features_spec.rb index 605b67b..cc1b90f 100644 --- a/spec/models/master_details_response_plan_info_features_spec.rb +++ b/spec/models/master_details_response_plan_info_features_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::MasterDetailsResponsePlanInfoFeatures +# Unit tests for Brevo::MasterDetailsResponsePlanInfoFeatures # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'MasterDetailsResponsePlanInfoFeatures' do before do # run before each test - @instance = BrevoRuby::MasterDetailsResponsePlanInfoFeatures.new + @instance = Brevo::MasterDetailsResponsePlanInfoFeatures.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of MasterDetailsResponsePlanInfoFeatures' do it 'should create an instance of MasterDetailsResponsePlanInfoFeatures' do - expect(@instance).to be_instance_of(BrevoRuby::MasterDetailsResponsePlanInfoFeatures) + expect(@instance).to be_instance_of(Brevo::MasterDetailsResponsePlanInfoFeatures) end end describe 'test attribute "name"' do diff --git a/spec/models/master_details_response_plan_info_spec.rb b/spec/models/master_details_response_plan_info_spec.rb index d824a1e..49688b7 100644 --- a/spec/models/master_details_response_plan_info_spec.rb +++ b/spec/models/master_details_response_plan_info_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::MasterDetailsResponsePlanInfo +# Unit tests for Brevo::MasterDetailsResponsePlanInfo # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'MasterDetailsResponsePlanInfo' do before do # run before each test - @instance = BrevoRuby::MasterDetailsResponsePlanInfo.new + @instance = Brevo::MasterDetailsResponsePlanInfo.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of MasterDetailsResponsePlanInfo' do it 'should create an instance of MasterDetailsResponsePlanInfo' do - expect(@instance).to be_instance_of(BrevoRuby::MasterDetailsResponsePlanInfo) + expect(@instance).to be_instance_of(Brevo::MasterDetailsResponsePlanInfo) end end describe 'test attribute "currency_code"' do diff --git a/spec/models/master_details_response_spec.rb b/spec/models/master_details_response_spec.rb index dea5fbc..4782cb1 100644 --- a/spec/models/master_details_response_spec.rb +++ b/spec/models/master_details_response_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::MasterDetailsResponse +# Unit tests for Brevo::MasterDetailsResponse # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'MasterDetailsResponse' do before do # run before each test - @instance = BrevoRuby::MasterDetailsResponse.new + @instance = Brevo::MasterDetailsResponse.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of MasterDetailsResponse' do it 'should create an instance of MasterDetailsResponse' do - expect(@instance).to be_instance_of(BrevoRuby::MasterDetailsResponse) + expect(@instance).to be_instance_of(Brevo::MasterDetailsResponse) end end describe 'test attribute "email"' do diff --git a/spec/models/note_data_spec.rb b/spec/models/note_data_spec.rb index 0b8fe3c..ed87a0f 100644 --- a/spec/models/note_data_spec.rb +++ b/spec/models/note_data_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::NoteData +# Unit tests for Brevo::NoteData # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'NoteData' do before do # run before each test - @instance = BrevoRuby::NoteData.new + @instance = Brevo::NoteData.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of NoteData' do it 'should create an instance of NoteData' do - expect(@instance).to be_instance_of(BrevoRuby::NoteData) + expect(@instance).to be_instance_of(Brevo::NoteData) end end describe 'test attribute "text"' do diff --git a/spec/models/note_id_spec.rb b/spec/models/note_id_spec.rb index 4f68a94..20da1b8 100644 --- a/spec/models/note_id_spec.rb +++ b/spec/models/note_id_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::NoteId +# Unit tests for Brevo::NoteId # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'NoteId' do before do # run before each test - @instance = BrevoRuby::NoteId.new + @instance = Brevo::NoteId.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of NoteId' do it 'should create an instance of NoteId' do - expect(@instance).to be_instance_of(BrevoRuby::NoteId) + expect(@instance).to be_instance_of(Brevo::NoteId) end end describe 'test attribute "id"' do diff --git a/spec/models/note_list_spec.rb b/spec/models/note_list_spec.rb index 8959cb9..4832231 100644 --- a/spec/models/note_list_spec.rb +++ b/spec/models/note_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::NoteList +# Unit tests for Brevo::NoteList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'NoteList' do before do # run before each test - @instance = BrevoRuby::NoteList.new + @instance = Brevo::NoteList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of NoteList' do it 'should create an instance of NoteList' do - expect(@instance).to be_instance_of(BrevoRuby::NoteList) + expect(@instance).to be_instance_of(Brevo::NoteList) end end end diff --git a/spec/models/note_spec.rb b/spec/models/note_spec.rb index 4ab2767..d04b032 100644 --- a/spec/models/note_spec.rb +++ b/spec/models/note_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Note +# Unit tests for Brevo::Note # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Note' do before do # run before each test - @instance = BrevoRuby::Note.new + @instance = Brevo::Note.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Note' do it 'should create an instance of Note' do - expect(@instance).to be_instance_of(BrevoRuby::Note) + expect(@instance).to be_instance_of(Brevo::Note) end end describe 'test attribute "id"' do diff --git a/spec/models/order_batch_spec.rb b/spec/models/order_batch_spec.rb index 0645482..127e4f9 100644 --- a/spec/models/order_batch_spec.rb +++ b/spec/models/order_batch_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::OrderBatch +# Unit tests for Brevo::OrderBatch # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'OrderBatch' do before do # run before each test - @instance = BrevoRuby::OrderBatch.new + @instance = Brevo::OrderBatch.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of OrderBatch' do it 'should create an instance of OrderBatch' do - expect(@instance).to be_instance_of(BrevoRuby::OrderBatch) + expect(@instance).to be_instance_of(Brevo::OrderBatch) end end describe 'test attribute "orders"' do diff --git a/spec/models/order_billing_spec.rb b/spec/models/order_billing_spec.rb index 67bfa43..17ce437 100644 --- a/spec/models/order_billing_spec.rb +++ b/spec/models/order_billing_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::OrderBilling +# Unit tests for Brevo::OrderBilling # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'OrderBilling' do before do # run before each test - @instance = BrevoRuby::OrderBilling.new + @instance = Brevo::OrderBilling.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of OrderBilling' do it 'should create an instance of OrderBilling' do - expect(@instance).to be_instance_of(BrevoRuby::OrderBilling) + expect(@instance).to be_instance_of(Brevo::OrderBilling) end end describe 'test attribute "address"' do diff --git a/spec/models/order_products_spec.rb b/spec/models/order_products_spec.rb index fde20f6..e59a449 100644 --- a/spec/models/order_products_spec.rb +++ b/spec/models/order_products_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::OrderProducts +# Unit tests for Brevo::OrderProducts # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'OrderProducts' do before do # run before each test - @instance = BrevoRuby::OrderProducts.new + @instance = Brevo::OrderProducts.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of OrderProducts' do it 'should create an instance of OrderProducts' do - expect(@instance).to be_instance_of(BrevoRuby::OrderProducts) + expect(@instance).to be_instance_of(Brevo::OrderProducts) end end describe 'test attribute "product_id"' do diff --git a/spec/models/order_spec.rb b/spec/models/order_spec.rb index d504f50..80d90d7 100644 --- a/spec/models/order_spec.rb +++ b/spec/models/order_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Order +# Unit tests for Brevo::Order # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Order' do before do # run before each test - @instance = BrevoRuby::Order.new + @instance = Brevo::Order.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Order' do it 'should create an instance of Order' do - expect(@instance).to be_instance_of(BrevoRuby::Order) + expect(@instance).to be_instance_of(Brevo::Order) end end describe 'test attribute "id"' do diff --git a/spec/models/otp_spec.rb b/spec/models/otp_spec.rb index 9666d42..9cb5f36 100644 --- a/spec/models/otp_spec.rb +++ b/spec/models/otp_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Otp +# Unit tests for Brevo::Otp # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Otp' do before do # run before each test - @instance = BrevoRuby::Otp.new + @instance = Brevo::Otp.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Otp' do it 'should create an instance of Otp' do - expect(@instance).to be_instance_of(BrevoRuby::Otp) + expect(@instance).to be_instance_of(Brevo::Otp) end end describe 'test attribute "name"' do diff --git a/spec/models/pipeline_spec.rb b/spec/models/pipeline_spec.rb index c9684a0..9c738c0 100644 --- a/spec/models/pipeline_spec.rb +++ b/spec/models/pipeline_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Pipeline +# Unit tests for Brevo::Pipeline # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Pipeline' do before do # run before each test - @instance = BrevoRuby::Pipeline.new + @instance = Brevo::Pipeline.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Pipeline' do it 'should create an instance of Pipeline' do - expect(@instance).to be_instance_of(BrevoRuby::Pipeline) + expect(@instance).to be_instance_of(Brevo::Pipeline) end end describe 'test attribute "pipeline"' do diff --git a/spec/models/pipeline_stage_spec.rb b/spec/models/pipeline_stage_spec.rb index d88b8e7..1d25d09 100644 --- a/spec/models/pipeline_stage_spec.rb +++ b/spec/models/pipeline_stage_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::PipelineStage +# Unit tests for Brevo::PipelineStage # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'PipelineStage' do before do # run before each test - @instance = BrevoRuby::PipelineStage.new + @instance = Brevo::PipelineStage.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of PipelineStage' do it 'should create an instance of PipelineStage' do - expect(@instance).to be_instance_of(BrevoRuby::PipelineStage) + expect(@instance).to be_instance_of(Brevo::PipelineStage) end end describe 'test attribute "id"' do diff --git a/spec/models/pipelines_spec.rb b/spec/models/pipelines_spec.rb index 41284fb..ba125e0 100644 --- a/spec/models/pipelines_spec.rb +++ b/spec/models/pipelines_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Pipelines +# Unit tests for Brevo::Pipelines # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Pipelines' do before do # run before each test - @instance = BrevoRuby::Pipelines.new + @instance = Brevo::Pipelines.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Pipelines' do it 'should create an instance of Pipelines' do - expect(@instance).to be_instance_of(BrevoRuby::Pipelines) + expect(@instance).to be_instance_of(Brevo::Pipelines) end end end diff --git a/spec/models/post_contact_info_contacts_spec.rb b/spec/models/post_contact_info_contacts_spec.rb index 6907d60..338eacc 100644 --- a/spec/models/post_contact_info_contacts_spec.rb +++ b/spec/models/post_contact_info_contacts_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::PostContactInfoContacts +# Unit tests for Brevo::PostContactInfoContacts # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'PostContactInfoContacts' do before do # run before each test - @instance = BrevoRuby::PostContactInfoContacts.new + @instance = Brevo::PostContactInfoContacts.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of PostContactInfoContacts' do it 'should create an instance of PostContactInfoContacts' do - expect(@instance).to be_instance_of(BrevoRuby::PostContactInfoContacts) + expect(@instance).to be_instance_of(Brevo::PostContactInfoContacts) end end describe 'test attribute "success"' do diff --git a/spec/models/post_contact_info_spec.rb b/spec/models/post_contact_info_spec.rb index dcb33f5..1573e56 100644 --- a/spec/models/post_contact_info_spec.rb +++ b/spec/models/post_contact_info_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::PostContactInfo +# Unit tests for Brevo::PostContactInfo # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'PostContactInfo' do before do # run before each test - @instance = BrevoRuby::PostContactInfo.new + @instance = Brevo::PostContactInfo.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of PostContactInfo' do it 'should create an instance of PostContactInfo' do - expect(@instance).to be_instance_of(BrevoRuby::PostContactInfo) + expect(@instance).to be_instance_of(Brevo::PostContactInfo) end end describe 'test attribute "contacts"' do diff --git a/spec/models/post_send_failed_spec.rb b/spec/models/post_send_failed_spec.rb index 53a965e..ba27e73 100644 --- a/spec/models/post_send_failed_spec.rb +++ b/spec/models/post_send_failed_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::PostSendFailed +# Unit tests for Brevo::PostSendFailed # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'PostSendFailed' do before do # run before each test - @instance = BrevoRuby::PostSendFailed.new + @instance = Brevo::PostSendFailed.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of PostSendFailed' do it 'should create an instance of PostSendFailed' do - expect(@instance).to be_instance_of(BrevoRuby::PostSendFailed) + expect(@instance).to be_instance_of(Brevo::PostSendFailed) end end describe 'test attribute "code"' do diff --git a/spec/models/post_send_sms_test_failed_spec.rb b/spec/models/post_send_sms_test_failed_spec.rb index 8eb8c31..7385975 100644 --- a/spec/models/post_send_sms_test_failed_spec.rb +++ b/spec/models/post_send_sms_test_failed_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::PostSendSmsTestFailed +# Unit tests for Brevo::PostSendSmsTestFailed # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'PostSendSmsTestFailed' do before do # run before each test - @instance = BrevoRuby::PostSendSmsTestFailed.new + @instance = Brevo::PostSendSmsTestFailed.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of PostSendSmsTestFailed' do it 'should create an instance of PostSendSmsTestFailed' do - expect(@instance).to be_instance_of(BrevoRuby::PostSendSmsTestFailed) + expect(@instance).to be_instance_of(Brevo::PostSendSmsTestFailed) end end describe 'test attribute "code"' do diff --git a/spec/models/remaining_credit_model_child_spec.rb b/spec/models/remaining_credit_model_child_spec.rb index a026546..2e10230 100644 --- a/spec/models/remaining_credit_model_child_spec.rb +++ b/spec/models/remaining_credit_model_child_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::RemainingCreditModelChild +# Unit tests for Brevo::RemainingCreditModelChild # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'RemainingCreditModelChild' do before do # run before each test - @instance = BrevoRuby::RemainingCreditModelChild.new + @instance = Brevo::RemainingCreditModelChild.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of RemainingCreditModelChild' do it 'should create an instance of RemainingCreditModelChild' do - expect(@instance).to be_instance_of(BrevoRuby::RemainingCreditModelChild) + expect(@instance).to be_instance_of(Brevo::RemainingCreditModelChild) end end describe 'test attribute "sms"' do diff --git a/spec/models/remaining_credit_model_reseller_spec.rb b/spec/models/remaining_credit_model_reseller_spec.rb index 205fe39..6f91f2b 100644 --- a/spec/models/remaining_credit_model_reseller_spec.rb +++ b/spec/models/remaining_credit_model_reseller_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::RemainingCreditModelReseller +# Unit tests for Brevo::RemainingCreditModelReseller # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'RemainingCreditModelReseller' do before do # run before each test - @instance = BrevoRuby::RemainingCreditModelReseller.new + @instance = Brevo::RemainingCreditModelReseller.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of RemainingCreditModelReseller' do it 'should create an instance of RemainingCreditModelReseller' do - expect(@instance).to be_instance_of(BrevoRuby::RemainingCreditModelReseller) + expect(@instance).to be_instance_of(Brevo::RemainingCreditModelReseller) end end describe 'test attribute "sms"' do diff --git a/spec/models/remaining_credit_model_spec.rb b/spec/models/remaining_credit_model_spec.rb index de5f31e..8b1435c 100644 --- a/spec/models/remaining_credit_model_spec.rb +++ b/spec/models/remaining_credit_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::RemainingCreditModel +# Unit tests for Brevo::RemainingCreditModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'RemainingCreditModel' do before do # run before each test - @instance = BrevoRuby::RemainingCreditModel.new + @instance = Brevo::RemainingCreditModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of RemainingCreditModel' do it 'should create an instance of RemainingCreditModel' do - expect(@instance).to be_instance_of(BrevoRuby::RemainingCreditModel) + expect(@instance).to be_instance_of(Brevo::RemainingCreditModel) end end describe 'test attribute "child"' do diff --git a/spec/models/remove_contact_from_list_spec.rb b/spec/models/remove_contact_from_list_spec.rb index b992531..a92643b 100644 --- a/spec/models/remove_contact_from_list_spec.rb +++ b/spec/models/remove_contact_from_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::RemoveContactFromList +# Unit tests for Brevo::RemoveContactFromList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'RemoveContactFromList' do before do # run before each test - @instance = BrevoRuby::RemoveContactFromList.new + @instance = Brevo::RemoveContactFromList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of RemoveContactFromList' do it 'should create an instance of RemoveContactFromList' do - expect(@instance).to be_instance_of(BrevoRuby::RemoveContactFromList) + expect(@instance).to be_instance_of(Brevo::RemoveContactFromList) end end describe 'test attribute "emails"' do diff --git a/spec/models/remove_credits_spec.rb b/spec/models/remove_credits_spec.rb index a89343e..9b439b2 100644 --- a/spec/models/remove_credits_spec.rb +++ b/spec/models/remove_credits_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::RemoveCredits +# Unit tests for Brevo::RemoveCredits # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'RemoveCredits' do before do # run before each test - @instance = BrevoRuby::RemoveCredits.new + @instance = Brevo::RemoveCredits.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of RemoveCredits' do it 'should create an instance of RemoveCredits' do - expect(@instance).to be_instance_of(BrevoRuby::RemoveCredits) + expect(@instance).to be_instance_of(Brevo::RemoveCredits) end end describe 'test attribute "sms"' do diff --git a/spec/models/request_contact_export_custom_contact_filter_spec.rb b/spec/models/request_contact_export_custom_contact_filter_spec.rb index e1df1e4..1f231f8 100644 --- a/spec/models/request_contact_export_custom_contact_filter_spec.rb +++ b/spec/models/request_contact_export_custom_contact_filter_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::RequestContactExportCustomContactFilter +# Unit tests for Brevo::RequestContactExportCustomContactFilter # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'RequestContactExportCustomContactFilter' do before do # run before each test - @instance = BrevoRuby::RequestContactExportCustomContactFilter.new + @instance = Brevo::RequestContactExportCustomContactFilter.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of RequestContactExportCustomContactFilter' do it 'should create an instance of RequestContactExportCustomContactFilter' do - expect(@instance).to be_instance_of(BrevoRuby::RequestContactExportCustomContactFilter) + expect(@instance).to be_instance_of(Brevo::RequestContactExportCustomContactFilter) end end describe 'test attribute "action_for_contacts"' do diff --git a/spec/models/request_contact_export_spec.rb b/spec/models/request_contact_export_spec.rb index 564eb36..7d14720 100644 --- a/spec/models/request_contact_export_spec.rb +++ b/spec/models/request_contact_export_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::RequestContactExport +# Unit tests for Brevo::RequestContactExport # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'RequestContactExport' do before do # run before each test - @instance = BrevoRuby::RequestContactExport.new + @instance = Brevo::RequestContactExport.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of RequestContactExport' do it 'should create an instance of RequestContactExport' do - expect(@instance).to be_instance_of(BrevoRuby::RequestContactExport) + expect(@instance).to be_instance_of(Brevo::RequestContactExport) end end describe 'test attribute "export_attributes"' do diff --git a/spec/models/request_contact_import_json_body_spec.rb b/spec/models/request_contact_import_json_body_spec.rb new file mode 100644 index 0000000..cdf28a3 --- /dev/null +++ b/spec/models/request_contact_import_json_body_spec.rb @@ -0,0 +1,47 @@ +=begin +#Brevo API + +#Brevo 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/brevo **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@brevo.com +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.4.19 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Brevo::RequestContactImportJsonBody +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'RequestContactImportJsonBody' do + before do + # run before each test + @instance = Brevo::RequestContactImportJsonBody.new + end + + after do + # run after each test + end + + describe 'test an instance of RequestContactImportJsonBody' do + it 'should create an instance of RequestContactImportJsonBody' do + expect(@instance).to be_instance_of(Brevo::RequestContactImportJsonBody) + end + end + describe 'test attribute "email"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "attributes"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/spec/models/request_contact_import_new_list_spec.rb b/spec/models/request_contact_import_new_list_spec.rb index 19aac60..a735cd3 100644 --- a/spec/models/request_contact_import_new_list_spec.rb +++ b/spec/models/request_contact_import_new_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::RequestContactImportNewList +# Unit tests for Brevo::RequestContactImportNewList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'RequestContactImportNewList' do before do # run before each test - @instance = BrevoRuby::RequestContactImportNewList.new + @instance = Brevo::RequestContactImportNewList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of RequestContactImportNewList' do it 'should create an instance of RequestContactImportNewList' do - expect(@instance).to be_instance_of(BrevoRuby::RequestContactImportNewList) + expect(@instance).to be_instance_of(Brevo::RequestContactImportNewList) end end describe 'test attribute "list_name"' do diff --git a/spec/models/request_contact_import_spec.rb b/spec/models/request_contact_import_spec.rb index 8f39614..e5cc15a 100644 --- a/spec/models/request_contact_import_spec.rb +++ b/spec/models/request_contact_import_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::RequestContactImport +# Unit tests for Brevo::RequestContactImport # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'RequestContactImport' do before do # run before each test - @instance = BrevoRuby::RequestContactImport.new + @instance = Brevo::RequestContactImport.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of RequestContactImport' do it 'should create an instance of RequestContactImport' do - expect(@instance).to be_instance_of(BrevoRuby::RequestContactImport) + expect(@instance).to be_instance_of(Brevo::RequestContactImport) end end describe 'test attribute "file_url"' do diff --git a/spec/models/request_sms_recipient_export_spec.rb b/spec/models/request_sms_recipient_export_spec.rb index fc7647d..fd6fd01 100644 --- a/spec/models/request_sms_recipient_export_spec.rb +++ b/spec/models/request_sms_recipient_export_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::RequestSmsRecipientExport +# Unit tests for Brevo::RequestSmsRecipientExport # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'RequestSmsRecipientExport' do before do # run before each test - @instance = BrevoRuby::RequestSmsRecipientExport.new + @instance = Brevo::RequestSmsRecipientExport.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of RequestSmsRecipientExport' do it 'should create an instance of RequestSmsRecipientExport' do - expect(@instance).to be_instance_of(BrevoRuby::RequestSmsRecipientExport) + expect(@instance).to be_instance_of(Brevo::RequestSmsRecipientExport) end end describe 'test attribute "notify_url"' do diff --git a/spec/models/schedule_smtp_email_spec.rb b/spec/models/schedule_smtp_email_spec.rb index e543a5d..ab0751d 100644 --- a/spec/models/schedule_smtp_email_spec.rb +++ b/spec/models/schedule_smtp_email_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::ScheduleSmtpEmail +# Unit tests for Brevo::ScheduleSmtpEmail # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ScheduleSmtpEmail' do before do # run before each test - @instance = BrevoRuby::ScheduleSmtpEmail.new + @instance = Brevo::ScheduleSmtpEmail.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of ScheduleSmtpEmail' do it 'should create an instance of ScheduleSmtpEmail' do - expect(@instance).to be_instance_of(BrevoRuby::ScheduleSmtpEmail) + expect(@instance).to be_instance_of(Brevo::ScheduleSmtpEmail) end end describe 'test attribute "message_id"' do diff --git a/spec/models/send_report_email_spec.rb b/spec/models/send_report_email_spec.rb index bbf55fd..5d6f803 100644 --- a/spec/models/send_report_email_spec.rb +++ b/spec/models/send_report_email_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendReportEmail +# Unit tests for Brevo::SendReportEmail # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendReportEmail' do before do # run before each test - @instance = BrevoRuby::SendReportEmail.new + @instance = Brevo::SendReportEmail.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendReportEmail' do it 'should create an instance of SendReportEmail' do - expect(@instance).to be_instance_of(BrevoRuby::SendReportEmail) + expect(@instance).to be_instance_of(Brevo::SendReportEmail) end end describe 'test attribute "to"' do diff --git a/spec/models/send_report_spec.rb b/spec/models/send_report_spec.rb index da5574d..21ac167 100644 --- a/spec/models/send_report_spec.rb +++ b/spec/models/send_report_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendReport +# Unit tests for Brevo::SendReport # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendReport' do before do # run before each test - @instance = BrevoRuby::SendReport.new + @instance = Brevo::SendReport.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendReport' do it 'should create an instance of SendReport' do - expect(@instance).to be_instance_of(BrevoRuby::SendReport) + expect(@instance).to be_instance_of(Brevo::SendReport) end end describe 'test attribute "language"' do diff --git a/spec/models/send_sms_spec.rb b/spec/models/send_sms_spec.rb index c809053..6616557 100644 --- a/spec/models/send_sms_spec.rb +++ b/spec/models/send_sms_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendSms +# Unit tests for Brevo::SendSms # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendSms' do before do # run before each test - @instance = BrevoRuby::SendSms.new + @instance = Brevo::SendSms.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendSms' do it 'should create an instance of SendSms' do - expect(@instance).to be_instance_of(BrevoRuby::SendSms) + expect(@instance).to be_instance_of(Brevo::SendSms) end end describe 'test attribute "reference"' do diff --git a/spec/models/send_smtp_email_attachment_spec.rb b/spec/models/send_smtp_email_attachment_spec.rb index 27b20f2..b17c0b9 100644 --- a/spec/models/send_smtp_email_attachment_spec.rb +++ b/spec/models/send_smtp_email_attachment_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendSmtpEmailAttachment +# Unit tests for Brevo::SendSmtpEmailAttachment # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendSmtpEmailAttachment' do before do # run before each test - @instance = BrevoRuby::SendSmtpEmailAttachment.new + @instance = Brevo::SendSmtpEmailAttachment.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendSmtpEmailAttachment' do it 'should create an instance of SendSmtpEmailAttachment' do - expect(@instance).to be_instance_of(BrevoRuby::SendSmtpEmailAttachment) + expect(@instance).to be_instance_of(Brevo::SendSmtpEmailAttachment) end end describe 'test attribute "url"' do diff --git a/spec/models/send_smtp_email_bcc_spec.rb b/spec/models/send_smtp_email_bcc_spec.rb index ccda8fe..ac64f21 100644 --- a/spec/models/send_smtp_email_bcc_spec.rb +++ b/spec/models/send_smtp_email_bcc_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendSmtpEmailBcc +# Unit tests for Brevo::SendSmtpEmailBcc # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendSmtpEmailBcc' do before do # run before each test - @instance = BrevoRuby::SendSmtpEmailBcc.new + @instance = Brevo::SendSmtpEmailBcc.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendSmtpEmailBcc' do it 'should create an instance of SendSmtpEmailBcc' do - expect(@instance).to be_instance_of(BrevoRuby::SendSmtpEmailBcc) + expect(@instance).to be_instance_of(Brevo::SendSmtpEmailBcc) end end describe 'test attribute "email"' do diff --git a/spec/models/send_smtp_email_cc_spec.rb b/spec/models/send_smtp_email_cc_spec.rb index 22fd91c..72bf030 100644 --- a/spec/models/send_smtp_email_cc_spec.rb +++ b/spec/models/send_smtp_email_cc_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendSmtpEmailCc +# Unit tests for Brevo::SendSmtpEmailCc # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendSmtpEmailCc' do before do # run before each test - @instance = BrevoRuby::SendSmtpEmailCc.new + @instance = Brevo::SendSmtpEmailCc.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendSmtpEmailCc' do it 'should create an instance of SendSmtpEmailCc' do - expect(@instance).to be_instance_of(BrevoRuby::SendSmtpEmailCc) + expect(@instance).to be_instance_of(Brevo::SendSmtpEmailCc) end end describe 'test attribute "email"' do diff --git a/spec/models/send_smtp_email_message_versions_spec.rb b/spec/models/send_smtp_email_message_versions_spec.rb index a239b22..4bd69f6 100644 --- a/spec/models/send_smtp_email_message_versions_spec.rb +++ b/spec/models/send_smtp_email_message_versions_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendSmtpEmailMessageVersions +# Unit tests for Brevo::SendSmtpEmailMessageVersions # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendSmtpEmailMessageVersions' do before do # run before each test - @instance = BrevoRuby::SendSmtpEmailMessageVersions.new + @instance = Brevo::SendSmtpEmailMessageVersions.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendSmtpEmailMessageVersions' do it 'should create an instance of SendSmtpEmailMessageVersions' do - expect(@instance).to be_instance_of(BrevoRuby::SendSmtpEmailMessageVersions) + expect(@instance).to be_instance_of(Brevo::SendSmtpEmailMessageVersions) end end describe 'test attribute "to"' do diff --git a/spec/models/send_smtp_email_reply_to_1_spec.rb b/spec/models/send_smtp_email_reply_to_1_spec.rb index 8c0bc54..c878c30 100644 --- a/spec/models/send_smtp_email_reply_to_1_spec.rb +++ b/spec/models/send_smtp_email_reply_to_1_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendSmtpEmailReplyTo1 +# Unit tests for Brevo::SendSmtpEmailReplyTo1 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendSmtpEmailReplyTo1' do before do # run before each test - @instance = BrevoRuby::SendSmtpEmailReplyTo1.new + @instance = Brevo::SendSmtpEmailReplyTo1.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendSmtpEmailReplyTo1' do it 'should create an instance of SendSmtpEmailReplyTo1' do - expect(@instance).to be_instance_of(BrevoRuby::SendSmtpEmailReplyTo1) + expect(@instance).to be_instance_of(Brevo::SendSmtpEmailReplyTo1) end end describe 'test attribute "email"' do diff --git a/spec/models/send_smtp_email_reply_to_spec.rb b/spec/models/send_smtp_email_reply_to_spec.rb index 5c89dca..a47c2eb 100644 --- a/spec/models/send_smtp_email_reply_to_spec.rb +++ b/spec/models/send_smtp_email_reply_to_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendSmtpEmailReplyTo +# Unit tests for Brevo::SendSmtpEmailReplyTo # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendSmtpEmailReplyTo' do before do # run before each test - @instance = BrevoRuby::SendSmtpEmailReplyTo.new + @instance = Brevo::SendSmtpEmailReplyTo.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendSmtpEmailReplyTo' do it 'should create an instance of SendSmtpEmailReplyTo' do - expect(@instance).to be_instance_of(BrevoRuby::SendSmtpEmailReplyTo) + expect(@instance).to be_instance_of(Brevo::SendSmtpEmailReplyTo) end end describe 'test attribute "email"' do diff --git a/spec/models/send_smtp_email_sender_spec.rb b/spec/models/send_smtp_email_sender_spec.rb index bfeda59..716944d 100644 --- a/spec/models/send_smtp_email_sender_spec.rb +++ b/spec/models/send_smtp_email_sender_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendSmtpEmailSender +# Unit tests for Brevo::SendSmtpEmailSender # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendSmtpEmailSender' do before do # run before each test - @instance = BrevoRuby::SendSmtpEmailSender.new + @instance = Brevo::SendSmtpEmailSender.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendSmtpEmailSender' do it 'should create an instance of SendSmtpEmailSender' do - expect(@instance).to be_instance_of(BrevoRuby::SendSmtpEmailSender) + expect(@instance).to be_instance_of(Brevo::SendSmtpEmailSender) end end describe 'test attribute "name"' do diff --git a/spec/models/send_smtp_email_spec.rb b/spec/models/send_smtp_email_spec.rb index 1af88b1..addb581 100644 --- a/spec/models/send_smtp_email_spec.rb +++ b/spec/models/send_smtp_email_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendSmtpEmail +# Unit tests for Brevo::SendSmtpEmail # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendSmtpEmail' do before do # run before each test - @instance = BrevoRuby::SendSmtpEmail.new + @instance = Brevo::SendSmtpEmail.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendSmtpEmail' do it 'should create an instance of SendSmtpEmail' do - expect(@instance).to be_instance_of(BrevoRuby::SendSmtpEmail) + expect(@instance).to be_instance_of(Brevo::SendSmtpEmail) end end describe 'test attribute "sender"' do diff --git a/spec/models/send_smtp_email_to_1_spec.rb b/spec/models/send_smtp_email_to_1_spec.rb index 7e201df..c4bf523 100644 --- a/spec/models/send_smtp_email_to_1_spec.rb +++ b/spec/models/send_smtp_email_to_1_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendSmtpEmailTo1 +# Unit tests for Brevo::SendSmtpEmailTo1 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendSmtpEmailTo1' do before do # run before each test - @instance = BrevoRuby::SendSmtpEmailTo1.new + @instance = Brevo::SendSmtpEmailTo1.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendSmtpEmailTo1' do it 'should create an instance of SendSmtpEmailTo1' do - expect(@instance).to be_instance_of(BrevoRuby::SendSmtpEmailTo1) + expect(@instance).to be_instance_of(Brevo::SendSmtpEmailTo1) end end describe 'test attribute "email"' do diff --git a/spec/models/send_smtp_email_to_spec.rb b/spec/models/send_smtp_email_to_spec.rb index 8fc8106..315d4ef 100644 --- a/spec/models/send_smtp_email_to_spec.rb +++ b/spec/models/send_smtp_email_to_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendSmtpEmailTo +# Unit tests for Brevo::SendSmtpEmailTo # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendSmtpEmailTo' do before do # run before each test - @instance = BrevoRuby::SendSmtpEmailTo.new + @instance = Brevo::SendSmtpEmailTo.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendSmtpEmailTo' do it 'should create an instance of SendSmtpEmailTo' do - expect(@instance).to be_instance_of(BrevoRuby::SendSmtpEmailTo) + expect(@instance).to be_instance_of(Brevo::SendSmtpEmailTo) end end describe 'test attribute "email"' do diff --git a/spec/models/send_test_email_spec.rb b/spec/models/send_test_email_spec.rb index b2daa41..5c98431 100644 --- a/spec/models/send_test_email_spec.rb +++ b/spec/models/send_test_email_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendTestEmail +# Unit tests for Brevo::SendTestEmail # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendTestEmail' do before do # run before each test - @instance = BrevoRuby::SendTestEmail.new + @instance = Brevo::SendTestEmail.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendTestEmail' do it 'should create an instance of SendTestEmail' do - expect(@instance).to be_instance_of(BrevoRuby::SendTestEmail) + expect(@instance).to be_instance_of(Brevo::SendTestEmail) end end describe 'test attribute "email_to"' do diff --git a/spec/models/send_test_sms_spec.rb b/spec/models/send_test_sms_spec.rb index 2d45dd6..e924a55 100644 --- a/spec/models/send_test_sms_spec.rb +++ b/spec/models/send_test_sms_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendTestSms +# Unit tests for Brevo::SendTestSms # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendTestSms' do before do # run before each test - @instance = BrevoRuby::SendTestSms.new + @instance = Brevo::SendTestSms.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendTestSms' do it 'should create an instance of SendTestSms' do - expect(@instance).to be_instance_of(BrevoRuby::SendTestSms) + expect(@instance).to be_instance_of(Brevo::SendTestSms) end end describe 'test attribute "phone_number"' do diff --git a/spec/models/send_transac_sms_spec.rb b/spec/models/send_transac_sms_spec.rb index c9621a6..46c3baf 100644 --- a/spec/models/send_transac_sms_spec.rb +++ b/spec/models/send_transac_sms_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendTransacSms +# Unit tests for Brevo::SendTransacSms # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendTransacSms' do before do # run before each test - @instance = BrevoRuby::SendTransacSms.new + @instance = Brevo::SendTransacSms.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendTransacSms' do it 'should create an instance of SendTransacSms' do - expect(@instance).to be_instance_of(BrevoRuby::SendTransacSms) + expect(@instance).to be_instance_of(Brevo::SendTransacSms) end end describe 'test attribute "sender"' do diff --git a/spec/models/send_whatsapp_message_spec.rb b/spec/models/send_whatsapp_message_spec.rb index a9a7a47..e7aafc9 100644 --- a/spec/models/send_whatsapp_message_spec.rb +++ b/spec/models/send_whatsapp_message_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SendWhatsappMessage +# Unit tests for Brevo::SendWhatsappMessage # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SendWhatsappMessage' do before do # run before each test - @instance = BrevoRuby::SendWhatsappMessage.new + @instance = Brevo::SendWhatsappMessage.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SendWhatsappMessage' do it 'should create an instance of SendWhatsappMessage' do - expect(@instance).to be_instance_of(BrevoRuby::SendWhatsappMessage) + expect(@instance).to be_instance_of(Brevo::SendWhatsappMessage) end end describe 'test attribute "template_id"' do diff --git a/spec/models/sso_token_request_spec.rb b/spec/models/sso_token_request_spec.rb index 16597be..4c77d46 100644 --- a/spec/models/sso_token_request_spec.rb +++ b/spec/models/sso_token_request_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SsoTokenRequest +# Unit tests for Brevo::SsoTokenRequest # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SsoTokenRequest' do before do # run before each test - @instance = BrevoRuby::SsoTokenRequest.new + @instance = Brevo::SsoTokenRequest.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SsoTokenRequest' do it 'should create an instance of SsoTokenRequest' do - expect(@instance).to be_instance_of(BrevoRuby::SsoTokenRequest) + expect(@instance).to be_instance_of(Brevo::SsoTokenRequest) end end describe 'test attribute "id"' do @@ -54,4 +54,10 @@ end end + describe 'test attribute "url"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/spec/models/sub_account_apps_toggle_request_spec.rb b/spec/models/sub_account_apps_toggle_request_spec.rb new file mode 100644 index 0000000..1a4893e --- /dev/null +++ b/spec/models/sub_account_apps_toggle_request_spec.rb @@ -0,0 +1,113 @@ +=begin +#Brevo API + +#Brevo 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/brevo **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@brevo.com +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.4.19 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Brevo::SubAccountAppsToggleRequest +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'SubAccountAppsToggleRequest' do + before do + # run before each test + @instance = Brevo::SubAccountAppsToggleRequest.new + end + + after do + # run after each test + end + + describe 'test an instance of SubAccountAppsToggleRequest' do + it 'should create an instance of SubAccountAppsToggleRequest' do + expect(@instance).to be_instance_of(Brevo::SubAccountAppsToggleRequest) + end + end + describe 'test attribute "inbox"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "whatsapp"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "automation"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "email_campaigns"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "sms_campaigns"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "landing_pages"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "transactional_emails"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "transactional_sms"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "facebook_ads"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "web_push"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "meetings"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "conversations"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "crm"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/spec/models/sub_account_details_response_plan_info_credits_emails_spec.rb b/spec/models/sub_account_details_response_plan_info_credits_emails_spec.rb index 8748bb4..ccc10ca 100644 --- a/spec/models/sub_account_details_response_plan_info_credits_emails_spec.rb +++ b/spec/models/sub_account_details_response_plan_info_credits_emails_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SubAccountDetailsResponsePlanInfoCreditsEmails +# Unit tests for Brevo::SubAccountDetailsResponsePlanInfoCreditsEmails # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SubAccountDetailsResponsePlanInfoCreditsEmails' do before do # run before each test - @instance = BrevoRuby::SubAccountDetailsResponsePlanInfoCreditsEmails.new + @instance = Brevo::SubAccountDetailsResponsePlanInfoCreditsEmails.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SubAccountDetailsResponsePlanInfoCreditsEmails' do it 'should create an instance of SubAccountDetailsResponsePlanInfoCreditsEmails' do - expect(@instance).to be_instance_of(BrevoRuby::SubAccountDetailsResponsePlanInfoCreditsEmails) + expect(@instance).to be_instance_of(Brevo::SubAccountDetailsResponsePlanInfoCreditsEmails) end end describe 'test attribute "quantity"' do diff --git a/spec/models/sub_account_details_response_plan_info_credits_spec.rb b/spec/models/sub_account_details_response_plan_info_credits_spec.rb index e7b89fd..d103a9b 100644 --- a/spec/models/sub_account_details_response_plan_info_credits_spec.rb +++ b/spec/models/sub_account_details_response_plan_info_credits_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SubAccountDetailsResponsePlanInfoCredits +# Unit tests for Brevo::SubAccountDetailsResponsePlanInfoCredits # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SubAccountDetailsResponsePlanInfoCredits' do before do # run before each test - @instance = BrevoRuby::SubAccountDetailsResponsePlanInfoCredits.new + @instance = Brevo::SubAccountDetailsResponsePlanInfoCredits.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SubAccountDetailsResponsePlanInfoCredits' do it 'should create an instance of SubAccountDetailsResponsePlanInfoCredits' do - expect(@instance).to be_instance_of(BrevoRuby::SubAccountDetailsResponsePlanInfoCredits) + expect(@instance).to be_instance_of(Brevo::SubAccountDetailsResponsePlanInfoCredits) end end describe 'test attribute "sms"' do diff --git a/spec/models/sub_account_details_response_plan_info_features_inbox_spec.rb b/spec/models/sub_account_details_response_plan_info_features_inbox_spec.rb index 487c9fb..d45b0a3 100644 --- a/spec/models/sub_account_details_response_plan_info_features_inbox_spec.rb +++ b/spec/models/sub_account_details_response_plan_info_features_inbox_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesInbox +# Unit tests for Brevo::SubAccountDetailsResponsePlanInfoFeaturesInbox # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SubAccountDetailsResponsePlanInfoFeaturesInbox' do before do # run before each test - @instance = BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesInbox.new + @instance = Brevo::SubAccountDetailsResponsePlanInfoFeaturesInbox.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SubAccountDetailsResponsePlanInfoFeaturesInbox' do it 'should create an instance of SubAccountDetailsResponsePlanInfoFeaturesInbox' do - expect(@instance).to be_instance_of(BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesInbox) + expect(@instance).to be_instance_of(Brevo::SubAccountDetailsResponsePlanInfoFeaturesInbox) end end describe 'test attribute "quantity"' do diff --git a/spec/models/sub_account_details_response_plan_info_features_landing_page_spec.rb b/spec/models/sub_account_details_response_plan_info_features_landing_page_spec.rb index ad176b5..b4e2e3f 100644 --- a/spec/models/sub_account_details_response_plan_info_features_landing_page_spec.rb +++ b/spec/models/sub_account_details_response_plan_info_features_landing_page_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesLandingPage +# Unit tests for Brevo::SubAccountDetailsResponsePlanInfoFeaturesLandingPage # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SubAccountDetailsResponsePlanInfoFeaturesLandingPage' do before do # run before each test - @instance = BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesLandingPage.new + @instance = Brevo::SubAccountDetailsResponsePlanInfoFeaturesLandingPage.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SubAccountDetailsResponsePlanInfoFeaturesLandingPage' do it 'should create an instance of SubAccountDetailsResponsePlanInfoFeaturesLandingPage' do - expect(@instance).to be_instance_of(BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesLandingPage) + expect(@instance).to be_instance_of(Brevo::SubAccountDetailsResponsePlanInfoFeaturesLandingPage) end end describe 'test attribute "quantity"' do diff --git a/spec/models/sub_account_details_response_plan_info_features_spec.rb b/spec/models/sub_account_details_response_plan_info_features_spec.rb index e0991aa..29cc90a 100644 --- a/spec/models/sub_account_details_response_plan_info_features_spec.rb +++ b/spec/models/sub_account_details_response_plan_info_features_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SubAccountDetailsResponsePlanInfoFeatures +# Unit tests for Brevo::SubAccountDetailsResponsePlanInfoFeatures # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SubAccountDetailsResponsePlanInfoFeatures' do before do # run before each test - @instance = BrevoRuby::SubAccountDetailsResponsePlanInfoFeatures.new + @instance = Brevo::SubAccountDetailsResponsePlanInfoFeatures.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SubAccountDetailsResponsePlanInfoFeatures' do it 'should create an instance of SubAccountDetailsResponsePlanInfoFeatures' do - expect(@instance).to be_instance_of(BrevoRuby::SubAccountDetailsResponsePlanInfoFeatures) + expect(@instance).to be_instance_of(Brevo::SubAccountDetailsResponsePlanInfoFeatures) end end describe 'test attribute "inbox"' do diff --git a/spec/models/sub_account_details_response_plan_info_features_users_spec.rb b/spec/models/sub_account_details_response_plan_info_features_users_spec.rb index 964ded9..72890b4 100644 --- a/spec/models/sub_account_details_response_plan_info_features_users_spec.rb +++ b/spec/models/sub_account_details_response_plan_info_features_users_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesUsers +# Unit tests for Brevo::SubAccountDetailsResponsePlanInfoFeaturesUsers # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SubAccountDetailsResponsePlanInfoFeaturesUsers' do before do # run before each test - @instance = BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesUsers.new + @instance = Brevo::SubAccountDetailsResponsePlanInfoFeaturesUsers.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SubAccountDetailsResponsePlanInfoFeaturesUsers' do it 'should create an instance of SubAccountDetailsResponsePlanInfoFeaturesUsers' do - expect(@instance).to be_instance_of(BrevoRuby::SubAccountDetailsResponsePlanInfoFeaturesUsers) + expect(@instance).to be_instance_of(Brevo::SubAccountDetailsResponsePlanInfoFeaturesUsers) end end describe 'test attribute "quantity"' do diff --git a/spec/models/sub_account_details_response_plan_info_spec.rb b/spec/models/sub_account_details_response_plan_info_spec.rb index 620a1c7..dc14c48 100644 --- a/spec/models/sub_account_details_response_plan_info_spec.rb +++ b/spec/models/sub_account_details_response_plan_info_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SubAccountDetailsResponsePlanInfo +# Unit tests for Brevo::SubAccountDetailsResponsePlanInfo # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SubAccountDetailsResponsePlanInfo' do before do # run before each test - @instance = BrevoRuby::SubAccountDetailsResponsePlanInfo.new + @instance = Brevo::SubAccountDetailsResponsePlanInfo.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SubAccountDetailsResponsePlanInfo' do it 'should create an instance of SubAccountDetailsResponsePlanInfo' do - expect(@instance).to be_instance_of(BrevoRuby::SubAccountDetailsResponsePlanInfo) + expect(@instance).to be_instance_of(Brevo::SubAccountDetailsResponsePlanInfo) end end describe 'test attribute "credits"' do diff --git a/spec/models/sub_account_details_response_spec.rb b/spec/models/sub_account_details_response_spec.rb index 46d7122..34ce0d6 100644 --- a/spec/models/sub_account_details_response_spec.rb +++ b/spec/models/sub_account_details_response_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SubAccountDetailsResponse +# Unit tests for Brevo::SubAccountDetailsResponse # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SubAccountDetailsResponse' do before do # run before each test - @instance = BrevoRuby::SubAccountDetailsResponse.new + @instance = Brevo::SubAccountDetailsResponse.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SubAccountDetailsResponse' do it 'should create an instance of SubAccountDetailsResponse' do - expect(@instance).to be_instance_of(BrevoRuby::SubAccountDetailsResponse) + expect(@instance).to be_instance_of(Brevo::SubAccountDetailsResponse) end end describe 'test attribute "name"' do diff --git a/spec/models/sub_account_update_plan_request_credits_spec.rb b/spec/models/sub_account_update_plan_request_credits_spec.rb index 244c17e..fb1981e 100644 --- a/spec/models/sub_account_update_plan_request_credits_spec.rb +++ b/spec/models/sub_account_update_plan_request_credits_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SubAccountUpdatePlanRequestCredits +# Unit tests for Brevo::SubAccountUpdatePlanRequestCredits # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SubAccountUpdatePlanRequestCredits' do before do # run before each test - @instance = BrevoRuby::SubAccountUpdatePlanRequestCredits.new + @instance = Brevo::SubAccountUpdatePlanRequestCredits.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SubAccountUpdatePlanRequestCredits' do it 'should create an instance of SubAccountUpdatePlanRequestCredits' do - expect(@instance).to be_instance_of(BrevoRuby::SubAccountUpdatePlanRequestCredits) + expect(@instance).to be_instance_of(Brevo::SubAccountUpdatePlanRequestCredits) end end describe 'test attribute "email"' do diff --git a/spec/models/sub_account_update_plan_request_features_spec.rb b/spec/models/sub_account_update_plan_request_features_spec.rb index a4c9d70..dfa3c37 100644 --- a/spec/models/sub_account_update_plan_request_features_spec.rb +++ b/spec/models/sub_account_update_plan_request_features_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SubAccountUpdatePlanRequestFeatures +# Unit tests for Brevo::SubAccountUpdatePlanRequestFeatures # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SubAccountUpdatePlanRequestFeatures' do before do # run before each test - @instance = BrevoRuby::SubAccountUpdatePlanRequestFeatures.new + @instance = Brevo::SubAccountUpdatePlanRequestFeatures.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SubAccountUpdatePlanRequestFeatures' do it 'should create an instance of SubAccountUpdatePlanRequestFeatures' do - expect(@instance).to be_instance_of(BrevoRuby::SubAccountUpdatePlanRequestFeatures) + expect(@instance).to be_instance_of(Brevo::SubAccountUpdatePlanRequestFeatures) end end describe 'test attribute "users"' do diff --git a/spec/models/sub_account_update_plan_request_spec.rb b/spec/models/sub_account_update_plan_request_spec.rb index b38010b..4029c56 100644 --- a/spec/models/sub_account_update_plan_request_spec.rb +++ b/spec/models/sub_account_update_plan_request_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SubAccountUpdatePlanRequest +# Unit tests for Brevo::SubAccountUpdatePlanRequest # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SubAccountUpdatePlanRequest' do before do # run before each test - @instance = BrevoRuby::SubAccountUpdatePlanRequest.new + @instance = Brevo::SubAccountUpdatePlanRequest.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SubAccountUpdatePlanRequest' do it 'should create an instance of SubAccountUpdatePlanRequest' do - expect(@instance).to be_instance_of(BrevoRuby::SubAccountUpdatePlanRequest) + expect(@instance).to be_instance_of(Brevo::SubAccountUpdatePlanRequest) end end describe 'test attribute "credits"' do diff --git a/spec/models/sub_accounts_response_spec.rb b/spec/models/sub_accounts_response_spec.rb index 6122a92..874653a 100644 --- a/spec/models/sub_accounts_response_spec.rb +++ b/spec/models/sub_accounts_response_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SubAccountsResponse +# Unit tests for Brevo::SubAccountsResponse # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SubAccountsResponse' do before do # run before each test - @instance = BrevoRuby::SubAccountsResponse.new + @instance = Brevo::SubAccountsResponse.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SubAccountsResponse' do it 'should create an instance of SubAccountsResponse' do - expect(@instance).to be_instance_of(BrevoRuby::SubAccountsResponse) + expect(@instance).to be_instance_of(Brevo::SubAccountsResponse) end end describe 'test attribute "count"' do diff --git a/spec/models/sub_accounts_response_sub_accounts_spec.rb b/spec/models/sub_accounts_response_sub_accounts_spec.rb index 19f4655..c99553b 100644 --- a/spec/models/sub_accounts_response_sub_accounts_spec.rb +++ b/spec/models/sub_accounts_response_sub_accounts_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::SubAccountsResponseSubAccounts +# Unit tests for Brevo::SubAccountsResponseSubAccounts # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SubAccountsResponseSubAccounts' do before do # run before each test - @instance = BrevoRuby::SubAccountsResponseSubAccounts.new + @instance = Brevo::SubAccountsResponseSubAccounts.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of SubAccountsResponseSubAccounts' do it 'should create an instance of SubAccountsResponseSubAccounts' do - expect(@instance).to be_instance_of(BrevoRuby::SubAccountsResponseSubAccounts) + expect(@instance).to be_instance_of(Brevo::SubAccountsResponseSubAccounts) end end describe 'test attribute "id"' do diff --git a/spec/models/task_list_spec.rb b/spec/models/task_list_spec.rb index 561f4bf..8dd1958 100644 --- a/spec/models/task_list_spec.rb +++ b/spec/models/task_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::TaskList +# Unit tests for Brevo::TaskList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'TaskList' do before do # run before each test - @instance = BrevoRuby::TaskList.new + @instance = Brevo::TaskList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of TaskList' do it 'should create an instance of TaskList' do - expect(@instance).to be_instance_of(BrevoRuby::TaskList) + expect(@instance).to be_instance_of(Brevo::TaskList) end end describe 'test attribute "items"' do diff --git a/spec/models/task_reminder_spec.rb b/spec/models/task_reminder_spec.rb index 49d60da..21ac15d 100644 --- a/spec/models/task_reminder_spec.rb +++ b/spec/models/task_reminder_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::TaskReminder +# Unit tests for Brevo::TaskReminder # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'TaskReminder' do before do # run before each test - @instance = BrevoRuby::TaskReminder.new + @instance = Brevo::TaskReminder.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of TaskReminder' do it 'should create an instance of TaskReminder' do - expect(@instance).to be_instance_of(BrevoRuby::TaskReminder) + expect(@instance).to be_instance_of(Brevo::TaskReminder) end end describe 'test attribute "value"' do diff --git a/spec/models/task_spec.rb b/spec/models/task_spec.rb index 734d9a8..5aab390 100644 --- a/spec/models/task_spec.rb +++ b/spec/models/task_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::Task +# Unit tests for Brevo::Task # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Task' do before do # run before each test - @instance = BrevoRuby::Task.new + @instance = Brevo::Task.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of Task' do it 'should create an instance of Task' do - expect(@instance).to be_instance_of(BrevoRuby::Task) + expect(@instance).to be_instance_of(Brevo::Task) end end describe 'test attribute "id"' do diff --git a/spec/models/task_types_spec.rb b/spec/models/task_types_spec.rb index 6c76b77..6d69fa6 100644 --- a/spec/models/task_types_spec.rb +++ b/spec/models/task_types_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::TaskTypes +# Unit tests for Brevo::TaskTypes # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'TaskTypes' do before do # run before each test - @instance = BrevoRuby::TaskTypes.new + @instance = Brevo::TaskTypes.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of TaskTypes' do it 'should create an instance of TaskTypes' do - expect(@instance).to be_instance_of(BrevoRuby::TaskTypes) + expect(@instance).to be_instance_of(Brevo::TaskTypes) end end describe 'test attribute "id"' do diff --git a/spec/models/update_attribute_enumeration_spec.rb b/spec/models/update_attribute_enumeration_spec.rb index f81b413..2b0ef19 100644 --- a/spec/models/update_attribute_enumeration_spec.rb +++ b/spec/models/update_attribute_enumeration_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateAttributeEnumeration +# Unit tests for Brevo::UpdateAttributeEnumeration # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateAttributeEnumeration' do before do # run before each test - @instance = BrevoRuby::UpdateAttributeEnumeration.new + @instance = Brevo::UpdateAttributeEnumeration.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateAttributeEnumeration' do it 'should create an instance of UpdateAttributeEnumeration' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateAttributeEnumeration) + expect(@instance).to be_instance_of(Brevo::UpdateAttributeEnumeration) end end describe 'test attribute "value"' do diff --git a/spec/models/update_attribute_spec.rb b/spec/models/update_attribute_spec.rb index 84604e4..8ecaecd 100644 --- a/spec/models/update_attribute_spec.rb +++ b/spec/models/update_attribute_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateAttribute +# Unit tests for Brevo::UpdateAttribute # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateAttribute' do before do # run before each test - @instance = BrevoRuby::UpdateAttribute.new + @instance = Brevo::UpdateAttribute.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateAttribute' do it 'should create an instance of UpdateAttribute' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateAttribute) + expect(@instance).to be_instance_of(Brevo::UpdateAttribute) end end describe 'test attribute "value"' do diff --git a/spec/models/update_batch_contacts_contacts_spec.rb b/spec/models/update_batch_contacts_contacts_spec.rb index 2d9921b..99f5bb0 100644 --- a/spec/models/update_batch_contacts_contacts_spec.rb +++ b/spec/models/update_batch_contacts_contacts_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateBatchContactsContacts +# Unit tests for Brevo::UpdateBatchContactsContacts # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateBatchContactsContacts' do before do # run before each test - @instance = BrevoRuby::UpdateBatchContactsContacts.new + @instance = Brevo::UpdateBatchContactsContacts.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateBatchContactsContacts' do it 'should create an instance of UpdateBatchContactsContacts' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateBatchContactsContacts) + expect(@instance).to be_instance_of(Brevo::UpdateBatchContactsContacts) end end describe 'test attribute "email"' do diff --git a/spec/models/update_batch_contacts_model_spec.rb b/spec/models/update_batch_contacts_model_spec.rb index 8203104..79780fe 100644 --- a/spec/models/update_batch_contacts_model_spec.rb +++ b/spec/models/update_batch_contacts_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateBatchContactsModel +# Unit tests for Brevo::UpdateBatchContactsModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateBatchContactsModel' do before do # run before each test - @instance = BrevoRuby::UpdateBatchContactsModel.new + @instance = Brevo::UpdateBatchContactsModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateBatchContactsModel' do it 'should create an instance of UpdateBatchContactsModel' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateBatchContactsModel) + expect(@instance).to be_instance_of(Brevo::UpdateBatchContactsModel) end end describe 'test attribute "success_ids"' do diff --git a/spec/models/update_batch_contacts_spec.rb b/spec/models/update_batch_contacts_spec.rb index 7f7ec4e..99f9c17 100644 --- a/spec/models/update_batch_contacts_spec.rb +++ b/spec/models/update_batch_contacts_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateBatchContacts +# Unit tests for Brevo::UpdateBatchContacts # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateBatchContacts' do before do # run before each test - @instance = BrevoRuby::UpdateBatchContacts.new + @instance = Brevo::UpdateBatchContacts.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateBatchContacts' do it 'should create an instance of UpdateBatchContacts' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateBatchContacts) + expect(@instance).to be_instance_of(Brevo::UpdateBatchContacts) end end describe 'test attribute "contacts"' do diff --git a/spec/models/update_campaign_status_spec.rb b/spec/models/update_campaign_status_spec.rb index b470f8c..7592470 100644 --- a/spec/models/update_campaign_status_spec.rb +++ b/spec/models/update_campaign_status_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateCampaignStatus +# Unit tests for Brevo::UpdateCampaignStatus # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateCampaignStatus' do before do # run before each test - @instance = BrevoRuby::UpdateCampaignStatus.new + @instance = Brevo::UpdateCampaignStatus.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateCampaignStatus' do it 'should create an instance of UpdateCampaignStatus' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateCampaignStatus) + expect(@instance).to be_instance_of(Brevo::UpdateCampaignStatus) end end describe 'test attribute "status"' do diff --git a/spec/models/update_child_account_status_spec.rb b/spec/models/update_child_account_status_spec.rb index a07eb3e..da53260 100644 --- a/spec/models/update_child_account_status_spec.rb +++ b/spec/models/update_child_account_status_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateChildAccountStatus +# Unit tests for Brevo::UpdateChildAccountStatus # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateChildAccountStatus' do before do # run before each test - @instance = BrevoRuby::UpdateChildAccountStatus.new + @instance = Brevo::UpdateChildAccountStatus.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateChildAccountStatus' do it 'should create an instance of UpdateChildAccountStatus' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateChildAccountStatus) + expect(@instance).to be_instance_of(Brevo::UpdateChildAccountStatus) end end describe 'test attribute "transactional_email"' do diff --git a/spec/models/update_child_domain_spec.rb b/spec/models/update_child_domain_spec.rb index 025273b..8c39afc 100644 --- a/spec/models/update_child_domain_spec.rb +++ b/spec/models/update_child_domain_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateChildDomain +# Unit tests for Brevo::UpdateChildDomain # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateChildDomain' do before do # run before each test - @instance = BrevoRuby::UpdateChildDomain.new + @instance = Brevo::UpdateChildDomain.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateChildDomain' do it 'should create an instance of UpdateChildDomain' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateChildDomain) + expect(@instance).to be_instance_of(Brevo::UpdateChildDomain) end end describe 'test attribute "domain"' do diff --git a/spec/models/update_child_spec.rb b/spec/models/update_child_spec.rb index 1f752d5..ee1fcaa 100644 --- a/spec/models/update_child_spec.rb +++ b/spec/models/update_child_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateChild +# Unit tests for Brevo::UpdateChild # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateChild' do before do # run before each test - @instance = BrevoRuby::UpdateChild.new + @instance = Brevo::UpdateChild.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateChild' do it 'should create an instance of UpdateChild' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateChild) + expect(@instance).to be_instance_of(Brevo::UpdateChild) end end describe 'test attribute "email"' do diff --git a/spec/models/update_contact_spec.rb b/spec/models/update_contact_spec.rb index 4329b5a..6278583 100644 --- a/spec/models/update_contact_spec.rb +++ b/spec/models/update_contact_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateContact +# Unit tests for Brevo::UpdateContact # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateContact' do before do # run before each test - @instance = BrevoRuby::UpdateContact.new + @instance = Brevo::UpdateContact.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateContact' do it 'should create an instance of UpdateContact' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateContact) + expect(@instance).to be_instance_of(Brevo::UpdateContact) end end describe 'test attribute "attributes"' do diff --git a/spec/models/update_coupon_collection_spec.rb b/spec/models/update_coupon_collection_spec.rb index b8bc9b7..c103c0e 100644 --- a/spec/models/update_coupon_collection_spec.rb +++ b/spec/models/update_coupon_collection_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateCouponCollection +# Unit tests for Brevo::UpdateCouponCollection # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateCouponCollection' do before do # run before each test - @instance = BrevoRuby::UpdateCouponCollection.new + @instance = Brevo::UpdateCouponCollection.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateCouponCollection' do it 'should create an instance of UpdateCouponCollection' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateCouponCollection) + expect(@instance).to be_instance_of(Brevo::UpdateCouponCollection) end end describe 'test attribute "default_coupon"' do diff --git a/spec/models/update_email_campaign_recipients_spec.rb b/spec/models/update_email_campaign_recipients_spec.rb index 243077f..63ac1c7 100644 --- a/spec/models/update_email_campaign_recipients_spec.rb +++ b/spec/models/update_email_campaign_recipients_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateEmailCampaignRecipients +# Unit tests for Brevo::UpdateEmailCampaignRecipients # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateEmailCampaignRecipients' do before do # run before each test - @instance = BrevoRuby::UpdateEmailCampaignRecipients.new + @instance = Brevo::UpdateEmailCampaignRecipients.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateEmailCampaignRecipients' do it 'should create an instance of UpdateEmailCampaignRecipients' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateEmailCampaignRecipients) + expect(@instance).to be_instance_of(Brevo::UpdateEmailCampaignRecipients) end end describe 'test attribute "exclusion_list_ids"' do diff --git a/spec/models/update_email_campaign_sender_spec.rb b/spec/models/update_email_campaign_sender_spec.rb index 846ff40..4482bc2 100644 --- a/spec/models/update_email_campaign_sender_spec.rb +++ b/spec/models/update_email_campaign_sender_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateEmailCampaignSender +# Unit tests for Brevo::UpdateEmailCampaignSender # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateEmailCampaignSender' do before do # run before each test - @instance = BrevoRuby::UpdateEmailCampaignSender.new + @instance = Brevo::UpdateEmailCampaignSender.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateEmailCampaignSender' do it 'should create an instance of UpdateEmailCampaignSender' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateEmailCampaignSender) + expect(@instance).to be_instance_of(Brevo::UpdateEmailCampaignSender) end end describe 'test attribute "name"' do diff --git a/spec/models/update_email_campaign_spec.rb b/spec/models/update_email_campaign_spec.rb index fdd818f..bc4fa07 100644 --- a/spec/models/update_email_campaign_spec.rb +++ b/spec/models/update_email_campaign_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateEmailCampaign +# Unit tests for Brevo::UpdateEmailCampaign # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateEmailCampaign' do before do # run before each test - @instance = BrevoRuby::UpdateEmailCampaign.new + @instance = Brevo::UpdateEmailCampaign.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateEmailCampaign' do it 'should create an instance of UpdateEmailCampaign' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateEmailCampaign) + expect(@instance).to be_instance_of(Brevo::UpdateEmailCampaign) end end describe 'test attribute "tag"' do @@ -74,6 +74,12 @@ end end + describe 'test attribute "preview_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "reply_to"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/spec/models/update_external_feed_spec.rb b/spec/models/update_external_feed_spec.rb index 31d7a33..799b0b5 100644 --- a/spec/models/update_external_feed_spec.rb +++ b/spec/models/update_external_feed_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateExternalFeed +# Unit tests for Brevo::UpdateExternalFeed # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateExternalFeed' do before do # run before each test - @instance = BrevoRuby::UpdateExternalFeed.new + @instance = Brevo::UpdateExternalFeed.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateExternalFeed' do it 'should create an instance of UpdateExternalFeed' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateExternalFeed) + expect(@instance).to be_instance_of(Brevo::UpdateExternalFeed) end end describe 'test attribute "name"' do diff --git a/spec/models/update_list_spec.rb b/spec/models/update_list_spec.rb index 791c89c..bc1602d 100644 --- a/spec/models/update_list_spec.rb +++ b/spec/models/update_list_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateList +# Unit tests for Brevo::UpdateList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateList' do before do # run before each test - @instance = BrevoRuby::UpdateList.new + @instance = Brevo::UpdateList.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateList' do it 'should create an instance of UpdateList' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateList) + expect(@instance).to be_instance_of(Brevo::UpdateList) end end describe 'test attribute "name"' do diff --git a/spec/models/update_sender_spec.rb b/spec/models/update_sender_spec.rb index 84cda07..bf4b366 100644 --- a/spec/models/update_sender_spec.rb +++ b/spec/models/update_sender_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateSender +# Unit tests for Brevo::UpdateSender # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateSender' do before do # run before each test - @instance = BrevoRuby::UpdateSender.new + @instance = Brevo::UpdateSender.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateSender' do it 'should create an instance of UpdateSender' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateSender) + expect(@instance).to be_instance_of(Brevo::UpdateSender) end end describe 'test attribute "name"' do diff --git a/spec/models/update_sms_campaign_spec.rb b/spec/models/update_sms_campaign_spec.rb index eb6ca83..f404a8f 100644 --- a/spec/models/update_sms_campaign_spec.rb +++ b/spec/models/update_sms_campaign_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateSmsCampaign +# Unit tests for Brevo::UpdateSmsCampaign # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateSmsCampaign' do before do # run before each test - @instance = BrevoRuby::UpdateSmsCampaign.new + @instance = Brevo::UpdateSmsCampaign.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateSmsCampaign' do it 'should create an instance of UpdateSmsCampaign' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateSmsCampaign) + expect(@instance).to be_instance_of(Brevo::UpdateSmsCampaign) end end describe 'test attribute "name"' do diff --git a/spec/models/update_smtp_template_sender_spec.rb b/spec/models/update_smtp_template_sender_spec.rb index d5189f6..bf92a91 100644 --- a/spec/models/update_smtp_template_sender_spec.rb +++ b/spec/models/update_smtp_template_sender_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateSmtpTemplateSender +# Unit tests for Brevo::UpdateSmtpTemplateSender # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateSmtpTemplateSender' do before do # run before each test - @instance = BrevoRuby::UpdateSmtpTemplateSender.new + @instance = Brevo::UpdateSmtpTemplateSender.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateSmtpTemplateSender' do it 'should create an instance of UpdateSmtpTemplateSender' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateSmtpTemplateSender) + expect(@instance).to be_instance_of(Brevo::UpdateSmtpTemplateSender) end end describe 'test attribute "name"' do diff --git a/spec/models/update_smtp_template_spec.rb b/spec/models/update_smtp_template_spec.rb index 62a534f..fb72e05 100644 --- a/spec/models/update_smtp_template_spec.rb +++ b/spec/models/update_smtp_template_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateSmtpTemplate +# Unit tests for Brevo::UpdateSmtpTemplate # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateSmtpTemplate' do before do # run before each test - @instance = BrevoRuby::UpdateSmtpTemplate.new + @instance = Brevo::UpdateSmtpTemplate.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateSmtpTemplate' do it 'should create an instance of UpdateSmtpTemplate' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateSmtpTemplate) + expect(@instance).to be_instance_of(Brevo::UpdateSmtpTemplate) end end describe 'test attribute "tag"' do diff --git a/spec/models/update_webhook_spec.rb b/spec/models/update_webhook_spec.rb index dc009c2..e3607e6 100644 --- a/spec/models/update_webhook_spec.rb +++ b/spec/models/update_webhook_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateWebhook +# Unit tests for Brevo::UpdateWebhook # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateWebhook' do before do # run before each test - @instance = BrevoRuby::UpdateWebhook.new + @instance = Brevo::UpdateWebhook.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateWebhook' do it 'should create an instance of UpdateWebhook' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateWebhook) + expect(@instance).to be_instance_of(Brevo::UpdateWebhook) end end describe 'test attribute "url"' do diff --git a/spec/models/update_whats_app_campaign_spec.rb b/spec/models/update_whats_app_campaign_spec.rb index 92ff04f..1f43839 100644 --- a/spec/models/update_whats_app_campaign_spec.rb +++ b/spec/models/update_whats_app_campaign_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UpdateWhatsAppCampaign +# Unit tests for Brevo::UpdateWhatsAppCampaign # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UpdateWhatsAppCampaign' do before do # run before each test - @instance = BrevoRuby::UpdateWhatsAppCampaign.new + @instance = Brevo::UpdateWhatsAppCampaign.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UpdateWhatsAppCampaign' do it 'should create an instance of UpdateWhatsAppCampaign' do - expect(@instance).to be_instance_of(BrevoRuby::UpdateWhatsAppCampaign) + expect(@instance).to be_instance_of(Brevo::UpdateWhatsAppCampaign) end end describe 'test attribute "campaign_name"' do diff --git a/spec/models/upload_image_model_spec.rb b/spec/models/upload_image_model_spec.rb index 09fbf39..10b120b 100644 --- a/spec/models/upload_image_model_spec.rb +++ b/spec/models/upload_image_model_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UploadImageModel +# Unit tests for Brevo::UploadImageModel # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UploadImageModel' do before do # run before each test - @instance = BrevoRuby::UploadImageModel.new + @instance = Brevo::UploadImageModel.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UploadImageModel' do it 'should create an instance of UploadImageModel' do - expect(@instance).to be_instance_of(BrevoRuby::UploadImageModel) + expect(@instance).to be_instance_of(Brevo::UploadImageModel) end end describe 'test attribute "url"' do diff --git a/spec/models/upload_image_to_gallery_spec.rb b/spec/models/upload_image_to_gallery_spec.rb index 0cdb1b6..2692b30 100644 --- a/spec/models/upload_image_to_gallery_spec.rb +++ b/spec/models/upload_image_to_gallery_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::UploadImageToGallery +# Unit tests for Brevo::UploadImageToGallery # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UploadImageToGallery' do before do # run before each test - @instance = BrevoRuby::UploadImageToGallery.new + @instance = Brevo::UploadImageToGallery.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of UploadImageToGallery' do it 'should create an instance of UploadImageToGallery' do - expect(@instance).to be_instance_of(BrevoRuby::UploadImageToGallery) + expect(@instance).to be_instance_of(Brevo::UploadImageToGallery) end end describe 'test attribute "image_url"' do diff --git a/spec/models/variables_items_spec.rb b/spec/models/variables_items_spec.rb index bdff863..9432867 100644 --- a/spec/models/variables_items_spec.rb +++ b/spec/models/variables_items_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::VariablesItems +# Unit tests for Brevo::VariablesItems # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'VariablesItems' do before do # run before each test - @instance = BrevoRuby::VariablesItems.new + @instance = Brevo::VariablesItems.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of VariablesItems' do it 'should create an instance of VariablesItems' do - expect(@instance).to be_instance_of(BrevoRuby::VariablesItems) + expect(@instance).to be_instance_of(Brevo::VariablesItems) end end describe 'test attribute "name"' do diff --git a/spec/models/whatsapp_camp_stats_spec.rb b/spec/models/whatsapp_camp_stats_spec.rb index a702294..2d1b606 100644 --- a/spec/models/whatsapp_camp_stats_spec.rb +++ b/spec/models/whatsapp_camp_stats_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::WhatsappCampStats +# Unit tests for Brevo::WhatsappCampStats # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'WhatsappCampStats' do before do # run before each test - @instance = BrevoRuby::WhatsappCampStats.new + @instance = Brevo::WhatsappCampStats.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of WhatsappCampStats' do it 'should create an instance of WhatsappCampStats' do - expect(@instance).to be_instance_of(BrevoRuby::WhatsappCampStats) + expect(@instance).to be_instance_of(Brevo::WhatsappCampStats) end end describe 'test attribute "sent"' do diff --git a/spec/models/whatsapp_camp_template_spec.rb b/spec/models/whatsapp_camp_template_spec.rb index d8d7493..b1a3d0b 100644 --- a/spec/models/whatsapp_camp_template_spec.rb +++ b/spec/models/whatsapp_camp_template_spec.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -14,13 +14,13 @@ require 'json' require 'date' -# Unit tests for BrevoRuby::WhatsappCampTemplate +# Unit tests for Brevo::WhatsappCampTemplate # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'WhatsappCampTemplate' do before do # run before each test - @instance = BrevoRuby::WhatsappCampTemplate.new + @instance = Brevo::WhatsappCampTemplate.new end after do @@ -29,7 +29,7 @@ describe 'test an instance of WhatsappCampTemplate' do it 'should create an instance of WhatsappCampTemplate' do - expect(@instance).to be_instance_of(BrevoRuby::WhatsappCampTemplate) + expect(@instance).to be_instance_of(Brevo::WhatsappCampTemplate) end end describe 'test attribute "name"' do diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2be6a9b..d082017 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,7 +1,7 @@ =begin #Brevo API -#Brevo 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/getbrevo **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 | +#Brevo 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/brevo **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@brevo.com @@ -11,7 +11,7 @@ =end # load the gem -require 'brevo-ruby' +require 'brevo' # The following was generated by the `rspec --init` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.