IGPAPI
    Preparing search index...

    Variable PostingBuildersConst

    PostingBuilders: {
        album: {
            photo: (
                input: AlbumPhotoUploadInput,
            ) => {
                metadata: () => {
                    edits: {
                        crop_center: number[];
                        crop_original_size: number[];
                        crop_zoom: number;
                    };
                    extra: { source_height: number; source_width: number };
                    internal_features: "coauthor_post" | undefined;
                    invite_coauthor_user_id: string | undefined;
                    invite_coauthor_user_ids: string[] | undefined;
                    product_tags: string | undefined;
                    source_type: string;
                    upload_id: string;
                    usertags: string | undefined;
                    xsharing_user_ids: string;
                };
                upload: Effect<
                    void,
                    IgApiError
                    | RequestError
                    | ParseError
                    | TransportError,
                    PlainJsonApiHttp,
                >;
            };
            video: (
                input: AlbumVideoUploadInput,
            ) => {
                metadata: () => {
                    internal_features: "coauthor_post"
                    | undefined;
                    invite_coauthor_user_id: string | undefined;
                    invite_coauthor_user_ids: string[] | undefined;
                    product_tags: string | undefined;
                    source_type: string;
                    upload_id: string;
                    usertags: string | undefined;
                };
                upload: Effect<
                    void,
                    IgApiError
                    | RequestError
                    | ParseError
                    | TransportError,
                    PlainJsonApiHttp,
                >;
            };
        };
        story: {
            dm: {
                photo: (
                    input: StoryUploaderDmPhotoInput,
                ) => {
                    execute: () => Effect<
                        { attachment_fbid: any; upload_id: string },
                        TransportError,
                        Transport,
                    >;
                    mediaType: () => string;
                    queryString: () => Record<string, string | number | boolean> | undefined;
                    sourceType: () => string;
                    uploadId: () => string;
                };
                video: (
                    input: StoryUploaderDmVideoInput,
                ) => {
                    execute: () => Effect<
                        { attachment_fbid: any },
                        TransportError,
                        Transport,
                    >;
                    mediaType: () => string;
                    queryString: () => { video: number };
                    sourceType: () => string;
                    uploadId: () => `${string}-${string}-${string}-${string}-${string}`;
                };
            };
            tray: {
                photo: (
                    input: StoryUploaderTrayPhotoInput,
                ) => {
                    execute: () => Effect<
                        { upload_id: string },
                        IgApiError | RequestError | ParseError | TransportError,
                        PlainJsonApiHttp,
                    >;
                    mediaType: () => string;
                    queryString: () => Record<string, string | number | boolean> | undefined;
                    sourceType: () => string;
                    uploadId: () => string;
                };
                video: (
                    input: StoryUploaderTrayVideoInput,
                ) => {
                    execute: () => Effect<
                        { upload_id: string },
                        IgApiError | RequestError | ParseError | TransportError,
                        PlainJsonApiHttp,
                    >;
                    mediaType: () => string;
                    queryString: () => { video: number };
                    sourceType: () => string;
                    uploadId: () => string;
                };
            };
        };
    } = ...

    Pure builder functions — no Effect context required to construct them. Each returns a workflow object { upload: Effect, metadata: () => ... } the caller orchestrates (upload the file, then feed metadata into posting.configure or equivalent).

    Type Declaration

    • album: {
          photo: (
              input: AlbumPhotoUploadInput,
          ) => {
              metadata: () => {
                  edits: {
                      crop_center: number[];
                      crop_original_size: number[];
                      crop_zoom: number;
                  };
                  extra: { source_height: number; source_width: number };
                  internal_features: "coauthor_post" | undefined;
                  invite_coauthor_user_id: string | undefined;
                  invite_coauthor_user_ids: string[] | undefined;
                  product_tags: string | undefined;
                  source_type: string;
                  upload_id: string;
                  usertags: string | undefined;
                  xsharing_user_ids: string;
              };
              upload: Effect<
                  void,
                  IgApiError
                  | RequestError
                  | ParseError
                  | TransportError,
                  PlainJsonApiHttp,
              >;
          };
          video: (
              input: AlbumVideoUploadInput,
          ) => {
              metadata: () => {
                  internal_features: "coauthor_post"
                  | undefined;
                  invite_coauthor_user_id: string | undefined;
                  invite_coauthor_user_ids: string[] | undefined;
                  product_tags: string | undefined;
                  source_type: string;
                  upload_id: string;
                  usertags: string | undefined;
              };
              upload: Effect<
                  void,
                  IgApiError
                  | RequestError
                  | ParseError
                  | TransportError,
                  PlainJsonApiHttp,
              >;
          };
      }
    • story: {
          dm: {
              photo: (
                  input: StoryUploaderDmPhotoInput,
              ) => {
                  execute: () => Effect<
                      { attachment_fbid: any; upload_id: string },
                      TransportError,
                      Transport,
                  >;
                  mediaType: () => string;
                  queryString: () => Record<string, string | number | boolean> | undefined;
                  sourceType: () => string;
                  uploadId: () => string;
              };
              video: (
                  input: StoryUploaderDmVideoInput,
              ) => {
                  execute: () => Effect<
                      { attachment_fbid: any },
                      TransportError,
                      Transport,
                  >;
                  mediaType: () => string;
                  queryString: () => { video: number };
                  sourceType: () => string;
                  uploadId: () => `${string}-${string}-${string}-${string}-${string}`;
              };
          };
          tray: {
              photo: (
                  input: StoryUploaderTrayPhotoInput,
              ) => {
                  execute: () => Effect<
                      { upload_id: string },
                      IgApiError | RequestError | ParseError | TransportError,
                      PlainJsonApiHttp,
                  >;
                  mediaType: () => string;
                  queryString: () => Record<string, string | number | boolean> | undefined;
                  sourceType: () => string;
                  uploadId: () => string;
              };
              video: (
                  input: StoryUploaderTrayVideoInput,
              ) => {
                  execute: () => Effect<
                      { upload_id: string },
                      IgApiError | RequestError | ParseError | TransportError,
                      PlainJsonApiHttp,
                  >;
                  mediaType: () => string;
                  queryString: () => { video: number };
                  sourceType: () => string;
                  uploadId: () => string;
              };
          };
      }