{"openapi":"3.1.0","info":{"title":"Zaly API","version":"0.1.0","description":"Operaciones del catálogo público MCP disponibles también por REST. REST admite Authorization: Bearer <clave API> o sesión Better Auth. La clave fija la organización y los permisos read/write/send; no permite gestionar miembros ni claves. Las escrituras requieren Idempotency-Key y, con cookie, Origin. MCP conserva OAuth y no admite claves API. No incluye rutas internas, de autenticación, gestión de claves, webhooks ni QA."},"servers":[{"url":"https://ai.zaly.app"}],"security":[{"apiKeyBearer":[]},{"webSession":[]}],"components":{"schemas":{"get_contextInput":{"type":"object","properties":{},"additionalProperties":false},"get_contextOutput":{"type":"object","properties":{"organization":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"}},"required":["organization_id","name"],"additionalProperties":false},"permissions":{"type":"object","properties":{"read":{"type":"boolean"},"write":{"type":"boolean"},"send":{"type":"boolean"}},"required":["read","write","send"],"additionalProperties":false},"instructions":{"type":"array","items":{"type":"string"}},"entry_tools":{"type":"array","items":{"type":"string"}},"guides":{"type":"array","items":{"type":"object","properties":{"topic":{"type":"string","enum":["onboarding","new","team","accounts","services","icps","signals","people","campaigns","calendar","conversations","zaly-preparar-campana","zaly-investigacion","zaly-primer-dm","zaly-conversacion","zaly-follow-ups"]},"description":{"type":"string"},"tools":{"type":"array","items":{"type":"string"}}},"required":["topic","description","tools"],"additionalProperties":false}},"skills":{"type":"array","items":{"type":"object","properties":{"topic":{"type":"string","enum":["zaly-preparar-campana","zaly-investigacion","zaly-primer-dm","zaly-conversacion","zaly-follow-ups"]},"description":{"type":"string"}},"required":["topic","description"],"additionalProperties":false}}},"required":["organization","permissions","instructions","entry_tools","guides","skills"],"additionalProperties":false},"get_guideInput":{"type":"object","properties":{"topic":{"type":"string","enum":["onboarding","new","team","accounts","services","icps","signals","people","campaigns","calendar","conversations","zaly-preparar-campana","zaly-investigacion","zaly-primer-dm","zaly-conversacion","zaly-follow-ups"]}},"required":["topic"],"additionalProperties":false},"get_guideOutput":{"type":"object","properties":{"topic":{"type":"string","enum":["onboarding","new","team","accounts","services","icps","signals","people","campaigns","calendar","conversations","zaly-preparar-campana","zaly-investigacion","zaly-primer-dm","zaly-conversacion","zaly-follow-ups"]},"purpose":{"type":"string"},"implementation":{"type":"object","properties":{"status":{"type":"string","enum":["implemented","overview"]},"instructions":{"type":"array","items":{"type":"string"}}},"required":["status"],"additionalProperties":false},"tools":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema0"}},"rules":{"type":"array","items":{"type":"string"}},"workflows":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"result":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema1"},"response":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema2"},"criteria":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema3"},"targets":{"type":"array","items":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema4"}},"summary_fields":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema5"},"result_rules":{"type":"array","items":{"type":"string"}},"settings":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema6"},"import_rows":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema7"},"summary_rules":{"type":"array","items":{"type":"string"}},"content":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema8"},"evaluation":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema9"}},"required":["topic","purpose","implementation","tools","rules","workflows"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema1"}}]},"__schema2":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema2"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema2"}}]},"__schema3":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema3"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema3"}}]},"__schema4":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema4"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema4"}}]},"__schema5":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema5"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema5"}}]},"__schema6":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema6"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema6"}}]},"__schema7":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema7"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema7"}}]},"__schema8":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema8"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema8"}}]},"__schema9":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema9"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/get_guideOutput/$defs/__schema9"}}]}}},"get_newInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"follow_up_days":{"default":7,"type":"integer","minimum":1,"maximum":365},"limit":{"default":25,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":4000}},"additionalProperties":false},"get_newOutput":{"type":"object","properties":{"as_of":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"snapshot_expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"follow_up_days":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"items":{"type":"array","items":{"type":"object","properties":{"person_id":{"type":"string","minLength":1,"maxLength":160},"name":{"type":"string"},"pending_actions":{"type":"array","items":{"type":"object","properties":{"action_id":{"type":"string","minLength":1,"maxLength":160},"campaign_id":{"type":"string","minLength":1,"maxLength":160},"account_id":{"type":"string","minLength":1,"maxLength":160},"state":{"type":"string","enum":["draft","approved","queued","sending","sent","uncertain","cancelled","failed"]},"kind":{"type":"string"},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]}},"required":["action_id","campaign_id","account_id","state","kind","scheduled_at"],"additionalProperties":false}},"reasons":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["new","inbound","follow_up","actions"]},"category":{"type":"string","const":"pending"},"campaign_id":{"type":"string","minLength":1,"maxLength":160},"account_id":{"type":"string","minLength":1,"maxLength":160},"occurred_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]},"observed_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]},"reference_id":{"type":"string","minLength":1,"maxLength":160},"source":{"type":"string"},"blockers":{"type":"array","items":{"type":"string"}}},"required":["kind","category","campaign_id","account_id","occurred_at","observed_at","reference_id","source","blockers"],"additionalProperties":false}},"contexts":{"type":"array","items":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"account_id":{"type":"string","minLength":1,"maxLength":160},"email_account_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"availability":{"type":"string","enum":["available","processing","unavailable"]},"history":{"type":"array","items":{"type":"object","properties":{"account_id":{"type":"string","minLength":1,"maxLength":160},"channel":{"type":"string","enum":["linkedin","email","unknown"]},"coverage":{"type":"string","enum":["unknown","partial","complete"]},"last_synced_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]}},"required":["account_id","channel","coverage","last_synced_at"],"additionalProperties":false}},"blockers":{"type":"array","items":{"type":"string"}}},"required":["campaign_id","account_id","email_account_id","availability","history","blockers"],"additionalProperties":false}}},"required":["person_id","name","pending_actions","reasons","contexts"],"additionalProperties":false}},"returned_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]},"limitations":{"type":"array","items":{"type":"string"}}},"required":["as_of","snapshot_expires_at","follow_up_days","items","returned_count","has_more","next_cursor","limitations"],"additionalProperties":false},"get_onboardingInput":{"type":"object","properties":{},"additionalProperties":false},"get_onboardingOutput":{"type":"object","properties":{"onboarding":{"anyOf":[{"type":"object","properties":{"brief":{"anyOf":[{"type":"object","properties":{"sources":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"source_ref":{"type":"string","minLength":1,"maxLength":160},"label":{"type":"string","minLength":1,"maxLength":120},"origin":{"type":"string","enum":["document","user","assistant_proposal"]}},"required":["source_ref","label","origin"],"additionalProperties":false}},"facts":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":120},"value":{"type":"string","minLength":1,"maxLength":6000},"source_refs":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}},"confirmed":{"type":"boolean"}},"required":["key","value","source_refs","confirmed"],"additionalProperties":false}},"open_questions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":120},"question":{"type":"string","minLength":1,"maxLength":6000}},"required":["key","question"],"additionalProperties":false}}},"required":["sources","facts","open_questions"],"additionalProperties":false},{"type":"null"}]},"selection":{"anyOf":[{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"signal_ids":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}}},"required":["campaign_id","signal_ids"],"additionalProperties":false},{"type":"null"}]},"signal_proposals":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"description":{"anyOf":[{"type":"string","maxLength":6000},{"type":"null"}]},"kind":{"type":"string","enum":["profile_visitors","received_invitations","followers","post_people","lead_magnet","watched_accounts","people_search","keyword_posts"]},"target":{"anyOf":[{"type":"object","properties":{},"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"scope":{"type":"string","const":"self"}},"required":["scope"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"profile"},"profile_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","profile_url"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"company"},"company_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","company_url"],"additionalProperties":false}]},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["post_url"],"additionalProperties":false},{"type":"object","properties":{"urls":{"minItems":1,"maxItems":20,"type":"array","items":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"string","maxLength":2000,"format":"uri"}]}}},"required":["urls"],"additionalProperties":false},{"type":"object","properties":{"queries":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}}},"required":["queries"],"additionalProperties":false},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"},"recipient_member_id":{"type":"string","minLength":1,"maxLength":200},"keywords":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"resource_url":{"type":"string","maxLength":2000,"format":"uri"},"templates":{"type":"object","properties":{"dm":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":6000}},"confirmation":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}},"connection_request":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}}},"required":["dm","confirmation","connection_request"],"additionalProperties":false},"duration_days":{"type":"integer","minimum":1,"maximum":90},"inactivity_hours":{"type":"integer","minimum":1,"maximum":168},"filter_by_icp":{"default":false,"type":"boolean"}},"required":["post_url","keywords","resource_url","templates","duration_days","inactivity_hours","filter_by_icp"],"additionalProperties":false}]}},"required":["name","kind","target"],"additionalProperties":false}},"tone":{"type":"object","properties":{"status":{"type":"string","enum":["pending","confirmed","deferred"]},"scope":{"type":"string","enum":["campaign","organization"]},"preferences":{"type":"object","properties":{"formality":{"type":"string","minLength":1,"maxLength":6000},"length":{"type":"string","minLength":1,"maxLength":6000},"preferred_expressions":{"type":"string","minLength":1,"maxLength":6000},"avoided_expressions":{"type":"string","minLength":1,"maxLength":6000},"meeting_criteria":{"type":"string","minLength":1,"maxLength":6000}},"additionalProperties":false},"examples":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"purpose":{"type":"string","minLength":1,"maxLength":120},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["purpose","text"],"additionalProperties":false}},"deferred_reason":{"type":"string","minLength":1,"maxLength":6000}},"required":["status","scope","preferences","examples"],"additionalProperties":false},"memory":{"type":"object","properties":{"status":{"type":"string","enum":["pending","saved","deferred","unavailable"]},"scope":{"type":"string","enum":["campaign","organization"]},"destination_label":{"type":"string","minLength":1,"maxLength":120},"files":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"source_ref":{"type":"string","minLength":1,"maxLength":160},"label":{"type":"string","minLength":1,"maxLength":120}},"required":["source_ref","label"],"additionalProperties":false}},"deferred_reason":{"type":"string","minLength":1,"maxLength":6000},"unavailable_reason":{"type":"string","minLength":1,"maxLength":6000}},"required":["status","scope"],"additionalProperties":false},"capture_decision":{"anyOf":[{"type":"object","properties":{"decision":{"type":"string","enum":["confirmed","deferred"]},"proposal_indexes":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":0,"maximum":19}},"note":{"type":"string","minLength":1,"maxLength":6000},"automatic_delivery_confirmed":{"type":"boolean","const":true},"actor_user_id":{"type":"string","minLength":1,"maxLength":160},"decided_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["decision","proposal_indexes","note","actor_user_id","decided_at"],"additionalProperties":false},{"type":"null"}]},"onboarding_id":{"type":"string","minLength":1,"maxLength":160},"status":{"type":"string","enum":["in_progress","completed"]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"completed_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]}},"required":["brief","selection","signal_proposals","tone","memory","capture_decision","onboarding_id","status","created_at","updated_at","completed_at"],"additionalProperties":false},{"type":"null"}]},"readiness":{"type":"object","properties":{"ready_to_complete":{"type":"boolean"},"campaign_active":{"type":"boolean"},"service_valid":{"type":"boolean"},"icp_valid":{"type":"boolean"},"active_signal_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"blockers":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"field":{"type":"string"},"message":{"type":"string"}},"required":["code","field","message"],"additionalProperties":false}}},"required":["ready_to_complete","campaign_active","service_valid","icp_valid","active_signal_count","blockers"],"additionalProperties":false},"next_steps":{"type":"array","items":{"type":"string"}}},"required":["onboarding","readiness","next_steps"],"additionalProperties":false},"update_onboardingInput":{"type":"object","properties":{"brief":{"type":"object","properties":{"sources":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"source_ref":{"type":"string","minLength":1,"maxLength":160},"label":{"type":"string","minLength":1,"maxLength":120},"origin":{"type":"string","enum":["document","user","assistant_proposal"]}},"required":["source_ref","label","origin"],"additionalProperties":false}},"facts":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":120},"value":{"type":"string","minLength":1,"maxLength":6000},"source_refs":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}},"confirmed":{"type":"boolean"}},"required":["key","value","source_refs","confirmed"],"additionalProperties":false}},"open_questions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":120},"question":{"type":"string","minLength":1,"maxLength":6000}},"required":["key","question"],"additionalProperties":false}}},"required":["sources","facts","open_questions"],"additionalProperties":false},"selection":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"signal_ids":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}}},"required":["campaign_id","signal_ids"],"additionalProperties":false},"signal_proposals":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"description":{"anyOf":[{"type":"string","maxLength":6000},{"type":"null"}]},"kind":{"type":"string","enum":["profile_visitors","received_invitations","followers","post_people","lead_magnet","watched_accounts","people_search","keyword_posts"]},"target":{"anyOf":[{"type":"object","properties":{},"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"scope":{"type":"string","const":"self"}},"required":["scope"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"profile"},"profile_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","profile_url"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"company"},"company_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","company_url"],"additionalProperties":false}]},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["post_url"],"additionalProperties":false},{"type":"object","properties":{"urls":{"minItems":1,"maxItems":20,"type":"array","items":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"string","maxLength":2000,"format":"uri"}]}}},"required":["urls"],"additionalProperties":false},{"type":"object","properties":{"queries":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}}},"required":["queries"],"additionalProperties":false},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"},"recipient_member_id":{"type":"string","minLength":1,"maxLength":200},"keywords":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"resource_url":{"type":"string","maxLength":2000,"format":"uri"},"templates":{"type":"object","properties":{"dm":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":6000}},"confirmation":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}},"connection_request":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}}},"required":["dm","confirmation","connection_request"],"additionalProperties":false},"duration_days":{"type":"integer","minimum":1,"maximum":90},"inactivity_hours":{"type":"integer","minimum":1,"maximum":168},"filter_by_icp":{"default":false,"type":"boolean"}},"required":["post_url","keywords","resource_url","templates","duration_days","inactivity_hours"],"additionalProperties":false}]}},"required":["name","kind","target"],"additionalProperties":false}},"tone":{"type":"object","properties":{"status":{"type":"string","enum":["pending","confirmed","deferred"]},"scope":{"type":"string","enum":["campaign","organization"]},"preferences":{"type":"object","properties":{"formality":{"type":"string","minLength":1,"maxLength":6000},"length":{"type":"string","minLength":1,"maxLength":6000},"preferred_expressions":{"type":"string","minLength":1,"maxLength":6000},"avoided_expressions":{"type":"string","minLength":1,"maxLength":6000},"meeting_criteria":{"type":"string","minLength":1,"maxLength":6000}},"additionalProperties":false},"examples":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"purpose":{"type":"string","minLength":1,"maxLength":120},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["purpose","text"],"additionalProperties":false}},"deferred_reason":{"type":"string","minLength":1,"maxLength":6000}},"required":["status","scope","preferences","examples"],"additionalProperties":false},"memory":{"type":"object","properties":{"status":{"type":"string","enum":["pending","saved","deferred","unavailable"]},"scope":{"type":"string","enum":["campaign","organization"]},"destination_label":{"type":"string","minLength":1,"maxLength":120},"files":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"source_ref":{"type":"string","minLength":1,"maxLength":160},"label":{"type":"string","minLength":1,"maxLength":120}},"required":["source_ref","label"],"additionalProperties":false}},"deferred_reason":{"type":"string","minLength":1,"maxLength":6000},"unavailable_reason":{"type":"string","minLength":1,"maxLength":6000}},"required":["status","scope"],"additionalProperties":false},"capture_decision":{"type":"object","properties":{"decision":{"type":"string","enum":["confirmed","deferred"]},"proposal_indexes":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":0,"maximum":19}},"note":{"type":"string","minLength":1,"maxLength":6000},"automatic_delivery_confirmed":{"type":"boolean","const":true}},"required":["decision","proposal_indexes","note"],"additionalProperties":false}},"additionalProperties":false},"update_onboardingOutput":{"type":"object","properties":{"onboarding":{"anyOf":[{"type":"object","properties":{"brief":{"anyOf":[{"type":"object","properties":{"sources":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"source_ref":{"type":"string","minLength":1,"maxLength":160},"label":{"type":"string","minLength":1,"maxLength":120},"origin":{"type":"string","enum":["document","user","assistant_proposal"]}},"required":["source_ref","label","origin"],"additionalProperties":false}},"facts":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":120},"value":{"type":"string","minLength":1,"maxLength":6000},"source_refs":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}},"confirmed":{"type":"boolean"}},"required":["key","value","source_refs","confirmed"],"additionalProperties":false}},"open_questions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":120},"question":{"type":"string","minLength":1,"maxLength":6000}},"required":["key","question"],"additionalProperties":false}}},"required":["sources","facts","open_questions"],"additionalProperties":false},{"type":"null"}]},"selection":{"anyOf":[{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"signal_ids":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}}},"required":["campaign_id","signal_ids"],"additionalProperties":false},{"type":"null"}]},"signal_proposals":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"description":{"anyOf":[{"type":"string","maxLength":6000},{"type":"null"}]},"kind":{"type":"string","enum":["profile_visitors","received_invitations","followers","post_people","lead_magnet","watched_accounts","people_search","keyword_posts"]},"target":{"anyOf":[{"type":"object","properties":{},"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"scope":{"type":"string","const":"self"}},"required":["scope"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"profile"},"profile_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","profile_url"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"company"},"company_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","company_url"],"additionalProperties":false}]},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["post_url"],"additionalProperties":false},{"type":"object","properties":{"urls":{"minItems":1,"maxItems":20,"type":"array","items":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"string","maxLength":2000,"format":"uri"}]}}},"required":["urls"],"additionalProperties":false},{"type":"object","properties":{"queries":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}}},"required":["queries"],"additionalProperties":false},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"},"recipient_member_id":{"type":"string","minLength":1,"maxLength":200},"keywords":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"resource_url":{"type":"string","maxLength":2000,"format":"uri"},"templates":{"type":"object","properties":{"dm":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":6000}},"confirmation":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}},"connection_request":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}}},"required":["dm","confirmation","connection_request"],"additionalProperties":false},"duration_days":{"type":"integer","minimum":1,"maximum":90},"inactivity_hours":{"type":"integer","minimum":1,"maximum":168},"filter_by_icp":{"default":false,"type":"boolean"}},"required":["post_url","keywords","resource_url","templates","duration_days","inactivity_hours","filter_by_icp"],"additionalProperties":false}]}},"required":["name","kind","target"],"additionalProperties":false}},"tone":{"type":"object","properties":{"status":{"type":"string","enum":["pending","confirmed","deferred"]},"scope":{"type":"string","enum":["campaign","organization"]},"preferences":{"type":"object","properties":{"formality":{"type":"string","minLength":1,"maxLength":6000},"length":{"type":"string","minLength":1,"maxLength":6000},"preferred_expressions":{"type":"string","minLength":1,"maxLength":6000},"avoided_expressions":{"type":"string","minLength":1,"maxLength":6000},"meeting_criteria":{"type":"string","minLength":1,"maxLength":6000}},"additionalProperties":false},"examples":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"purpose":{"type":"string","minLength":1,"maxLength":120},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["purpose","text"],"additionalProperties":false}},"deferred_reason":{"type":"string","minLength":1,"maxLength":6000}},"required":["status","scope","preferences","examples"],"additionalProperties":false},"memory":{"type":"object","properties":{"status":{"type":"string","enum":["pending","saved","deferred","unavailable"]},"scope":{"type":"string","enum":["campaign","organization"]},"destination_label":{"type":"string","minLength":1,"maxLength":120},"files":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"source_ref":{"type":"string","minLength":1,"maxLength":160},"label":{"type":"string","minLength":1,"maxLength":120}},"required":["source_ref","label"],"additionalProperties":false}},"deferred_reason":{"type":"string","minLength":1,"maxLength":6000},"unavailable_reason":{"type":"string","minLength":1,"maxLength":6000}},"required":["status","scope"],"additionalProperties":false},"capture_decision":{"anyOf":[{"type":"object","properties":{"decision":{"type":"string","enum":["confirmed","deferred"]},"proposal_indexes":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":0,"maximum":19}},"note":{"type":"string","minLength":1,"maxLength":6000},"automatic_delivery_confirmed":{"type":"boolean","const":true},"actor_user_id":{"type":"string","minLength":1,"maxLength":160},"decided_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["decision","proposal_indexes","note","actor_user_id","decided_at"],"additionalProperties":false},{"type":"null"}]},"onboarding_id":{"type":"string","minLength":1,"maxLength":160},"status":{"type":"string","enum":["in_progress","completed"]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"completed_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]}},"required":["brief","selection","signal_proposals","tone","memory","capture_decision","onboarding_id","status","created_at","updated_at","completed_at"],"additionalProperties":false},{"type":"null"}]},"readiness":{"type":"object","properties":{"ready_to_complete":{"type":"boolean"},"campaign_active":{"type":"boolean"},"service_valid":{"type":"boolean"},"icp_valid":{"type":"boolean"},"active_signal_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"blockers":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"field":{"type":"string"},"message":{"type":"string"}},"required":["code","field","message"],"additionalProperties":false}}},"required":["ready_to_complete","campaign_active","service_valid","icp_valid","active_signal_count","blockers"],"additionalProperties":false},"next_steps":{"type":"array","items":{"type":"string"}}},"required":["onboarding","readiness","next_steps"],"additionalProperties":false},"update_onboardingBody":{"type":"object","properties":{"brief":{"type":"object","properties":{"sources":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"source_ref":{"type":"string","minLength":1,"maxLength":160},"label":{"type":"string","minLength":1,"maxLength":120},"origin":{"type":"string","enum":["document","user","assistant_proposal"]}},"required":["source_ref","label","origin"],"additionalProperties":false}},"facts":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":120},"value":{"type":"string","minLength":1,"maxLength":6000},"source_refs":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}},"confirmed":{"type":"boolean"}},"required":["key","value","source_refs","confirmed"],"additionalProperties":false}},"open_questions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":120},"question":{"type":"string","minLength":1,"maxLength":6000}},"required":["key","question"],"additionalProperties":false}}},"required":["sources","facts","open_questions"],"additionalProperties":false},"selection":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"signal_ids":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}}},"required":["campaign_id","signal_ids"],"additionalProperties":false},"signal_proposals":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"description":{"anyOf":[{"type":"string","maxLength":6000},{"type":"null"}]},"kind":{"type":"string","enum":["profile_visitors","received_invitations","followers","post_people","lead_magnet","watched_accounts","people_search","keyword_posts"]},"target":{"anyOf":[{"type":"object","properties":{},"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"scope":{"type":"string","const":"self"}},"required":["scope"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"profile"},"profile_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","profile_url"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"company"},"company_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","company_url"],"additionalProperties":false}]},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["post_url"],"additionalProperties":false},{"type":"object","properties":{"urls":{"minItems":1,"maxItems":20,"type":"array","items":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"string","maxLength":2000,"format":"uri"}]}}},"required":["urls"],"additionalProperties":false},{"type":"object","properties":{"queries":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}}},"required":["queries"],"additionalProperties":false},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"},"recipient_member_id":{"type":"string","minLength":1,"maxLength":200},"keywords":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"resource_url":{"type":"string","maxLength":2000,"format":"uri"},"templates":{"type":"object","properties":{"dm":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":6000}},"confirmation":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}},"connection_request":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}}},"required":["dm","confirmation","connection_request"],"additionalProperties":false},"duration_days":{"type":"integer","minimum":1,"maximum":90},"inactivity_hours":{"type":"integer","minimum":1,"maximum":168},"filter_by_icp":{"default":false,"type":"boolean"}},"required":["post_url","keywords","resource_url","templates","duration_days","inactivity_hours"],"additionalProperties":false}]}},"required":["name","kind","target"],"additionalProperties":false}},"tone":{"type":"object","properties":{"status":{"type":"string","enum":["pending","confirmed","deferred"]},"scope":{"type":"string","enum":["campaign","organization"]},"preferences":{"type":"object","properties":{"formality":{"type":"string","minLength":1,"maxLength":6000},"length":{"type":"string","minLength":1,"maxLength":6000},"preferred_expressions":{"type":"string","minLength":1,"maxLength":6000},"avoided_expressions":{"type":"string","minLength":1,"maxLength":6000},"meeting_criteria":{"type":"string","minLength":1,"maxLength":6000}},"additionalProperties":false},"examples":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"purpose":{"type":"string","minLength":1,"maxLength":120},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["purpose","text"],"additionalProperties":false}},"deferred_reason":{"type":"string","minLength":1,"maxLength":6000}},"required":["status","scope","preferences","examples"],"additionalProperties":false},"memory":{"type":"object","properties":{"status":{"type":"string","enum":["pending","saved","deferred","unavailable"]},"scope":{"type":"string","enum":["campaign","organization"]},"destination_label":{"type":"string","minLength":1,"maxLength":120},"files":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"source_ref":{"type":"string","minLength":1,"maxLength":160},"label":{"type":"string","minLength":1,"maxLength":120}},"required":["source_ref","label"],"additionalProperties":false}},"deferred_reason":{"type":"string","minLength":1,"maxLength":6000},"unavailable_reason":{"type":"string","minLength":1,"maxLength":6000}},"required":["status","scope"],"additionalProperties":false},"capture_decision":{"type":"object","properties":{"decision":{"type":"string","enum":["confirmed","deferred"]},"proposal_indexes":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":0,"maximum":19}},"note":{"type":"string","minLength":1,"maxLength":6000},"automatic_delivery_confirmed":{"type":"boolean","const":true}},"required":["decision","proposal_indexes","note"],"additionalProperties":false}},"additionalProperties":false},"complete_onboardingInput":{"type":"object","properties":{},"additionalProperties":false},"complete_onboardingOutput":{"type":"object","properties":{"onboarding":{"anyOf":[{"type":"object","properties":{"brief":{"anyOf":[{"type":"object","properties":{"sources":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"source_ref":{"type":"string","minLength":1,"maxLength":160},"label":{"type":"string","minLength":1,"maxLength":120},"origin":{"type":"string","enum":["document","user","assistant_proposal"]}},"required":["source_ref","label","origin"],"additionalProperties":false}},"facts":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":120},"value":{"type":"string","minLength":1,"maxLength":6000},"source_refs":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}},"confirmed":{"type":"boolean"}},"required":["key","value","source_refs","confirmed"],"additionalProperties":false}},"open_questions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":120},"question":{"type":"string","minLength":1,"maxLength":6000}},"required":["key","question"],"additionalProperties":false}}},"required":["sources","facts","open_questions"],"additionalProperties":false},{"type":"null"}]},"selection":{"anyOf":[{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"signal_ids":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}}},"required":["campaign_id","signal_ids"],"additionalProperties":false},{"type":"null"}]},"signal_proposals":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"description":{"anyOf":[{"type":"string","maxLength":6000},{"type":"null"}]},"kind":{"type":"string","enum":["profile_visitors","received_invitations","followers","post_people","lead_magnet","watched_accounts","people_search","keyword_posts"]},"target":{"anyOf":[{"type":"object","properties":{},"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"scope":{"type":"string","const":"self"}},"required":["scope"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"profile"},"profile_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","profile_url"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"company"},"company_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","company_url"],"additionalProperties":false}]},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["post_url"],"additionalProperties":false},{"type":"object","properties":{"urls":{"minItems":1,"maxItems":20,"type":"array","items":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"string","maxLength":2000,"format":"uri"}]}}},"required":["urls"],"additionalProperties":false},{"type":"object","properties":{"queries":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}}},"required":["queries"],"additionalProperties":false},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"},"recipient_member_id":{"type":"string","minLength":1,"maxLength":200},"keywords":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"resource_url":{"type":"string","maxLength":2000,"format":"uri"},"templates":{"type":"object","properties":{"dm":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":6000}},"confirmation":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}},"connection_request":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}}},"required":["dm","confirmation","connection_request"],"additionalProperties":false},"duration_days":{"type":"integer","minimum":1,"maximum":90},"inactivity_hours":{"type":"integer","minimum":1,"maximum":168},"filter_by_icp":{"default":false,"type":"boolean"}},"required":["post_url","keywords","resource_url","templates","duration_days","inactivity_hours","filter_by_icp"],"additionalProperties":false}]}},"required":["name","kind","target"],"additionalProperties":false}},"tone":{"type":"object","properties":{"status":{"type":"string","enum":["pending","confirmed","deferred"]},"scope":{"type":"string","enum":["campaign","organization"]},"preferences":{"type":"object","properties":{"formality":{"type":"string","minLength":1,"maxLength":6000},"length":{"type":"string","minLength":1,"maxLength":6000},"preferred_expressions":{"type":"string","minLength":1,"maxLength":6000},"avoided_expressions":{"type":"string","minLength":1,"maxLength":6000},"meeting_criteria":{"type":"string","minLength":1,"maxLength":6000}},"additionalProperties":false},"examples":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"purpose":{"type":"string","minLength":1,"maxLength":120},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["purpose","text"],"additionalProperties":false}},"deferred_reason":{"type":"string","minLength":1,"maxLength":6000}},"required":["status","scope","preferences","examples"],"additionalProperties":false},"memory":{"type":"object","properties":{"status":{"type":"string","enum":["pending","saved","deferred","unavailable"]},"scope":{"type":"string","enum":["campaign","organization"]},"destination_label":{"type":"string","minLength":1,"maxLength":120},"files":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"source_ref":{"type":"string","minLength":1,"maxLength":160},"label":{"type":"string","minLength":1,"maxLength":120}},"required":["source_ref","label"],"additionalProperties":false}},"deferred_reason":{"type":"string","minLength":1,"maxLength":6000},"unavailable_reason":{"type":"string","minLength":1,"maxLength":6000}},"required":["status","scope"],"additionalProperties":false},"capture_decision":{"anyOf":[{"type":"object","properties":{"decision":{"type":"string","enum":["confirmed","deferred"]},"proposal_indexes":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":0,"maximum":19}},"note":{"type":"string","minLength":1,"maxLength":6000},"automatic_delivery_confirmed":{"type":"boolean","const":true},"actor_user_id":{"type":"string","minLength":1,"maxLength":160},"decided_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["decision","proposal_indexes","note","actor_user_id","decided_at"],"additionalProperties":false},{"type":"null"}]},"onboarding_id":{"type":"string","minLength":1,"maxLength":160},"status":{"type":"string","enum":["in_progress","completed"]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"completed_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]}},"required":["brief","selection","signal_proposals","tone","memory","capture_decision","onboarding_id","status","created_at","updated_at","completed_at"],"additionalProperties":false},{"type":"null"}]},"readiness":{"type":"object","properties":{"ready_to_complete":{"type":"boolean"},"campaign_active":{"type":"boolean"},"service_valid":{"type":"boolean"},"icp_valid":{"type":"boolean"},"active_signal_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"blockers":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"field":{"type":"string"},"message":{"type":"string"}},"required":["code","field","message"],"additionalProperties":false}}},"required":["ready_to_complete","campaign_active","service_valid","icp_valid","active_signal_count","blockers"],"additionalProperties":false},"next_steps":{"type":"array","items":{"type":"string"}},"effects":{"type":"object","properties":{"captures_started":{"type":"number","const":0},"messages_approved":{"type":"number","const":0}},"required":["captures_started","messages_approved"],"additionalProperties":false}},"required":["onboarding","readiness","next_steps","effects"],"additionalProperties":false},"complete_onboardingBody":{"type":"object","properties":{},"additionalProperties":false},"list_organization_membersInput":{"type":"object","properties":{"limit":{"default":25,"type":"integer","minimum":1,"maximum":50},"cursor":{"type":"string","minLength":1,"maxLength":160}}},"list_organization_membersOutput":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"member_id":{"type":"string"},"user_id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"role":{"type":"string","const":"member"},"is_self":{"type":"boolean"}},"required":["member_id","user_id","name","email","role","is_self"],"additionalProperties":false}},"next_cursor":{"type":["string","null"]}},"required":["items","next_cursor"],"additionalProperties":false},"list_organization_invitationsInput":{"type":"object","properties":{"limit":{"default":25,"type":"integer","minimum":1,"maximum":50},"cursor":{"type":"string","minLength":1,"maxLength":160}}},"list_organization_invitationsOutput":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"invitation_id":{"type":"string"},"email":{"type":"string"},"state":{"type":"string","const":"pending"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["invitation_id","email","state","expires_at"],"additionalProperties":false}},"next_cursor":{"type":["string","null"]}},"required":["items","next_cursor"],"additionalProperties":false},"invite_organization_memberInput":{"type":"object","properties":{"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["email"],"additionalProperties":false},"invite_organization_memberOutput":{"type":"object","properties":{"invitation_id":{"type":"string"},"email":{"type":"string"},"state":{"type":"string","const":"pending"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["invitation_id","email","state","expires_at"],"additionalProperties":false},"invite_organization_memberBody":{"type":"object","properties":{"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["email"],"additionalProperties":false},"cancel_organization_invitationInput":{"type":"object","properties":{"invitation_id":{"type":"string","minLength":1,"maxLength":160}},"required":["invitation_id"],"additionalProperties":false},"cancel_organization_invitationOutput":{"type":"object","properties":{"invitation_id":{"type":"string"},"state":{"type":"string","const":"canceled"}},"required":["invitation_id","state"],"additionalProperties":false},"cancel_organization_invitationBody":{"type":"object","properties":{},"additionalProperties":false},"remove_organization_memberInput":{"type":"object","properties":{"member_id":{"type":"string","minLength":1,"maxLength":160}},"required":["member_id"],"additionalProperties":false},"remove_organization_memberOutput":{"type":"object","properties":{"member_id":{"type":"string"},"removed":{"type":"boolean","const":true}},"required":["member_id","removed"],"additionalProperties":false},"remove_organization_memberBody":{"type":"object","properties":{},"additionalProperties":false},"list_accountsInput":{"type":"object","properties":{"channel":{"type":"string","enum":["linkedin","email"]},"limit":{"default":25,"type":"integer","minimum":1,"maximum":50},"cursor":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"additionalProperties":false},"list_accountsOutput":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"},"channel":{"type":"string","enum":["linkedin","email"]},"provider":{"type":"string","enum":["linkedin","google","microsoft"]},"status":{"type":"string","enum":["ready","recovering","reconnect_required"]},"can_associate":{"type":"boolean"},"capabilities":{"type":"object","properties":{"messaging":{"type":"string","enum":["available","unavailable","unknown","not_applicable"]},"calendar":{"type":"string","enum":["available","unavailable","unknown","not_applicable"]}},"required":["messaging","calendar"],"additionalProperties":false}},"required":["account_id","name","channel","provider","status","can_associate","capabilities"],"additionalProperties":false}},"returned_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}},"required":["items","returned_count","has_more","next_cursor"],"additionalProperties":false},"get_accountInput":{"type":"object","properties":{"account_id":{"type":"string","minLength":1,"maxLength":160}},"required":["account_id"],"additionalProperties":false},"get_accountOutput":{"type":"object","properties":{"account":{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"},"channel":{"type":"string","enum":["linkedin","email"]},"provider":{"type":"string","enum":["linkedin","google","microsoft"]},"status":{"type":"string","enum":["ready","recovering","reconnect_required"]},"can_associate":{"type":"boolean"},"capabilities":{"type":"object","properties":{"messaging":{"type":"string","enum":["available","unavailable","unknown","not_applicable"]},"calendar":{"type":"string","enum":["available","unavailable","unknown","not_applicable"]}},"required":["messaging","calendar"],"additionalProperties":false},"email_senders":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"display_name":{"type":"string","maxLength":2000},"is_primary":{"type":"boolean"},"verification_status":{"type":"string","enum":["verified","pending","unknown"]}},"required":["email","is_primary","verification_status"],"additionalProperties":false}},"checked_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["items","checked_at"],"additionalProperties":false},{"type":"null"}]},"calendar":{"anyOf":[{"type":"object","properties":{"name":{"type":["string","null"]},"timezone":{"type":["string","null"]},"availability_read":{"type":"string","enum":["available","unavailable","unknown","not_applicable"]},"event_creation":{"type":"string","enum":["available","unavailable","unknown","not_applicable"]},"checked_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["name","timezone","availability_read","event_creation","checked_at"],"additionalProperties":false},{"type":"null"}]},"linkedin":{"anyOf":[{"type":"object","properties":{"sales_navigator":{"type":"string","enum":["available","unavailable","unknown","not_applicable"]},"contacts_coverage":{"type":"string","enum":["unknown","partial","complete"]},"contacts_last_synced_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["sales_navigator","contacts_coverage","contacts_last_synced_at"],"additionalProperties":false},{"type":"null"}]},"checked_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["account_id","name","channel","provider","status","can_associate","capabilities","email_senders","calendar","linkedin","checked_at","created_at","updated_at"],"additionalProperties":false}},"required":["account"],"additionalProperties":false},"refresh_account_calendarInput":{"type":"object","properties":{"account_id":{"type":"string","minLength":1,"maxLength":160}},"required":["account_id"],"additionalProperties":false},"refresh_account_calendarOutput":{"type":"object","properties":{"account_id":{"type":"string"},"calendar":{"type":"object","properties":{"name":{"type":"string"},"can_read":{"type":"boolean"},"can_write":{"type":"boolean"},"checked_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["name","can_read","can_write","checked_at"],"additionalProperties":false}},"required":["account_id","calendar"],"additionalProperties":false},"refresh_account_calendarBody":{"type":"object","properties":{},"additionalProperties":false},"list_account_email_sendersInput":{"type":"object","properties":{"account_id":{"type":"string","minLength":1,"maxLength":160}},"required":["account_id"],"additionalProperties":false},"list_account_email_sendersOutput":{"type":"object","properties":{"account_id":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"display_name":{"type":"string","maxLength":2000},"is_primary":{"type":"boolean"},"verification_status":{"type":"string","enum":["verified","pending","unknown"]}},"required":["email","is_primary","verification_status"],"additionalProperties":false}},"checked_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["account_id","items","checked_at"],"additionalProperties":false},"list_servicesInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"limit":{"default":25,"type":"integer","minimum":1,"maximum":50},"cursor":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"additionalProperties":false},"list_servicesOutput":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["service_id","name","description","created_at","updated_at"],"additionalProperties":false}},"returned_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}},"required":["items","returned_count","has_more","next_cursor"],"additionalProperties":false},"get_serviceInput":{"type":"object","properties":{"service_id":{"type":"string","minLength":1,"maxLength":160}},"required":["service_id"],"additionalProperties":false},"get_serviceOutput":{"type":"object","properties":{"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"offers":{"type":"string"},"key_benefits":{"type":"string"},"price_range":{"type":"string"},"commercial_terms":{"type":"string"},"faq":{"type":"array","items":{"type":"object","properties":{"question":{"type":"string"},"answer":{"type":"string"}},"required":["question","answer"],"additionalProperties":false}}},"required":["service_id","name","description","created_at","updated_at","offers","key_benefits","price_range","commercial_terms","faq"],"additionalProperties":false}},"required":["service"],"additionalProperties":false},"create_serviceInput":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":6000},"offers":{"type":"string","minLength":1,"maxLength":6000},"key_benefits":{"type":"string","minLength":1,"maxLength":6000},"price_range":{"type":"string","minLength":1,"maxLength":6000},"commercial_terms":{"default":"","type":"string","maxLength":6000},"faq":{"default":[],"maxItems":50,"type":"array","items":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":6000},"answer":{"type":"string","minLength":1,"maxLength":6000}},"required":["question","answer"],"additionalProperties":false}}},"required":["name","description","offers","key_benefits","price_range"],"additionalProperties":false},"create_serviceOutput":{"type":"object","properties":{"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"offers":{"type":"string"},"key_benefits":{"type":"string"},"price_range":{"type":"string"},"commercial_terms":{"type":"string"},"faq":{"type":"array","items":{"type":"object","properties":{"question":{"type":"string"},"answer":{"type":"string"}},"required":["question","answer"],"additionalProperties":false}}},"required":["service_id","name","description","created_at","updated_at","offers","key_benefits","price_range","commercial_terms","faq"],"additionalProperties":false}},"required":["service"],"additionalProperties":false},"create_serviceBody":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":6000},"offers":{"type":"string","minLength":1,"maxLength":6000},"key_benefits":{"type":"string","minLength":1,"maxLength":6000},"price_range":{"type":"string","minLength":1,"maxLength":6000},"commercial_terms":{"default":"","type":"string","maxLength":6000},"faq":{"default":[],"maxItems":50,"type":"array","items":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":6000},"answer":{"type":"string","minLength":1,"maxLength":6000}},"required":["question","answer"],"additionalProperties":false}}},"required":["name","description","offers","key_benefits","price_range"],"additionalProperties":false},"update_serviceInput":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":6000},"offers":{"type":"string","minLength":1,"maxLength":6000},"key_benefits":{"type":"string","minLength":1,"maxLength":6000},"price_range":{"type":"string","minLength":1,"maxLength":6000},"commercial_terms":{"type":"string","maxLength":6000},"faq":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":6000},"answer":{"type":"string","minLength":1,"maxLength":6000}},"required":["question","answer"],"additionalProperties":false}},"service_id":{"type":"string","minLength":1,"maxLength":160}},"required":["service_id"],"additionalProperties":false},"update_serviceOutput":{"type":"object","properties":{"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"offers":{"type":"string"},"key_benefits":{"type":"string"},"price_range":{"type":"string"},"commercial_terms":{"type":"string"},"faq":{"type":"array","items":{"type":"object","properties":{"question":{"type":"string"},"answer":{"type":"string"}},"required":["question","answer"],"additionalProperties":false}}},"required":["service_id","name","description","created_at","updated_at","offers","key_benefits","price_range","commercial_terms","faq"],"additionalProperties":false}},"required":["service"],"additionalProperties":false},"update_serviceBody":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":6000},"offers":{"type":"string","minLength":1,"maxLength":6000},"key_benefits":{"type":"string","minLength":1,"maxLength":6000},"price_range":{"type":"string","minLength":1,"maxLength":6000},"commercial_terms":{"type":"string","maxLength":6000},"faq":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":6000},"answer":{"type":"string","minLength":1,"maxLength":6000}},"required":["question","answer"],"additionalProperties":false}}},"additionalProperties":false},"delete_serviceInput":{"type":"object","properties":{"service_id":{"type":"string","minLength":1,"maxLength":160}},"required":["service_id"],"additionalProperties":false},"delete_serviceOutput":{"type":"object","properties":{"service":{"type":"object","properties":{"service_id":{"type":"string"},"deleted":{"type":"boolean","const":true}},"required":["service_id","deleted"],"additionalProperties":false},"effects":{"type":"object","properties":{"campaigns_paused":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["campaigns_paused"],"additionalProperties":false}},"required":["service","effects"],"additionalProperties":false},"delete_serviceBody":{"type":"object","properties":{},"additionalProperties":false},"get_icp_filter_optionsInput":{"type":"object","properties":{},"additionalProperties":false},"get_icp_filter_optionsOutput":{"type":"object","properties":{"version":{"type":"string"},"provenance":{"type":"string"},"countries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"label_en":{"type":"string"}},"required":["id","label","label_en"],"additionalProperties":false}},"industries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"label_en":{"type":"string"}},"required":["id","label","label_en"],"additionalProperties":false}}},"required":["version","provenance","countries","industries"],"additionalProperties":false},"list_icpsInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"limit":{"default":25,"type":"integer","minimum":1,"maximum":50},"cursor":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"additionalProperties":false},"list_icpsOutput":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"icp_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["icp_id","name","description","created_at","updated_at"],"additionalProperties":false}},"returned_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}},"required":["items","returned_count","has_more","next_cursor"],"additionalProperties":false},"get_icpInput":{"type":"object","properties":{"icp_id":{"type":"string","minLength":1,"maxLength":160}},"required":["icp_id"],"additionalProperties":false},"get_icpOutput":{"type":"object","properties":{"icp":{"type":"object","properties":{"icp_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"persona":{"type":"object","properties":{"role_keywords_must":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"role_keywords_nice":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"departments":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"countries":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"location_regions_preferred":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["role_keywords_must","role_keywords_nice","departments","countries","location_regions_preferred"],"additionalProperties":false},"company":{"type":"object","properties":{"industries":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"company_size_employees_min":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"company_size_employees_max":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"qualification_requirements":{"type":"object","properties":{"business":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"sales_channel":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"customer_type":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["business","sales_channel","customer_type"],"additionalProperties":false}},"required":["industries","company_size_employees_min","company_size_employees_max"],"additionalProperties":false}},"required":["icp_id","name","description","created_at","updated_at","persona","company"],"additionalProperties":false}},"required":["icp"],"additionalProperties":false},"create_icpInput":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":6000},"persona":{"type":"object","properties":{"role_keywords_must":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"role_keywords_nice":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"departments":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"countries":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"location_regions_preferred":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["role_keywords_must","departments","countries"],"additionalProperties":false},"company":{"type":"object","properties":{"industries":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"company_size_employees_min":{"type":"integer","minimum":0,"maximum":9007199254740991},"company_size_employees_max":{"type":"integer","minimum":0,"maximum":9007199254740991},"qualification_requirements":{"type":"object","properties":{"business":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"sales_channel":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"customer_type":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["business","sales_channel","customer_type"],"additionalProperties":false}},"required":["industries","company_size_employees_min","company_size_employees_max"],"additionalProperties":false}},"required":["name","description","persona","company"],"additionalProperties":false},"create_icpOutput":{"type":"object","properties":{"icp":{"type":"object","properties":{"icp_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"persona":{"type":"object","properties":{"role_keywords_must":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"role_keywords_nice":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"departments":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"countries":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"location_regions_preferred":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["role_keywords_must","role_keywords_nice","departments","countries","location_regions_preferred"],"additionalProperties":false},"company":{"type":"object","properties":{"industries":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"company_size_employees_min":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"company_size_employees_max":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"qualification_requirements":{"type":"object","properties":{"business":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"sales_channel":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"customer_type":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["business","sales_channel","customer_type"],"additionalProperties":false}},"required":["industries","company_size_employees_min","company_size_employees_max"],"additionalProperties":false}},"required":["icp_id","name","description","created_at","updated_at","persona","company"],"additionalProperties":false}},"required":["icp"],"additionalProperties":false},"create_icpBody":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":6000},"persona":{"type":"object","properties":{"role_keywords_must":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"role_keywords_nice":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"departments":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"countries":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"location_regions_preferred":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["role_keywords_must","departments","countries"],"additionalProperties":false},"company":{"type":"object","properties":{"industries":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"company_size_employees_min":{"type":"integer","minimum":0,"maximum":9007199254740991},"company_size_employees_max":{"type":"integer","minimum":0,"maximum":9007199254740991},"qualification_requirements":{"type":"object","properties":{"business":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"sales_channel":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"customer_type":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["business","sales_channel","customer_type"],"additionalProperties":false}},"required":["industries","company_size_employees_min","company_size_employees_max"],"additionalProperties":false}},"required":["name","description","persona","company"],"additionalProperties":false},"update_icpInput":{"type":"object","properties":{"icp_id":{"type":"string","minLength":1,"maxLength":160},"name":{"type":"string","minLength":2,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":6000},"persona":{"type":"object","properties":{"role_keywords_must":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"role_keywords_nice":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"departments":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"countries":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"location_regions_preferred":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"additionalProperties":false},"company":{"type":"object","properties":{"industries":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"company_size_employees_min":{"type":"integer","minimum":0,"maximum":9007199254740991},"company_size_employees_max":{"type":"integer","minimum":0,"maximum":9007199254740991},"qualification_requirements":{"type":"object","properties":{"business":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"sales_channel":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"customer_type":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["business","sales_channel","customer_type"],"additionalProperties":false}},"additionalProperties":false}},"required":["icp_id"],"additionalProperties":false},"update_icpOutput":{"type":"object","properties":{"icp":{"type":"object","properties":{"icp_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"persona":{"type":"object","properties":{"role_keywords_must":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"role_keywords_nice":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"departments":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"countries":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"location_regions_preferred":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["role_keywords_must","role_keywords_nice","departments","countries","location_regions_preferred"],"additionalProperties":false},"company":{"type":"object","properties":{"industries":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"company_size_employees_min":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"company_size_employees_max":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"qualification_requirements":{"type":"object","properties":{"business":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"sales_channel":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"customer_type":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["business","sales_channel","customer_type"],"additionalProperties":false}},"required":["industries","company_size_employees_min","company_size_employees_max"],"additionalProperties":false}},"required":["icp_id","name","description","created_at","updated_at","persona","company"],"additionalProperties":false},"effects":{"type":"object","properties":{"criteria_changed":{"type":"boolean"},"campaigns_affected":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["criteria_changed","campaigns_affected"],"additionalProperties":false}},"required":["icp","effects"],"additionalProperties":false},"update_icpBody":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":6000},"persona":{"type":"object","properties":{"role_keywords_must":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"role_keywords_nice":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"departments":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"countries":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"location_regions_preferred":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"additionalProperties":false},"company":{"type":"object","properties":{"industries":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"company_size_employees_min":{"type":"integer","minimum":0,"maximum":9007199254740991},"company_size_employees_max":{"type":"integer","minimum":0,"maximum":9007199254740991},"qualification_requirements":{"type":"object","properties":{"business":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"sales_channel":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"customer_type":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["business","sales_channel","customer_type"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"delete_icpInput":{"type":"object","properties":{"icp_id":{"type":"string","minLength":1,"maxLength":160}},"required":["icp_id"],"additionalProperties":false},"delete_icpOutput":{"type":"object","properties":{"icp":{"type":"object","properties":{"icp_id":{"type":"string"},"deleted":{"type":"boolean","const":true}},"required":["icp_id","deleted"],"additionalProperties":false},"effects":{"type":"object","properties":{"campaigns_paused":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["campaigns_paused"],"additionalProperties":false}},"required":["icp","effects"],"additionalProperties":false},"delete_icpBody":{"type":"object","properties":{},"additionalProperties":false},"list_signalsInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"name":{"type":"string","minLength":1,"maxLength":120},"status":{"type":"string","enum":["active","paused","completed"]},"limit":{"default":25,"type":"integer","minimum":1,"maximum":50},"cursor":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"additionalProperties":false},"list_signalsOutput":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"signal_id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"kind":{"type":"string","enum":["profile_visitors","received_invitations","followers","post_people","lead_magnet","watched_accounts","people_search","keyword_posts"]},"status":{"type":"string","enum":["active","paused","completed"]},"campaign_id":{"type":"string"},"summary":{"type":"object","properties":{"lead_magnet":{"type":"object","properties":{"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"working":{"type":"integer","minimum":0,"maximum":9007199254740991},"waiting_connection":{"type":"integer","minimum":0,"maximum":9007199254740991},"completed":{"type":"integer","minimum":0,"maximum":9007199254740991},"review":{"type":"integer","minimum":0,"maximum":9007199254740991},"filtered":{"type":"integer","minimum":0,"maximum":9007199254740991},"expired":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["pending","working","waiting_connection","completed","review","filtered","expired"],"additionalProperties":false},"people_captured":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_processed":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_available":{"type":"integer","minimum":0,"maximum":9007199254740991},"enrichment_pending":{"type":"boolean"}},"required":["people_captured","people_processed","people_available","enrichment_pending"],"additionalProperties":false}},"required":["signal_id","name","description","kind","status","campaign_id","summary"],"additionalProperties":false}},"returned_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]},"as_of":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["items","returned_count","has_more","next_cursor","as_of"],"additionalProperties":false},"get_signalInput":{"type":"object","properties":{"signal_id":{"type":"string","minLength":1,"maxLength":160}},"required":["signal_id"],"additionalProperties":false},"get_signalOutput":{"type":"object","properties":{"signal":{"type":"object","properties":{"signal_id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"kind":{"type":"string","enum":["profile_visitors","received_invitations","followers","post_people","lead_magnet","watched_accounts","people_search","keyword_posts"]},"status":{"type":"string","enum":["active","paused","completed","deleted"]},"campaign_id":{"type":"string"},"account_id":{"type":"string"},"icp_id":{"type":"string"},"target":{"anyOf":[{"type":"object","properties":{},"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"scope":{"type":"string","const":"self"}},"required":["scope"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"profile"},"profile_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","profile_url"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"company"},"company_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","company_url"],"additionalProperties":false}]},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["post_url"],"additionalProperties":false},{"type":"object","properties":{"urls":{"minItems":1,"maxItems":20,"type":"array","items":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"string","maxLength":2000,"format":"uri"}]}}},"required":["urls"],"additionalProperties":false},{"type":"object","properties":{"queries":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}}},"required":["queries"],"additionalProperties":false},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"},"recipient_member_id":{"type":"string","minLength":1,"maxLength":200},"keywords":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"resource_url":{"type":"string","maxLength":2000,"format":"uri"},"templates":{"type":"object","properties":{"dm":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":6000}},"confirmation":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}},"connection_request":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}}},"required":["dm","confirmation","connection_request"],"additionalProperties":false},"duration_days":{"type":"integer","minimum":1,"maximum":90},"inactivity_hours":{"type":"integer","minimum":1,"maximum":168},"filter_by_icp":{"default":false,"type":"boolean"}},"required":["post_url","keywords","resource_url","templates","duration_days","inactivity_hours","filter_by_icp"],"additionalProperties":false}]},"lead_magnet":{"type":"object","properties":{"capture_state":{"type":"string","enum":["pending","partial","complete"]},"created_by":{"type":"string","minLength":1},"started_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"last_comment_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"last_capture_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]},"stop_reason":{"type":["string","null"]},"error_code":{"type":["string","null"]}},"required":["created_by","started_at","expires_at","last_comment_at","last_capture_at","stop_reason"],"additionalProperties":false},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["signal_id","name","description","kind","status","campaign_id","account_id","icp_id","target","created_at","updated_at"],"additionalProperties":false},"summary":{"type":"object","properties":{"lead_magnet":{"type":"object","properties":{"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"working":{"type":"integer","minimum":0,"maximum":9007199254740991},"waiting_connection":{"type":"integer","minimum":0,"maximum":9007199254740991},"completed":{"type":"integer","minimum":0,"maximum":9007199254740991},"review":{"type":"integer","minimum":0,"maximum":9007199254740991},"filtered":{"type":"integer","minimum":0,"maximum":9007199254740991},"expired":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["pending","working","waiting_connection","completed","review","filtered","expired"],"additionalProperties":false},"people_captured":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_processed":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_available":{"type":"integer","minimum":0,"maximum":9007199254740991},"enrichment_pending":{"type":"boolean"},"as_of":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["people_captured","people_processed","people_available","enrichment_pending","as_of"],"additionalProperties":false}},"required":["signal","summary"],"additionalProperties":false},"create_signalInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"name":{"type":"string","minLength":2,"maxLength":120},"description":{"anyOf":[{"type":"string","maxLength":6000},{"type":"null"}]},"kind":{"type":"string","enum":["profile_visitors","received_invitations","followers","post_people","lead_magnet","watched_accounts","people_search","keyword_posts"]},"target":{"anyOf":[{"type":"object","properties":{},"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"scope":{"type":"string","const":"self"}},"required":["scope"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"profile"},"profile_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","profile_url"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"company"},"company_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","company_url"],"additionalProperties":false}]},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["post_url"],"additionalProperties":false},{"type":"object","properties":{"urls":{"minItems":1,"maxItems":20,"type":"array","items":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"string","maxLength":2000,"format":"uri"}]}}},"required":["urls"],"additionalProperties":false},{"type":"object","properties":{"queries":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}}},"required":["queries"],"additionalProperties":false},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"},"recipient_member_id":{"type":"string","minLength":1,"maxLength":200},"keywords":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"resource_url":{"type":"string","maxLength":2000,"format":"uri"},"templates":{"type":"object","properties":{"dm":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":6000}},"confirmation":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}},"connection_request":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}}},"required":["dm","confirmation","connection_request"],"additionalProperties":false},"duration_days":{"type":"integer","minimum":1,"maximum":90},"inactivity_hours":{"type":"integer","minimum":1,"maximum":168},"filter_by_icp":{"default":false,"type":"boolean"}},"required":["post_url","keywords","resource_url","templates","duration_days","inactivity_hours"],"additionalProperties":false}]}},"required":["campaign_id","name","kind","target"],"additionalProperties":false},"create_signalOutput":{"type":"object","properties":{"signal":{"type":"object","properties":{"signal_id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"kind":{"type":"string","enum":["profile_visitors","received_invitations","followers","post_people","lead_magnet","watched_accounts","people_search","keyword_posts"]},"status":{"type":"string","enum":["active","paused","completed","deleted"]},"campaign_id":{"type":"string"},"account_id":{"type":"string"},"icp_id":{"type":"string"},"target":{"anyOf":[{"type":"object","properties":{},"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"scope":{"type":"string","const":"self"}},"required":["scope"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"profile"},"profile_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","profile_url"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"company"},"company_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","company_url"],"additionalProperties":false}]},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["post_url"],"additionalProperties":false},{"type":"object","properties":{"urls":{"minItems":1,"maxItems":20,"type":"array","items":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"string","maxLength":2000,"format":"uri"}]}}},"required":["urls"],"additionalProperties":false},{"type":"object","properties":{"queries":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}}},"required":["queries"],"additionalProperties":false},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"},"recipient_member_id":{"type":"string","minLength":1,"maxLength":200},"keywords":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"resource_url":{"type":"string","maxLength":2000,"format":"uri"},"templates":{"type":"object","properties":{"dm":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":6000}},"confirmation":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}},"connection_request":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}}},"required":["dm","confirmation","connection_request"],"additionalProperties":false},"duration_days":{"type":"integer","minimum":1,"maximum":90},"inactivity_hours":{"type":"integer","minimum":1,"maximum":168},"filter_by_icp":{"default":false,"type":"boolean"}},"required":["post_url","keywords","resource_url","templates","duration_days","inactivity_hours","filter_by_icp"],"additionalProperties":false}]},"lead_magnet":{"type":"object","properties":{"capture_state":{"type":"string","enum":["pending","partial","complete"]},"created_by":{"type":"string","minLength":1},"started_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"last_comment_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"last_capture_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]},"stop_reason":{"type":["string","null"]},"error_code":{"type":["string","null"]}},"required":["created_by","started_at","expires_at","last_comment_at","last_capture_at","stop_reason"],"additionalProperties":false},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["signal_id","name","description","kind","status","campaign_id","account_id","icp_id","target","created_at","updated_at"],"additionalProperties":false},"summary":{"type":"object","properties":{"lead_magnet":{"type":"object","properties":{"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"working":{"type":"integer","minimum":0,"maximum":9007199254740991},"waiting_connection":{"type":"integer","minimum":0,"maximum":9007199254740991},"completed":{"type":"integer","minimum":0,"maximum":9007199254740991},"review":{"type":"integer","minimum":0,"maximum":9007199254740991},"filtered":{"type":"integer","minimum":0,"maximum":9007199254740991},"expired":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["pending","working","waiting_connection","completed","review","filtered","expired"],"additionalProperties":false},"people_captured":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_processed":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_available":{"type":"integer","minimum":0,"maximum":9007199254740991},"enrichment_pending":{"type":"boolean"},"as_of":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["people_captured","people_processed","people_available","enrichment_pending","as_of"],"additionalProperties":false}},"required":["signal","summary"],"additionalProperties":false},"create_signalBody":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"name":{"type":"string","minLength":2,"maxLength":120},"description":{"anyOf":[{"type":"string","maxLength":6000},{"type":"null"}]},"kind":{"type":"string","enum":["profile_visitors","received_invitations","followers","post_people","lead_magnet","watched_accounts","people_search","keyword_posts"]},"target":{"anyOf":[{"type":"object","properties":{},"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"scope":{"type":"string","const":"self"}},"required":["scope"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"profile"},"profile_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","profile_url"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"company"},"company_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","company_url"],"additionalProperties":false}]},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["post_url"],"additionalProperties":false},{"type":"object","properties":{"urls":{"minItems":1,"maxItems":20,"type":"array","items":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"string","maxLength":2000,"format":"uri"}]}}},"required":["urls"],"additionalProperties":false},{"type":"object","properties":{"queries":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}}},"required":["queries"],"additionalProperties":false},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"},"recipient_member_id":{"type":"string","minLength":1,"maxLength":200},"keywords":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"resource_url":{"type":"string","maxLength":2000,"format":"uri"},"templates":{"type":"object","properties":{"dm":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":6000}},"confirmation":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}},"connection_request":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}}},"required":["dm","confirmation","connection_request"],"additionalProperties":false},"duration_days":{"type":"integer","minimum":1,"maximum":90},"inactivity_hours":{"type":"integer","minimum":1,"maximum":168},"filter_by_icp":{"default":false,"type":"boolean"}},"required":["post_url","keywords","resource_url","templates","duration_days","inactivity_hours"],"additionalProperties":false}]}},"required":["campaign_id","name","kind","target"],"additionalProperties":false},"update_signalInput":{"type":"object","properties":{"signal_id":{"type":"string","minLength":1,"maxLength":160},"name":{"type":"string","minLength":2,"maxLength":120},"description":{"anyOf":[{"type":"string","maxLength":6000},{"type":"null"}]},"target":{"anyOf":[{"type":"object","properties":{},"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"scope":{"type":"string","const":"self"}},"required":["scope"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"profile"},"profile_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","profile_url"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"company"},"company_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","company_url"],"additionalProperties":false}]},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["post_url"],"additionalProperties":false},{"type":"object","properties":{"urls":{"minItems":1,"maxItems":20,"type":"array","items":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"string","maxLength":2000,"format":"uri"}]}}},"required":["urls"],"additionalProperties":false},{"type":"object","properties":{"queries":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}}},"required":["queries"],"additionalProperties":false},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"},"recipient_member_id":{"type":"string","minLength":1,"maxLength":200},"keywords":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"resource_url":{"type":"string","maxLength":2000,"format":"uri"},"templates":{"type":"object","properties":{"dm":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":6000}},"confirmation":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}},"connection_request":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}}},"required":["dm","confirmation","connection_request"],"additionalProperties":false},"duration_days":{"type":"integer","minimum":1,"maximum":90},"inactivity_hours":{"type":"integer","minimum":1,"maximum":168},"filter_by_icp":{"default":false,"type":"boolean"}},"required":["post_url","keywords","resource_url","templates","duration_days","inactivity_hours"],"additionalProperties":false}]},"status":{"type":"string","enum":["active","paused","deleted"]}},"required":["signal_id"],"additionalProperties":false},"update_signalOutput":{"type":"object","properties":{"signal":{"type":"object","properties":{"signal_id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"kind":{"type":"string","enum":["profile_visitors","received_invitations","followers","post_people","lead_magnet","watched_accounts","people_search","keyword_posts"]},"status":{"type":"string","enum":["active","paused","completed","deleted"]},"campaign_id":{"type":"string"},"account_id":{"type":"string"},"icp_id":{"type":"string"},"target":{"anyOf":[{"type":"object","properties":{},"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"scope":{"type":"string","const":"self"}},"required":["scope"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"profile"},"profile_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","profile_url"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"company"},"company_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","company_url"],"additionalProperties":false}]},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["post_url"],"additionalProperties":false},{"type":"object","properties":{"urls":{"minItems":1,"maxItems":20,"type":"array","items":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"string","maxLength":2000,"format":"uri"}]}}},"required":["urls"],"additionalProperties":false},{"type":"object","properties":{"queries":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}}},"required":["queries"],"additionalProperties":false},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"},"recipient_member_id":{"type":"string","minLength":1,"maxLength":200},"keywords":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"resource_url":{"type":"string","maxLength":2000,"format":"uri"},"templates":{"type":"object","properties":{"dm":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":6000}},"confirmation":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}},"connection_request":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}}},"required":["dm","confirmation","connection_request"],"additionalProperties":false},"duration_days":{"type":"integer","minimum":1,"maximum":90},"inactivity_hours":{"type":"integer","minimum":1,"maximum":168},"filter_by_icp":{"default":false,"type":"boolean"}},"required":["post_url","keywords","resource_url","templates","duration_days","inactivity_hours","filter_by_icp"],"additionalProperties":false}]},"lead_magnet":{"type":"object","properties":{"capture_state":{"type":"string","enum":["pending","partial","complete"]},"created_by":{"type":"string","minLength":1},"started_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"last_comment_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"last_capture_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]},"stop_reason":{"type":["string","null"]},"error_code":{"type":["string","null"]}},"required":["created_by","started_at","expires_at","last_comment_at","last_capture_at","stop_reason"],"additionalProperties":false},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["signal_id","name","description","kind","status","campaign_id","account_id","icp_id","target","created_at","updated_at"],"additionalProperties":false},"summary":{"type":"object","properties":{"lead_magnet":{"type":"object","properties":{"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"working":{"type":"integer","minimum":0,"maximum":9007199254740991},"waiting_connection":{"type":"integer","minimum":0,"maximum":9007199254740991},"completed":{"type":"integer","minimum":0,"maximum":9007199254740991},"review":{"type":"integer","minimum":0,"maximum":9007199254740991},"filtered":{"type":"integer","minimum":0,"maximum":9007199254740991},"expired":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["pending","working","waiting_connection","completed","review","filtered","expired"],"additionalProperties":false},"people_captured":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_processed":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_available":{"type":"integer","minimum":0,"maximum":9007199254740991},"enrichment_pending":{"type":"boolean"},"as_of":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["people_captured","people_processed","people_available","enrichment_pending","as_of"],"additionalProperties":false}},"required":["signal","summary"],"additionalProperties":false},"update_signalBody":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"description":{"anyOf":[{"type":"string","maxLength":6000},{"type":"null"}]},"target":{"anyOf":[{"type":"object","properties":{},"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"scope":{"type":"string","const":"self"}},"required":["scope"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"profile"},"profile_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","profile_url"],"additionalProperties":false},{"type":"object","properties":{"scope":{"type":"string","const":"company"},"company_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["scope","company_url"],"additionalProperties":false}]},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"}},"required":["post_url"],"additionalProperties":false},{"type":"object","properties":{"urls":{"minItems":1,"maxItems":20,"type":"array","items":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"string","maxLength":2000,"format":"uri"}]}}},"required":["urls"],"additionalProperties":false},{"type":"object","properties":{"queries":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}}},"required":["queries"],"additionalProperties":false},{"type":"object","properties":{"post_url":{"type":"string","maxLength":2000,"format":"uri"},"recipient_member_id":{"type":"string","minLength":1,"maxLength":200},"keywords":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"resource_url":{"type":"string","maxLength":2000,"format":"uri"},"templates":{"type":"object","properties":{"dm":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":6000}},"confirmation":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}},"connection_request":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":3000}}},"required":["dm","confirmation","connection_request"],"additionalProperties":false},"duration_days":{"type":"integer","minimum":1,"maximum":90},"inactivity_hours":{"type":"integer","minimum":1,"maximum":168},"filter_by_icp":{"default":false,"type":"boolean"}},"required":["post_url","keywords","resource_url","templates","duration_days","inactivity_hours"],"additionalProperties":false}]},"status":{"type":"string","enum":["active","paused","deleted"]}},"additionalProperties":false},"list_peopleInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"signal_id":{"type":"string","minLength":1,"maxLength":160},"query":{"type":"string","minLength":1,"maxLength":2048},"limit":{"default":25,"type":"integer","minimum":1,"maximum":50},"cursor":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"additionalProperties":false},"list_peopleOutput":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"contact_details":{"type":"object","properties":{"emails":{"type":"array","items":{"type":"string"}},"phones":{"type":"array","items":{"type":"string"}},"requests":{"type":"array","items":{"type":"object","properties":{"person_id":{"type":"string"},"kind":{"type":"string","enum":["email","phone"]},"state":{"type":"string","enum":["queued","pending","waiting_balance","found","not_found","failed","cancelled"]},"verified":{"type":"boolean"},"error_code":{"type":["string","null"]},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"synthetic":{"type":"boolean"}},"required":["person_id","kind","state","verified","error_code","updated_at","synthetic"],"additionalProperties":false}}},"required":["emails","phones","requests"],"additionalProperties":false},"person_id":{"type":"string"},"name":{"type":"string"},"title":{"type":"string"},"company":{"type":"string"},"linkedin_url":{"type":"string"},"contexts":{"type":"array","items":{"type":"object","properties":{"campaign_id":{"type":"string"},"campaign_name":{"type":"string"},"last_linkedin_outbound":{"anyOf":[{"type":"object","properties":{"message_id":{"type":"string"},"account_id":{"type":"string"},"occurred_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"read_receipt":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"not_applicable"}},"required":["status"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","const":"unknown"}},"required":["status"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","const":"read"},"read_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["status","read_at"],"additionalProperties":false}]},"reply_status":{"type":"string","enum":["reply_observed","no_reply_observed"]}},"required":["message_id","account_id","occurred_at","read_receipt","reply_status"],"additionalProperties":false},{"type":"null"}]},"account_id":{"type":"string"},"icp_id":{"type":"string"},"initial_scoring_policy":{"type":"string","enum":["icp_gate","contact_all_after_enrichment"]},"participation":{"type":"object","properties":{"status":{"type":"string"}},"required":["status"],"additionalProperties":false},"evaluation":{"type":"object","properties":{"decision":{"anyOf":[{"type":"string","enum":["retained","rejected"]},{"type":"null"}]},"professional_score":{"type":["number","null"]},"coverage":{"type":"number"},"evaluated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"synthetic":{"type":"boolean"},"employments":{"type":"array","items":{"type":"object","properties":{"employment_ref":{"type":"string"},"company_ref":{"type":["string","null"]},"selected":{"type":"boolean"},"decision":{"type":"string","enum":["retained","rejected"]},"vetoes":{"type":"array","items":{"type":"string"}},"dimensions":{"type":"object","properties":{"role":{"type":"object","properties":{"points":{"type":["string","null"]},"maximum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["points","maximum"],"additionalProperties":false},"scope":{"type":"object","properties":{"points":{"type":["string","null"]},"maximum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["points","maximum"],"additionalProperties":false},"activity":{"type":"object","properties":{"points":{"type":["string","null"]},"maximum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["points","maximum"],"additionalProperties":false},"size":{"type":"object","properties":{"points":{"type":["string","null"]},"maximum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["compatible","incompatible","unknown","not_applicable"]}},"required":["points","maximum","state"],"additionalProperties":false},"location":{"type":"object","properties":{"points":{"type":["string","null"]},"maximum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["compatible","incompatible","unknown","not_applicable"]}},"required":["points","maximum","state"],"additionalProperties":false}},"required":["role","scope","activity","size","location"],"additionalProperties":false}},"required":["employment_ref","company_ref","selected","decision","vetoes","dimensions"],"additionalProperties":false}}},"required":["decision","professional_score","coverage","evaluated_at","synthetic"],"additionalProperties":false},"relationship":{"type":"object","properties":{"state":{"type":"string","enum":["connected","not_connected","unknown"]},"reason":{"type":"string"},"observed_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"account_id":{"type":"string"}},"required":["state","reason","observed_at","account_id"],"additionalProperties":false},"scores":{"type":"object","properties":{"professional_score":{"type":["number","null"]},"conversation_score":{"type":"number"},"lead_score":{"type":["number","null"]}},"required":["professional_score","conversation_score","lead_score"],"additionalProperties":false}},"required":["campaign_id","campaign_name","last_linkedin_outbound","account_id","icp_id","initial_scoring_policy","participation","evaluation","relationship","scores"],"additionalProperties":false}}},"required":["person_id","name","title","company","linkedin_url","contexts"],"additionalProperties":false}},"returned_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]},"as_of":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["items","returned_count","has_more","next_cursor","as_of"],"additionalProperties":false},"get_personInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"signal_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"linkedin_url":{"type":"string","maxLength":2048}},"additionalProperties":false},"get_personOutput":{"type":"object","properties":{"person":{"type":"object","properties":{"contact_details":{"type":"object","properties":{"emails":{"type":"array","items":{"type":"string"}},"phones":{"type":"array","items":{"type":"string"}},"requests":{"type":"array","items":{"type":"object","properties":{"person_id":{"type":"string"},"kind":{"type":"string","enum":["email","phone"]},"state":{"type":"string","enum":["queued","pending","waiting_balance","found","not_found","failed","cancelled"]},"verified":{"type":"boolean"},"error_code":{"type":["string","null"]},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"synthetic":{"type":"boolean"}},"required":["person_id","kind","state","verified","error_code","updated_at","synthetic"],"additionalProperties":false}}},"required":["emails","phones","requests"],"additionalProperties":false},"person_id":{"type":"string"},"name":{"type":"string"},"title":{"type":"string"},"company":{"type":"string"},"linkedin_url":{"type":"string"},"contexts":{"type":"array","items":{"type":"object","properties":{"campaign_id":{"type":"string"},"campaign_name":{"type":"string"},"last_linkedin_outbound":{"anyOf":[{"type":"object","properties":{"message_id":{"type":"string"},"account_id":{"type":"string"},"occurred_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"read_receipt":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"not_applicable"}},"required":["status"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","const":"unknown"}},"required":["status"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","const":"read"},"read_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["status","read_at"],"additionalProperties":false}]},"reply_status":{"type":"string","enum":["reply_observed","no_reply_observed"]}},"required":["message_id","account_id","occurred_at","read_receipt","reply_status"],"additionalProperties":false},{"type":"null"}]},"account_id":{"type":"string"},"icp_id":{"type":"string"},"initial_scoring_policy":{"type":"string","enum":["icp_gate","contact_all_after_enrichment"]},"participation":{"type":"object","properties":{"status":{"type":"string"}},"required":["status"],"additionalProperties":false},"evaluation":{"type":"object","properties":{"decision":{"anyOf":[{"type":"string","enum":["retained","rejected"]},{"type":"null"}]},"professional_score":{"type":["number","null"]},"coverage":{"type":"number"},"evaluated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"synthetic":{"type":"boolean"},"employments":{"type":"array","items":{"type":"object","properties":{"employment_ref":{"type":"string"},"company_ref":{"type":["string","null"]},"selected":{"type":"boolean"},"decision":{"type":"string","enum":["retained","rejected"]},"vetoes":{"type":"array","items":{"type":"string"}},"dimensions":{"type":"object","properties":{"role":{"type":"object","properties":{"points":{"type":["string","null"]},"maximum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["points","maximum"],"additionalProperties":false},"scope":{"type":"object","properties":{"points":{"type":["string","null"]},"maximum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["points","maximum"],"additionalProperties":false},"activity":{"type":"object","properties":{"points":{"type":["string","null"]},"maximum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["points","maximum"],"additionalProperties":false},"size":{"type":"object","properties":{"points":{"type":["string","null"]},"maximum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["compatible","incompatible","unknown","not_applicable"]}},"required":["points","maximum","state"],"additionalProperties":false},"location":{"type":"object","properties":{"points":{"type":["string","null"]},"maximum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["compatible","incompatible","unknown","not_applicable"]}},"required":["points","maximum","state"],"additionalProperties":false}},"required":["role","scope","activity","size","location"],"additionalProperties":false}},"required":["employment_ref","company_ref","selected","decision","vetoes","dimensions"],"additionalProperties":false}}},"required":["decision","professional_score","coverage","evaluated_at","synthetic"],"additionalProperties":false},"relationship":{"type":"object","properties":{"state":{"type":"string","enum":["connected","not_connected","unknown"]},"reason":{"type":"string"},"observed_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"account_id":{"type":"string"}},"required":["state","reason","observed_at","account_id"],"additionalProperties":false},"scores":{"type":"object","properties":{"professional_score":{"type":["number","null"]},"conversation_score":{"type":"number"},"lead_score":{"type":["number","null"]}},"required":["professional_score","conversation_score","lead_score"],"additionalProperties":false}},"required":["campaign_id","campaign_name","last_linkedin_outbound","account_id","icp_id","initial_scoring_policy","participation","evaluation","relationship","scores"],"additionalProperties":false}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"profile":{"anyOf":[{"type":"object","properties":{"headline":{"default":"","type":"string"},"description":{"default":"","type":"string"},"location":{"default":null,"type":["string","null"]},"country":{"default":null,"type":["string","null"]},"photo_url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"experience":{"default":[],"type":"array","items":{"type":"object","properties":{"ref":{"type":"string"},"title":{"type":"string"},"company_name":{"type":"string"},"company_id":{"default":null,"type":["string","null"]},"description":{"type":"string"},"start":{"type":["string","null"]},"end":{"type":["string","null"]},"start_precision":{"default":null,"anyOf":[{"type":"string","enum":["year","month","day"]},{"type":"null"}]},"end_precision":{"default":null,"anyOf":[{"type":"string","enum":["year","month","day"]},{"type":"null"}]},"location":{"type":["string","null"]},"current":{"type":"boolean"}},"required":["ref","title","company_name","company_id","description","start","end","start_precision","end_precision","location","current"],"additionalProperties":false}},"experience_limited":{"default":false,"type":"boolean"},"known_experience_count":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"company":{"anyOf":[{"type":"object","properties":{"company_id":{"type":"string"},"ref":{"type":"string"},"account_id":{"type":["string","null"]},"name":{"type":"string"},"description":{"type":"string"},"industry":{"type":["string","null"]},"employee_count":{"type":["number","null"]},"employee_range":{"default":null,"anyOf":[{"type":"array","prefixItems":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}],"items":false,"minItems":2,"maxItems":2},{"type":"null"}]},"website":{"type":["string","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"]}},"required":["company_id","ref","account_id","name","description","industry","employee_count","employee_range","website","city","country"],"additionalProperties":false},{"type":"null"}]},"companies":{"type":"array","items":{"type":"object","properties":{"company_id":{"type":"string"},"ref":{"type":"string"},"account_id":{"type":["string","null"]},"name":{"type":"string"},"description":{"type":"string"},"industry":{"type":["string","null"]},"employee_count":{"type":["number","null"]},"employee_range":{"default":null,"anyOf":[{"type":"array","prefixItems":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}],"items":false,"minItems":2,"maxItems":2},{"type":"null"}]},"website":{"type":["string","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"]}},"required":["company_id","ref","account_id","name","description","industry","employee_count","employee_range","website","city","country"],"additionalProperties":false}},"current_jobs":{"type":"array","items":{"type":"object","properties":{"position":{"type":"string"},"company_name":{"type":"string"},"start":{"type":["string","null"]},"description":{"default":"","type":"string"},"location":{"default":null,"type":["string","null"]}},"required":["position","company_name","start","description","location"],"additionalProperties":false}}},"required":["headline","description","location","country","photo_url","experience","experience_limited","known_experience_count","company","companies","current_jobs"],"additionalProperties":false},{"type":"null"}]}},"required":["person_id","name","title","company","linkedin_url","contexts","created_at","updated_at","profile"],"additionalProperties":false}},"required":["person"],"additionalProperties":false},"list_campaignsInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"status":{"type":"string","enum":["active","paused","archived"]},"limit":{"default":25,"type":"integer","minimum":1,"maximum":50},"cursor":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"additionalProperties":false},"list_campaignsOutput":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"campaign_id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"status":{"type":"string","enum":["active","paused","archived"]},"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"}},"required":["service_id","name"],"additionalProperties":false},"icp":{"type":"object","properties":{"icp_id":{"type":"string"},"name":{"type":"string"}},"required":["icp_id","name"],"additionalProperties":false},"accounts":{"type":"object","properties":{"linkedin":{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"}},"required":["account_id","name"],"additionalProperties":false},"email":{"anyOf":[{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"}},"required":["account_id","name"],"additionalProperties":false},{"type":"null"}]}},"required":["linkedin","email"],"additionalProperties":false},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["campaign_id","name","description","status","service","icp","accounts","created_at","updated_at"],"additionalProperties":false}},"returned_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}},"required":["items","returned_count","has_more","next_cursor"],"additionalProperties":false},"get_campaignInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"import_id":{"type":"string","minLength":1,"maxLength":160}},"required":["campaign_id"],"additionalProperties":false},"get_campaignOutput":{"type":"object","properties":{"campaign":{"type":"object","properties":{"campaign_id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"status":{"type":"string","enum":["active","paused","archived"]},"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"}},"required":["service_id","name"],"additionalProperties":false},"icp":{"type":"object","properties":{"icp_id":{"type":"string"},"name":{"type":"string"}},"required":["icp_id","name"],"additionalProperties":false},"accounts":{"type":"object","properties":{"linkedin":{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"}},"required":["account_id","name"],"additionalProperties":false},"email":{"anyOf":[{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"}},"required":["account_id","name"],"additionalProperties":false},{"type":"null"}]}},"required":["linkedin","email"],"additionalProperties":false},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"email_from":{"type":["string","null"]},"contact_details":{"type":"object","properties":{"email":{"type":"boolean"},"phone":{"type":"boolean"}},"required":["email","phone"],"additionalProperties":false},"review_required_default":{"type":"string","enum":["human_review","auto"]},"initial_scoring_policy":{"type":"string","enum":["icp_gate","contact_all_after_enrichment"]},"allowed_actions":{"type":"array","items":{"type":"string","enum":["dm","invite","invite_without_notification","comment","reaction","email_send","email_reply"]}},"availability":{"anyOf":[{"type":"object","properties":{"start_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"weekend_work":{"type":"boolean"},"timezone":{"type":"string","minLength":1}},"required":["start_working","end_working","weekend_work","timezone"],"additionalProperties":false},{"type":"null"}]},"lead_magnet":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"url":{"type":"string","format":"uri"},"description":{"type":"string","maxLength":6000},"content_type":{"type":"string","enum":["pdf","doc","docx","video","image","webpage","ebook"]}},"required":["name","url"],"additionalProperties":false},{"type":"null"}]}},"required":["campaign_id","name","description","status","service","icp","accounts","created_at","updated_at","email_from","contact_details","review_required_default","initial_scoring_policy","allowed_actions","availability","lead_magnet"],"additionalProperties":false},"summary":{"type":"object","properties":{"lead_magnet":{"type":"object","properties":{"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"working":{"type":"integer","minimum":0,"maximum":9007199254740991},"waiting_connection":{"type":"integer","minimum":0,"maximum":9007199254740991},"completed":{"type":"integer","minimum":0,"maximum":9007199254740991},"review":{"type":"integer","minimum":0,"maximum":9007199254740991},"filtered":{"type":"integer","minimum":0,"maximum":9007199254740991},"expired":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["pending","working","waiting_connection","completed","review","filtered","expired"],"additionalProperties":false},"people_captured":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_processed":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_available":{"type":"integer","minimum":0,"maximum":9007199254740991},"enrichment_pending":{"type":"boolean"},"as_of":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"signals_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"pending_approvals":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_contacted":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_replied":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"meetings_scheduled":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["people_captured","people_processed","people_available","enrichment_pending","as_of","signals_count","pending_approvals","people_contacted","people_replied","meetings_scheduled"],"additionalProperties":false},"import":{"type":"object","properties":{"import_id":{"type":"string"},"campaign_id":{"type":"string"},"name":{"type":"string"},"summary":{"type":"object","properties":{"rows_received":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_added":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_already_in_campaign":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_in_multiple_campaigns":{"type":"integer","minimum":0,"maximum":9007199254740991},"campaign_overlaps":{"type":"array","items":{"type":"object","properties":{"person_id":{"type":"string"},"name":{"type":"string"},"campaigns":{"type":"array","items":{"type":"object","properties":{"campaign_id":{"type":"string"},"name":{"type":"string"}},"required":["campaign_id","name"],"additionalProperties":false}}},"required":["person_id","name","campaigns"],"additionalProperties":false}},"duplicate_rows":{"type":"integer","minimum":0,"maximum":9007199254740991},"rejected_rows":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_processed":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_available":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"enrichment_pending":{"type":"boolean"},"as_of":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["rows_received","people_added","people_already_in_campaign","people_in_multiple_campaigns","campaign_overlaps","duplicate_rows","rejected_rows","people_processed","people_available","people_pending","enrichment_pending","as_of"],"additionalProperties":false}},"required":["import_id","campaign_id","name","summary"],"additionalProperties":false}},"required":["campaign","summary"],"additionalProperties":false},"create_campaignInput":{"type":"object","properties":{"contact_details":{"type":"object","properties":{"email":{"type":"boolean"},"phone":{"type":"boolean"}},"required":["email","phone"],"additionalProperties":false},"name":{"type":"string","minLength":2,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":6000},"email_provider_account_id":{"type":"string","minLength":1,"maxLength":160},"email_from":{"anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"allowed_actions":{"minItems":1,"maxItems":7,"type":"array","items":{"type":"string","enum":["dm","invite","invite_without_notification","comment","reaction","email_send","email_reply"]}},"review_required_default":{"type":"string","enum":["human_review","auto"]},"initial_scoring_policy":{"default":"icp_gate","type":"string","enum":["icp_gate","contact_all_after_enrichment"],"description":"Si el usuario pide contactar a todos, usa contact_all_after_enrichment: admite evaluaciones vigentes terminadas válidas aunque el ICP rechace a la persona o el score sea bajo o null. icp_gate exige retained y score profesional >=5/30. Ambos mantienen enrichment e ICP; pendientes y fallos técnicos quedan fuera. No amplíes el ICP para simular contacto total. Esta opción no envía mensajes ni cambia human_review."},"availability":{"type":"object","properties":{"start_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"weekend_work":{"type":"boolean"},"timezone":{"type":"string","minLength":1}},"required":["start_working","end_working","weekend_work","timezone"],"additionalProperties":false},"lead_magnet":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"url":{"type":"string","format":"uri"},"description":{"type":"string","maxLength":6000},"content_type":{"type":"string","enum":["pdf","doc","docx","video","image","webpage","ebook"]}},"required":["name","url"],"additionalProperties":false},{"type":"null"}]},"service_id":{"type":"string","minLength":1,"maxLength":160},"icp_id":{"type":"string","minLength":1,"maxLength":160},"linkedin_provider_account_id":{"type":"string","minLength":1,"maxLength":160}},"required":["name","description","email_provider_account_id","allowed_actions","review_required_default","availability","service_id","icp_id","linkedin_provider_account_id"],"additionalProperties":false},"create_campaignOutput":{"type":"object","properties":{"campaign":{"type":"object","properties":{"campaign_id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"status":{"type":"string","enum":["active","paused","archived"]},"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"}},"required":["service_id","name"],"additionalProperties":false},"icp":{"type":"object","properties":{"icp_id":{"type":"string"},"name":{"type":"string"}},"required":["icp_id","name"],"additionalProperties":false},"accounts":{"type":"object","properties":{"linkedin":{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"}},"required":["account_id","name"],"additionalProperties":false},"email":{"anyOf":[{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"}},"required":["account_id","name"],"additionalProperties":false},{"type":"null"}]}},"required":["linkedin","email"],"additionalProperties":false},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"email_from":{"type":["string","null"]},"contact_details":{"type":"object","properties":{"email":{"type":"boolean"},"phone":{"type":"boolean"}},"required":["email","phone"],"additionalProperties":false},"review_required_default":{"type":"string","enum":["human_review","auto"]},"initial_scoring_policy":{"type":"string","enum":["icp_gate","contact_all_after_enrichment"]},"allowed_actions":{"type":"array","items":{"type":"string","enum":["dm","invite","invite_without_notification","comment","reaction","email_send","email_reply"]}},"availability":{"anyOf":[{"type":"object","properties":{"start_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"weekend_work":{"type":"boolean"},"timezone":{"type":"string","minLength":1}},"required":["start_working","end_working","weekend_work","timezone"],"additionalProperties":false},{"type":"null"}]},"lead_magnet":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"url":{"type":"string","format":"uri"},"description":{"type":"string","maxLength":6000},"content_type":{"type":"string","enum":["pdf","doc","docx","video","image","webpage","ebook"]}},"required":["name","url"],"additionalProperties":false},{"type":"null"}]}},"required":["campaign_id","name","description","status","service","icp","accounts","created_at","updated_at","email_from","contact_details","review_required_default","initial_scoring_policy","allowed_actions","availability","lead_magnet"],"additionalProperties":false},"summary":{"type":"object","properties":{"lead_magnet":{"type":"object","properties":{"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"working":{"type":"integer","minimum":0,"maximum":9007199254740991},"waiting_connection":{"type":"integer","minimum":0,"maximum":9007199254740991},"completed":{"type":"integer","minimum":0,"maximum":9007199254740991},"review":{"type":"integer","minimum":0,"maximum":9007199254740991},"filtered":{"type":"integer","minimum":0,"maximum":9007199254740991},"expired":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["pending","working","waiting_connection","completed","review","filtered","expired"],"additionalProperties":false},"people_captured":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_processed":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_available":{"type":"integer","minimum":0,"maximum":9007199254740991},"enrichment_pending":{"type":"boolean"},"as_of":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"signals_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"pending_approvals":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_contacted":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_replied":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"meetings_scheduled":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["people_captured","people_processed","people_available","enrichment_pending","as_of","signals_count","pending_approvals","people_contacted","people_replied","meetings_scheduled"],"additionalProperties":false},"effects":{"type":"object","properties":{"actions_auto_approved":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["actions_auto_approved"],"additionalProperties":false}},"required":["campaign","summary","effects"],"additionalProperties":false},"create_campaignBody":{"type":"object","properties":{"contact_details":{"type":"object","properties":{"email":{"type":"boolean"},"phone":{"type":"boolean"}},"required":["email","phone"],"additionalProperties":false},"name":{"type":"string","minLength":2,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":6000},"email_provider_account_id":{"type":"string","minLength":1,"maxLength":160},"email_from":{"anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"allowed_actions":{"minItems":1,"maxItems":7,"type":"array","items":{"type":"string","enum":["dm","invite","invite_without_notification","comment","reaction","email_send","email_reply"]}},"review_required_default":{"type":"string","enum":["human_review","auto"]},"initial_scoring_policy":{"default":"icp_gate","type":"string","enum":["icp_gate","contact_all_after_enrichment"],"description":"Si el usuario pide contactar a todos, usa contact_all_after_enrichment: admite evaluaciones vigentes terminadas válidas aunque el ICP rechace a la persona o el score sea bajo o null. icp_gate exige retained y score profesional >=5/30. Ambos mantienen enrichment e ICP; pendientes y fallos técnicos quedan fuera. No amplíes el ICP para simular contacto total. Esta opción no envía mensajes ni cambia human_review."},"availability":{"type":"object","properties":{"start_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"weekend_work":{"type":"boolean"},"timezone":{"type":"string","minLength":1}},"required":["start_working","end_working","weekend_work","timezone"],"additionalProperties":false},"lead_magnet":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"url":{"type":"string","format":"uri"},"description":{"type":"string","maxLength":6000},"content_type":{"type":"string","enum":["pdf","doc","docx","video","image","webpage","ebook"]}},"required":["name","url"],"additionalProperties":false},{"type":"null"}]},"service_id":{"type":"string","minLength":1,"maxLength":160},"icp_id":{"type":"string","minLength":1,"maxLength":160},"linkedin_provider_account_id":{"type":"string","minLength":1,"maxLength":160}},"required":["name","description","email_provider_account_id","allowed_actions","review_required_default","availability","service_id","icp_id","linkedin_provider_account_id"],"additionalProperties":false},"update_campaignInput":{"type":"object","properties":{"contact_details":{"type":"object","properties":{"email":{"type":"boolean"},"phone":{"type":"boolean"}},"additionalProperties":false},"name":{"type":"string","minLength":2,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":6000},"email_from":{"anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"allowed_actions":{"minItems":1,"maxItems":7,"type":"array","items":{"type":"string","enum":["dm","invite","invite_without_notification","comment","reaction","email_send","email_reply"]}},"review_required_default":{"type":"string","enum":["human_review","auto"]},"initial_scoring_policy":{"type":"string","enum":["icp_gate","contact_all_after_enrichment"],"description":"Si el usuario pide contactar a todos, usa contact_all_after_enrichment: admite evaluaciones vigentes terminadas válidas aunque el ICP rechace a la persona o el score sea bajo o null. icp_gate exige retained y score profesional >=5/30. Ambos mantienen enrichment e ICP; pendientes y fallos técnicos quedan fuera. No amplíes el ICP para simular contacto total. Esta opción no envía mensajes ni cambia human_review."},"availability":{"type":"object","properties":{"start_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"weekend_work":{"type":"boolean"},"timezone":{"type":"string","minLength":1}},"required":["start_working","end_working","weekend_work","timezone"],"additionalProperties":false},"lead_magnet":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"url":{"type":"string","format":"uri"},"description":{"type":"string","maxLength":6000},"content_type":{"type":"string","enum":["pdf","doc","docx","video","image","webpage","ebook"]}},"required":["name","url"],"additionalProperties":false},{"type":"null"}]},"campaign_id":{"type":"string","minLength":1,"maxLength":160},"include_summary":{"type":"boolean"},"status":{"type":"string","enum":["active","paused","archived"]}},"required":["campaign_id"],"additionalProperties":false},"update_campaignOutput":{"type":"object","properties":{"campaign":{"type":"object","properties":{"campaign_id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"status":{"type":"string","enum":["active","paused","archived"]},"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"}},"required":["service_id","name"],"additionalProperties":false},"icp":{"type":"object","properties":{"icp_id":{"type":"string"},"name":{"type":"string"}},"required":["icp_id","name"],"additionalProperties":false},"accounts":{"type":"object","properties":{"linkedin":{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"}},"required":["account_id","name"],"additionalProperties":false},"email":{"anyOf":[{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"}},"required":["account_id","name"],"additionalProperties":false},{"type":"null"}]}},"required":["linkedin","email"],"additionalProperties":false},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"email_from":{"type":["string","null"]},"contact_details":{"type":"object","properties":{"email":{"type":"boolean"},"phone":{"type":"boolean"}},"required":["email","phone"],"additionalProperties":false},"review_required_default":{"type":"string","enum":["human_review","auto"]},"initial_scoring_policy":{"type":"string","enum":["icp_gate","contact_all_after_enrichment"]},"allowed_actions":{"type":"array","items":{"type":"string","enum":["dm","invite","invite_without_notification","comment","reaction","email_send","email_reply"]}},"availability":{"anyOf":[{"type":"object","properties":{"start_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"weekend_work":{"type":"boolean"},"timezone":{"type":"string","minLength":1}},"required":["start_working","end_working","weekend_work","timezone"],"additionalProperties":false},{"type":"null"}]},"lead_magnet":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"url":{"type":"string","format":"uri"},"description":{"type":"string","maxLength":6000},"content_type":{"type":"string","enum":["pdf","doc","docx","video","image","webpage","ebook"]}},"required":["name","url"],"additionalProperties":false},{"type":"null"}]}},"required":["campaign_id","name","description","status","service","icp","accounts","created_at","updated_at","email_from","contact_details","review_required_default","initial_scoring_policy","allowed_actions","availability","lead_magnet"],"additionalProperties":false},"summary":{"type":"object","properties":{"lead_magnet":{"type":"object","properties":{"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"working":{"type":"integer","minimum":0,"maximum":9007199254740991},"waiting_connection":{"type":"integer","minimum":0,"maximum":9007199254740991},"completed":{"type":"integer","minimum":0,"maximum":9007199254740991},"review":{"type":"integer","minimum":0,"maximum":9007199254740991},"filtered":{"type":"integer","minimum":0,"maximum":9007199254740991},"expired":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["pending","working","waiting_connection","completed","review","filtered","expired"],"additionalProperties":false},"people_captured":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_processed":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_available":{"type":"integer","minimum":0,"maximum":9007199254740991},"enrichment_pending":{"type":"boolean"},"as_of":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"signals_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"pending_approvals":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_contacted":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_replied":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"meetings_scheduled":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["people_captured","people_processed","people_available","enrichment_pending","as_of","signals_count","pending_approvals","people_contacted","people_replied","meetings_scheduled"],"additionalProperties":false},"effects":{"type":"object","properties":{"actions_auto_approved":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["actions_auto_approved"],"additionalProperties":false}},"required":["campaign","effects"],"additionalProperties":false},"update_campaignBody":{"type":"object","properties":{"contact_details":{"type":"object","properties":{"email":{"type":"boolean"},"phone":{"type":"boolean"}},"additionalProperties":false},"name":{"type":"string","minLength":2,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":6000},"email_from":{"anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"allowed_actions":{"minItems":1,"maxItems":7,"type":"array","items":{"type":"string","enum":["dm","invite","invite_without_notification","comment","reaction","email_send","email_reply"]}},"review_required_default":{"type":"string","enum":["human_review","auto"]},"initial_scoring_policy":{"type":"string","enum":["icp_gate","contact_all_after_enrichment"],"description":"Si el usuario pide contactar a todos, usa contact_all_after_enrichment: admite evaluaciones vigentes terminadas válidas aunque el ICP rechace a la persona o el score sea bajo o null. icp_gate exige retained y score profesional >=5/30. Ambos mantienen enrichment e ICP; pendientes y fallos técnicos quedan fuera. No amplíes el ICP para simular contacto total. Esta opción no envía mensajes ni cambia human_review."},"availability":{"type":"object","properties":{"start_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end_working":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"weekend_work":{"type":"boolean"},"timezone":{"type":"string","minLength":1}},"required":["start_working","end_working","weekend_work","timezone"],"additionalProperties":false},"lead_magnet":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"url":{"type":"string","format":"uri"},"description":{"type":"string","maxLength":6000},"content_type":{"type":"string","enum":["pdf","doc","docx","video","image","webpage","ebook"]}},"required":["name","url"],"additionalProperties":false},{"type":"null"}]},"include_summary":{"type":"boolean"},"status":{"type":"string","enum":["active","paused","archived"]}},"additionalProperties":false},"add_campaign_leadsInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"import_name":{"default":"Importación de contactos","type":"string","minLength":1,"maxLength":120},"import_source":{"type":"string","maxLength":120},"leads":{"minItems":1,"maxItems":100,"type":"array","items":{"anyOf":[{"type":"object","properties":{"person_id":{"type":"string","minLength":1,"maxLength":160},"external_id":{"type":"string","minLength":1,"maxLength":200},"lead_specific_brief":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}},"required":["person_id"],"additionalProperties":false},{"type":"object","properties":{"full_name":{"type":"string","minLength":1,"maxLength":200},"linkedin_url":{"type":"string","maxLength":2048},"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"company":{"type":"string","maxLength":300},"locale":{"type":"string","maxLength":40},"timezone":{"type":"string","maxLength":100},"external_id":{"type":"string","minLength":1,"maxLength":200},"lead_specific_brief":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}},"required":["full_name","linkedin_url"],"additionalProperties":false}]}},"csv_text":{"type":"string","minLength":1,"maxLength":2000000}},"required":["campaign_id"],"additionalProperties":false},"add_campaign_leadsOutput":{"type":"object","properties":{"import":{"type":"object","properties":{"import_id":{"type":"string"},"campaign_id":{"type":"string"},"name":{"type":"string"}},"required":["import_id","campaign_id","name"],"additionalProperties":false},"summary":{"type":"object","properties":{"rows_received":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_added":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_already_in_campaign":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_in_multiple_campaigns":{"type":"integer","minimum":0,"maximum":9007199254740991},"campaign_overlaps":{"type":"array","items":{"type":"object","properties":{"person_id":{"type":"string"},"name":{"type":"string"},"campaigns":{"type":"array","items":{"type":"object","properties":{"campaign_id":{"type":"string"},"name":{"type":"string"}},"required":["campaign_id","name"],"additionalProperties":false}}},"required":["person_id","name","campaigns"],"additionalProperties":false}},"duplicate_rows":{"type":"integer","minimum":0,"maximum":9007199254740991},"rejected_rows":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_processed":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_available":{"type":"integer","minimum":0,"maximum":9007199254740991},"people_pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"enrichment_pending":{"type":"boolean"},"as_of":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["rows_received","people_added","people_already_in_campaign","people_in_multiple_campaigns","campaign_overlaps","duplicate_rows","rejected_rows","people_processed","people_available","people_pending","enrichment_pending","as_of"],"additionalProperties":false},"rejected_items":{"type":"array","items":{"type":"object","properties":{"row_number":{"type":"integer","minimum":0,"maximum":9007199254740991},"code":{"type":"string"},"message":{"type":"string"}},"required":["row_number","code","message"],"additionalProperties":false}}},"required":["import","summary","rejected_items"],"additionalProperties":false},"add_campaign_leadsBody":{"type":"object","properties":{"import_name":{"default":"Importación de contactos","type":"string","minLength":1,"maxLength":120},"import_source":{"type":"string","maxLength":120},"leads":{"minItems":1,"maxItems":100,"type":"array","items":{"anyOf":[{"type":"object","properties":{"person_id":{"type":"string","minLength":1,"maxLength":160},"external_id":{"type":"string","minLength":1,"maxLength":200},"lead_specific_brief":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}},"required":["person_id"],"additionalProperties":false},{"type":"object","properties":{"full_name":{"type":"string","minLength":1,"maxLength":200},"linkedin_url":{"type":"string","maxLength":2048},"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"company":{"type":"string","maxLength":300},"locale":{"type":"string","maxLength":40},"timezone":{"type":"string","maxLength":100},"external_id":{"type":"string","minLength":1,"maxLength":200},"lead_specific_brief":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}},"required":["full_name","linkedin_url"],"additionalProperties":false}]}},"csv_text":{"type":"string","minLength":1,"maxLength":2000000}},"additionalProperties":false},"request_lead_contact_detailsInput":{"type":"object","properties":{"leads":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160}},"required":["campaign_id","person_id"],"additionalProperties":false}},"contact_details":{"type":"object","properties":{"email":{"type":"boolean"},"phone":{"type":"boolean"}},"required":["email","phone"],"additionalProperties":false}},"required":["leads","contact_details"],"additionalProperties":false},"request_lead_contact_detailsOutput":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"campaign_id":{"type":"string"},"person_id":{"type":"string"},"kind":{"type":"string","enum":["email","phone"]},"status":{"type":"string","enum":["queued","pending","waiting_balance","found","not_found","failed","cancelled","available","not_eligible","provider_unavailable"]}},"required":["campaign_id","person_id","kind","status"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false},"request_lead_contact_detailsBody":{"type":"object","properties":{"leads":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160}},"required":["campaign_id","person_id"],"additionalProperties":false}},"contact_details":{"type":"object","properties":{"email":{"type":"boolean"},"phone":{"type":"boolean"}},"required":["email","phone"],"additionalProperties":false}},"required":["leads","contact_details"],"additionalProperties":false},"set_campaign_lead_statusInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"status":{"type":"string","enum":["active","ended","meeting_scheduled"]}},"required":["campaign_id","person_id","status"],"additionalProperties":false},"set_campaign_lead_statusOutput":{"type":"object","properties":{"campaign_id":{"type":"string"},"person_id":{"type":"string"},"participation":{"type":"object","properties":{"previous_status":{"type":"string"},"status":{"type":"string"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["previous_status","status","updated_at"],"additionalProperties":false}},"required":["campaign_id","person_id","participation"],"additionalProperties":false},"set_campaign_lead_statusBody":{"type":"object","properties":{"status":{"type":"string","enum":["active","ended","meeting_scheduled"]}},"required":["status"],"additionalProperties":false},"get_calendar_availabilityInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ends_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"duration_minutes":{"type":"integer","minimum":15,"maximum":120}},"required":["campaign_id","starts_at","ends_at","duration_minutes"],"additionalProperties":false},"get_calendar_availabilityOutput":{"type":"object","properties":{"campaign_id":{"type":"string"},"timezone":{"type":"string"},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ends_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"duration_minutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"slots":{"type":"array","items":{"type":"object","properties":{"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ends_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["starts_at","ends_at"],"additionalProperties":false}},"as_of":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["campaign_id","timezone","starts_at","ends_at","duration_minutes","slots","as_of"],"additionalProperties":false},"schedule_meetingInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"attendee_email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"duration_minutes":{"type":"integer","minimum":15,"maximum":120}},"required":["campaign_id","person_id","attendee_email","starts_at","duration_minutes"],"additionalProperties":false},"schedule_meetingOutput":{"type":"object","properties":{"meeting":{"type":"object","properties":{"meeting_id":{"type":"string"},"campaign_id":{"type":"string"},"person_id":{"type":"string"},"status":{"type":"string","const":"scheduled"},"title":{"type":"string"},"organizer_email":{"type":"string"},"attendee_email":{"type":"string"},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ends_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"timezone":{"type":"string"},"calendar_url":{"type":["string","null"]},"join_url":{"type":["string","null"]}},"required":["meeting_id","campaign_id","person_id","status","title","organizer_email","attendee_email","starts_at","ends_at","timezone","calendar_url","join_url"],"additionalProperties":false},"participation":{"type":"object","properties":{"previous_status":{"type":"string"},"status":{"type":"string"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["previous_status","status","updated_at"],"additionalProperties":false}},"required":["meeting","participation"],"additionalProperties":false},"schedule_meetingBody":{"type":"object","properties":{"attendee_email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"duration_minutes":{"type":"integer","minimum":15,"maximum":120}},"required":["attendee_email","starts_at","duration_minutes"],"additionalProperties":false},"list_meetingsInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"limit":{"default":25,"type":"integer","minimum":1,"maximum":50},"cursor":{"type":"string","minLength":1,"maxLength":160}},"required":["campaign_id","person_id"],"additionalProperties":false},"list_meetingsOutput":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"meeting_id":{"type":"string","minLength":1,"maxLength":160},"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"source":{"type":"string","enum":["external","calendar"]},"status":{"type":"string","enum":["pending","scheduled","completed","cancelled","failed"]},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ends_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"timezone":{"type":"string"},"title":{"type":"string"},"join_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"calendar_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["meeting_id","campaign_id","person_id","source","status","starts_at","ends_at","timezone","title","join_url","calendar_url","updated_at"],"additionalProperties":false}},"next_cursor":{"type":["string","null"]}},"required":["items","next_cursor"],"additionalProperties":false},"record_meetingInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"duration_minutes":{"type":"integer","minimum":15,"maximum":120},"timezone":{"type":"string","minLength":1,"maxLength":100},"join_url":{"default":null,"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"null"}]}},"required":["campaign_id","person_id","starts_at","duration_minutes","timezone"],"additionalProperties":false},"record_meetingOutput":{"type":"object","properties":{"meeting":{"type":"object","properties":{"meeting_id":{"type":"string","minLength":1,"maxLength":160},"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"source":{"type":"string","enum":["external","calendar"]},"status":{"type":"string","enum":["pending","scheduled","completed","cancelled","failed"]},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ends_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"timezone":{"type":"string"},"title":{"type":"string"},"join_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"calendar_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["meeting_id","campaign_id","person_id","source","status","starts_at","ends_at","timezone","title","join_url","calendar_url","updated_at"],"additionalProperties":false}},"required":["meeting"],"additionalProperties":false},"record_meetingBody":{"type":"object","properties":{"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"duration_minutes":{"type":"integer","minimum":15,"maximum":120},"timezone":{"type":"string","minLength":1,"maxLength":100},"join_url":{"default":null,"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"null"}]}},"required":["starts_at","duration_minutes","timezone"],"additionalProperties":false},"update_meetingInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"meeting_id":{"type":"string","minLength":1,"maxLength":160},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"duration_minutes":{"type":"integer","minimum":15,"maximum":120},"join_url":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","completed","cancelled"]}},"required":["campaign_id","person_id","meeting_id"],"additionalProperties":false},"update_meetingOutput":{"type":"object","properties":{"meeting":{"type":"object","properties":{"meeting_id":{"type":"string","minLength":1,"maxLength":160},"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"source":{"type":"string","enum":["external","calendar"]},"status":{"type":"string","enum":["pending","scheduled","completed","cancelled","failed"]},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ends_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"timezone":{"type":"string"},"title":{"type":"string"},"join_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"calendar_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["meeting_id","campaign_id","person_id","source","status","starts_at","ends_at","timezone","title","join_url","calendar_url","updated_at"],"additionalProperties":false}},"required":["meeting"],"additionalProperties":false},"update_meetingBody":{"type":"object","properties":{"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"duration_minutes":{"type":"integer","minimum":15,"maximum":120},"join_url":{"anyOf":[{"type":"string","maxLength":2000,"format":"uri"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","completed","cancelled"]}},"additionalProperties":false},"list_gifsInput":{"type":"object","properties":{"query":{"default":"","type":"string","maxLength":200},"limit":{"default":25,"type":"integer","minimum":1,"maximum":50},"cursor":{"type":"string","minLength":1,"maxLength":160}},"additionalProperties":false},"list_gifsOutput":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":160},"name":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"filename":{"type":"string"},"size_bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"frames":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sha256":{"type":"string"},"preview_path":{"type":"string"},"created_at":{"type":"string"}},"required":["gif_id","name","description","tags","filename","size_bytes","width","height","frames","sha256","preview_path","created_at"],"additionalProperties":false}},"returned_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}},"required":["items","returned_count","has_more","next_cursor"],"additionalProperties":false},"get_gifInput":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":160}},"required":["gif_id"],"additionalProperties":false},"get_gifOutput":{"type":"object","properties":{"gif":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":160},"name":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"filename":{"type":"string"},"size_bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"frames":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sha256":{"type":"string"},"preview_path":{"type":"string"},"created_at":{"type":"string"}},"required":["gif_id","name","description","tags","filename","size_bytes","width","height","frames","sha256","preview_path","created_at"],"additionalProperties":false}},"required":["gif"],"additionalProperties":false},"upload_gifInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"default":"","type":"string","maxLength":1000},"tags":{"default":[],"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":50}},"filename":{"type":"string","minLength":5,"maxLength":120,"pattern":"^[^/\\\\\\u0000-\\u001f\\u007f]+\\.gif$"},"content_base64":{"type":"string","minLength":4,"maxLength":2796204}},"required":["name","filename","content_base64"],"additionalProperties":false},"upload_gifOutput":{"type":"object","properties":{"gif":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":160},"name":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"filename":{"type":"string"},"size_bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"frames":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sha256":{"type":"string"},"preview_path":{"type":"string"},"created_at":{"type":"string"}},"required":["gif_id","name","description","tags","filename","size_bytes","width","height","frames","sha256","preview_path","created_at"],"additionalProperties":false}},"required":["gif"],"additionalProperties":false},"upload_gifBody":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"default":"","type":"string","maxLength":1000},"tags":{"default":[],"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":50}},"filename":{"type":"string","minLength":5,"maxLength":120,"pattern":"^[^/\\\\\\u0000-\\u001f\\u007f]+\\.gif$"},"content_base64":{"type":"string","minLength":4,"maxLength":2796204}},"required":["name","filename","content_base64"],"additionalProperties":false},"get_conversationInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"cursor":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"required":["campaign_id","person_id"],"additionalProperties":false},"get_conversationOutput":{"type":"object","properties":{"campaign_id":{"type":"string"},"last_linkedin_outbound":{"anyOf":[{"type":"object","properties":{"message_id":{"type":"string"},"account_id":{"type":"string"},"occurred_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"read_receipt":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"not_applicable"}},"required":["status"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","const":"unknown"}},"required":["status"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","const":"read"},"read_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["status","read_at"],"additionalProperties":false}]},"reply_status":{"type":"string","enum":["reply_observed","no_reply_observed"]}},"required":["message_id","account_id","occurred_at","read_receipt","reply_status"],"additionalProperties":false},{"type":"null"}]},"evaluation":{"type":"object","properties":{"request":{"anyOf":[{"type":"object","properties":{"status":{"type":"string","enum":["pending","applied","invalid","not_ready","ignored"]},"reason":{"type":["string","null"]},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["status","updated_at"],"additionalProperties":false},{"type":"null"}]},"restriction":{"anyOf":[{"type":"object","properties":{"commercial_state":{"type":"string","const":"do_not_contact"},"evaluated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["commercial_state","evaluated_at"],"additionalProperties":false},{"type":"null"}]},"result":{"anyOf":[{"type":"object","properties":{"score":{"type":"number"},"commercial_state":{"type":"string","enum":["open","meeting_agreed","closed_not_interested","closed_deferred","wrong_person","do_not_contact"]},"dimensions":{"type":"object","properties":{"participation_level":{"type":"string","enum":["none","polite","engaged","active","driving"]},"problem_level":{"type":"string","enum":["none","vague","clear","urgent"]},"service_interest_level":{"type":"string","enum":["none","vague","clear","strong"]},"timing_level":{"type":"string","enum":["none","someday","evaluating","soon","now"]},"meeting_readiness_level":{"type":"string","enum":["none","open","considering","proposed","arranging","agreed"]}},"required":["participation_level","problem_level","service_interest_level","timing_level","meeting_readiness_level"],"additionalProperties":false},"evidence_message_ids":{"type":"array","items":{"type":"string"}},"evidence_snippets":{"type":"array","items":{"type":"string"}},"reason":{"type":"string"},"evaluated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"synthetic":{"type":"boolean"}},"required":["score","commercial_state","dimensions","evidence_message_ids","evidence_snippets","reason","evaluated_at","synthetic"],"additionalProperties":false},{"type":"null"}]}},"required":["request","restriction","result"],"additionalProperties":false},"person":{"type":"object","properties":{"person_id":{"type":"string"},"name":{"type":"string"}},"required":["person_id","name"],"additionalProperties":false},"messages":{"type":"array","items":{"type":"object","properties":{"message_id":{"type":"string"},"gif_id":{"type":"string"},"channel":{"type":"string","enum":["linkedin","email"]},"account_id":{"type":"string"},"thread_id":{"type":["string","null"]},"direction":{"type":"string","enum":["inbound","outbound"]},"subject":{"type":["string","null"]},"text":{"type":"string"},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"mimetype":{"type":"string"},"name":{"type":"string"}},"required":["id"],"additionalProperties":false}},"occurred_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"read_receipt":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"not_applicable"}},"required":["status"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","const":"unknown"}},"required":["status"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","const":"read"},"read_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["status","read_at"],"additionalProperties":false}]},"origin_campaign_id":{"type":["string","null"]},"source":{"type":"string","enum":["synthetic_history","synthetic_send","webhook","unipile_history","unipile_send"]}},"required":["message_id","channel","account_id","thread_id","direction","subject","text","attachments","occurred_at","read_receipt","origin_campaign_id","source"],"additionalProperties":false}},"history":{"type":"array","items":{"type":"object","properties":{"account_id":{"type":"string"},"channel":{"type":"string","enum":["linkedin","email"]},"coverage":{"type":"string","enum":["unknown","partial","complete"]},"last_synced_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["account_id","channel","coverage","last_synced_at"],"additionalProperties":false}},"returned_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}},"required":["campaign_id","last_linkedin_outbound","evaluation","person","messages","history","returned_count","has_more","next_cursor"],"additionalProperties":false},"list_lead_actionsInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"state":{"type":"string","enum":["draft","approved","queued","sending","sent","uncertain","cancelled","failed"]},"limit":{"default":25,"type":"integer","minimum":1,"maximum":50},"cursor":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"required":["campaign_id","person_id"],"additionalProperties":false},"list_lead_actionsOutput":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"action_id":{"type":"string"},"campaign_id":{"type":"string"},"person_id":{"type":"string"},"kind":{"type":"string","enum":["gif","message","invitation","invitation_without_notification","comment","reaction","email","email_reply"]},"channel":{"type":"string","enum":["linkedin","email"]},"email_from":{"type":["string","null"]},"content":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"gif"},"gif_id":{"type":"string"},"text":{"type":"string"}},"required":["kind","gif_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"message"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation"},"note":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation_without_notification"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"post_url":{"type":"string"},"comment_id":{"type":"string"},"text":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reaction"},"post_url":{"type":"string"},"reaction":{"type":"string","enum":["like","celebrate","support","love","insightful","funny"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email"},"subject":{"type":"string"},"text":{"type":"string"}},"required":["kind","subject","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email_reply"},"in_reply_to_message_id":{"type":"string"},"text":{"type":"string"}},"required":["kind"],"additionalProperties":false}]},"subject":{"type":["string","null"]},"text":{"type":["string","null"]},"state":{"type":"string","enum":["draft","approved","queued","sending","sent","uncertain","cancelled","failed"]},"issue":{"anyOf":[{"type":"object","properties":{"message":{"type":"string"},"can_retry":{"type":"boolean"}},"required":["message","can_retry"],"additionalProperties":false},{"type":"null"}]},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"approved_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sent_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"cancelled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["action_id","campaign_id","person_id","kind","channel","email_from","content","subject","text","state","issue","scheduled_at","approved_at","sent_at","cancelled_at","created_at","updated_at"],"additionalProperties":false}},"returned_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]},"campaign_id":{"type":"string"},"person_id":{"type":"string"}},"required":["items","returned_count","has_more","next_cursor","campaign_id","person_id"],"additionalProperties":false},"create_lead_actionInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"content":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"gif"},"gif_id":{"type":"string","minLength":1,"maxLength":160},"text":{"type":"string","maxLength":6000}},"required":["kind","gif_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"message"},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation"},"note":{"type":"string","minLength":1,"maxLength":300}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation_without_notification"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"post_url":{"type":"string","format":"uri"},"comment_id":{"type":"string","minLength":1,"maxLength":500},"text":{"type":"string","minLength":1,"maxLength":3000}},"required":["kind","post_url","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reaction"},"post_url":{"type":"string","format":"uri"},"reaction":{"type":"string","enum":["like","celebrate","support","love","insightful","funny"]}},"required":["kind","post_url","reaction"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email"},"subject":{"type":"string","minLength":1,"maxLength":998},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["kind","subject","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email_reply"},"in_reply_to_message_id":{"type":"string","minLength":1,"maxLength":160},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["kind","in_reply_to_message_id","text"],"additionalProperties":false}]},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["campaign_id","person_id","content"],"additionalProperties":false},"create_lead_actionOutput":{"type":"object","properties":{"action":{"type":"object","properties":{"action_id":{"type":"string"},"campaign_id":{"type":"string"},"person_id":{"type":"string"},"kind":{"type":"string","enum":["gif","message","invitation","invitation_without_notification","comment","reaction","email","email_reply"]},"channel":{"type":"string","enum":["linkedin","email"]},"email_from":{"type":["string","null"]},"content":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"gif"},"gif_id":{"type":"string"},"text":{"type":"string"}},"required":["kind","gif_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"message"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation"},"note":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation_without_notification"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"post_url":{"type":"string"},"comment_id":{"type":"string"},"text":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reaction"},"post_url":{"type":"string"},"reaction":{"type":"string","enum":["like","celebrate","support","love","insightful","funny"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email"},"subject":{"type":"string"},"text":{"type":"string"}},"required":["kind","subject","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email_reply"},"in_reply_to_message_id":{"type":"string"},"text":{"type":"string"}},"required":["kind"],"additionalProperties":false}]},"subject":{"type":["string","null"]},"text":{"type":["string","null"]},"state":{"type":"string","enum":["draft","approved","queued","sending","sent","uncertain","cancelled","failed"]},"issue":{"anyOf":[{"type":"object","properties":{"message":{"type":"string"},"can_retry":{"type":"boolean"}},"required":["message","can_retry"],"additionalProperties":false},{"type":"null"}]},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"approved_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sent_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"cancelled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["action_id","campaign_id","person_id","kind","channel","email_from","content","subject","text","state","issue","scheduled_at","approved_at","sent_at","cancelled_at","created_at","updated_at"],"additionalProperties":false}},"required":["action"],"additionalProperties":false},"create_lead_actionBody":{"type":"object","properties":{"content":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"gif"},"gif_id":{"type":"string","minLength":1,"maxLength":160},"text":{"type":"string","maxLength":6000}},"required":["kind","gif_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"message"},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation"},"note":{"type":"string","minLength":1,"maxLength":300}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation_without_notification"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"post_url":{"type":"string","format":"uri"},"comment_id":{"type":"string","minLength":1,"maxLength":500},"text":{"type":"string","minLength":1,"maxLength":3000}},"required":["kind","post_url","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reaction"},"post_url":{"type":"string","format":"uri"},"reaction":{"type":"string","enum":["like","celebrate","support","love","insightful","funny"]}},"required":["kind","post_url","reaction"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email"},"subject":{"type":"string","minLength":1,"maxLength":998},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["kind","subject","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email_reply"},"in_reply_to_message_id":{"type":"string","minLength":1,"maxLength":160},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["kind","in_reply_to_message_id","text"],"additionalProperties":false}]},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["content"],"additionalProperties":false},"update_lead_actionInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"action_id":{"type":"string","minLength":1,"maxLength":160},"content":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"gif"},"gif_id":{"type":"string","minLength":1,"maxLength":160},"text":{"type":"string","maxLength":6000}},"required":["kind","gif_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"message"},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation"},"note":{"type":"string","minLength":1,"maxLength":300}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation_without_notification"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"post_url":{"type":"string","format":"uri"},"comment_id":{"type":"string","minLength":1,"maxLength":500},"text":{"type":"string","minLength":1,"maxLength":3000}},"required":["kind","post_url","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reaction"},"post_url":{"type":"string","format":"uri"},"reaction":{"type":"string","enum":["like","celebrate","support","love","insightful","funny"]}},"required":["kind","post_url","reaction"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email"},"subject":{"type":"string","minLength":1,"maxLength":998},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["kind","subject","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email_reply"},"in_reply_to_message_id":{"type":"string","minLength":1,"maxLength":160},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["kind","in_reply_to_message_id","text"],"additionalProperties":false}]},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["campaign_id","person_id","action_id"],"additionalProperties":false},"update_lead_actionOutput":{"type":"object","properties":{"action":{"type":"object","properties":{"action_id":{"type":"string"},"campaign_id":{"type":"string"},"person_id":{"type":"string"},"kind":{"type":"string","enum":["gif","message","invitation","invitation_without_notification","comment","reaction","email","email_reply"]},"channel":{"type":"string","enum":["linkedin","email"]},"email_from":{"type":["string","null"]},"content":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"gif"},"gif_id":{"type":"string"},"text":{"type":"string"}},"required":["kind","gif_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"message"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation"},"note":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation_without_notification"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"post_url":{"type":"string"},"comment_id":{"type":"string"},"text":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reaction"},"post_url":{"type":"string"},"reaction":{"type":"string","enum":["like","celebrate","support","love","insightful","funny"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email"},"subject":{"type":"string"},"text":{"type":"string"}},"required":["kind","subject","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email_reply"},"in_reply_to_message_id":{"type":"string"},"text":{"type":"string"}},"required":["kind"],"additionalProperties":false}]},"subject":{"type":["string","null"]},"text":{"type":["string","null"]},"state":{"type":"string","enum":["draft","approved","queued","sending","sent","uncertain","cancelled","failed"]},"issue":{"anyOf":[{"type":"object","properties":{"message":{"type":"string"},"can_retry":{"type":"boolean"}},"required":["message","can_retry"],"additionalProperties":false},{"type":"null"}]},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"approved_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sent_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"cancelled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["action_id","campaign_id","person_id","kind","channel","email_from","content","subject","text","state","issue","scheduled_at","approved_at","sent_at","cancelled_at","created_at","updated_at"],"additionalProperties":false}},"required":["action"],"additionalProperties":false},"update_lead_actionBody":{"type":"object","properties":{"content":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"gif"},"gif_id":{"type":"string","minLength":1,"maxLength":160},"text":{"type":"string","maxLength":6000}},"required":["kind","gif_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"message"},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation"},"note":{"type":"string","minLength":1,"maxLength":300}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation_without_notification"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"post_url":{"type":"string","format":"uri"},"comment_id":{"type":"string","minLength":1,"maxLength":500},"text":{"type":"string","minLength":1,"maxLength":3000}},"required":["kind","post_url","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reaction"},"post_url":{"type":"string","format":"uri"},"reaction":{"type":"string","enum":["like","celebrate","support","love","insightful","funny"]}},"required":["kind","post_url","reaction"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email"},"subject":{"type":"string","minLength":1,"maxLength":998},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["kind","subject","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email_reply"},"in_reply_to_message_id":{"type":"string","minLength":1,"maxLength":160},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["kind","in_reply_to_message_id","text"],"additionalProperties":false}]},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"additionalProperties":false},"delete_lead_actionInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"action_id":{"type":"string","minLength":1,"maxLength":160}},"required":["campaign_id","person_id","action_id"],"additionalProperties":false},"delete_lead_actionOutput":{"type":"object","properties":{"action":{"type":"object","properties":{"action_id":{"type":"string"},"campaign_id":{"type":"string"},"person_id":{"type":"string"},"kind":{"type":"string","enum":["gif","message","invitation","invitation_without_notification","comment","reaction","email","email_reply"]},"channel":{"type":"string","enum":["linkedin","email"]},"email_from":{"type":["string","null"]},"content":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"gif"},"gif_id":{"type":"string"},"text":{"type":"string"}},"required":["kind","gif_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"message"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation"},"note":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation_without_notification"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"post_url":{"type":"string"},"comment_id":{"type":"string"},"text":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reaction"},"post_url":{"type":"string"},"reaction":{"type":"string","enum":["like","celebrate","support","love","insightful","funny"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email"},"subject":{"type":"string"},"text":{"type":"string"}},"required":["kind","subject","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email_reply"},"in_reply_to_message_id":{"type":"string"},"text":{"type":"string"}},"required":["kind"],"additionalProperties":false}]},"subject":{"type":["string","null"]},"text":{"type":["string","null"]},"state":{"type":"string","enum":["draft","approved","queued","sending","sent","uncertain","cancelled","failed"]},"issue":{"anyOf":[{"type":"object","properties":{"message":{"type":"string"},"can_retry":{"type":"boolean"}},"required":["message","can_retry"],"additionalProperties":false},{"type":"null"}]},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"approved_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sent_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"cancelled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["action_id","campaign_id","person_id","kind","channel","email_from","content","subject","text","state","issue","scheduled_at","approved_at","sent_at","cancelled_at","created_at","updated_at"],"additionalProperties":false}},"required":["action"],"additionalProperties":false},"delete_lead_actionBody":{"type":"object","properties":{},"additionalProperties":false},"approve_lead_actionInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"action_id":{"type":"string","minLength":1,"maxLength":160}},"required":["campaign_id","person_id","action_id"],"additionalProperties":false},"approve_lead_actionOutput":{"type":"object","properties":{"action":{"type":"object","properties":{"action_id":{"type":"string"},"campaign_id":{"type":"string"},"person_id":{"type":"string"},"kind":{"type":"string","enum":["gif","message","invitation","invitation_without_notification","comment","reaction","email","email_reply"]},"channel":{"type":"string","enum":["linkedin","email"]},"email_from":{"type":["string","null"]},"content":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"gif"},"gif_id":{"type":"string"},"text":{"type":"string"}},"required":["kind","gif_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"message"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation"},"note":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation_without_notification"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"post_url":{"type":"string"},"comment_id":{"type":"string"},"text":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reaction"},"post_url":{"type":"string"},"reaction":{"type":"string","enum":["like","celebrate","support","love","insightful","funny"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email"},"subject":{"type":"string"},"text":{"type":"string"}},"required":["kind","subject","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email_reply"},"in_reply_to_message_id":{"type":"string"},"text":{"type":"string"}},"required":["kind"],"additionalProperties":false}]},"subject":{"type":["string","null"]},"text":{"type":["string","null"]},"state":{"type":"string","enum":["draft","approved","queued","sending","sent","uncertain","cancelled","failed"]},"issue":{"anyOf":[{"type":"object","properties":{"message":{"type":"string"},"can_retry":{"type":"boolean"}},"required":["message","can_retry"],"additionalProperties":false},{"type":"null"}]},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"approved_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sent_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"cancelled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["action_id","campaign_id","person_id","kind","channel","email_from","content","subject","text","state","issue","scheduled_at","approved_at","sent_at","cancelled_at","created_at","updated_at"],"additionalProperties":false}},"required":["action"],"additionalProperties":false},"approve_lead_actionBody":{"type":"object","properties":{},"additionalProperties":false},"reconcile_lead_actionInput":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":160},"person_id":{"type":"string","minLength":1,"maxLength":160},"action_id":{"type":"string","minLength":1,"maxLength":160}},"required":["campaign_id","person_id","action_id"],"additionalProperties":false},"reconcile_lead_actionOutput":{"type":"object","properties":{"action":{"type":"object","properties":{"action_id":{"type":"string"},"campaign_id":{"type":"string"},"person_id":{"type":"string"},"kind":{"type":"string","enum":["gif","message","invitation","invitation_without_notification","comment","reaction","email","email_reply"]},"channel":{"type":"string","enum":["linkedin","email"]},"email_from":{"type":["string","null"]},"content":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"gif"},"gif_id":{"type":"string"},"text":{"type":"string"}},"required":["kind","gif_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"message"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation"},"note":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"invitation_without_notification"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"post_url":{"type":"string"},"comment_id":{"type":"string"},"text":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reaction"},"post_url":{"type":"string"},"reaction":{"type":"string","enum":["like","celebrate","support","love","insightful","funny"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email"},"subject":{"type":"string"},"text":{"type":"string"}},"required":["kind","subject","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"email_reply"},"in_reply_to_message_id":{"type":"string"},"text":{"type":"string"}},"required":["kind"],"additionalProperties":false}]},"subject":{"type":["string","null"]},"text":{"type":["string","null"]},"state":{"type":"string","enum":["draft","approved","queued","sending","sent","uncertain","cancelled","failed"]},"issue":{"anyOf":[{"type":"object","properties":{"message":{"type":"string"},"can_retry":{"type":"boolean"}},"required":["message","can_retry"],"additionalProperties":false},{"type":"null"}]},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"approved_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sent_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"cancelled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["action_id","campaign_id","person_id","kind","channel","email_from","content","subject","text","state","issue","scheduled_at","approved_at","sent_at","cancelled_at","created_at","updated_at"],"additionalProperties":false},"resolution":{"type":"string","enum":["confirmed","pending","checking","not_required"]}},"required":["action","resolution"],"additionalProperties":false},"reconcile_lead_actionBody":{"type":"object","properties":{},"additionalProperties":false}},"securitySchemes":{"apiKeyBearer":{"type":"http","scheme":"bearer","bearerFormat":"Zaly API key","description":"Clave creada en Ajustes > Claves API. Se muestra una vez, caduca entre 1 y 365 días y puede revocarse. Permisos independientes read/write/send. Límites de 60 peticiones/minuto por clave y 120/minuto entre claves de la organización. No autentica MCP. La gestión de equipo requiere sesión web u OAuth."},"webSession":{"type":"apiKey","in":"cookie","name":"__Secure-better-auth.session_token","description":"Cookie de sesión HTTPS emitida por Better Auth al iniciar sesión en Zaly. No es una clave API. En local, el nombre depende de la configuración de Better Auth."}}},"externalDocs":{"url":"https://zaly.app/docs/autenticacion"},"paths":{"/api/v1/context":{"get":{"operationId":"get_context","summary":"Empieza aquí: organización, permisos e índices de guías, skills y tools. Después carga la guía o skill de la tarea con get_guide.","tags":["context"],"parameters":[],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_contextOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_context"}},"/api/v1/guides/{topic}":{"get":{"operationId":"get_guide","summary":"Carga una guía o skill por su topic publicado en get_context. Las skills incluyen Markdown y referencias compartidas; las guías documentan tools y límites. Usa los schemas actuales para ejecutar.","tags":["guides"],"parameters":[{"name":"topic","in":"path","required":true,"schema":{"type":"string","enum":["onboarding","new","team","accounts","services","icps","signals","people","campaigns","calendar","conversations","zaly-preparar-campana","zaly-investigacion","zaly-primer-dm","zaly-conversacion","zaly-follow-ups"]}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_guideOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_guide"}},"/api/v1/new":{"get":{"operationId":"get_new","summary":"Consulta personas pendientes de primer contacto, respuesta, seguimiento o revisión de acciones, sin filtro temporal ni generar acciones. Agrupa por persona, conserva campañas y cobertura, y pagina con un snapshot estable de MongoDB.","tags":["new"],"parameters":[{"name":"campaign_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"follow_up_days","in":"query","required":false,"schema":{"default":7,"type":"integer","minimum":1,"maximum":365}},{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":4000}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_newOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_new"}},"/api/v1/onboarding":{"get":{"operationId":"get_onboarding","summary":"Consulta el progreso comercial compartido, requisitos reales y siguientes pasos. No inicia captura.","tags":["onboarding"],"parameters":[],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_onboardingOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_onboarding"},"patch":{"operationId":"update_onboarding","summary":"Guarda documentos resumidos, propuestas, selección, tono, memoria y decisión de captura. No crea señales.","tags":["onboarding"],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_onboardingBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_onboardingOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"update_onboarding"}},"/api/v1/onboarding/complete":{"post":{"operationId":"complete_onboarding","summary":"Comprueba campaña activa con servicio, ICP y señal activa asociada y registra el cierre. No inicia procesos.","tags":["onboarding"],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/complete_onboardingBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/complete_onboardingOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"complete_onboarding"}},"/api/v1/organization/members":{"get":{"operationId":"list_organization_members","summary":"list organization members","tags":["organization"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":160}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_organization_membersOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"list_organization_members"}},"/api/v1/organization/invitations":{"get":{"operationId":"list_organization_invitations","summary":"list organization invitations","tags":["organization"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":160}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_organization_invitationsOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"list_organization_invitations"},"post":{"operationId":"invite_organization_member","summary":"invite organization member","tags":["organization"],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/invite_organization_memberBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invite_organization_memberOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","security":[{"webSession":[]}],"x-zaly-read-only":false,"x-zaly-mcp-tool":"invite_organization_member"}},"/api/v1/organization/invitations/{invitationId}":{"delete":{"operationId":"cancel_organization_invitation","summary":"cancel organization invitation","tags":["organization"],"parameters":[{"name":"invitationId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/cancel_organization_invitationBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/cancel_organization_invitationOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","security":[{"webSession":[]}],"x-zaly-read-only":false,"x-zaly-mcp-tool":"cancel_organization_invitation"}},"/api/v1/organization/members/{memberId}":{"delete":{"operationId":"remove_organization_member","summary":"remove organization member","tags":["organization"],"parameters":[{"name":"memberId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/remove_organization_memberBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/remove_organization_memberOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","security":[{"webSession":[]}],"x-zaly-read-only":false,"x-zaly-mcp-tool":"remove_organization_member"}},"/api/v1/accounts":{"get":{"operationId":"list_accounts","summary":"list accounts","tags":["accounts"],"parameters":[{"name":"channel","in":"query","required":false,"schema":{"type":"string","enum":["linkedin","email"]}},{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_accountsOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"list_accounts"}},"/api/v1/accounts/{accountId}":{"get":{"operationId":"get_account","summary":"get account","tags":["accounts"],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_accountOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_account"}},"/api/v1/accounts/{accountId}/calendar/refresh":{"post":{"operationId":"refresh_account_calendar","summary":"refresh account calendar","tags":["accounts"],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/refresh_account_calendarBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/refresh_account_calendarOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"refresh_account_calendar"}},"/api/v1/accounts/{accountId}/email-senders":{"get":{"operationId":"list_account_email_senders","summary":"list account email senders","tags":["accounts"],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_account_email_sendersOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"list_account_email_senders"}},"/api/v1/services":{"get":{"operationId":"list_services","summary":"list services","tags":["services"],"parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":120}},{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_servicesOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"list_services"},"post":{"operationId":"create_service","summary":"create service","tags":["services"],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_serviceBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_serviceOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"create_service"}},"/api/v1/services/{serviceId}":{"get":{"operationId":"get_service","summary":"get service","tags":["services"],"parameters":[{"name":"serviceId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_serviceOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_service"},"patch":{"operationId":"update_service","summary":"update service","tags":["services"],"parameters":[{"name":"serviceId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_serviceBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_serviceOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"update_service"},"delete":{"operationId":"delete_service","summary":"delete service","tags":["services"],"parameters":[{"name":"serviceId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_serviceBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_serviceOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"delete_service"}},"/api/v1/icps/filter-options":{"get":{"operationId":"get_icp_filter_options","summary":"get icp filter options","tags":["icps"],"parameters":[],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_icp_filter_optionsOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_icp_filter_options"}},"/api/v1/icps":{"get":{"operationId":"list_icps","summary":"list icps","tags":["icps"],"parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":120}},{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_icpsOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"list_icps"},"post":{"operationId":"create_icp","summary":"create icp","tags":["icps"],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_icpBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_icpOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"create_icp"}},"/api/v1/icps/{icpId}":{"get":{"operationId":"get_icp","summary":"get icp","tags":["icps"],"parameters":[{"name":"icpId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_icpOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_icp"},"patch":{"operationId":"update_icp","summary":"update icp","tags":["icps"],"parameters":[{"name":"icpId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_icpBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_icpOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"update_icp"},"delete":{"operationId":"delete_icp","summary":"delete icp","tags":["icps"],"parameters":[{"name":"icpId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_icpBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_icpOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"delete_icp"}},"/api/v1/signals":{"get":{"operationId":"list_signals","summary":"list signals","tags":["signals"],"parameters":[{"name":"campaign_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"name","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":120}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["active","paused","completed"]}},{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_signalsOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"list_signals"},"post":{"operationId":"create_signal","summary":"create signal","tags":["signals"],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_signalBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_signalOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"create_signal"}},"/api/v1/signals/{signalId}":{"get":{"operationId":"get_signal","summary":"get signal","tags":["signals"],"parameters":[{"name":"signalId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_signalOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_signal"},"patch":{"operationId":"update_signal","summary":"update signal","tags":["signals"],"parameters":[{"name":"signalId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_signalBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_signalOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"update_signal"}},"/api/v1/people":{"get":{"operationId":"list_people","summary":"list people","tags":["people"],"parameters":[{"name":"campaign_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"signal_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"query","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_peopleOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"list_people"}},"/api/v1/people/lookup":{"get":{"operationId":"get_person","summary":"get person","tags":["people"],"parameters":[{"name":"campaign_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"signal_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"person_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"linkedin_url","in":"query","required":false,"schema":{"type":"string","maxLength":2048}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_personOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_person"}},"/api/v1/campaigns":{"get":{"operationId":"list_campaigns","summary":"list campaigns","tags":["campaigns"],"parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":120}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["active","paused","archived"]}},{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_campaignsOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"list_campaigns"},"post":{"operationId":"create_campaign","summary":"create campaign","tags":["campaigns"],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_campaignBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_campaignOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"create_campaign"}},"/api/v1/campaigns/{campaignId}":{"get":{"operationId":"get_campaign","summary":"get campaign","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"import_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":160}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_campaignOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_campaign"},"patch":{"operationId":"update_campaign","summary":"update campaign","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_campaignBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_campaignOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"update_campaign"}},"/api/v1/campaigns/{campaignId}/leads":{"post":{"operationId":"add_campaign_leads","summary":"add campaign leads","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/add_campaign_leadsBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/add_campaign_leadsOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"add_campaign_leads"}},"/api/v1/leads/contact-details":{"post":{"operationId":"request_lead_contact_details","summary":"Solicita email o teléfono para uno o varios leads ya enriquecidos. Reutiliza datos y búsquedas, sin cambiar los ticks de campaña. Máximo acumulado 25 créditos por dato y 2.000 créditos por cliente/mes. No envía mensajes. Las campañas pausadas admiten esta petición explícita; conserva ICP, política y cuenta habilitada.","tags":["leads"],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/request_lead_contact_detailsBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/request_lead_contact_detailsOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"request_lead_contact_details"}},"/api/v1/campaigns/{campaignId}/people/{personId}":{"patch":{"operationId":"set_campaign_lead_status","summary":"set campaign lead status","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"personId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/set_campaign_lead_statusBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/set_campaign_lead_statusOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"set_campaign_lead_status"}},"/api/v1/campaigns/{campaignId}/calendar/availability":{"get":{"operationId":"get_calendar_availability","summary":"get calendar availability","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"starts_at","in":"query","required":true,"schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},{"name":"ends_at","in":"query","required":true,"schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},{"name":"duration_minutes","in":"query","required":true,"schema":{"type":"integer","minimum":15,"maximum":120}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_calendar_availabilityOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_calendar_availability"}},"/api/v1/campaigns/{campaignId}/people/{personId}/meetings":{"post":{"operationId":"schedule_meeting","summary":"schedule meeting","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"personId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/schedule_meetingBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/schedule_meetingOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"send","x-zaly-read-only":false,"x-zaly-mcp-tool":"schedule_meeting"},"get":{"operationId":"list_meetings","summary":"list meetings","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"personId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":160}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_meetingsOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"list_meetings"}},"/api/v1/campaigns/{campaignId}/people/{personId}/meetings/external":{"post":{"operationId":"record_meeting","summary":"Registra una reunión ya acordada fuera de Zaly, sin crear evento ni enviar invitaciones.","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"personId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/record_meetingBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/record_meetingOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"record_meeting"}},"/api/v1/campaigns/{campaignId}/people/{personId}/meetings/{meetingId}":{"patch":{"operationId":"update_meeting","summary":"Modifica una reunión, la cancela o la marca celebrada. Si procede de calendario, cambiar fecha o cancelar modifica el evento y requiere permiso de envío. No reanuda mensajes.","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"personId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"meetingId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_meetingBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_meetingOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"update_meeting"}},"/api/v1/gifs":{"get":{"operationId":"list_gifs","summary":"Buscar GIFs guardados por nombre, descripción o etiquetas. query es texto literal; conserva query al continuar con next_cursor. No descarga bytes ni envía.","tags":["gifs"],"parameters":[{"name":"query","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":200}},{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":160}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_gifsOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"list_gifs"},"post":{"operationId":"upload_gif","summary":"Subir un GIF animado a la biblioteca de la organización. No crea acciones ni envía. Base64 canónico, máximo 2 MiB. Repetir los mismos bytes reutiliza el GIF y sus metadatos originales.","tags":["gifs"],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/upload_gifBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/upload_gifOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"upload_gif"}},"/api/v1/gifs/{gifId}":{"get":{"operationId":"get_gif","summary":"Consultar un GIF disponible y su preview_path autenticado. No envía. Usa gif_id al crear content.kind=gif.","tags":["gifs"],"parameters":[{"name":"gifId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_gifOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_gif"}},"/api/v1/campaigns/{campaignId}/people/{personId}/conversation":{"get":{"operationId":"get_conversation","summary":"get conversation","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"personId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_conversationOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"get_conversation"}},"/api/v1/campaigns/{campaignId}/people/{personId}/actions":{"get":{"operationId":"list_lead_actions","summary":"list lead actions","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"personId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"state","in":"query","required":false,"schema":{"type":"string","enum":["draft","approved","queued","sending","sent","uncertain","cancelled","failed"]}},{"name":"limit","in":"query","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}}],"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_lead_actionsOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"read","x-zaly-read-only":true,"x-zaly-mcp-tool":"list_lead_actions"},"post":{"operationId":"create_lead_action","summary":"create lead action","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"personId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_lead_actionBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_lead_actionOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"create_lead_action"}},"/api/v1/campaigns/{campaignId}/people/{personId}/actions/{actionId}":{"patch":{"operationId":"update_lead_action","summary":"update lead action","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"personId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"actionId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_lead_actionBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_lead_actionOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"update_lead_action"},"delete":{"operationId":"delete_lead_action","summary":"delete lead action","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"personId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"actionId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_lead_actionBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_lead_actionOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"delete_lead_action"}},"/api/v1/campaigns/{campaignId}/people/{personId}/actions/{actionId}/approve":{"post":{"operationId":"approve_lead_action","summary":"approve lead action","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"personId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"actionId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/approve_lead_actionBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/approve_lead_actionOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"send","x-zaly-read-only":false,"x-zaly-mcp-tool":"approve_lead_action"}},"/api/v1/campaigns/{campaignId}/people/{personId}/actions/{actionId}/reconcile":{"post":{"operationId":"reconcile_lead_action","summary":"Comprueba el recibo guardado y recupera un envío confirmado. No envía ni permite forzar un resultado sin evidencia.","tags":["campaigns"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"personId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"actionId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string","const":"https://ai.zaly.app","description":"Obligatoria en escrituras con cookie. No se requiere con Bearer."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/reconcile_lead_actionBody"}}}},"responses":{"200":{"description":"Resultado de la operación. Una acción guardada o encolada no acredita envío.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/reconcile_lead_actionOutput"}}}},"default":{"description":"Error de autenticación, permisos, validación, estado o capacidad. Consulta error.code y conserva request_id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"},"request_id":{"type":"string"}}}}}}}}},"x-zaly-permission":"write","x-zaly-read-only":false,"x-zaly-mcp-tool":"reconcile_lead_action"}}}}