Skip to content

Latest commit

 

History

History
240 lines (171 loc) · 12.6 KB

File metadata and controls

240 lines (171 loc) · 12.6 KB

Shared Types

from knock_mapi.types import PageInfo

Templates

Types:

from knock_mapi.types import (
    ChatTemplate,
    EmailTemplate,
    InAppFeedTemplate,
    PushTemplate,
    RequestTemplate,
    SMSTemplate,
    WebhookTemplate,
)

EmailLayouts

Types:

from knock_mapi.types import EmailLayout, EmailLayoutUpsertResponse, EmailLayoutValidateResponse

Methods:

Commits

Types:

from knock_mapi.types import (
    Commit,
    CommitCommitAllResponse,
    CommitPromoteAllResponse,
    CommitPromoteOneResponse,
)

Methods:

Partials

Types:

from knock_mapi.types import Partial, PartialUpsertResponse, PartialValidateResponse

Methods:

Translations

Types:

from knock_mapi.types import (
    Translation,
    TranslationRetrieveResponse,
    TranslationUpsertResponse,
    TranslationValidateResponse,
)

Methods:

Workflows

Types:

from knock_mapi.types import (
    Condition,
    ConditionGroup,
    Duration,
    SendWindow,
    Workflow,
    WorkflowBatchStep,
    WorkflowBranchStep,
    WorkflowChannelStep,
    WorkflowDelayStep,
    WorkflowFetchStep,
    WorkflowStep,
    WorkflowThrottleStep,
    WorkflowTriggerWorkflowStep,
    WorkflowActivateResponse,
    WorkflowRunResponse,
    WorkflowUpsertResponse,
    WorkflowValidateResponse,
)

Methods:

Steps

Types:

from knock_mapi.types.workflows import StepPreviewTemplateResponse

Methods:

MessageTypes

Types:

from knock_mapi.types import (
    MessageType,
    MessageTypeTextField,
    MessageTypeVariant,
    MessageTypeUpsertResponse,
    MessageTypeValidateResponse,
)

Methods:

Auth

Types:

from knock_mapi.types import AuthVerifyResponse

Methods:

APIKeys

Types:

from knock_mapi.types import APIKeyExchangeResponse

Methods:

ChannelGroups

Types:

from knock_mapi.types import ChannelGroup, ChannelGroupRule

Methods:

Channels

Types:

from knock_mapi.types import (
    Channel,
    ChatChannelSettings,
    EmailChannelSettings,
    InAppFeedChannelSettings,
    PushChannelSettings,
    SMSChannelSettings,
)

Methods:

Environments

Types:

from knock_mapi.types import Environment

Methods:

Variables

Types:

from knock_mapi.types import Variable

Methods: