UNPKG

@mimamch/qontak

Version:
32 lines 967 B
import { Options } from "./options"; import { PaginationProps, PaginationResponse } from "./pagination"; export type GetIntegrationWhatsappChannelsProps = { pagination?: PaginationProps; target_channel?: string; }; export type Channel = { id: string; target_channel: string; webhook: string; settings: { domain_server?: string; authorization?: string; pin?: string; account_name?: string; server_wa_id?: string; phone_number?: string; phone_number_id?: string; }; organization_id: string; created_at: string; is_active: boolean; }; export type GetIntegrationWhatsappChannelsResponse = { channels: Channel[]; pagination: PaginationResponse; }; export declare const getIntegrationWhatsappChannels: (options: Options) => (props?: GetIntegrationWhatsappChannelsProps) => Promise<{ channels: any; pagination: any; }>; //# sourceMappingURL=integrations.d.ts.map