sib-api-v3-sdk 5.4.0 → 5.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -16
- data/docs/ContactsApi.md +5 -5
- data/docs/CreateChild.md +1 -0
- data/docs/CreateDoiContact.md +2 -2
- data/docs/CreateReseller.md +1 -0
- data/docs/CreateSender.md +1 -1
- data/docs/CreateWebhook.md +1 -1
- data/docs/EmailExportRecipients.md +1 -1
- data/docs/GetSmtpTemplateOverview.md +1 -0
- data/docs/PostContactInfoContacts.md +1 -0
- data/docs/RemoveContactFromList.md +1 -1
- data/docs/RequestContactExport.md +1 -1
- data/docs/RequestContactImport.md +1 -1
- data/docs/RequestSMSRecipientExport.md +1 -1
- data/docs/ResellerApi.md +82 -82
- data/docs/SendSmtpEmail.md +1 -1
- data/docs/TransactionalSMSApi.md +3 -3
- data/docs/UpdateChildAccountStatus.md +1 -0
- data/lib/sib-api-v3-sdk/api/contacts_api.rb +4 -4
- data/lib/sib-api-v3-sdk/api/reseller_api.rb +138 -138
- data/lib/sib-api-v3-sdk/api/transactional_sms_api.rb +2 -2
- data/lib/sib-api-v3-sdk/models/create_child.rb +48 -4
- data/lib/sib-api-v3-sdk/models/create_doi_contact.rb +2 -2
- data/lib/sib-api-v3-sdk/models/create_reseller.rb +14 -4
- data/lib/sib-api-v3-sdk/models/create_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_webhook.rb +1 -1
- data/lib/sib-api-v3-sdk/models/email_export_recipients.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_smtp_template_overview.rb +14 -4
- data/lib/sib-api-v3-sdk/models/post_contact_info_contacts.rb +14 -4
- data/lib/sib-api-v3-sdk/models/remove_contact_from_list.rb +1 -1
- data/lib/sib-api-v3-sdk/models/request_contact_export.rb +1 -1
- data/lib/sib-api-v3-sdk/models/request_contact_import.rb +1 -1
- data/lib/sib-api-v3-sdk/models/request_sms_recipient_export.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_child_account_status.rb +14 -4
- data/lib/sib-api-v3-sdk/version.rb +1 -1
- data/spec/api/contacts_api_spec.rb +2 -2
- data/spec/api/reseller_api_spec.rb +20 -20
- data/spec/api/transactional_sms_api_spec.rb +1 -1
- data/spec/models/create_child_spec.rb +10 -0
- data/spec/models/create_reseller_spec.rb +6 -0
- data/spec/models/create_webhook_spec.rb +1 -1
- data/spec/models/get_smtp_template_overview_spec.rb +6 -0
- data/spec/models/post_contact_info_contacts_spec.rb +6 -0
- data/spec/models/update_child_account_status_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f95ab1900ea673f64cf7a1edee7db7c1810e8bc1018ea2e1933fbbb6d94a0059
|
4
|
+
data.tar.gz: 5545aac0b0762fdf65b9b105350a9699d49562d0e0626f77beadffeb17bec006
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40d877f79b569f7f4d44f8972e72f7b64ce1a4068d309ba9c3007705ba4b7e62c102a61286aae544f7c450ee3c2c80f58ede98b103afe1aacf1dde544d509e05
|
7
|
+
data.tar.gz: fb703e781f1730fbfe885c3ae6bfe4e2d1cdc585945591a8dcbe43ba66cf5fbedee0263ecc83071e4edb1a02b0e031311061852c59b813c80de3171c255fcbfe
|
data/README.md
CHANGED
@@ -92,7 +92,7 @@ Class | Method | HTTP request | Description
|
|
92
92
|
*SibApiV3Sdk::ContactsApi* | [**add_contact_to_list**](docs/ContactsApi.md#add_contact_to_list) | **POST** /contacts/lists/{listId}/contacts/add | Add existing contacts to a list
|
93
93
|
*SibApiV3Sdk::ContactsApi* | [**create_attribute**](docs/ContactsApi.md#create_attribute) | **POST** /contacts/attributes/{attributeCategory}/{attributeName} | Create contact attribute
|
94
94
|
*SibApiV3Sdk::ContactsApi* | [**create_contact**](docs/ContactsApi.md#create_contact) | **POST** /contacts | Create a contact
|
95
|
-
*SibApiV3Sdk::ContactsApi* | [**create_doi_contact**](docs/ContactsApi.md#create_doi_contact) | **POST** /contacts/doubleOptinConfirmation | Create
|
95
|
+
*SibApiV3Sdk::ContactsApi* | [**create_doi_contact**](docs/ContactsApi.md#create_doi_contact) | **POST** /contacts/doubleOptinConfirmation | Create Contact via DOI (Double-Opt-In) Flow
|
96
96
|
*SibApiV3Sdk::ContactsApi* | [**create_folder**](docs/ContactsApi.md#create_folder) | **POST** /contacts/folders | Create a folder
|
97
97
|
*SibApiV3Sdk::ContactsApi* | [**create_list**](docs/ContactsApi.md#create_list) | **POST** /contacts/lists | Create a list
|
98
98
|
*SibApiV3Sdk::ContactsApi* | [**delete_attribute**](docs/ContactsApi.md#delete_attribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute
|
@@ -146,22 +146,22 @@ Class | Method | HTTP request | Description
|
|
146
146
|
*SibApiV3Sdk::ListsApi* | [**update_list**](docs/ListsApi.md#update_list) | **PUT** /contacts/lists/{listId} | Update a list
|
147
147
|
*SibApiV3Sdk::ProcessApi* | [**get_process**](docs/ProcessApi.md#get_process) | **GET** /processes/{processId} | Return the informations for a process
|
148
148
|
*SibApiV3Sdk::ProcessApi* | [**get_processes**](docs/ProcessApi.md#get_processes) | **GET** /processes | Return all the processes for your account
|
149
|
-
*SibApiV3Sdk::ResellerApi* | [**add_credits**](docs/ResellerApi.md#add_credits) | **POST** /reseller/children/{
|
150
|
-
*SibApiV3Sdk::ResellerApi* | [**associate_ip_to_child**](docs/ResellerApi.md#associate_ip_to_child) | **POST** /reseller/children/{
|
151
|
-
*SibApiV3Sdk::ResellerApi* | [**create_child_domain**](docs/ResellerApi.md#create_child_domain) | **POST** /reseller/children/{
|
149
|
+
*SibApiV3Sdk::ResellerApi* | [**add_credits**](docs/ResellerApi.md#add_credits) | **POST** /reseller/children/{childIdentifier}/credits/add | Add Email and/or SMS credits to a specific child account
|
150
|
+
*SibApiV3Sdk::ResellerApi* | [**associate_ip_to_child**](docs/ResellerApi.md#associate_ip_to_child) | **POST** /reseller/children/{childIdentifier}/ips/associate | Associate a dedicated IP to the child
|
151
|
+
*SibApiV3Sdk::ResellerApi* | [**create_child_domain**](docs/ResellerApi.md#create_child_domain) | **POST** /reseller/children/{childIdentifier}/domains | Create a domain for a child account
|
152
152
|
*SibApiV3Sdk::ResellerApi* | [**create_reseller_child**](docs/ResellerApi.md#create_reseller_child) | **POST** /reseller/children | Creates a reseller child
|
153
|
-
*SibApiV3Sdk::ResellerApi* | [**delete_child_domain**](docs/ResellerApi.md#delete_child_domain) | **DELETE** /reseller/children/{
|
154
|
-
*SibApiV3Sdk::ResellerApi* | [**delete_reseller_child**](docs/ResellerApi.md#delete_reseller_child) | **DELETE** /reseller/children/{
|
155
|
-
*SibApiV3Sdk::ResellerApi* | [**dissociate_ip_from_child**](docs/ResellerApi.md#dissociate_ip_from_child) | **POST** /reseller/children/{
|
156
|
-
*SibApiV3Sdk::ResellerApi* | [**get_child_account_creation_status**](docs/ResellerApi.md#get_child_account_creation_status) | **GET** /reseller/children/{
|
157
|
-
*SibApiV3Sdk::ResellerApi* | [**get_child_domains**](docs/ResellerApi.md#get_child_domains) | **GET** /reseller/children/{
|
158
|
-
*SibApiV3Sdk::ResellerApi* | [**get_child_info**](docs/ResellerApi.md#get_child_info) | **GET** /reseller/children/{
|
153
|
+
*SibApiV3Sdk::ResellerApi* | [**delete_child_domain**](docs/ResellerApi.md#delete_child_domain) | **DELETE** /reseller/children/{childIdentifier}/domains/{domainName} | Delete the sender domain of the reseller child based on the childIdentifier and domainName passed
|
154
|
+
*SibApiV3Sdk::ResellerApi* | [**delete_reseller_child**](docs/ResellerApi.md#delete_reseller_child) | **DELETE** /reseller/children/{childIdentifier} | Delete a single reseller child based on the child identifier supplied
|
155
|
+
*SibApiV3Sdk::ResellerApi* | [**dissociate_ip_from_child**](docs/ResellerApi.md#dissociate_ip_from_child) | **POST** /reseller/children/{childIdentifier}/ips/dissociate | Dissociate a dedicated IP to the child
|
156
|
+
*SibApiV3Sdk::ResellerApi* | [**get_child_account_creation_status**](docs/ResellerApi.md#get_child_account_creation_status) | **GET** /reseller/children/{childIdentifier}/accountCreationStatus | Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the identifier supplied
|
157
|
+
*SibApiV3Sdk::ResellerApi* | [**get_child_domains**](docs/ResellerApi.md#get_child_domains) | **GET** /reseller/children/{childIdentifier}/domains | Get all sender domains for a specific child account
|
158
|
+
*SibApiV3Sdk::ResellerApi* | [**get_child_info**](docs/ResellerApi.md#get_child_info) | **GET** /reseller/children/{childIdentifier} | Get a child account's details
|
159
159
|
*SibApiV3Sdk::ResellerApi* | [**get_reseller_childs**](docs/ResellerApi.md#get_reseller_childs) | **GET** /reseller/children | Get the list of all children accounts
|
160
|
-
*SibApiV3Sdk::ResellerApi* | [**get_sso_token**](docs/ResellerApi.md#get_sso_token) | **GET** /reseller/children/{
|
161
|
-
*SibApiV3Sdk::ResellerApi* | [**remove_credits**](docs/ResellerApi.md#remove_credits) | **POST** /reseller/children/{
|
162
|
-
*SibApiV3Sdk::ResellerApi* | [**update_child_account_status**](docs/ResellerApi.md#update_child_account_status) | **PUT** /reseller/children/{
|
163
|
-
*SibApiV3Sdk::ResellerApi* | [**update_child_domain**](docs/ResellerApi.md#update_child_domain) | **PUT** /reseller/children/{
|
164
|
-
*SibApiV3Sdk::ResellerApi* | [**update_reseller_child**](docs/ResellerApi.md#update_reseller_child) | **PUT** /reseller/children/{
|
160
|
+
*SibApiV3Sdk::ResellerApi* | [**get_sso_token**](docs/ResellerApi.md#get_sso_token) | **GET** /reseller/children/{childIdentifier}/auth | Get session token to access Sendinblue (SSO)
|
161
|
+
*SibApiV3Sdk::ResellerApi* | [**remove_credits**](docs/ResellerApi.md#remove_credits) | **POST** /reseller/children/{childIdentifier}/credits/remove | Remove Email and/or SMS credits from a specific child account
|
162
|
+
*SibApiV3Sdk::ResellerApi* | [**update_child_account_status**](docs/ResellerApi.md#update_child_account_status) | **PUT** /reseller/children/{childIdentifier}/accountStatus | Update info of reseller's child account status based on the childIdentifier supplied
|
163
|
+
*SibApiV3Sdk::ResellerApi* | [**update_child_domain**](docs/ResellerApi.md#update_child_domain) | **PUT** /reseller/children/{childIdentifier}/domains/{domainName} | Update the sender domain of reseller's child based on the childIdentifier and domainName passed
|
164
|
+
*SibApiV3Sdk::ResellerApi* | [**update_reseller_child**](docs/ResellerApi.md#update_reseller_child) | **PUT** /reseller/children/{childIdentifier} | Update info of reseller's child based on the child identifier supplied
|
165
165
|
*SibApiV3Sdk::SMSCampaignsApi* | [**create_sms_campaign**](docs/SMSCampaignsApi.md#create_sms_campaign) | **POST** /smsCampaigns | Creates an SMS campaign
|
166
166
|
*SibApiV3Sdk::SMSCampaignsApi* | [**delete_sms_campaign**](docs/SMSCampaignsApi.md#delete_sms_campaign) | **DELETE** /smsCampaigns/{campaignId} | Delete an SMS campaign
|
167
167
|
*SibApiV3Sdk::SMSCampaignsApi* | [**get_sms_campaign**](docs/SMSCampaignsApi.md#get_sms_campaign) | **GET** /smsCampaigns/{campaignId} | Get an SMS campaign
|
@@ -198,7 +198,7 @@ Class | Method | HTTP request | Description
|
|
198
198
|
*SibApiV3Sdk::TransactionalSMSApi* | [**get_sms_events**](docs/TransactionalSMSApi.md#get_sms_events) | **GET** /transactionalSMS/statistics/events | Get all your SMS activity (unaggregated events)
|
199
199
|
*SibApiV3Sdk::TransactionalSMSApi* | [**get_transac_aggregated_sms_report**](docs/TransactionalSMSApi.md#get_transac_aggregated_sms_report) | **GET** /transactionalSMS/statistics/aggregatedReport | Get your SMS activity aggregated over a period of time
|
200
200
|
*SibApiV3Sdk::TransactionalSMSApi* | [**get_transac_sms_report**](docs/TransactionalSMSApi.md#get_transac_sms_report) | **GET** /transactionalSMS/statistics/reports | Get your SMS activity aggregated per day
|
201
|
-
*SibApiV3Sdk::TransactionalSMSApi* | [**send_transac_sms**](docs/TransactionalSMSApi.md#send_transac_sms) | **POST** /transactionalSMS/sms | Send
|
201
|
+
*SibApiV3Sdk::TransactionalSMSApi* | [**send_transac_sms**](docs/TransactionalSMSApi.md#send_transac_sms) | **POST** /transactionalSMS/sms | Send SMS message to a mobile number
|
202
202
|
*SibApiV3Sdk::WebhooksApi* | [**create_webhook**](docs/WebhooksApi.md#create_webhook) | **POST** /webhooks | Create a webhook
|
203
203
|
*SibApiV3Sdk::WebhooksApi* | [**delete_webhook**](docs/WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{webhookId} | Delete a webhook
|
204
204
|
*SibApiV3Sdk::WebhooksApi* | [**get_webhook**](docs/WebhooksApi.md#get_webhook) | **GET** /webhooks/{webhookId} | Get a webhook details
|
data/docs/ContactsApi.md
CHANGED
@@ -7,7 +7,7 @@ Method | HTTP request | Description
|
|
7
7
|
[**add_contact_to_list**](ContactsApi.md#add_contact_to_list) | **POST** /contacts/lists/{listId}/contacts/add | Add existing contacts to a list
|
8
8
|
[**create_attribute**](ContactsApi.md#create_attribute) | **POST** /contacts/attributes/{attributeCategory}/{attributeName} | Create contact attribute
|
9
9
|
[**create_contact**](ContactsApi.md#create_contact) | **POST** /contacts | Create a contact
|
10
|
-
[**create_doi_contact**](ContactsApi.md#create_doi_contact) | **POST** /contacts/doubleOptinConfirmation | Create
|
10
|
+
[**create_doi_contact**](ContactsApi.md#create_doi_contact) | **POST** /contacts/doubleOptinConfirmation | Create Contact via DOI (Double-Opt-In) Flow
|
11
11
|
[**create_folder**](ContactsApi.md#create_folder) | **POST** /contacts/folders | Create a folder
|
12
12
|
[**create_list**](ContactsApi.md#create_list) | **POST** /contacts/lists | Create a list
|
13
13
|
[**delete_attribute**](ContactsApi.md#delete_attribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute
|
@@ -215,7 +215,7 @@ Name | Type | Description | Notes
|
|
215
215
|
# **create_doi_contact**
|
216
216
|
> create_doi_contact(create_doi_contact)
|
217
217
|
|
218
|
-
Create
|
218
|
+
Create Contact via DOI (Double-Opt-In) Flow
|
219
219
|
|
220
220
|
### Example
|
221
221
|
```ruby
|
@@ -236,11 +236,11 @@ end
|
|
236
236
|
|
237
237
|
api_instance = SibApiV3Sdk::ContactsApi.new
|
238
238
|
|
239
|
-
create_doi_contact = SibApiV3Sdk::CreateDoiContact.new # CreateDoiContact | Values to create the DOI contact
|
239
|
+
create_doi_contact = SibApiV3Sdk::CreateDoiContact.new # CreateDoiContact | Values to create the Double opt-in (DOI) contact
|
240
240
|
|
241
241
|
|
242
242
|
begin
|
243
|
-
#Create
|
243
|
+
#Create Contact via DOI (Double-Opt-In) Flow
|
244
244
|
api_instance.create_doi_contact(create_doi_contact)
|
245
245
|
rescue SibApiV3Sdk::ApiError => e
|
246
246
|
puts "Exception when calling ContactsApi->create_doi_contact: #{e}"
|
@@ -251,7 +251,7 @@ end
|
|
251
251
|
|
252
252
|
Name | Type | Description | Notes
|
253
253
|
------------- | ------------- | ------------- | -------------
|
254
|
-
**create_doi_contact** | [**CreateDoiContact**](CreateDoiContact.md)| Values to create the DOI contact |
|
254
|
+
**create_doi_contact** | [**CreateDoiContact**](CreateDoiContact.md)| Values to create the Double opt-in (DOI) contact |
|
255
255
|
|
256
256
|
### Return type
|
257
257
|
|
data/docs/CreateChild.md
CHANGED
@@ -8,5 +8,6 @@ Name | Type | Description | Notes
|
|
8
8
|
**last_name** | **String** | Last name to use to create the child account |
|
9
9
|
**company_name** | **String** | Company name to use to create the child account |
|
10
10
|
**password** | **String** | Password for the child account to login |
|
11
|
+
**language** | **String** | Language of the child account | [optional]
|
11
12
|
|
12
13
|
|
data/docs/CreateDoiContact.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**attributes** | **Object** | Pass the set of attributes and their values. These attributes must be present in your SendinBlue account. For eg. {'FNAME':'Elly', 'LNAME':'Roger'} | [optional]
|
8
8
|
**include_list_ids** | **Array<Integer>** | Lists under user account where contact should be added |
|
9
9
|
**exclude_list_ids** | **Array<Integer>** | Lists under user account where contact should not be added | [optional]
|
10
|
-
**template_id** | **Integer** | Id of the DOI template |
|
11
|
-
**redirection_url** | **String** | URL of the web page that user will be redirected to after clicking on the double opt in URL. | [optional]
|
10
|
+
**template_id** | **Integer** | Id of the Double opt-in (DOI) template |
|
11
|
+
**redirection_url** | **String** | URL of the web page that user will be redirected to after clicking on the double opt in URL. When editing your DOI template you can reference this URL by using the tag {{ params.DOIurl }}. | [optional]
|
12
12
|
|
13
13
|
|
data/docs/CreateReseller.md
CHANGED
data/docs/CreateSender.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**name** | **String** | From Name to use for the sender |
|
7
|
-
**email** | **String** | From
|
7
|
+
**email** | **String** | From email to use for the sender. A verification email will be sent to this address. |
|
8
8
|
**ips** | [**Array<CreateSenderIps>**](CreateSenderIps.md) | Mandatory in case of dedicated IP, IPs to associate to the sender | [optional]
|
9
9
|
|
10
10
|
|
data/docs/CreateWebhook.md
CHANGED
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**url** | **String** | URL of the webhook |
|
7
7
|
**description** | **String** | Description of the webhook | [optional]
|
8
|
-
**events** | **Array<String>** | Events triggering the webhook. Possible values for Transactional type webhook – request, delivered, hardBounce, softBounce, blocked, spam, invalid, deferred, click, opened, uniqueOpened and unsubscribed and possible values for Marketing type webhook – spam, opened, click, hardBounce, softBounce, unsubscribed, listAddition & delivered |
|
8
|
+
**events** | **Array<String>** | Events triggering the webhook. Possible values for Transactional type webhook – sent, request, delivered, hardBounce, softBounce, blocked, spam, invalid, deferred, click, opened, uniqueOpened and unsubscribed and possible values for Marketing type webhook – spam, opened, click, hardBounce, softBounce, unsubscribed, listAddition & delivered |
|
9
9
|
**type** | **String** | Type of the webhook | [optional] [default to 'transactional']
|
10
10
|
|
11
11
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**notify_url** | **String** | Webhook called once the export process is finished | [optional]
|
6
|
+
**notify_url** | **String** | Webhook called once the export process is finished. For reference, https://help.sendinblue.com/hc/en-us/articles/360007666479 | [optional]
|
7
7
|
**recipients_type** | **String** | Type of recipients to export for a campaign |
|
8
8
|
|
9
9
|
|
@@ -15,5 +15,6 @@ Name | Type | Description | Notes
|
|
15
15
|
**html_content** | **String** | HTML content of the template |
|
16
16
|
**created_at** | **DateTime** | Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
17
17
|
**modified_at** | **DateTime** | Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
18
|
+
**doi_template** | **BOOLEAN** | It is true if template is a valid Double opt-in (DOI) template, otherwise it is false. This field will be available only in case of single template detail call. | [optional]
|
18
19
|
|
19
20
|
|
@@ -6,5 +6,6 @@ Name | Type | Description | Notes
|
|
6
6
|
**success** | **Array<String>** | | [optional]
|
7
7
|
**failure** | **Array<String>** | | [optional]
|
8
8
|
**total** | **Integer** | Displays the count of total number of contacts removed from list when user opts for \"all\" option. | [optional]
|
9
|
+
**process_id** | **Integer** | Id of the process created to remove contacts from list when user opts for \"all\" option. | [optional]
|
9
10
|
|
10
11
|
|
@@ -4,6 +4,6 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**emails** | **Array<String>** | Required if 'all' is false. Emails to remove from a list. You can pass a maximum of 150 emails for removal in one request. | [optional]
|
7
|
-
**all** | **BOOLEAN** | Required if 'emails' is empty. Remove all existing contacts from a list | [optional]
|
7
|
+
**all** | **BOOLEAN** | Required if 'emails' is empty. Remove all existing contacts from a list. A process will be created in this scenario. You can fetch the process details to know about the progress | [optional]
|
8
8
|
|
9
9
|
|
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
|
|
6
6
|
**export_attributes** | **Array<String>** | List of all the attributes that you want to export. These attributes must be present in your contact database. For example, ['fname', 'lname', 'email']. | [optional]
|
7
7
|
**contact_filter** | **Object** | This attribute has been deprecated and will be removed by January 1st, 2021. Only one of the two filter options (contactFilter or customContactFilter) can be passed in the request. Set the filter for the contacts to be exported. For example, {\"blacklisted\":true} will export all the blacklisted contacts. | [optional]
|
8
8
|
**custom_contact_filter** | [**RequestContactExportCustomContactFilter**](RequestContactExportCustomContactFilter.md) | | [optional]
|
9
|
-
**notify_url** | **String** | Webhook that will be called once the export process is finished | [optional]
|
9
|
+
**notify_url** | **String** | Webhook that will be called once the export process is finished. For reference, https://help.sendinblue.com/hc/en-us/articles/360007666479 | [optional]
|
10
10
|
|
11
11
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
**file_url** | **String** | Mandatory if fileBody is not defined. URL of the file to be imported (no local file). Possible file formats: .txt, .csv | [optional]
|
7
7
|
**file_body** | **String** | Mandatory if fileUrl is not defined. CSV content to be imported. Use semicolon to separate multiple attributes. Maximum allowed file body size is 10MB . However we recommend a safe limit of around 8 MB to avoid the issues caused due to increase of file body size while parsing. Please use fileUrl instead to import bigger files. | [optional]
|
8
8
|
**list_ids** | **Array<Integer>** | Mandatory if newList is not defined. Ids of the lists in which the contacts shall be imported. For example, [2, 4, 7]. | [optional]
|
9
|
-
**notify_url** | **String** | URL that will be called once the
|
9
|
+
**notify_url** | **String** | URL that will be called once the import process is finished. For reference, https://help.sendinblue.com/hc/en-us/articles/360007666479 | [optional]
|
10
10
|
**new_list** | [**RequestContactImportNewList**](RequestContactImportNewList.md) | | [optional]
|
11
11
|
**email_blacklist** | **BOOLEAN** | To blacklist all the contacts for email | [optional] [default to false]
|
12
12
|
**sms_blacklist** | **BOOLEAN** | To blacklist all the contacts for sms | [optional] [default to false]
|
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**notify_url** | **String** | URL that will be called once the export process is finished | [optional]
|
6
|
+
**notify_url** | **String** | URL that will be called once the export process is finished. For reference, https://help.sendinblue.com/hc/en-us/articles/360007666479 | [optional]
|
7
7
|
**recipients_type** | **String** | Filter the recipients based on how they interacted with the campaign |
|
8
8
|
|
9
9
|
|
data/docs/ResellerApi.md
CHANGED
@@ -4,26 +4,26 @@ All URIs are relative to *https://api.sendinblue.com/v3*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**add_credits**](ResellerApi.md#add_credits) | **POST** /reseller/children/{
|
8
|
-
[**associate_ip_to_child**](ResellerApi.md#associate_ip_to_child) | **POST** /reseller/children/{
|
9
|
-
[**create_child_domain**](ResellerApi.md#create_child_domain) | **POST** /reseller/children/{
|
7
|
+
[**add_credits**](ResellerApi.md#add_credits) | **POST** /reseller/children/{childIdentifier}/credits/add | Add Email and/or SMS credits to a specific child account
|
8
|
+
[**associate_ip_to_child**](ResellerApi.md#associate_ip_to_child) | **POST** /reseller/children/{childIdentifier}/ips/associate | Associate a dedicated IP to the child
|
9
|
+
[**create_child_domain**](ResellerApi.md#create_child_domain) | **POST** /reseller/children/{childIdentifier}/domains | Create a domain for a child account
|
10
10
|
[**create_reseller_child**](ResellerApi.md#create_reseller_child) | **POST** /reseller/children | Creates a reseller child
|
11
|
-
[**delete_child_domain**](ResellerApi.md#delete_child_domain) | **DELETE** /reseller/children/{
|
12
|
-
[**delete_reseller_child**](ResellerApi.md#delete_reseller_child) | **DELETE** /reseller/children/{
|
13
|
-
[**dissociate_ip_from_child**](ResellerApi.md#dissociate_ip_from_child) | **POST** /reseller/children/{
|
14
|
-
[**get_child_account_creation_status**](ResellerApi.md#get_child_account_creation_status) | **GET** /reseller/children/{
|
15
|
-
[**get_child_domains**](ResellerApi.md#get_child_domains) | **GET** /reseller/children/{
|
16
|
-
[**get_child_info**](ResellerApi.md#get_child_info) | **GET** /reseller/children/{
|
11
|
+
[**delete_child_domain**](ResellerApi.md#delete_child_domain) | **DELETE** /reseller/children/{childIdentifier}/domains/{domainName} | Delete the sender domain of the reseller child based on the childIdentifier and domainName passed
|
12
|
+
[**delete_reseller_child**](ResellerApi.md#delete_reseller_child) | **DELETE** /reseller/children/{childIdentifier} | Delete a single reseller child based on the child identifier supplied
|
13
|
+
[**dissociate_ip_from_child**](ResellerApi.md#dissociate_ip_from_child) | **POST** /reseller/children/{childIdentifier}/ips/dissociate | Dissociate a dedicated IP to the child
|
14
|
+
[**get_child_account_creation_status**](ResellerApi.md#get_child_account_creation_status) | **GET** /reseller/children/{childIdentifier}/accountCreationStatus | Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the identifier supplied
|
15
|
+
[**get_child_domains**](ResellerApi.md#get_child_domains) | **GET** /reseller/children/{childIdentifier}/domains | Get all sender domains for a specific child account
|
16
|
+
[**get_child_info**](ResellerApi.md#get_child_info) | **GET** /reseller/children/{childIdentifier} | Get a child account's details
|
17
17
|
[**get_reseller_childs**](ResellerApi.md#get_reseller_childs) | **GET** /reseller/children | Get the list of all children accounts
|
18
|
-
[**get_sso_token**](ResellerApi.md#get_sso_token) | **GET** /reseller/children/{
|
19
|
-
[**remove_credits**](ResellerApi.md#remove_credits) | **POST** /reseller/children/{
|
20
|
-
[**update_child_account_status**](ResellerApi.md#update_child_account_status) | **PUT** /reseller/children/{
|
21
|
-
[**update_child_domain**](ResellerApi.md#update_child_domain) | **PUT** /reseller/children/{
|
22
|
-
[**update_reseller_child**](ResellerApi.md#update_reseller_child) | **PUT** /reseller/children/{
|
18
|
+
[**get_sso_token**](ResellerApi.md#get_sso_token) | **GET** /reseller/children/{childIdentifier}/auth | Get session token to access Sendinblue (SSO)
|
19
|
+
[**remove_credits**](ResellerApi.md#remove_credits) | **POST** /reseller/children/{childIdentifier}/credits/remove | Remove Email and/or SMS credits from a specific child account
|
20
|
+
[**update_child_account_status**](ResellerApi.md#update_child_account_status) | **PUT** /reseller/children/{childIdentifier}/accountStatus | Update info of reseller's child account status based on the childIdentifier supplied
|
21
|
+
[**update_child_domain**](ResellerApi.md#update_child_domain) | **PUT** /reseller/children/{childIdentifier}/domains/{domainName} | Update the sender domain of reseller's child based on the childIdentifier and domainName passed
|
22
|
+
[**update_reseller_child**](ResellerApi.md#update_reseller_child) | **PUT** /reseller/children/{childIdentifier} | Update info of reseller's child based on the child identifier supplied
|
23
23
|
|
24
24
|
|
25
25
|
# **add_credits**
|
26
|
-
> RemainingCreditModel add_credits(
|
26
|
+
> RemainingCreditModel add_credits(child_identifier, add_credits)
|
27
27
|
|
28
28
|
Add Email and/or SMS credits to a specific child account
|
29
29
|
|
@@ -46,14 +46,14 @@ end
|
|
46
46
|
|
47
47
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
48
48
|
|
49
|
-
|
49
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child
|
50
50
|
|
51
51
|
add_credits = SibApiV3Sdk::AddCredits.new # AddCredits | Values to post to add credit to a specific child account
|
52
52
|
|
53
53
|
|
54
54
|
begin
|
55
55
|
#Add Email and/or SMS credits to a specific child account
|
56
|
-
result = api_instance.add_credits(
|
56
|
+
result = api_instance.add_credits(child_identifier, add_credits)
|
57
57
|
p result
|
58
58
|
rescue SibApiV3Sdk::ApiError => e
|
59
59
|
puts "Exception when calling ResellerApi->add_credits: #{e}"
|
@@ -64,7 +64,7 @@ end
|
|
64
64
|
|
65
65
|
Name | Type | Description | Notes
|
66
66
|
------------- | ------------- | ------------- | -------------
|
67
|
-
**
|
67
|
+
**child_identifier** | **String**| Either auth key or id of reseller's child |
|
68
68
|
**add_credits** | [**AddCredits**](AddCredits.md)| Values to post to add credit to a specific child account |
|
69
69
|
|
70
70
|
### Return type
|
@@ -83,7 +83,7 @@ Name | Type | Description | Notes
|
|
83
83
|
|
84
84
|
|
85
85
|
# **associate_ip_to_child**
|
86
|
-
> associate_ip_to_child(
|
86
|
+
> associate_ip_to_child(child_identifier, ip)
|
87
87
|
|
88
88
|
Associate a dedicated IP to the child
|
89
89
|
|
@@ -106,14 +106,14 @@ end
|
|
106
106
|
|
107
107
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
108
108
|
|
109
|
-
|
109
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child
|
110
110
|
|
111
111
|
ip = SibApiV3Sdk::ManageIp.new # ManageIp | IP to associate
|
112
112
|
|
113
113
|
|
114
114
|
begin
|
115
115
|
#Associate a dedicated IP to the child
|
116
|
-
api_instance.associate_ip_to_child(
|
116
|
+
api_instance.associate_ip_to_child(child_identifier, ip)
|
117
117
|
rescue SibApiV3Sdk::ApiError => e
|
118
118
|
puts "Exception when calling ResellerApi->associate_ip_to_child: #{e}"
|
119
119
|
end
|
@@ -123,7 +123,7 @@ end
|
|
123
123
|
|
124
124
|
Name | Type | Description | Notes
|
125
125
|
------------- | ------------- | ------------- | -------------
|
126
|
-
**
|
126
|
+
**child_identifier** | **String**| Either auth key or id of reseller's child |
|
127
127
|
**ip** | [**ManageIp**](ManageIp.md)| IP to associate |
|
128
128
|
|
129
129
|
### Return type
|
@@ -142,7 +142,7 @@ nil (empty response body)
|
|
142
142
|
|
143
143
|
|
144
144
|
# **create_child_domain**
|
145
|
-
> create_child_domain(
|
145
|
+
> create_child_domain(child_identifier, add_child_domain)
|
146
146
|
|
147
147
|
Create a domain for a child account
|
148
148
|
|
@@ -165,14 +165,14 @@ end
|
|
165
165
|
|
166
166
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
167
167
|
|
168
|
-
|
168
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child
|
169
169
|
|
170
170
|
add_child_domain = SibApiV3Sdk::AddChildDomain.new # AddChildDomain | Sender domain to add for a specific child account. This will not be displayed to the parent account.
|
171
171
|
|
172
172
|
|
173
173
|
begin
|
174
174
|
#Create a domain for a child account
|
175
|
-
api_instance.create_child_domain(
|
175
|
+
api_instance.create_child_domain(child_identifier, add_child_domain)
|
176
176
|
rescue SibApiV3Sdk::ApiError => e
|
177
177
|
puts "Exception when calling ResellerApi->create_child_domain: #{e}"
|
178
178
|
end
|
@@ -182,7 +182,7 @@ end
|
|
182
182
|
|
183
183
|
Name | Type | Description | Notes
|
184
184
|
------------- | ------------- | ------------- | -------------
|
185
|
-
**
|
185
|
+
**child_identifier** | **String**| Either auth key or id of reseller's child |
|
186
186
|
**add_child_domain** | [**AddChildDomain**](AddChildDomain.md)| Sender domain to add for a specific child account. This will not be displayed to the parent account. |
|
187
187
|
|
188
188
|
### Return type
|
@@ -259,9 +259,9 @@ Name | Type | Description | Notes
|
|
259
259
|
|
260
260
|
|
261
261
|
# **delete_child_domain**
|
262
|
-
> delete_child_domain(
|
262
|
+
> delete_child_domain(child_identifier, domain_name)
|
263
263
|
|
264
|
-
Delete the sender domain of the reseller child based on the
|
264
|
+
Delete the sender domain of the reseller child based on the childIdentifier and domainName passed
|
265
265
|
|
266
266
|
### Example
|
267
267
|
```ruby
|
@@ -282,14 +282,14 @@ end
|
|
282
282
|
|
283
283
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
284
284
|
|
285
|
-
|
285
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child
|
286
286
|
|
287
287
|
domain_name = 'domain_name_example' # String | Pass the existing domain that needs to be deleted
|
288
288
|
|
289
289
|
|
290
290
|
begin
|
291
|
-
#Delete the sender domain of the reseller child based on the
|
292
|
-
api_instance.delete_child_domain(
|
291
|
+
#Delete the sender domain of the reseller child based on the childIdentifier and domainName passed
|
292
|
+
api_instance.delete_child_domain(child_identifier, domain_name)
|
293
293
|
rescue SibApiV3Sdk::ApiError => e
|
294
294
|
puts "Exception when calling ResellerApi->delete_child_domain: #{e}"
|
295
295
|
end
|
@@ -299,7 +299,7 @@ end
|
|
299
299
|
|
300
300
|
Name | Type | Description | Notes
|
301
301
|
------------- | ------------- | ------------- | -------------
|
302
|
-
**
|
302
|
+
**child_identifier** | **String**| Either auth key or id of reseller's child |
|
303
303
|
**domain_name** | **String**| Pass the existing domain that needs to be deleted |
|
304
304
|
|
305
305
|
### Return type
|
@@ -318,9 +318,9 @@ nil (empty response body)
|
|
318
318
|
|
319
319
|
|
320
320
|
# **delete_reseller_child**
|
321
|
-
> delete_reseller_child(
|
321
|
+
> delete_reseller_child(child_identifier)
|
322
322
|
|
323
|
-
Delete a single reseller child based on the
|
323
|
+
Delete a single reseller child based on the child identifier supplied
|
324
324
|
|
325
325
|
### Example
|
326
326
|
```ruby
|
@@ -341,12 +341,12 @@ end
|
|
341
341
|
|
342
342
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
343
343
|
|
344
|
-
|
344
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or child id of reseller's child
|
345
345
|
|
346
346
|
|
347
347
|
begin
|
348
|
-
#Delete a single reseller child based on the
|
349
|
-
api_instance.delete_reseller_child(
|
348
|
+
#Delete a single reseller child based on the child identifier supplied
|
349
|
+
api_instance.delete_reseller_child(child_identifier)
|
350
350
|
rescue SibApiV3Sdk::ApiError => e
|
351
351
|
puts "Exception when calling ResellerApi->delete_reseller_child: #{e}"
|
352
352
|
end
|
@@ -356,7 +356,7 @@ end
|
|
356
356
|
|
357
357
|
Name | Type | Description | Notes
|
358
358
|
------------- | ------------- | ------------- | -------------
|
359
|
-
**
|
359
|
+
**child_identifier** | **String**| Either auth key or child id of reseller's child |
|
360
360
|
|
361
361
|
### Return type
|
362
362
|
|
@@ -374,7 +374,7 @@ nil (empty response body)
|
|
374
374
|
|
375
375
|
|
376
376
|
# **dissociate_ip_from_child**
|
377
|
-
> dissociate_ip_from_child(
|
377
|
+
> dissociate_ip_from_child(child_identifier, ip)
|
378
378
|
|
379
379
|
Dissociate a dedicated IP to the child
|
380
380
|
|
@@ -397,14 +397,14 @@ end
|
|
397
397
|
|
398
398
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
399
399
|
|
400
|
-
|
400
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child
|
401
401
|
|
402
402
|
ip = SibApiV3Sdk::ManageIp.new # ManageIp | IP to dissociate
|
403
403
|
|
404
404
|
|
405
405
|
begin
|
406
406
|
#Dissociate a dedicated IP to the child
|
407
|
-
api_instance.dissociate_ip_from_child(
|
407
|
+
api_instance.dissociate_ip_from_child(child_identifier, ip)
|
408
408
|
rescue SibApiV3Sdk::ApiError => e
|
409
409
|
puts "Exception when calling ResellerApi->dissociate_ip_from_child: #{e}"
|
410
410
|
end
|
@@ -414,7 +414,7 @@ end
|
|
414
414
|
|
415
415
|
Name | Type | Description | Notes
|
416
416
|
------------- | ------------- | ------------- | -------------
|
417
|
-
**
|
417
|
+
**child_identifier** | **String**| Either auth key or id of reseller's child |
|
418
418
|
**ip** | [**ManageIp**](ManageIp.md)| IP to dissociate |
|
419
419
|
|
420
420
|
### Return type
|
@@ -433,9 +433,9 @@ nil (empty response body)
|
|
433
433
|
|
434
434
|
|
435
435
|
# **get_child_account_creation_status**
|
436
|
-
> GetChildAccountCreationStatus get_child_account_creation_status(
|
436
|
+
> GetChildAccountCreationStatus get_child_account_creation_status(child_identifier)
|
437
437
|
|
438
|
-
Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the
|
438
|
+
Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the identifier supplied
|
439
439
|
|
440
440
|
### Example
|
441
441
|
```ruby
|
@@ -456,12 +456,12 @@ end
|
|
456
456
|
|
457
457
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
458
458
|
|
459
|
-
|
459
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child
|
460
460
|
|
461
461
|
|
462
462
|
begin
|
463
|
-
#Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the
|
464
|
-
result = api_instance.get_child_account_creation_status(
|
463
|
+
#Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the identifier supplied
|
464
|
+
result = api_instance.get_child_account_creation_status(child_identifier)
|
465
465
|
p result
|
466
466
|
rescue SibApiV3Sdk::ApiError => e
|
467
467
|
puts "Exception when calling ResellerApi->get_child_account_creation_status: #{e}"
|
@@ -472,7 +472,7 @@ end
|
|
472
472
|
|
473
473
|
Name | Type | Description | Notes
|
474
474
|
------------- | ------------- | ------------- | -------------
|
475
|
-
**
|
475
|
+
**child_identifier** | **String**| Either auth key or id of reseller's child |
|
476
476
|
|
477
477
|
### Return type
|
478
478
|
|
@@ -490,7 +490,7 @@ Name | Type | Description | Notes
|
|
490
490
|
|
491
491
|
|
492
492
|
# **get_child_domains**
|
493
|
-
> GetChildDomains get_child_domains(
|
493
|
+
> GetChildDomains get_child_domains(child_identifier)
|
494
494
|
|
495
495
|
Get all sender domains for a specific child account
|
496
496
|
|
@@ -513,12 +513,12 @@ end
|
|
513
513
|
|
514
514
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
515
515
|
|
516
|
-
|
516
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child
|
517
517
|
|
518
518
|
|
519
519
|
begin
|
520
520
|
#Get all sender domains for a specific child account
|
521
|
-
result = api_instance.get_child_domains(
|
521
|
+
result = api_instance.get_child_domains(child_identifier)
|
522
522
|
p result
|
523
523
|
rescue SibApiV3Sdk::ApiError => e
|
524
524
|
puts "Exception when calling ResellerApi->get_child_domains: #{e}"
|
@@ -529,7 +529,7 @@ end
|
|
529
529
|
|
530
530
|
Name | Type | Description | Notes
|
531
531
|
------------- | ------------- | ------------- | -------------
|
532
|
-
**
|
532
|
+
**child_identifier** | **String**| Either auth key or id of reseller's child |
|
533
533
|
|
534
534
|
### Return type
|
535
535
|
|
@@ -547,7 +547,7 @@ Name | Type | Description | Notes
|
|
547
547
|
|
548
548
|
|
549
549
|
# **get_child_info**
|
550
|
-
> GetChildInfo get_child_info(
|
550
|
+
> GetChildInfo get_child_info(child_identifier)
|
551
551
|
|
552
552
|
Get a child account's details
|
553
553
|
|
@@ -570,12 +570,12 @@ end
|
|
570
570
|
|
571
571
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
572
572
|
|
573
|
-
|
573
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child
|
574
574
|
|
575
575
|
|
576
576
|
begin
|
577
577
|
#Get a child account's details
|
578
|
-
result = api_instance.get_child_info(
|
578
|
+
result = api_instance.get_child_info(child_identifier)
|
579
579
|
p result
|
580
580
|
rescue SibApiV3Sdk::ApiError => e
|
581
581
|
puts "Exception when calling ResellerApi->get_child_info: #{e}"
|
@@ -586,7 +586,7 @@ end
|
|
586
586
|
|
587
587
|
Name | Type | Description | Notes
|
588
588
|
------------- | ------------- | ------------- | -------------
|
589
|
-
**
|
589
|
+
**child_identifier** | **String**| Either auth key or id of reseller's child |
|
590
590
|
|
591
591
|
### Return type
|
592
592
|
|
@@ -664,7 +664,7 @@ Name | Type | Description | Notes
|
|
664
664
|
|
665
665
|
|
666
666
|
# **get_sso_token**
|
667
|
-
> GetSsoToken get_sso_token(
|
667
|
+
> GetSsoToken get_sso_token(child_identifier)
|
668
668
|
|
669
669
|
Get session token to access Sendinblue (SSO)
|
670
670
|
|
@@ -689,12 +689,12 @@ end
|
|
689
689
|
|
690
690
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
691
691
|
|
692
|
-
|
692
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child
|
693
693
|
|
694
694
|
|
695
695
|
begin
|
696
696
|
#Get session token to access Sendinblue (SSO)
|
697
|
-
result = api_instance.get_sso_token(
|
697
|
+
result = api_instance.get_sso_token(child_identifier)
|
698
698
|
p result
|
699
699
|
rescue SibApiV3Sdk::ApiError => e
|
700
700
|
puts "Exception when calling ResellerApi->get_sso_token: #{e}"
|
@@ -705,7 +705,7 @@ end
|
|
705
705
|
|
706
706
|
Name | Type | Description | Notes
|
707
707
|
------------- | ------------- | ------------- | -------------
|
708
|
-
**
|
708
|
+
**child_identifier** | **String**| Either auth key or id of reseller's child |
|
709
709
|
|
710
710
|
### Return type
|
711
711
|
|
@@ -723,7 +723,7 @@ Name | Type | Description | Notes
|
|
723
723
|
|
724
724
|
|
725
725
|
# **remove_credits**
|
726
|
-
> RemainingCreditModel remove_credits(
|
726
|
+
> RemainingCreditModel remove_credits(child_identifier, remove_credits)
|
727
727
|
|
728
728
|
Remove Email and/or SMS credits from a specific child account
|
729
729
|
|
@@ -746,14 +746,14 @@ end
|
|
746
746
|
|
747
747
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
748
748
|
|
749
|
-
|
749
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child
|
750
750
|
|
751
751
|
remove_credits = SibApiV3Sdk::RemoveCredits.new # RemoveCredits | Values to post to remove email or SMS credits from a specific child account
|
752
752
|
|
753
753
|
|
754
754
|
begin
|
755
755
|
#Remove Email and/or SMS credits from a specific child account
|
756
|
-
result = api_instance.remove_credits(
|
756
|
+
result = api_instance.remove_credits(child_identifier, remove_credits)
|
757
757
|
p result
|
758
758
|
rescue SibApiV3Sdk::ApiError => e
|
759
759
|
puts "Exception when calling ResellerApi->remove_credits: #{e}"
|
@@ -764,7 +764,7 @@ end
|
|
764
764
|
|
765
765
|
Name | Type | Description | Notes
|
766
766
|
------------- | ------------- | ------------- | -------------
|
767
|
-
**
|
767
|
+
**child_identifier** | **String**| Either auth key or id of reseller's child |
|
768
768
|
**remove_credits** | [**RemoveCredits**](RemoveCredits.md)| Values to post to remove email or SMS credits from a specific child account |
|
769
769
|
|
770
770
|
### Return type
|
@@ -783,9 +783,9 @@ Name | Type | Description | Notes
|
|
783
783
|
|
784
784
|
|
785
785
|
# **update_child_account_status**
|
786
|
-
> update_child_account_status(
|
786
|
+
> update_child_account_status(child_identifier, update_child_account_status)
|
787
787
|
|
788
|
-
Update info of reseller's child account status based on the
|
788
|
+
Update info of reseller's child account status based on the childIdentifier supplied
|
789
789
|
|
790
790
|
### Example
|
791
791
|
```ruby
|
@@ -806,14 +806,14 @@ end
|
|
806
806
|
|
807
807
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
808
808
|
|
809
|
-
|
809
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child
|
810
810
|
|
811
811
|
update_child_account_status = SibApiV3Sdk::UpdateChildAccountStatus.new # UpdateChildAccountStatus | values to update in child account status
|
812
812
|
|
813
813
|
|
814
814
|
begin
|
815
|
-
#Update info of reseller's child account status based on the
|
816
|
-
api_instance.update_child_account_status(
|
815
|
+
#Update info of reseller's child account status based on the childIdentifier supplied
|
816
|
+
api_instance.update_child_account_status(child_identifier, update_child_account_status)
|
817
817
|
rescue SibApiV3Sdk::ApiError => e
|
818
818
|
puts "Exception when calling ResellerApi->update_child_account_status: #{e}"
|
819
819
|
end
|
@@ -823,7 +823,7 @@ end
|
|
823
823
|
|
824
824
|
Name | Type | Description | Notes
|
825
825
|
------------- | ------------- | ------------- | -------------
|
826
|
-
**
|
826
|
+
**child_identifier** | **String**| Either auth key or id of reseller's child |
|
827
827
|
**update_child_account_status** | [**UpdateChildAccountStatus**](UpdateChildAccountStatus.md)| values to update in child account status |
|
828
828
|
|
829
829
|
### Return type
|
@@ -842,9 +842,9 @@ nil (empty response body)
|
|
842
842
|
|
843
843
|
|
844
844
|
# **update_child_domain**
|
845
|
-
> update_child_domain(
|
845
|
+
> update_child_domain(child_identifier, domain_name, update_child_domain)
|
846
846
|
|
847
|
-
Update the sender domain of reseller's child based on the
|
847
|
+
Update the sender domain of reseller's child based on the childIdentifier and domainName passed
|
848
848
|
|
849
849
|
### Example
|
850
850
|
```ruby
|
@@ -865,7 +865,7 @@ end
|
|
865
865
|
|
866
866
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
867
867
|
|
868
|
-
|
868
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child
|
869
869
|
|
870
870
|
domain_name = 'domain_name_example' # String | Pass the existing domain that needs to be updated
|
871
871
|
|
@@ -873,8 +873,8 @@ update_child_domain = SibApiV3Sdk::UpdateChildDomain.new # UpdateChildDomain | v
|
|
873
873
|
|
874
874
|
|
875
875
|
begin
|
876
|
-
#Update the sender domain of reseller's child based on the
|
877
|
-
api_instance.update_child_domain(
|
876
|
+
#Update the sender domain of reseller's child based on the childIdentifier and domainName passed
|
877
|
+
api_instance.update_child_domain(child_identifier, domain_name, update_child_domain)
|
878
878
|
rescue SibApiV3Sdk::ApiError => e
|
879
879
|
puts "Exception when calling ResellerApi->update_child_domain: #{e}"
|
880
880
|
end
|
@@ -884,7 +884,7 @@ end
|
|
884
884
|
|
885
885
|
Name | Type | Description | Notes
|
886
886
|
------------- | ------------- | ------------- | -------------
|
887
|
-
**
|
887
|
+
**child_identifier** | **String**| Either auth key or id of reseller's child |
|
888
888
|
**domain_name** | **String**| Pass the existing domain that needs to be updated |
|
889
889
|
**update_child_domain** | [**UpdateChildDomain**](UpdateChildDomain.md)| value to update for sender domain |
|
890
890
|
|
@@ -904,9 +904,9 @@ nil (empty response body)
|
|
904
904
|
|
905
905
|
|
906
906
|
# **update_reseller_child**
|
907
|
-
> update_reseller_child(
|
907
|
+
> update_reseller_child(child_identifier, reseller_child)
|
908
908
|
|
909
|
-
Update info of reseller's child based on the
|
909
|
+
Update info of reseller's child based on the child identifier supplied
|
910
910
|
|
911
911
|
### Example
|
912
912
|
```ruby
|
@@ -927,14 +927,14 @@ end
|
|
927
927
|
|
928
928
|
api_instance = SibApiV3Sdk::ResellerApi.new
|
929
929
|
|
930
|
-
|
930
|
+
child_identifier = 'child_identifier_example' # String | Either auth key or id of reseller's child
|
931
931
|
|
932
932
|
reseller_child = SibApiV3Sdk::UpdateChild.new # UpdateChild | values to update in child profile
|
933
933
|
|
934
934
|
|
935
935
|
begin
|
936
|
-
#Update info of reseller's child based on the
|
937
|
-
api_instance.update_reseller_child(
|
936
|
+
#Update info of reseller's child based on the child identifier supplied
|
937
|
+
api_instance.update_reseller_child(child_identifier, reseller_child)
|
938
938
|
rescue SibApiV3Sdk::ApiError => e
|
939
939
|
puts "Exception when calling ResellerApi->update_reseller_child: #{e}"
|
940
940
|
end
|
@@ -944,7 +944,7 @@ end
|
|
944
944
|
|
945
945
|
Name | Type | Description | Notes
|
946
946
|
------------- | ------------- | ------------- | -------------
|
947
|
-
**
|
947
|
+
**child_identifier** | **String**| Either auth key or id of reseller's child |
|
948
948
|
**reseller_child** | [**UpdateChild**](UpdateChild.md)| values to update in child profile |
|
949
949
|
|
950
950
|
### Return type
|