Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions hubspot/marketing/transactional/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
# flake8: noqa

"""
Transactional Single Send
Transactional Single Send

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand All @@ -17,8 +17,8 @@
__version__ = "1.0.0"

# import apis into sdk package
from hubspot.marketing.transactional.api.public_smtp_tokens_api import PublicSMTPTokensApi
from hubspot.marketing.transactional.api.single_send_api import SingleSendApi
from hubspot.marketing.transactional.api.smtp_tokens_api import SMTPTokensApi
from hubspot.marketing.transactional.api.send_transactional_email_api import SendTransactionalEmailApi

# import ApiClient
from hubspot.marketing.transactional.api_client import ApiClient
Expand Down
4 changes: 2 additions & 2 deletions hubspot/marketing/transactional/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# flake8: noqa

# import apis into api package
from hubspot.marketing.transactional.api.public_smtp_tokens_api import PublicSMTPTokensApi
from hubspot.marketing.transactional.api.single_send_api import SingleSendApi
from hubspot.marketing.transactional.api.smtp_tokens_api import SMTPTokensApi
from hubspot.marketing.transactional.api.send_transactional_email_api import SendTransactionalEmailApi
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

"""
Transactional Single Send
Transactional Single Send

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand All @@ -21,7 +21,7 @@
from hubspot.marketing.transactional.exceptions import ApiTypeError, ApiValueError # noqa: F401


class SingleSendApi(object):
class SendTransactionalEmailApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech

Expand All @@ -34,7 +34,7 @@ def __init__(self, api_client=None):
self.api_client = api_client

def send_email(self, public_single_send_request_egg, **kwargs): # noqa: E501
"""Send a single transactional email asynchronously. # noqa: E501
"""Send a single send transactional email asynchronously. # noqa: E501

Asynchronously send a transactional email. Returns the status of the email send with a statusId that can be used to continuously query for the status using the Email Send Status API. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
Expand Down Expand Up @@ -64,7 +64,7 @@ def send_email(self, public_single_send_request_egg, **kwargs): # noqa: E501
return self.send_email_with_http_info(public_single_send_request_egg, **kwargs) # noqa: E501

def send_email_with_http_info(self, public_single_send_request_egg, **kwargs): # noqa: E501
"""Send a single transactional email asynchronously. # noqa: E501
"""Send a single send transactional email asynchronously. # noqa: E501

Asynchronously send a transactional email. Returns the status of the email send with a statusId that can be used to continuously query for the status using the Email Send Status API. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

"""
Transactional Single Send
Transactional Single Send

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand All @@ -21,7 +21,7 @@
from hubspot.marketing.transactional.exceptions import ApiTypeError, ApiValueError # noqa: F401


class PublicSMTPTokensApi(object):
class SMTPTokensApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech

Expand Down
9 changes: 5 additions & 4 deletions hubspot/marketing/transactional/api_client.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# coding: utf-8
"""
Transactional Single Send
Transactional Single Send

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""

from __future__ import absolute_import
Expand Down Expand Up @@ -135,6 +135,7 @@ def __call_api(
_host=None,
_request_auth=None,
):

config = self.configuration

# header parameters
Expand Down
8 changes: 4 additions & 4 deletions hubspot/marketing/transactional/configuration.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

"""
Transactional Single Send
Transactional Single Send

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand Down
13 changes: 9 additions & 4 deletions hubspot/marketing/transactional/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

"""
Transactional Single Send
Transactional Single Send

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand Down Expand Up @@ -100,6 +100,7 @@ def __init__(self, msg, path_to_item=None):


class ApiException(OpenApiException):

def __init__(self, status=None, reason=None, http_resp=None):
if http_resp:
self.status = http_resp.status
Expand All @@ -125,21 +126,25 @@ def __str__(self):


class NotFoundException(ApiException):

def __init__(self, status=None, reason=None, http_resp=None):
super(NotFoundException, self).__init__(status, reason, http_resp)


class UnauthorizedException(ApiException):

def __init__(self, status=None, reason=None, http_resp=None):
super(UnauthorizedException, self).__init__(status, reason, http_resp)


class ForbiddenException(ApiException):

def __init__(self, status=None, reason=None, http_resp=None):
super(ForbiddenException, self).__init__(status, reason, http_resp)


class ServiceException(ApiException):

def __init__(self, status=None, reason=None, http_resp=None):
super(ServiceException, self).__init__(status, reason, http_resp)

Expand Down
8 changes: 4 additions & 4 deletions hubspot/marketing/transactional/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

# flake8: noqa
"""
Transactional Single Send
Transactional Single Send

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

"""
Transactional Single Send
Transactional Single Send

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand Down
Loading