From 72781b835dab89c8bd9e6b0a0ff8680b5ae4bc4d Mon Sep 17 00:00:00 2001 From: jain-raunak Date: Thu, 25 May 2023 16:20:17 +0530 Subject: [PATCH] package name changed --- go.mod | 2 +- lib/api_account.go | 2 +- lib/api_companies.go | 2 +- lib/api_contacts.go | 2 +- lib/api_conversations.go | 2 +- lib/api_deals.go | 2 +- lib/api_domains.go | 2 +- lib/api_ecommerce.go | 2 +- lib/api_email_campaigns.go | 2 +- lib/api_external_feeds.go | 2 +- lib/api_files.go | 2 +- lib/api_inbound_parsing.go | 2 +- lib/api_master_account.go | 2 +- lib/api_notes.go | 2 +- lib/api_process.go | 2 +- lib/api_reseller.go | 2 +- lib/api_senders.go | 2 +- lib/api_sms_campaigns.go | 2 +- lib/api_tasks.go | 2 +- lib/api_transactional_emails.go | 2 +- lib/api_transactional_sms.go | 2 +- lib/api_transactional_whats_app.go | 2 +- lib/api_webhooks.go | 2 +- lib/api_whats_app_campaigns.go | 2 +- lib/client.go | 2 +- lib/configuration.go | 2 +- lib/model_ab_test_campaign_result.go | 2 +- lib/model_ab_test_campaign_result_clicked_links.go | 2 +- lib/model_ab_test_campaign_result_statistics.go | 2 +- lib/model_ab_test_version_clicks.go | 2 +- lib/model_ab_test_version_clicks_inner.go | 2 +- lib/model_ab_test_version_stats.go | 2 +- lib/model_add_child_domain.go | 2 +- lib/model_add_contact_to_list.go | 2 +- lib/model_add_credits.go | 2 +- lib/model_authenticate_domain_model.go | 2 +- lib/model_block_domain.go | 2 +- lib/model_body.go | 2 +- lib/model_body_1.go | 2 +- lib/model_body_10.go | 2 +- lib/model_body_11.go | 2 +- lib/model_body_12.go | 2 +- lib/model_body_2.go | 2 +- lib/model_body_3.go | 2 +- lib/model_body_4.go | 2 +- lib/model_body_5.go | 2 +- lib/model_body_6.go | 2 +- lib/model_body_7.go | 2 +- lib/model_body_8.go | 2 +- lib/model_body_9.go | 2 +- lib/model_body_variables_items.go | 2 +- lib/model_companies_list.go | 2 +- lib/model_company.go | 2 +- lib/model_company_attributes.go | 2 +- lib/model_company_attributes_inner.go | 2 +- lib/model_component_items.go | 2 +- lib/model_conversations_message.go | 2 +- lib/model_conversations_message_file.go | 2 +- lib/model_conversations_message_file_image_info.go | 2 +- lib/model_create_api_key_request.go | 2 +- lib/model_create_api_key_response.go | 2 +- lib/model_create_attribute.go | 2 +- lib/model_create_attribute_enumeration.go | 2 +- lib/model_create_category_model.go | 2 +- lib/model_create_child.go | 2 +- lib/model_create_contact.go | 2 +- lib/model_create_doi_contact.go | 2 +- lib/model_create_domain.go | 2 +- lib/model_create_domain_model.go | 2 +- lib/model_create_domain_model_dns_records.go | 2 +- lib/model_create_domain_model_dns_records_dkim_record.go | 2 +- lib/model_create_email_campaign.go | 2 +- lib/model_create_email_campaign_recipients.go | 2 +- lib/model_create_email_campaign_sender.go | 2 +- lib/model_create_external_feed.go | 2 +- lib/model_create_list.go | 2 +- lib/model_create_model.go | 2 +- lib/model_create_product_model.go | 2 +- lib/model_create_reseller.go | 2 +- lib/model_create_sender.go | 2 +- lib/model_create_sender_ips.go | 2 +- lib/model_create_sender_model.go | 2 +- lib/model_create_sms_campaign.go | 2 +- lib/model_create_sms_campaign_recipients.go | 2 +- lib/model_create_smtp_email.go | 2 +- lib/model_create_smtp_template.go | 2 +- lib/model_create_smtp_template_sender.go | 2 +- lib/model_create_sub_account.go | 2 +- lib/model_create_sub_account_response.go | 2 +- lib/model_create_update_batch_category.go | 2 +- lib/model_create_update_batch_category_model.go | 2 +- lib/model_create_update_batch_products.go | 2 +- lib/model_create_update_batch_products_model.go | 2 +- lib/model_create_update_categories.go | 2 +- lib/model_create_update_category.go | 2 +- lib/model_create_update_contact_model.go | 2 +- lib/model_create_update_folder.go | 2 +- lib/model_create_update_product.go | 2 +- lib/model_create_update_products.go | 2 +- lib/model_create_webhook.go | 2 +- lib/model_create_whats_app_campaign.go | 2 +- lib/model_create_whats_app_campaign_recipients.go | 2 +- lib/model_create_whats_app_template.go | 2 +- lib/model_created_batch_id.go | 2 +- lib/model_created_process_id.go | 2 +- lib/model_deal.go | 2 +- lib/model_deal_attributes.go | 2 +- lib/model_deal_attributes_inner.go | 2 +- lib/model_deals_list.go | 2 +- lib/model_delete_hardbounces.go | 2 +- lib/model_email_export_recipients.go | 2 +- lib/model_error_model.go | 2 +- lib/model_export_webhooks_history.go | 2 +- lib/model_file_data.go | 2 +- lib/model_file_downloadable_link.go | 2 +- lib/model_file_list.go | 2 +- lib/model_get_account.go | 2 +- lib/model_get_account_activity.go | 2 +- lib/model_get_account_activity_logs.go | 2 +- lib/model_get_account_marketing_automation.go | 2 +- lib/model_get_account_plan.go | 2 +- lib/model_get_account_relay.go | 2 +- lib/model_get_account_relay_data.go | 2 +- lib/model_get_aggregated_report.go | 2 +- lib/model_get_all_external_feeds.go | 2 +- lib/model_get_all_external_feeds_feeds.go | 2 +- lib/model_get_attributes.go | 2 +- lib/model_get_attributes_attributes.go | 2 +- lib/model_get_attributes_enumeration.go | 2 +- lib/model_get_blocked_domains.go | 2 +- lib/model_get_campaign_overview.go | 2 +- lib/model_get_campaign_recipients.go | 2 +- lib/model_get_campaign_stats.go | 2 +- lib/model_get_categories.go | 2 +- lib/model_get_category_details.go | 2 +- lib/model_get_child_account_creation_status.go | 2 +- lib/model_get_child_domain.go | 2 +- lib/model_get_child_domains.go | 2 +- lib/model_get_child_info.go | 2 +- lib/model_get_child_info_api_keys.go | 2 +- lib/model_get_child_info_api_keys_v2.go | 2 +- lib/model_get_child_info_api_keys_v3.go | 2 +- lib/model_get_child_info_credits.go | 2 +- lib/model_get_child_info_statistics.go | 2 +- lib/model_get_children_list.go | 2 +- lib/model_get_client.go | 2 +- lib/model_get_contact_campaign_stats.go | 2 +- lib/model_get_contact_campaign_stats_clicked.go | 2 +- lib/model_get_contact_campaign_stats_opened.go | 2 +- lib/model_get_contact_campaign_stats_transac_attributes.go | 2 +- lib/model_get_contact_campaign_stats_unsubscriptions.go | 2 +- lib/model_get_contact_details.go | 2 +- lib/model_get_contacts.go | 2 +- lib/model_get_device_browser_stats.go | 2 +- lib/model_get_domainonfiguration_model.go | 2 +- lib/model_get_domains_list.go | 2 +- lib/model_get_domains_list_domains.go | 2 +- lib/model_get_email_campaign.go | 2 +- lib/model_get_email_campaigns.go | 2 +- lib/model_get_email_event_report.go | 2 +- lib/model_get_email_event_report_events.go | 2 +- lib/model_get_extended_campaign_overview.go | 2 +- lib/model_get_extended_campaign_overview_sender.go | 2 +- lib/model_get_extended_campaign_stats.go | 2 +- lib/model_get_extended_client.go | 2 +- lib/model_get_extended_client_address.go | 2 +- lib/model_get_extended_contact_details.go | 2 +- lib/model_get_extended_contact_details_statistics.go | 2 +- lib/model_get_extended_contact_details_statistics_clicked.go | 2 +- ...model_get_extended_contact_details_statistics_delivered.go | 2 +- lib/model_get_extended_contact_details_statistics_links.go | 2 +- ...l_get_extended_contact_details_statistics_messages_sent.go | 2 +- lib/model_get_extended_contact_details_statistics_opened.go | 2 +- ...get_extended_contact_details_statistics_unsubscriptions.go | 2 +- ...details_statistics_unsubscriptions_admin_unsubscription.go | 2 +- ..._details_statistics_unsubscriptions_user_unsubscription.go | 2 +- lib/model_get_extended_list.go | 2 +- lib/model_get_extended_list_campaign_stats.go | 2 +- lib/model_get_external_feed_by_uuid.go | 2 +- lib/model_get_external_feed_by_uuid_headers.go | 2 +- lib/model_get_folder.go | 2 +- lib/model_get_folder_lists.go | 2 +- lib/model_get_folders.go | 2 +- lib/model_get_inbound_email_events.go | 2 +- lib/model_get_inbound_email_events_by_uuid.go | 2 +- lib/model_get_inbound_email_events_by_uuid_attachments.go | 2 +- lib/model_get_inbound_email_events_by_uuid_logs.go | 2 +- lib/model_get_inbound_email_events_events.go | 2 +- lib/model_get_ip.go | 2 +- lib/model_get_ip_from_sender.go | 2 +- lib/model_get_ips.go | 2 +- lib/model_get_ips_from_sender.go | 2 +- lib/model_get_list.go | 2 +- lib/model_get_lists.go | 2 +- lib/model_get_process.go | 2 +- lib/model_get_processes.go | 2 +- lib/model_get_product_details.go | 2 +- lib/model_get_products.go | 2 +- lib/model_get_reports.go | 2 +- lib/model_get_reports_reports.go | 2 +- lib/model_get_scheduled_email_by_batch_id.go | 2 +- lib/model_get_scheduled_email_by_batch_id_batches.go | 2 +- lib/model_get_scheduled_email_by_message_id.go | 2 +- lib/model_get_segments.go | 2 +- lib/model_get_segments_segments.go | 2 +- lib/model_get_senders_list.go | 2 +- lib/model_get_senders_list_ips.go | 2 +- lib/model_get_senders_list_senders.go | 2 +- lib/model_get_shared_template_url.go | 2 +- lib/model_get_sms_campaign.go | 2 +- lib/model_get_sms_campaign_overview.go | 2 +- lib/model_get_sms_campaign_stats.go | 2 +- lib/model_get_sms_campaigns.go | 2 +- lib/model_get_sms_event_report.go | 2 +- lib/model_get_sms_event_report_events.go | 2 +- lib/model_get_smtp_template_overview.go | 2 +- lib/model_get_smtp_template_overview_sender.go | 2 +- lib/model_get_smtp_templates.go | 2 +- lib/model_get_sso_token.go | 2 +- lib/model_get_stats_by_browser.go | 2 +- lib/model_get_stats_by_device.go | 2 +- lib/model_get_stats_by_domain.go | 2 +- lib/model_get_transac_aggregated_sms_report.go | 2 +- lib/model_get_transac_blocked_contacts.go | 2 +- lib/model_get_transac_blocked_contacts_contacts.go | 2 +- lib/model_get_transac_blocked_contacts_reason.go | 4 ++-- lib/model_get_transac_email_content.go | 2 +- lib/model_get_transac_email_content_events.go | 2 +- lib/model_get_transac_emails_list.go | 2 +- lib/model_get_transac_emails_list_transactional_emails.go | 2 +- lib/model_get_transac_sms_report.go | 2 +- lib/model_get_transac_sms_report_reports.go | 2 +- lib/model_get_wa_templates.go | 2 +- lib/model_get_wa_templates_templates.go | 2 +- lib/model_get_webhook.go | 2 +- lib/model_get_webhooks.go | 2 +- lib/model_get_whats_app_config.go | 2 +- lib/model_get_whatsapp_campaign_overview.go | 2 +- lib/model_get_whatsapp_campaigns.go | 2 +- lib/model_get_whatsapp_campaigns_campaigns.go | 2 +- lib/model_get_whatsapp_event_report.go | 2 +- lib/model_get_whatsapp_event_report_events.go | 2 +- lib/model_inline_response_200.go | 2 +- lib/model_inline_response_201.go | 2 +- lib/model_inline_response_201_1.go | 2 +- lib/model_inline_response_201_2.go | 2 +- lib/model_inline_response_201_3.go | 2 +- lib/model_manage_ip.go | 2 +- lib/model_master_details_response.go | 2 +- lib/model_master_details_response_billing_info.go | 2 +- lib/model_master_details_response_billing_info_address.go | 2 +- lib/model_master_details_response_billing_info_name.go | 2 +- lib/model_master_details_response_plan_info.go | 2 +- lib/model_master_details_response_plan_info_features.go | 2 +- lib/model_note.go | 2 +- lib/model_note_data.go | 2 +- lib/model_note_id.go | 2 +- lib/model_note_list.go | 2 +- lib/model_order.go | 2 +- lib/model_order_batch.go | 2 +- lib/model_order_billing.go | 2 +- lib/model_order_products.go | 2 +- lib/model_otp.go | 2 +- lib/model_pipeline.go | 2 +- lib/model_pipeline_stage.go | 2 +- lib/model_post_contact_info.go | 2 +- lib/model_post_contact_info_contacts.go | 2 +- lib/model_post_send_failed.go | 2 +- lib/model_post_send_sms_test_failed.go | 2 +- lib/model_remaining_credit_model.go | 2 +- lib/model_remaining_credit_model_child.go | 4 ++-- lib/model_remaining_credit_model_reseller.go | 2 +- lib/model_remove_contact_from_list.go | 2 +- lib/model_remove_credits.go | 2 +- lib/model_request_contact_export.go | 2 +- lib/model_request_contact_export_custom_contact_filter.go | 2 +- lib/model_request_contact_import.go | 2 +- lib/model_request_contact_import_new_list.go | 2 +- lib/model_request_sms_recipient_export.go | 2 +- lib/model_schedule_smtp_email.go | 2 +- lib/model_send_report.go | 2 +- lib/model_send_report_email.go | 2 +- lib/model_send_sms.go | 2 +- lib/model_send_smtp_email.go | 2 +- lib/model_send_smtp_email_attachment.go | 2 +- lib/model_send_smtp_email_bcc.go | 2 +- lib/model_send_smtp_email_cc.go | 2 +- lib/model_send_smtp_email_message_versions.go | 2 +- lib/model_send_smtp_email_reply_to.go | 2 +- lib/model_send_smtp_email_reply_to_1.go | 2 +- lib/model_send_smtp_email_sender.go | 2 +- lib/model_send_smtp_email_to.go | 4 ++-- lib/model_send_smtp_email_to_1.go | 2 +- lib/model_send_test_email.go | 4 ++-- lib/model_send_test_sms.go | 4 ++-- lib/model_send_transac_sms.go | 4 ++-- lib/model_send_whatsapp_message.go | 2 +- lib/model_sso_token_request.go | 2 +- lib/model_sub_account_details_response.go | 2 +- lib/model_sub_account_details_response_plan_info.go | 2 +- lib/model_sub_account_details_response_plan_info_credits.go | 2 +- ...l_sub_account_details_response_plan_info_credits_emails.go | 2 +- lib/model_sub_account_details_response_plan_info_features.go | 2 +- ...l_sub_account_details_response_plan_info_features_inbox.go | 2 +- ...ccount_details_response_plan_info_features_landing_page.go | 4 ++-- ...l_sub_account_details_response_plan_info_features_users.go | 2 +- lib/model_sub_account_update_plan_request.go | 2 +- lib/model_sub_account_update_plan_request_credits.go | 2 +- lib/model_sub_account_update_plan_request_features.go | 2 +- lib/model_sub_accounts_response.go | 2 +- lib/model_sub_accounts_response_sub_accounts.go | 2 +- lib/model_task.go | 2 +- lib/model_task_list.go | 2 +- lib/model_task_reminder.go | 2 +- lib/model_task_types.go | 2 +- lib/model_update_attribute.go | 2 +- lib/model_update_attribute_enumeration.go | 2 +- lib/model_update_batch_contacts.go | 2 +- lib/model_update_batch_contacts_contacts.go | 2 +- lib/model_update_batch_contacts_model.go | 2 +- lib/model_update_campaign_status.go | 2 +- lib/model_update_child.go | 2 +- lib/model_update_child_account_status.go | 2 +- lib/model_update_child_domain.go | 2 +- lib/model_update_contact.go | 4 ++-- lib/model_update_email_campaign.go | 2 +- lib/model_update_email_campaign_recipients.go | 2 +- lib/model_update_email_campaign_sender.go | 2 +- lib/model_update_external_feed.go | 2 +- lib/model_update_list.go | 2 +- lib/model_update_sender.go | 2 +- lib/model_update_sms_campaign.go | 2 +- lib/model_update_smtp_template.go | 2 +- lib/model_update_smtp_template_sender.go | 2 +- lib/model_update_webhook.go | 2 +- lib/model_upload_image_model.go | 2 +- lib/model_upload_image_to_gallery.go | 2 +- lib/model_variables_items.go | 2 +- lib/model_whatsapp_camp_stats.go | 2 +- lib/model_whatsapp_camp_template.go | 2 +- lib/response.go | 2 +- 341 files changed, 349 insertions(+), 349 deletions(-) diff --git a/go.mod b/go.mod index a2b431f..12ca590 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/sendinblue/APIv3-go-library/v2 +module github.com/getbrevo/brevo-go go 1.17 diff --git a/lib/api_account.go b/lib/api_account.go index a7c4b70..5c3e095 100644 --- a/lib/api_account.go +++ b/lib/api_account.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_companies.go b/lib/api_companies.go index 93f62c8..b71fad8 100644 --- a/lib/api_companies.go +++ b/lib/api_companies.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_contacts.go b/lib/api_contacts.go index 95d627c..f7d4e22 100644 --- a/lib/api_contacts.go +++ b/lib/api_contacts.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_conversations.go b/lib/api_conversations.go index e18a2a1..4fd8b02 100644 --- a/lib/api_conversations.go +++ b/lib/api_conversations.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_deals.go b/lib/api_deals.go index a2f3533..e4fd2e2 100644 --- a/lib/api_deals.go +++ b/lib/api_deals.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_domains.go b/lib/api_domains.go index 1b5857d..8c13f73 100644 --- a/lib/api_domains.go +++ b/lib/api_domains.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_ecommerce.go b/lib/api_ecommerce.go index 61f570c..52b8f08 100644 --- a/lib/api_ecommerce.go +++ b/lib/api_ecommerce.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_email_campaigns.go b/lib/api_email_campaigns.go index 0a07e1a..2668fda 100644 --- a/lib/api_email_campaigns.go +++ b/lib/api_email_campaigns.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_external_feeds.go b/lib/api_external_feeds.go index 1c482c3..54f3d29 100644 --- a/lib/api_external_feeds.go +++ b/lib/api_external_feeds.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_files.go b/lib/api_files.go index a34f233..2f8a3bb 100644 --- a/lib/api_files.go +++ b/lib/api_files.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_inbound_parsing.go b/lib/api_inbound_parsing.go index 1c14191..7b36622 100644 --- a/lib/api_inbound_parsing.go +++ b/lib/api_inbound_parsing.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_master_account.go b/lib/api_master_account.go index d55a74b..15c5af5 100644 --- a/lib/api_master_account.go +++ b/lib/api_master_account.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_notes.go b/lib/api_notes.go index 3e01bb3..2ac76cb 100644 --- a/lib/api_notes.go +++ b/lib/api_notes.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_process.go b/lib/api_process.go index 667e4a0..0503a84 100644 --- a/lib/api_process.go +++ b/lib/api_process.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_reseller.go b/lib/api_reseller.go index 7926e2c..7a80f0a 100644 --- a/lib/api_reseller.go +++ b/lib/api_reseller.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_senders.go b/lib/api_senders.go index 4e2f538..c04ef25 100644 --- a/lib/api_senders.go +++ b/lib/api_senders.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_sms_campaigns.go b/lib/api_sms_campaigns.go index 36434d7..00c711c 100644 --- a/lib/api_sms_campaigns.go +++ b/lib/api_sms_campaigns.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_tasks.go b/lib/api_tasks.go index 0ec72eb..d5f908e 100644 --- a/lib/api_tasks.go +++ b/lib/api_tasks.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_transactional_emails.go b/lib/api_transactional_emails.go index a04be8d..06ef2f3 100644 --- a/lib/api_transactional_emails.go +++ b/lib/api_transactional_emails.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_transactional_sms.go b/lib/api_transactional_sms.go index c31b9bc..604d8a9 100644 --- a/lib/api_transactional_sms.go +++ b/lib/api_transactional_sms.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_transactional_whats_app.go b/lib/api_transactional_whats_app.go index 710210d..790da7c 100644 --- a/lib/api_transactional_whats_app.go +++ b/lib/api_transactional_whats_app.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_webhooks.go b/lib/api_webhooks.go index c6b0ed3..0c0cf41 100644 --- a/lib/api_webhooks.go +++ b/lib/api_webhooks.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/api_whats_app_campaigns.go b/lib/api_whats_app_campaigns.go index b883050..4e18884 100644 --- a/lib/api_whats_app_campaigns.go +++ b/lib/api_whats_app_campaigns.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "context" diff --git a/lib/client.go b/lib/client.go index a410c5d..5af904d 100644 --- a/lib/client.go +++ b/lib/client.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "bytes" diff --git a/lib/configuration.go b/lib/configuration.go index 49cb8e9..3a33692 100644 --- a/lib/configuration.go +++ b/lib/configuration.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "net/http" diff --git a/lib/model_ab_test_campaign_result.go b/lib/model_ab_test_campaign_result.go index 1898a58..3fb37d2 100644 --- a/lib/model_ab_test_campaign_result.go +++ b/lib/model_ab_test_campaign_result.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type AbTestCampaignResult struct { // 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. diff --git a/lib/model_ab_test_campaign_result_clicked_links.go b/lib/model_ab_test_campaign_result_clicked_links.go index 4f313e1..950468a 100644 --- a/lib/model_ab_test_campaign_result_clicked_links.go +++ b/lib/model_ab_test_campaign_result_clicked_links.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type AbTestCampaignResultClickedLinks struct { VersionA *AbTestVersionClicks `json:"Version A"` diff --git a/lib/model_ab_test_campaign_result_statistics.go b/lib/model_ab_test_campaign_result_statistics.go index e5a3aac..c79dc88 100644 --- a/lib/model_ab_test_campaign_result_statistics.go +++ b/lib/model_ab_test_campaign_result_statistics.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type AbTestCampaignResultStatistics struct { Openers *AbTestVersionStats `json:"openers"` diff --git a/lib/model_ab_test_version_clicks.go b/lib/model_ab_test_version_clicks.go index 889ff42..4abf56e 100644 --- a/lib/model_ab_test_version_clicks.go +++ b/lib/model_ab_test_version_clicks.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Information on clicked links for a particular version type AbTestVersionClicks struct { diff --git a/lib/model_ab_test_version_clicks_inner.go b/lib/model_ab_test_version_clicks_inner.go index d8ffda2..1415923 100644 --- a/lib/model_ab_test_version_clicks_inner.go +++ b/lib/model_ab_test_version_clicks_inner.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type AbTestVersionClicksInner struct { // URL of the link diff --git a/lib/model_ab_test_version_stats.go b/lib/model_ab_test_version_stats.go index 0c299d4..8786919 100644 --- a/lib/model_ab_test_version_stats.go +++ b/lib/model_ab_test_version_stats.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Percentage of a particular event for both versions type AbTestVersionStats struct { diff --git a/lib/model_add_child_domain.go b/lib/model_add_child_domain.go index 9f8dbbe..a9903e2 100644 --- a/lib/model_add_child_domain.go +++ b/lib/model_add_child_domain.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type AddChildDomain struct { // Sender domain to add for a specific child account diff --git a/lib/model_add_contact_to_list.go b/lib/model_add_contact_to_list.go index 5787866..40d2d7e 100644 --- a/lib/model_add_contact_to_list.go +++ b/lib/model_add_contact_to_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type AddContactToList struct { // 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. diff --git a/lib/model_add_credits.go b/lib/model_add_credits.go index 67e09d7..b31c0eb 100644 --- a/lib/model_add_credits.go +++ b/lib/model_add_credits.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type AddCredits struct { // Required if email credits are empty. SMS credits to be added to the child account diff --git a/lib/model_authenticate_domain_model.go b/lib/model_authenticate_domain_model.go index 9a819eb..1a98389 100644 --- a/lib/model_authenticate_domain_model.go +++ b/lib/model_authenticate_domain_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type AuthenticateDomainModel struct { // Domain diff --git a/lib/model_block_domain.go b/lib/model_block_domain.go index b43c2ea..07b6ff4 100644 --- a/lib/model_block_domain.go +++ b/lib/model_block_domain.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type BlockDomain struct { // name of the domain to be blocked diff --git a/lib/model_body.go b/lib/model_body.go index 894366e..442f3eb 100644 --- a/lib/model_body.go +++ b/lib/model_body.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type Body struct { // Name of company diff --git a/lib/model_body_1.go b/lib/model_body_1.go index ab36f04..f5dc12f 100644 --- a/lib/model_body_1.go +++ b/lib/model_body_1.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type Body1 struct { // Name of company diff --git a/lib/model_body_10.go b/lib/model_body_10.go index 3c0fd39..acf5e96 100644 --- a/lib/model_body_10.go +++ b/lib/model_body_10.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type Body10 struct { // visitor’s ID received from a webhook or generated by you to bind existing user account to Conversations diff --git a/lib/model_body_11.go b/lib/model_body_11.go index 629ac77..85fb80e 100644 --- a/lib/model_body_11.go +++ b/lib/model_body_11.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type Body11 struct { // edited message text diff --git a/lib/model_body_12.go b/lib/model_body_12.go index c70b9fc..6f793ae 100644 --- a/lib/model_body_12.go +++ b/lib/model_body_12.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type Body12 struct { // 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). diff --git a/lib/model_body_2.go b/lib/model_body_2.go index 99d00b5..671a9fe 100644 --- a/lib/model_body_2.go +++ b/lib/model_body_2.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type Body2 struct { // Contact ids for contacts to be linked with company diff --git a/lib/model_body_3.go b/lib/model_body_3.go index 3413c79..aff9dbb 100644 --- a/lib/model_body_3.go +++ b/lib/model_body_3.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type Body3 struct { // Name of deal diff --git a/lib/model_body_4.go b/lib/model_body_4.go index 2f6d0b5..326e169 100644 --- a/lib/model_body_4.go +++ b/lib/model_body_4.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type Body4 struct { // Name of deal diff --git a/lib/model_body_5.go b/lib/model_body_5.go index d4d23ec..e64e1f2 100644 --- a/lib/model_body_5.go +++ b/lib/model_body_5.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type Body5 struct { // Contact ids for contacts to be linked with deal diff --git a/lib/model_body_6.go b/lib/model_body_6.go index d00b8ee..c61ebf3 100644 --- a/lib/model_body_6.go +++ b/lib/model_body_6.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "time" diff --git a/lib/model_body_7.go b/lib/model_body_7.go index ace20c3..7ac7851 100644 --- a/lib/model_body_7.go +++ b/lib/model_body_7.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "time" diff --git a/lib/model_body_8.go b/lib/model_body_8.go index dce0219..008c243 100644 --- a/lib/model_body_8.go +++ b/lib/model_body_8.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type Body8 struct { // visitor’s ID received from a webhook or generated by you to bind existing user account to Conversations diff --git a/lib/model_body_9.go b/lib/model_body_9.go index ce74df5..bb0d974 100644 --- a/lib/model_body_9.go +++ b/lib/model_body_9.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type Body9 struct { // edited message text diff --git a/lib/model_body_variables_items.go b/lib/model_body_variables_items.go index 717aff6..feb54a7 100644 --- a/lib/model_body_variables_items.go +++ b/lib/model_body_variables_items.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type BodyVariablesItems struct { } diff --git a/lib/model_companies_list.go b/lib/model_companies_list.go index cf8fdfd..bb8b2ae 100644 --- a/lib/model_companies_list.go +++ b/lib/model_companies_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // List of companies type CompaniesList struct { diff --git a/lib/model_company.go b/lib/model_company.go index 7233196..55dc253 100644 --- a/lib/model_company.go +++ b/lib/model_company.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Company Details type Company struct { diff --git a/lib/model_company_attributes.go b/lib/model_company_attributes.go index cc35588..9e07304 100644 --- a/lib/model_company_attributes.go +++ b/lib/model_company_attributes.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // List of company attributes type CompanyAttributes struct { diff --git a/lib/model_company_attributes_inner.go b/lib/model_company_attributes_inner.go index 76ca81b..1017f20 100644 --- a/lib/model_company_attributes_inner.go +++ b/lib/model_company_attributes_inner.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // List of attributes type CompanyAttributesInner struct { diff --git a/lib/model_component_items.go b/lib/model_component_items.go index 6315c95..bb65aef 100644 --- a/lib/model_component_items.go +++ b/lib/model_component_items.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type ComponentItems struct { Type_ string `json:"type,omitempty"` diff --git a/lib/model_conversations_message.go b/lib/model_conversations_message.go index 1d6dd02..25fabbc 100644 --- a/lib/model_conversations_message.go +++ b/lib/model_conversations_message.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // a Conversations message type ConversationsMessage struct { diff --git a/lib/model_conversations_message_file.go b/lib/model_conversations_message_file.go index 02f076b..7cb3876 100644 --- a/lib/model_conversations_message_file.go +++ b/lib/model_conversations_message_file.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type ConversationsMessageFile struct { // Name of the file diff --git a/lib/model_conversations_message_file_image_info.go b/lib/model_conversations_message_file_image_info.go index df45123..811bfbd 100644 --- a/lib/model_conversations_message_file_image_info.go +++ b/lib/model_conversations_message_file_image_info.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // image info is passed in case the file is an image type ConversationsMessageFileImageInfo struct { diff --git a/lib/model_create_api_key_request.go b/lib/model_create_api_key_request.go index 3d15e55..9da0109 100644 --- a/lib/model_create_api_key_request.go +++ b/lib/model_create_api_key_request.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateApiKeyRequest struct { // Id of the sub-account organization diff --git a/lib/model_create_api_key_response.go b/lib/model_create_api_key_response.go index 1db3be3..5b23bdb 100644 --- a/lib/model_create_api_key_response.go +++ b/lib/model_create_api_key_response.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateApiKeyResponse struct { // Status of the API operation. diff --git a/lib/model_create_attribute.go b/lib/model_create_attribute.go index 73909ab..814951e 100644 --- a/lib/model_create_attribute.go +++ b/lib/model_create_attribute.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateAttribute struct { // Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' diff --git a/lib/model_create_attribute_enumeration.go b/lib/model_create_attribute_enumeration.go index f72b174..d759c8e 100644 --- a/lib/model_create_attribute_enumeration.go +++ b/lib/model_create_attribute_enumeration.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateAttributeEnumeration struct { // Id of the value diff --git a/lib/model_create_category_model.go b/lib/model_create_category_model.go index ef533bd..6095f72 100644 --- a/lib/model_create_category_model.go +++ b/lib/model_create_category_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateCategoryModel struct { // ID of the category when a new category is created diff --git a/lib/model_create_child.go b/lib/model_create_child.go index 1b00c70..9d2d3c2 100644 --- a/lib/model_create_child.go +++ b/lib/model_create_child.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateChild struct { // Email address to create the child account diff --git a/lib/model_create_contact.go b/lib/model_create_contact.go index 2e5cab3..b943d99 100644 --- a/lib/model_create_contact.go +++ b/lib/model_create_contact.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateContact struct { // 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\"} diff --git a/lib/model_create_doi_contact.go b/lib/model_create_doi_contact.go index 0a17b9b..3b74583 100644 --- a/lib/model_create_doi_contact.go +++ b/lib/model_create_doi_contact.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateDoiContact struct { // Email address where the confirmation email will be sent. This email address will be the identifier for all other contact attributes. diff --git a/lib/model_create_domain.go b/lib/model_create_domain.go index 768774f..909ac15 100644 --- a/lib/model_create_domain.go +++ b/lib/model_create_domain.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateDomain struct { // Domain name diff --git a/lib/model_create_domain_model.go b/lib/model_create_domain_model.go index 9f0dbfd..bcfe6bb 100644 --- a/lib/model_create_domain_model.go +++ b/lib/model_create_domain_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateDomainModel struct { // ID of the Domain created diff --git a/lib/model_create_domain_model_dns_records.go b/lib/model_create_domain_model_dns_records.go index cf55234..978ee84 100644 --- a/lib/model_create_domain_model_dns_records.go +++ b/lib/model_create_domain_model_dns_records.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateDomainModelDnsRecords struct { DkimRecord *CreateDomainModelDnsRecordsDkimRecord `json:"dkim_record,omitempty"` diff --git a/lib/model_create_domain_model_dns_records_dkim_record.go b/lib/model_create_domain_model_dns_records_dkim_record.go index 9dab5e7..f3b2f82 100644 --- a/lib/model_create_domain_model_dns_records_dkim_record.go +++ b/lib/model_create_domain_model_dns_records_dkim_record.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateDomainModelDnsRecordsDkimRecord struct { Type_ string `json:"type,omitempty"` diff --git a/lib/model_create_email_campaign.go b/lib/model_create_email_campaign.go index 1764b1c..fc2cdf7 100644 --- a/lib/model_create_email_campaign.go +++ b/lib/model_create_email_campaign.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateEmailCampaign struct { // Tag of the campaign diff --git a/lib/model_create_email_campaign_recipients.go b/lib/model_create_email_campaign_recipients.go index ab96c9a..da64373 100644 --- a/lib/model_create_email_campaign_recipients.go +++ b/lib/model_create_email_campaign_recipients.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Segment ids and List ids to include/exclude from campaign type CreateEmailCampaignRecipients struct { diff --git a/lib/model_create_email_campaign_sender.go b/lib/model_create_email_campaign_sender.go index 3bbf110..bca3176 100644 --- a/lib/model_create_email_campaign_sender.go +++ b/lib/model_create_email_campaign_sender.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // 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}` type CreateEmailCampaignSender struct { diff --git a/lib/model_create_external_feed.go b/lib/model_create_external_feed.go index b67c533..347c123 100644 --- a/lib/model_create_external_feed.go +++ b/lib/model_create_external_feed.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateExternalFeed struct { // Name of the feed diff --git a/lib/model_create_list.go b/lib/model_create_list.go index 39ec207..6064744 100644 --- a/lib/model_create_list.go +++ b/lib/model_create_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateList struct { // Name of the list diff --git a/lib/model_create_model.go b/lib/model_create_model.go index c6d0add..1f221ef 100644 --- a/lib/model_create_model.go +++ b/lib/model_create_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateModel struct { // ID of the object created diff --git a/lib/model_create_product_model.go b/lib/model_create_product_model.go index 712203a..0c105d2 100644 --- a/lib/model_create_product_model.go +++ b/lib/model_create_product_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateProductModel struct { // ID of the Product when a new product is created diff --git a/lib/model_create_reseller.go b/lib/model_create_reseller.go index c8582a6..2e9b955 100644 --- a/lib/model_create_reseller.go +++ b/lib/model_create_reseller.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateReseller struct { // AuthKey of Reseller child created diff --git a/lib/model_create_sender.go b/lib/model_create_sender.go index 36b1d8d..7fc4271 100644 --- a/lib/model_create_sender.go +++ b/lib/model_create_sender.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateSender struct { // From Name to use for the sender diff --git a/lib/model_create_sender_ips.go b/lib/model_create_sender_ips.go index 12c9812..5f2bf83 100644 --- a/lib/model_create_sender_ips.go +++ b/lib/model_create_sender_ips.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateSenderIps struct { // Dedicated IP available in your account diff --git a/lib/model_create_sender_model.go b/lib/model_create_sender_model.go index 7924fa1..d40e596 100644 --- a/lib/model_create_sender_model.go +++ b/lib/model_create_sender_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateSenderModel struct { // ID of the Sender created diff --git a/lib/model_create_sms_campaign.go b/lib/model_create_sms_campaign.go index 0d3dcb2..7390550 100644 --- a/lib/model_create_sms_campaign.go +++ b/lib/model_create_sms_campaign.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateSmsCampaign struct { // Name of the campaign diff --git a/lib/model_create_sms_campaign_recipients.go b/lib/model_create_sms_campaign_recipients.go index 516986e..2b6bfdf 100644 --- a/lib/model_create_sms_campaign_recipients.go +++ b/lib/model_create_sms_campaign_recipients.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateSmsCampaignRecipients struct { // Lists Ids to send the campaign to. REQUIRED if scheduledAt is not empty diff --git a/lib/model_create_smtp_email.go b/lib/model_create_smtp_email.go index 0146dd7..328bd96 100644 --- a/lib/model_create_smtp_email.go +++ b/lib/model_create_smtp_email.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateSmtpEmail struct { // Message ID of the transactional email sent diff --git a/lib/model_create_smtp_template.go b/lib/model_create_smtp_template.go index 43b6fb2..29453e1 100644 --- a/lib/model_create_smtp_template.go +++ b/lib/model_create_smtp_template.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateSmtpTemplate struct { // Tag of the template diff --git a/lib/model_create_smtp_template_sender.go b/lib/model_create_smtp_template_sender.go index fddaa97..8a223bf 100644 --- a/lib/model_create_smtp_template_sender.go +++ b/lib/model_create_smtp_template_sender.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // 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}` type CreateSmtpTemplateSender struct { diff --git a/lib/model_create_sub_account.go b/lib/model_create_sub_account.go index c4a632b..00184ab 100644 --- a/lib/model_create_sub_account.go +++ b/lib/model_create_sub_account.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateSubAccount struct { // Set the name of the sub-account company diff --git a/lib/model_create_sub_account_response.go b/lib/model_create_sub_account_response.go index 045778c..888e622 100644 --- a/lib/model_create_sub_account_response.go +++ b/lib/model_create_sub_account_response.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateSubAccountResponse struct { // ID of the sub-account created diff --git a/lib/model_create_update_batch_category.go b/lib/model_create_update_batch_category.go index 3e391ef..2195a02 100644 --- a/lib/model_create_update_batch_category.go +++ b/lib/model_create_update_batch_category.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateUpdateBatchCategory struct { // array of categories objects diff --git a/lib/model_create_update_batch_category_model.go b/lib/model_create_update_batch_category_model.go index 68bf765..30db780 100644 --- a/lib/model_create_update_batch_category_model.go +++ b/lib/model_create_update_batch_category_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateUpdateBatchCategoryModel struct { // Number of the new created categories diff --git a/lib/model_create_update_batch_products.go b/lib/model_create_update_batch_products.go index a88cc27..ddeb5ac 100644 --- a/lib/model_create_update_batch_products.go +++ b/lib/model_create_update_batch_products.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateUpdateBatchProducts struct { // array of products objects diff --git a/lib/model_create_update_batch_products_model.go b/lib/model_create_update_batch_products_model.go index 2a76e04..bf34da3 100644 --- a/lib/model_create_update_batch_products_model.go +++ b/lib/model_create_update_batch_products_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateUpdateBatchProductsModel struct { // Number of the new created products diff --git a/lib/model_create_update_categories.go b/lib/model_create_update_categories.go index a9d9868..5f16c16 100644 --- a/lib/model_create_update_categories.go +++ b/lib/model_create_update_categories.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateUpdateCategories struct { // Unique Category ID as saved in the shop diff --git a/lib/model_create_update_category.go b/lib/model_create_update_category.go index 4986a19..3fdaae6 100644 --- a/lib/model_create_update_category.go +++ b/lib/model_create_update_category.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateUpdateCategory struct { // Unique Category ID as saved in the shop diff --git a/lib/model_create_update_contact_model.go b/lib/model_create_update_contact_model.go index cf46bcc..529c49a 100644 --- a/lib/model_create_update_contact_model.go +++ b/lib/model_create_update_contact_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateUpdateContactModel struct { // ID of the contact when a new contact is created diff --git a/lib/model_create_update_folder.go b/lib/model_create_update_folder.go index 73af370..6476dc6 100644 --- a/lib/model_create_update_folder.go +++ b/lib/model_create_update_folder.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateUpdateFolder struct { // Name of the folder diff --git a/lib/model_create_update_product.go b/lib/model_create_update_product.go index a0b1c38..885877c 100644 --- a/lib/model_create_update_product.go +++ b/lib/model_create_update_product.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateUpdateProduct struct { // Product ID for which you requested the details diff --git a/lib/model_create_update_products.go b/lib/model_create_update_products.go index a768f80..b799f5b 100644 --- a/lib/model_create_update_products.go +++ b/lib/model_create_update_products.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateUpdateProducts struct { // Product ID for which you requested the details diff --git a/lib/model_create_webhook.go b/lib/model_create_webhook.go index 1615077..126e0fd 100644 --- a/lib/model_create_webhook.go +++ b/lib/model_create_webhook.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateWebhook struct { // URL of the webhook diff --git a/lib/model_create_whats_app_campaign.go b/lib/model_create_whats_app_campaign.go index 942dd97..268b287 100644 --- a/lib/model_create_whats_app_campaign.go +++ b/lib/model_create_whats_app_campaign.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateWhatsAppCampaign struct { // Name of the WhatsApp campaign creation diff --git a/lib/model_create_whats_app_campaign_recipients.go b/lib/model_create_whats_app_campaign_recipients.go index 4c866a2..8f0f352 100644 --- a/lib/model_create_whats_app_campaign_recipients.go +++ b/lib/model_create_whats_app_campaign_recipients.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Segment ids and List ids to include/exclude from campaign type CreateWhatsAppCampaignRecipients struct { diff --git a/lib/model_create_whats_app_template.go b/lib/model_create_whats_app_template.go index 18f2cdd..8cab4d0 100644 --- a/lib/model_create_whats_app_template.go +++ b/lib/model_create_whats_app_template.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreateWhatsAppTemplate struct { // Name of the template diff --git a/lib/model_created_batch_id.go b/lib/model_created_batch_id.go index 85a6c41..4819529 100644 --- a/lib/model_created_batch_id.go +++ b/lib/model_created_batch_id.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreatedBatchId struct { // Batch ID of the request diff --git a/lib/model_created_process_id.go b/lib/model_created_process_id.go index 1d69c1e..693eaa8 100644 --- a/lib/model_created_process_id.go +++ b/lib/model_created_process_id.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type CreatedProcessId struct { // Id of the process created diff --git a/lib/model_deal.go b/lib/model_deal.go index fbfc2e6..e506346 100644 --- a/lib/model_deal.go +++ b/lib/model_deal.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Deal Details type Deal struct { diff --git a/lib/model_deal_attributes.go b/lib/model_deal_attributes.go index 7232c57..96913d0 100644 --- a/lib/model_deal_attributes.go +++ b/lib/model_deal_attributes.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // List of deal attributes type DealAttributes struct { diff --git a/lib/model_deal_attributes_inner.go b/lib/model_deal_attributes_inner.go index d5e6fd5..1b99269 100644 --- a/lib/model_deal_attributes_inner.go +++ b/lib/model_deal_attributes_inner.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // List of attributes type DealAttributesInner struct { diff --git a/lib/model_deals_list.go b/lib/model_deals_list.go index fb044ef..81e5b01 100644 --- a/lib/model_deals_list.go +++ b/lib/model_deals_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // List of Deals type DealsList struct { diff --git a/lib/model_delete_hardbounces.go b/lib/model_delete_hardbounces.go index b80a027..16ca4ec 100644 --- a/lib/model_delete_hardbounces.go +++ b/lib/model_delete_hardbounces.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type DeleteHardbounces struct { // 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 diff --git a/lib/model_email_export_recipients.go b/lib/model_email_export_recipients.go index ecfc88f..4b8f529 100644 --- a/lib/model_email_export_recipients.go +++ b/lib/model_email_export_recipients.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type EmailExportRecipients struct { // Webhook called once the export process is finished. For reference, https://help.brevo.com/hc/en-us/articles/360007666479 diff --git a/lib/model_error_model.go b/lib/model_error_model.go index cf0d425..3d9525f 100644 --- a/lib/model_error_model.go +++ b/lib/model_error_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type ErrorModel struct { // Error code displayed in case of a failure diff --git a/lib/model_export_webhooks_history.go b/lib/model_export_webhooks_history.go index 4e99883..5182292 100644 --- a/lib/model_export_webhooks_history.go +++ b/lib/model_export_webhooks_history.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type ExportWebhooksHistory struct { // Number of days in the past including today (positive integer). _Not compatible with 'startDate' and 'endDate'_ diff --git a/lib/model_file_data.go b/lib/model_file_data.go index 18e72d6..9e527cd 100644 --- a/lib/model_file_data.go +++ b/lib/model_file_data.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "time" diff --git a/lib/model_file_downloadable_link.go b/lib/model_file_downloadable_link.go index caf12de..bb7b52b 100644 --- a/lib/model_file_downloadable_link.go +++ b/lib/model_file_downloadable_link.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type FileDownloadableLink struct { // A unique link to download the requested file. diff --git a/lib/model_file_list.go b/lib/model_file_list.go index 6b1b384..4b00b70 100644 --- a/lib/model_file_list.go +++ b/lib/model_file_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // List of files type FileList struct { diff --git a/lib/model_get_account.go b/lib/model_get_account.go index 3891dee..17ff406 100644 --- a/lib/model_get_account.go +++ b/lib/model_get_account.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetAccount struct { // Login Email diff --git a/lib/model_get_account_activity.go b/lib/model_get_account_activity.go index 3c59cf9..443a0eb 100644 --- a/lib/model_get_account_activity.go +++ b/lib/model_get_account_activity.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetAccountActivity struct { // Get user activity logs diff --git a/lib/model_get_account_activity_logs.go b/lib/model_get_account_activity_logs.go index 77c138e..3936d75 100644 --- a/lib/model_get_account_activity_logs.go +++ b/lib/model_get_account_activity_logs.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetAccountActivityLogs struct { // Type of activity in the account. diff --git a/lib/model_get_account_marketing_automation.go b/lib/model_get_account_marketing_automation.go index 4b5e854..a238233 100644 --- a/lib/model_get_account_marketing_automation.go +++ b/lib/model_get_account_marketing_automation.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetAccountMarketingAutomation struct { // Marketing Automation Tracker ID diff --git a/lib/model_get_account_plan.go b/lib/model_get_account_plan.go index 9fd24c0..5d72533 100644 --- a/lib/model_get_account_plan.go +++ b/lib/model_get_account_plan.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetAccountPlan struct { // Displays the plan type of the user diff --git a/lib/model_get_account_relay.go b/lib/model_get_account_relay.go index 8b53c80..eedd638 100644 --- a/lib/model_get_account_relay.go +++ b/lib/model_get_account_relay.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Information about your transactional email account type GetAccountRelay struct { diff --git a/lib/model_get_account_relay_data.go b/lib/model_get_account_relay_data.go index 94fdd75..1b4ff11 100644 --- a/lib/model_get_account_relay_data.go +++ b/lib/model_get_account_relay_data.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Data regarding the transactional email account type GetAccountRelayData struct { diff --git a/lib/model_get_aggregated_report.go b/lib/model_get_aggregated_report.go index 1dbdb9f..e2d1903 100644 --- a/lib/model_get_aggregated_report.go +++ b/lib/model_get_aggregated_report.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetAggregatedReport struct { // Time frame of the report diff --git a/lib/model_get_all_external_feeds.go b/lib/model_get_all_external_feeds.go index 5a89e8c..02df9c7 100644 --- a/lib/model_get_all_external_feeds.go +++ b/lib/model_get_all_external_feeds.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetAllExternalFeeds struct { // Total number of batches diff --git a/lib/model_get_all_external_feeds_feeds.go b/lib/model_get_all_external_feeds_feeds.go index 4eb0a2d..046f5e1 100644 --- a/lib/model_get_all_external_feeds_feeds.go +++ b/lib/model_get_all_external_feeds_feeds.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "time" diff --git a/lib/model_get_attributes.go b/lib/model_get_attributes.go index c47e46d..26184a5 100644 --- a/lib/model_get_attributes.go +++ b/lib/model_get_attributes.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetAttributes struct { // Listing of available contact attributes in your account diff --git a/lib/model_get_attributes_attributes.go b/lib/model_get_attributes_attributes.go index 46c07d4..4e54953 100644 --- a/lib/model_get_attributes_attributes.go +++ b/lib/model_get_attributes_attributes.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetAttributesAttributes struct { // Name of the attribute diff --git a/lib/model_get_attributes_enumeration.go b/lib/model_get_attributes_enumeration.go index 1a65e19..ee9b9f4 100644 --- a/lib/model_get_attributes_enumeration.go +++ b/lib/model_get_attributes_enumeration.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetAttributesEnumeration struct { // ID of Value of the \"category\" type attribute diff --git a/lib/model_get_blocked_domains.go b/lib/model_get_blocked_domains.go index 066510b..60d8add 100644 --- a/lib/model_get_blocked_domains.go +++ b/lib/model_get_blocked_domains.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // list of blocked domains type GetBlockedDomains struct { diff --git a/lib/model_get_campaign_overview.go b/lib/model_get_campaign_overview.go index 82dd084..180a4eb 100644 --- a/lib/model_get_campaign_overview.go +++ b/lib/model_get_campaign_overview.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetCampaignOverview struct { // ID of the campaign diff --git a/lib/model_get_campaign_recipients.go b/lib/model_get_campaign_recipients.go index b94cd27..f6a85c8 100644 --- a/lib/model_get_campaign_recipients.go +++ b/lib/model_get_campaign_recipients.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetCampaignRecipients struct { Lists []int64 `json:"lists"` diff --git a/lib/model_get_campaign_stats.go b/lib/model_get_campaign_stats.go index 6390213..86c3a65 100644 --- a/lib/model_get_campaign_stats.go +++ b/lib/model_get_campaign_stats.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetCampaignStats struct { // List Id of email campaign (only in case of get email campaign(s)(not for global stats)) diff --git a/lib/model_get_categories.go b/lib/model_get_categories.go index 6a9abd9..4857f37 100644 --- a/lib/model_get_categories.go +++ b/lib/model_get_categories.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetCategories struct { Categories []interface{} `json:"categories"` diff --git a/lib/model_get_category_details.go b/lib/model_get_category_details.go index b54cdc1..f15baeb 100644 --- a/lib/model_get_category_details.go +++ b/lib/model_get_category_details.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetCategoryDetails struct { // Category ID for which you requested the details diff --git a/lib/model_get_child_account_creation_status.go b/lib/model_get_child_account_creation_status.go index 5d42953..bd07d30 100644 --- a/lib/model_get_child_account_creation_status.go +++ b/lib/model_get_child_account_creation_status.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetChildAccountCreationStatus struct { // Status of child account creation whether it is successfully created (exists) or not. diff --git a/lib/model_get_child_domain.go b/lib/model_get_child_domain.go index 32e659f..a2ce46a 100644 --- a/lib/model_get_child_domain.go +++ b/lib/model_get_child_domain.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetChildDomain struct { // Sender domain diff --git a/lib/model_get_child_domains.go b/lib/model_get_child_domains.go index 61929d3..44f6655 100644 --- a/lib/model_get_child_domains.go +++ b/lib/model_get_child_domains.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetChildDomains struct { } diff --git a/lib/model_get_child_info.go b/lib/model_get_child_info.go index 768a2b0..55d74b9 100644 --- a/lib/model_get_child_info.go +++ b/lib/model_get_child_info.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetChildInfo struct { // Login Email diff --git a/lib/model_get_child_info_api_keys.go b/lib/model_get_child_info_api_keys.go index 29c8146..b8d76cd 100644 --- a/lib/model_get_child_info_api_keys.go +++ b/lib/model_get_child_info_api_keys.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // API Keys associated to child account type GetChildInfoApiKeys struct { diff --git a/lib/model_get_child_info_api_keys_v2.go b/lib/model_get_child_info_api_keys_v2.go index ea06fbd..afa7108 100644 --- a/lib/model_get_child_info_api_keys_v2.go +++ b/lib/model_get_child_info_api_keys_v2.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetChildInfoApiKeysV2 struct { // Name of the key for version 2 diff --git a/lib/model_get_child_info_api_keys_v3.go b/lib/model_get_child_info_api_keys_v3.go index a2b17d2..219b6c1 100644 --- a/lib/model_get_child_info_api_keys_v3.go +++ b/lib/model_get_child_info_api_keys_v3.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetChildInfoApiKeysV3 struct { // Name of the key for version 3 diff --git a/lib/model_get_child_info_credits.go b/lib/model_get_child_info_credits.go index 593109c..e3ab33c 100644 --- a/lib/model_get_child_info_credits.go +++ b/lib/model_get_child_info_credits.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Credits available for your child type GetChildInfoCredits struct { diff --git a/lib/model_get_child_info_statistics.go b/lib/model_get_child_info_statistics.go index bb275ba..34477be 100644 --- a/lib/model_get_child_info_statistics.go +++ b/lib/model_get_child_info_statistics.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Statistics about your child account activity type GetChildInfoStatistics struct { diff --git a/lib/model_get_children_list.go b/lib/model_get_children_list.go index 0f2ec7a..f54c9b3 100644 --- a/lib/model_get_children_list.go +++ b/lib/model_get_children_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetChildrenList struct { // Your children's account information diff --git a/lib/model_get_client.go b/lib/model_get_client.go index deb6b38..83c7565 100644 --- a/lib/model_get_client.go +++ b/lib/model_get_client.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetClient struct { // Login Email diff --git a/lib/model_get_contact_campaign_stats.go b/lib/model_get_contact_campaign_stats.go index 37c948c..4420fef 100644 --- a/lib/model_get_contact_campaign_stats.go +++ b/lib/model_get_contact_campaign_stats.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Campaign Statistics for the contact type GetContactCampaignStats struct { diff --git a/lib/model_get_contact_campaign_stats_clicked.go b/lib/model_get_contact_campaign_stats_clicked.go index 28f20df..a8c963c 100644 --- a/lib/model_get_contact_campaign_stats_clicked.go +++ b/lib/model_get_contact_campaign_stats_clicked.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetContactCampaignStatsClicked struct { // ID of the campaign which generated the event diff --git a/lib/model_get_contact_campaign_stats_opened.go b/lib/model_get_contact_campaign_stats_opened.go index 42c4f93..8961489 100644 --- a/lib/model_get_contact_campaign_stats_opened.go +++ b/lib/model_get_contact_campaign_stats_opened.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetContactCampaignStatsOpened struct { // ID of the campaign which generated the event diff --git a/lib/model_get_contact_campaign_stats_transac_attributes.go b/lib/model_get_contact_campaign_stats_transac_attributes.go index dec79b7..13cc9d8 100644 --- a/lib/model_get_contact_campaign_stats_transac_attributes.go +++ b/lib/model_get_contact_campaign_stats_transac_attributes.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetContactCampaignStatsTransacAttributes struct { // Date of the order diff --git a/lib/model_get_contact_campaign_stats_unsubscriptions.go b/lib/model_get_contact_campaign_stats_unsubscriptions.go index 47d0dff..214a34c 100644 --- a/lib/model_get_contact_campaign_stats_unsubscriptions.go +++ b/lib/model_get_contact_campaign_stats_unsubscriptions.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetContactCampaignStatsUnsubscriptions struct { // Contact has unsubscribed via the unsubscription link in the email diff --git a/lib/model_get_contact_details.go b/lib/model_get_contact_details.go index 181f1d7..51f78df 100644 --- a/lib/model_get_contact_details.go +++ b/lib/model_get_contact_details.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetContactDetails struct { // Email address of the contact for which you requested the details diff --git a/lib/model_get_contacts.go b/lib/model_get_contacts.go index 08c05e2..e2f1868 100644 --- a/lib/model_get_contacts.go +++ b/lib/model_get_contacts.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetContacts struct { Contacts []interface{} `json:"contacts"` diff --git a/lib/model_get_device_browser_stats.go b/lib/model_get_device_browser_stats.go index 11135bd..08a395c 100644 --- a/lib/model_get_device_browser_stats.go +++ b/lib/model_get_device_browser_stats.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetDeviceBrowserStats struct { // Number of total clicks for the campaign using the particular browser diff --git a/lib/model_get_domainonfiguration_model.go b/lib/model_get_domainonfiguration_model.go index 99c56cc..0b1ca53 100644 --- a/lib/model_get_domainonfiguration_model.go +++ b/lib/model_get_domainonfiguration_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetDomainonfigurationModel struct { // Domain diff --git a/lib/model_get_domains_list.go b/lib/model_get_domains_list.go index 3533ada..1e31b85 100644 --- a/lib/model_get_domains_list.go +++ b/lib/model_get_domains_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetDomainsList struct { // List of the domains available in your account diff --git a/lib/model_get_domains_list_domains.go b/lib/model_get_domains_list_domains.go index 0fda946..c4c840e 100644 --- a/lib/model_get_domains_list_domains.go +++ b/lib/model_get_domains_list_domains.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetDomainsListDomains struct { // Id of the domain diff --git a/lib/model_get_email_campaign.go b/lib/model_get_email_campaign.go index 04fb9b6..2480868 100644 --- a/lib/model_get_email_campaign.go +++ b/lib/model_get_email_campaign.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetEmailCampaign struct { // ID of the campaign diff --git a/lib/model_get_email_campaigns.go b/lib/model_get_email_campaigns.go index 68d595b..d82503a 100644 --- a/lib/model_get_email_campaigns.go +++ b/lib/model_get_email_campaigns.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetEmailCampaigns struct { Campaigns []interface{} `json:"campaigns,omitempty"` diff --git a/lib/model_get_email_event_report.go b/lib/model_get_email_event_report.go index 1e538cf..94c9b1d 100644 --- a/lib/model_get_email_event_report.go +++ b/lib/model_get_email_event_report.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetEmailEventReport struct { Events []GetEmailEventReportEvents `json:"events,omitempty"` diff --git a/lib/model_get_email_event_report_events.go b/lib/model_get_email_event_report_events.go index 272b25c..e4e3f4f 100644 --- a/lib/model_get_email_event_report_events.go +++ b/lib/model_get_email_event_report_events.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetEmailEventReportEvents struct { // Email address which generates the event diff --git a/lib/model_get_extended_campaign_overview.go b/lib/model_get_extended_campaign_overview.go index 9392894..6171244 100644 --- a/lib/model_get_extended_campaign_overview.go +++ b/lib/model_get_extended_campaign_overview.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedCampaignOverview struct { // ID of the campaign diff --git a/lib/model_get_extended_campaign_overview_sender.go b/lib/model_get_extended_campaign_overview_sender.go index 4194a6e..a183471 100644 --- a/lib/model_get_extended_campaign_overview_sender.go +++ b/lib/model_get_extended_campaign_overview_sender.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedCampaignOverviewSender struct { // Sender name of the campaign diff --git a/lib/model_get_extended_campaign_stats.go b/lib/model_get_extended_campaign_stats.go index 1840b77..0f65d66 100644 --- a/lib/model_get_extended_campaign_stats.go +++ b/lib/model_get_extended_campaign_stats.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedCampaignStats struct { // Overall statistics of the campaign diff --git a/lib/model_get_extended_client.go b/lib/model_get_extended_client.go index 6a0840a..0a23e95 100644 --- a/lib/model_get_extended_client.go +++ b/lib/model_get_extended_client.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedClient struct { // Login Email diff --git a/lib/model_get_extended_client_address.go b/lib/model_get_extended_client_address.go index 9abab7c..b85d6f0 100644 --- a/lib/model_get_extended_client_address.go +++ b/lib/model_get_extended_client_address.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Address informations type GetExtendedClientAddress struct { diff --git a/lib/model_get_extended_contact_details.go b/lib/model_get_extended_contact_details.go index 36bde46..107a8cb 100644 --- a/lib/model_get_extended_contact_details.go +++ b/lib/model_get_extended_contact_details.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedContactDetails struct { // Email address of the contact for which you requested the details diff --git a/lib/model_get_extended_contact_details_statistics.go b/lib/model_get_extended_contact_details_statistics.go index b4e2557..a92eb4c 100644 --- a/lib/model_get_extended_contact_details_statistics.go +++ b/lib/model_get_extended_contact_details_statistics.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Campaign statistics of the contact type GetExtendedContactDetailsStatistics struct { diff --git a/lib/model_get_extended_contact_details_statistics_clicked.go b/lib/model_get_extended_contact_details_statistics_clicked.go index f50a8c1..0504c85 100644 --- a/lib/model_get_extended_contact_details_statistics_clicked.go +++ b/lib/model_get_extended_contact_details_statistics_clicked.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedContactDetailsStatisticsClicked struct { // ID of the campaign which generated the event diff --git a/lib/model_get_extended_contact_details_statistics_delivered.go b/lib/model_get_extended_contact_details_statistics_delivered.go index f227a98..6390194 100644 --- a/lib/model_get_extended_contact_details_statistics_delivered.go +++ b/lib/model_get_extended_contact_details_statistics_delivered.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedContactDetailsStatisticsDelivered struct { // ID of the campaign which generated the event diff --git a/lib/model_get_extended_contact_details_statistics_links.go b/lib/model_get_extended_contact_details_statistics_links.go index 4029149..affc667 100644 --- a/lib/model_get_extended_contact_details_statistics_links.go +++ b/lib/model_get_extended_contact_details_statistics_links.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedContactDetailsStatisticsLinks struct { // Number of clicks on this link for the campaign diff --git a/lib/model_get_extended_contact_details_statistics_messages_sent.go b/lib/model_get_extended_contact_details_statistics_messages_sent.go index 7190f47..0ec5b1d 100644 --- a/lib/model_get_extended_contact_details_statistics_messages_sent.go +++ b/lib/model_get_extended_contact_details_statistics_messages_sent.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedContactDetailsStatisticsMessagesSent struct { // ID of the campaign which generated the event diff --git a/lib/model_get_extended_contact_details_statistics_opened.go b/lib/model_get_extended_contact_details_statistics_opened.go index 7e7f151..96c8c11 100644 --- a/lib/model_get_extended_contact_details_statistics_opened.go +++ b/lib/model_get_extended_contact_details_statistics_opened.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedContactDetailsStatisticsOpened struct { // ID of the campaign which generated the event diff --git a/lib/model_get_extended_contact_details_statistics_unsubscriptions.go b/lib/model_get_extended_contact_details_statistics_unsubscriptions.go index 8e4800b..52c209c 100644 --- a/lib/model_get_extended_contact_details_statistics_unsubscriptions.go +++ b/lib/model_get_extended_contact_details_statistics_unsubscriptions.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Listing of the unsubscription for the contact type GetExtendedContactDetailsStatisticsUnsubscriptions struct { diff --git a/lib/model_get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.go b/lib/model_get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.go index a0c1224..f216617 100644 --- a/lib/model_get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.go +++ b/lib/model_get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription struct { // UTC date-time of the event diff --git a/lib/model_get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.go b/lib/model_get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.go index 0eb7e03..2b66869 100644 --- a/lib/model_get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.go +++ b/lib/model_get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription struct { // ID of the campaign which generated the event diff --git a/lib/model_get_extended_list.go b/lib/model_get_extended_list.go index af4a24f..25d3b90 100644 --- a/lib/model_get_extended_list.go +++ b/lib/model_get_extended_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedList struct { // ID of the list diff --git a/lib/model_get_extended_list_campaign_stats.go b/lib/model_get_extended_list_campaign_stats.go index bc27832..2289560 100644 --- a/lib/model_get_extended_list_campaign_stats.go +++ b/lib/model_get_extended_list_campaign_stats.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExtendedListCampaignStats struct { // ID of the campaign diff --git a/lib/model_get_external_feed_by_uuid.go b/lib/model_get_external_feed_by_uuid.go index 960411e..ecf1e77 100644 --- a/lib/model_get_external_feed_by_uuid.go +++ b/lib/model_get_external_feed_by_uuid.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "time" diff --git a/lib/model_get_external_feed_by_uuid_headers.go b/lib/model_get_external_feed_by_uuid_headers.go index 796d981..46791c8 100644 --- a/lib/model_get_external_feed_by_uuid_headers.go +++ b/lib/model_get_external_feed_by_uuid_headers.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetExternalFeedByUuidHeaders struct { // Name of the header diff --git a/lib/model_get_folder.go b/lib/model_get_folder.go index 0deeae2..f4298e8 100644 --- a/lib/model_get_folder.go +++ b/lib/model_get_folder.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetFolder struct { // ID of the folder diff --git a/lib/model_get_folder_lists.go b/lib/model_get_folder_lists.go index 2dfb382..5939648 100644 --- a/lib/model_get_folder_lists.go +++ b/lib/model_get_folder_lists.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetFolderLists struct { Lists []interface{} `json:"lists,omitempty"` diff --git a/lib/model_get_folders.go b/lib/model_get_folders.go index 7c88f66..df3ef59 100644 --- a/lib/model_get_folders.go +++ b/lib/model_get_folders.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetFolders struct { Folders []interface{} `json:"folders,omitempty"` diff --git a/lib/model_get_inbound_email_events.go b/lib/model_get_inbound_email_events.go index de90049..c58e2d8 100644 --- a/lib/model_get_inbound_email_events.go +++ b/lib/model_get_inbound_email_events.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetInboundEmailEvents struct { Events []GetInboundEmailEventsEvents `json:"events,omitempty"` diff --git a/lib/model_get_inbound_email_events_by_uuid.go b/lib/model_get_inbound_email_events_by_uuid.go index b45bae2..2426c17 100644 --- a/lib/model_get_inbound_email_events_by_uuid.go +++ b/lib/model_get_inbound_email_events_by_uuid.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "time" diff --git a/lib/model_get_inbound_email_events_by_uuid_attachments.go b/lib/model_get_inbound_email_events_by_uuid_attachments.go index eb2d6d2..bb8b3b1 100644 --- a/lib/model_get_inbound_email_events_by_uuid_attachments.go +++ b/lib/model_get_inbound_email_events_by_uuid_attachments.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetInboundEmailEventsByUuidAttachments struct { // filename specified in the Content-Disposition header of the attachment diff --git a/lib/model_get_inbound_email_events_by_uuid_logs.go b/lib/model_get_inbound_email_events_by_uuid_logs.go index b23e936..b8dbe82 100644 --- a/lib/model_get_inbound_email_events_by_uuid_logs.go +++ b/lib/model_get_inbound_email_events_by_uuid_logs.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "time" diff --git a/lib/model_get_inbound_email_events_events.go b/lib/model_get_inbound_email_events_events.go index 8a8760b..1d24d8b 100644 --- a/lib/model_get_inbound_email_events_events.go +++ b/lib/model_get_inbound_email_events_events.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "time" diff --git a/lib/model_get_ip.go b/lib/model_get_ip.go index 8193e4b..10564ce 100644 --- a/lib/model_get_ip.go +++ b/lib/model_get_ip.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetIp struct { // ID of the dedicated IP diff --git a/lib/model_get_ip_from_sender.go b/lib/model_get_ip_from_sender.go index f3fadc2..907a1ae 100644 --- a/lib/model_get_ip_from_sender.go +++ b/lib/model_get_ip_from_sender.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetIpFromSender struct { // ID of the dedicated IP diff --git a/lib/model_get_ips.go b/lib/model_get_ips.go index 18bd760..db79d3b 100644 --- a/lib/model_get_ips.go +++ b/lib/model_get_ips.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetIps struct { // Dedicated IP(s) available on your account diff --git a/lib/model_get_ips_from_sender.go b/lib/model_get_ips_from_sender.go index d5823e7..2384afa 100644 --- a/lib/model_get_ips_from_sender.go +++ b/lib/model_get_ips_from_sender.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetIpsFromSender struct { // Dedicated IP(s) linked to a sender diff --git a/lib/model_get_list.go b/lib/model_get_list.go index 399a7ef..ca8710a 100644 --- a/lib/model_get_list.go +++ b/lib/model_get_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetList struct { // ID of the list diff --git a/lib/model_get_lists.go b/lib/model_get_lists.go index 8f43246..6c8eaaf 100644 --- a/lib/model_get_lists.go +++ b/lib/model_get_lists.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetLists struct { // Listing of all the lists available in your account diff --git a/lib/model_get_process.go b/lib/model_get_process.go index 8320d70..89b2513 100644 --- a/lib/model_get_process.go +++ b/lib/model_get_process.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetProcess struct { // Id of the process diff --git a/lib/model_get_processes.go b/lib/model_get_processes.go index 78e1c8e..146a5a5 100644 --- a/lib/model_get_processes.go +++ b/lib/model_get_processes.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetProcesses struct { // List of processes available on your account diff --git a/lib/model_get_product_details.go b/lib/model_get_product_details.go index 5e0401b..3273429 100644 --- a/lib/model_get_product_details.go +++ b/lib/model_get_product_details.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetProductDetails struct { // Product ID for which you requested the details diff --git a/lib/model_get_products.go b/lib/model_get_products.go index 38fcd36..8fa80d5 100644 --- a/lib/model_get_products.go +++ b/lib/model_get_products.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetProducts struct { Products []interface{} `json:"products"` diff --git a/lib/model_get_reports.go b/lib/model_get_reports.go index 5705af4..e977878 100644 --- a/lib/model_get_reports.go +++ b/lib/model_get_reports.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetReports struct { Reports []GetReportsReports `json:"reports,omitempty"` diff --git a/lib/model_get_reports_reports.go b/lib/model_get_reports_reports.go index 30faa98..276c649 100644 --- a/lib/model_get_reports_reports.go +++ b/lib/model_get_reports_reports.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetReportsReports struct { // Date of the statistics diff --git a/lib/model_get_scheduled_email_by_batch_id.go b/lib/model_get_scheduled_email_by_batch_id.go index 9cd9373..b335f15 100644 --- a/lib/model_get_scheduled_email_by_batch_id.go +++ b/lib/model_get_scheduled_email_by_batch_id.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetScheduledEmailByBatchId struct { // Total number of batches diff --git a/lib/model_get_scheduled_email_by_batch_id_batches.go b/lib/model_get_scheduled_email_by_batch_id_batches.go index 7d9d8da..d68e08f 100644 --- a/lib/model_get_scheduled_email_by_batch_id_batches.go +++ b/lib/model_get_scheduled_email_by_batch_id_batches.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "time" diff --git a/lib/model_get_scheduled_email_by_message_id.go b/lib/model_get_scheduled_email_by_message_id.go index cad2e0d..1a40ca5 100644 --- a/lib/model_get_scheduled_email_by_message_id.go +++ b/lib/model_get_scheduled_email_by_message_id.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "time" diff --git a/lib/model_get_segments.go b/lib/model_get_segments.go index 40ca8f8..6bc6184 100644 --- a/lib/model_get_segments.go +++ b/lib/model_get_segments.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSegments struct { Segments *GetSegmentsSegments `json:"segments,omitempty"` diff --git a/lib/model_get_segments_segments.go b/lib/model_get_segments_segments.go index 1f2d1d6..48ab5fb 100644 --- a/lib/model_get_segments_segments.go +++ b/lib/model_get_segments_segments.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSegmentsSegments struct { // ID of the list diff --git a/lib/model_get_senders_list.go b/lib/model_get_senders_list.go index 024f9bc..73231c2 100644 --- a/lib/model_get_senders_list.go +++ b/lib/model_get_senders_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSendersList struct { // List of the senders available in your account diff --git a/lib/model_get_senders_list_ips.go b/lib/model_get_senders_list_ips.go index caa319a..aebd3e1 100644 --- a/lib/model_get_senders_list_ips.go +++ b/lib/model_get_senders_list_ips.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSendersListIps struct { // Dedicated IP available in your account diff --git a/lib/model_get_senders_list_senders.go b/lib/model_get_senders_list_senders.go index 8485c26..8037998 100644 --- a/lib/model_get_senders_list_senders.go +++ b/lib/model_get_senders_list_senders.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSendersListSenders struct { // Id of the sender diff --git a/lib/model_get_shared_template_url.go b/lib/model_get_shared_template_url.go index 914e006..b8f4f08 100644 --- a/lib/model_get_shared_template_url.go +++ b/lib/model_get_shared_template_url.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSharedTemplateUrl struct { // A unique URL for the email campaign or transactional template. This URL can be shared with other Brevo users. diff --git a/lib/model_get_sms_campaign.go b/lib/model_get_sms_campaign.go index 65485cf..7470c7f 100644 --- a/lib/model_get_sms_campaign.go +++ b/lib/model_get_sms_campaign.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSmsCampaign struct { // ID of the SMS Campaign diff --git a/lib/model_get_sms_campaign_overview.go b/lib/model_get_sms_campaign_overview.go index 3ca4a0f..5e6d395 100644 --- a/lib/model_get_sms_campaign_overview.go +++ b/lib/model_get_sms_campaign_overview.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSmsCampaignOverview struct { // ID of the SMS Campaign diff --git a/lib/model_get_sms_campaign_stats.go b/lib/model_get_sms_campaign_stats.go index 5b94cfe..8fd638e 100644 --- a/lib/model_get_sms_campaign_stats.go +++ b/lib/model_get_sms_campaign_stats.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSmsCampaignStats struct { // Number of delivered SMS diff --git a/lib/model_get_sms_campaigns.go b/lib/model_get_sms_campaigns.go index 8199ea8..0a4accd 100644 --- a/lib/model_get_sms_campaigns.go +++ b/lib/model_get_sms_campaigns.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSmsCampaigns struct { Campaigns []interface{} `json:"campaigns,omitempty"` diff --git a/lib/model_get_sms_event_report.go b/lib/model_get_sms_event_report.go index c97e2b5..775fc60 100644 --- a/lib/model_get_sms_event_report.go +++ b/lib/model_get_sms_event_report.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSmsEventReport struct { Events []GetSmsEventReportEvents `json:"events,omitempty"` diff --git a/lib/model_get_sms_event_report_events.go b/lib/model_get_sms_event_report_events.go index 18e34ec..e120b2f 100644 --- a/lib/model_get_sms_event_report_events.go +++ b/lib/model_get_sms_event_report_events.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSmsEventReportEvents struct { // Phone number which has generated the event diff --git a/lib/model_get_smtp_template_overview.go b/lib/model_get_smtp_template_overview.go index 22078ae..da3bc5a 100644 --- a/lib/model_get_smtp_template_overview.go +++ b/lib/model_get_smtp_template_overview.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSmtpTemplateOverview struct { // ID of the template diff --git a/lib/model_get_smtp_template_overview_sender.go b/lib/model_get_smtp_template_overview_sender.go index 55ca089..494a38c 100644 --- a/lib/model_get_smtp_template_overview_sender.go +++ b/lib/model_get_smtp_template_overview_sender.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSmtpTemplateOverviewSender struct { // From email for the template diff --git a/lib/model_get_smtp_templates.go b/lib/model_get_smtp_templates.go index e0fb563..8027dd5 100644 --- a/lib/model_get_smtp_templates.go +++ b/lib/model_get_smtp_templates.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSmtpTemplates struct { // Count of transactional email templates diff --git a/lib/model_get_sso_token.go b/lib/model_get_sso_token.go index 90bae9f..ab59976 100644 --- a/lib/model_get_sso_token.go +++ b/lib/model_get_sso_token.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetSsoToken struct { // Session token, it will remain valid for 15 days. diff --git a/lib/model_get_stats_by_browser.go b/lib/model_get_stats_by_browser.go index e3d8d3a..b4e411b 100644 --- a/lib/model_get_stats_by_browser.go +++ b/lib/model_get_stats_by_browser.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetStatsByBrowser struct { } diff --git a/lib/model_get_stats_by_device.go b/lib/model_get_stats_by_device.go index 1245525..c982854 100644 --- a/lib/model_get_stats_by_device.go +++ b/lib/model_get_stats_by_device.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetStatsByDevice struct { // Statistics of the campaign on the basis of desktop devices diff --git a/lib/model_get_stats_by_domain.go b/lib/model_get_stats_by_domain.go index 9286131..6741b18 100644 --- a/lib/model_get_stats_by_domain.go +++ b/lib/model_get_stats_by_domain.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetStatsByDomain struct { } diff --git a/lib/model_get_transac_aggregated_sms_report.go b/lib/model_get_transac_aggregated_sms_report.go index a19b60a..cfc75de 100644 --- a/lib/model_get_transac_aggregated_sms_report.go +++ b/lib/model_get_transac_aggregated_sms_report.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetTransacAggregatedSmsReport struct { // Time frame of the report diff --git a/lib/model_get_transac_blocked_contacts.go b/lib/model_get_transac_blocked_contacts.go index 7cad2be..b3b109e 100644 --- a/lib/model_get_transac_blocked_contacts.go +++ b/lib/model_get_transac_blocked_contacts.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetTransacBlockedContacts struct { // Count of blocked or unsubscribed contact diff --git a/lib/model_get_transac_blocked_contacts_contacts.go b/lib/model_get_transac_blocked_contacts_contacts.go index 72ec416..8a1c0f6 100644 --- a/lib/model_get_transac_blocked_contacts_contacts.go +++ b/lib/model_get_transac_blocked_contacts_contacts.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetTransacBlockedContactsContacts struct { // Email address of the blocked or unsubscribed contact diff --git a/lib/model_get_transac_blocked_contacts_reason.go b/lib/model_get_transac_blocked_contacts_reason.go index 4478912..db61c91 100644 --- a/lib/model_get_transac_blocked_contacts_reason.go +++ b/lib/model_get_transac_blocked_contacts_reason.go @@ -1,14 +1,14 @@ /* * Brevo API * - * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | * * API version: 3.0.0 * Contact: contact@brevo.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Reason for blocking / unsubscribing type GetTransacBlockedContactsReason struct { diff --git a/lib/model_get_transac_email_content.go b/lib/model_get_transac_email_content.go index b406b4c..5985a26 100644 --- a/lib/model_get_transac_email_content.go +++ b/lib/model_get_transac_email_content.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetTransacEmailContent struct { // Email address to which transactional email has been sent diff --git a/lib/model_get_transac_email_content_events.go b/lib/model_get_transac_email_content_events.go index 81f30a2..8b362ef 100644 --- a/lib/model_get_transac_email_content_events.go +++ b/lib/model_get_transac_email_content_events.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetTransacEmailContentEvents struct { // Name of the event that occurred on the sent email diff --git a/lib/model_get_transac_emails_list.go b/lib/model_get_transac_emails_list.go index 2c4d498..51b99c2 100644 --- a/lib/model_get_transac_emails_list.go +++ b/lib/model_get_transac_emails_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetTransacEmailsList struct { // Total number of transactional emails available on your account according to the passed filter diff --git a/lib/model_get_transac_emails_list_transactional_emails.go b/lib/model_get_transac_emails_list_transactional_emails.go index 941e667..7fea846 100644 --- a/lib/model_get_transac_emails_list_transactional_emails.go +++ b/lib/model_get_transac_emails_list_transactional_emails.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetTransacEmailsListTransactionalEmails struct { // Email address to which transactional email has been sent diff --git a/lib/model_get_transac_sms_report.go b/lib/model_get_transac_sms_report.go index cebb5e6..8499d22 100644 --- a/lib/model_get_transac_sms_report.go +++ b/lib/model_get_transac_sms_report.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetTransacSmsReport struct { Reports []GetTransacSmsReportReports `json:"reports,omitempty"` diff --git a/lib/model_get_transac_sms_report_reports.go b/lib/model_get_transac_sms_report_reports.go index 9020b14..ccb9f33 100644 --- a/lib/model_get_transac_sms_report_reports.go +++ b/lib/model_get_transac_sms_report_reports.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetTransacSmsReportReports struct { // Date for which statistics are retrieved diff --git a/lib/model_get_wa_templates.go b/lib/model_get_wa_templates.go index a59afdf..c2b2a88 100644 --- a/lib/model_get_wa_templates.go +++ b/lib/model_get_wa_templates.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetWaTemplates struct { Templates []GetWaTemplatesTemplates `json:"templates"` diff --git a/lib/model_get_wa_templates_templates.go b/lib/model_get_wa_templates_templates.go index 98746d8..789c4e2 100644 --- a/lib/model_get_wa_templates_templates.go +++ b/lib/model_get_wa_templates_templates.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetWaTemplatesTemplates struct { // id of the template diff --git a/lib/model_get_webhook.go b/lib/model_get_webhook.go index c8af933..031ce25 100644 --- a/lib/model_get_webhook.go +++ b/lib/model_get_webhook.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetWebhook struct { // URL of the webhook diff --git a/lib/model_get_webhooks.go b/lib/model_get_webhooks.go index 3196bbb..5076851 100644 --- a/lib/model_get_webhooks.go +++ b/lib/model_get_webhooks.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetWebhooks struct { Webhooks []interface{} `json:"webhooks"` diff --git a/lib/model_get_whats_app_config.go b/lib/model_get_whats_app_config.go index 067ea64..f760dbc 100644 --- a/lib/model_get_whats_app_config.go +++ b/lib/model_get_whats_app_config.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetWhatsAppConfig struct { // Id of the WhatsApp business account diff --git a/lib/model_get_whatsapp_campaign_overview.go b/lib/model_get_whatsapp_campaign_overview.go index 1647f56..61b8543 100644 --- a/lib/model_get_whatsapp_campaign_overview.go +++ b/lib/model_get_whatsapp_campaign_overview.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetWhatsappCampaignOverview struct { // ID of the WhatsApp Campaign diff --git a/lib/model_get_whatsapp_campaigns.go b/lib/model_get_whatsapp_campaigns.go index 66f4bfc..6badc1a 100644 --- a/lib/model_get_whatsapp_campaigns.go +++ b/lib/model_get_whatsapp_campaigns.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetWhatsappCampaigns struct { Campaigns []GetWhatsappCampaignsCampaigns `json:"campaigns,omitempty"` diff --git a/lib/model_get_whatsapp_campaigns_campaigns.go b/lib/model_get_whatsapp_campaigns_campaigns.go index 9c43fcd..77f37d2 100644 --- a/lib/model_get_whatsapp_campaigns_campaigns.go +++ b/lib/model_get_whatsapp_campaigns_campaigns.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetWhatsappCampaignsCampaigns struct { // ID of the WhatsApp Campaign diff --git a/lib/model_get_whatsapp_event_report.go b/lib/model_get_whatsapp_event_report.go index 9e660b2..5b6ba52 100644 --- a/lib/model_get_whatsapp_event_report.go +++ b/lib/model_get_whatsapp_event_report.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetWhatsappEventReport struct { Events []GetWhatsappEventReportEvents `json:"events,omitempty"` diff --git a/lib/model_get_whatsapp_event_report_events.go b/lib/model_get_whatsapp_event_report_events.go index a007524..04e8d50 100644 --- a/lib/model_get_whatsapp_event_report_events.go +++ b/lib/model_get_whatsapp_event_report_events.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type GetWhatsappEventReportEvents struct { // WhatsApp Number with country code. Example, 85264318721 diff --git a/lib/model_inline_response_200.go b/lib/model_inline_response_200.go index 8c60c54..e2e58b8 100644 --- a/lib/model_inline_response_200.go +++ b/lib/model_inline_response_200.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Created company id type InlineResponse200 struct { diff --git a/lib/model_inline_response_201.go b/lib/model_inline_response_201.go index 70b559c..c52a5fa 100644 --- a/lib/model_inline_response_201.go +++ b/lib/model_inline_response_201.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Created deal id type InlineResponse201 struct { diff --git a/lib/model_inline_response_201_1.go b/lib/model_inline_response_201_1.go index b46b0ae..ae9c395 100644 --- a/lib/model_inline_response_201_1.go +++ b/lib/model_inline_response_201_1.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Task Details type InlineResponse2011 struct { diff --git a/lib/model_inline_response_201_2.go b/lib/model_inline_response_201_2.go index 0c95576..8c38522 100644 --- a/lib/model_inline_response_201_2.go +++ b/lib/model_inline_response_201_2.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type InlineResponse2012 struct { // messageId of sent message diff --git a/lib/model_inline_response_201_3.go b/lib/model_inline_response_201_3.go index a51cc06..3ef05fe 100644 --- a/lib/model_inline_response_201_3.go +++ b/lib/model_inline_response_201_3.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type InlineResponse2013 struct { // ID of the object created diff --git a/lib/model_manage_ip.go b/lib/model_manage_ip.go index f1d21a6..1fff4e9 100644 --- a/lib/model_manage_ip.go +++ b/lib/model_manage_ip.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type ManageIp struct { // Dedicated ID diff --git a/lib/model_master_details_response.go b/lib/model_master_details_response.go index 9c451f5..c514de9 100644 --- a/lib/model_master_details_response.go +++ b/lib/model_master_details_response.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type MasterDetailsResponse struct { // Email id of master account diff --git a/lib/model_master_details_response_billing_info.go b/lib/model_master_details_response_billing_info.go index 3ac5697..614daba 100644 --- a/lib/model_master_details_response_billing_info.go +++ b/lib/model_master_details_response_billing_info.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Billing details of the master account organization type MasterDetailsResponseBillingInfo struct { diff --git a/lib/model_master_details_response_billing_info_address.go b/lib/model_master_details_response_billing_info_address.go index 4948847..3b04094 100644 --- a/lib/model_master_details_response_billing_info_address.go +++ b/lib/model_master_details_response_billing_info_address.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Billing address of master account type MasterDetailsResponseBillingInfoAddress struct { diff --git a/lib/model_master_details_response_billing_info_name.go b/lib/model_master_details_response_billing_info_name.go index d9179b8..e6a8575 100644 --- a/lib/model_master_details_response_billing_info_name.go +++ b/lib/model_master_details_response_billing_info_name.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Billing name of master account holder type MasterDetailsResponseBillingInfoName struct { diff --git a/lib/model_master_details_response_plan_info.go b/lib/model_master_details_response_plan_info.go index 8c044df..f1dada1 100644 --- a/lib/model_master_details_response_plan_info.go +++ b/lib/model_master_details_response_plan_info.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Plan details type MasterDetailsResponsePlanInfo struct { diff --git a/lib/model_master_details_response_plan_info_features.go b/lib/model_master_details_response_plan_info_features.go index 8f2a94d..69bf823 100644 --- a/lib/model_master_details_response_plan_info_features.go +++ b/lib/model_master_details_response_plan_info_features.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type MasterDetailsResponsePlanInfoFeatures struct { // Name of the feature diff --git a/lib/model_note.go b/lib/model_note.go index 5b186f4..073b606 100644 --- a/lib/model_note.go +++ b/lib/model_note.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "time" diff --git a/lib/model_note_data.go b/lib/model_note_data.go index 43e09bd..2c1c088 100644 --- a/lib/model_note_data.go +++ b/lib/model_note_data.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Note data to be saved type NoteData struct { diff --git a/lib/model_note_id.go b/lib/model_note_id.go index 236ad8c..9a6bacb 100644 --- a/lib/model_note_id.go +++ b/lib/model_note_id.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Updated Note ID type NoteId struct { diff --git a/lib/model_note_list.go b/lib/model_note_list.go index 0baf1bd..d38b086 100644 --- a/lib/model_note_list.go +++ b/lib/model_note_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // List of notes type NoteList struct { diff --git a/lib/model_order.go b/lib/model_order.go index b492449..44b2949 100644 --- a/lib/model_order.go +++ b/lib/model_order.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type Order struct { // Unique ID of the order. diff --git a/lib/model_order_batch.go b/lib/model_order_batch.go index 53d768b..9663e59 100644 --- a/lib/model_order_batch.go +++ b/lib/model_order_batch.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type OrderBatch struct { // array of order objects diff --git a/lib/model_order_billing.go b/lib/model_order_billing.go index af1912f..69e0b46 100644 --- a/lib/model_order_billing.go +++ b/lib/model_order_billing.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Billing details of an order. type OrderBilling struct { diff --git a/lib/model_order_products.go b/lib/model_order_products.go index d0150e5..96353e5 100644 --- a/lib/model_order_products.go +++ b/lib/model_order_products.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Details for the Products in an order. type OrderProducts struct { diff --git a/lib/model_otp.go b/lib/model_otp.go index 19a7de2..133a8f2 100644 --- a/lib/model_otp.go +++ b/lib/model_otp.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type Otp struct { // 6 digit OTP received on email diff --git a/lib/model_pipeline.go b/lib/model_pipeline.go index b179a84..6112a2a 100644 --- a/lib/model_pipeline.go +++ b/lib/model_pipeline.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // List of stages type Pipeline struct { diff --git a/lib/model_pipeline_stage.go b/lib/model_pipeline_stage.go index 0af038e..e3555b0 100644 --- a/lib/model_pipeline_stage.go +++ b/lib/model_pipeline_stage.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // List of stages type PipelineStage struct { diff --git a/lib/model_post_contact_info.go b/lib/model_post_contact_info.go index 9e89ae2..d316fb3 100644 --- a/lib/model_post_contact_info.go +++ b/lib/model_post_contact_info.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type PostContactInfo struct { Contacts *PostContactInfoContacts `json:"contacts"` diff --git a/lib/model_post_contact_info_contacts.go b/lib/model_post_contact_info_contacts.go index 3cf88fb..732dccd 100644 --- a/lib/model_post_contact_info_contacts.go +++ b/lib/model_post_contact_info_contacts.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type PostContactInfoContacts struct { Success []interface{} `json:"success,omitempty"` diff --git a/lib/model_post_send_failed.go b/lib/model_post_send_failed.go index c1964e8..eaafbb6 100644 --- a/lib/model_post_send_failed.go +++ b/lib/model_post_send_failed.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type PostSendFailed struct { // Response code diff --git a/lib/model_post_send_sms_test_failed.go b/lib/model_post_send_sms_test_failed.go index 090624f..2a6bafe 100644 --- a/lib/model_post_send_sms_test_failed.go +++ b/lib/model_post_send_sms_test_failed.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type PostSendSmsTestFailed struct { // Response code diff --git a/lib/model_remaining_credit_model.go b/lib/model_remaining_credit_model.go index 66f5974..d9e7cc9 100644 --- a/lib/model_remaining_credit_model.go +++ b/lib/model_remaining_credit_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type RemainingCreditModel struct { Child *RemainingCreditModelChild `json:"child"` diff --git a/lib/model_remaining_credit_model_child.go b/lib/model_remaining_credit_model_child.go index 4d390a4..ef1947f 100644 --- a/lib/model_remaining_credit_model_child.go +++ b/lib/model_remaining_credit_model_child.go @@ -1,14 +1,14 @@ /* * Brevo API * - * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | * * API version: 3.0.0 * Contact: contact@brevo.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Credits remaining for child account type RemainingCreditModelChild struct { diff --git a/lib/model_remaining_credit_model_reseller.go b/lib/model_remaining_credit_model_reseller.go index da87d5b..18d47e2 100644 --- a/lib/model_remaining_credit_model_reseller.go +++ b/lib/model_remaining_credit_model_reseller.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type RemainingCreditModelReseller struct { // SMS Credits remaining for reseller account diff --git a/lib/model_remove_contact_from_list.go b/lib/model_remove_contact_from_list.go index 1f99bcb..17a26b0 100644 --- a/lib/model_remove_contact_from_list.go +++ b/lib/model_remove_contact_from_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type RemoveContactFromList struct { // Required if 'all' is false. Emails to remove from a list. You can pass a maximum of 150 emails for removal in one request. diff --git a/lib/model_remove_credits.go b/lib/model_remove_credits.go index 21bec53..d849de3 100644 --- a/lib/model_remove_credits.go +++ b/lib/model_remove_credits.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type RemoveCredits struct { // Required if email credits are empty. SMS credits to be removed from the child account diff --git a/lib/model_request_contact_export.go b/lib/model_request_contact_export.go index 7465f45..a7b6206 100644 --- a/lib/model_request_contact_export.go +++ b/lib/model_request_contact_export.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type RequestContactExport struct { // List of all the attributes that you want to export. These attributes must be present in your contact database. For example, ['fname', 'lname', 'email']. diff --git a/lib/model_request_contact_export_custom_contact_filter.go b/lib/model_request_contact_export_custom_contact_filter.go index b22d72f..a79b7d6 100644 --- a/lib/model_request_contact_export_custom_contact_filter.go +++ b/lib/model_request_contact_export_custom_contact_filter.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Set the filter for the contacts to be exported. type RequestContactExportCustomContactFilter struct { diff --git a/lib/model_request_contact_import.go b/lib/model_request_contact_import.go index 0606554..94a7780 100644 --- a/lib/model_request_contact_import.go +++ b/lib/model_request_contact_import.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type RequestContactImport struct { // Mandatory if fileBody or jsonBody is not defined. URL of the file to be imported (no local file). Possible file formats: .txt, .csv, .json diff --git a/lib/model_request_contact_import_new_list.go b/lib/model_request_contact_import_new_list.go index a456c1d..2bd86aa 100644 --- a/lib/model_request_contact_import_new_list.go +++ b/lib/model_request_contact_import_new_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // To create a new list and import the contacts into it, pass the listName and an optional folderId. type RequestContactImportNewList struct { diff --git a/lib/model_request_sms_recipient_export.go b/lib/model_request_sms_recipient_export.go index a6e650c..2698b1c 100644 --- a/lib/model_request_sms_recipient_export.go +++ b/lib/model_request_sms_recipient_export.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type RequestSmsRecipientExport struct { // URL that will be called once the export process is finished. For reference, https://help.brevo.com/hc/en-us/articles/360007666479 diff --git a/lib/model_schedule_smtp_email.go b/lib/model_schedule_smtp_email.go index fb86a96..7c616a8 100644 --- a/lib/model_schedule_smtp_email.go +++ b/lib/model_schedule_smtp_email.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type ScheduleSmtpEmail struct { // Message ID of the transactional email scheduled diff --git a/lib/model_send_report.go b/lib/model_send_report.go index 8d824bc..ae915f9 100644 --- a/lib/model_send_report.go +++ b/lib/model_send_report.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SendReport struct { // Language of email content for campaign report sending. diff --git a/lib/model_send_report_email.go b/lib/model_send_report_email.go index 5b6bc79..e87e61f 100644 --- a/lib/model_send_report_email.go +++ b/lib/model_send_report_email.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Custom attributes for the report email. type SendReportEmail struct { diff --git a/lib/model_send_sms.go b/lib/model_send_sms.go index cf58a97..45e02b9 100644 --- a/lib/model_send_sms.go +++ b/lib/model_send_sms.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SendSms struct { Reference string `json:"reference"` diff --git a/lib/model_send_smtp_email.go b/lib/model_send_smtp_email.go index 99771b8..bae2ec4 100644 --- a/lib/model_send_smtp_email.go +++ b/lib/model_send_smtp_email.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SendSmtpEmail struct { Sender *SendSmtpEmailSender `json:"sender,omitempty"` diff --git a/lib/model_send_smtp_email_attachment.go b/lib/model_send_smtp_email_attachment.go index 9823913..a0f4af2 100644 --- a/lib/model_send_smtp_email_attachment.go +++ b/lib/model_send_smtp_email_attachment.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SendSmtpEmailAttachment struct { // Absolute url of the attachment (no local file). diff --git a/lib/model_send_smtp_email_bcc.go b/lib/model_send_smtp_email_bcc.go index 8ed10c0..9df3b5a 100644 --- a/lib/model_send_smtp_email_bcc.go +++ b/lib/model_send_smtp_email_bcc.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SendSmtpEmailBcc struct { // Email address of the recipient in bcc diff --git a/lib/model_send_smtp_email_cc.go b/lib/model_send_smtp_email_cc.go index 0443122..61c1e01 100644 --- a/lib/model_send_smtp_email_cc.go +++ b/lib/model_send_smtp_email_cc.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SendSmtpEmailCc struct { // Email address of the recipient in cc diff --git a/lib/model_send_smtp_email_message_versions.go b/lib/model_send_smtp_email_message_versions.go index 4c7bcd1..cec8794 100644 --- a/lib/model_send_smtp_email_message_versions.go +++ b/lib/model_send_smtp_email_message_versions.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SendSmtpEmailMessageVersions struct { // List of email addresses and names (_optional_) of the recipients. For example, [{\"name\":\"Jimmy\", \"email\":\"jimmy98@example.com\"}, {\"name\":\"Joe\", \"email\":\"joe@example.com\"}] diff --git a/lib/model_send_smtp_email_reply_to.go b/lib/model_send_smtp_email_reply_to.go index 252fe58..8719912 100644 --- a/lib/model_send_smtp_email_reply_to.go +++ b/lib/model_send_smtp_email_reply_to.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // 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\"}. type SendSmtpEmailReplyTo struct { diff --git a/lib/model_send_smtp_email_reply_to_1.go b/lib/model_send_smtp_email_reply_to_1.go index 929322a..2703727 100644 --- a/lib/model_send_smtp_email_reply_to_1.go +++ b/lib/model_send_smtp_email_reply_to_1.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // 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\"} type SendSmtpEmailReplyTo1 struct { diff --git a/lib/model_send_smtp_email_sender.go b/lib/model_send_smtp_email_sender.go index eaa9141..5e7e7e6 100644 --- a/lib/model_send_smtp_email_sender.go +++ b/lib/model_send_smtp_email_sender.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // 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} type SendSmtpEmailSender struct { diff --git a/lib/model_send_smtp_email_to.go b/lib/model_send_smtp_email_to.go index 68e5f29..961d188 100644 --- a/lib/model_send_smtp_email_to.go +++ b/lib/model_send_smtp_email_to.go @@ -1,14 +1,14 @@ /* * Brevo API * - * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | * * API version: 3.0.0 * Contact: contact@brevo.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SendSmtpEmailTo struct { // Email address of the recipient diff --git a/lib/model_send_smtp_email_to_1.go b/lib/model_send_smtp_email_to_1.go index b88e503..bc90951 100644 --- a/lib/model_send_smtp_email_to_1.go +++ b/lib/model_send_smtp_email_to_1.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SendSmtpEmailTo1 struct { // Email address of the recipient diff --git a/lib/model_send_test_email.go b/lib/model_send_test_email.go index 85cdf12..69c0739 100644 --- a/lib/model_send_test_email.go +++ b/lib/model_send_test_email.go @@ -1,14 +1,14 @@ /* * Brevo API * - * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | * * API version: 3.0.0 * Contact: contact@brevo.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SendTestEmail struct { // 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. diff --git a/lib/model_send_test_sms.go b/lib/model_send_test_sms.go index 3042d67..1cd872b 100644 --- a/lib/model_send_test_sms.go +++ b/lib/model_send_test_sms.go @@ -1,14 +1,14 @@ /* * Brevo API * - * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | * * API version: 3.0.0 * Contact: contact@brevo.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SendTestSms struct { // 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 diff --git a/lib/model_send_transac_sms.go b/lib/model_send_transac_sms.go index 3d98a61..39ca986 100644 --- a/lib/model_send_transac_sms.go +++ b/lib/model_send_transac_sms.go @@ -1,14 +1,14 @@ /* * Brevo API * - * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | * * API version: 3.0.0 * Contact: contact@brevo.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SendTransacSms struct { // Name of the sender. **The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters** diff --git a/lib/model_send_whatsapp_message.go b/lib/model_send_whatsapp_message.go index 2d24f52..fe1e5f0 100644 --- a/lib/model_send_whatsapp_message.go +++ b/lib/model_send_whatsapp_message.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SendWhatsappMessage struct { // ID of the template to send diff --git a/lib/model_sso_token_request.go b/lib/model_sso_token_request.go index f8831be..d53db44 100644 --- a/lib/model_sso_token_request.go +++ b/lib/model_sso_token_request.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SsoTokenRequest struct { // Id of the sub-account organization diff --git a/lib/model_sub_account_details_response.go b/lib/model_sub_account_details_response.go index 2e6bb0d..a1488f1 100644 --- a/lib/model_sub_account_details_response.go +++ b/lib/model_sub_account_details_response.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SubAccountDetailsResponse struct { // Name of the sub-account user diff --git a/lib/model_sub_account_details_response_plan_info.go b/lib/model_sub_account_details_response_plan_info.go index 026f081..db594ae 100644 --- a/lib/model_sub_account_details_response_plan_info.go +++ b/lib/model_sub_account_details_response_plan_info.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Sub-account plan details type SubAccountDetailsResponsePlanInfo struct { diff --git a/lib/model_sub_account_details_response_plan_info_credits.go b/lib/model_sub_account_details_response_plan_info_credits.go index 5cc4bce..120b753 100644 --- a/lib/model_sub_account_details_response_plan_info_credits.go +++ b/lib/model_sub_account_details_response_plan_info_credits.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Credits quota and remaining credits on the sub-account type SubAccountDetailsResponsePlanInfoCredits struct { diff --git a/lib/model_sub_account_details_response_plan_info_credits_emails.go b/lib/model_sub_account_details_response_plan_info_credits_emails.go index 1841ca8..8bec6bd 100644 --- a/lib/model_sub_account_details_response_plan_info_credits_emails.go +++ b/lib/model_sub_account_details_response_plan_info_credits_emails.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Email credits remaining on the sub-account type SubAccountDetailsResponsePlanInfoCreditsEmails struct { diff --git a/lib/model_sub_account_details_response_plan_info_features.go b/lib/model_sub_account_details_response_plan_info_features.go index 89133fa..8b21b79 100644 --- a/lib/model_sub_account_details_response_plan_info_features.go +++ b/lib/model_sub_account_details_response_plan_info_features.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Features available on the sub-account type SubAccountDetailsResponsePlanInfoFeatures struct { diff --git a/lib/model_sub_account_details_response_plan_info_features_inbox.go b/lib/model_sub_account_details_response_plan_info_features_inbox.go index 31def93..0ca3b67 100644 --- a/lib/model_sub_account_details_response_plan_info_features_inbox.go +++ b/lib/model_sub_account_details_response_plan_info_features_inbox.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Inbox details type SubAccountDetailsResponsePlanInfoFeaturesInbox struct { diff --git a/lib/model_sub_account_details_response_plan_info_features_landing_page.go b/lib/model_sub_account_details_response_plan_info_features_landing_page.go index f45b539..389a3a4 100644 --- a/lib/model_sub_account_details_response_plan_info_features_landing_page.go +++ b/lib/model_sub_account_details_response_plan_info_features_landing_page.go @@ -1,14 +1,14 @@ /* * Brevo API * - * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | * * API version: 3.0.0 * Contact: contact@brevo.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Landing page details type SubAccountDetailsResponsePlanInfoFeaturesLandingPage struct { diff --git a/lib/model_sub_account_details_response_plan_info_features_users.go b/lib/model_sub_account_details_response_plan_info_features_users.go index 9cfb4d7..e63ee78 100644 --- a/lib/model_sub_account_details_response_plan_info_features_users.go +++ b/lib/model_sub_account_details_response_plan_info_features_users.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Multi-account details type SubAccountDetailsResponsePlanInfoFeaturesUsers struct { diff --git a/lib/model_sub_account_update_plan_request.go b/lib/model_sub_account_update_plan_request.go index ffba465..a085ff4 100644 --- a/lib/model_sub_account_update_plan_request.go +++ b/lib/model_sub_account_update_plan_request.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Details of the plan to be changed type SubAccountUpdatePlanRequest struct { diff --git a/lib/model_sub_account_update_plan_request_credits.go b/lib/model_sub_account_update_plan_request_credits.go index a4b0d92..c9e1650 100644 --- a/lib/model_sub_account_update_plan_request_credits.go +++ b/lib/model_sub_account_update_plan_request_credits.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Credit details to update type SubAccountUpdatePlanRequestCredits struct { diff --git a/lib/model_sub_account_update_plan_request_features.go b/lib/model_sub_account_update_plan_request_features.go index 6746d09..6087079 100644 --- a/lib/model_sub_account_update_plan_request_features.go +++ b/lib/model_sub_account_update_plan_request_features.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Features details to update type SubAccountUpdatePlanRequestFeatures struct { diff --git a/lib/model_sub_accounts_response.go b/lib/model_sub_accounts_response.go index f3116aa..d86beb3 100644 --- a/lib/model_sub_accounts_response.go +++ b/lib/model_sub_accounts_response.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SubAccountsResponse struct { // Total number of subaccounts diff --git a/lib/model_sub_accounts_response_sub_accounts.go b/lib/model_sub_accounts_response_sub_accounts.go index 248f3d5..24a48ca 100644 --- a/lib/model_sub_accounts_response_sub_accounts.go +++ b/lib/model_sub_accounts_response_sub_accounts.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type SubAccountsResponseSubAccounts struct { // id of the sub-account diff --git a/lib/model_task.go b/lib/model_task.go index 441b773..43d3b6d 100644 --- a/lib/model_task.go +++ b/lib/model_task.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Task Details type Task struct { diff --git a/lib/model_task_list.go b/lib/model_task_list.go index 828f199..cdec7bc 100644 --- a/lib/model_task_list.go +++ b/lib/model_task_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // List of tasks type TaskList struct { diff --git a/lib/model_task_reminder.go b/lib/model_task_reminder.go index 4b5aa14..32ca0c3 100644 --- a/lib/model_task_reminder.go +++ b/lib/model_task_reminder.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Task reminder date/time for a task type TaskReminder struct { diff --git a/lib/model_task_types.go b/lib/model_task_types.go index 70841d9..3f82df0 100644 --- a/lib/model_task_types.go +++ b/lib/model_task_types.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Task types details type TaskTypes struct { diff --git a/lib/model_update_attribute.go b/lib/model_update_attribute.go index 633b111..5cee252 100644 --- a/lib/model_update_attribute.go +++ b/lib/model_update_attribute.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateAttribute struct { // Value of the attribute to update. Use only if the attribute's category is 'calculated' or 'global' diff --git a/lib/model_update_attribute_enumeration.go b/lib/model_update_attribute_enumeration.go index 5a79eee..e7448c1 100644 --- a/lib/model_update_attribute_enumeration.go +++ b/lib/model_update_attribute_enumeration.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateAttributeEnumeration struct { // Id of the value diff --git a/lib/model_update_batch_contacts.go b/lib/model_update_batch_contacts.go index ca0f7d3..eba3b3f 100644 --- a/lib/model_update_batch_contacts.go +++ b/lib/model_update_batch_contacts.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateBatchContacts struct { // List of contacts to be updated diff --git a/lib/model_update_batch_contacts_contacts.go b/lib/model_update_batch_contacts_contacts.go index 10b003f..0994c36 100644 --- a/lib/model_update_batch_contacts_contacts.go +++ b/lib/model_update_batch_contacts_contacts.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateBatchContactsContacts struct { // Email address of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms) diff --git a/lib/model_update_batch_contacts_model.go b/lib/model_update_batch_contacts_model.go index 26f0ecb..548f211 100644 --- a/lib/model_update_batch_contacts_model.go +++ b/lib/model_update_batch_contacts_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateBatchContactsModel struct { SuccessIds []int64 `json:"successIds,omitempty"` diff --git a/lib/model_update_campaign_status.go b/lib/model_update_campaign_status.go index 9be0d53..37a41fc 100644 --- a/lib/model_update_campaign_status.go +++ b/lib/model_update_campaign_status.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Status of the campaign type UpdateCampaignStatus struct { diff --git a/lib/model_update_child.go b/lib/model_update_child.go index 08f1383..dbab372 100644 --- a/lib/model_update_child.go +++ b/lib/model_update_child.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateChild struct { // New Email address to update the child account diff --git a/lib/model_update_child_account_status.go b/lib/model_update_child_account_status.go index 804c557..967a108 100644 --- a/lib/model_update_child_account_status.go +++ b/lib/model_update_child_account_status.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateChildAccountStatus struct { // Status of Transactional Email Platform activation for your account (true=enabled, false=disabled) diff --git a/lib/model_update_child_domain.go b/lib/model_update_child_domain.go index dfde2c0..77311a9 100644 --- a/lib/model_update_child_domain.go +++ b/lib/model_update_child_domain.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateChildDomain struct { // Value for the sender domain that will replace the existing domain diff --git a/lib/model_update_contact.go b/lib/model_update_contact.go index f54a142..a7b9c2f 100644 --- a/lib/model_update_contact.go +++ b/lib/model_update_contact.go @@ -1,14 +1,14 @@ /* * Brevo API * - * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | * * API version: 3.0.0 * Contact: contact@brevo.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateContact struct { // 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\"} diff --git a/lib/model_update_email_campaign.go b/lib/model_update_email_campaign.go index c05cf1f..f379234 100644 --- a/lib/model_update_email_campaign.go +++ b/lib/model_update_email_campaign.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateEmailCampaign struct { // Tag of the campaign diff --git a/lib/model_update_email_campaign_recipients.go b/lib/model_update_email_campaign_recipients.go index 105d993..c3ff97f 100644 --- a/lib/model_update_email_campaign_recipients.go +++ b/lib/model_update_email_campaign_recipients.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // Segment ids and List ids to include/exclude from campaign type UpdateEmailCampaignRecipients struct { diff --git a/lib/model_update_email_campaign_sender.go b/lib/model_update_email_campaign_sender.go index 630dcde..e71f62f 100644 --- a/lib/model_update_email_campaign_sender.go +++ b/lib/model_update_email_campaign_sender.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // 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}` type UpdateEmailCampaignSender struct { diff --git a/lib/model_update_external_feed.go b/lib/model_update_external_feed.go index 78565e5..569e5c4 100644 --- a/lib/model_update_external_feed.go +++ b/lib/model_update_external_feed.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateExternalFeed struct { // Name of the feed diff --git a/lib/model_update_list.go b/lib/model_update_list.go index 61a923f..cd41979 100644 --- a/lib/model_update_list.go +++ b/lib/model_update_list.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateList struct { // Name of the list. Either of the two parameters (name, folderId) can be updated at a time. diff --git a/lib/model_update_sender.go b/lib/model_update_sender.go index f948847..f1d02d2 100644 --- a/lib/model_update_sender.go +++ b/lib/model_update_sender.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateSender struct { // From Name to update the sender diff --git a/lib/model_update_sms_campaign.go b/lib/model_update_sms_campaign.go index 3065ef3..e065b32 100644 --- a/lib/model_update_sms_campaign.go +++ b/lib/model_update_sms_campaign.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateSmsCampaign struct { // Name of the campaign diff --git a/lib/model_update_smtp_template.go b/lib/model_update_smtp_template.go index 28c778e..edd8175 100644 --- a/lib/model_update_smtp_template.go +++ b/lib/model_update_smtp_template.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateSmtpTemplate struct { // Tag of the template diff --git a/lib/model_update_smtp_template_sender.go b/lib/model_update_smtp_template_sender.go index b7d387e..8f5eff9 100644 --- a/lib/model_update_smtp_template_sender.go +++ b/lib/model_update_smtp_template_sender.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib // 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}` type UpdateSmtpTemplateSender struct { diff --git a/lib/model_update_webhook.go b/lib/model_update_webhook.go index 72003d5..ad2cb43 100644 --- a/lib/model_update_webhook.go +++ b/lib/model_update_webhook.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UpdateWebhook struct { // URL of the webhook diff --git a/lib/model_upload_image_model.go b/lib/model_upload_image_model.go index f027856..a2ecf9a 100644 --- a/lib/model_upload_image_model.go +++ b/lib/model_upload_image_model.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UploadImageModel struct { // URL of the image uploaded diff --git a/lib/model_upload_image_to_gallery.go b/lib/model_upload_image_to_gallery.go index bccc240..9dd8037 100644 --- a/lib/model_upload_image_to_gallery.go +++ b/lib/model_upload_image_to_gallery.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type UploadImageToGallery struct { // 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. diff --git a/lib/model_variables_items.go b/lib/model_variables_items.go index ce528ef..992905a 100644 --- a/lib/model_variables_items.go +++ b/lib/model_variables_items.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type VariablesItems struct { Name string `json:"name,omitempty"` diff --git a/lib/model_whatsapp_camp_stats.go b/lib/model_whatsapp_camp_stats.go index bc1980d..e60a947 100644 --- a/lib/model_whatsapp_camp_stats.go +++ b/lib/model_whatsapp_camp_stats.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type WhatsappCampStats struct { Sent int32 `json:"sent"` diff --git a/lib/model_whatsapp_camp_template.go b/lib/model_whatsapp_camp_template.go index 48a5dcc..d3727af 100644 --- a/lib/model_whatsapp_camp_template.go +++ b/lib/model_whatsapp_camp_template.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib type WhatsappCampTemplate struct { // name of the template diff --git a/lib/response.go b/lib/response.go index 511b1b7..3815c2d 100644 --- a/lib/response.go +++ b/lib/response.go @@ -8,7 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package lib import ( "net/http"