add Ai Plan addAiPlan : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string ; id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { accounts : string [] ; options ?: { allow_images ?: boolean ; gallery_uploads ?: string [] ; language ?: string ; max_images ?: number ; publish_days ?: number [] ; shared ?: boolean ; timezone ?: string ; tone ?: string ; use_organization_context ?: boolean ; week_start ?: string ; } ; prompt : string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { ai_plan : { _id : string ; accounts : string [] ; attempts : number ; creation_date : string ; credits_spent : number ; error ?: { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; generation_end_date ?: string ; id_client : string ; id_organization : string ; keycloak_identifier ?: string ; options : { allow_images : boolean ; gallery_uploads : string [] ; language : string ; max_images ?: number ; publish_days : number [] ; shared : boolean ; timezone : string ; tone ?: string ; use_organization_context : boolean ; week_start : string ; } ; orchestrator_result ?: Record < string , never > ; organization_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; prompt : string ; publications : ( | string | { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : ...; cover_image ?: ...; cover_offset ?: ...; creation_date : ...; file_externals : ...; file_format : ...; file_properties : ...; file_type : ...; id_organization : ...; is_temporal : ...; name : ...; public_path : ...; } [] ; id_account : | string | { _id : ...; creation_date : ...; error_code : ...; followers_count ?: ...; id_client : ...; id_organization : ...; image ?: ...; name : ...; next_comments_update ?: ...; next_stats_update ?: ...; private_message_link ?: ...; social_network : ...; username ?: ...; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: ...; comments ?: ...; engagement ?: ...; followers ?: ...; followers_gained ?: ...; impressions ?: ...; likes ?: ...; profile_views ?: ...; reach ?: ...; saves ?: ...; shares ?: ...; video_views ?: ...; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : ...; data ?: ...; message : ... } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: ...; bookmarks ?: ...; clicks ?: ...; comments ?: ...; engagement ?: ...; follows ?: ...; hahas ?: ...; impressions ?: ...; likes ?: ...; loves ?: ...; negative_feedback ?: ...; page_likes ?: ...; playback_0_count ?: ...; playback_100_count ?: ...; playback_25_count ?: ...; playback_50_count ?: ...; playback_75_count ?: ...; profile_activity ?: ...; profile_visits ?: ...; quotes ?: ...; reach ?: ...; replys ?: ...; retwets ?: ...; saved ?: ...; share ?: ...; shareMentions ?: ...; shares ?: ...; sorrys ?: ...; url_link_clicks ?: ...; user_profile_clicks ?: ...; video_views ?: ...; views ?: ...; wows ?: ...; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } )[] ; state : | "pending" | "generating" | "generated" | "validated" | "failed" | "cancelled" ; } ; estimate : { available_credits : number ; base_cost : number ; estimated_cost : number ; images_target : number ; texts_target : number ; } ; estimated_cost : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
add Integration addIntegration : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : | { code : string ; provider : "google_drive" } | { auto_publish ?: boolean ; id_accounts : string [] ; import_image ?: boolean ; provider : "rss" ; publication_type ?: string ; template ?: string ; url : string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { integration : { _id : string ; config : { auto_publish ?: boolean ; id_accounts ?: string [] ; import_image ?: boolean ; last_checked ?: string ; publication_type ?: string ; seen_guids ?: string [] ; template ?: string ; url ?: string ; } ; connected : boolean ; creation_date : string ; enabled : boolean ; error_code ?: null | number ; external_identifier ?: string ; id_client : string ; id_organization : string ; last_used_date ?: string ; name : string ; provider : "google_drive" | "rss" ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
add Parent Organization addParentOrganization : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; name : string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { organization : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: (...) | (...); client_id ?: (...) | (...); has_bot_token ?: (...) | (...) | (...); has_client_secret ?: (...) | (...) | (...); verified_date ?: (...) | (...); } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
Type declaration parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string } ; query ?: undefined ; } Optionalcookie ?: undefined Optionalheader ?: undefined path : { id_client : string } Optionalquery ?: undefined requestBody : { content : { "application/json" : { actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; name : string ; } ; } ; } responses : { "200" : { content : { "application/json" : { organization : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: (...) | (...); client_id ?: (...) | (...); has_bot_token ?: (...) | (...) | (...); has_client_secret ?: (...) | (...) | (...); verified_date ?: (...) | (...); } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } 200 : { content : { "application/json" : { organization : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: (...) | (...); client_id ?: (...) | (...); has_bot_token ?: (...) | (...) | (...); has_client_secret ?: (...) | (...) | (...); verified_date ?: (...) | (...); } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } 400 : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } 500 : { content ?: undefined ; headers : { [ name : string ]: unknown } } add Publication addPublication : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { files ?: string [] ; name ?: string ; publication_type ?: "profile" | "page" | "group" | "reels" | "stories" ; publish_date ?: string ; social_network ?: | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "bluesky" | "discord" ; state ?: "ready" | "withErrors" | "sended" | "draft" | "publishing" ; text ?: string ; title ?: string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { publication : { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
add Upload addUpload : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "multipart/form-data" : { file : string } } } ; responses : { "200" : { content : { "application/json" : { upload : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
add User Role addUserRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string ; id_rol : string ; id_user : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
add User To Organization Role addUserToOrganizationRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_rol : string ; id_user : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
connect Account connectAccount : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { accounts ?: { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } [] ; errorCode ?: string ; errorMsg ?: string ; redirect_uri ?: string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
create Client App createClientApp : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { allowed_domains ?: string [] ; keycloak_client_idenfifier : string ; name : string ; redirect_urls ?: string [] ; webhook_url ?: string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { client_app : { _id : string ; allowed_domains : string [] ; creation_date : string ; deleted : boolean ; deleted_date ?: string ; id_client : string ; id_user ?: string ; keycloak_client_idenfifier : string ; name : string ; redirect_urls : string [] ; webhook_url ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
create Client Role createClientRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { name : string ; permissions : ( | "client:update" | "client:read" | "client:delete" | "client_app:create" | "client_app:update" | "client_app:read" | "client_app:delete" | "client_roles:create" | "client_roles:update" | "client_roles:read" | "client_roles:delete" | "client_roles_users:read" | "client_roles_users:create" | "client_roles_users:delete" | "client_organization:create" | "client_organization:update" | "client_organization:read" | "client_organization:delete" | "client_organization_roles:read" | "client_organization_roles:create" | "client_organization_roles:update" | "client_organization_roles:delete" | "client_organization_users_roles:read" | "client_organization_users_roles:create" | "client_organization_users_roles:delete" | "client_organization_accounts:read" | "client_organization_accounts:create" | "client_organization_accounts:update" | "client_organization_accounts:delete" | "client_organization_files:read" | "client_organization_files:create" | "client_organization_files:update" | "client_organization_files:delete" | "client_organization_publications:read" | "client_organization_publications:create" | "client_organization_publications:update" | "client_organization_publications:delete" | "client_organization_publications_stats:read" | "client_organization_account_stats:read" | "client_organization_products:create" | "client_organization_products:update" | "client_organization_products:read" | "client_organization_products:delete" | "client_organization_messages:create" | "client_organization_messages:read" | "client_organization_messages:delete" | "client_organization_contacts:create" | "client_organization_contacts:read" | "client_organization_contacts:update" | "client_organization_contacts:delete" | "client_organization_ai_plans:create" | "client_organization_ai_plans:read" | "client_organization_ai_plans:update" | "client_organization_ai_plans:delete" )[] ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { rol ?: { name ?: string ; permissions ?: ( | "client:update" | "client:read" | "client:delete" | "client_app:create" | "client_app:update" | "client_app:read" | "client_app:delete" | "client_roles:create" | "client_roles:update" | "client_roles:read" | "client_roles:delete" | "client_roles_users:read" | "client_roles_users:create" | "client_roles_users:delete" | "client_organization:create" | "client_organization:update" | "client_organization:read" | "client_organization:delete" | "client_organization_roles:read" | "client_organization_roles:create" | "client_organization_roles:update" | "client_organization_roles:delete" | "client_organization_users_roles:read" | "client_organization_users_roles:create" | "client_organization_users_roles:delete" | "client_organization_accounts:read" | "client_organization_accounts:create" | "client_organization_accounts:update" | "client_organization_accounts:delete" | "client_organization_files:read" | "client_organization_files:create" | "client_organization_files:update" | "client_organization_files:delete" | "client_organization_publications:read" | "client_organization_publications:create" | "client_organization_publications:update" | "client_organization_publications:delete" | "client_organization_publications_stats:read" | "client_organization_account_stats:read" )[] ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
Type declaration parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string } ; query ?: undefined ; } Optionalcookie ?: undefined Optionalheader ?: undefined path : { id_client : string } Optionalquery ?: undefined requestBody : { content : { "application/json" : { name : string ; permissions : ( | "client:update" | "client:read" | "client:delete" | "client_app:create" | "client_app:update" | "client_app:read" | "client_app:delete" | "client_roles:create" | "client_roles:update" | "client_roles:read" | "client_roles:delete" | "client_roles_users:read" | "client_roles_users:create" | "client_roles_users:delete" | "client_organization:create" | "client_organization:update" | "client_organization:read" | "client_organization:delete" | "client_organization_roles:read" | "client_organization_roles:create" | "client_organization_roles:update" | "client_organization_roles:delete" | "client_organization_users_roles:read" | "client_organization_users_roles:create" | "client_organization_users_roles:delete" | "client_organization_accounts:read" | "client_organization_accounts:create" | "client_organization_accounts:update" | "client_organization_accounts:delete" | "client_organization_files:read" | "client_organization_files:create" | "client_organization_files:update" | "client_organization_files:delete" | "client_organization_publications:read" | "client_organization_publications:create" | "client_organization_publications:update" | "client_organization_publications:delete" | "client_organization_publications_stats:read" | "client_organization_account_stats:read" | "client_organization_products:create" | "client_organization_products:update" | "client_organization_products:read" | "client_organization_products:delete" | "client_organization_messages:create" | "client_organization_messages:read" | "client_organization_messages:delete" | "client_organization_contacts:create" | "client_organization_contacts:read" | "client_organization_contacts:update" | "client_organization_contacts:delete" | "client_organization_ai_plans:create" | "client_organization_ai_plans:read" | "client_organization_ai_plans:update" | "client_organization_ai_plans:delete" )[] ; } ; } ; } responses : { "200" : { content : { "application/json" : { rol ?: { name ?: string ; permissions ?: ( | "client:update" | "client:read" | "client:delete" | "client_app:create" | "client_app:update" | "client_app:read" | "client_app:delete" | "client_roles:create" | "client_roles:update" | "client_roles:read" | "client_roles:delete" | "client_roles_users:read" | "client_roles_users:create" | "client_roles_users:delete" | "client_organization:create" | "client_organization:update" | "client_organization:read" | "client_organization:delete" | "client_organization_roles:read" | "client_organization_roles:create" | "client_organization_roles:update" | "client_organization_roles:delete" | "client_organization_users_roles:read" | "client_organization_users_roles:create" | "client_organization_users_roles:delete" | "client_organization_accounts:read" | "client_organization_accounts:create" | "client_organization_accounts:update" | "client_organization_accounts:delete" | "client_organization_files:read" | "client_organization_files:create" | "client_organization_files:update" | "client_organization_files:delete" | "client_organization_publications:read" | "client_organization_publications:create" | "client_organization_publications:update" | "client_organization_publications:delete" | "client_organization_publications_stats:read" | "client_organization_account_stats:read" )[] ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } 200 : { content : { "application/json" : { rol ?: { name ?: string ; permissions ?: ( | "client:update" | "client:read" | "client:delete" | "client_app:create" | "client_app:update" | "client_app:read" | "client_app:delete" | "client_roles:create" | "client_roles:update" | "client_roles:read" | "client_roles:delete" | "client_roles_users:read" | "client_roles_users:create" | "client_roles_users:delete" | "client_organization:create" | "client_organization:update" | "client_organization:read" | "client_organization:delete" | "client_organization_roles:read" | "client_organization_roles:create" | "client_organization_roles:update" | "client_organization_roles:delete" | "client_organization_users_roles:read" | "client_organization_users_roles:create" | "client_organization_users_roles:delete" | "client_organization_accounts:read" | "client_organization_accounts:create" | "client_organization_accounts:update" | "client_organization_accounts:delete" | "client_organization_files:read" | "client_organization_files:create" | "client_organization_files:update" | "client_organization_files:delete" | "client_organization_publications:read" | "client_organization_publications:create" | "client_organization_publications:update" | "client_organization_publications:delete" | "client_organization_publications_stats:read" | "client_organization_account_stats:read" )[] ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } 400 : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } 500 : { content ?: undefined ; headers : { [ name : string ]: unknown } } create Contact createContact : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { extra_data ?: { address ?: string ; boolean_property ?: boolean ; boolean_property2 ?: boolean ; building ?: string | number ; city ?: string ; coords ?: number [] ; country ?: string ; country_code ?: string ; door ?: string | number ; floor ?: string | number ; number ?: string | number ; number_property ?: number ; number_property2 ?: number ; place_id ?: string ; state ?: string ; string_property ?: string ; string_property2 ?: string ; zip_code ?: string | number ; } ; name ?: string ; profile_image ?: string ; social_identifiers : { _id ?: string ; external_identifier ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" | "email" ; } [] ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { contact : { _id : string ; creation_date : string ; creator_keycloak_identifier ?: string ; extra_data ?: { address ?: string ; boolean_property ?: boolean ; boolean_property2 ?: boolean ; building ?: string | number ; city ?: string ; coords ?: number [] ; country ?: string ; country_code ?: string ; door ?: string | number ; floor ?: string | number ; number ?: string | number ; number_property ?: number ; number_property2 ?: number ; place_id ?: string ; state ?: string ; string_property ?: string ; string_property2 ?: string ; zip_code ?: string | number ; } ; id_organization : string ; last_contact_update : string ; name ?: string ; profile_image ?: string ; social_identifiers : { _id : string ; external_identifier ?: string ; last_send_date ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" | "email" ; } [] ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
create Message createMessage : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_contact : string ; id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { message_options ?: { files : ( | string | { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : ...; external_url : ...; social_network : ...; } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : (...)[] ; aspect_ratio : { text : ...; value : ... } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } )[] ; files_urls : { mime_type ?: string ; url ?: string } [] ; metaElements ?: { [ key : string ]: unknown } [] ; metaQuickReplies ?: { [ key : string ]: unknown } [] ; payload ?: string ; template_language ?: string ; template_name ?: string ; whatsappInteractive ?: { [ key : string ]: unknown } ; } ; message_type : | "simple_message" | "file_message" | "comment_message" | "publication_message" | "quick_reply_message" | "button_message" | "elements_message" | "postback_message" | "template_message" | "interactive_message" ; text ?: string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { message : { _id : string ; contact_id ?: | string | { _id : string ; creation_date : string ; creator_keycloak_identifier ?: string ; extra_data ?: { address ?: (...) | (...); boolean_property ?: (...) | (...) | (...); boolean_property2 ?: (...) | (...) | (...); building ?: (...) | (...) | (...); city ?: (...) | (...); coords ?: (...) | (...); country ?: (...) | (...); country_code ?: (...) | (...); door ?: (...) | (...) | (...); floor ?: (...) | (...) | (...); number ?: (...) | (...) | (...); number_property ?: (...) | (...); number_property2 ?: (...) | (...); place_id ?: (...) | (...); state ?: (...) | (...); string_property ?: (...) | (...); string_property2 ?: (...) | (...); zip_code ?: (...) | (...) | (...); } ; id_organization : string ; last_contact_update : string ; name ?: string ; profile_image ?: string ; social_identifiers : { _id : string ; external_identifier ?: (...) | (...); last_send_date ?: (...) | (...); social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); } [] ; } ; creation_date : string ; element_external_id ?: string ; from_contact_id ?: | string | { _id : string ; creation_date : string ; creator_keycloak_identifier ?: string ; extra_data ?: { address ?: (...) | (...); boolean_property ?: (...) | (...) | (...); boolean_property2 ?: (...) | (...) | (...); building ?: (...) | (...) | (...); city ?: (...) | (...); coords ?: (...) | (...); country ?: (...) | (...); country_code ?: (...) | (...); door ?: (...) | (...) | (...); floor ?: (...) | (...) | (...); number ?: (...) | (...) | (...); number_property ?: (...) | (...); number_property2 ?: (...) | (...); place_id ?: (...) | (...); state ?: (...) | (...); string_property ?: (...) | (...); string_property2 ?: (...) | (...); zip_code ?: (...) | (...) | (...); } ; id_organization : string ; last_contact_update : string ; name ?: string ; profile_image ?: string ; social_identifiers : { _id : string ; external_identifier ?: (...) | (...); last_send_date ?: (...) | (...); social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); } [] ; } ; id_account : string ; in_response_external_id ?: string ; in_response_to ?: string ; message_errors : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } [] ; message_options : { files : ( | string | { _id : string ; cover_image ?: (...) | (...); cover_offset ?: (...) | (...); creation_date : string ; file_externals : (...)[] ; file_format : (...) | (...) | (...) | (...) | (...); file_properties : { allowed_social_networks : ...; aspect_ratio : ...; duration : ...; height : ...; size_in_bytes : ...; width : ...; } ; file_type : (...) | (...); id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } )[] ; files_urls : { mime_type ?: string ; url ?: string } [] ; metaElements ?: { [ key : string ]: unknown } [] ; metaQuickReplies ?: { [ key : string ]: unknown } [] ; payload ?: string ; template_language ?: string ; template_name ?: string ; whatsappInteractive ?: { [ key : string ]: unknown } ; } ; message_type : | "simple_message" | "file_message" | "comment_message" | "publication_message" | "quick_reply_message" | "button_message" | "elements_message" | "postback_message" | "template_message" | "interactive_message" ; read : boolean ; text ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
create Message Template createMessageTemplate : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { [ key : string ]: unknown } } ; } ; responses : { "200" : { content : { "application/json" : { template : { [ key : string ]: unknown } } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
create Organization Inside Organization createOrganizationInsideOrganization : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; name : string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { organization : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: (...) | (...); client_id ?: (...) | (...); has_bot_token ?: (...) | (...) | (...); has_client_secret ?: (...) | (...) | (...); verified_date ?: (...) | (...); } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
Type declaration parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } Optionalcookie ?: undefined Optionalheader ?: undefined path : { id_organization : string } Optionalquery ?: undefined requestBody : { content : { "application/json" : { actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; name : string ; } ; } ; } responses : { "200" : { content : { "application/json" : { organization : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: (...) | (...); client_id ?: (...) | (...); has_bot_token ?: (...) | (...) | (...); has_client_secret ?: (...) | (...) | (...); verified_date ?: (...) | (...); } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } 200 : { content : { "application/json" : { organization : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: (...) | (...); client_id ?: (...) | (...); has_bot_token ?: (...) | (...) | (...); has_client_secret ?: (...) | (...) | (...); verified_date ?: (...) | (...); } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } 400 : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } 500 : { content ?: undefined ; headers : { [ name : string ]: unknown } } create Organization Role createOrganizationRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { name : string ; permissions : ( | "organization:create" | "organization:update" | "organization:read" | "organization:delete" | "organization_roles:create" | "organization_roles:update" | "organization_roles:read" | "organization_roles:delete" | "organization_users_roles:read" | "organization_users_roles:create" | "organization_users_roles:delete" | "accounts:create" | "accounts:update" | "accounts:read" | "accounts:delete" | "products:create" | "products:update" | "products:read" | "products:delete" | "files:create" | "files:update" | "files:read" | "files:delete" | "publications:create" | "publications:update" | "publications:read" | "publications:delete" | "account_stats:read" | "publication_stats:read" | "messages:create" | "messages:read" | "messages:delete" | "contacts:create" | "contacts:read" | "contacts:update" | "contacts:delete" | "ai_plans:create" | "ai_plans:read" | "ai_plans:update" | "ai_plans:delete" )[] ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { rol ?: { _id ?: string ; creation_date ?: string ; default ?: boolean ; id_organization ?: string ; name ?: string ; permissions ?: ( | "organization:create" | "organization:update" | "organization:read" | "organization:delete" | "organization_roles:create" | "organization_roles:update" | "organization_roles:read" | "organization_roles:delete" | "organization_users_roles:read" | "organization_users_roles:create" | "organization_users_roles:delete" | "accounts:create" | "accounts:update" | "accounts:read" | "accounts:delete" | "products:create" | "products:update" | "products:read" | "products:delete" | "files:create" | "files:update" | "files:read" | "files:delete" | "publications:create" | "publications:update" | "publications:read" | "publications:delete" | "account_stats:read" | "publication_stats:read" | "messages:create" | "messages:read" | "messages:delete" | "contacts:create" | "contacts:read" | "contacts:update" | "contacts:delete" | "ai_plans:create" | "ai_plans:read" | "ai_plans:update" | "ai_plans:delete" )[] ; total_users ?: number ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
create Product createProduct : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: { product_catalog_id ?: string } ; } ; requestBody : { content : { "application/json" : { additional_image_urls ?: string [] ; availability ?: | "pending" | "in stock" | "out of stock" | "preorder" | "available for order" | "discontinued" | "mark_as_sold" ; brand ?: string ; category ?: string ; color ?: string ; condition ?: | "new" | "refurbished" | "used" | "used_like_new" | "used_good" | "used_fair" | "cpo" | "open_box_new" ; currency : string ; description ?: string ; id ?: string ; image_url : string ; name : string ; price : number ; retailer_id : string ; url ?: string ; } & { [ key : string ]: unknown } ; } ; } ; responses : { "200" : { content : { "application/json" : { product_id : string } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
create Product Catalog createProductCatalog : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { name : string } } } ; responses : { "200" : { content : { "application/json" : { product_catalog : string } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
create Temporal Connect Token createTemporalConnectToken : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { redirect_uri ?: string ; social_network ?: | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { expires_at : string ; token : string ; url : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
delete Account deleteAccount : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
delete Ai Plan deleteAiPlan : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_ai_plan : string ; id_client : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
delete Child Organization deleteChildOrganization : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
delete Client App deleteClientApp : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_app : string ; id_client : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
delete Client Organization deleteClientOrganization : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
delete Comment deleteComment : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_comment : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
delete Contact deleteContact : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_contact : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
delete Integration deleteIntegration : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_integration : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
delete Messages By Account deleteMessagesByAccount : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
delete Message Template deleteMessageTemplate : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: { template_id ?: string ; template_name ?: string } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
delete Organization Contacts deleteOrganizationContacts : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
delete Organization Role deleteOrganizationRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_rol : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
delete Organization Social Credentials deleteOrganizationSocialCredentials : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; social_network : "discord" } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { organization : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: (...) | (...); client_id ?: (...) | (...); has_bot_token ?: (...) | (...) | (...); has_client_secret ?: (...) | (...) | (...); verified_date ?: (...) | (...); } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
delete Publication deletePublication : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_publication : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
delete Role deleteRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string ; id_rol : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
delete Upload deleteUpload : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_upload : string } ; query ?: { forceDelete ?: boolean } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
enable Account enableAccount : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { redirect_uri ?: string ; success ?: boolean } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Account getAccount : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { account : { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Account Comments getAccountComments : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: { limit ?: number ; offset ?: string } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { comments : { _id : string ; author : { external_id : string ; is_own : boolean ; name ?: string ; profile_pic ?: string ; } ; collected_date : string ; creation_date : string ; deleted : boolean ; external_id : string ; hidden : boolean ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_organization : string ; id_publication ?: | string | { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : ...; cover_image ?: ...; cover_offset ?: ...; creation_date : ...; file_externals : ...; file_format : ...; file_properties : ...; file_type : ...; id_organization : ...; is_temporal : ...; name : ...; public_path : ...; } [] ; id_account : | string | { _id : ...; creation_date : ...; error_code : ...; followers_count ?: ...; id_client : ...; id_organization : ...; image ?: ...; name : ...; next_comments_update ?: ...; next_stats_update ?: ...; private_message_link ?: ...; social_network : ...; username ?: ...; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: ...; comments ?: ...; engagement ?: ...; followers ?: ...; followers_gained ?: ...; impressions ?: ...; likes ?: ...; profile_views ?: ...; reach ?: ...; saves ?: ...; shares ?: ...; video_views ?: ...; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : ...; data ?: ...; message : ... } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: ...; bookmarks ?: ...; clicks ?: ...; comments ?: ...; engagement ?: ...; follows ?: ...; hahas ?: ...; impressions ?: ...; likes ?: ...; loves ?: ...; negative_feedback ?: ...; page_likes ?: ...; playback_0_count ?: ...; playback_100_count ?: ...; playback_25_count ?: ...; playback_50_count ?: ...; playback_75_count ?: ...; profile_activity ?: ...; profile_visits ?: ...; quotes ?: ...; reach ?: ...; replys ?: ...; retwets ?: ...; saved ?: ...; share ?: ...; shareMentions ?: ...; shares ?: ...; sorrys ?: ...; url_link_clicks ?: ...; user_profile_clicks ?: ...; video_views ?: ...; views ?: ...; wows ?: ...; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; like_count ?: number ; our_reply_external_id ?: string ; parent_external_id ?: string ; publication_external_id : string ; rating ?: number ; read : boolean ; replied : boolean ; reply_count ?: number ; social_network : | "facebook" | "instagram" | "linkedin" | "twitter" | "youtube" | "google_business" | "bluesky" | "discord" ; text : string ; } [] ; credits_consumed : number ; next_cursor ?: string ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Account Conversations Total getAccountConversationsTotal : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: { from_date ?: string ; group_by ?: "day" | "month" | "year" ; to_date ?: string ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : | { total : number } | { group : "day" | "month" | "year" ; stats : { groupValue : number ; totalConversations : number } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Account List getAccountList : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { accounts ?: string [] ; capability ?: | "comments" | "publications" | "messages" | "products" | "webhooks" | "persistent_menu" ; limit ?: number ; name ?: string ; offset ?: number ; social_network ?: ( | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" )[] ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { accounts : { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Account Publications getAccountPublications : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: { accounts ?: string [] ; from_date ?: string ; limit ?: number ; offset ?: number ; orderByPublish ?: boolean ; search ?: string ; social_network ?: ( | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" )[] ; state ?: ("ready" | "withErrors" | "sended" | "draft" | "publishing" )[] ; to_date ?: string ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { publications : { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : ...; external_url : ...; social_network : ...; } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : (...)[] ; aspect_ratio : { text : ...; value : ... } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: { [ key : ...]: ... } ; message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Account Stats getAccountStats : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: { from_date ?: string ; names ?: string [] ; to_date ?: string } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { group : "day" | "month" | "year" ; stats : { date : string ; group : "day" | "month" | "year" ; group_value : number ; name : string ; value : number ; } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Ai Plan getAiPlan : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_ai_plan : string ; id_client : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { ai_plan : { _id : string ; accounts : string [] ; attempts : number ; creation_date : string ; credits_spent : number ; error ?: { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; generation_end_date ?: string ; id_client : string ; id_organization : string ; keycloak_identifier ?: string ; options : { allow_images : boolean ; gallery_uploads : string [] ; language : string ; max_images ?: number ; publish_days : number [] ; shared : boolean ; timezone : string ; tone ?: string ; use_organization_context : boolean ; week_start : string ; } ; orchestrator_result ?: Record < string , never > ; organization_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; prompt : string ; publications : ( | string | { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : ...; cover_image ?: ...; cover_offset ?: ...; creation_date : ...; file_externals : ...; file_format : ...; file_properties : ...; file_type : ...; id_organization : ...; is_temporal : ...; name : ...; public_path : ...; } [] ; id_account : | string | { _id : ...; creation_date : ...; error_code : ...; followers_count ?: ...; id_client : ...; id_organization : ...; image ?: ...; name : ...; next_comments_update ?: ...; next_stats_update ?: ...; private_message_link ?: ...; social_network : ...; username ?: ...; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: ...; comments ?: ...; engagement ?: ...; followers ?: ...; followers_gained ?: ...; impressions ?: ...; likes ?: ...; profile_views ?: ...; reach ?: ...; saves ?: ...; shares ?: ...; video_views ?: ...; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : ...; data ?: ...; message : ... } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: ...; bookmarks ?: ...; clicks ?: ...; comments ?: ...; engagement ?: ...; follows ?: ...; hahas ?: ...; impressions ?: ...; likes ?: ...; loves ?: ...; negative_feedback ?: ...; page_likes ?: ...; playback_0_count ?: ...; playback_100_count ?: ...; playback_25_count ?: ...; playback_50_count ?: ...; playback_75_count ?: ...; profile_activity ?: ...; profile_visits ?: ...; quotes ?: ...; reach ?: ...; replys ?: ...; retwets ?: ...; saved ?: ...; share ?: ...; shareMentions ?: ...; shares ?: ...; sorrys ?: ...; url_link_clicks ?: ...; user_profile_clicks ?: ...; video_views ?: ...; views ?: ...; wows ?: ...; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } )[] ; state : | "pending" | "generating" | "generated" | "validated" | "failed" | "cancelled" ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Ai Plans getAiPlans : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string ; id_organization : string } ; query ?: { limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { ai_plans : { _id : string ; accounts : string [] ; attempts : number ; creation_date : string ; credits_spent : number ; error ?: { code : number ; data ?: { [ key : ...]: ... } ; message : string } ; generation_end_date ?: string ; id_client : string ; id_organization : string ; keycloak_identifier ?: string ; options : { allow_images : boolean ; gallery_uploads : string [] ; language : string ; max_images ?: number ; publish_days : number [] ; shared : boolean ; timezone : string ; tone ?: string ; use_organization_context : boolean ; week_start : string ; } ; orchestrator_result ?: Record < string , never > ; organization_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: (...)[] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: (...)[] ; value_proposition ?: string ; website ?: string ; } ; prompt : string ; publications : ( | string | { _id : string ; creation_date : string ; engagement_base ?: (...) | (...) | (...) | (...); external_identifier ?: (...) | (...); files : (...)[] ; id_account : (...) | (...); id_integration ?: (...) | (...); id_organization : string ; metrics ?: (...) | (...); name ?: (...) | (...); next_stats_update ?: (...) | (...); publication_errors : (...)[] ; publication_type : (...) | (...) | (...) | (...) | (...) | (...); publish_date ?: (...) | (...); retries : number ; social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); state : (...) | (...) | (...) | (...) | (...); statistics ?: (...) | (...); stats_updated_date ?: (...) | (...); text ?: (...) | (...); title ?: (...) | (...); url ?: (...) | (...); } )[] ; state : | "pending" | "generating" | "generated" | "validated" | "failed" | "cancelled" ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Allowed Aspect Ratios getAllowedAspectRatios : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { [ key : string ]: { text : string [] ; values : number [] } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Allowed Social Messages getAllowedSocialMessages : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : ( | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" )[] ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Allowed Social Publications getAllowedSocialPublications : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : ( | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" )[] ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Child Organizations getChildOrganizations : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { getUse ?: boolean ; limit ?: number ; name ?: string ; offset ?: number ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { organizations : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: (...)[] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: (...)[] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: ...; client_id ?: ...; has_bot_token ?: ...; has_client_secret ?: ...; verified_date ?: ...; } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Client getClient : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string } ; query ?: { getUse ?: boolean } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { client : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan : { current_period_end ?: string ; current_period_start ?: string ; enabled : boolean ; isEnabled : boolean ; plan_data : { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; plan_identifier : "basic" | "free" | "pro" | "custom" ; require_action ?: boolean ; status : string ; stripe_customer_id ?: string ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_settings ?: { image ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; orchestrator ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; text ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; } ; client_type ?: "personal" | "company" ; creation_date : string ; name : string ; trial_tested ?: boolean ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Client App getClientApp : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_app : string ; id_client : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { client_app : { _id : string ; allowed_domains : string [] ; creation_date : string ; deleted : boolean ; deleted_date ?: string ; id_client : string ; id_user ?: string ; keycloak_client_idenfifier : string ; name : string ; redirect_urls : string [] ; webhook_url ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Client Apps getClientApps : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string } ; query ?: { limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { client_apps : { _id : string ; allowed_domains : string [] ; creation_date : string ; deleted : boolean ; deleted_date ?: string ; id_client : string ; id_user ?: string ; keycloak_client_idenfifier : string ; name : string ; redirect_urls : string [] ; webhook_url ?: string ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Client App Secret getClientAppSecret : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_app : string ; id_client : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { secret : string } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Client Organizations getClientOrganizations : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string } ; query ?: { getUse ?: boolean ; limit ?: number ; name ?: string ; offset ?: number ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { organizations : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: (...)[] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: (...)[] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: ...; client_id ?: ...; has_bot_token ?: ...; has_client_secret ?: ...; verified_date ?: ...; } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Client Permissions getClientPermissions : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { permissions ?: ( | "client:update" | "client:read" | "client:delete" | "client_app:create" | "client_app:update" | "client_app:read" | "client_app:delete" | "client_roles:create" | "client_roles:update" | "client_roles:read" | "client_roles:delete" | "client_roles_users:read" | "client_roles_users:create" | "client_roles_users:delete" | "client_organization:create" | "client_organization:update" | "client_organization:read" | "client_organization:delete" | "client_organization_roles:read" | "client_organization_roles:create" | "client_organization_roles:update" | "client_organization_roles:delete" | "client_organization_users_roles:read" | "client_organization_users_roles:create" | "client_organization_users_roles:delete" | "client_organization_accounts:read" | "client_organization_accounts:create" | "client_organization_accounts:update" | "client_organization_accounts:delete" | "client_organization_files:read" | "client_organization_files:create" | "client_organization_files:update" | "client_organization_files:delete" | "client_organization_publications:read" | "client_organization_publications:create" | "client_organization_publications:update" | "client_organization_publications:delete" | "client_organization_publications_stats:read" | "client_organization_account_stats:read" )[] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Client Roles getClientRoles : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string } ; query ?: { limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { roles ?: { name ?: string ; permissions ?: ( | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) )[] ; } [] ; total ?: number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Clients getClients : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: { getUse ?: boolean ; limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { clients : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan : { current_period_end ?: string ; current_period_start ?: string ; enabled : boolean ; isEnabled : boolean ; plan_data : { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; plan_identifier : "basic" | "free" | "pro" | "custom" ; require_action ?: boolean ; status : string ; stripe_customer_id ?: string ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_settings ?: { image ?: | null | { api_key ?: ...; has_api_key ?: ...; model : ...; provider : ... } ; orchestrator ?: | null | { api_key ?: ...; has_api_key ?: ...; model : ...; provider : ... } ; text ?: | null | { api_key ?: ...; has_api_key ?: ...; model : ...; provider : ... } ; } ; client_type ?: "personal" | "company" ; creation_date : string ; name : string ; trial_tested ?: boolean ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Clients With Organizations getClientsWithOrganizations : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: { getUse ?: boolean ; limit ?: number ; limitOrganizations ?: number ; offset ?: number ; offsetOrganizations ?: number ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { clients : ( { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: (...) | (...); artificial_inteligence ?: (...) | (...) | (...); integrations : number ; publications : number ; space : number ; stats ?: (...) | (...) | (...); twitter_credits ?: (...) | (...); users : number ; whatsapp ?: (...) | (...) | (...); } ; actual_plan : { current_period_end ?: string ; current_period_start ?: string ; enabled : boolean ; isEnabled : boolean ; plan_data : { accounts : number ; ai_credits ?: (...) | (...); artificial_inteligence ?: (...) | (...) | (...); integrations : number ; publications : number ; space : number ; stats ?: (...) | (...) | (...); twitter_credits ?: (...) | (...); users : number ; whatsapp ?: (...) | (...) | (...); } ; plan_identifier : "basic" | "free" | "pro" | "custom" ; require_action ?: boolean ; status : string ; stripe_customer_id ?: string ; } ; actual_use ?: { accounts : number ; ai_credits ?: (...) | (...); artificial_inteligence ?: (...) | (...) | (...); integrations : number ; publications : number ; space : number ; stats ?: (...) | (...) | (...); twitter_credits ?: (...) | (...); users : number ; whatsapp ?: (...) | (...) | (...); } ; ai_settings ?: { image ?: (...) | (...) | (...); orchestrator ?: (...) | (...) | (...); text ?: (...) | (...) | (...); } ; client_type ?: "personal" | "company" ; creation_date : string ; name : string ; trial_tested ?: boolean ; } & { organizations : { _id : string ; actual_asigned ?: (...) | (...); actual_plan ?: (...) | (...); actual_use ?: (...) | (...); ai_context ?: (...) | (...); creation_date : string ; id_client : string ; name : string ; parent_organization ?: (...) | (...); social_credentials ?: (...) | (...); stats_settings ?: (...) | (...); } [] ; total : number ; } )[] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Client Users getClientUsers : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string } ; query ?: { limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { total ?: number ; users ?: { email ?: string ; firstname ?: string ; id ?: string ; lastname ?: string ; username ?: string ; } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Comment Replies getCommentReplies : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_comment : string ; id_organization : string } ; query ?: { limit ?: number ; offset ?: string } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { comments : { _id : string ; author : { external_id : string ; is_own : boolean ; name ?: string ; profile_pic ?: string ; } ; collected_date : string ; creation_date : string ; deleted : boolean ; external_id : string ; hidden : boolean ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_organization : string ; id_publication ?: | string | { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : ...; cover_image ?: ...; cover_offset ?: ...; creation_date : ...; file_externals : ...; file_format : ...; file_properties : ...; file_type : ...; id_organization : ...; is_temporal : ...; name : ...; public_path : ...; } [] ; id_account : | string | { _id : ...; creation_date : ...; error_code : ...; followers_count ?: ...; id_client : ...; id_organization : ...; image ?: ...; name : ...; next_comments_update ?: ...; next_stats_update ?: ...; private_message_link ?: ...; social_network : ...; username ?: ...; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: ...; comments ?: ...; engagement ?: ...; followers ?: ...; followers_gained ?: ...; impressions ?: ...; likes ?: ...; profile_views ?: ...; reach ?: ...; saves ?: ...; shares ?: ...; video_views ?: ...; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : ...; data ?: ...; message : ... } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: ...; bookmarks ?: ...; clicks ?: ...; comments ?: ...; engagement ?: ...; follows ?: ...; hahas ?: ...; impressions ?: ...; likes ?: ...; loves ?: ...; negative_feedback ?: ...; page_likes ?: ...; playback_0_count ?: ...; playback_100_count ?: ...; playback_25_count ?: ...; playback_50_count ?: ...; playback_75_count ?: ...; profile_activity ?: ...; profile_visits ?: ...; quotes ?: ...; reach ?: ...; replys ?: ...; retwets ?: ...; saved ?: ...; share ?: ...; shareMentions ?: ...; shares ?: ...; sorrys ?: ...; url_link_clicks ?: ...; user_profile_clicks ?: ...; video_views ?: ...; views ?: ...; wows ?: ...; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; like_count ?: number ; our_reply_external_id ?: string ; parent_external_id ?: string ; publication_external_id : string ; rating ?: number ; read : boolean ; replied : boolean ; reply_count ?: number ; social_network : | "facebook" | "instagram" | "linkedin" | "twitter" | "youtube" | "google_business" | "bluesky" | "discord" ; text : string ; } [] ; credits_consumed : number ; next_cursor ?: string ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Comments getComments : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { id_account ?: string ; id_publication ?: string ; limit ?: number ; offset ?: number ; rating ?: number [] ; search ?: string ; social_network ?: ( | "facebook" | "instagram" | "linkedin" | "twitter" | "youtube" | "google_business" | "bluesky" | "discord" )[] ; unread ?: boolean ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { comments : { _id : string ; author : { external_id : string ; is_own : boolean ; name ?: string ; profile_pic ?: string ; } ; collected_date : string ; creation_date : string ; deleted : boolean ; external_id : string ; hidden : boolean ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_organization : string ; id_publication ?: | string | { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : ...; cover_image ?: ...; cover_offset ?: ...; creation_date : ...; file_externals : ...; file_format : ...; file_properties : ...; file_type : ...; id_organization : ...; is_temporal : ...; name : ...; public_path : ...; } [] ; id_account : | string | { _id : ...; creation_date : ...; error_code : ...; followers_count ?: ...; id_client : ...; id_organization : ...; image ?: ...; name : ...; next_comments_update ?: ...; next_stats_update ?: ...; private_message_link ?: ...; social_network : ...; username ?: ...; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: ...; comments ?: ...; engagement ?: ...; followers ?: ...; followers_gained ?: ...; impressions ?: ...; likes ?: ...; profile_views ?: ...; reach ?: ...; saves ?: ...; shares ?: ...; video_views ?: ...; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : ...; data ?: ...; message : ... } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: ...; bookmarks ?: ...; clicks ?: ...; comments ?: ...; engagement ?: ...; follows ?: ...; hahas ?: ...; impressions ?: ...; likes ?: ...; loves ?: ...; negative_feedback ?: ...; page_likes ?: ...; playback_0_count ?: ...; playback_100_count ?: ...; playback_25_count ?: ...; playback_50_count ?: ...; playback_75_count ?: ...; profile_activity ?: ...; profile_visits ?: ...; quotes ?: ...; reach ?: ...; replys ?: ...; retwets ?: ...; saved ?: ...; share ?: ...; shareMentions ?: ...; shares ?: ...; sorrys ?: ...; url_link_clicks ?: ...; user_profile_clicks ?: ...; video_views ?: ...; views ?: ...; wows ?: ...; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; like_count ?: number ; our_reply_external_id ?: string ; parent_external_id ?: string ; publication_external_id : string ; rating ?: number ; read : boolean ; replied : boolean ; reply_count ?: number ; social_network : | "facebook" | "instagram" | "linkedin" | "twitter" | "youtube" | "google_business" | "bluesky" | "discord" ; text : string ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Connect Links getConnectLinks : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { redirect_uri ?: string ; social_network ?: ( | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" )[] ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { links : { authorization : { app_id ?: string ; config_id ?: string ; feature_type ?: string ; graph_version ?: string ; session_info_version ?: string ; type : "redirect" | "meta_embedded_signup" ; } ; link : string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Contact getContact : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_contact : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { contact : { _id : string ; creation_date : string ; creator_keycloak_identifier ?: string ; extra_data ?: { address ?: string ; boolean_property ?: boolean ; boolean_property2 ?: boolean ; building ?: string | number ; city ?: string ; coords ?: number [] ; country ?: string ; country_code ?: string ; door ?: string | number ; floor ?: string | number ; number ?: string | number ; number_property ?: number ; number_property2 ?: number ; place_id ?: string ; state ?: string ; string_property ?: string ; string_property2 ?: string ; zip_code ?: string | number ; } ; id_organization : string ; last_contact_update : string ; name ?: string ; profile_image ?: string ; social_identifiers : { _id : string ; external_identifier ?: string ; last_send_date ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" | "email" ; } [] ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Contacts getContacts : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { extra_data ?: { key ?: string ; value ?: unknown } [] ; limit ?: number ; offset ?: number ; search ?: string ; social_network ?: | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { contacts : { _id : string ; creation_date : string ; creator_keycloak_identifier ?: string ; extra_data ?: { address ?: string ; boolean_property ?: boolean ; boolean_property2 ?: boolean ; building ?: string | number ; city ?: string ; coords ?: (...)[] ; country ?: string ; country_code ?: string ; door ?: string | number ; floor ?: string | number ; number ?: string | number ; number_property ?: number ; number_property2 ?: number ; place_id ?: string ; state ?: string ; string_property ?: string ; string_property2 ?: string ; zip_code ?: string | number ; } ; id_organization : string ; last_contact_update : string ; name ?: string ; profile_image ?: string ; social_identifiers : { _id : string ; external_identifier ?: string ; last_send_date ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" | "email" ; } [] ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Conversations getConversations : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: { limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { conversations : { contact : { _id : string ; creation_date : string ; creator_keycloak_identifier ?: string ; extra_data ?: { address ?: (...) | (...); boolean_property ?: (...) | (...) | (...); boolean_property2 ?: (...) | (...) | (...); building ?: (...) | (...) | (...); city ?: (...) | (...); coords ?: (...) | (...); country ?: (...) | (...); country_code ?: (...) | (...); door ?: (...) | (...) | (...); floor ?: (...) | (...) | (...); number ?: (...) | (...) | (...); number_property ?: (...) | (...); number_property2 ?: (...) | (...); place_id ?: (...) | (...); state ?: (...) | (...); string_property ?: (...) | (...); string_property2 ?: (...) | (...); zip_code ?: (...) | (...) | (...); } ; id_organization : string ; last_contact_update : string ; name ?: string ; profile_image ?: string ; social_identifiers : { _id : string ; external_identifier ?: (...) | (...); last_send_date ?: (...) | (...); social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); } [] ; } ; date : string ; unread_messages : number ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Dashboard getDashboard : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { from_date ?: string ; to_date ?: string } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { account_metrics ?: { by_day : { group : null | string ; name : | "reach" | "impressions" | "followers" | "comments" | "engagement" | "likes" | "shares" | "saves" | "clicks" | "video_views" | "profile_views" | "followers_gained" ; value : number ; } [] ; by_network : { group : null | string ; name : | "reach" | "impressions" | "followers" | "comments" | "engagement" | "likes" | "shares" | "saves" | "clicks" | "video_views" | "profile_views" | "followers_gained" ; value : number ; } [] ; previous_total : { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; total : { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; } ; ai_plans ?: { by_state : { state ?: string ; total ?: number } [] ; credits_spent : number ; generated_publications : number ; last_plan ?: { _id : string ; creation_date : string ; credits_spent ?: number ; error ?: { code : ...; data ?: ...; message : ... } ; generation_end_date ?: string ; prompt ?: string ; publications ?: (...)[] ; state : | "pending" | "generating" | "generated" | "validated" | "failed" | "cancelled" ; } ; pending_validation : number ; total : number ; } ; available_blocks : { account_metrics : boolean ; ai_plans : boolean ; health : boolean ; messages : boolean ; plan_use : boolean ; publication_metrics : boolean ; publications : boolean ; } ; health ?: { accounts_with_errors ?: { _id : string ; error_code : number ; image ?: (...) | (...); name : string ; social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); username ?: (...) | (...); } [] ; publications_with_errors ?: { _id : string ; creation_date ?: (...) | (...); name ?: (...) | (...); publication_errors ?: (...) | (...); publish_date ?: (...) | (...); social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); text ?: (...) | (...); } [] ; total_drafts ?: number ; upcoming_publications ?: { _id : string ; creation_date ?: (...) | (...); name ?: (...) | (...); publication_errors ?: (...) | (...); publish_date ?: (...) | (...); social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); text ?: (...) | (...); } [] ; } ; messages ?: { unread : number } ; plan_use ?: { actual_asigned : { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use : { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; limits : { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; } ; publication_metrics ?: { by_network : { metrics ?: { clicks ?: ...; comments ?: ...; engagement ?: ...; followers ?: ...; followers_gained ?: ...; impressions ?: ...; likes ?: ...; profile_views ?: ...; reach ?: ...; saves ?: ...; shares ?: ...; video_views ?: ...; } ; publications ?: number ; social_network ?: | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; } [] ; previous_total : { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; top : { collected_date ?: string ; engagement_base ?: "reach" | "impressions" | "followers" ; id_publication : string ; metrics : { clicks ?: (...) | (...); comments ?: (...) | (...); engagement ?: (...) | (...); followers ?: (...) | (...); followers_gained ?: (...) | (...); impressions ?: (...) | (...); likes ?: (...) | (...); profile_views ?: (...) | (...); reach ?: (...) | (...); saves ?: (...) | (...); shares ?: (...) | (...); video_views ?: (...) | (...); } ; publication : { external_identifier ?: (...) | (...); files ?: (...) | (...); publication_type ?: (...) | (...); text ?: (...) | (...); title ?: (...) | (...); url ?: (...) | (...); } ; publish_date ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; } [] ; total : { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; } ; publications ?: { by_day : { day ?: (...) | (...); state ?: (...) | (...); total ?: (...) | (...); } [] ; by_network : { social_network ?: | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); total ?: (...) | (...); } [] ; by_state : { state ?: (...) | (...); total ?: (...) | (...) } [] ; published_by_day : { day ?: (...) | (...); social_network ?: | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); total ?: (...) | (...); } [] ; total : number ; } & { previous_total ?: number } ; range : { from_date : string ; previous_from_date : string ; previous_to_date : string ; to_date : string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Integration getIntegration : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_integration : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { integration : { _id : string ; config : { auto_publish ?: boolean ; id_accounts ?: string [] ; import_image ?: boolean ; last_checked ?: string ; publication_type ?: string ; seen_guids ?: string [] ; template ?: string ; url ?: string ; } ; connected : boolean ; creation_date : string ; enabled : boolean ; error_code ?: null | number ; external_identifier ?: string ; id_client : string ; id_organization : string ; last_used_date ?: string ; name : string ; provider : "google_drive" | "rss" ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Integration Connect Link getIntegrationConnectLink : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; provider : "google_drive" | "rss" } ; query ?: { redirect_uri ?: string } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { url : string } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Integration Picker Config getIntegrationPickerConfig : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_integration : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { access_token : string ; app_id : string ; developer_key : string ; expires_in : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Integration Providers getIntegrationProviders : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { providers : { accepted_formats : string [] ; config_fields : { default ?: unknown ; name : string ; options ?: (...)[] ; required ?: boolean ; type : "boolean" | "text" | "url" | "accounts" | "textarea" | "select" ; } [] ; content_feed : boolean ; file_import : boolean ; provider : "google_drive" | "rss" ; requires_oauth : boolean ; } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Integrations getIntegrations : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { limit ?: number ; offset ?: number ; provider ?: "google_drive" | "rss" ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { integrations : { _id : string ; config : { auto_publish ?: boolean ; id_accounts ?: string [] ; import_image ?: boolean ; last_checked ?: string ; publication_type ?: string ; seen_guids ?: string [] ; template ?: string ; url ?: string ; } ; connected : boolean ; creation_date : string ; enabled : boolean ; error_code ?: null | number ; external_identifier ?: string ; id_client : string ; id_organization : string ; last_used_date ?: string ; name : string ; provider : "google_drive" | "rss" ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Messages getMessages : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_contact : string ; id_organization : string } ; query ?: { limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { messages : { _id : string ; contact_id ?: | string | { _id : string ; creation_date : string ; creator_keycloak_identifier ?: string ; extra_data ?: { address ?: ...; boolean_property ?: ...; boolean_property2 ?: ...; building ?: ...; city ?: ...; coords ?: ...; country ?: ...; country_code ?: ...; door ?: ...; floor ?: ...; number ?: ...; number_property ?: ...; number_property2 ?: ...; place_id ?: ...; state ?: ...; string_property ?: ...; string_property2 ?: ...; zip_code ?: ...; } ; id_organization : string ; last_contact_update : string ; name ?: string ; profile_image ?: string ; social_identifiers : { _id : ...; external_identifier ?: ...; last_send_date ?: ...; social_network : ...; } [] ; } ; creation_date : string ; element_external_id ?: string ; from_contact_id ?: | string | { _id : string ; creation_date : string ; creator_keycloak_identifier ?: string ; extra_data ?: { address ?: ...; boolean_property ?: ...; boolean_property2 ?: ...; building ?: ...; city ?: ...; coords ?: ...; country ?: ...; country_code ?: ...; door ?: ...; floor ?: ...; number ?: ...; number_property ?: ...; number_property2 ?: ...; place_id ?: ...; state ?: ...; string_property ?: ...; string_property2 ?: ...; zip_code ?: ...; } ; id_organization : string ; last_contact_update : string ; name ?: string ; profile_image ?: string ; social_identifiers : { _id : ...; external_identifier ?: ...; last_send_date ?: ...; social_network : ...; } [] ; } ; id_account : string ; in_response_external_id ?: string ; in_response_to ?: string ; message_errors : { code : number ; data ?: { [ key : ...]: ... } ; message : string ; } [] ; message_options : { files : ( | string | { _id : ...; cover_image ?: ...; cover_offset ?: ...; creation_date : ...; file_externals : ...; file_format : ...; file_properties : ...; file_type : ...; id_organization : ...; is_temporal : ...; name : ...; public_path : ...; } )[] ; files_urls : { mime_type ?: (...) | (...); url ?: (...) | (...) } [] ; metaElements ?: { [ key : ...]: ... } [] ; metaQuickReplies ?: { [ key : ...]: ... } [] ; payload ?: string ; template_language ?: string ; template_name ?: string ; whatsappInteractive ?: { [ key : string ]: unknown } ; } ; message_type : | "simple_message" | "file_message" | "comment_message" | "publication_message" | "quick_reply_message" | "button_message" | "elements_message" | "postback_message" | "template_message" | "interactive_message" ; read : boolean ; text ?: string ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Message Templates getMessageTemplates : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: { limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { templates : { [ key : string ]: unknown } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Metric List getMetricList : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : ( | "reach" | "impressions" | "comments" | "likes" | "shares" | "saves" | "profile_views" | "page_impressions" | "page_total_actions" | "page_call_phone_clicks_logged_in_unique" | "page_get_directions_clicks_logged_in_unique" | "page_website_clicks_logged_in_unique" | "page_post_engagements" | "page_consumptions_unique" | "page_negative_feedback" | "page_negative_feedback_unique" | "page_fans_online_per_day" | "page_impressions_unique" | "page_impressions_paid" | "page_impressions_paid_unique" | "page_impressions_organic_v2" | "page_impressions_organic_unique_v2" | "page_impressions_viral" | "page_impressions_viral_unique" | "page_impressions_nonviral" | "page_impressions_nonviral_unique" | "page_posts_impressions" | "page_posts_impressions_unique" | "page_posts_impressions_paid" | "page_posts_impressions_paid_unique" | "page_posts_impressions_organic" | "page_posts_impressions_organic_unique" | "page_posts_served_impressions_organic_unique" | "page_posts_impressions_viral" | "page_posts_impressions_viral_unique" | "page_posts_impressions_nonviral" | "page_posts_impressions_nonviral_unique" | "total_interactions" | "accounts_engaged" | "replies" | "follows_and_unfollows" | "profile_links_taps" | "website_clicks" | "paidFollowers" | "organicFollowerGain" | "careersPageBannerPromoClicks" | "careersPagePromoLinksClicks" | "careersPageEmployeesClicks" | "careersPageJobsClicks" | "careersPageViewsUnique" | "careersPageViews" | "overviewPageViewsUnique" | "overviewPageViews" | "allPageViews" | "follows" | "share" | "views" )[] ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Organization getOrganization : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { getUse ?: boolean } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { organization : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: (...) | (...); client_id ?: (...) | (...); has_bot_token ?: (...) | (...) | (...); has_client_secret ?: (...) | (...) | (...); verified_date ?: (...) | (...); } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Organization Conversations Total getOrganizationConversationsTotal : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { from_date ?: string ; group_by ?: "day" | "month" | "year" ; to_date ?: string ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : | { total : number } | { group : "day" | "month" | "year" ; stats : { groupValue : number ; totalConversations : number } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Organization Limits getOrganizationLimits : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Organization Metrics getOrganizationMetrics : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { from_date ?: string ; group_by ?: "account" | "total" | "day" | "network" ; names ?: ( | "reach" | "impressions" | "followers" | "comments" | "engagement" | "likes" | "shares" | "saves" | "clicks" | "video_views" | "profile_views" | "followers_gained" )[] ; to_date ?: string ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { group_by : "account" | "total" | "day" | "network" ; range : { from_date : string ; previous_from_date : string ; previous_to_date : string ; to_date : string ; } ; stats : { group : null | string ; name : | "reach" | "impressions" | "followers" | "comments" | "engagement" | "likes" | "shares" | "saves" | "clicks" | "video_views" | "profile_views" | "followers_gained" ; value : number ; } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Organization Permissions getOrganizationPermissions : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { permissions ?: ( | "organization:create" | "organization:update" | "organization:read" | "organization:delete" | "organization_roles:create" | "organization_roles:update" | "organization_roles:read" | "organization_roles:delete" | "organization_users_roles:read" | "organization_users_roles:create" | "organization_users_roles:delete" | "accounts:create" | "accounts:update" | "accounts:read" | "accounts:delete" | "products:create" | "products:update" | "products:read" | "products:delete" | "files:create" | "files:update" | "files:read" | "files:delete" | "publications:create" | "publications:update" | "publications:read" | "publications:delete" | "account_stats:read" | "publication_stats:read" | "messages:create" | "messages:read" | "messages:delete" | "contacts:create" | "contacts:read" | "contacts:update" | "contacts:delete" | "ai_plans:create" | "ai_plans:read" | "ai_plans:update" | "ai_plans:delete" )[] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Organization Roles getOrganizationRoles : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { roles ?: { _id ?: string ; creation_date ?: string ; default ?: boolean ; id_organization ?: string ; name ?: string ; permissions ?: ( | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) )[] ; total_users ?: number ; } [] ; total ?: number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Organization Use getOrganizationUse : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { actual_asigned : { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use : { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; limits : { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Persistent Menu getPersistentMenu : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { persistent_menu ?: { call_to_actions ?: { [ key : ...]: ... } [] ; composer_input_disabled ?: boolean ; locale ?: string ; } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Product Catalogs getProductCatalogs : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: { limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { items : ( { default_image_url ?: string ; feed_count ?: number ; id ?: string ; is_catalog_segment ?: boolean ; is_local_catalog ?: boolean ; name ?: string ; product_count ?: number ; } & { [ key : string ]: unknown } )[] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Products getProducts : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: { limit ?: number ; offset ?: number ; product_catalog_id ?: string ; product_id ?: string ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { items : ( { additional_image_urls ?: string [] ; availability ?: | "pending" | "in stock" | "out of stock" | "preorder" | "available for order" | "discontinued" | "mark_as_sold" ; brand ?: string ; category ?: string ; color ?: string ; condition ?: | "new" | "refurbished" | "used" | "used_like_new" | "used_good" | "used_fair" | "cpo" | "open_box_new" ; currency : string ; description ?: string ; id ?: string ; image_url : string ; name : string ; price : number ; retailer_id : string ; url ?: string ; } & { [ key : string ]: unknown } )[] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Publication getPublication : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_publication : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { publication : { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Publication Comments getPublicationComments : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_publication : string } ; query ?: { limit ?: number ; offset ?: string } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { comments : { _id : string ; author : { external_id : string ; is_own : boolean ; name ?: string ; profile_pic ?: string ; } ; collected_date : string ; creation_date : string ; deleted : boolean ; external_id : string ; hidden : boolean ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_organization : string ; id_publication ?: | string | { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : ...; cover_image ?: ...; cover_offset ?: ...; creation_date : ...; file_externals : ...; file_format : ...; file_properties : ...; file_type : ...; id_organization : ...; is_temporal : ...; name : ...; public_path : ...; } [] ; id_account : | string | { _id : ...; creation_date : ...; error_code : ...; followers_count ?: ...; id_client : ...; id_organization : ...; image ?: ...; name : ...; next_comments_update ?: ...; next_stats_update ?: ...; private_message_link ?: ...; social_network : ...; username ?: ...; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: ...; comments ?: ...; engagement ?: ...; followers ?: ...; followers_gained ?: ...; impressions ?: ...; likes ?: ...; profile_views ?: ...; reach ?: ...; saves ?: ...; shares ?: ...; video_views ?: ...; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : ...; data ?: ...; message : ... } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: ...; bookmarks ?: ...; clicks ?: ...; comments ?: ...; engagement ?: ...; follows ?: ...; hahas ?: ...; impressions ?: ...; likes ?: ...; loves ?: ...; negative_feedback ?: ...; page_likes ?: ...; playback_0_count ?: ...; playback_100_count ?: ...; playback_25_count ?: ...; playback_50_count ?: ...; playback_75_count ?: ...; profile_activity ?: ...; profile_visits ?: ...; quotes ?: ...; reach ?: ...; replys ?: ...; retwets ?: ...; saved ?: ...; share ?: ...; shareMentions ?: ...; shares ?: ...; sorrys ?: ...; url_link_clicks ?: ...; user_profile_clicks ?: ...; video_views ?: ...; views ?: ...; wows ?: ...; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; like_count ?: number ; our_reply_external_id ?: string ; parent_external_id ?: string ; publication_external_id : string ; rating ?: number ; read : boolean ; replied : boolean ; reply_count ?: number ; social_network : | "facebook" | "instagram" | "linkedin" | "twitter" | "youtube" | "google_business" | "bluesky" | "discord" ; text : string ; } [] ; credits_consumed : number ; next_cursor ?: string ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Publication Limits getPublicationLimits : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { max_retries : number } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Publication Metrics getPublicationMetrics : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_publication : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Publications getPublications : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { accounts ?: string [] ; from_date ?: string ; limit ?: number ; offset ?: number ; orderByPublish ?: boolean ; search ?: string ; social_network ?: ( | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" )[] ; state ?: ("ready" | "withErrors" | "sended" | "draft" | "publishing" )[] ; to_date ?: string ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { publications : { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : ...; external_url : ...; social_network : ...; } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : (...)[] ; aspect_ratio : { text : ...; value : ... } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: { [ key : ...]: ... } ; message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Publications Stats getPublicationsStats : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { accounts ?: string [] ; from_date ?: string ; limit ?: number ; metric ?: | "reach" | "impressions" | "comments" | "engagement" | "likes" | "shares" | "saves" | "clicks" | "video_views" | "profile_views" ; offset ?: number ; social_network ?: string [] ; summary ?: boolean ; to_date ?: string ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { metric ?: string ; publications ?: { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: (...) | (...); cover_offset ?: (...) | (...); creation_date : string ; file_externals : (...)[] ; file_format : (...) | (...) | (...) | (...) | (...); file_properties : { allowed_social_networks : ...; aspect_ratio : ...; duration : ...; height : ...; size_in_bytes : ...; width : ...; } ; file_type : (...) | (...); id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: (...) | (...); id_client : string ; id_organization : string ; image ?: (...) | (...); name : string ; next_comments_update ?: (...) | (...); next_stats_update ?: (...) | (...); private_message_link ?: (...) | (...); social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); username ?: (...) | (...); } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: (...) | (...); comments ?: (...) | (...); engagement ?: (...) | (...); followers ?: (...) | (...); followers_gained ?: (...) | (...); impressions ?: (...) | (...); likes ?: (...) | (...); profile_views ?: (...) | (...); reach ?: (...) | (...); saves ?: (...) | (...); shares ?: (...) | (...); video_views ?: (...) | (...); } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: (...) | (...); message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: (...) | (...); bookmarks ?: (...) | (...); clicks ?: (...) | (...); comments ?: (...) | (...); engagement ?: (...) | (...); follows ?: (...) | (...); hahas ?: (...) | (...); impressions ?: (...) | (...); likes ?: (...) | (...); loves ?: (...) | (...); negative_feedback ?: (...) | (...); page_likes ?: (...) | (...); playback_0_count ?: (...) | (...); playback_100_count ?: (...) | (...); playback_25_count ?: (...) | (...); playback_50_count ?: (...) | (...); playback_75_count ?: (...) | (...); profile_activity ?: (...) | (...); profile_visits ?: (...) | (...); quotes ?: (...) | (...); reach ?: (...) | (...); replys ?: (...) | (...); retwets ?: (...) | (...); saved ?: (...) | (...); share ?: (...) | (...); shareMentions ?: (...) | (...); shares ?: (...) | (...); sorrys ?: (...) | (...); url_link_clicks ?: (...) | (...); user_profile_clicks ?: (...) | (...); video_views ?: (...) | (...); views ?: (...) | (...); wows ?: (...) | (...); } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } [] ; range ?: { from_date ?: string ; previous_from_date ?: string ; previous_to_date ?: string ; to_date ?: string ; } ; summary ?: { by_network ?: { metrics ?: (...) | (...); publications ?: (...) | (...); social_network ?: (...) | (...); } [] ; previous_total ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; total ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; } ; total ?: number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Publications Summary getPublicationsSummary : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { from_date ?: string ; to_date ?: string } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { range : { from_date : string ; previous_from_date : string ; previous_to_date : string ; to_date : string ; } ; } & { by_day : { day ?: string ; state ?: string ; total ?: number } [] ; by_network : { social_network ?: | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; total ?: number ; } [] ; by_state : { state ?: string ; total ?: number } [] ; published_by_day : { day ?: string ; social_network ?: | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; total ?: number ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Publication Stats History getPublicationStatsHistory : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_publication : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { engagement_base ?: "reach" | "impressions" | "followers" ; id_publication : string ; latest ?: { collected_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; metrics : { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; raw ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; } ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; next_stats_update ?: string ; publish_date ?: string ; series : { collected_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; metrics : { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; } [] ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Social Capabilities getSocialCapabilities : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { [ key : string ]: { comments : boolean ; messages : boolean ; persistent_menu : boolean ; products : boolean ; publications : boolean ; webhooks : boolean ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Social Comment Actions getSocialCommentActions : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { [ key : string ]: { delete_others : boolean ; delete_own : boolean ; hide : boolean ; reply : boolean ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Social Limits getSocialLimits : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { characters : { [ key : string ]: number } ; comment_characters : { [ key : string ]: number } ; max_file_size_mb : { [ key : string ]: number } ; max_post_bytes : { [ key : string ]: number } ; title_characters : { [ key : string ]: number } ; total_images : { [ key : string ]: number } ; video_duration_in_seconds : { [ key : string ]: number } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Social Networks getSocialNetworks : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : ( | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" )[] ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Social Publications getSocialPublications : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: { limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { publications : { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : ...; external_url : ...; social_network : ...; } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : (...)[] ; aspect_ratio : { text : ...; value : ... } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: { [ key : ...]: ... } ; message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } [] ; total : number ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Top Publications getTopPublications : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { from_date ?: string ; limit ?: number ; metric ?: | "reach" | "impressions" | "followers" | "comments" | "engagement" | "likes" | "shares" | "saves" | "clicks" | "video_views" | "profile_views" | "followers_gained" ; to_date ?: string ; } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { metric : | "reach" | "impressions" | "followers" | "comments" | "engagement" | "likes" | "shares" | "saves" | "clicks" | "video_views" | "profile_views" | "followers_gained" ; publications : { collected_date ?: string ; engagement_base ?: "reach" | "impressions" | "followers" ; id_publication : string ; metrics : { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; publication : { external_identifier ?: string ; files ?: { _id : ...; cover_image ?: ...; cover_offset ?: ...; creation_date : ...; file_externals : ...; file_format : ...; file_properties : ...; file_type : ...; id_organization : ...; is_temporal : ...; name : ...; public_path : ...; } [] ; publication_type ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; publish_date ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; } [] ; range : { from_date : string ; previous_from_date : string ; previous_to_date : string ; to_date : string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Total Unread Comments getTotalUnreadComments : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { total : number } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Unread Messages getUnreadMessages : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { total : number } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
get Upload getUpload : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_upload : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { upload : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Uploads getUploads : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: { limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { total : number ; uploads : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get User In Organization Role getUserInOrganizationRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { total ?: number ; users ?: { email ?: string ; firstname ?: string ; id ?: string ; lastname ?: string ; username ?: string ; } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Users In Client Role getUsersInClientRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string ; id_rol : string } ; query ?: { limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { total ?: number ; users ?: { email ?: string ; firstname ?: string ; id ?: string ; lastname ?: string ; username ?: string ; } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
get Users In Organization Role getUsersInOrganizationRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_rol : string } ; query ?: { limit ?: number ; offset ?: number } ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { total ?: number ; users ?: { email ?: string ; enabled ?: boolean ; firstname ?: string ; id ?: string ; lastname ?: string ; roles ?: { _id ?: ...; name ?: ... } [] ; username ?: string ; } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
import Uploads importUploads : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { files : { external_id : string ; mime_type ?: string ; name ?: string } [] ; id_integration : string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { errors : { code : number ; data ?: Record < string , never > ; external_id ?: string ; message : string ; name ?: string ; } [] ; uploads : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
invite Role inviteRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string ; id_rol : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { email : string } } } ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
invite User To Organization Role inviteUserToOrganizationRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_rol : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { email : string } } } ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
issue Token issueToken : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { client_id ?: string ; client_secret ?: string ; grant_type : "client_credentials" ; scope ?: string ; } ; "application/x-www-form-urlencoded" : { client_id ?: string ; client_secret ?: string ; grant_type : "client_credentials" ; scope ?: string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { access_token : string ; expires_in : number ; scope ?: string ; token_type : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { error : | "server_error" | "invalid_client" | "slow_down" | "invalid_request" | "unsupported_grant_type" ; error_description ?: string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { error : | "server_error" | "invalid_client" | "slow_down" | "invalid_request" | "unsupported_grant_type" ; error_description ?: string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "429" : { content : { "application/json" : { error : | "server_error" | "invalid_client" | "slow_down" | "invalid_request" | "unsupported_grant_type" ; error_description ?: string ; } ; } ; headers : { "Retry-After" ?: number ; [ name : string ]: unknown } ; } ; } ; }
on Comments Webhook onCommentsWebhook : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody : { content : { "application/json" : ( | { error_code : number ; field : "integration_error" ; id_integration : string ; id_organization : string ; provider : string ; } | { commentObj ?: { _id : string ; author : { external_id : string ; is_own : boolean ; name ?: string ; profile_pic ?: string ; } ; collected_date : string ; creation_date : string ; deleted : boolean ; external_id : string ; hidden : boolean ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: (...) | (...); id_client : string ; id_organization : string ; image ?: (...) | (...); name : string ; next_comments_update ?: (...) | (...); next_stats_update ?: (...) | (...); private_message_link ?: (...) | (...); social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); username ?: (...) | (...); } ; id_organization : string ; id_publication ?: | string | { _id : string ; creation_date : string ; engagement_base ?: (...) | (...) | (...) | (...); external_identifier ?: (...) | (...); files : (...)[] ; id_account : (...) | (...); id_integration ?: (...) | (...); id_organization : string ; metrics ?: (...) | (...); name ?: (...) | (...); next_stats_update ?: (...) | (...); publication_errors : (...)[] ; publication_type : (...) | (...) | (...) | (...) | (...) | (...); publish_date ?: (...) | (...); retries : number ; social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); state : (...) | (...) | (...) | (...) | (...); statistics ?: (...) | (...); stats_updated_date ?: (...) | (...); text ?: (...) | (...); title ?: (...) | (...); url ?: (...) | (...); } ; like_count ?: number ; our_reply_external_id ?: string ; parent_external_id ?: string ; publication_external_id : string ; rating ?: number ; read : boolean ; replied : boolean ; reply_count ?: number ; social_network : | "facebook" | "instagram" | "linkedin" | "twitter" | "youtube" | "google_business" | "bluesky" | "discord" ; text : string ; } ; field : | "comments" | "messages" | "new_account" | "change_state_account" | "messaging_postbacks" | "messaging_seen" | "messaging_error" ; id_account : string ; id_contact ?: string ; id_organization : string ; messageObj ?: { _id : string ; contact_id ?: | string | { _id : string ; creation_date : string ; creator_keycloak_identifier ?: (...) | (...); extra_data ?: (...) | (...); id_organization : string ; last_contact_update : string ; name ?: (...) | (...); profile_image ?: (...) | (...); social_identifiers : (...)[] ; } ; creation_date : string ; element_external_id ?: string ; from_contact_id ?: | string | { _id : string ; creation_date : string ; creator_keycloak_identifier ?: (...) | (...); extra_data ?: (...) | (...); id_organization : string ; last_contact_update : string ; name ?: (...) | (...); profile_image ?: (...) | (...); social_identifiers : (...)[] ; } ; id_account : string ; in_response_external_id ?: string ; in_response_to ?: string ; message_errors : { code : number ; data ?: (...) | (...); message : string ; } [] ; message_options : { files : ((...) | (...))[] ; files_urls : { mime_type ?: ...; url ?: ... } [] ; metaElements ?: (...)[] ; metaQuickReplies ?: (...)[] ; payload ?: string ; template_language ?: string ; template_name ?: string ; whatsappInteractive ?: { [ key : ...]: ... } ; } ; message_type : | "simple_message" | "file_message" | "comment_message" | "publication_message" | "quick_reply_message" | "button_message" | "elements_message" | "postback_message" | "template_message" | "interactive_message" ; read : boolean ; text ?: string ; } ; originalChange ?: { [ key : string ]: unknown } ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; } )[] ; } ; } ; responses : { "200" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
reconnect Integration reconnectIntegration : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_integration : string ; id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : | { code : string ; provider : "google_drive" } | { auto_publish ?: boolean ; id_accounts : string [] ; import_image ?: boolean ; provider : "rss" ; publication_type ?: string ; template ?: string ; url : string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { integration : { _id : string ; config : { auto_publish ?: boolean ; id_accounts ?: string [] ; import_image ?: boolean ; last_checked ?: string ; publication_type ?: string ; seen_guids ?: string [] ; template ?: string ; url ?: string ; } ; connected : boolean ; creation_date : string ; enabled : boolean ; error_code ?: null | number ; external_identifier ?: string ; id_client : string ; id_organization : string ; last_used_date ?: string ; name : string ; provider : "google_drive" | "rss" ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
regenerate Ai Plan Publication regenerateAiPlanPublication : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_ai_plan : string ; id_client : string ; id_organization : string ; id_publication : string ; } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { target : "image" | "text" } } ; } ; responses : { "200" : { content : { "application/json" : { credits_spent : number ; publication : { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
remove User From Organization Role removeUserFromOrganizationRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_rol : string ; id_user : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
remove User Role removeUserRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string ; id_rol : string ; id_user : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
reply Comment replyComment : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_comment : string ; id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { text : string } } } ; responses : { "200" : { content : { "application/json" : { comment : { _id : string ; author : { external_id : string ; is_own : boolean ; name ?: string ; profile_pic ?: string ; } ; collected_date : string ; creation_date : string ; deleted : boolean ; external_id : string ; hidden : boolean ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_organization : string ; id_publication ?: | string | { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: (...) | (...); cover_offset ?: (...) | (...); creation_date : string ; file_externals : (...)[] ; file_format : (...) | (...) | (...) | (...) | (...); file_properties : { allowed_social_networks : ...; aspect_ratio : ...; duration : ...; height : ...; size_in_bytes : ...; width : ...; } ; file_type : (...) | (...); id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: (...) | (...); id_client : string ; id_organization : string ; image ?: (...) | (...); name : string ; next_comments_update ?: (...) | (...); next_stats_update ?: (...) | (...); private_message_link ?: (...) | (...); social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); username ?: (...) | (...); } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: (...) | (...); comments ?: (...) | (...); engagement ?: (...) | (...); followers ?: (...) | (...); followers_gained ?: (...) | (...); impressions ?: (...) | (...); likes ?: (...) | (...); profile_views ?: (...) | (...); reach ?: (...) | (...); saves ?: (...) | (...); shares ?: (...) | (...); video_views ?: (...) | (...); } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: (...) | (...); message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: (...) | (...); bookmarks ?: (...) | (...); clicks ?: (...) | (...); comments ?: (...) | (...); engagement ?: (...) | (...); follows ?: (...) | (...); hahas ?: (...) | (...); impressions ?: (...) | (...); likes ?: (...) | (...); loves ?: (...) | (...); negative_feedback ?: (...) | (...); page_likes ?: (...) | (...); playback_0_count ?: (...) | (...); playback_100_count ?: (...) | (...); playback_25_count ?: (...) | (...); playback_50_count ?: (...) | (...); playback_75_count ?: (...) | (...); profile_activity ?: (...) | (...); profile_visits ?: (...) | (...); quotes ?: (...) | (...); reach ?: (...) | (...); replys ?: (...) | (...); retwets ?: (...) | (...); saved ?: (...) | (...); share ?: (...) | (...); shareMentions ?: (...) | (...); shares ?: (...) | (...); sorrys ?: (...) | (...); url_link_clicks ?: (...) | (...); user_profile_clicks ?: (...) | (...); video_views ?: (...) | (...); views ?: (...) | (...); wows ?: (...) | (...); } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; like_count ?: number ; our_reply_external_id ?: string ; parent_external_id ?: string ; publication_external_id : string ; rating ?: number ; read : boolean ; replied : boolean ; reply_count ?: number ; social_network : | "facebook" | "instagram" | "linkedin" | "twitter" | "youtube" | "google_business" | "bluesky" | "discord" ; text : string ; } ; credits_consumed : number ; reply : { _id : string ; author : { external_id : string ; is_own : boolean ; name ?: string ; profile_pic ?: string ; } ; collected_date : string ; creation_date : string ; deleted : boolean ; external_id : string ; hidden : boolean ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_organization : string ; id_publication ?: | string | { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: (...) | (...); cover_offset ?: (...) | (...); creation_date : string ; file_externals : (...)[] ; file_format : (...) | (...) | (...) | (...) | (...); file_properties : { allowed_social_networks : ...; aspect_ratio : ...; duration : ...; height : ...; size_in_bytes : ...; width : ...; } ; file_type : (...) | (...); id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: (...) | (...); id_client : string ; id_organization : string ; image ?: (...) | (...); name : string ; next_comments_update ?: (...) | (...); next_stats_update ?: (...) | (...); private_message_link ?: (...) | (...); social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); username ?: (...) | (...); } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: (...) | (...); comments ?: (...) | (...); engagement ?: (...) | (...); followers ?: (...) | (...); followers_gained ?: (...) | (...); impressions ?: (...) | (...); likes ?: (...) | (...); profile_views ?: (...) | (...); reach ?: (...) | (...); saves ?: (...) | (...); shares ?: (...) | (...); video_views ?: (...) | (...); } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: (...) | (...); message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: (...) | (...); bookmarks ?: (...) | (...); clicks ?: (...) | (...); comments ?: (...) | (...); engagement ?: (...) | (...); follows ?: (...) | (...); hahas ?: (...) | (...); impressions ?: (...) | (...); likes ?: (...) | (...); loves ?: (...) | (...); negative_feedback ?: (...) | (...); page_likes ?: (...) | (...); playback_0_count ?: (...) | (...); playback_100_count ?: (...) | (...); playback_25_count ?: (...) | (...); playback_50_count ?: (...) | (...); playback_75_count ?: (...) | (...); profile_activity ?: (...) | (...); profile_visits ?: (...) | (...); quotes ?: (...) | (...); reach ?: (...) | (...); replys ?: (...) | (...); retwets ?: (...) | (...); saved ?: (...) | (...); share ?: (...) | (...); shareMentions ?: (...) | (...); shares ?: (...) | (...); sorrys ?: (...) | (...); url_link_clicks ?: (...) | (...); user_profile_clicks ?: (...) | (...); video_views ?: (...) | (...); views ?: (...) | (...); wows ?: (...) | (...); } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; like_count ?: number ; our_reply_external_id ?: string ; parent_external_id ?: string ; publication_external_id : string ; rating ?: number ; read : boolean ; replied : boolean ; reply_count ?: number ; social_network : | "facebook" | "instagram" | "linkedin" | "twitter" | "youtube" | "google_business" | "bluesky" | "discord" ; text : string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
retry Ai Plan retryAiPlan : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_ai_plan : string ; id_client : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { ai_plan : { _id : string ; accounts : string [] ; attempts : number ; creation_date : string ; credits_spent : number ; error ?: { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; generation_end_date ?: string ; id_client : string ; id_organization : string ; keycloak_identifier ?: string ; options : { allow_images : boolean ; gallery_uploads : string [] ; language : string ; max_images ?: number ; publish_days : number [] ; shared : boolean ; timezone : string ; tone ?: string ; use_organization_context : boolean ; week_start : string ; } ; orchestrator_result ?: Record < string , never > ; organization_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; prompt : string ; publications : ( | string | { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : ...; cover_image ?: ...; cover_offset ?: ...; creation_date : ...; file_externals : ...; file_format : ...; file_properties : ...; file_type : ...; id_organization : ...; is_temporal : ...; name : ...; public_path : ...; } [] ; id_account : | string | { _id : ...; creation_date : ...; error_code : ...; followers_count ?: ...; id_client : ...; id_organization : ...; image ?: ...; name : ...; next_comments_update ?: ...; next_stats_update ?: ...; private_message_link ?: ...; social_network : ...; username ?: ...; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: ...; comments ?: ...; engagement ?: ...; followers ?: ...; followers_gained ?: ...; impressions ?: ...; likes ?: ...; profile_views ?: ...; reach ?: ...; saves ?: ...; shares ?: ...; video_views ?: ...; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : ...; data ?: ...; message : ... } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: ...; bookmarks ?: ...; clicks ?: ...; comments ?: ...; engagement ?: ...; follows ?: ...; hahas ?: ...; impressions ?: ...; likes ?: ...; loves ?: ...; negative_feedback ?: ...; page_likes ?: ...; playback_0_count ?: ...; playback_100_count ?: ...; playback_25_count ?: ...; playback_50_count ?: ...; playback_75_count ?: ...; profile_activity ?: ...; profile_visits ?: ...; quotes ?: ...; reach ?: ...; replys ?: ...; retwets ?: ...; saved ?: ...; share ?: ...; shareMentions ?: ...; shares ?: ...; sorrys ?: ...; url_link_clicks ?: ...; user_profile_clicks ?: ...; video_views ?: ...; views ?: ...; wows ?: ...; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } )[] ; state : | "pending" | "generating" | "generated" | "validated" | "failed" | "cancelled" ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
retry Publication retryPublication : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_publication : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { max_retries : number ; publication : { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
set Persistent Menu setPersistentMenu : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { persistent_menu ?: { call_to_actions ?: { [ key : string ]: unknown } [] ; composer_input_disabled ?: boolean ; locale ?: string ; } [] ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { persistent_menu ?: { call_to_actions ?: { [ key : ...]: ... } [] ; composer_input_disabled ?: boolean ; locale ?: string ; } [] ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
update Account updateAccount : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { name ?: string } } } ; responses : { "200" : { content : { "application/json" : { account : { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
update Ai Settings updateAiSettings : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { image ?: | null | { api_key ?: string ; has_api_key ?: boolean ; model : string ; provider : "openrouter" | "openai" | "google" | "anthropic" ; } ; orchestrator ?: | null | { api_key ?: string ; has_api_key ?: boolean ; model : string ; provider : "openrouter" | "openai" | "google" | "anthropic" ; } ; text ?: | null | { api_key ?: string ; has_api_key ?: boolean ; model : string ; provider : "openrouter" | "openai" | "google" | "anthropic" ; } ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { client : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan : { current_period_end ?: string ; current_period_start ?: string ; enabled : boolean ; isEnabled : boolean ; plan_data : { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; plan_identifier : "basic" | "free" | "pro" | "custom" ; require_action ?: boolean ; status : string ; stripe_customer_id ?: string ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_settings ?: { image ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; orchestrator ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; text ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; } ; client_type ?: "personal" | "company" ; creation_date : string ; name : string ; trial_tested ?: boolean ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
Type declaration parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string } ; query ?: undefined ; } Optionalcookie ?: undefined Optionalheader ?: undefined path : { id_client : string } Optionalquery ?: undefined requestBody : { content : { "application/json" : { image ?: | null | { api_key ?: string ; has_api_key ?: boolean ; model : string ; provider : "openrouter" | "openai" | "google" | "anthropic" ; } ; orchestrator ?: | null | { api_key ?: string ; has_api_key ?: boolean ; model : string ; provider : "openrouter" | "openai" | "google" | "anthropic" ; } ; text ?: | null | { api_key ?: string ; has_api_key ?: boolean ; model : string ; provider : "openrouter" | "openai" | "google" | "anthropic" ; } ; } ; } ; } responses : { "200" : { content : { "application/json" : { client : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan : { current_period_end ?: string ; current_period_start ?: string ; enabled : boolean ; isEnabled : boolean ; plan_data : { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; plan_identifier : "basic" | "free" | "pro" | "custom" ; require_action ?: boolean ; status : string ; stripe_customer_id ?: string ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_settings ?: { image ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; orchestrator ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; text ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; } ; client_type ?: "personal" | "company" ; creation_date : string ; name : string ; trial_tested ?: boolean ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } 200 : { content : { "application/json" : { client : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan : { current_period_end ?: string ; current_period_start ?: string ; enabled : boolean ; isEnabled : boolean ; plan_data : { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; plan_identifier : "basic" | "free" | "pro" | "custom" ; require_action ?: boolean ; status : string ; stripe_customer_id ?: string ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_settings ?: { image ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; orchestrator ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; text ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; } ; client_type ?: "personal" | "company" ; creation_date : string ; name : string ; trial_tested ?: boolean ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } 400 : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } 500 : { content ?: undefined ; headers : { [ name : string ]: unknown } } update Client updateClient : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { client_type ?: "personal" | "professional" | "enterprise" | "agency" ; name ?: string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { client : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan : { current_period_end ?: string ; current_period_start ?: string ; enabled : boolean ; isEnabled : boolean ; plan_data : { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; plan_identifier : "basic" | "free" | "pro" | "custom" ; require_action ?: boolean ; status : string ; stripe_customer_id ?: string ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_settings ?: { image ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; orchestrator ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; text ?: | null | { api_key ?: (...) | (...); has_api_key ?: (...) | (...) | (...); model : string ; provider : (...) | (...) | (...) | (...); } ; } ; client_type ?: "personal" | "company" ; creation_date : string ; name : string ; trial_tested ?: boolean ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
update Client App updateClientApp : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_app : string ; id_client : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { allowed_domains ?: string [] ; keycloak_client_idenfifier : string ; name : string ; redirect_urls ?: string [] ; webhook_url ?: string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { client_app : { _id : string ; allowed_domains : string [] ; creation_date : string ; deleted : boolean ; deleted_date ?: string ; id_client : string ; id_user ?: string ; keycloak_client_idenfifier : string ; name : string ; redirect_urls : string [] ; webhook_url ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
update Client Role updateClientRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string ; id_rol : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { name : string ; permissions : ( | "client:update" | "client:read" | "client:delete" | "client_app:create" | "client_app:update" | "client_app:read" | "client_app:delete" | "client_roles:create" | "client_roles:update" | "client_roles:read" | "client_roles:delete" | "client_roles_users:read" | "client_roles_users:create" | "client_roles_users:delete" | "client_organization:create" | "client_organization:update" | "client_organization:read" | "client_organization:delete" | "client_organization_roles:read" | "client_organization_roles:create" | "client_organization_roles:update" | "client_organization_roles:delete" | "client_organization_users_roles:read" | "client_organization_users_roles:create" | "client_organization_users_roles:delete" | "client_organization_accounts:read" | "client_organization_accounts:create" | "client_organization_accounts:update" | "client_organization_accounts:delete" | "client_organization_files:read" | "client_organization_files:create" | "client_organization_files:update" | "client_organization_files:delete" | "client_organization_publications:read" | "client_organization_publications:create" | "client_organization_publications:update" | "client_organization_publications:delete" | "client_organization_publications_stats:read" | "client_organization_account_stats:read" | "client_organization_products:create" | "client_organization_products:update" | "client_organization_products:read" | "client_organization_products:delete" | "client_organization_messages:create" | "client_organization_messages:read" | "client_organization_messages:delete" | "client_organization_contacts:create" | "client_organization_contacts:read" | "client_organization_contacts:update" | "client_organization_contacts:delete" | "client_organization_ai_plans:create" | "client_organization_ai_plans:read" | "client_organization_ai_plans:update" | "client_organization_ai_plans:delete" )[] ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { rol ?: { name ?: string ; permissions ?: ( | "client:update" | "client:read" | "client:delete" | "client_app:create" | "client_app:update" | "client_app:read" | "client_app:delete" | "client_roles:create" | "client_roles:update" | "client_roles:read" | "client_roles:delete" | "client_roles_users:read" | "client_roles_users:create" | "client_roles_users:delete" | "client_organization:create" | "client_organization:update" | "client_organization:read" | "client_organization:delete" | "client_organization_roles:read" | "client_organization_roles:create" | "client_organization_roles:update" | "client_organization_roles:delete" | "client_organization_users_roles:read" | "client_organization_users_roles:create" | "client_organization_users_roles:delete" | "client_organization_accounts:read" | "client_organization_accounts:create" | "client_organization_accounts:update" | "client_organization_accounts:delete" | "client_organization_files:read" | "client_organization_files:create" | "client_organization_files:update" | "client_organization_files:delete" | "client_organization_publications:read" | "client_organization_publications:create" | "client_organization_publications:update" | "client_organization_publications:delete" | "client_organization_publications_stats:read" | "client_organization_account_stats:read" )[] ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
update Comment updateComment : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_comment : string ; id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { hidden ?: boolean ; read ?: boolean } } ; } ; responses : { "200" : { content : { "application/json" : { comment : { _id : string ; author : { external_id : string ; is_own : boolean ; name ?: string ; profile_pic ?: string ; } ; collected_date : string ; creation_date : string ; deleted : boolean ; external_id : string ; hidden : boolean ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_organization : string ; id_publication ?: | string | { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: (...) | (...); cover_offset ?: (...) | (...); creation_date : string ; file_externals : (...)[] ; file_format : (...) | (...) | (...) | (...) | (...); file_properties : { allowed_social_networks : ...; aspect_ratio : ...; duration : ...; height : ...; size_in_bytes : ...; width : ...; } ; file_type : (...) | (...); id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: (...) | (...); id_client : string ; id_organization : string ; image ?: (...) | (...); name : string ; next_comments_update ?: (...) | (...); next_stats_update ?: (...) | (...); private_message_link ?: (...) | (...); social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); username ?: (...) | (...); } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: (...) | (...); comments ?: (...) | (...); engagement ?: (...) | (...); followers ?: (...) | (...); followers_gained ?: (...) | (...); impressions ?: (...) | (...); likes ?: (...) | (...); profile_views ?: (...) | (...); reach ?: (...) | (...); saves ?: (...) | (...); shares ?: (...) | (...); video_views ?: (...) | (...); } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: (...) | (...); message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: (...) | (...); bookmarks ?: (...) | (...); clicks ?: (...) | (...); comments ?: (...) | (...); engagement ?: (...) | (...); follows ?: (...) | (...); hahas ?: (...) | (...); impressions ?: (...) | (...); likes ?: (...) | (...); loves ?: (...) | (...); negative_feedback ?: (...) | (...); page_likes ?: (...) | (...); playback_0_count ?: (...) | (...); playback_100_count ?: (...) | (...); playback_25_count ?: (...) | (...); playback_50_count ?: (...) | (...); playback_75_count ?: (...) | (...); profile_activity ?: (...) | (...); profile_visits ?: (...) | (...); quotes ?: (...) | (...); reach ?: (...) | (...); replys ?: (...) | (...); retwets ?: (...) | (...); saved ?: (...) | (...); share ?: (...) | (...); shareMentions ?: (...) | (...); shares ?: (...) | (...); sorrys ?: (...) | (...); url_link_clicks ?: (...) | (...); user_profile_clicks ?: (...) | (...); video_views ?: (...) | (...); views ?: (...) | (...); wows ?: (...) | (...); } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; like_count ?: number ; our_reply_external_id ?: string ; parent_external_id ?: string ; publication_external_id : string ; rating ?: number ; read : boolean ; replied : boolean ; reply_count ?: number ; social_network : | "facebook" | "instagram" | "linkedin" | "twitter" | "youtube" | "google_business" | "bluesky" | "discord" ; text : string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
update Contact updateContact : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_contact : string ; id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { extra_data ?: { address ?: string ; boolean_property ?: boolean ; boolean_property2 ?: boolean ; building ?: string | number ; city ?: string ; coords ?: number [] ; country ?: string ; country_code ?: string ; door ?: string | number ; floor ?: string | number ; number ?: string | number ; number_property ?: number ; number_property2 ?: number ; place_id ?: string ; state ?: string ; string_property ?: string ; string_property2 ?: string ; zip_code ?: string | number ; } ; name ?: string ; profile_image ?: string ; social_identifiers ?: { _id ?: string ; external_identifier ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" | "email" ; } [] ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { success : boolean } } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
update Integration updateIntegration : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_integration : string ; id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { config ?: { auto_publish ?: boolean ; id_accounts ?: string [] ; import_image ?: boolean ; last_checked ?: string ; publication_type ?: string ; seen_guids ?: string [] ; template ?: string ; url ?: string ; } ; enabled ?: boolean ; name ?: string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { integration : { _id : string ; config : { auto_publish ?: boolean ; id_accounts ?: string [] ; import_image ?: boolean ; last_checked ?: string ; publication_type ?: string ; seen_guids ?: string [] ; template ?: string ; url ?: string ; } ; connected : boolean ; creation_date : string ; enabled : boolean ; error_code ?: null | number ; external_identifier ?: string ; id_client : string ; id_organization : string ; last_used_date ?: string ; name : string ; provider : "google_drive" | "rss" ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
update Organization Ai Context updateOrganizationAiContext : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { organization : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: (...) | (...); client_id ?: (...) | (...); has_bot_token ?: (...) | (...) | (...); has_client_secret ?: (...) | (...) | (...); verified_date ?: (...) | (...); } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
update Organization Inside Organization updateOrganizationInsideOrganization : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { organization : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: (...) | (...); client_id ?: (...) | (...); has_bot_token ?: (...) | (...) | (...); has_client_secret ?: (...) | (...) | (...); verified_date ?: (...) | (...); } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
update Organization Role updateOrganizationRole : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_rol : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { name : string ; permissions : ( | "organization:create" | "organization:update" | "organization:read" | "organization:delete" | "organization_roles:create" | "organization_roles:update" | "organization_roles:read" | "organization_roles:delete" | "organization_users_roles:read" | "organization_users_roles:create" | "organization_users_roles:delete" | "accounts:create" | "accounts:update" | "accounts:read" | "accounts:delete" | "products:create" | "products:update" | "products:read" | "products:delete" | "files:create" | "files:update" | "files:read" | "files:delete" | "publications:create" | "publications:update" | "publications:read" | "publications:delete" | "account_stats:read" | "publication_stats:read" | "messages:create" | "messages:read" | "messages:delete" | "contacts:create" | "contacts:read" | "contacts:update" | "contacts:delete" | "ai_plans:create" | "ai_plans:read" | "ai_plans:update" | "ai_plans:delete" )[] ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { rol ?: { _id ?: string ; creation_date ?: string ; default ?: boolean ; id_organization ?: string ; name ?: string ; permissions ?: ( | "organization:create" | "organization:update" | "organization:read" | "organization:delete" | "organization_roles:create" | "organization_roles:update" | "organization_roles:read" | "organization_roles:delete" | "organization_users_roles:read" | "organization_users_roles:create" | "organization_users_roles:delete" | "accounts:create" | "accounts:update" | "accounts:read" | "accounts:delete" | "products:create" | "products:update" | "products:read" | "products:delete" | "files:create" | "files:update" | "files:read" | "files:delete" | "publications:create" | "publications:update" | "publications:read" | "publications:delete" | "account_stats:read" | "publication_stats:read" | "messages:create" | "messages:read" | "messages:delete" | "contacts:create" | "contacts:read" | "contacts:update" | "contacts:delete" | "ai_plans:create" | "ai_plans:read" | "ai_plans:update" | "ai_plans:delete" )[] ; total_users ?: number ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; } ; }
update Organization Social Credentials updateOrganizationSocialCredentials : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; social_network : "discord" } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { bot_token ?: string ; client_id ?: string ; client_secret ?: string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { organization : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: (...) | (...); client_id ?: (...) | (...); has_bot_token ?: (...) | (...) | (...); has_client_secret ?: (...) | (...) | (...); verified_date ?: (...) | (...); } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
update Parent Organization updateParentOrganization : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_client : string ; id_organization : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { organization : { _id : string ; actual_asigned ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_plan ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; actual_use ?: { accounts : number ; ai_credits ?: number ; artificial_inteligence ?: boolean ; integrations : number ; publications : number ; space : number ; stats ?: boolean ; twitter_credits ?: number ; users : number ; whatsapp ?: boolean ; } ; ai_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; creation_date : string ; id_client : string ; name : string ; parent_organization ?: string ; social_credentials ?: { discord ?: { application_name ?: (...) | (...); client_id ?: (...) | (...); has_bot_token ?: (...) | (...) | (...); has_client_secret ?: (...) | (...) | (...); verified_date ?: (...) | (...); } ; } ; stats_settings ?: { auto_refresh_twitter : boolean } ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
update Publication updatePublication : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_publication : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { files ?: string [] ; name ?: string ; publication_type ?: "profile" | "page" | "group" | "reels" | "stories" ; publish_date ?: string ; social_network ?: | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "bluesky" | "discord" ; state ?: "ready" | "withErrors" | "sended" | "draft" | "publishing" ; text ?: string ; title ?: string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { publication : { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
Type declaration parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_publication : string } ; query ?: undefined ; } Optionalcookie ?: undefined Optionalheader ?: undefined path : { id_organization : string ; id_publication : string } id_organization : string id_publication : string Optionalquery ?: undefined requestBody : { content : { "application/json" : { files ?: string [] ; name ?: string ; publication_type ?: "profile" | "page" | "group" | "reels" | "stories" ; publish_date ?: string ; social_network ?: | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "bluesky" | "discord" ; state ?: "ready" | "withErrors" | "sended" | "draft" | "publishing" ; text ?: string ; title ?: string ; } ; } ; } responses : { "200" : { content : { "application/json" : { publication : { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } 200 : { content : { "application/json" : { publication : { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } 400 : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } 500 : { content ?: undefined ; headers : { [ name : string ]: unknown } } update Publication By Account updatePublicationByAccount : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string ; id_publication : string ; } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { files ?: string [] ; name ?: string ; publication_type ?: "profile" | "page" | "group" | "reels" | "stories" ; publish_date ?: string ; social_network ?: | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "bluesky" | "discord" ; state ?: "ready" | "withErrors" | "sended" | "draft" | "publishing" ; text ?: string ; title ?: string ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { publication : { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
Type declaration parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_account : string ; id_organization : string ; id_publication : string ; } ; query ?: undefined ; } Optionalcookie ?: undefined Optionalheader ?: undefined path : { id_account : string ; id_organization : string ; id_publication : string } id_account : string id_organization : string id_publication : string Optionalquery ?: undefined requestBody : { content : { "application/json" : { files ?: string [] ; name ?: string ; publication_type ?: "profile" | "page" | "group" | "reels" | "stories" ; publish_date ?: string ; social_network ?: | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "bluesky" | "discord" ; state ?: "ready" | "withErrors" | "sended" | "draft" | "publishing" ; text ?: string ; title ?: string ; } ; } ; } responses : { "200" : { content : { "application/json" : { publication : { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } 200 : { content : { "application/json" : { publication : { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...); } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } [] ; id_account : | string | { _id : string ; creation_date : string ; error_code : number ; followers_count ?: number ; id_client : string ; id_organization : string ; image ?: string ; name : string ; next_comments_update ?: string ; next_stats_update ?: string ; private_message_link ?: string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; username ?: string ; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: number ; comments ?: number ; engagement ?: number ; followers ?: number ; followers_gained ?: number ; impressions ?: number ; likes ?: number ; profile_views ?: number ; reach ?: number ; saves ?: number ; shares ?: number ; video_views ?: number ; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: number ; bookmarks ?: number ; clicks ?: number ; comments ?: number ; engagement ?: number ; follows ?: number ; hahas ?: number ; impressions ?: number ; likes ?: number ; loves ?: number ; negative_feedback ?: number ; page_likes ?: number ; playback_0_count ?: number ; playback_100_count ?: number ; playback_25_count ?: number ; playback_50_count ?: number ; playback_75_count ?: number ; profile_activity ?: number ; profile_visits ?: number ; quotes ?: number ; reach ?: number ; replys ?: number ; retwets ?: number ; saved ?: number ; share ?: number ; shareMentions ?: number ; shares ?: number ; sorrys ?: number ; url_link_clicks ?: number ; user_profile_clicks ?: number ; video_views ?: number ; views ?: number ; wows ?: number ; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } 400 : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } 500 : { content ?: undefined ; headers : { [ name : string ]: unknown } } update Upload updateUpload : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_organization : string ; id_upload : string } ; query ?: undefined ; } ; requestBody : { content : { "application/json" : { cover_image ?: string ; cover_offset ?: number } ; } ; } ; responses : { "200" : { content : { "application/json" : { upload : { _id : string ; cover_image ?: { _id: string; cover_image?: ...; cover_offset?: number; creation_date: string; file_externals: { external_identifier: string; external_url: string; social_network: "facebook" | "instagram" | ... 7 more ... | "discord"; }[]; ... 6 more ...; public_path: string; }; cover_offset ?: number ; creation_date : string ; file_externals : { external_identifier : string ; external_url : string ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; } [] ; file_format : "mp4" | "jpeg" | "gif" | "png" | "jpg" ; file_properties : { allowed_social_networks : string [] ; aspect_ratio : { text : string ; value : number } ; duration : number ; height : number ; size_in_bytes : number ; width : number ; } ; file_type : "video" | "image" ; id_organization : string ; is_temporal : boolean ; name : string ; public_path : string ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
validate Ai Plan validateAiPlan : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { id_ai_plan : string ; id_client : string ; id_organization : string } ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { ai_plan : { _id : string ; accounts : string [] ; attempts : number ; creation_date : string ; credits_spent : number ; error ?: { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; generation_end_date ?: string ; id_client : string ; id_organization : string ; keycloak_identifier ?: string ; options : { allow_images : boolean ; gallery_uploads : string [] ; language : string ; max_images ?: number ; publish_days : number [] ; shared : boolean ; timezone : string ; tone ?: string ; use_organization_context : boolean ; week_start : string ; } ; orchestrator_result ?: Record < string , never > ; organization_context ?: { audience ?: string ; avoid ?: string ; blog_url ?: string ; brand_name ?: string ; default_tone ?: string ; description ?: string ; keywords ?: string [] ; notes ?: string ; products ?: string ; sector ?: string ; shop_url ?: string ; social_urls ?: string [] ; value_proposition ?: string ; website ?: string ; } ; prompt : string ; publications : ( | string | { _id : string ; creation_date : string ; engagement_base ?: "reach" | "impressions" | "followers" ; external_identifier ?: string ; files : { _id : ...; cover_image ?: ...; cover_offset ?: ...; creation_date : ...; file_externals : ...; file_format : ...; file_properties : ...; file_type : ...; id_organization : ...; is_temporal : ...; name : ...; public_path : ...; } [] ; id_account : | string | { _id : ...; creation_date : ...; error_code : ...; followers_count ?: ...; id_client : ...; id_organization : ...; image ?: ...; name : ...; next_comments_update ?: ...; next_stats_update ?: ...; private_message_link ?: ...; social_network : ...; username ?: ...; } ; id_integration ?: string ; id_organization : string ; metrics ?: { clicks ?: ...; comments ?: ...; engagement ?: ...; followers ?: ...; followers_gained ?: ...; impressions ?: ...; likes ?: ...; profile_views ?: ...; reach ?: ...; saves ?: ...; shares ?: ...; video_views ?: ...; } ; name ?: string ; next_stats_update ?: string ; publication_errors : { code : ...; data ?: ...; message : ... } [] ; publication_type : | "profile" | "page" | "group" | "reels" | "stories" | "message" ; publish_date ?: string ; retries : number ; social_network : | "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" ; state : "ready" | "withErrors" | "sended" | "draft" | "publishing" ; statistics ?: { angers ?: ...; bookmarks ?: ...; clicks ?: ...; comments ?: ...; engagement ?: ...; follows ?: ...; hahas ?: ...; impressions ?: ...; likes ?: ...; loves ?: ...; negative_feedback ?: ...; page_likes ?: ...; playback_0_count ?: ...; playback_100_count ?: ...; playback_25_count ?: ...; playback_50_count ?: ...; playback_75_count ?: ...; profile_activity ?: ...; profile_visits ?: ...; quotes ?: ...; reach ?: ...; replys ?: ...; retwets ?: ...; saved ?: ...; share ?: ...; shareMentions ?: ...; shares ?: ...; sorrys ?: ...; url_link_clicks ?: ...; user_profile_clicks ?: ...; video_views ?: ...; views ?: ...; wows ?: ...; } ; stats_updated_date ?: string ; text ?: string ; title ?: string ; url ?: string ; } )[] ; state : | "pending" | "generating" | "generated" | "validated" | "failed" | "cancelled" ; } ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { code : number ; data ?: { [ key : string ]: unknown } ; message : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; }
Description
Client the organization will belong to