import type { ApiClient } from "@promobase/sdk-runtime"; import { Cursor } from "@promobase/sdk-runtime"; import type { AdAccountFields } from "./ad-account.ts"; import type { BrandedContentShadowIGMediaIDFields } from "./branded-content-shadow-ig-media-id.ts"; import type { BrandedContentShadowIGUserIDFields } from "./branded-content-shadow-ig-user-id.ts"; import type { BusinessFields } from "./business.ts"; import type { ContentPublishingLimitResponseFields } from "./content-publishing-limit-response.ts"; import type { DatasetFields } from "./dataset.ts"; import type { IGBCAdsPermissionFields } from "./igbc-ads-permission.ts"; import type { IGCommentFields } from "./ig-comment.ts"; import type { IGMediaFields } from "./ig-media.ts"; import type { IGShoppingProductAppealFields } from "./ig-shopping-product-appeal.ts"; import type { IGUpcomingEventFields } from "./ig-upcoming-event.ts"; import type { IGUserExportForCAMFields } from "./ig-user-export-for-cam.ts"; import type { InstagramInsightsResultFields } from "./instagram-insights-result.ts"; import type { ShadowIGHashtagFields } from "./shadow-ig-hashtag.ts"; import type { ShadowIGScheduledMediaFields } from "./shadow-ig-scheduled-media.ts"; import type { ShadowIGUserCTXPartnerAppWelcomeMessageFlowFields } from "./shadow-ig-user-ctx-partner-app-welcome-message-flow.ts"; import type { ShadowIGUserCatalogProductSearchFields } from "./shadow-ig-user-catalog-product-search.ts"; import type { ShadowIGUserCollaborationInvitesFields } from "./shadow-ig-user-collaboration-invites.ts"; import type { ShadowIGUserCollaborativeMediaFields } from "./shadow-ig-user-collaborative-media.ts"; import type { ThreadsUserFields } from "./threads-user.ts"; import type { UserAvailableCatalogsFields } from "./user-available-catalogs.ts"; import type { UserPageOneTimeOptInTokenSettingsFields } from "./user-page-one-time-opt-in-token-settings.ts"; export interface IGUserFields { biography: string; business_discovery: IGUserFields; followers_count: number; follows_count: number; has_profile_pic: boolean; id: string; ig_id: number; is_published: boolean; legacy_instagram_user_id: string; media_count: number; mentioned_comment: IGCommentFields; mentioned_media: IGMediaFields; name: string; owner_business: BusinessFields; profile_picture_url: string; shopping_product_tag_eligibility: boolean; shopping_review_status: string; username: string; website: string; } export interface IGUserListAuthorizedAdaccountsParams { business: string; [key: string]: unknown; } export interface IGUserCreateAuthorizedAdaccountsParams { account_id: string; business: string; [key: string]: unknown; } export interface IGUserListBrandedContentAdPermissionsParams { creator_username?: string; [key: string]: unknown; } export interface IGUserCreateBrandedContentAdPermissionsParams { creator_instagram_account?: string; creator_instagram_username?: string; revoke?: boolean; [key: string]: unknown; } export interface IGUserListBrandedContentAdvertisableMediasParams { ad_code?: string; creator_username?: string; media_relationship?: string[]; only_fetch_allowlisted?: boolean; only_fetch_recommended_content?: boolean; permalinks?: string[]; [key: string]: unknown; } export interface IGUserDeleteBrandedContentTagApprovalParams { user_ids: number[]; [key: string]: unknown; } export interface IGUserListBrandedContentTagApprovalParams { user_ids: number[]; [key: string]: unknown; } export interface IGUserCreateBrandedContentTagApprovalParams { user_ids: number[]; [key: string]: unknown; } export interface IGUserCreateBusinessMessagingFeatureStatusParams { features: Record[]; [key: string]: unknown; } export interface IGUserListCatalogProductSearchParams { catalog_id: string; q?: string; [key: string]: unknown; } export interface IGUserCreateCollaborationInvitesParams { accept: boolean; media_id: string; [key: string]: unknown; } export interface IGUserListContentPublishingLimitParams { since?: string; [key: string]: unknown; } export interface IGUserListCreatorMarketplaceCreatorsParams { creator_age_bucket?: Record[]; creator_countries?: string[]; creator_follower_growth?: Record; creator_gender?: string[]; creator_interests?: Record[]; creator_latest_post_activity?: Record; creator_max_engaged_accounts?: number; creator_max_followers?: number; creator_min_engaged_accounts?: number; creator_min_followers?: number; has_public_contact_email?: boolean; major_audience_age_bucket?: Record[]; major_audience_countries?: string[]; major_audience_device_type?: Record[]; major_audience_gender?: string[]; query?: string; reels_interaction_rate?: Record; show_onboarded_creators_only?: boolean; similar_to_creators?: string[]; username?: string; usernames?: string[]; [key: string]: unknown; } export interface IGUserCreateDatasetParams { dataset_name?: string; [key: string]: unknown; } export interface IGUserListInsightsParams { breakdown?: string[]; metric: string[]; metric_type?: string; period: string[]; since?: string; timeframe?: string; until?: string; [key: string]: unknown; } export interface IGUserListLiveMediaParams { since?: string; until?: string; [key: string]: unknown; } export interface IGUserListMediaParams { since?: string; until?: string; [key: string]: unknown; } export interface IGUserCreateMediaParams { 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 IGUserCreateMediaPublishParams { creation_id: number; [key: string]: unknown; } export interface IGUserCreateMentionsParams { comment_id?: string; media_id: string; message: string; [key: string]: unknown; } export interface IGUserCreateModerateConversationsParams { actions: string[]; user_ids: Record[]; [key: string]: unknown; } export interface IGUserListProductAppealParams { product_id: string; [key: string]: unknown; } export interface IGUserCreateProductAppealParams { appeal_reason: string; product_id: string; [key: string]: unknown; } export interface IGUserCreateUpcomingEventsParams { end_time?: string; notification_subtypes?: string[]; start_time: string; title: string; [key: string]: unknown; } export interface IGUserListWelcomeMessageFlowsParams { app_id?: string; flow_id?: string; [key: string]: unknown; } export declare function iGUserNode(client: ApiClient, id: string): { __path: string; __brand: IGUserFields; get: (opts: { fields: F; params?: Record; }) => Promise>; agencies: (opts: { fields: F; params?: Record; }) => Cursor>; authorizedAdaccounts: { __path: string; __brand: AdAccountFields; list: (opts: { fields: F; params?: IGUserListAuthorizedAdaccountsParams; }) => Cursor>; create: (params: IGUserCreateAuthorizedAdaccountsParams) => Promise; }; availableCatalogs: (opts: { fields: F; params?: Record; }) => Cursor>; brandedContentAdPermissions: { __path: string; __brand: IGBCAdsPermissionFields; list: (opts: { fields: F; params?: IGUserListBrandedContentAdPermissionsParams; }) => Cursor>; create: (params: IGUserCreateBrandedContentAdPermissionsParams) => Promise; }; brandedContentAdvertisableMedias: (opts: { fields: F; params?: IGUserListBrandedContentAdvertisableMediasParams; }) => Cursor>; brandedContentTagApproval: { __path: string; __brand: BrandedContentShadowIGUserIDFields; list: (opts: { fields: F; params?: IGUserListBrandedContentTagApprovalParams; }) => Cursor>; create: (params: IGUserCreateBrandedContentTagApprovalParams) => Promise; delete: (params: IGUserDeleteBrandedContentTagApprovalParams) => Promise; }; createBusinessMessagingFeatureStatu: (params: IGUserCreateBusinessMessagingFeatureStatusParams) => Promise; catalogProductSearch: (opts: { fields: F; params?: IGUserListCatalogProductSearchParams; }) => Cursor>; collaborationInvites: { __path: string; __brand: ShadowIGUserCollaborationInvitesFields; list: (opts: { fields: F; params?: Record; }) => Cursor>; create: (params: IGUserCreateCollaborationInvitesParams) => Promise; }; collaborativeMedia: (opts: { fields: F; params?: Record; }) => Cursor>; connectedThreadsUser: (opts: { fields: F; params?: Record; }) => Cursor>; contentPublishingLimit: (opts: { fields: F; params?: IGUserListContentPublishingLimitParams; }) => Cursor>; creatorMarketplaceCreators: (opts: { fields: F; params?: IGUserListCreatorMarketplaceCreatorsParams; }) => Cursor>; dataset: { __path: string; __brand: DatasetFields; list: (opts: { fields: F; params?: Record; }) => Cursor>; create: (params: IGUserCreateDatasetParams) => Promise; }; insights: (opts: { fields: F; params?: IGUserListInsightsParams; }) => Cursor>; instagramBackedThreadsUser: { __path: string; __brand: ThreadsUserFields; list: (opts: { fields: F; params?: Record; }) => Cursor>; create: (params: Record) => Promise; }; liveMedia: (opts: { fields: F; params?: IGUserListLiveMediaParams; }) => Cursor>; media: { __path: string; __brand: IGMediaFields; list: (opts: { fields: F; params?: IGUserListMediaParams; }) => Cursor>; create: (params: IGUserCreateMediaParams) => Promise; }; createMediaPublish: (params: IGUserCreateMediaPublishParams) => Promise; createMention: (params: IGUserCreateMentionsParams) => Promise>; createModerateConversation: (params: IGUserCreateModerateConversationsParams) => Promise>; notificationMessageTokens: (opts: { fields: F; params?: Record; }) => Cursor>; productAppeal: { __path: string; __brand: IGShoppingProductAppealFields; list: (opts: { fields: F; params?: IGUserListProductAppealParams; }) => Cursor>; create: (params: IGUserCreateProductAppealParams) => Promise; }; recentlySearchedHashtags: (opts: { fields: F; params?: Record; }) => Cursor>; scheduledMedia: (opts: { fields: F; params?: Record; }) => Cursor>; stories: (opts: { fields: F; params?: Record; }) => Cursor>; tags: (opts: { fields: F; params?: Record; }) => Cursor>; upcomingEvents: { __path: string; __brand: IGUpcomingEventFields; list: (opts: { fields: F; params?: Record; }) => Cursor>; create: (params: IGUserCreateUpcomingEventsParams) => Promise>; }; welcomeMessageFlows: (opts: { fields: F; params?: IGUserListWelcomeMessageFlowsParams; }) => Cursor>; }; //# sourceMappingURL=ig-user.d.ts.map