import type { ApiClient } from "@promobase/sdk-runtime"; import { Cursor } from "@promobase/sdk-runtime"; import type { CTXPartnerAppWelcomeMessageFlowFields } from "./ctx-partner-app-welcome-message-flow.ts"; import type { ContentPublishingLimitResponseFields } from "./content-publishing-limit-response.ts"; import type { InsightsResultFields } from "./insights-result.ts"; import type { UnifiedThreadFields } from "./unified-thread.ts"; export interface IGUserForIGOnlyAPIFields { account_type: string; biography: string; followers_count: number; follows_count: number; id: string; media_count: number; name: string; profile_picture_url: string; user_id: number; username: string; website: string; } export interface IGUserForIGOnlyAPIListBusinessMessagingFeatureStatusParams { feature: string; [key: string]: unknown; } export interface IGUserForIGOnlyAPIListContentPublishingLimitParams { since?: string; [key: string]: unknown; } export interface IGUserForIGOnlyAPIListConversationsParams { folder?: string; platform?: string; tags?: string[]; user_id?: string; [key: string]: unknown; } export interface IGUserForIGOnlyAPIListInsightsParams { breakdown?: string[]; metric: string[]; metric_type?: string; period: string[]; since?: string; timeframe?: string; until?: string; [key: string]: unknown; } export interface IGUserForIGOnlyAPIListMediaParams { since?: string; until?: string; [key: string]: unknown; } export interface IGUserForIGOnlyAPICreateMediaParams { alt_text?: string; audio_name?: string; caption?: string; children?: string[]; collaborators?: string[]; cover_url?: string; image_url?: string; is_carousel_item?: boolean; location_id?: string; media_type?: string; product_tags?: Record[]; share_to_feed?: boolean; thumb_offset?: string; trial_params?: Record; upload_type?: string; user_tags?: Record[]; video_url?: string; [key: string]: unknown; } export interface IGUserForIGOnlyAPICreateMediapublishParams { creation_id: number; [key: string]: unknown; } export interface IGUserForIGOnlyAPICreateMentionsParams { comment_id?: string; media_id: string; message: string; [key: string]: unknown; } export interface IGUserForIGOnlyAPICreateMessageattachmentsParams { message: Record; [key: string]: unknown; } export interface IGUserForIGOnlyAPICreateMessagesParams { folder?: string; message?: Record; messaging_type?: string; payload?: string; recipient?: Record; reply_to?: Record; sender_action?: string; tag?: Record; thread_control?: Record; [key: string]: unknown; } export interface IGUserForIGOnlyAPIDeleteMessengerProfileParams { fields: string[]; [key: string]: unknown; } export interface IGUserForIGOnlyAPICreateMessengerProfileParams { ice_breakers?: Record[]; persistent_menu?: Record[]; [key: string]: unknown; } export interface IGUserForIGOnlyAPICreateSubscribedAppsParams { subscribed_fields: string[]; [key: string]: unknown; } export interface IGUserForIGOnlyAPIDeleteWelcomeMessageFlowsParams { flow_id?: string; [key: string]: unknown; } export interface IGUserForIGOnlyAPIListWelcomeMessageFlowsParams { app_id?: string; flow_id?: string; [key: string]: unknown; } export interface IGUserForIGOnlyAPICreateWelcomeMessageFlowsParams { eligible_platforms?: string[]; flow_id?: string; name?: string; welcome_message_flow?: Record[]; [key: string]: unknown; } export declare function iGUserForIGOnlyAPINode(client: ApiClient, id: string): { __path: string; __brand: IGUserForIGOnlyAPIFields; get: (opts: { fields: F; params?: Record; }) => Promise>; businessMessagingFeatureStatus: )[]>(opts: { fields: F; params?: IGUserForIGOnlyAPIListBusinessMessagingFeatureStatusParams; }) => Cursor, F[number]>>; contentPublishingLimit: (opts: { fields: F; params?: IGUserForIGOnlyAPIListContentPublishingLimitParams; }) => Cursor>; conversations: (opts: { fields: F; params?: IGUserForIGOnlyAPIListConversationsParams; }) => Cursor>; insights: (opts: { fields: F; params?: IGUserForIGOnlyAPIListInsightsParams; }) => Cursor>; liveMedia: )[]>(opts: { fields: F; params?: Record; }) => Cursor, F[number]>>; media: { __path: string; __brand: Record; list: )[]>(opts: { fields: F; params?: IGUserForIGOnlyAPIListMediaParams; }) => Cursor, F[number]>>; create: (params: IGUserForIGOnlyAPICreateMediaParams) => Promise>; }; createMediapublish: (params: IGUserForIGOnlyAPICreateMediapublishParams) => Promise>; createMention: (params: IGUserForIGOnlyAPICreateMentionsParams) => Promise>; createMessageattachment: (params: IGUserForIGOnlyAPICreateMessageattachmentsParams) => Promise>; createMessage: (params: IGUserForIGOnlyAPICreateMessagesParams) => Promise>; messengerProfile: { __path: string; __brand: Record; list: )[]>(opts: { fields: F; params?: Record; }) => Cursor, F[number]>>; create: (params: IGUserForIGOnlyAPICreateMessengerProfileParams) => Promise>; delete: (params: IGUserForIGOnlyAPIDeleteMessengerProfileParams) => Promise; }; stories: )[]>(opts: { fields: F; params?: Record; }) => Cursor, F[number]>>; subscribedApps: { __path: string; __brand: Record; list: )[]>(opts: { fields: F; params?: Record; }) => Cursor, F[number]>>; create: (params: IGUserForIGOnlyAPICreateSubscribedAppsParams) => Promise>; delete: (params?: Record) => Promise; }; tags: )[]>(opts: { fields: F; params?: Record; }) => Cursor, F[number]>>; welcomeMessageFlows: { __path: string; __brand: CTXPartnerAppWelcomeMessageFlowFields; list: (opts: { fields: F; params?: IGUserForIGOnlyAPIListWelcomeMessageFlowsParams; }) => Cursor>; create: (params: IGUserForIGOnlyAPICreateWelcomeMessageFlowsParams) => Promise>; delete: (params: IGUserForIGOnlyAPIDeleteWelcomeMessageFlowsParams) => Promise; }; }; //# sourceMappingURL=ig-user-for-ig-only-api.d.ts.map