UNPKG

@k-msg/provider

Version:

Complete provider system with adapters and implementations for K-Message platform

18 lines (17 loc) 852 B
import { type KakaoChannel, type KakaoChannelCategories, KMsgError, type Result } from "@k-msg/core"; import type { AligoRuntimeContext } from "./aligo.internal.types"; export declare function listKakaoChannels(ctx: AligoRuntimeContext, params?: { plusId?: string; senderKey?: string; }): Promise<Result<KakaoChannel[], KMsgError>>; export declare function listKakaoChannelCategories(ctx: AligoRuntimeContext): Promise<Result<KakaoChannelCategories, KMsgError>>; export declare function requestKakaoChannelAuth(ctx: AligoRuntimeContext, params: { plusId: string; phoneNumber: string; }): Promise<Result<void, KMsgError>>; export declare function addKakaoChannel(ctx: AligoRuntimeContext, params: { plusId: string; authNum: string; phoneNumber: string; categoryCode: string; }): Promise<Result<KakaoChannel, KMsgError>>;