Skip to content

Latest commit

 

History

History
216 lines (167 loc) · 13.2 KB

File metadata and controls

216 lines (167 loc) · 13.2 KB

Webhooks

Types:

from sent_dm.types import (
    APIMeta,
    APIResponseWebhook,
    ErrorDetail,
    InboundMessageEvent,
    InboundMessageEventPayload,
    MessageEvent,
    MessageEventPayload,
    MutationRequest,
    PaginationMeta,
    TemplateEvent,
    TemplateEventPayload,
    WebhookEventType,
    WebhookResponse,
    WebhookListResponse,
    WebhookListEventTypesResponse,
    WebhookListEventsResponse,
    WebhookRotateSecretResponse,
    WebhookTestResponse,
)

Methods:

Users

Types:

from sent_dm.types import APIResponseOfUser, UserResponse, UserListResponse

Methods:

Templates

Types:

from sent_dm.types import (
    APIResponseTemplate,
    AuthenticationConfig,
    Template,
    TemplateBody,
    TemplateBodyContent,
    TemplateButton,
    TemplateButtonProps,
    TemplateDefinition,
    TemplateFooter,
    TemplateHeader,
    TemplateVariable,
    TemplateListResponse,
)

Methods:

Profiles

Types:

from sent_dm.types import (
    APIResponseOfProfileDetail,
    BillingContactInfo,
    BrandBusinessInfo,
    BrandComplianceInfo,
    BrandContactInfo,
    BrandsBrandData,
    DestinationCountry,
    PaymentDetails,
    ProfileDetail,
    TcrBrandRelationship,
    TcrVertical,
    ProfileListResponse,
    ProfileCompleteResponse,
)

Methods:

Campaigns

Types:

from sent_dm.types.profiles import (
    APIResponseOfBrandCampaign,
    APIResponseOfListOfBrandCampaign,
    BrandCampaign,
    CampaignData,
    CampaignUseCase,
    CampaignUseCaseData,
    MessagingUseCaseUs,
)

Methods:

Numbers

Types:

from sent_dm.types import NumberLookupResponse

Methods:

Messages

Types:

from sent_dm.types import (
    MessageRetrieveActivitiesResponse,
    MessageRetrieveStatusResponse,
    MessageSendResponse,
)

Methods:

Contacts

Types:

from sent_dm.types import (
    APIResponseOfContact,
    APIResponseOfContactMessageSummary,
    ContactMessageSummary,
    ContactResponse,
    ContactListResponse,
)

Methods:

Conversations

Types:

from sent_dm.types import APIResponseOfConversationMessagesList, ConversationMessagesList

Methods:

Me

Types:

from sent_dm.types import ProfileSettings, MeRetrieveResponse

Methods: