Skip to content

Commit

Permalink
Wrapper moved to swagger-codegen last stable version 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aakanksha-sib committed Apr 15, 2019
1 parent 132cf4b commit 6e4489a
Show file tree
Hide file tree
Showing 509 changed files with 20,198 additions and 2,689 deletions.
2 changes: 1 addition & 1 deletion .swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.5
2.3.0
87 changes: 77 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,18 @@ Class | Method | HTTP request | Description
*ProcessApi* | [**get_processes**](docs/ProcessApi.md#get_processes) | **GET** /processes | Return all the processes for your account
*ResellerApi* | [**add_credits**](docs/ResellerApi.md#add_credits) | **POST** /reseller/children/{childAuthKey}/credits/add | Add Email and/or SMS credits to a specific child account
*ResellerApi* | [**associate_ip_to_child**](docs/ResellerApi.md#associate_ip_to_child) | **POST** /reseller/children/{childAuthKey}/ips/associate | Associate a dedicated IP to the child
*ResellerApi* | [**create_child_domain**](docs/ResellerApi.md#create_child_domain) | **POST** /reseller/children/{childAuthKey}/domains | Creates a domain for a child account
*ResellerApi* | [**create_reseller_child**](docs/ResellerApi.md#create_reseller_child) | **POST** /reseller/children | Creates a reseller child
*ResellerApi* | [**delete_child_domain**](docs/ResellerApi.md#delete_child_domain) | **DELETE** /reseller/children/{childAuthKey}/domains/{domainName} | Deletes the sender domain of the reseller child based on the childAuthKey and domainName passed
*ResellerApi* | [**delete_reseller_child**](docs/ResellerApi.md#delete_reseller_child) | **DELETE** /reseller/children/{childAuthKey} | Deletes a single reseller child based on the childAuthKey supplied
*ResellerApi* | [**dissociate_ip_from_child**](docs/ResellerApi.md#dissociate_ip_from_child) | **POST** /reseller/children/{childAuthKey}/ips/dissociate | Dissociate a dedicated IP to the child
*ResellerApi* | [**get_child_domains**](docs/ResellerApi.md#get_child_domains) | **GET** /reseller/children/{childAuthKey}/domains | Gets all the sender domains of a specific child account
*ResellerApi* | [**get_child_info**](docs/ResellerApi.md#get_child_info) | **GET** /reseller/children/{childAuthKey} | Gets the info about a specific child account
*ResellerApi* | [**get_reseller_childs**](docs/ResellerApi.md#get_reseller_childs) | **GET** /reseller/children | Gets the list of all reseller's children accounts
*ResellerApi* | [**get_reseller_childs**](docs/ResellerApi.md#get_reseller_childs) | **GET** /reseller/children | Gets the list of all reseller's children accounts
*ResellerApi* | [**get_sso_token**](docs/ResellerApi.md#get_sso_token) | **GET** /reseller/children/{childAuthKey}/auth | Generates a session token which will remain valid for a short period of time only.
*ResellerApi* | [**remove_credits**](docs/ResellerApi.md#remove_credits) | **POST** /reseller/children/{childAuthKey}/credits/remove | Remove Email and/or SMS credits from a specific child account
*ResellerApi* | [**update_reseller_child**](docs/ResellerApi.md#update_reseller_child) | **PUT** /reseller/children/{childAuthKey} | Updates infos of reseller's child based on the childAuthKey supplied
*ResellerApi* | [**update_child_domain**](docs/ResellerApi.md#update_child_domain) | **PUT** /reseller/children/{childAuthKey}/domains/{domainName} | Updates the sender domain of reseller's child based on the childAuthKey and domainName passed
*ResellerApi* | [**update_reseller_child**](docs/ResellerApi.md#update_reseller_child) | **PUT** /reseller/children/{childAuthKey} | Updates infos of reseller's child based on the childAuthKey supplied
*SMSCampaignsApi* | [**create_sms_campaign**](docs/SMSCampaignsApi.md#create_sms_campaign) | **POST** /smsCampaigns | Creates an SMS campaign
*SMSCampaignsApi* | [**delete_sms_campaign**](docs/SMSCampaignsApi.md#delete_sms_campaign) | **DELETE** /smsCampaigns/{campaignId} | Delete the SMS campaign
*SMSCampaignsApi* | [**get_sms_campaign**](docs/SMSCampaignsApi.md#get_sms_campaign) | **GET** /smsCampaigns/{campaignId} | Get an SMS campaign
Expand Down Expand Up @@ -191,49 +196,79 @@ Class | Method | HTTP request | Description
*WebhooksApi* | [**get_webhooks**](docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | Get all webhooks
*WebhooksApi* | [**update_webhook**](docs/WebhooksApi.md#update_webhook) | **PUT** /webhooks/{webhookId} | Update a webhook


## Documentation For Models

- [AddChildDomain](docs/AddChildDomain.md)
- [AddContactToList](docs/AddContactToList.md)
- [AddCredits](docs/AddCredits.md)
- [CreateAttribute](docs/CreateAttribute.md)
- [CreateAttributeEnumeration](docs/CreateAttributeEnumeration.md)
- [CreateChild](docs/CreateChild.md)
- [CreateContact](docs/CreateContact.md)
- [CreateEmailCampaign](docs/CreateEmailCampaign.md)
- [CreateEmailCampaignRecipients](docs/CreateEmailCampaignRecipients.md)
- [CreateEmailCampaignSender](docs/CreateEmailCampaignSender.md)
- [CreateList](docs/CreateList.md)
- [CreateModel](docs/CreateModel.md)
- [CreateReseller](docs/CreateReseller.md)
- [CreateSender](docs/CreateSender.md)
- [CreateSenderIps](docs/CreateSenderIps.md)
- [CreateSenderModel](docs/CreateSenderModel.md)
- [CreateSmsCampaign](docs/CreateSmsCampaign.md)
- [CreateSmsCampaignRecipients](docs/CreateSmsCampaignRecipients.md)
- [CreateSmtpEmail](docs/CreateSmtpEmail.md)
- [CreateSmtpTemplate](docs/CreateSmtpTemplate.md)
- [CreateSmtpTemplateSender](docs/CreateSmtpTemplateSender.md)
- [CreateUpdateContactModel](docs/CreateUpdateContactModel.md)
- [CreateUpdateFolder](docs/CreateUpdateFolder.md)
- [CreateWebhook](docs/CreateWebhook.md)
- [CreatedProcessId](docs/CreatedProcessId.md)
- [DeleteHardbounces](docs/DeleteHardbounces.md)
- [EmailExportRecipients](docs/EmailExportRecipients.md)
- [ErrorModel](docs/ErrorModel.md)
- [GetAccount](docs/GetAccount.md)
- [GetAccountMarketingAutomation](docs/GetAccountMarketingAutomation.md)
- [GetAccountPlan](docs/GetAccountPlan.md)
- [GetAccountRelay](docs/GetAccountRelay.md)
- [GetAccountRelayData](docs/GetAccountRelayData.md)
- [GetAggregatedReport](docs/GetAggregatedReport.md)
- [GetAttributes](docs/GetAttributes.md)
- [GetAttributesAttributes](docs/GetAttributesAttributes.md)
- [GetAttributesEnumeration](docs/GetAttributesEnumeration.md)
- [GetCampaignOverview](docs/GetCampaignOverview.md)
- [GetCampaignRecipients](docs/GetCampaignRecipients.md)
- [GetCampaignStats](docs/GetCampaignStats.md)
- [GetChildInfo](docs/GetChildInfo.md)
- [GetChildDomain](docs/GetChildDomain.md)
- [GetChildDomains](docs/GetChildDomains.md)
- [GetChildInfoApiKeys](docs/GetChildInfoApiKeys.md)
- [GetChildInfoApiKeysV2](docs/GetChildInfoApiKeysV2.md)
- [GetChildInfoApiKeysV3](docs/GetChildInfoApiKeysV3.md)
- [GetChildInfoCredits](docs/GetChildInfoCredits.md)
- [GetChildInfoStatistics](docs/GetChildInfoStatistics.md)
- [GetChildrenList](docs/GetChildrenList.md)
- [GetClient](docs/GetClient.md)
- [GetContactCampaignStats](docs/GetContactCampaignStats.md)
- [GetContactCampaignStatsClicked](docs/GetContactCampaignStatsClicked.md)
- [GetContactCampaignStatsOpened](docs/GetContactCampaignStatsOpened.md)
- [GetContactCampaignStatsTransacAttributes](docs/GetContactCampaignStatsTransacAttributes.md)
- [GetContactCampaignStatsUnsubscriptions](docs/GetContactCampaignStatsUnsubscriptions.md)
- [GetContactDetails](docs/GetContactDetails.md)
- [GetContacts](docs/GetContacts.md)
- [GetEmailCampaign](docs/GetEmailCampaign.md)
- [GetEmailCampaigns](docs/GetEmailCampaigns.md)
- [GetEmailEventReport](docs/GetEmailEventReport.md)
- [GetExtendedCampaignOverview](docs/GetExtendedCampaignOverview.md)
- [GetEmailEventReportEvents](docs/GetEmailEventReportEvents.md)
- [GetExtendedCampaignOverviewSender](docs/GetExtendedCampaignOverviewSender.md)
- [GetExtendedCampaignStats](docs/GetExtendedCampaignStats.md)
- [GetExtendedClient](docs/GetExtendedClient.md)
- [GetExtendedContactDetails](docs/GetExtendedContactDetails.md)
- [GetExtendedList](docs/GetExtendedList.md)
- [GetExtendedClientAddress](docs/GetExtendedClientAddress.md)
- [GetExtendedContactDetailsStatistics](docs/GetExtendedContactDetailsStatistics.md)
- [GetExtendedContactDetailsStatisticsClicked](docs/GetExtendedContactDetailsStatisticsClicked.md)
- [GetExtendedContactDetailsStatisticsLinks](docs/GetExtendedContactDetailsStatisticsLinks.md)
- [GetExtendedContactDetailsStatisticsMessagesSent](docs/GetExtendedContactDetailsStatisticsMessagesSent.md)
- [GetExtendedContactDetailsStatisticsOpened](docs/GetExtendedContactDetailsStatisticsOpened.md)
- [GetExtendedContactDetailsStatisticsUnsubscriptions](docs/GetExtendedContactDetailsStatisticsUnsubscriptions.md)
- [GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription](docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md)
- [GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription](docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md)
- [GetExtendedListCampaignStats](docs/GetExtendedListCampaignStats.md)
- [GetFolder](docs/GetFolder.md)
- [GetFolderLists](docs/GetFolderLists.md)
- [GetFolders](docs/GetFolders.md)
Expand All @@ -246,47 +281,79 @@ Class | Method | HTTP request | Description
- [GetProcess](docs/GetProcess.md)
- [GetProcesses](docs/GetProcesses.md)
- [GetReports](docs/GetReports.md)
- [GetReportsReports](docs/GetReportsReports.md)
- [GetSendersList](docs/GetSendersList.md)
- [GetSmsCampaign](docs/GetSmsCampaign.md)
- [GetSendersListIps](docs/GetSendersListIps.md)
- [GetSendersListSenders](docs/GetSendersListSenders.md)
- [GetSmsCampaignOverview](docs/GetSmsCampaignOverview.md)
- [GetSmsCampaignStats](docs/GetSmsCampaignStats.md)
- [GetSmsCampaigns](docs/GetSmsCampaigns.md)
- [GetSmsEventReport](docs/GetSmsEventReport.md)
- [GetSmsEventReportEvents](docs/GetSmsEventReportEvents.md)
- [GetSmtpTemplateOverview](docs/GetSmtpTemplateOverview.md)
- [GetSmtpTemplateOverviewSender](docs/GetSmtpTemplateOverviewSender.md)
- [GetSmtpTemplates](docs/GetSmtpTemplates.md)
- [GetSsoToken](docs/GetSsoToken.md)
- [GetStatsByDomain](docs/GetStatsByDomain.md)
- [GetTransacAggregatedSmsReport](docs/GetTransacAggregatedSmsReport.md)
- [GetTransacSmsReport](docs/GetTransacSmsReport.md)
- [GetTransacSmsReportReports](docs/GetTransacSmsReportReports.md)
- [GetWebhook](docs/GetWebhook.md)
- [GetWebhooks](docs/GetWebhooks.md)
- [ManageIp](docs/ManageIp.md)
- [PostContactInfo](docs/PostContactInfo.md)
- [PostContactInfoContacts](docs/PostContactInfoContacts.md)
- [PostSendFailed](docs/PostSendFailed.md)
- [PostSendSmsTestFailed](docs/PostSendSmsTestFailed.md)
- [RemainingCreditModel](docs/RemainingCreditModel.md)
- [RemainingCreditModelChild](docs/RemainingCreditModelChild.md)
- [RemainingCreditModelReseller](docs/RemainingCreditModelReseller.md)
- [RemoveContactFromList](docs/RemoveContactFromList.md)
- [RemoveCredits](docs/RemoveCredits.md)
- [RequestContactExport](docs/RequestContactExport.md)
- [RequestContactImport](docs/RequestContactImport.md)
- [RequestContactImportNewList](docs/RequestContactImportNewList.md)
- [RequestSmsRecipientExport](docs/RequestSmsRecipientExport.md)
- [SendEmail](docs/SendEmail.md)
- [SendEmailAttachment](docs/SendEmailAttachment.md)
- [SendReport](docs/SendReport.md)
- [SendReportEmail](docs/SendReportEmail.md)
- [SendSms](docs/SendSms.md)
- [SendSmtpEmail](docs/SendSmtpEmail.md)
- [SendSmtpEmailAttachment](docs/SendSmtpEmailAttachment.md)
- [SendSmtpEmailBcc](docs/SendSmtpEmailBcc.md)
- [SendSmtpEmailCc](docs/SendSmtpEmailCc.md)
- [SendSmtpEmailReplyTo](docs/SendSmtpEmailReplyTo.md)
- [SendSmtpEmailSender](docs/SendSmtpEmailSender.md)
- [SendSmtpEmailTo](docs/SendSmtpEmailTo.md)
- [SendTemplateEmail](docs/SendTemplateEmail.md)
- [SendTestEmail](docs/SendTestEmail.md)
- [SendTestSms](docs/SendTestSms.md)
- [SendTransacSms](docs/SendTransacSms.md)
- [UpdateAttribute](docs/UpdateAttribute.md)
- [UpdateAttributeEnumeration](docs/UpdateAttributeEnumeration.md)
- [UpdateCampaignStatus](docs/UpdateCampaignStatus.md)
- [UpdateChild](docs/UpdateChild.md)
- [UpdateChildDomain](docs/UpdateChildDomain.md)
- [UpdateContact](docs/UpdateContact.md)
- [UpdateEmailCampaign](docs/UpdateEmailCampaign.md)
- [UpdateEmailCampaignRecipients](docs/UpdateEmailCampaignRecipients.md)
- [UpdateEmailCampaignSender](docs/UpdateEmailCampaignSender.md)
- [UpdateList](docs/UpdateList.md)
- [UpdateSender](docs/UpdateSender.md)
- [UpdateSmsCampaign](docs/UpdateSmsCampaign.md)
- [UpdateSmtpTemplate](docs/UpdateSmtpTemplate.md)
- [UpdateSmtpTemplateSender](docs/UpdateSmtpTemplateSender.md)
- [UpdateWebhook](docs/UpdateWebhook.md)
- [GetChildInfo](docs/GetChildInfo.md)
- [GetExtendedCampaignOverview](docs/GetExtendedCampaignOverview.md)
- [GetExtendedClient](docs/GetExtendedClient.md)
- [GetExtendedContactDetails](docs/GetExtendedContactDetails.md)
- [GetExtendedList](docs/GetExtendedList.md)
- [GetSmsCampaign](docs/GetSmsCampaign.md)
- [GetAccount](docs/GetAccount.md)
- [GetEmailCampaign](docs/GetEmailCampaign.md)


## Documentation For Authorization

Expand Down
3 changes: 2 additions & 1 deletion docs/AccountApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Method | HTTP request | Description
------------- | ------------- | -------------
[**get_account**](AccountApi.md#get_account) | **GET** /account | Get your account informations, plans and credits details


# **get_account**
> GetAccount get_account()
Expand Down Expand Up @@ -54,7 +55,7 @@ This endpoint does not need any parameter.

### HTTP request headers

- **Content-Type**: Not defined
- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
Expand Down
10 changes: 10 additions & 0 deletions docs/AddChildDomain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# AddChildDomain

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**domain** | **str** | Sender domain to add for a specific child account | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


1 change: 1 addition & 0 deletions docs/AddContactToList.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Name | Type | Description | Notes

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


1 change: 1 addition & 0 deletions docs/AddCredits.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ Name | Type | Description | Notes

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


33 changes: 17 additions & 16 deletions docs/AttributesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ Method | HTTP request | Description
[**get_attributes**](AttributesApi.md#get_attributes) | **GET** /contacts/attributes | Lists all attributes
[**update_attribute**](AttributesApi.md#update_attribute) | **PUT** /contacts/attributes/{attributeCategory}/{attributeName} | Updates contact attribute


# **create_attribute**
> create_attribute(body, attribute_category, attribute_name)
> create_attribute(attribute_category, attribute_name, create_attribute)
Creates contact attribute

Expand All @@ -35,13 +36,13 @@ configuration.api_key['partner-key'] = 'YOUR_API_KEY'

# create an instance of the API class
api_instance = sib_api_v3_sdk.AttributesApi(sib_api_v3_sdk.ApiClient(configuration))
body = sib_api_v3_sdk.CreateAttribute() # CreateAttribute | Values to create an attribute
attribute_category = 'attribute_category_example' # str | Category of the attribute
attribute_name = 'attribute_name_example' # str | Name of the attribute
create_attribute = sib_api_v3_sdk.CreateAttribute() # CreateAttribute | Values to create an attribute

try:
# Creates contact attribute
api_instance.create_attribute(body, attribute_category, attribute_name)
api_instance.create_attribute(attribute_category, attribute_name, create_attribute)
except ApiException as e:
print("Exception when calling AttributesApi->create_attribute: %s\n" % e)
```
Expand All @@ -50,9 +51,9 @@ except ApiException as e:

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**body** | [**CreateAttribute**](CreateAttribute.md)| Values to create an attribute |
**attribute_category** | [**str**](.md)| Category of the attribute |
**attribute_name** | [**str**](.md)| Name of the attribute |
**attribute_category** | **str**| Category of the attribute |
**attribute_name** | **str**| Name of the attribute |
**create_attribute** | [**CreateAttribute**](CreateAttribute.md)| Values to create an attribute |

### Return type

Expand Down Expand Up @@ -109,8 +110,8 @@ except ApiException as e:

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**attribute_category** | [**str**](.md)| Category of the attribute |
**attribute_name** | [**str**](.md)| Name of the existing attribute |
**attribute_category** | **str**| Category of the attribute |
**attribute_name** | **str**| Name of the existing attribute |

### Return type

Expand All @@ -122,7 +123,7 @@ void (empty response body)

### HTTP request headers

- **Content-Type**: Not defined
- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
Expand Down Expand Up @@ -175,13 +176,13 @@ This endpoint does not need any parameter.

### HTTP request headers

- **Content-Type**: Not defined
- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **update_attribute**
> update_attribute(body, attribute_category, attribute_name)
> update_attribute(attribute_category, attribute_name, update_attribute)
Updates contact attribute

Expand All @@ -206,13 +207,13 @@ configuration.api_key['partner-key'] = 'YOUR_API_KEY'

# create an instance of the API class
api_instance = sib_api_v3_sdk.AttributesApi(sib_api_v3_sdk.ApiClient(configuration))
body = sib_api_v3_sdk.UpdateAttribute() # UpdateAttribute | Values to update an attribute
attribute_category = 'attribute_category_example' # str | Category of the attribute
attribute_name = 'attribute_name_example' # str | Name of the existing attribute
update_attribute = sib_api_v3_sdk.UpdateAttribute() # UpdateAttribute | Values to update an attribute

try:
# Updates contact attribute
api_instance.update_attribute(body, attribute_category, attribute_name)
api_instance.update_attribute(attribute_category, attribute_name, update_attribute)
except ApiException as e:
print("Exception when calling AttributesApi->update_attribute: %s\n" % e)
```
Expand All @@ -221,9 +222,9 @@ except ApiException as e:

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**body** | [**UpdateAttribute**](UpdateAttribute.md)| Values to update an attribute |
**attribute_category** | [**str**](.md)| Category of the attribute |
**attribute_name** | [**str**](.md)| Name of the existing attribute |
**attribute_category** | **str**| Category of the attribute |
**attribute_name** | **str**| Name of the existing attribute |
**update_attribute** | [**UpdateAttribute**](UpdateAttribute.md)| Values to update an attribute |

### Return type

Expand Down
Loading

0 comments on commit 6e4489a

Please sign in to comment.