Skip to content

Latest commit

 

History

History
388 lines (282 loc) · 29.5 KB

File metadata and controls

388 lines (282 loc) · 29.5 KB

Shared Types

from knockapi.types import Condition, PageInfo

Recipients

Types:

from knockapi.types import Recipient, RecipientReference, RecipientRequest

Subscriptions

Types:

from knockapi.types.recipients import Subscription

Preferences

Types:

from knockapi.types.recipients import (
    InlinePreferenceSetRequest,
    PreferenceSet,
    PreferenceSetChannelSetting,
    PreferenceSetChannelTypeSetting,
    PreferenceSetChannelTypes,
    PreferenceSetRequest,
)

ChannelData

Types:

from knockapi.types.recipients import (
    AwsSnsPushChannelDataDevicesOnly,
    AwsSnsPushChannelDataTargetArnsOnly,
    ChannelData,
    ChannelDataRequest,
    DiscordChannelData,
    InlineChannelDataRequest,
    MsTeamsChannelData,
    OneSignalChannelDataPlayerIDsOnly,
    PushChannelDataDevicesOnly,
    PushChannelDataTokensOnly,
    SlackChannelData,
)

Users

Types:

from knockapi.types import (
    IdentifyUserRequest,
    InlineIdentifyUserRequest,
    User,
    UserListPreferencesResponse,
)

Methods:

Feeds

Types:

from knockapi.types.users import FeedGetSettingsResponse, FeedListItemsResponse

Methods:

Guides

Types:

from knockapi.types.users import (
    GuideGetChannelResponse,
    GuideMarkMessageAsArchivedResponse,
    GuideMarkMessageAsInteractedResponse,
    GuideMarkMessageAsSeenResponse,
)

Methods:

Bulk

Methods:

Objects

Types:

from knockapi.types import (
    InlineObjectRequest,
    Object,
    ObjectAddSubscriptionsResponse,
    ObjectDeleteSubscriptionsResponse,
    ObjectListPreferencesResponse,
)

Methods:

Bulk

Methods:

Tenants

Types:

from knockapi.types import InlineTenantRequest, Tenant, TenantRequest

Methods:

Bulk

Methods:

BulkOperations

Types:

from knockapi.types import BulkOperation

Methods:

Messages

Types:

from knockapi.types import (
    Activity,
    Message,
    MessageDeliveryLog,
    MessageEvent,
    MessageGetContentResponse,
)

Methods:

Batch

Types:

from knockapi.types.messages import (
    BatchArchiveResponse,
    BatchGetContentResponse,
    BatchMarkAsInteractedResponse,
    BatchMarkAsReadResponse,
    BatchMarkAsSeenResponse,
    BatchMarkAsUnreadResponse,
    BatchMarkAsUnseenResponse,
    BatchUnarchiveResponse,
)

Methods:

Providers

Slack

Types:

from knockapi.types.providers import (
    SlackCheckAuthResponse,
    SlackListChannelsResponse,
    SlackRevokeAccessResponse,
)

Methods:

MsTeams

Types:

from knockapi.types.providers import (
    MsTeamCheckAuthResponse,
    MsTeamListChannelsResponse,
    MsTeamListTeamsResponse,
    MsTeamRevokeAccessResponse,
)

Methods:

Integrations

Census

Types:

from knockapi.types.integrations import CensusCustomDestinationResponse

Methods:

Hightouch

Types:

from knockapi.types.integrations import HightouchEmbeddedDestinationResponse

Methods:

Workflows

Types:

from knockapi.types import WorkflowTriggerResponse

Methods:

Schedules

Types:

from knockapi.types import (
    Schedule,
    ScheduleRepeatRule,
    ScheduleCreateResponse,
    ScheduleUpdateResponse,
    ScheduleDeleteResponse,
)

Methods:

Bulk

Methods:

Channels

Bulk

Methods:

Audiences

Types:

from knockapi.types import AudienceMember, AudienceListMembersResponse

Methods: