Skip to content

Latest commit

 

History

History
593 lines (448 loc) · 43.6 KB

File metadata and controls

593 lines (448 loc) · 43.6 KB

Messages

Types:

from zavudev.types import (
    Channel,
    Message,
    MessageContent,
    MessageResponse,
    MessageStatus,
    MessageType,
    MessageShowTypingResponse,
)

Methods:

Templates

Types:

from zavudev.types import Template, WhatsappCategory

Methods:

Senders

Types:

from zavudev.types import (
    Sender,
    SenderWebhook,
    WebhookEvent,
    WebhookSecretResponse,
    WhatsappBusinessProfile,
    WhatsappBusinessProfileResponse,
    WhatsappBusinessProfileVertical,
    SenderUpdateProfileResponse,
    SenderUploadProfilePictureResponse,
)

Methods:

Agent

Types:

from zavudev.types.senders import (
    Agent,
    AgentExecution,
    AgentExecutionStatus,
    AgentProvider,
    AgentResponse,
    AgentStats,
)

Methods:

Executions

Types:

from zavudev.types.senders.agent import ExecutionRetrieveResponse

Methods:

Flows

Types:

from zavudev.types.senders.agent import (
    AgentFlow,
    FlowStep,
    FlowTrigger,
    FlowCreateResponse,
    FlowRetrieveResponse,
    FlowUpdateResponse,
    FlowDuplicateResponse,
)

Methods:

Tools

Types:

from zavudev.types.senders.agent import (
    AgentTool,
    ToolParameters,
    ToolCreateResponse,
    ToolRetrieveResponse,
    ToolUpdateResponse,
    ToolTestResponse,
)

Methods:

KnowledgeBases

Types:

from zavudev.types.senders.agent import (
    AgentDocument,
    AgentKnowledgeBase,
    KnowledgeBaseCreateResponse,
    KnowledgeBaseRetrieveResponse,
    KnowledgeBaseUpdateResponse,
)

Methods:

Documents

Types:

from zavudev.types.senders.agent.knowledge_bases import DocumentCreateResponse

Methods:

WhatsappSync

Types:

from zavudev.types.senders import (
    WhatsAppSyncContacts,
    WhatsAppSyncHistory,
    WhatsAppSyncStatus,
    WhatsappSyncRetrieveResponse,
    WhatsappSyncStartContactsSyncResponse,
    WhatsappSyncStartHistorySyncResponse,
)

Methods:

Contacts

Types:

from zavudev.types import Contact, ContactChannel

Methods:

Channels

Types:

from zavudev.types.contacts import (
    ChannelUpdateResponse,
    ChannelAddResponse,
    ChannelSetPrimaryResponse,
)

Methods:

Broadcasts

Types:

from zavudev.types import (
    Broadcast,
    BroadcastChannel,
    BroadcastContact,
    BroadcastContactStatus,
    BroadcastContent,
    BroadcastMessageType,
    BroadcastProgress,
    BroadcastStatus,
    BroadcastCreateResponse,
    BroadcastRetrieveResponse,
    BroadcastUpdateResponse,
    BroadcastCancelResponse,
    BroadcastEscalateReviewResponse,
    BroadcastRescheduleResponse,
    BroadcastRetryReviewResponse,
    BroadcastSendResponse,
)

Methods:

Contacts

Types:

from zavudev.types.broadcasts import ContactAddResponse

Methods:

Introspect

Types:

from zavudev.types import LineType, IntrospectValidatePhoneResponse

Methods:

PhoneNumbers

Types:

from zavudev.types import (
    AvailablePhoneNumber,
    OwnedPhoneNumber,
    OwnedPhoneNumberPricing,
    PhoneNumberCapabilities,
    PhoneNumberPricing,
    PhoneNumberStatus,
    PhoneNumberType,
    Requirement,
    RequirementAcceptanceCriteria,
    RequirementFieldType,
    RequirementType,
    PhoneNumberRetrieveResponse,
    PhoneNumberUpdateResponse,
    PhoneNumberPurchaseResponse,
    PhoneNumberRequirementsResponse,
    PhoneNumberSearchAvailableResponse,
)

Methods:

Addresses

Types:

from zavudev.types import Address, AddressStatus, AddressCreateResponse, AddressRetrieveResponse

Methods:

RegulatoryDocuments

Types:

from zavudev.types import (
    RegulatoryDocument,
    RegulatoryDocumentCreateResponse,
    RegulatoryDocumentRetrieveResponse,
    RegulatoryDocumentUploadURLResponse,
)

Methods:

Invitations

Types:

from zavudev.types import (
    Invitation,
    InvitationCreateResponse,
    InvitationRetrieveResponse,
    InvitationCancelResponse,
)

Methods:

URLs

Types:

from zavudev.types import VerifiedURL, URLRetrieveDetailsResponse, URLSubmitForVerificationResponse

Methods:

Balance

Types:

from zavudev.types import BalanceRetrieveResponse

Methods:

SubAccounts

Types:

from zavudev.types import (
    SubAccount,
    SubAccountCreateResponse,
    SubAccountRetrieveResponse,
    SubAccountUpdateResponse,
    SubAccountDeactivateResponse,
    SubAccountGetBalanceResponse,
)

Methods:

APIKeys

Types:

from zavudev.types.sub_accounts import APIKeyCreateResponse, APIKeyListResponse

Methods:

Number10dlc

Brands

Types:

from zavudev.types.number_10dlc import (
    TenDlcBrand,
    BrandCreateResponse,
    BrandRetrieveResponse,
    BrandUpdateResponse,
    BrandListUseCasesResponse,
    BrandSubmitResponse,
    BrandSyncStatusResponse,
)

Methods:

Campaigns

Types:

from zavudev.types.number_10dlc import (
    TenDlcCampaign,
    CampaignCreateResponse,
    CampaignRetrieveResponse,
    CampaignUpdateResponse,
    CampaignSubmitResponse,
    CampaignSyncStatusResponse,
)

Methods:

PhoneNumbers

Types:

from zavudev.types.number_10dlc.campaigns import (
    TenDlcPhoneNumberAssignment,
    PhoneNumberListResponse,
    PhoneNumberAssignResponse,
)

Methods:

Me

Types:

from zavudev.types import MeRetrieveResponse

Methods:

Functions

Types:

from zavudev.types import (
    FunctionCreateResponse,
    FunctionRetrieveResponse,
    FunctionUpdateResponse,
    FunctionDeleteResponse,
    FunctionDeployResponse,
    FunctionGetDeploymentResponse,
    FunctionTailLogsResponse,
)

Methods:

Secrets

Types:

from zavudev.types.functions import SecretListResponse

Methods:

  • client.functions.secrets.list(function_id) -> SecretListResponse
  • client.functions.secrets.set(key, *, function_id, **params) -> object
  • client.functions.secrets.unset(key, *, function_id) -> None