import { PublishItemRequest as PublishItemRequest$1, PublishItemResponse as PublishItemResponse$1, PublishItemByIdRequest as PublishItemByIdRequest$1, PublishItemByIdResponse as PublishItemByIdResponse$1, CreateDraftItemRequest as CreateDraftItemRequest$1, CreateDraftItemResponse as CreateDraftItemResponse$1, PublishMultiStoryDraftRequest as PublishMultiStoryDraftRequest$1, PublishMultiStoryDraftResponse as PublishMultiStoryDraftResponse$1, GetItemRequest as GetItemRequest$1, GetItemResponse as GetItemResponse$1, GetItemsRequest as GetItemsRequest$1, GetItemsResponse as GetItemsResponse$1, QueryItemsRequest as QueryItemsRequest$1, QueryItemsResponse as QueryItemsResponse$1, CancelScheduledItemRequest as CancelScheduledItemRequest$1, CancelScheduledItemResponse as CancelScheduledItemResponse$1, UpdateItemRequest as UpdateItemRequest$1, UpdateItemResponse as UpdateItemResponse$1, RescheduleItemRequest as RescheduleItemRequest$1, RescheduleItemResponse as RescheduleItemResponse$1, DeleteItemRequest as DeleteItemRequest$1, DeleteItemResponse as DeleteItemResponse$1, BulkPublishItemsRequest as BulkPublishItemsRequest$1, BulkPublishItemsResponse as BulkPublishItemsResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; /** An item is a social media post managed through the Publisher API. An item can be a published post, a scheduled post, or a draft, as indicated by its `status`, and it targets a single connected social channel such as Instagram, Facebook, or TikTok. */ interface Item extends ItemDataOneOf { /** Instagram post content. */ instagramPost?: InstagramPost; /** Instagram story content. */ instagramStory?: InstagramStory; /** Facebook post content. */ facebookPost?: FacebookPost; /** Facebook reel content. */ facebookReel?: FacebookReel; /** Facebook story content. */ facebookStory?: FacebookStory; /** YouTube video content. */ youtubeVideo?: YouTubeVideo; /** YouTube short content. */ youtubeShort?: YouTubeShort; /** LinkedIn post content. */ linkedinPost?: LinkedinPost; /** * Deprecated: No longer functional as of July 31, 2026. * X (Twitter) post content. * @deprecated Deprecated: No longer functional as of July 31, 2026. * X (Twitter) post content. * @targetRemovalDate 2026-07-31 */ twitterPost?: TwitterPost; /** Pinterest post content. */ pinterestPost?: PinterestPost; /** Google Business Profile post content. */ gbpPost?: GbpPost; /** TikTok video content. */ tiktokVideo?: TikTokVideo; /** TikTok photo content. */ tiktokPhoto?: TikTokPhoto; /** * Item ID. * @format GUID * @readonly */ id?: string | null; /** Social channel the item is published to, and the account within that channel. */ channel?: Channel; /** * Item format. The `type` and the content set in `data` must match a combination supported by the item's `channel.name`: * * - Instagram: `POST` with `instagramPost`, or `STORY` with `instagramStory`. * - Facebook: `POST` with `facebookPost`, `REEL` with `facebookReel`, or `STORY` with `facebookStory`. * - YouTube: `VIDEO` with `youtubeVideo`, or `SHORT` with `youtubeShort`. * - LinkedIn: `POST` with `linkedinPost`. * - X (Twitter): `POST` with `twitterPost`. Deprecated: No longer functional as of July 31, 2026. * - Pinterest: `POST` with `pinterestPost`. * - Google Business Profile: `POST` with `gbpPost`. * - TikTok: `POST` with `tiktokPhoto`, or `VIDEO` with `tiktokVideo`. */ type?: ItemTypeWithLiterals; /** * Current status of the item in its lifecycle. * @readonly */ status?: StatusWithLiterals; /** * Date and time the item was published. Returned only after the item is published. * @readonly */ publishedDate?: Date | null; /** Scheduling info. Set to schedule the item for a future date instead of publishing it immediately. */ schedulingInfo?: SchedulingInfo; /** * Identifies what created the item. * * Specify `consumerInfo.name` when you create or publish an item, using one stable name for whatever is * making the call, whether that's an app, an AI agent, or a service of your own. An item created without * it is stored with an empty name, and the name can't be added later, because Update Item doesn't change * it. See * [Identifying what created an item](https://dev.wix.com/docs/api-reference/business-management/marketing/social-media/item-v1/introduction#identifying-what-created-an-item). */ consumerInfo?: ConsumerInfo; /** Caller-defined reference that uniquely identifies the item. Can be used to prevent duplicate publishing: an attempt to publish a second item with the same `referenceId` fails. Can also be used as a UTM campaign ID. */ referenceId?: string | null; /** Aggregated analytics for the site, attributed to traffic from this post. */ siteAnalytics?: SiteAnalytics; /** Summary of the post's performance on the social channel, such as impressions and interactions. */ insightsSummary?: InsightsSummary; /** Creation and update dates, returned for draft items. */ draftInfo?: DraftInfo; /** Whether the item was generated as an AI suggestion. */ suggested?: boolean; /** Whether the item is a post created natively on the social channel rather than published through Wix. */ external?: boolean; /** * Details of why the item failed to publish. Returned only when `status` is `FAILED`. * @readonly */ publicationError?: PublicationErrorDetails; /** * Reference to the site content the post promotes, such as a product, a blog post, or an event. * Set per channel. */ siteAssetRef?: AssetReference; /** * ID of the item this item was derived from, when publishing produced several items * from one. Currently set only by `PublishMultiStoryDraft`, which splits a multi-media * story draft into one published item per frame: every resulting item carries the * originating draft's ID here. Lets a consumer re-correlate the new items with whatever * it had recorded against the original draft, which no longer exists after the split. * Set by the publisher, never by the caller. * @format GUID * @readonly */ originItemId?: string | null; } /** @oneof */ interface ItemDataOneOf { /** Instagram post content. */ instagramPost?: InstagramPost; /** Instagram story content. */ instagramStory?: InstagramStory; /** Facebook post content. */ facebookPost?: FacebookPost; /** Facebook reel content. */ facebookReel?: FacebookReel; /** Facebook story content. */ facebookStory?: FacebookStory; /** YouTube video content. */ youtubeVideo?: YouTubeVideo; /** YouTube short content. */ youtubeShort?: YouTubeShort; /** LinkedIn post content. */ linkedinPost?: LinkedinPost; /** * Deprecated: No longer functional as of July 31, 2026. * X (Twitter) post content. * @deprecated Deprecated: No longer functional as of July 31, 2026. * X (Twitter) post content. * @targetRemovalDate 2026-07-31 */ twitterPost?: TwitterPost; /** Pinterest post content. */ pinterestPost?: PinterestPost; /** Google Business Profile post content. */ gbpPost?: GbpPost; /** TikTok video content. */ tiktokVideo?: TikTokVideo; /** TikTok photo content. */ tiktokPhoto?: TikTokPhoto; } /** Supported social channel. */ declare enum ChannelName { INSTAGRAM = "INSTAGRAM", FACEBOOK = "FACEBOOK", YOUTUBE = "YOUTUBE", LINKEDIN = "LINKEDIN", /** Deprecated: No longer functional as of July 31, 2026. */ TWITTER = "TWITTER", PINTEREST = "PINTEREST", /** Google Business Profile. */ GBP = "GBP", TIKTOK = "TIKTOK" } /** @enumType */ type ChannelNameWithLiterals = ChannelName | 'INSTAGRAM' | 'FACEBOOK' | 'YOUTUBE' | 'LINKEDIN' | 'TWITTER' | 'PINTEREST' | 'GBP' | 'TIKTOK'; interface PublishingTarget { /** * ID of the publishing target. * @maxLength 128 */ id?: string | null; /** * Display name of the publishing target. * @maxLength 2000 */ displayName?: string | null; /** * URL of the publishing target's picture. * @format WEB_URL */ pictureUrl?: string | null; } declare enum ConsumerType { METASITE = "METASITE" } /** @enumType */ type ConsumerTypeWithLiterals = ConsumerType | 'METASITE'; /** Type of site asset. */ declare enum Type { /** A Wix Blog post. */ BLOG_POST = "BLOG_POST", /** A Wix Events event. */ EVENT = "EVENT", /** A Wix Stores product. */ STORES_PRODUCT = "STORES_PRODUCT", /** A Wix Bookings service. */ BOOKINGS_SERVICE = "BOOKINGS_SERVICE", /** A Wix Stores coupon. */ STORES_COUPON = "STORES_COUPON", /** A Wix Stores category. */ STORES_CATEGORY = "STORES_CATEGORY" } /** @enumType */ type TypeWithLiterals = Type | 'BLOG_POST' | 'EVENT' | 'STORES_PRODUCT' | 'BOOKINGS_SERVICE' | 'STORES_COUPON' | 'STORES_CATEGORY'; interface ItemAutomation extends ItemAutomationTriggerOneOf, ItemAutomationActionOneOf { /** Triggered by a comment on the post. */ commentTrigger?: CommentTrigger; /** Sends the commenter an automated private reply. */ sendPrivateReply?: SendPrivateReplyAction; /** Posts an automated public reply in the comment's thread. */ replyToComment?: ReplyToCommentAction; /** Whether the automation is active. */ enabled?: boolean; } /** @oneof */ interface ItemAutomationTriggerOneOf { /** Triggered by a comment on the post. */ commentTrigger?: CommentTrigger; } /** @oneof */ interface ItemAutomationActionOneOf { /** Sends the commenter an automated private reply. */ sendPrivateReply?: SendPrivateReplyAction; /** Posts an automated public reply in the comment's thread. */ replyToComment?: ReplyToCommentAction; } interface CommentTrigger { /** * The automation fires when a comment contains any of these phrases (case-insensitive). * @maxSize 20 * @maxLength 200 */ phrases?: string[]; } interface SendPrivateReplyAction { /** * Message text of the private reply. * @maxLength 2000 */ message?: string | null; } interface ReplyToCommentAction { /** * Message text of the public reply. * @maxLength 2000 */ message?: string | null; } interface Channel { /** Social channel the item is published to. */ name?: ChannelNameWithLiterals; /** ID of the connected account the item is published to. */ accountId?: string | null; /** * Display name of the connected account the item is published to. * @readonly */ accountName?: string | null; /** * ID of the post on the social channel. Returned after the item is published. * @readonly */ externalItemId?: string | null; /** * URL of the post on the social channel. Returned after the item is published. * @readonly * @format WEB_URL */ externalItemUrl?: string | null; /** Specific destination within the account, such as a Facebook page or a Pinterest board. */ publishingTarget?: PublishingTarget; } /** Item format. */ declare enum ItemType { /** A standard post. */ POST = "POST", /** A short-form vertical video reel. */ REEL = "REEL", /** A video. */ VIDEO = "VIDEO", /** A short-form vertical video. */ SHORT = "SHORT", /** A story that's available for a limited time. */ STORY = "STORY" } /** @enumType */ type ItemTypeWithLiterals = ItemType | 'POST' | 'REEL' | 'VIDEO' | 'SHORT' | 'STORY'; /** Status of an item in its lifecycle. */ declare enum Status { /** Published to the social channel. */ PUBLISHED = "PUBLISHED", /** Scheduled to be published at a future date. */ SCHEDULED = "SCHEDULED", /** Scheduling was canceled before the item was published. */ CANCELED = "CANCELED", /** Publishing failed. */ FAILED = "FAILED", /** Deleted. */ DELETED = "DELETED", /** Publishing is in progress. */ PROCESSING = "PROCESSING", /** Saved as a draft, not yet published. */ DRAFT = "DRAFT", /** Queued for publishing as part of a bulk operation. */ IN_QUEUE = "IN_QUEUE" } /** @enumType */ type StatusWithLiterals = Status | 'PUBLISHED' | 'SCHEDULED' | 'CANCELED' | 'FAILED' | 'DELETED' | 'PROCESSING' | 'DRAFT' | 'IN_QUEUE'; interface SchedulingInfo { /** Date and time the item is scheduled to be published. */ scheduledDate?: Date | null; /** * Date and time the item was scheduled. * @readonly */ schedulingTimestamp?: Date | null; } interface ConsumerInfo { /** * Stable name identifying what created the item, for example `social-marketing` for * the Social Media Marketing dashboard. Use the same name across every call the caller makes, so * that its items can be told apart from items created elsewhere on the site. Set on creation only. * Update Item ignores it. */ name?: string | null; } interface InstagramPost extends InstagramPostUrlOneOf { /** The image URL. */ imageUrl?: string | null; /** The video URL. */ videoUrl?: string | null; /** The media list. */ mediaWrapper?: MediaWrapper; /** * Caption for the post. Can include hashtags (for example, `#crazywildebeest`) and mentions of Instagram users (for example, `@natgeo`). Mentioned users are notified when the post is published. Supports up to 30 hashtags and 20 mentions. * @maxLength 2200 */ caption?: string | null; /** * The post URL on Instagram. * @readonly */ postUrl?: string | null; /** * Insights from Instagram. * @readonly */ insights?: InstagramInsights; } /** @oneof */ interface InstagramPostUrlOneOf { /** The image URL. */ imageUrl?: string | null; /** The video URL. */ videoUrl?: string | null; /** The media list. */ mediaWrapper?: MediaWrapper; } interface MediaWrapper { /** List of media items. */ media?: Media[]; } interface Media { /** Media type. */ type?: MediaTypeWithLiterals; /** * Media URL. * @format WEB_URL */ url?: string | null; /** * Media Manager file ID backing the media. Available only when the media is stored in the Media Manager. * @maxLength 1000 */ fileId?: string | null; } declare enum MediaType { IMAGE = "IMAGE", VIDEO = "VIDEO" } /** @enumType */ type MediaTypeWithLiterals = MediaType | 'IMAGE' | 'VIDEO'; interface InstagramInsights { /** Number of likes. */ likes?: number; /** Number of engagements. */ engagement?: number; /** Number of impressions. */ impressions?: number; /** Number of plays. */ plays?: number; /** Number of accounts reached. */ reach?: number; /** Number of comments. */ comments?: number; /** Number of shares. */ shares?: number; /** Number of saves. */ saved?: number; /** Total number of interactions. */ totalInteractions?: number; } interface InstagramStory { /** * The story URL on Instagram. * @readonly * @format WEB_URL */ storyUrl?: string | null; /** The media list. */ mediaWrapper?: MediaWrapper; /** * insights data from Instagram. * @readonly */ insights?: InstagramStoryInsights; } interface InstagramStoryInsights { /** Number of impressions. */ impressions?: number; /** Number of accounts reached. */ reach?: number; /** Number of replies. */ replies?: number; } interface FacebookPost extends FacebookPostUrlOneOf { /** The image URL. */ imageUrl?: string | null; /** The video URL. */ videoUrl?: string | null; /** The link URL. */ link?: string | null; /** The media list. */ mediaWrapper?: MediaWrapper; /** The page ID to publish the post to. */ pageId?: string | null; /** Caption for the post. */ caption?: string | null; /** * The post URL on Facebook. * @readonly */ postUrl?: string | null; /** Link preview metadata. Available only when the post contains a link. */ linkMetadata?: LinkMetadata; /** * Insights from Facebook. * @readonly */ insights?: FacebookInsights; } /** @oneof */ interface FacebookPostUrlOneOf { /** The image URL. */ imageUrl?: string | null; /** The video URL. */ videoUrl?: string | null; /** The link URL. */ link?: string | null; /** The media list. */ mediaWrapper?: MediaWrapper; } interface LinkMetadata { /** Thumbnail URL for the link preview. */ thumbnailUrl?: string | null; /** Title for the link preview. */ title?: string | null; /** Description for the link preview. */ description?: string | null; } interface FacebookInsights { /** Impression counts. */ impressions?: FacebookImpressions; /** Interaction counts. */ interactions?: FacebookInteractions; /** Reaction counts. */ reactions?: FacebookReactions; /** Activity counts. */ activity?: FacebokActivity; /** Date and time the insights were last updated. */ updatedDate?: Date | null; } interface FacebookImpressions { /** Number of unique impressions. */ unique?: number; /** Total number of impressions. */ total?: number; } interface FacebookInteractions { /** Number of unique interactions. */ unique?: number; /** Total number of interactions. */ total?: number; } interface FacebookReactions { /** Number of "like" reactions. */ like?: number; /** Number of "love" reactions. */ love?: number; /** Number of "wow" reactions. */ wow?: number; /** Number of "haha" reactions. */ haha?: number; /** Number of "sad" reactions. */ sad?: number; /** Number of "angry" reactions. */ anger?: number; } interface FacebokActivity { /** Number of shares. */ share?: number; /** Number of likes. */ like?: number; /** Number of comments. */ comment?: number; } interface FacebookReel { /** The page ID to publish the reel to. */ pageId?: string | null; /** The video URL. */ videoUrl?: string | null; /** A description for the reel. */ description?: string | null; /** * Insights from Facebook. * @readonly */ insights?: FacebookInsights; /** The media list. */ mediaWrapper?: MediaWrapper; } interface FacebookStory { /** * The page ID to publish the story to. * @maxLength 1024 */ pageId?: string | null; /** * The story URL on Facebook. * @readonly * @format WEB_URL */ storyUrl?: string | null; /** The media list. */ mediaWrapper?: MediaWrapper; /** * Insights from Facebook. * @readonly */ insights?: FacebookInsights; } interface YouTubeVideo { /** The channel ID to publish the video to. */ channelId?: string | null; /** The video URL. */ videoUrl?: string | null; /** A title for the video. */ title?: string | null; /** A description for the video. */ description?: string | null; /** A category for the video. */ categoryId?: string | null; /** Whether to notify channel subscribers when the video is published. */ notifySubscribers?: boolean; /** * Insights data from YouTube. * @readonly */ insights?: YoutubeInsights; /** The media list. */ mediaWrapper?: MediaWrapper; } interface YoutubeInsights { /** Number of views. */ views?: number; /** Number of comments. */ comments?: number; /** Number of likes. */ likes?: number; /** Number of dislikes. */ dislikes?: number; /** Number of shares. */ shares?: number; /** Date and time the insights were last updated. */ updatedDate?: Date | null; } interface YouTubeShort { /** The channel ID to publish the short to. */ channelId?: string | null; /** The short URL. */ videoUrl?: string | null; /** A title for the short. */ title?: string | null; /** A description for the short. */ description?: string | null; /** A category for the short. */ categoryId?: string | null; /** Whether to notify channel subscribers when the short is published. */ notifySubscribers?: boolean; /** * Insights data from YouTube. * @readonly */ insights?: YoutubeInsights; /** The media list. */ mediaWrapper?: MediaWrapper; } interface LinkedinPost extends LinkedinPostUrlOneOf { /** The image URL. */ imageUrl?: string | null; /** The video URL. */ videoUrl?: string | null; /** The link URL. */ link?: string | null; /** The media list. */ mediaWrapper?: MediaWrapper; /** Author ID of the post. Can be an organization page or a personal feed. */ authorId?: string | null; /** Caption for the post. */ caption?: string | null; /** Link preview metadata. Available only when the post contains a link. */ linkMetadata?: LinkMetadata; /** * Insights from LinkedIn. * @readonly */ insights?: LinkedinPostInsights; } /** @oneof */ interface LinkedinPostUrlOneOf { /** The image URL. */ imageUrl?: string | null; /** The video URL. */ videoUrl?: string | null; /** The link URL. */ link?: string | null; /** The media list. */ mediaWrapper?: MediaWrapper; } interface LinkedinPostInsights { /** Number of unique impressions. */ uniqueImpressions?: number; /** Total number of impressions. */ impression?: number; /** Number of shares. */ shares?: number; /** Engagement rate. */ engagement?: number; /** Number of clicks. */ clicks?: number; /** Number of likes. */ likes?: number; /** Number of comments. */ comments?: number; /** Date and time the insights were last updated. */ updatedDate?: Date | null; } /** Deprecated: No longer functional as of July 31, 2026. */ interface TwitterPost extends TwitterPostUrlOneOf { /** The image URL. */ imageUrl?: string | null; /** The video URL. */ videoUrl?: string | null; /** The link URL. */ link?: string | null; /** The media list. */ mediaWrapper?: MediaWrapper; /** Caption for the post. */ caption?: string | null; /** Link preview metadata. Available only when the post contains a link. */ linkMetadata?: LinkMetadata; /** * Insights from X (Twitter). * @readonly */ insights?: TwitterInsights; } /** @oneof */ interface TwitterPostUrlOneOf { /** The image URL. */ imageUrl?: string | null; /** The video URL. */ videoUrl?: string | null; /** The link URL. */ link?: string | null; /** The media list. */ mediaWrapper?: MediaWrapper; } /** Deprecated: No longer functional as of July 31, 2026. */ interface TwitterInsights { /** Number of retweets. */ retweets?: number; /** Number of replies. */ replies?: number; /** Number of likes. */ likes?: number; /** Number of quote posts. */ quotes?: number; /** Number of bookmarks. */ bookmarks?: number; /** Number of impressions. */ impressions?: number; /** Date and time the insights were last updated. */ updatedDate?: Date | null; } interface PinterestPost { /** * The board ID to publish the post to. * @maxLength 128 */ boardId?: string | null; /** * The title of the post. * @maxLength 100 */ title?: string | null; /** * The description of the post. * @maxLength 800 */ description?: string | null; /** * The link to include in the post. * @maxLength 2048 */ link?: string | null; /** The media list. */ mediaWrapper?: MediaWrapper; /** * Insights from Pinterest. * @readonly */ insights?: PinterestInsights; } interface PinterestInsights { /** Number of impressions. */ impressions?: number; /** Number of clicks. */ clicks?: number; /** Number of saves. */ saves?: number; /** Number of comments. */ comments?: number; /** Number of reactions. */ reactions?: number; /** Date and time the insights were last updated. */ updatedDate?: Date | null; } interface GbpPost { /** * The location ID to publish the post to. * @maxLength 128 */ locationId?: string | null; /** * Account (group) ID of the location. * @maxLength 128 */ locationAccountId?: string | null; /** * The description of the post. * @maxLength 1500 */ description?: string | null; /** Call to action type and URL to include in the post. */ callToAction?: GbpPostCallToAction; /** The media list. */ mediaWrapper?: MediaWrapper; /** * Insights from Google Business Profile. * @readonly */ insights?: GbpInsights; } interface GbpPostCallToAction { /** Type of the call to action. */ actionType?: GbpPostCallToActionTypeWithLiterals; /** * URL of the call to action. * @maxLength 2048 */ url?: string | null; } /** Type of call to action button shown on the post. */ declare enum GbpPostCallToActionType { BOOK = "BOOK", ORDER = "ORDER", SHOP = "SHOP", LEARN_MORE = "LEARN_MORE", SIGN_UP = "SIGN_UP" } /** @enumType */ type GbpPostCallToActionTypeWithLiterals = GbpPostCallToActionType | 'BOOK' | 'ORDER' | 'SHOP' | 'LEARN_MORE' | 'SIGN_UP'; interface GbpInsights { /** Number of shares. Google Business Profile post insights aren't currently available, so this returns `-1`. */ shares?: number; /** Date and time the insights were last updated. */ updatedDate?: Date | null; } interface TikTokVideo { /** * The account ID to publish the video to. * @maxLength 128 */ accountId?: string | null; /** Privacy level for the video. */ privacyLevel?: TikTokPrivacyLevelWithLiterals; /** * A description for the video. * @maxLength 2200 */ description?: string | null; /** Whether comments are disabled for the video. */ disableComment?: boolean; /** Whether duets are disabled for the video. */ disableDuet?: boolean; /** Whether stitches are disabled for the video. */ disableStitch?: boolean; /** Whether the content is a paid partnership promoting a third-party business. */ brandContentToggle?: boolean; /** Whether the content promotes the creator's own business. */ brandOrganicToggle?: boolean; /** The media list. */ mediaWrapper?: MediaWrapper; /** * Insights from TikTok. * @readonly */ insights?: TikTokInsights; } declare enum TikTokPrivacyLevel { PUBLIC_TO_EVERYONE = "PUBLIC_TO_EVERYONE", FOLLOWER_OF_CREATOR = "FOLLOWER_OF_CREATOR", MUTUAL_FOLLOW_FRIENDS = "MUTUAL_FOLLOW_FRIENDS", SELF_ONLY = "SELF_ONLY" } /** @enumType */ type TikTokPrivacyLevelWithLiterals = TikTokPrivacyLevel | 'PUBLIC_TO_EVERYONE' | 'FOLLOWER_OF_CREATOR' | 'MUTUAL_FOLLOW_FRIENDS' | 'SELF_ONLY'; interface TikTokInsights { /** Number of views. */ views?: number; /** Number of likes. */ likes?: number; /** Number of comments. */ comments?: number; /** Number of shares. */ shares?: number; /** Date and time the insights were last updated. */ updatedDate?: Date | null; } interface TikTokPhoto { /** * The account ID to publish the photo to. * @maxLength 128 */ accountId?: string | null; /** Privacy level for the photo. */ privacyLevel?: TikTokPrivacyLevelWithLiterals; /** * A title for the photo. * @maxLength 90 */ title?: string | null; /** * A description for the photo. * @maxLength 4000 */ description?: string | null; /** Whether comments are disabled for the photo. */ disableComment?: boolean; /** Whether to automatically add music to the photo. */ autoAddMusic?: boolean; /** Whether the content is a paid partnership promoting a third-party business. */ brandContentToggle?: boolean; /** Whether the content promotes the creator's own business. */ brandOrganicToggle?: boolean; /** The media list. */ mediaWrapper?: MediaWrapper; /** * Insights from TikTok. * @readonly */ insights?: TikTokInsights; } interface SiteAnalytics { /** Number of site sessions attributed to this post. */ traffic?: number; /** Number of page views attributed to this post. */ pageView?: number; /** Site bounce rate attributed to this post. */ siteBounceRate?: number; /** Revenue attributed to this post. */ revenue?: number; /** Conversion funnel data attributed to this post. */ conversionFunnel?: ConversionFunnel; /** Date and time the insights were last updated. */ updatedDate?: Date | null; } interface ConversionFunnel { /** Number of sessions that viewed the cart. */ cartViewsSessions?: number; /** Number of sessions that reached checkout. */ checkOutSessions?: number; /** Number of sessions that placed a store order. */ storeOrdersSessions?: number; /** Number of confirmed bookings. */ bookingsConfirmed?: number; } interface InsightsSummary { /** Number of unique impressions (reach). */ impressions?: number; /** Number of interactions, such as likes and comments. */ interactions?: number; /** Date and time the insights were last updated. */ updatedDate?: Date | null; /** Total number of impressions. */ impressionsTotal?: number; } interface DraftInfo { /** * Date and time the draft was created. * @readonly */ createdDate?: Date | null; /** * Date and time the draft was updated. * @readonly */ updatedDate?: Date | null; } interface PublicationErrorDetails { /** * Error message shown when publishing fails. * @readonly * @maxLength 500 */ message?: string | null; } interface AssetReference { /** Type of the site asset (for example, product or blog post). See `SiteAsset.Type` for the closed set of values. */ siteAssetRefType?: TypeWithLiterals; /** * ID of the asset within its provider's data store. * @maxLength 256 */ id?: string | null; /** * Display name of the asset (for example, the product title or blog post title), cached at post-creation time. * @maxLength 3000 */ name?: string; } interface ItemAutomationsWrapper { /** * Automations on the item. * @maxSize 10 */ automations?: ItemAutomation[]; } interface PublishItemRequest { /** Item to publish. */ item?: Item; itemExtras?: ItemExtras; } interface ItemExtras { /** * Where the user began the flow to open the publisher. For example, `stores.product-list`. * @maxLength 100 */ userOrigin?: string | null; } interface PublishItemResponse { /** Published item. */ item?: Item; } /** Triggered when publishing starts for an item. */ interface ItemPublishStarted { /** Item being published. */ item?: Item; } /** Triggered when an item is successfully published to its social channel. */ interface ItemPublished { /** Published item. */ item?: Item; } /** Triggered when an item fails to publish to its social channel. */ interface ItemPublishFailed { /** Item that failed to publish. See `publicationError` for the reason. */ item?: Item; } /** Triggered when an item is scheduled to be published at a future date. */ interface ItemPublishScheduled { /** Scheduled item. */ item?: Item; } interface PublishItemByIdRequest { /** * ID of the item to publish. * @format GUID */ id: string | null; /** Date and time to publish the item. If omitted, the item is published immediately. */ scheduledDate?: Date | null; } interface PublishItemByIdResponse { /** Published item. */ item?: Item; } interface CreateDraftItemRequest { /** Item to create as a draft. */ item?: Item; itemExtras?: ItemExtras; } interface CreateDraftItemResponse { /** Created draft item. */ item?: Item; } /** GetOrCreateWixelBindingByFileRequest */ interface GetOrCreateWixelBindingByFileRequest { /** * Publisher draft id that owns the media file * @format GUID */ draftId?: string; /** * Media Manager file id to open in Wixel * @maxLength 1000 */ fileId?: string; } /** GetOrCreateWixelBindingByFileResponse */ interface GetOrCreateWixelBindingByFileResponse { /** * Wixel editor URL with the bound asset selected * @format WEB_URL */ url?: string; /** * Wixel binding id * @format GUID */ bindingId?: string | null; /** * Wixel asset id * @format GUID */ assetId?: string | null; /** * Wixel project id * @format GUID */ projectId?: string | null; } /** PublishDraftRequest */ interface PublishDraftRequest { /** * The draft item id to publish * @format GUID */ id?: string; } /** PublishDraftResponse */ interface PublishDraftResponse { /** The published item */ item?: Item; } /** PublishMultiStoryDraftRequest */ interface PublishMultiStoryDraftRequest { /** * ID of the multi-story draft to publish. * @format GUID */ id: string; /** Scheduling info applied to all story items. If set, the story items are scheduled instead of published immediately. */ schedulingInfo?: SchedulingInfo; } /** PublishMultiStoryDraftResponse */ interface PublishMultiStoryDraftResponse { /** Results, one per story item handled in this call, in story order. Story items already published by a previous call aren't included. */ results?: BulkItemsResult[]; /** Bulk action metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface BulkItemsResult { /** Metadata for the individual item's publish result. */ itemMetadata?: ItemMetadata; /** Published item. Returned only when `returnEntity` is `true` in the request. */ item?: Item; } interface ItemMetadata { /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */ id?: string | null; /** Index of the item within the request array. Allows for correlation between request and response items. */ originalIndex?: number; /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */ success?: boolean; /** Details about the error in case of failure. */ error?: ApplicationError; } interface ApplicationError { /** Error code. */ code?: string; /** Description of the error. */ description?: string; /** Data related to the error. */ data?: Record | null; } interface BulkActionMetadata { /** Number of items that were successfully processed. */ totalSuccesses?: number; /** Number of items that couldn't be processed. */ totalFailures?: number; /** Number of failures without details because detailed failure threshold was exceeded. */ undetailedFailures?: number; } /** isEligibleForSchedulingRequest */ interface IsEligibleForSchedulingRequest { } /** isEligibleForSchedulingResponse */ interface IsEligibleForSchedulingResponse { isEligible?: boolean; reason?: SchedulingRestrictedReasonWithLiterals; } declare enum SchedulingRestrictedReason { NO_SOCIAL_POSTS_SCHEDULING = "NO_SOCIAL_POSTS_SCHEDULING" } /** @enumType */ type SchedulingRestrictedReasonWithLiterals = SchedulingRestrictedReason | 'NO_SOCIAL_POSTS_SCHEDULING'; interface GetItemRequest { /** * ID of the item to retrieve. * @format GUID */ id: string; } interface GetItemResponse { /** Retrieved item. */ item?: Item; } interface GetItemsRequest { /** * IDs of the items to retrieve. * @maxSize 100 * @format GUID */ ids: string[]; } interface GetItemsResponse { /** Retrieved items. */ items?: Item[]; } interface QueryItemsRequest { /** Query options, including paging, filtering, and sorting. */ query: Query; } interface Query { /** * Filter object in the following format: * `"filter" : { * "fieldName1": "value1", * "fieldName2":{"$operator":"value2"} * }` * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains` */ filter?: any; /** * Sort object in the following format: * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]` */ sort?: Sorting[]; /** Paging options to limit and skip the number of items. */ paging?: Paging; /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */ fields?: string[]; /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */ fieldsets?: string[]; } interface Sorting { /** * Name of the field to sort by. * @maxLength 512 */ fieldName?: string; /** Sort order. */ order?: SortOrderWithLiterals; /** * Origin point for geo-distance sorting on a GEO field * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first). */ origin?: AddressLocation; } declare enum SortOrder { ASC = "ASC", DESC = "DESC" } /** @enumType */ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC'; interface AddressLocation { /** Address latitude. */ latitude?: number | null; /** Address longitude. */ longitude?: number | null; } interface Paging { /** Number of items to load. */ limit?: number | null; /** Number of items to skip in the current sort order. */ offset?: number | null; } interface QueryItemsResponse { /** Retrieved items. */ items?: Item[]; /** Paging metadata. */ metadata?: PagingMetadata; } interface PagingMetadata { /** Number of items returned in the response. */ count?: number | null; /** Offset that was requested. */ offset?: number | null; /** Total number of items that match the query. */ total?: number | null; /** Flag that indicates the server failed to calculate the `total` field. */ tooManyToCount?: boolean | null; } interface CancelScheduledItemRequest { /** * ID of the scheduled item to cancel. * @format GUID */ id: string; } interface CancelScheduledItemResponse { /** Canceled item. */ item?: Item; } interface UpdateItemRequest { /** Item to update. */ item: Item; } interface UpdateItemResponse { /** Updated item. */ item?: Item; } interface RescheduleItemRequest { /** * ID of the scheduled item to reschedule. * @format GUID */ id: string | null; /** Date and time to publish the item. If omitted, the item is published immediately. */ scheduledDate?: Date | null; } interface RescheduleItemResponse { /** Rescheduled item. */ item?: Item; } /** DeleteItemRequest */ interface DeleteItemRequest { /** @format GUID */ id: string; } /** DeleteItemResponse */ interface DeleteItemResponse { } interface BulkPublishItemsRequest { /** * Items to publish. * @minSize 1 * @maxSize 20 */ items: Item[]; /** Policy that determines how items are published when one of them fails. */ policy?: BulkPublishItemsPolicyWithLiterals; /** Scheduling info applied to all items. If set, the items are scheduled instead of published immediately. */ schedulingInfo?: SchedulingInfo; itemExtras?: ItemExtras; /** * Whether to return the published items in the response. * * Default: `false` */ returnEntity?: boolean; } /** Policy that determines how items are published when one of them fails. */ declare enum BulkPublishItemsPolicy { /** Publish all items, regardless of whether individual items fail. */ CONCURRENT = "CONCURRENT", /** Stop publishing remaining items as soon as one item fails. */ SEQUENTIAL_STOP_ON_FAIL = "SEQUENTIAL_STOP_ON_FAIL" } /** @enumType */ type BulkPublishItemsPolicyWithLiterals = BulkPublishItemsPolicy | 'CONCURRENT' | 'SEQUENTIAL_STOP_ON_FAIL'; interface BulkPublishItemsResponse { /** * Results of the bulk publish, one per item, in the order they were sent. * @minSize 1 * @maxSize 20 */ results?: BulkItemsResult[]; /** Bulk action metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface DomainEvent extends DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; /** Event ID. With this ID you can easily spot duplicated events and ignore them. */ id?: string; /** * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities. * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`. */ entityFqdn?: string; /** * Event action name, placed at the top level to make it easier for users to dispatch messages. * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`. */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number. * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; } interface EntityCreatedEvent { entityAsJson?: string; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo; } interface RestoreInfo { deletedDate?: Date | null; } interface EntityUpdatedEvent { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; } interface EntityDeletedEvent { /** Entity that was deleted. */ deletedEntityAsJson?: string | null; } interface ActionEvent { bodyAsJson?: string; } interface MessageEnvelope { /** * App instance ID. * @format GUID */ instanceId?: string | null; /** * Event type. * @maxLength 150 */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData; /** Stringify payload. */ data?: string; /** Details related to the account */ accountInfo?: AccountInfo; } interface IdentificationData extends IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; /** @readonly */ identityType?: WebhookIdentityTypeWithLiterals; } /** @oneof */ interface IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; } declare enum WebhookIdentityType { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** @enumType */ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP'; interface AccountInfo { /** * ID of the Wix account associated with the event. * @format GUID */ accountId?: string | null; /** * ID of the parent Wix account. Only included when accountId belongs to a child account. * @format GUID */ parentAccountId?: string | null; /** * ID of the Wix site associated with the event. Only included when the event is tied to a specific site. * @format GUID */ siteId?: string | null; } /** @docsIgnore */ type PublishItemApplicationErrors = { code?: 'REFERENCE_ID_ALREADY_EXIST'; description?: string; data?: Record; } | { code?: 'INELIGIBLE_FOR_FEATURE'; description?: string; data?: Record; } | { code?: 'PUBLISH_LIMIT_EXCEEDED'; description?: string; data?: Record; }; /** @docsIgnore */ type PublishItemByIdApplicationErrors = { code?: 'REFERENCE_ID_ALREADY_EXIST'; description?: string; data?: Record; } | { code?: 'INELIGIBLE_FOR_FEATURE'; description?: string; data?: Record; } | { code?: 'PUBLISH_LIMIT_EXCEEDED'; description?: string; data?: Record; } | { code?: 'MULTI_STORY_PUBLISH_NOT_SUPPORTED'; description?: string; data?: Record; }; /** @docsIgnore */ type PublishMultiStoryDraftApplicationErrors = { code?: 'NOT_MULTI_STORY_DRAFT'; description?: string; data?: Record; } | { code?: 'INELIGIBLE_FOR_FEATURE'; description?: string; data?: Record; }; /** @docsIgnore */ type CancelScheduledItemApplicationErrors = { code?: 'SCHEDULED_ITEM_ALREADY_CANCELED'; description?: string; data?: Record; } | { code?: 'SCHEDULED_ITEM_ALREADY_PUBLISHED'; description?: string; data?: Record; } | { code?: 'SCHEDULED_ITEM_ALREADY_DELETED'; description?: string; data?: Record; }; /** @docsIgnore */ type UpdateItemApplicationErrors = { code?: 'ITEM_NOT_EXISTS'; description?: string; data?: Record; } | { code?: 'SCHEDULED_ITEM_DATE_CHANGED'; description?: string; data?: Record; }; /** @docsIgnore */ type RescheduleItemApplicationErrors = { code?: 'ITEM_NOT_EXISTS'; description?: string; data?: Record; } | { code?: 'ITEM_IS_PUBLISHED'; description?: string; data?: Record; } | { code?: 'ITEM_IS_DELETED'; description?: string; data?: Record; } | { code?: 'INELIGIBLE_FOR_FEATURE'; description?: string; data?: Record; }; /** @docsIgnore */ type DeleteItemApplicationErrors = { code?: 'ITEM_IS_DELETED'; description?: string; data?: Record; } | { code?: 'ITEM_NOT_EXISTS'; description?: string; data?: Record; }; /** @docsIgnore */ type BulkPublishItemsApplicationErrors = { code?: 'INELIGIBLE_FOR_FEATURE'; description?: string; data?: Record; }; type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function publishItem(): __PublicMethodMetaInfo<'POST', {}, PublishItemRequest$1, PublishItemRequest, PublishItemResponse$1, PublishItemResponse>; declare function publishItemById(): __PublicMethodMetaInfo<'POST', {}, PublishItemByIdRequest$1, PublishItemByIdRequest, PublishItemByIdResponse$1, PublishItemByIdResponse>; declare function createDraftItem(): __PublicMethodMetaInfo<'POST', {}, CreateDraftItemRequest$1, CreateDraftItemRequest, CreateDraftItemResponse$1, CreateDraftItemResponse>; declare function publishMultiStoryDraft(): __PublicMethodMetaInfo<'POST', {}, PublishMultiStoryDraftRequest$1, PublishMultiStoryDraftRequest, PublishMultiStoryDraftResponse$1, PublishMultiStoryDraftResponse>; declare function getItem(): __PublicMethodMetaInfo<'GET', { id: string; }, GetItemRequest$1, GetItemRequest, GetItemResponse$1, GetItemResponse>; declare function getItems(): __PublicMethodMetaInfo<'GET', {}, GetItemsRequest$1, GetItemsRequest, GetItemsResponse$1, GetItemsResponse>; declare function queryItems(): __PublicMethodMetaInfo<'POST', {}, QueryItemsRequest$1, QueryItemsRequest, QueryItemsResponse$1, QueryItemsResponse>; declare function cancelScheduledItem(): __PublicMethodMetaInfo<'PATCH', { id: string; }, CancelScheduledItemRequest$1, CancelScheduledItemRequest, CancelScheduledItemResponse$1, CancelScheduledItemResponse>; declare function updateItem(): __PublicMethodMetaInfo<'PATCH', { itemId: string; }, UpdateItemRequest$1, UpdateItemRequest, UpdateItemResponse$1, UpdateItemResponse>; declare function rescheduleItem(): __PublicMethodMetaInfo<'POST', { id: string; }, RescheduleItemRequest$1, RescheduleItemRequest, RescheduleItemResponse$1, RescheduleItemResponse>; declare function deleteItem(): __PublicMethodMetaInfo<'DELETE', { id: string; }, DeleteItemRequest$1, DeleteItemRequest, DeleteItemResponse$1, DeleteItemResponse>; declare function bulkPublishItems(): __PublicMethodMetaInfo<'POST', {}, BulkPublishItemsRequest$1, BulkPublishItemsRequest, BulkPublishItemsResponse$1, BulkPublishItemsResponse>; export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type ApplicationError as ApplicationErrorOriginal, type AssetReference as AssetReferenceOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkItemsResult as BulkItemsResultOriginal, type BulkPublishItemsApplicationErrors as BulkPublishItemsApplicationErrorsOriginal, BulkPublishItemsPolicy as BulkPublishItemsPolicyOriginal, type BulkPublishItemsPolicyWithLiterals as BulkPublishItemsPolicyWithLiteralsOriginal, type BulkPublishItemsRequest as BulkPublishItemsRequestOriginal, type BulkPublishItemsResponse as BulkPublishItemsResponseOriginal, type CancelScheduledItemApplicationErrors as CancelScheduledItemApplicationErrorsOriginal, type CancelScheduledItemRequest as CancelScheduledItemRequestOriginal, type CancelScheduledItemResponse as CancelScheduledItemResponseOriginal, ChannelName as ChannelNameOriginal, type ChannelNameWithLiterals as ChannelNameWithLiteralsOriginal, type Channel as ChannelOriginal, type CommentTrigger as CommentTriggerOriginal, type ConsumerInfo as ConsumerInfoOriginal, ConsumerType as ConsumerTypeOriginal, type ConsumerTypeWithLiterals as ConsumerTypeWithLiteralsOriginal, type ConversionFunnel as ConversionFunnelOriginal, type CreateDraftItemRequest as CreateDraftItemRequestOriginal, type CreateDraftItemResponse as CreateDraftItemResponseOriginal, type DeleteItemApplicationErrors as DeleteItemApplicationErrorsOriginal, type DeleteItemRequest as DeleteItemRequestOriginal, type DeleteItemResponse as DeleteItemResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DraftInfo as DraftInfoOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type FacebokActivity as FacebokActivityOriginal, type FacebookImpressions as FacebookImpressionsOriginal, type FacebookInsights as FacebookInsightsOriginal, type FacebookInteractions as FacebookInteractionsOriginal, type FacebookPost as FacebookPostOriginal, type FacebookPostUrlOneOf as FacebookPostUrlOneOfOriginal, type FacebookReactions as FacebookReactionsOriginal, type FacebookReel as FacebookReelOriginal, type FacebookStory as FacebookStoryOriginal, type GbpInsights as GbpInsightsOriginal, type GbpPostCallToAction as GbpPostCallToActionOriginal, GbpPostCallToActionType as GbpPostCallToActionTypeOriginal, type GbpPostCallToActionTypeWithLiterals as GbpPostCallToActionTypeWithLiteralsOriginal, type GbpPost as GbpPostOriginal, type GetItemRequest as GetItemRequestOriginal, type GetItemResponse as GetItemResponseOriginal, type GetItemsRequest as GetItemsRequestOriginal, type GetItemsResponse as GetItemsResponseOriginal, type GetOrCreateWixelBindingByFileRequest as GetOrCreateWixelBindingByFileRequestOriginal, type GetOrCreateWixelBindingByFileResponse as GetOrCreateWixelBindingByFileResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InsightsSummary as InsightsSummaryOriginal, type InstagramInsights as InstagramInsightsOriginal, type InstagramPost as InstagramPostOriginal, type InstagramPostUrlOneOf as InstagramPostUrlOneOfOriginal, type InstagramStoryInsights as InstagramStoryInsightsOriginal, type InstagramStory as InstagramStoryOriginal, type IsEligibleForSchedulingRequest as IsEligibleForSchedulingRequestOriginal, type IsEligibleForSchedulingResponse as IsEligibleForSchedulingResponseOriginal, type ItemAutomationActionOneOf as ItemAutomationActionOneOfOriginal, type ItemAutomation as ItemAutomationOriginal, type ItemAutomationTriggerOneOf as ItemAutomationTriggerOneOfOriginal, type ItemAutomationsWrapper as ItemAutomationsWrapperOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemExtras as ItemExtrasOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type ItemPublishFailed as ItemPublishFailedOriginal, type ItemPublishScheduled as ItemPublishScheduledOriginal, type ItemPublishStarted as ItemPublishStartedOriginal, type ItemPublished as ItemPublishedOriginal, ItemType as ItemTypeOriginal, type ItemTypeWithLiterals as ItemTypeWithLiteralsOriginal, type LinkMetadata as LinkMetadataOriginal, type LinkedinPostInsights as LinkedinPostInsightsOriginal, type LinkedinPost as LinkedinPostOriginal, type LinkedinPostUrlOneOf as LinkedinPostUrlOneOfOriginal, type Media as MediaOriginal, MediaType as MediaTypeOriginal, type MediaTypeWithLiterals as MediaTypeWithLiteralsOriginal, type MediaWrapper as MediaWrapperOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type PagingMetadata as PagingMetadataOriginal, type Paging as PagingOriginal, type PinterestInsights as PinterestInsightsOriginal, type PinterestPost as PinterestPostOriginal, type PublicationErrorDetails as PublicationErrorDetailsOriginal, type PublishDraftRequest as PublishDraftRequestOriginal, type PublishDraftResponse as PublishDraftResponseOriginal, type PublishItemApplicationErrors as PublishItemApplicationErrorsOriginal, type PublishItemByIdApplicationErrors as PublishItemByIdApplicationErrorsOriginal, type PublishItemByIdRequest as PublishItemByIdRequestOriginal, type PublishItemByIdResponse as PublishItemByIdResponseOriginal, type PublishItemRequest as PublishItemRequestOriginal, type PublishItemResponse as PublishItemResponseOriginal, type PublishMultiStoryDraftApplicationErrors as PublishMultiStoryDraftApplicationErrorsOriginal, type PublishMultiStoryDraftRequest as PublishMultiStoryDraftRequestOriginal, type PublishMultiStoryDraftResponse as PublishMultiStoryDraftResponseOriginal, type PublishingTarget as PublishingTargetOriginal, type QueryItemsRequest as QueryItemsRequestOriginal, type QueryItemsResponse as QueryItemsResponseOriginal, type Query as QueryOriginal, type ReplyToCommentAction as ReplyToCommentActionOriginal, type RescheduleItemApplicationErrors as RescheduleItemApplicationErrorsOriginal, type RescheduleItemRequest as RescheduleItemRequestOriginal, type RescheduleItemResponse as RescheduleItemResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type SchedulingInfo as SchedulingInfoOriginal, SchedulingRestrictedReason as SchedulingRestrictedReasonOriginal, type SchedulingRestrictedReasonWithLiterals as SchedulingRestrictedReasonWithLiteralsOriginal, type SendPrivateReplyAction as SendPrivateReplyActionOriginal, type SiteAnalytics as SiteAnalyticsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type TikTokInsights as TikTokInsightsOriginal, type TikTokPhoto as TikTokPhotoOriginal, TikTokPrivacyLevel as TikTokPrivacyLevelOriginal, type TikTokPrivacyLevelWithLiterals as TikTokPrivacyLevelWithLiteralsOriginal, type TikTokVideo as TikTokVideoOriginal, type TwitterInsights as TwitterInsightsOriginal, type TwitterPost as TwitterPostOriginal, type TwitterPostUrlOneOf as TwitterPostUrlOneOfOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UpdateItemApplicationErrors as UpdateItemApplicationErrorsOriginal, type UpdateItemRequest as UpdateItemRequestOriginal, type UpdateItemResponse as UpdateItemResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type YouTubeShort as YouTubeShortOriginal, type YouTubeVideo as YouTubeVideoOriginal, type YoutubeInsights as YoutubeInsightsOriginal, type __PublicMethodMetaInfo, bulkPublishItems, cancelScheduledItem, createDraftItem, deleteItem, getItem, getItems, publishItem, publishItemById, publishMultiStoryDraft, queryItems, rescheduleItem, updateItem };