diff --git a/docs/DeleteHardbounces.md b/docs/DeleteHardbounces.md index e781653..d1a2c96 100644 --- a/docs/DeleteHardbounces.md +++ b/docs/DeleteHardbounces.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**start_date** | **date** | 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 | [optional] -**end_date** | **date** | Ending date (YYYY-MM-DD) of the time period for deletion. The hardbounces until this date will be deleted. Must be greater than or equal to the startDate | [optional] +**start_date** | **str** | 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 | [optional] +**end_date** | **str** | Ending date (YYYY-MM-DD) of the time period for deletion. The hardbounces until this date will be deleted. Must be greater than or equal to the startDate | [optional] **contact_email** | **str** | Target a specific email address | [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) diff --git a/docs/SMSCampaignsApi.md b/docs/SMSCampaignsApi.md index 0d23d6f..5afa04d 100644 --- a/docs/SMSCampaignsApi.md +++ b/docs/SMSCampaignsApi.md @@ -130,7 +130,7 @@ void (empty response body) [[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) # **get_sms_campaign** -> GetSmsCampaign get_sms_campaign(campaign_id, get_sms_campaign) +> GetSmsCampaign get_sms_campaign(campaign_id) Get an SMS campaign @@ -156,11 +156,10 @@ configuration.api_key['partner-key'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = sib_api_v3_sdk.SMSCampaignsApi(sib_api_v3_sdk.ApiClient(configuration)) campaign_id = 789 # int | id of the SMS campaign -get_sms_campaign = sib_api_v3_sdk.GetSmsCampaign() # GetSmsCampaign | Values to update an SMS Campaign try: # Get an SMS campaign - api_response = api_instance.get_sms_campaign(campaign_id, get_sms_campaign) + api_response = api_instance.get_sms_campaign(campaign_id) pprint(api_response) except ApiException as e: print("Exception when calling SMSCampaignsApi->get_sms_campaign: %s\n" % e) @@ -171,7 +170,6 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaign_id** | **int**| id of the SMS campaign | - **get_sms_campaign** | [**GetSmsCampaign**](GetSmsCampaign.md)| Values to update an SMS Campaign | ### Return type diff --git a/docs/SMTPApi.md b/docs/SMTPApi.md index 6d180c1..a22e1a7 100644 --- a/docs/SMTPApi.md +++ b/docs/SMTPApi.md @@ -215,8 +215,8 @@ configuration.api_key['partner-key'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = sib_api_v3_sdk.SMTPApi(sib_api_v3_sdk.ApiClient(configuration)) -start_date = '2013-10-20' # date | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional) -end_date = '2013-10-20' # date | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional) +start_date = 'start_date_example' # str | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional) +end_date = 'end_date_example' # str | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional) days = 56 # int | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) tag = 'tag_example' # str | Tag of the emails (optional) @@ -232,8 +232,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **start_date** | **date**| Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate | [optional] - **end_date** | **date**| Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate | [optional] + **start_date** | **str**| Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate | [optional] + **end_date** | **str**| Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate | [optional] **days** | **int**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **tag** | **str**| Tag of the emails | [optional] @@ -280,8 +280,8 @@ configuration.api_key['partner-key'] = 'YOUR_API_KEY' api_instance = sib_api_v3_sdk.SMTPApi(sib_api_v3_sdk.ApiClient(configuration)) limit = 50 # int | Number limitation for the result returned (optional) (default to 50) offset = 0 # int | Beginning point in the list to retrieve from. (optional) (default to 0) -start_date = '2013-10-20' # date | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional) -end_date = '2013-10-20' # date | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional) +start_date = 'start_date_example' # str | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional) +end_date = 'end_date_example' # str | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional) days = 56 # int | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) email = 'email_example' # str | Filter the report for a specific email addresses (optional) event = 'event_example' # str | Filter the report for a specific event type (optional) @@ -303,8 +303,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **int**| Number limitation for the result returned | [optional] [default to 50] **offset** | **int**| Beginning point in the list to retrieve from. | [optional] [default to 0] - **start_date** | **date**| Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate | [optional] - **end_date** | **date**| Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate | [optional] + **start_date** | **str**| Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate | [optional] + **end_date** | **str**| Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate | [optional] **days** | **int**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **email** | **str**| Filter the report for a specific email addresses | [optional] **event** | **str**| Filter the report for a specific event type | [optional] @@ -355,8 +355,8 @@ configuration.api_key['partner-key'] = 'YOUR_API_KEY' api_instance = sib_api_v3_sdk.SMTPApi(sib_api_v3_sdk.ApiClient(configuration)) limit = 50 # int | Number of documents returned per page (optional) (default to 50) offset = 0 # int | Index of the first document on the page (optional) (default to 0) -start_date = '2013-10-20' # date | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) (optional) -end_date = '2013-10-20' # date | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) +start_date = 'start_date_example' # str | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) (optional) +end_date = 'end_date_example' # str | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) days = 56 # int | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) tag = 'tag_example' # str | Tag of the emails (optional) @@ -374,8 +374,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **int**| Number of documents returned per page | [optional] [default to 50] **offset** | **int**| Index of the first document on the page | [optional] [default to 0] - **start_date** | **date**| Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) | [optional] - **end_date** | **date**| Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) | [optional] + **start_date** | **str**| Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) | [optional] + **end_date** | **str**| Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) | [optional] **days** | **int**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **tag** | **str**| Tag of the emails | [optional] diff --git a/docs/TransactionalSMSApi.md b/docs/TransactionalSMSApi.md index f5751ee..7e7fd20 100644 --- a/docs/TransactionalSMSApi.md +++ b/docs/TransactionalSMSApi.md @@ -37,8 +37,8 @@ configuration.api_key['partner-key'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = sib_api_v3_sdk.TransactionalSMSApi(sib_api_v3_sdk.ApiClient(configuration)) limit = 50 # int | Number of documents per page (optional) (default to 50) -start_date = '2013-10-20' # date | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report (optional) -end_date = '2013-10-20' # date | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) +start_date = 'start_date_example' # str | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report (optional) +end_date = 'end_date_example' # str | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) offset = 0 # int | Index of the first document of the page (optional) (default to 0) days = 56 # int | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) phone_number = 'phone_number_example' # str | Filter the report for a specific phone number (optional) @@ -58,8 +58,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **int**| Number of documents per page | [optional] [default to 50] - **start_date** | **date**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report | [optional] - **end_date** | **date**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report | [optional] + **start_date** | **str**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report | [optional] + **end_date** | **str**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report | [optional] **offset** | **int**| Index of the first document of the page | [optional] [default to 0] **days** | **int**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **phone_number** | **str**| Filter the report for a specific phone number | [optional] @@ -107,8 +107,8 @@ configuration.api_key['partner-key'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = sib_api_v3_sdk.TransactionalSMSApi(sib_api_v3_sdk.ApiClient(configuration)) -start_date = '2013-10-20' # date | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report (optional) -end_date = '2013-10-20' # date | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) +start_date = 'start_date_example' # str | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report (optional) +end_date = 'end_date_example' # str | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) days = 56 # int | Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) tag = 'tag_example' # str | Filter on a tag (optional) @@ -124,8 +124,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **start_date** | **date**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report | [optional] - **end_date** | **date**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report | [optional] + **start_date** | **str**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report | [optional] + **end_date** | **str**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report | [optional] **days** | **int**| Number of days in the past including today (positive integer). Not compatible with startDate and endDate | [optional] **tag** | **str**| Filter on a tag | [optional] @@ -170,8 +170,8 @@ configuration.api_key['partner-key'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = sib_api_v3_sdk.TransactionalSMSApi(sib_api_v3_sdk.ApiClient(configuration)) -start_date = '2013-10-20' # date | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report (optional) -end_date = '2013-10-20' # date | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) +start_date = 'start_date_example' # str | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report (optional) +end_date = 'end_date_example' # str | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) days = 56 # int | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) tag = 'tag_example' # str | Filter on a tag (optional) @@ -187,8 +187,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **start_date** | **date**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report | [optional] - **end_date** | **date**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report | [optional] + **start_date** | **str**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report | [optional] + **end_date** | **str**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report | [optional] **days** | **int**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **tag** | **str**| Filter on a tag | [optional] diff --git a/setup.py b/setup.py index 7246af6..c787f07 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ from setuptools import setup, find_packages NAME = "sib-api-v3-sdk" -VERSION = "4.2.1" +VERSION = "4.2.2" # To install the library, run the following # # python setup.py install diff --git a/sib_api_v3_sdk/api/sms_campaigns_api.py b/sib_api_v3_sdk/api/sms_campaigns_api.py index 0eb0ec0..a15001d 100644 --- a/sib_api_v3_sdk/api/sms_campaigns_api.py +++ b/sib_api_v3_sdk/api/sms_campaigns_api.py @@ -227,45 +227,43 @@ def delete_sms_campaign_with_http_info(self, campaign_id, **kwargs): # noqa: E5 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_sms_campaign(self, campaign_id, get_sms_campaign, **kwargs): # noqa: E501 + def get_sms_campaign(self, campaign_id, **kwargs): # noqa: E501 """Get an SMS campaign # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async=True - >>> thread = api.get_sms_campaign(campaign_id, get_sms_campaign, async=True) + >>> thread = api.get_sms_campaign(campaign_id, async=True) >>> result = thread.get() :param async bool :param int campaign_id: id of the SMS campaign (required) - :param GetSmsCampaign get_sms_campaign: Values to update an SMS Campaign (required) :return: GetSmsCampaign If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async'): - return self.get_sms_campaign_with_http_info(campaign_id, get_sms_campaign, **kwargs) # noqa: E501 + return self.get_sms_campaign_with_http_info(campaign_id, **kwargs) # noqa: E501 else: - (data) = self.get_sms_campaign_with_http_info(campaign_id, get_sms_campaign, **kwargs) # noqa: E501 + (data) = self.get_sms_campaign_with_http_info(campaign_id, **kwargs) # noqa: E501 return data - def get_sms_campaign_with_http_info(self, campaign_id, get_sms_campaign, **kwargs): # noqa: E501 + def get_sms_campaign_with_http_info(self, campaign_id, **kwargs): # noqa: E501 """Get an SMS campaign # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async=True - >>> thread = api.get_sms_campaign_with_http_info(campaign_id, get_sms_campaign, async=True) + >>> thread = api.get_sms_campaign_with_http_info(campaign_id, async=True) >>> result = thread.get() :param async bool :param int campaign_id: id of the SMS campaign (required) - :param GetSmsCampaign get_sms_campaign: Values to update an SMS Campaign (required) :return: GetSmsCampaign If the method is called asynchronously, returns the request thread. """ - all_params = ['campaign_id', 'get_sms_campaign'] # noqa: E501 + all_params = ['campaign_id'] # noqa: E501 all_params.append('async') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -284,10 +282,6 @@ def get_sms_campaign_with_http_info(self, campaign_id, get_sms_campaign, **kwarg if ('campaign_id' not in params or params['campaign_id'] is None): raise ValueError("Missing the required parameter `campaign_id` when calling `get_sms_campaign`") # noqa: E501 - # verify the required parameter 'get_sms_campaign' is set - if ('get_sms_campaign' not in params or - params['get_sms_campaign'] is None): - raise ValueError("Missing the required parameter `get_sms_campaign` when calling `get_sms_campaign`") # noqa: E501 collection_formats = {} @@ -303,8 +297,6 @@ def get_sms_campaign_with_http_info(self, campaign_id, get_sms_campaign, **kwarg local_var_files = {} body_params = None - if 'get_sms_campaign' in params: - body_params = params['get_sms_campaign'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 diff --git a/sib_api_v3_sdk/api/smtp_api.py b/sib_api_v3_sdk/api/smtp_api.py index c06fd1d..529ce6a 100644 --- a/sib_api_v3_sdk/api/smtp_api.py +++ b/sib_api_v3_sdk/api/smtp_api.py @@ -331,8 +331,8 @@ def get_aggregated_smtp_report(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async bool - :param date start_date: Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate - :param date end_date: Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate + :param str start_date: Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate + :param str end_date: Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate :param int days: Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' :param str tag: Tag of the emails :return: GetAggregatedReport @@ -355,8 +355,8 @@ def get_aggregated_smtp_report_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async bool - :param date start_date: Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate - :param date end_date: Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate + :param str start_date: Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate + :param str end_date: Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate :param int days: Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' :param str tag: Tag of the emails :return: GetAggregatedReport @@ -438,8 +438,8 @@ def get_email_event_report(self, **kwargs): # noqa: E501 :param async bool :param int limit: Number limitation for the result returned :param int offset: Beginning point in the list to retrieve from. - :param date start_date: Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate - :param date end_date: Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate + :param str start_date: Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate + :param str end_date: Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate :param int days: Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' :param str email: Filter the report for a specific email addresses :param str event: Filter the report for a specific event type @@ -468,8 +468,8 @@ def get_email_event_report_with_http_info(self, **kwargs): # noqa: E501 :param async bool :param int limit: Number limitation for the result returned :param int offset: Beginning point in the list to retrieve from. - :param date start_date: Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate - :param date end_date: Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate + :param str start_date: Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate + :param str end_date: Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate :param int days: Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' :param str email: Filter the report for a specific email addresses :param str event: Filter the report for a specific event type @@ -569,8 +569,8 @@ def get_smtp_report(self, **kwargs): # noqa: E501 :param async bool :param int limit: Number of documents returned per page :param int offset: Index of the first document on the page - :param date start_date: Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) - :param date end_date: Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) + :param str start_date: Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) + :param str end_date: Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) :param int days: Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' :param str tag: Tag of the emails :return: GetReports @@ -595,8 +595,8 @@ def get_smtp_report_with_http_info(self, **kwargs): # noqa: E501 :param async bool :param int limit: Number of documents returned per page :param int offset: Index of the first document on the page - :param date start_date: Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) - :param date end_date: Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) + :param str start_date: Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) + :param str end_date: Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) :param int days: Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' :param str tag: Tag of the emails :return: GetReports diff --git a/sib_api_v3_sdk/api/transactional_sms_api.py b/sib_api_v3_sdk/api/transactional_sms_api.py index 7b6dd24..245220e 100644 --- a/sib_api_v3_sdk/api/transactional_sms_api.py +++ b/sib_api_v3_sdk/api/transactional_sms_api.py @@ -43,8 +43,8 @@ def get_sms_events(self, **kwargs): # noqa: E501 :param async bool :param int limit: Number of documents per page - :param date start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report - :param date end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report + :param str start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report + :param str end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report :param int offset: Index of the first document of the page :param int days: Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' :param str phone_number: Filter the report for a specific phone number @@ -71,8 +71,8 @@ def get_sms_events_with_http_info(self, **kwargs): # noqa: E501 :param async bool :param int limit: Number of documents per page - :param date start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report - :param date end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report + :param str start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report + :param str end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report :param int offset: Index of the first document of the page :param int days: Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' :param str phone_number: Filter the report for a specific phone number @@ -165,8 +165,8 @@ def get_transac_aggregated_sms_report(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async bool - :param date start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report - :param date end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report + :param str start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report + :param str end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report :param int days: Number of days in the past including today (positive integer). Not compatible with startDate and endDate :param str tag: Filter on a tag :return: GetTransacAggregatedSmsReport @@ -189,8 +189,8 @@ def get_transac_aggregated_sms_report_with_http_info(self, **kwargs): # noqa: E >>> result = thread.get() :param async bool - :param date start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report - :param date end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report + :param str start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report + :param str end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report :param int days: Number of days in the past including today (positive integer). Not compatible with startDate and endDate :param str tag: Filter on a tag :return: GetTransacAggregatedSmsReport @@ -270,8 +270,8 @@ def get_transac_sms_report(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async bool - :param date start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report - :param date end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report + :param str start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report + :param str end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report :param int days: Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' :param str tag: Filter on a tag :return: GetTransacSmsReport @@ -294,8 +294,8 @@ def get_transac_sms_report_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async bool - :param date start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report - :param date end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report + :param str start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report + :param str end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report :param int days: Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' :param str tag: Filter on a tag :return: GetTransacSmsReport diff --git a/sib_api_v3_sdk/models/delete_hardbounces.py b/sib_api_v3_sdk/models/delete_hardbounces.py index 030e722..b694f70 100644 --- a/sib_api_v3_sdk/models/delete_hardbounces.py +++ b/sib_api_v3_sdk/models/delete_hardbounces.py @@ -31,8 +31,8 @@ class DeleteHardbounces(object): and the value is json key in definition. """ swagger_types = { - 'start_date': 'date', - 'end_date': 'date', + 'start_date': 'str', + 'end_date': 'str', 'contact_email': 'str' } @@ -64,7 +64,7 @@ def start_date(self): 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 # noqa: E501 :return: The start_date of this DeleteHardbounces. # noqa: E501 - :rtype: date + :rtype: str """ return self._start_date @@ -75,7 +75,7 @@ def start_date(self, start_date): 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 # noqa: E501 :param start_date: The start_date of this DeleteHardbounces. # noqa: E501 - :type: date + :type: str """ self._start_date = start_date @@ -87,7 +87,7 @@ def end_date(self): Ending date (YYYY-MM-DD) of the time period for deletion. The hardbounces until this date will be deleted. Must be greater than or equal to the startDate # noqa: E501 :return: The end_date of this DeleteHardbounces. # noqa: E501 - :rtype: date + :rtype: str """ return self._end_date @@ -98,7 +98,7 @@ def end_date(self, end_date): Ending date (YYYY-MM-DD) of the time period for deletion. The hardbounces until this date will be deleted. Must be greater than or equal to the startDate # noqa: E501 :param end_date: The end_date of this DeleteHardbounces. # noqa: E501 - :type: date + :type: str """ self._end_date = end_date diff --git a/sib_api_v3_sdk/models/get_attributes_attributes.py b/sib_api_v3_sdk/models/get_attributes_attributes.py index b5fe767..194c07d 100644 --- a/sib_api_v3_sdk/models/get_attributes_attributes.py +++ b/sib_api_v3_sdk/models/get_attributes_attributes.py @@ -143,7 +143,7 @@ def type(self, type): :param type: The type of this GetAttributesAttributes. # noqa: E501 :type: str """ - allowed_values = ["text", "date", "float", "id"] # noqa: E501 + allowed_values = ["text", "date", "float", "id", "boolean"] # noqa: E501 if type not in allowed_values: raise ValueError( "Invalid value for `type` ({0}), must be one of {1}" # noqa: E501