comments comments : { delete ?: undefined ; get ?: undefined ; head ?: undefined ; options ?: undefined ; parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; patch ?: undefined ; post : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody : { content : { "application/json" : ( | { credits_spent : number ; error ?: { code : number ; message : string } ; field : "ai_plan_generated" | "ai_plan_failed" ; id_ai_plan : string ; id_organization : string ; state : "generated" | "failed" ; template : | "standard" | "from_images" | "from_text" | "from_catalog" | "campaign" ; total_publications : number ; warnings : number ; } | { 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 ?: (...) | (...); profile_pic ?: (...) | (...); } ; collected_date : string ; creation_date : string ; deleted : boolean ; external_id : string ; hidden : boolean ; id_account : | string | { _id : ...; creation_date : ...; error_code : ...; extra_data ?: ...; followers_count ?: ...; id_client : ...; id_organization : ...; image ?: ...; name : ...; next_comments_update ?: ...; next_stats_update ?: ...; private_message_link ?: ...; social_network : ...; username ?: ...; } ; id_organization : string ; id_publication ?: | string | { _id : ...; ai_generated ?: ...; creation_date : ...; destination ?: ...; engagement_base ?: ...; external_identifier ?: ...; extra_data ?: ...; files : ...; id_account : ...; id_integration ?: ...; id_organization : ...; link ?: ...; made_for_kids ?: ...; metrics ?: ...; name ?: ...; next_stats_update ?: ...; pending_publish ?: ...; publication_errors : ...; publication_type : ...; publication_warnings ?: ...; publish_date ?: ...; reply_control ?: ...; retries : ...; social_network : ...; state : ...; statistics ?: ...; stats_updated_date ?: ...; text ?: ...; title ?: ...; url ?: ...; visibility ?: ...; } ; 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" | "telegram" | "threads" ; 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 : ...; creation_date : ...; creator_keycloak_identifier ?: ...; extra_data ?: ...; id_organization : ...; last_contact_update : ...; name ?: ...; profile_image ?: ...; social_identifiers : ...; } ; creation_date : string ; element_external_id ?: string ; from_contact_id ?: | string | { _id : ...; creation_date : ...; creator_keycloak_identifier ?: ...; extra_data ?: ...; id_organization : ...; last_contact_update : ...; name ?: ...; profile_image ?: ...; social_identifiers : ...; } ; id_account : string ; in_response_external_id ?: string ; in_response_to ?: string ; message_errors : { code : ...; data ?: ...; message : ... } [] ; message_options : { files : (...)[] ; files_urls : (...)[] ; metaElements ?: (...) | (...); metaQuickReplies ?: (...) | (...); payload ?: (...) | (...); template_language ?: (...) | (...); template_name ?: (...) | (...); template_parameters ?: (...) | (...); whatsappInteractive ?: (...) | (...); } ; 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" | "telegram" | "threads" | "slack" | "pinterest" ; } )[] ; } ; } ; responses : { "200" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; } ; put ?: undefined ; trace ?: undefined ; }
Type declaration Optionaldelete ?: undefined Optionalget ?: undefined Optionalhead ?: undefined Optionaloptions ?: undefined parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined } Optionalpatch ?: undefined post : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody : { content : { "application/json" : ( | { credits_spent : number ; error ?: { code : number ; message : string } ; field : "ai_plan_generated" | "ai_plan_failed" ; id_ai_plan : string ; id_organization : string ; state : "generated" | "failed" ; template : | "standard" | "from_images" | "from_text" | "from_catalog" | "campaign" ; total_publications : number ; warnings : number ; } | { 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 ?: (...) | (...); profile_pic ?: (...) | (...); } ; collected_date : string ; creation_date : string ; deleted : boolean ; external_id : string ; hidden : boolean ; id_account : | string | { _id : ...; creation_date : ...; error_code : ...; extra_data ?: ...; followers_count ?: ...; id_client : ...; id_organization : ...; image ?: ...; name : ...; next_comments_update ?: ...; next_stats_update ?: ...; private_message_link ?: ...; social_network : ...; username ?: ...; } ; id_organization : string ; id_publication ?: | string | { _id : ...; ai_generated ?: ...; creation_date : ...; destination ?: ...; engagement_base ?: ...; external_identifier ?: ...; extra_data ?: ...; files : ...; id_account : ...; id_integration ?: ...; id_organization : ...; link ?: ...; made_for_kids ?: ...; metrics ?: ...; name ?: ...; next_stats_update ?: ...; pending_publish ?: ...; publication_errors : ...; publication_type : ...; publication_warnings ?: ...; publish_date ?: ...; reply_control ?: ...; retries : ...; social_network : ...; state : ...; statistics ?: ...; stats_updated_date ?: ...; text ?: ...; title ?: ...; url ?: ...; visibility ?: ...; } ; 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" | "telegram" | "threads" ; 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 : ...; creation_date : ...; creator_keycloak_identifier ?: ...; extra_data ?: ...; id_organization : ...; last_contact_update : ...; name ?: ...; profile_image ?: ...; social_identifiers : ...; } ; creation_date : string ; element_external_id ?: string ; from_contact_id ?: | string | { _id : ...; creation_date : ...; creator_keycloak_identifier ?: ...; extra_data ?: ...; id_organization : ...; last_contact_update : ...; name ?: ...; profile_image ?: ...; social_identifiers : ...; } ; id_account : string ; in_response_external_id ?: string ; in_response_to ?: string ; message_errors : { code : ...; data ?: ...; message : ... } [] ; message_options : { files : (...)[] ; files_urls : (...)[] ; metaElements ?: (...) | (...); metaQuickReplies ?: (...) | (...); payload ?: (...) | (...); template_language ?: (...) | (...); template_name ?: (...) | (...); template_parameters ?: (...) | (...); whatsappInteractive ?: (...) | (...); } ; 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" | "telegram" | "threads" | "slack" | "pinterest" ; } )[] ; } ; } ; responses : { "200" : { content ?: undefined ; headers : { [ name : string ]: unknown } } ; } ; } parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined } requestBody : { content : { "application/json" : ( | { credits_spent : number ; error ?: { code : number ; message : string } ; field : "ai_plan_generated" | "ai_plan_failed" ; id_ai_plan : string ; id_organization : string ; state : "generated" | "failed" ; template : | "standard" | "from_images" | "from_text" | "from_catalog" | "campaign" ; total_publications : number ; warnings : number ; } | { 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 ?: (...) | (...); profile_pic ?: (...) | (...); } ; collected_date : string ; creation_date : string ; deleted : boolean ; external_id : string ; hidden : boolean ; id_account : | string | { _id : ...; creation_date : ...; error_code : ...; extra_data ?: ...; followers_count ?: ...; id_client : ...; id_organization : ...; image ?: ...; name : ...; next_comments_update ?: ...; next_stats_update ?: ...; private_message_link ?: ...; social_network : ...; username ?: ...; } ; id_organization : string ; id_publication ?: | string | { _id : ...; ai_generated ?: ...; creation_date : ...; destination ?: ...; engagement_base ?: ...; external_identifier ?: ...; extra_data ?: ...; files : ...; id_account : ...; id_integration ?: ...; id_organization : ...; link ?: ...; made_for_kids ?: ...; metrics ?: ...; name ?: ...; next_stats_update ?: ...; pending_publish ?: ...; publication_errors : ...; publication_type : ...; publication_warnings ?: ...; publish_date ?: ...; reply_control ?: ...; retries : ...; social_network : ...; state : ...; statistics ?: ...; stats_updated_date ?: ...; text ?: ...; title ?: ...; url ?: ...; visibility ?: ...; } ; 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" | "telegram" | "threads" ; 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 : ...; creation_date : ...; creator_keycloak_identifier ?: ...; extra_data ?: ...; id_organization : ...; last_contact_update : ...; name ?: ...; profile_image ?: ...; social_identifiers : ...; } ; creation_date : string ; element_external_id ?: string ; from_contact_id ?: | string | { _id : ...; creation_date : ...; creator_keycloak_identifier ?: ...; extra_data ?: ...; id_organization : ...; last_contact_update : ...; name ?: ...; profile_image ?: ...; social_identifiers : ...; } ; id_account : string ; in_response_external_id ?: string ; in_response_to ?: string ; message_errors : { code : ...; data ?: ...; message : ... } [] ; message_options : { files : (...)[] ; files_urls : (...)[] ; metaElements ?: (...) | (...); metaQuickReplies ?: (...) | (...); payload ?: (...) | (...); template_language ?: (...) | (...); template_name ?: (...) | (...); template_parameters ?: (...) | (...); whatsappInteractive ?: (...) | (...); } ; 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" | "telegram" | "threads" | "slack" | "pinterest" ; } )[] ; } ; } content : { "application/json" : ( | { credits_spent : number ; error ?: { code : number ; message : string } ; field : "ai_plan_generated" | "ai_plan_failed" ; id_ai_plan : string ; id_organization : string ; state : "generated" | "failed" ; template : | "standard" | "from_images" | "from_text" | "from_catalog" | "campaign" ; total_publications : number ; warnings : number ; } | { 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 ?: (...) | (...); profile_pic ?: (...) | (...); } ; collected_date : string ; creation_date : string ; deleted : boolean ; external_id : string ; hidden : boolean ; id_account : | string | { _id : ...; creation_date : ...; error_code : ...; extra_data ?: ...; followers_count ?: ...; id_client : ...; id_organization : ...; image ?: ...; name : ...; next_comments_update ?: ...; next_stats_update ?: ...; private_message_link ?: ...; social_network : ...; username ?: ...; } ; id_organization : string ; id_publication ?: | string | { _id : ...; ai_generated ?: ...; creation_date : ...; destination ?: ...; engagement_base ?: ...; external_identifier ?: ...; extra_data ?: ...; files : ...; id_account : ...; id_integration ?: ...; id_organization : ...; link ?: ...; made_for_kids ?: ...; metrics ?: ...; name ?: ...; next_stats_update ?: ...; pending_publish ?: ...; publication_errors : ...; publication_type : ...; publication_warnings ?: ...; publish_date ?: ...; reply_control ?: ...; retries : ...; social_network : ...; state : ...; statistics ?: ...; stats_updated_date ?: ...; text ?: ...; title ?: ...; url ?: ...; visibility ?: ...; } ; 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" | "telegram" | "threads" ; 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 : ...; creation_date : ...; creator_keycloak_identifier ?: ...; extra_data ?: ...; id_organization : ...; last_contact_update : ...; name ?: ...; profile_image ?: ...; social_identifiers : ...; } ; creation_date : string ; element_external_id ?: string ; from_contact_id ?: | string | { _id : ...; creation_date : ...; creator_keycloak_identifier ?: ...; extra_data ?: ...; id_organization : ...; last_contact_update : ...; name ?: ...; profile_image ?: ...; social_identifiers : ...; } ; id_account : string ; in_response_external_id ?: string ; in_response_to ?: string ; message_errors : { code : ...; data ?: ...; message : ... } [] ; message_options : { files : (...)[] ; files_urls : (...)[] ; metaElements ?: (...) | (...); metaQuickReplies ?: (...) | (...); payload ?: (...) | (...); template_language ?: (...) | (...); template_name ?: (...) | (...); template_parameters ?: (...) | (...); whatsappInteractive ?: (...) | (...); } ; 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" | "telegram" | "threads" | "slack" | "pinterest" ; } )[] ; } application/json : ( | { credits_spent : number ; error ?: { code : number ; message : string } ; field : "ai_plan_generated" | "ai_plan_failed" ; id_ai_plan : string ; id_organization : string ; state : "generated" | "failed" ; template : | "standard" | "from_images" | "from_text" | "from_catalog" | "campaign" ; total_publications : number ; warnings : number ; } | { 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 ?: (...) | (...); profile_pic ?: (...) | (...); } ; collected_date : string ; creation_date : string ; deleted : boolean ; external_id : string ; hidden : boolean ; id_account : | string | { _id : ...; creation_date : ...; error_code : ...; extra_data ?: ...; followers_count ?: ...; id_client : ...; id_organization : ...; image ?: ...; name : ...; next_comments_update ?: ...; next_stats_update ?: ...; private_message_link ?: ...; social_network : ...; username ?: ...; } ; id_organization : string ; id_publication ?: | string | { _id : ...; ai_generated ?: ...; creation_date : ...; destination ?: ...; engagement_base ?: ...; external_identifier ?: ...; extra_data ?: ...; files : ...; id_account : ...; id_integration ?: ...; id_organization : ...; link ?: ...; made_for_kids ?: ...; metrics ?: ...; name ?: ...; next_stats_update ?: ...; pending_publish ?: ...; publication_errors : ...; publication_type : ...; publication_warnings ?: ...; publish_date ?: ...; reply_control ?: ...; retries : ...; social_network : ...; state : ...; statistics ?: ...; stats_updated_date ?: ...; text ?: ...; title ?: ...; url ?: ...; visibility ?: ...; } ; 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" | "telegram" | "threads" ; 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 : ...; creation_date : ...; creator_keycloak_identifier ?: ...; extra_data ?: ...; id_organization : ...; last_contact_update : ...; name ?: ...; profile_image ?: ...; social_identifiers : ...; } ; creation_date : string ; element_external_id ?: string ; from_contact_id ?: | string | { _id : ...; creation_date : ...; creator_keycloak_identifier ?: ...; extra_data ?: ...; id_organization : ...; last_contact_update : ...; name ?: ...; profile_image ?: ...; social_identifiers : ...; } ; id_account : string ; in_response_external_id ?: string ; in_response_to ?: string ; message_errors : { code : ...; data ?: ...; message : ... } [] ; message_options : { files : (...)[] ; files_urls : (...)[] ; metaElements ?: (...) | (...); metaQuickReplies ?: (...) | (...); payload ?: (...) | (...); template_language ?: (...) | (...); template_name ?: (...) | (...); template_parameters ?: (...) | (...); whatsappInteractive ?: (...) | (...); } ; 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" | "telegram" | "threads" | "slack" | "pinterest" ; } )[] responses : { "200" : { content ?: undefined ; headers : { [ name : string ]: unknown } } } 200 : { content ?: undefined ; headers : { [ name : string ]: unknown } } Optionalput ?: undefined Optionaltrace ?: undefined
A change happened (notification to your app)