{"components":{"schemas":{"framework.error":{"properties":{"error":{"properties":{"kind":{"enum":["app","framework","unavailable"],"type":"string"},"requestId":{"type":"string"}},"required":["kind","requestId"],"type":"object"},"ok":{"const":false,"type":"boolean"}},"required":["ok","error"],"type":"object"},"operation.agents.create.input":{"properties":{"brain":{"enum":["hosted","webhook"],"type":"string"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"fallbackLine":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"greeting":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"language":{"enum":["no","en"],"type":"string"},"maxMinutes":{"maximum":120,"minimum":1,"type":"integer"},"name":{"maxLength":100,"minLength":1,"type":"string"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"prompt":{"anyOf":[{"maxLength":8000,"minLength":1,"type":"string"},{"type":"null"}]},"tools":{"items":{"properties":{"description":{"maxLength":1000,"minLength":1,"type":"string"},"inputSchema":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"name":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","type":"string"},"webhookEndpointId":{"maxLength":100,"minLength":1,"type":"string"}},"required":["name","description","inputSchema","webhookEndpointId"],"type":"object"},"maxItems":8,"type":"array"},"voice":{"enum":["no_female","no_male","en_female"],"type":"string"},"webhookEndpointId":{"anyOf":[{"maxLength":100,"minLength":1,"type":"string"},{"type":"null"}]}},"required":["name","brain","voice","language"],"type":"object"},"operation.agents.create.output":{"properties":{"data":{"additionalProperties":false,"properties":{"archivedAt":{"type":["string","null"]},"brain":{"enum":["hosted","webhook"],"type":"string"},"createdAt":{"type":"string"},"fallbackLine":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"greeting":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"enum":["no","en"],"type":"string"},"maxMinutes":{"maximum":120,"minimum":1,"type":"integer"},"name":{"maxLength":100,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"prompt":{"anyOf":[{"maxLength":8000,"minLength":1,"type":"string"},{"type":"null"}]},"tools":{"items":{"additionalProperties":false,"properties":{"description":{"type":"string"},"inputSchema":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"name":{"type":"string"},"webhookEndpointId":{"type":"string"}},"required":["name","description","inputSchema","webhookEndpointId"],"type":"object"},"type":"array"},"updatedAt":{"type":"string"},"voice":{"enum":["no_female","no_male","en_female"],"type":"string"},"webhookEndpointId":{"anyOf":[{"maxLength":100,"minLength":1,"type":"string"},{"type":"null"}]}},"required":["id","profileId","name","brain","greeting","prompt","voice","language","tools","webhookEndpointId","fallbackLine","maxMinutes","archivedAt","createdAt","updatedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.agents.create.refusal.agent_brain_incomplete":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"agent_brain_incomplete","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.create.refusal.agent_tool_name_taken":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"agent_tool_name_taken","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.create.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.create.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.create.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.create.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.create.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.create.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.create.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.create.refusal.webhook_endpoint_not_registered":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_registered","type":"string"},"meta":{"additionalProperties":false,"properties":{"endpointId":{"type":"string"}},"required":["endpointId"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"archivedAt":{"type":["string","null"]},"brain":{"enum":["hosted","webhook"],"type":"string"},"createdAt":{"type":"string"},"fallbackLine":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"greeting":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"enum":["no","en"],"type":"string"},"maxMinutes":{"maximum":120,"minimum":1,"type":"integer"},"name":{"maxLength":100,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"prompt":{"anyOf":[{"maxLength":8000,"minLength":1,"type":"string"},{"type":"null"}]},"tools":{"items":{"additionalProperties":false,"properties":{"description":{"type":"string"},"inputSchema":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"name":{"type":"string"},"webhookEndpointId":{"type":"string"}},"required":["name","description","inputSchema","webhookEndpointId"],"type":"object"},"type":"array"},"updatedAt":{"type":"string"},"voice":{"enum":["no_female","no_male","en_female"],"type":"string"},"webhookEndpointId":{"anyOf":[{"maxLength":100,"minLength":1,"type":"string"},{"type":"null"}]}},"required":["id","profileId","name","brain","greeting","prompt","voice","language","tools","webhookEndpointId","fallbackLine","maxMinutes","archivedAt","createdAt","updatedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.agents.get.refusal.agent_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"agent_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"agents":{"items":{"additionalProperties":false,"properties":{"archivedAt":{"type":["string","null"]},"brain":{"enum":["hosted","webhook"],"type":"string"},"createdAt":{"type":"string"},"fallbackLine":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"greeting":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"enum":["no","en"],"type":"string"},"maxMinutes":{"maximum":120,"minimum":1,"type":"integer"},"name":{"maxLength":100,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"prompt":{"anyOf":[{"maxLength":8000,"minLength":1,"type":"string"},{"type":"null"}]},"tools":{"items":{"additionalProperties":false,"properties":{"description":{"type":"string"},"inputSchema":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"name":{"type":"string"},"webhookEndpointId":{"type":"string"}},"required":["name","description","inputSchema","webhookEndpointId"],"type":"object"},"type":"array"},"updatedAt":{"type":"string"},"voice":{"enum":["no_female","no_male","en_female"],"type":"string"},"webhookEndpointId":{"anyOf":[{"maxLength":100,"minLength":1,"type":"string"},{"type":"null"}]}},"required":["id","profileId","name","brain","greeting","prompt","voice","language","tools","webhookEndpointId","fallbackLine","maxMinutes","archivedAt","createdAt","updatedAt"],"type":"object"},"type":"array"}},"required":["agents"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.agents.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.list.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.remove.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.agents.remove.output":{"properties":{"data":{"additionalProperties":false,"properties":{"archivedAt":{"type":["string","null"]},"brain":{"enum":["hosted","webhook"],"type":"string"},"createdAt":{"type":"string"},"fallbackLine":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"greeting":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"enum":["no","en"],"type":"string"},"maxMinutes":{"maximum":120,"minimum":1,"type":"integer"},"name":{"maxLength":100,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"prompt":{"anyOf":[{"maxLength":8000,"minLength":1,"type":"string"},{"type":"null"}]},"tools":{"items":{"additionalProperties":false,"properties":{"description":{"type":"string"},"inputSchema":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"name":{"type":"string"},"webhookEndpointId":{"type":"string"}},"required":["name","description","inputSchema","webhookEndpointId"],"type":"object"},"type":"array"},"updatedAt":{"type":"string"},"voice":{"enum":["no_female","no_male","en_female"],"type":"string"},"webhookEndpointId":{"anyOf":[{"maxLength":100,"minLength":1,"type":"string"},{"type":"null"}]}},"required":["id","profileId","name","brain","greeting","prompt","voice","language","tools","webhookEndpointId","fallbackLine","maxMinutes","archivedAt","createdAt","updatedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.agents.remove.refusal.agent_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"agent_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.remove.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.remove.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.remove.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.remove.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.remove.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.remove.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.update.input":{"properties":{"brain":{"enum":["hosted","webhook"],"type":"string"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"fallbackLine":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"greeting":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"language":{"enum":["no","en"],"type":"string"},"maxMinutes":{"maximum":120,"minimum":1,"type":"integer"},"name":{"maxLength":100,"minLength":1,"type":"string"},"prompt":{"anyOf":[{"maxLength":8000,"minLength":1,"type":"string"},{"type":"null"}]},"tools":{"items":{"properties":{"description":{"maxLength":1000,"minLength":1,"type":"string"},"inputSchema":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"name":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","type":"string"},"webhookEndpointId":{"maxLength":100,"minLength":1,"type":"string"}},"required":["name","description","inputSchema","webhookEndpointId"],"type":"object"},"maxItems":8,"type":"array"},"voice":{"enum":["no_female","no_male","en_female"],"type":"string"},"webhookEndpointId":{"anyOf":[{"maxLength":100,"minLength":1,"type":"string"},{"type":"null"}]}},"type":"object"},"operation.agents.update.output":{"properties":{"data":{"additionalProperties":false,"properties":{"archivedAt":{"type":["string","null"]},"brain":{"enum":["hosted","webhook"],"type":"string"},"createdAt":{"type":"string"},"fallbackLine":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"greeting":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"enum":["no","en"],"type":"string"},"maxMinutes":{"maximum":120,"minimum":1,"type":"integer"},"name":{"maxLength":100,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"prompt":{"anyOf":[{"maxLength":8000,"minLength":1,"type":"string"},{"type":"null"}]},"tools":{"items":{"additionalProperties":false,"properties":{"description":{"type":"string"},"inputSchema":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"name":{"type":"string"},"webhookEndpointId":{"type":"string"}},"required":["name","description","inputSchema","webhookEndpointId"],"type":"object"},"type":"array"},"updatedAt":{"type":"string"},"voice":{"enum":["no_female","no_male","en_female"],"type":"string"},"webhookEndpointId":{"anyOf":[{"maxLength":100,"minLength":1,"type":"string"},{"type":"null"}]}},"required":["id","profileId","name","brain","greeting","prompt","voice","language","tools","webhookEndpointId","fallbackLine","maxMinutes","archivedAt","createdAt","updatedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.agents.update.refusal.agent_brain_incomplete":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"agent_brain_incomplete","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.update.refusal.agent_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"agent_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.update.refusal.agent_tool_name_taken":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"agent_tool_name_taken","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.update.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.update.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.update.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.update.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.update.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.update.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.update.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.agents.update.refusal.webhook_endpoint_not_registered":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_registered","type":"string"},"meta":{"additionalProperties":false,"properties":{"endpointId":{"type":"string"}},"required":["endpointId"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.create.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"scopes":{"anyOf":[{"items":{"enum":["sms:send","sms:read","email:send","email:read","letters:send","letters:read","calls:write","calls:read","numbers:manage","numbers:read","agents:manage","solutions:manage","transcription:write","transcription:read","webhooks:manage","events:read","profiles:manage","keys:manage","contacts:manage","usage:read"],"type":"string"},"maxItems":20,"minItems":1,"type":"array"},{"type":"null"}],"default":null}},"required":["name","mode","profileId"],"type":"object"},"operation.apiKeys.create.output":{"properties":{"data":{"additionalProperties":false,"properties":{"key":{"additionalProperties":false,"properties":{"createdAt":{"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":"string"},"createdBy":{"maxLength":128,"minLength":1,"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"keyId":{"type":"string"},"last4":{"type":"string"},"lastUsedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"revokedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"scopes":{"anyOf":[{"items":{"enum":["sms:send","sms:read","email:send","email:read","letters:send","letters:read","calls:write","calls:read","numbers:manage","numbers:read","agents:manage","solutions:manage","transcription:write","transcription:read","webhooks:manage","events:read","profiles:manage","keys:manage","contacts:manage","usage:read"],"type":"string"},"type":"array"},{"type":"null"}]}},"required":["id","keyId","name","mode","profileId","scopes","last4","createdBy","createdAt","lastUsedAt","revokedAt"],"type":"object"},"secret":{"type":"string"}},"required":["key","secret"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.apiKeys.create.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.create.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.create.refusal.key_mode_exceeded":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"key_mode_exceeded","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.create.refusal.key_profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"key_profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.create.refusal.key_profile_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"key_profile_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.create.refusal.key_scopes_exceeded":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"key_scopes_exceeded","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.create.refusal.live_key_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_key_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.create.refusal.manager_role_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"manager_role_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.create.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.create.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.create.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.create.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"keys":{"items":{"additionalProperties":false,"properties":{"createdAt":{"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":"string"},"createdBy":{"maxLength":128,"minLength":1,"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"keyId":{"type":"string"},"last4":{"type":"string"},"lastUsedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"revokedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"scopes":{"anyOf":[{"items":{"enum":["sms:send","sms:read","email:send","email:read","letters:send","letters:read","calls:write","calls:read","numbers:manage","numbers:read","agents:manage","solutions:manage","transcription:write","transcription:read","webhooks:manage","events:read","profiles:manage","keys:manage","contacts:manage","usage:read"],"type":"string"},"type":"array"},{"type":"null"}]}},"required":["id","keyId","name","mode","profileId","scopes","last4","createdBy","createdAt","lastUsedAt","revokedAt"],"type":"object"},"type":"array"}},"required":["keys"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.apiKeys.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.list.refusal.live_key_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_key_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.list.refusal.manager_role_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"manager_role_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.revoke.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.apiKeys.revoke.output":{"properties":{"data":{"additionalProperties":false,"properties":{"createdAt":{"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":"string"},"createdBy":{"maxLength":128,"minLength":1,"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"keyId":{"type":"string"},"last4":{"type":"string"},"lastUsedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"revokedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"scopes":{"anyOf":[{"items":{"enum":["sms:send","sms:read","email:send","email:read","letters:send","letters:read","calls:write","calls:read","numbers:manage","numbers:read","agents:manage","solutions:manage","transcription:write","transcription:read","webhooks:manage","events:read","profiles:manage","keys:manage","contacts:manage","usage:read"],"type":"string"},"type":"array"},{"type":"null"}]}},"required":["id","keyId","name","mode","profileId","scopes","last4","createdBy","createdAt","lastUsedAt","revokedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.apiKeys.revoke.refusal.api_key_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"api_key_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.revoke.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.revoke.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.revoke.refusal.key_mode_exceeded":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"key_mode_exceeded","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.revoke.refusal.key_profile_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"key_profile_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.revoke.refusal.key_scopes_exceeded":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"key_scopes_exceeded","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.revoke.refusal.live_key_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_key_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.revoke.refusal.manager_role_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"manager_role_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.revoke.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.revoke.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.revoke.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.apiKeys.revoke.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"maxLength":80,"minLength":1,"type":"string"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"text":{"maxLength":80000,"minLength":1,"type":"string"},"voice":{"enum":["no_female","no_male","en_female"],"type":"string"}},"required":["name","text"],"type":"object"},"operation.audio.generate.output":{"properties":{"data":{"additionalProperties":false,"properties":{"characters":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"createdAt":{"type":"string"},"errorDesc":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"readyAt":{"type":["string","null"]},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"source":{"enum":["tts","upload"],"type":"string"},"state":{"enum":["pending","in_flight","uncertain","ready","failed"],"type":"string"},"testMode":{"type":"boolean"},"text":{"type":["string","null"]},"voice":{"anyOf":[{"enum":["no_female","no_male","en_female"],"type":"string"},{"type":"null"}]}},"required":["id","profileId","name","source","state","text","voice","characters","seconds","priceOre","testMode","errorDesc","createdAt","readyAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.audio.generate.refusal.audio_text_too_long":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_text_too_long","type":"string"},"meta":{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["characters","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.refusal.service_off":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_off","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.generate.refusal.voice_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"voice_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"characters":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"createdAt":{"type":"string"},"errorDesc":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"link":{"anyOf":[{"additionalProperties":false,"properties":{"expiresAt":{"type":"string"},"href":{"type":"string"}},"required":["href","expiresAt"],"type":"object"},{"type":"null"}]},"name":{"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"readyAt":{"type":["string","null"]},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"source":{"enum":["tts","upload"],"type":"string"},"state":{"enum":["pending","in_flight","uncertain","ready","failed"],"type":"string"},"testMode":{"type":"boolean"},"text":{"type":["string","null"]},"voice":{"anyOf":[{"enum":["no_female","no_male","en_female"],"type":"string"},{"type":"null"}]}},"required":["id","profileId","name","source","state","text","voice","characters","seconds","priceOre","testMode","errorDesc","createdAt","readyAt","link"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.audio.get.refusal.audio_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.audio.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.balance.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"availableOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"balanceOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"currency":{"enum":["NOK"],"type":"string"},"paused":{"type":"boolean"},"reservedOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["availableOre","reservedOre","balanceOre","currency","paused"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.balance.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.balance.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.balance.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.balance.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.balance.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.balance.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callCommands.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"attempts":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"completedAt":{"type":["string","null"]},"createdAt":{"type":"string"},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["dial","move","transfer_dial","transfer_complete","recording_start","recording_stop","media_start","media_stop","agent_start","stream_start"],"type":"string"},"participantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"result":{"anyOf":[{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},{"type":"null"}]},"state":{"enum":["requested","dispatched","done","failed","uncertain"],"type":"string"}},"required":["id","callId","participantId","kind","state","attempts","result","errorCode","createdAt","completedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callCommands.get.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callCommands.get.refusal.command_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"command_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callCommands.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callCommands.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callCommands.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callCommands.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callCommands.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callCommands.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.answer.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.callControl.answer.output":{"properties":{"data":{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["preparing","queued","dialing","uncertain","ringing","answered","ended","unanswered","failed","cancelled"],"type":"string"}},"required":["id","state"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callControl.answer.refusal.call_already_routed":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_already_routed","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.answer.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.answer.refusal.call_not_inbound":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_inbound","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.answer.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.answer.refusal.capability_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"capability_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.answer.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.answer.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.answer.refusal.media_capacity_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_capacity_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.answer.refusal.media_tasks_full":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_tasks_full","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.answer.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.answer.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.answer.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.answer.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.move.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"intoCallId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["intoCallId"],"type":"object"},"operation.callControl.move.output":{"properties":{"data":{"additionalProperties":false,"properties":{"commandId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"participant":{"additionalProperties":false,"properties":{"audioMode":{"enum":["talk","listen","whisper"],"type":"string"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"connection":{"anyOf":[{"additionalProperties":false,"properties":{"token":{"type":"string"},"url":{"type":"string"}},"required":["url","token"],"type":"object"},{"type":"null"}]},"currentCallId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"displayName":{"type":["string","null"]},"endReason":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"joinedAt":{"type":["string","null"]},"kind":{"enum":["phone","app","member","agent","worker","stream","bot"],"type":"string"},"leftAt":{"type":["string","null"]},"muted":{"type":"boolean"},"phone":{"type":["string","null"]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"role":{"enum":["primary","leg","member","supervisor"],"type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"state":{"enum":["invited","ringing","joined","held","moving","left","failed"],"type":"string"}},"required":["id","callId","currentCallId","kind","role","state","audioMode","muted","phone","externalRef","displayName","joinedAt","leftAt","seconds","billedMinutes","priceOre","endReason","connection"],"type":"object"}},"required":["participant","commandId"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callControl.move.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.move.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.move.refusal.call_participants_full":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_participants_full","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.move.refusal.capability_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"capability_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.move.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.move.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.move.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.move.refusal.move_not_allowed":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"move_not_allowed","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.move.refusal.participant_not_connected":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_connected","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.move.refusal.participant_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.move.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.move.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.move.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.reject.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.callControl.reject.output":{"properties":{"data":{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["preparing","queued","dialing","uncertain","ringing","answered","ended","unanswered","failed","cancelled"],"type":"string"}},"required":["id","state"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callControl.reject.refusal.call_already_routed":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_already_routed","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.reject.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.reject.refusal.call_not_inbound":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_inbound","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.reject.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.reject.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.reject.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.reject.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.reject.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.reject.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.reject.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["cold","warm"],"type":"string"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"to":{"maxLength":32,"minLength":1,"type":"string"}},"required":["to"],"type":"object"},"operation.callControl.transfer.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"completedAt":{"type":["string","null"]},"createdAt":{"type":"string"},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["cold","warm"],"type":"string"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["dialing","consulting","completed","cancelled","failed"],"type":"string"},"targetParticipantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"to":{"type":"string"},"transferorId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["id","callId","kind","state","participantId","transferorId","targetParticipantId","to","errorCode","createdAt","completedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callControl.transfer.refusal.call_already_routed":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_already_routed","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.call_not_answered":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_answered","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.call_participants_full":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_participants_full","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.capability_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"capability_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.destination_not_allowlisted":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"destination_not_allowlisted","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"limit_reached","type":"string"},"meta":{"additionalProperties":false,"properties":{"kind":{"enum":["outbound_leg","call_minutes","sms"],"type":"string"},"limit":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["kind","limit"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.number_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"number_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.outbound_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"outbound_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.participant_not_connected":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_connected","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.participant_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.recipient_blocked":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_blocked","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.recipient_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transfer.refusal.transfer_active":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transfer_active","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferCancel.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"transferId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.callControl.transferCancel.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"completedAt":{"type":["string","null"]},"createdAt":{"type":"string"},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["cold","warm"],"type":"string"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["dialing","consulting","completed","cancelled","failed"],"type":"string"},"targetParticipantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"to":{"type":"string"},"transferorId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["id","callId","kind","state","participantId","transferorId","targetParticipantId","to","errorCode","createdAt","completedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callControl.transferCancel.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferCancel.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferCancel.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferCancel.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferCancel.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferCancel.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferCancel.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferCancel.refusal.transfer_not_active":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transfer_not_active","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferCancel.refusal.transfer_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transfer_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferComplete.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"transferId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.callControl.transferComplete.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"completedAt":{"type":["string","null"]},"createdAt":{"type":"string"},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["cold","warm"],"type":"string"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["dialing","consulting","completed","cancelled","failed"],"type":"string"},"targetParticipantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"to":{"type":"string"},"transferorId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["id","callId","kind","state","participantId","transferorId","targetParticipantId","to","errorCode","createdAt","completedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callControl.transferComplete.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferComplete.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferComplete.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferComplete.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferComplete.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferComplete.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferComplete.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferComplete.refusal.transfer_not_active":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transfer_not_active","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferComplete.refusal.transfer_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transfer_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferGet.output":{"properties":{"data":{"anyOf":[{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"completedAt":{"type":["string","null"]},"createdAt":{"type":"string"},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["cold","warm"],"type":"string"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["dialing","consulting","completed","cancelled","failed"],"type":"string"},"targetParticipantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"to":{"type":"string"},"transferorId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["id","callId","kind","state","participantId","transferorId","targetParticipantId","to","errorCode","createdAt","completedAt"],"type":"object"},{"type":"null"}]},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callControl.transferGet.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferGet.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferGet.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferGet.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferGet.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferGet.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callControl.transferGet.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"digits":{"maxLength":64,"minLength":1,"pattern":"^[0-9*#]+$","type":"string"}},"required":["digits"],"type":"object"},"operation.callMedia.dtmf.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"commandId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"digits":{"type":["string","null"]},"endedAt":{"type":["string","null"]},"ending":{"anyOf":[{"enum":["finished","stopped"],"type":"string"},{"type":"null"}]},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["play","say","gather","hold_music","dtmf","transcribe","amd"],"type":"string"},"outcome":{"anyOf":[{"enum":["digits","speech","timeout","stopped"],"type":"string"},{"type":"null"}]},"participantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"replays":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"startedAt":{"type":["string","null"]},"state":{"enum":["requested","running","done","failed","uncertain"],"type":"string"}},"required":["id","callId","kind","state","participantId","commandId","ending","outcome","digits","priceOre","errorCode","replays","createdAt","startedAt","endedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callMedia.dtmf.refusal.audio_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.audio_text_too_long":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_text_too_long","type":"string"},"meta":{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["characters","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.capability_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"capability_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.media_capacity_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_capacity_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.media_tasks_full":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_tasks_full","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.participant_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.participant_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.dtmf.refusal.voice_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"voice_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.input":{"properties":{"choices":{"items":{"properties":{"id":{"maxLength":64,"minLength":1,"type":"string"},"phrases":{"items":{"maxLength":60,"minLength":1,"type":"string"},"maxItems":10,"minItems":1,"type":"array"}},"required":["id","phrases"],"type":"object"},"maxItems":20,"type":"array"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"finishKey":{"enum":["0","1","2","3","4","5","6","7","8","9","*","#"],"type":"string"},"input":{"items":{"enum":["dtmf","speech"],"type":"string"},"maxItems":2,"minItems":1,"type":"array"},"language":{"enum":["no","en"],"type":"string"},"maxDigits":{"maximum":64,"minimum":1,"type":"integer"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"prompt":{"anyOf":[{"properties":{"clipId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["clipId"],"type":"object"},{"properties":{"text":{"maxLength":80000,"minLength":1,"type":"string"},"voice":{"enum":["no_female","no_male","en_female"],"type":"string"}},"required":["text"],"type":"object"}]},"timeoutSeconds":{"maximum":300,"minimum":1,"type":"integer"}},"type":"object"},"operation.callMedia.gather.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"commandId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"digits":{"type":["string","null"]},"endedAt":{"type":["string","null"]},"ending":{"anyOf":[{"enum":["finished","stopped"],"type":"string"},{"type":"null"}]},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["play","say","gather","hold_music","dtmf","transcribe","amd"],"type":"string"},"outcome":{"anyOf":[{"enum":["digits","speech","timeout","stopped"],"type":"string"},{"type":"null"}]},"participantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"replays":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"startedAt":{"type":["string","null"]},"state":{"enum":["requested","running","done","failed","uncertain"],"type":"string"}},"required":["id","callId","kind","state","participantId","commandId","ending","outcome","digits","priceOre","errorCode","replays","createdAt","startedAt","endedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callMedia.gather.refusal.audio_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.audio_text_too_long":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_text_too_long","type":"string"},"meta":{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["characters","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.capability_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"capability_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.media_capacity_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_capacity_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.media_tasks_full":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_tasks_full","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.participant_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.participant_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.gather.refusal.voice_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"voice_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"commandId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"digits":{"type":["string","null"]},"endedAt":{"type":["string","null"]},"ending":{"anyOf":[{"enum":["finished","stopped"],"type":"string"},{"type":"null"}]},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["play","say","gather","hold_music","dtmf","transcribe","amd"],"type":"string"},"outcome":{"anyOf":[{"enum":["digits","speech","timeout","stopped"],"type":"string"},{"type":"null"}]},"participantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"replays":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"startedAt":{"type":["string","null"]},"state":{"enum":["requested","running","done","failed","uncertain"],"type":"string"}},"required":["id","callId","kind","state","participantId","commandId","ending","outcome","digits","priceOre","errorCode","replays","createdAt","startedAt","endedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callMedia.get.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.get.refusal.media_task_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_task_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.input":{"properties":{"clipId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"loop":{"type":"boolean"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"sound":{"enum":["hold"],"type":"string"}},"type":"object"},"operation.callMedia.play.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"commandId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"digits":{"type":["string","null"]},"endedAt":{"type":["string","null"]},"ending":{"anyOf":[{"enum":["finished","stopped"],"type":"string"},{"type":"null"}]},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["play","say","gather","hold_music","dtmf","transcribe","amd"],"type":"string"},"outcome":{"anyOf":[{"enum":["digits","speech","timeout","stopped"],"type":"string"},{"type":"null"}]},"participantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"replays":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"startedAt":{"type":["string","null"]},"state":{"enum":["requested","running","done","failed","uncertain"],"type":"string"}},"required":["id","callId","kind","state","participantId","commandId","ending","outcome","digits","priceOre","errorCode","replays","createdAt","startedAt","endedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callMedia.play.refusal.audio_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.audio_text_too_long":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_text_too_long","type":"string"},"meta":{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["characters","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.capability_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"capability_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.media_capacity_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_capacity_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.media_tasks_full":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_tasks_full","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.participant_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.participant_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.play.refusal.voice_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"voice_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"text":{"maxLength":80000,"minLength":1,"type":"string"},"voice":{"enum":["no_female","no_male","en_female"],"type":"string"}},"required":["text"],"type":"object"},"operation.callMedia.say.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"commandId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"digits":{"type":["string","null"]},"endedAt":{"type":["string","null"]},"ending":{"anyOf":[{"enum":["finished","stopped"],"type":"string"},{"type":"null"}]},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["play","say","gather","hold_music","dtmf","transcribe","amd"],"type":"string"},"outcome":{"anyOf":[{"enum":["digits","speech","timeout","stopped"],"type":"string"},{"type":"null"}]},"participantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"replays":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"startedAt":{"type":["string","null"]},"state":{"enum":["requested","running","done","failed","uncertain"],"type":"string"}},"required":["id","callId","kind","state","participantId","commandId","ending","outcome","digits","priceOre","errorCode","replays","createdAt","startedAt","endedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callMedia.say.refusal.audio_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.audio_text_too_long":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_text_too_long","type":"string"},"meta":{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["characters","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.capability_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"capability_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.media_capacity_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_capacity_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.media_tasks_full":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_tasks_full","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.participant_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.participant_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.say.refusal.voice_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"voice_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.stop.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"taskId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.callMedia.stop.output":{"properties":{"data":{"additionalProperties":false,"properties":{"commandId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"tasks":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["commandId","tasks"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callMedia.stop.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.stop.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.stop.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.stop.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.stop.refusal.media_task_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_task_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.stop.refusal.media_task_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_task_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.stop.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.stop.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.stop.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callMedia.stop.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.cancel.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.callOffers.cancel.output":{"properties":{"data":{"additionalProperties":false,"properties":{"acceptedBy":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}]},"acceptedParticipantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"createdAt":{"type":"string"},"expiresAt":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"memberIds":{"items":{"maxLength":128,"minLength":1,"type":"string"},"type":"array"},"phones":{"items":{"type":"string"},"type":"array"},"ringSeconds":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"skippedMemberIds":{"items":{"maxLength":128,"minLength":1,"type":"string"},"type":"array"},"state":{"enum":["open","accepted","cancelled","expired"],"type":"string"}},"required":["id","callId","state","memberIds","skippedMemberIds","phones","ringSeconds","expiresAt","acceptedBy","acceptedParticipantId","createdAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callOffers.cancel.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.cancel.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.cancel.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.cancel.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.cancel.refusal.offer_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"offer_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.cancel.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.cancel.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.cancel.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"memberIds":{"items":{"maxLength":128,"minLength":1,"type":"string"},"maxItems":20,"type":"array"},"phones":{"items":{"maxLength":32,"minLength":1,"type":"string"},"maxItems":20,"type":"array"},"ringSeconds":{"maximum":120,"minimum":5,"type":"integer"}},"type":"object"},"operation.callOffers.create.output":{"properties":{"data":{"additionalProperties":false,"properties":{"acceptedBy":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}]},"acceptedParticipantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"createdAt":{"type":"string"},"expiresAt":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"memberIds":{"items":{"maxLength":128,"minLength":1,"type":"string"},"type":"array"},"phones":{"items":{"type":"string"},"type":"array"},"ringSeconds":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"skippedMemberIds":{"items":{"maxLength":128,"minLength":1,"type":"string"},"type":"array"},"state":{"enum":["open","accepted","cancelled","expired"],"type":"string"}},"required":["id","callId","state","memberIds","skippedMemberIds","phones","ringSeconds","expiresAt","acceptedBy","acceptedParticipantId","createdAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callOffers.create.refusal.call_already_routed":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_already_routed","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.call_participants_full":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_participants_full","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.destination_not_allowlisted":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"destination_not_allowlisted","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"limit_reached","type":"string"},"meta":{"additionalProperties":false,"properties":{"kind":{"enum":["outbound_leg","call_minutes","sms"],"type":"string"},"limit":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["kind","limit"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.number_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"number_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.offer_active":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"offer_active","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.offer_member_unknown":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"offer_member_unknown","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.offer_targets_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"offer_targets_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.outbound_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"outbound_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.recipient_blocked":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_blocked","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.recipient_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.create.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"acceptedBy":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}]},"acceptedParticipantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"createdAt":{"type":"string"},"expiresAt":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"memberIds":{"items":{"maxLength":128,"minLength":1,"type":"string"},"type":"array"},"phones":{"items":{"type":"string"},"type":"array"},"ringSeconds":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"skippedMemberIds":{"items":{"maxLength":128,"minLength":1,"type":"string"},"type":"array"},"state":{"enum":["open","accepted","cancelled","expired"],"type":"string"}},"required":["id","callId","state","memberIds","skippedMemberIds","phones","ringSeconds","expiresAt","acceptedBy","acceptedParticipantId","createdAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callOffers.get.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.get.refusal.offer_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"offer_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callOffers.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"participant":{"oneOf":[{"properties":{"displayName":{"maxLength":100,"minLength":1,"type":"string"},"kind":{"const":"phone","type":"string"},"to":{"maxLength":32,"minLength":1,"type":"string"}},"required":["kind","to"],"type":"object"},{"properties":{"displayName":{"maxLength":100,"minLength":1,"type":"string"},"externalRef":{"maxLength":200,"minLength":1,"type":"string"},"kind":{"const":"app","type":"string"}},"required":["kind"],"type":"object"},{"properties":{"agentId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"const":"agent","type":"string"}},"required":["kind","agentId"],"type":"object"},{"properties":{"displayName":{"maxLength":100,"minLength":1,"type":"string"},"externalRef":{"maxLength":200,"minLength":1,"type":"string"},"kind":{"const":"bot","type":"string"},"maxMinutes":{"maximum":120,"minimum":1,"type":"integer"}},"required":["kind"],"type":"object"}]}},"required":["participant"],"type":"object"},"operation.callParticipants.add.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audioMode":{"enum":["talk","listen","whisper"],"type":"string"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"connection":{"anyOf":[{"additionalProperties":false,"properties":{"token":{"type":"string"},"url":{"type":"string"}},"required":["url","token"],"type":"object"},{"type":"null"}]},"currentCallId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"displayName":{"type":["string","null"]},"endReason":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"joinedAt":{"type":["string","null"]},"kind":{"enum":["phone","app","member","agent","worker","stream","bot"],"type":"string"},"leftAt":{"type":["string","null"]},"muted":{"type":"boolean"},"phone":{"type":["string","null"]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"role":{"enum":["primary","leg","member","supervisor"],"type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"state":{"enum":["invited","ringing","joined","held","moving","left","failed"],"type":"string"}},"required":["id","callId","currentCallId","kind","role","state","audioMode","muted","phone","externalRef","displayName","joinedAt","leftAt","seconds","billedMinutes","priceOre","endReason","connection"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callParticipants.add.refusal.agent_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"agent_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.call_participants_full":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_participants_full","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.capability_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"capability_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.destination_not_allowlisted":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"destination_not_allowlisted","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"limit_reached","type":"string"},"meta":{"additionalProperties":false,"properties":{"kind":{"enum":["outbound_leg","call_minutes","sms"],"type":"string"},"limit":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["kind","limit"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.media_capacity_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_capacity_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.number_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"number_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.outbound_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"outbound_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.recipient_blocked":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_blocked","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.recipient_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.add.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"participants":{"items":{"additionalProperties":false,"properties":{"audioMode":{"enum":["talk","listen","whisper"],"type":"string"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"connection":{"anyOf":[{"additionalProperties":false,"properties":{"token":{"type":"string"},"url":{"type":"string"}},"required":["url","token"],"type":"object"},{"type":"null"}]},"currentCallId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"displayName":{"type":["string","null"]},"endReason":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"joinedAt":{"type":["string","null"]},"kind":{"enum":["phone","app","member","agent","worker","stream","bot"],"type":"string"},"leftAt":{"type":["string","null"]},"muted":{"type":"boolean"},"phone":{"type":["string","null"]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"role":{"enum":["primary","leg","member","supervisor"],"type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"state":{"enum":["invited","ringing","joined","held","moving","left","failed"],"type":"string"}},"required":["id","callId","currentCallId","kind","role","state","audioMode","muted","phone","externalRef","displayName","joinedAt","leftAt","seconds","billedMinutes","priceOre","endReason","connection"],"type":"object"},"type":"array"}},"required":["participants"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callParticipants.list.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.remove.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.callParticipants.remove.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audioMode":{"enum":["talk","listen","whisper"],"type":"string"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"connection":{"anyOf":[{"additionalProperties":false,"properties":{"token":{"type":"string"},"url":{"type":"string"}},"required":["url","token"],"type":"object"},{"type":"null"}]},"currentCallId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"displayName":{"type":["string","null"]},"endReason":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"joinedAt":{"type":["string","null"]},"kind":{"enum":["phone","app","member","agent","worker","stream","bot"],"type":"string"},"leftAt":{"type":["string","null"]},"muted":{"type":"boolean"},"phone":{"type":["string","null"]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"role":{"enum":["primary","leg","member","supervisor"],"type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"state":{"enum":["invited","ringing","joined","held","moving","left","failed"],"type":"string"}},"required":["id","callId","currentCallId","kind","role","state","audioMode","muted","phone","externalRef","displayName","joinedAt","leftAt","seconds","billedMinutes","priceOre","endReason","connection"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callParticipants.remove.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.remove.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.remove.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.remove.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.remove.refusal.participant_is_call":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_is_call","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.remove.refusal.participant_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.remove.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.remove.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.remove.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.token.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.callParticipants.token.output":{"properties":{"data":{"additionalProperties":false,"properties":{"connection":{"anyOf":[{"additionalProperties":false,"properties":{"token":{"type":"string"},"url":{"type":"string"}},"required":["url","token"],"type":"object"},{"type":"null"}]}},"required":["connection"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callParticipants.token.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.token.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.token.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.token.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.token.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.token.refusal.participant_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.token.refusal.participant_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.token.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.token.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.token.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.token.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.update.input":{"properties":{"audioMode":{"enum":["talk","listen","whisper"],"type":"string"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"held":{"type":"boolean"},"muted":{"type":"boolean"},"whisperTo":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.callParticipants.update.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audioMode":{"enum":["talk","listen","whisper"],"type":"string"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"connection":{"anyOf":[{"additionalProperties":false,"properties":{"token":{"type":"string"},"url":{"type":"string"}},"required":["url","token"],"type":"object"},{"type":"null"}]},"currentCallId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"displayName":{"type":["string","null"]},"endReason":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"joinedAt":{"type":["string","null"]},"kind":{"enum":["phone","app","member","agent","worker","stream","bot"],"type":"string"},"leftAt":{"type":["string","null"]},"muted":{"type":"boolean"},"phone":{"type":["string","null"]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"role":{"enum":["primary","leg","member","supervisor"],"type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"state":{"enum":["invited","ringing","joined","held","moving","left","failed"],"type":"string"}},"required":["id","callId","currentCallId","kind","role","state","audioMode","muted","phone","externalRef","displayName","joinedAt","leftAt","seconds","billedMinutes","priceOre","endReason","connection"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callParticipants.update.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.update.refusal.capability_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"capability_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.update.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.update.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.update.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.update.refusal.participant_not_connected":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_connected","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.update.refusal.participant_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.update.refusal.participant_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.update.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.update.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callParticipants.update.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"transcription":{"type":"boolean"}},"type":"object"},"operation.callRecording.start.output":{"properties":{"data":{"additionalProperties":false,"properties":{"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"startedAt":{"type":"string"},"state":{"enum":["recording","stopping","stored","failed"],"type":"string"},"stopRequestedAt":{"type":["string","null"]},"storedAt":{"type":["string","null"]},"testMode":{"type":"boolean"}},"required":["id","callId","profileId","state","seconds","billedMinutes","priceOre","errorCode","testMode","startedAt","stopRequestedAt","storedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callRecording.start.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.capability_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"capability_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"limit_reached","type":"string"},"meta":{"additionalProperties":false,"properties":{"kind":{"enum":["outbound_leg","call_minutes","sms"],"type":"string"},"limit":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["kind","limit"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.outbound_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"outbound_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.recording_active":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recording_active","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.start.refusal.transcription_taken":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_taken","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.stop.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.callRecording.stop.output":{"properties":{"data":{"additionalProperties":false,"properties":{"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"startedAt":{"type":"string"},"state":{"enum":["recording","stopping","stored","failed"],"type":"string"},"stopRequestedAt":{"type":["string","null"]},"storedAt":{"type":["string","null"]},"testMode":{"type":"boolean"}},"required":["id","callId","profileId","state","seconds","billedMinutes","priceOre","errorCode","testMode","startedAt","stopRequestedAt","storedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callRecording.stop.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.stop.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.stop.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.stop.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.stop.refusal.recording_not_active":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recording_not_active","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.stop.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.stop.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callRecording.stop.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audio":{"enum":["talk","listen"],"type":"string"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"createdAt":{"type":"string"},"endReason":{"type":["string","null"]},"endedAt":{"type":["string","null"]},"endpointId":{"type":"string"},"framesDropped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"framesIn":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"framesOut":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"fundedMinutes":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"listen":{"additionalProperties":false,"properties":{"mode":{"enum":["single","mixed"],"type":"string"},"participantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["mode","participantId"],"type":"object"},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"reconnect":{"type":"boolean"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"startedAt":{"type":["string","null"]},"state":{"enum":["requested","connecting","streaming","ended","failed"],"type":"string"},"testMode":{"type":"boolean"},"unitPriceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","callId","endpointId","audio","listen","state","endReason","reconnect","framesOut","framesDropped","framesIn","fundedMinutes","unitPriceOre","seconds","billedMinutes","priceOre","testMode","createdAt","startedAt","endedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callStreams.get.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.get.refusal.stream_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"stream_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"streams":{"items":{"additionalProperties":false,"properties":{"audio":{"enum":["talk","listen"],"type":"string"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"createdAt":{"type":"string"},"endReason":{"type":["string","null"]},"endedAt":{"type":["string","null"]},"endpointId":{"type":"string"},"framesDropped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"framesIn":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"framesOut":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"fundedMinutes":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"listen":{"additionalProperties":false,"properties":{"mode":{"enum":["single","mixed"],"type":"string"},"participantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["mode","participantId"],"type":"object"},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"reconnect":{"type":"boolean"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"startedAt":{"type":["string","null"]},"state":{"enum":["requested","connecting","streaming","ended","failed"],"type":"string"},"testMode":{"type":"boolean"},"unitPriceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","callId","endpointId","audio","listen","state","endReason","reconnect","framesOut","framesDropped","framesIn","fundedMinutes","unitPriceOre","seconds","billedMinutes","priceOre","testMode","createdAt","startedAt","endedAt"],"type":"object"},"type":"array"}},"required":["streams"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callStreams.list.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.input":{"properties":{"audio":{"enum":["talk","listen"],"type":"string"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"customParameters":{"additionalProperties":{"maxLength":499,"type":"string"},"propertyNames":{"maxLength":499,"minLength":1,"type":"string"},"type":"object"},"endpointId":{"maxLength":200,"minLength":1,"type":"string"},"listen":{"anyOf":[{"properties":{"mode":{"const":"single","type":"string"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["mode"],"type":"object"},{"properties":{"mode":{"const":"mixed","type":"string"}},"required":["mode"],"type":"object"}]},"maxMinutes":{"maximum":120,"minimum":1,"type":"integer"},"reconnect":{"type":"boolean"}},"required":["endpointId"],"type":"object"},"operation.callStreams.start.output":{"properties":{"data":{"additionalProperties":false,"properties":{"commandId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"stream":{"additionalProperties":false,"properties":{"audio":{"enum":["talk","listen"],"type":"string"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"createdAt":{"type":"string"},"endReason":{"type":["string","null"]},"endedAt":{"type":["string","null"]},"endpointId":{"type":"string"},"framesDropped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"framesIn":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"framesOut":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"fundedMinutes":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"listen":{"additionalProperties":false,"properties":{"mode":{"enum":["single","mixed"],"type":"string"},"participantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["mode","participantId"],"type":"object"},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"reconnect":{"type":"boolean"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"startedAt":{"type":["string","null"]},"state":{"enum":["requested","connecting","streaming","ended","failed"],"type":"string"},"testMode":{"type":"boolean"},"unitPriceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","callId","endpointId","audio","listen","state","endReason","reconnect","framesOut","framesDropped","framesIn","fundedMinutes","unitPriceOre","seconds","billedMinutes","priceOre","testMode","createdAt","startedAt","endedAt"],"type":"object"}},"required":["stream","commandId"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callStreams.start.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.call_participants_full":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_participants_full","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.capability_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"capability_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"limit_reached","type":"string"},"meta":{"additionalProperties":false,"properties":{"kind":{"enum":["outbound_leg","call_minutes","sms"],"type":"string"},"limit":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["kind","limit"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.media_capacity_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"media_capacity_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.outbound_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"outbound_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.participant_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"participant_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.stream_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"stream_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.start.refusal.webhook_endpoint_not_registered":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_registered","type":"string"},"meta":{"additionalProperties":false,"properties":{"endpointId":{"type":"string"}},"required":["endpointId"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.stop.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.callStreams.stop.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audio":{"enum":["talk","listen"],"type":"string"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"createdAt":{"type":"string"},"endReason":{"type":["string","null"]},"endedAt":{"type":["string","null"]},"endpointId":{"type":"string"},"framesDropped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"framesIn":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"framesOut":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"fundedMinutes":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"listen":{"additionalProperties":false,"properties":{"mode":{"enum":["single","mixed"],"type":"string"},"participantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["mode","participantId"],"type":"object"},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"reconnect":{"type":"boolean"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"startedAt":{"type":["string","null"]},"state":{"enum":["requested","connecting","streaming","ended","failed"],"type":"string"},"testMode":{"type":"boolean"},"unitPriceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","callId","endpointId","audio","listen","state","endReason","reconnect","framesOut","framesDropped","framesIn","fundedMinutes","unitPriceOre","seconds","billedMinutes","priceOre","testMode","createdAt","startedAt","endedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callStreams.stop.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.stop.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.stop.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.stop.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.stop.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.stop.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.stop.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.stop.refusal.stream_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"stream_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callStreams.stop.refusal.stream_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"stream_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"completedAt":{"type":["string","null"]},"createdAt":{"type":"string"},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"enum":["no","en"],"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"state":{"enum":["waiting","dispatched","done","failed","uncertain"],"type":"string"},"subjectId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"subjectKind":{"enum":["call","transcription_job"],"type":"string"},"text":{"type":["string","null"]}},"required":["id","subjectKind","subjectId","state","language","text","priceOre","errorCode","createdAt","completedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callSummaries.get.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.get.refusal.summary_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"summary_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.request.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"enum":["no","en"],"type":"string"}},"type":"object"},"operation.callSummaries.request.output":{"properties":{"data":{"additionalProperties":false,"properties":{"completedAt":{"type":["string","null"]},"createdAt":{"type":"string"},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"enum":["no","en"],"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"state":{"enum":["waiting","dispatched","done","failed","uncertain"],"type":"string"},"subjectId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"subjectKind":{"enum":["call","transcription_job"],"type":"string"},"text":{"type":["string","null"]}},"required":["id","subjectKind","subjectId","state","language","text","priceOre","errorCode","createdAt","completedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.callSummaries.request.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.request.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.request.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.request.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.request.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.request.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.request.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.request.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.request.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.request.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.callSummaries.request.refusal.summary_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"summary_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"answeredAt":{"type":["string","null"]},"audioClipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"createdAt":{"type":"string"},"direction":{"enum":["outbound","inbound"],"type":"string"},"endReason":{"anyOf":[{"enum":["hangup","busy","no_answer","rejected","limit_reached","media_failed","speech_failed","cancelled","unfunded"],"type":"string"},{"type":"null"}]},"endedAt":{"type":["string","null"]},"errorDesc":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"from":{"type":"string"},"fundedMinutes":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["automatic","browser","inbound","conference","app"],"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"origin":{"anyOf":[{"enum":["api","dashboard"],"type":"string"},{"type":"null"}]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recording":{"type":"boolean"},"repeat":{"type":"boolean"},"reservedMinutes":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"state":{"enum":["preparing","queued","dialing","uncertain","ringing","answered","ended","unanswered","failed","cancelled"],"type":"string"},"testMode":{"type":"boolean"},"text":{"type":["string","null"]},"to":{"type":"string"},"transcription":{"type":"boolean"},"ttsPriceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"unitPriceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","profileId","direction","kind","origin","state","from","to","recording","transcription","repeat","text","audioClipId","fundedMinutes","unitPriceOre","seconds","billedMinutes","priceOre","ttsPriceOre","endReason","errorDesc","testMode","createdAt","answeredAt","endedAt","reservedMinutes","externalRef","metadata"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.calls.get.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.hangup.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.calls.hangup.output":{"properties":{"data":{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["preparing","queued","dialing","uncertain","ringing","answered","ended","unanswered","failed","cancelled"],"type":"string"}},"required":["id","state"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.calls.hangup.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.hangup.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.hangup.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.hangup.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.hangup.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.hangup.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.hangup.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"calls":{"items":{"additionalProperties":false,"properties":{"answeredAt":{"type":["string","null"]},"audioClipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"createdAt":{"type":"string"},"direction":{"enum":["outbound","inbound"],"type":"string"},"endReason":{"anyOf":[{"enum":["hangup","busy","no_answer","rejected","limit_reached","media_failed","speech_failed","cancelled","unfunded"],"type":"string"},{"type":"null"}]},"endedAt":{"type":["string","null"]},"errorDesc":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"from":{"type":"string"},"fundedMinutes":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["automatic","browser","inbound","conference","app"],"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"origin":{"anyOf":[{"enum":["api","dashboard"],"type":"string"},{"type":"null"}]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recording":{"type":"boolean"},"repeat":{"type":"boolean"},"reservedMinutes":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"state":{"enum":["preparing","queued","dialing","uncertain","ringing","answered","ended","unanswered","failed","cancelled"],"type":"string"},"testMode":{"type":"boolean"},"text":{"type":["string","null"]},"to":{"type":"string"},"transcription":{"type":"boolean"},"ttsPriceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"unitPriceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","profileId","direction","kind","origin","state","from","to","recording","transcription","repeat","text","audioClipId","fundedMinutes","unitPriceOre","seconds","billedMinutes","priceOre","ttsPriceOre","endReason","errorDesc","testMode","createdAt","answeredAt","endedAt","reservedMinutes","externalRef","metadata"],"type":"object"},"type":"array"},"counts":{"additionalProperties":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"propertyNames":{"enum":["all","answered","missed","failed"],"type":"string"},"required":["all","answered","missed","failed"],"type":"object"},"nextCursor":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["calls","counts","nextCursor"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.calls.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.input":{"properties":{"amd":{"properties":{"clipId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["detect","hangup_on_machine","voicemail_drop"],"type":"string"},"text":{"maxLength":80000,"minLength":1,"type":"string"},"voice":{"enum":["no_female","no_male","en_female"],"type":"string"}},"required":["mode"],"type":"object"},"audioClipId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"conference":{"type":"boolean"},"externalRef":{"maxLength":200,"minLength":1,"type":"string"},"from":{"maxLength":32,"minLength":1,"type":"string"},"liveTranscription":{"enum":["off","caller","all"],"type":"string"},"maxMinutes":{"maximum":240,"minimum":1,"type":"integer"},"metadata":{"additionalProperties":{"maxLength":200,"type":"string"},"propertyNames":{"maxLength":200,"minLength":1,"type":"string"},"type":"object"},"participants":{"items":{"properties":{"displayName":{"maxLength":100,"minLength":1,"type":"string"},"externalRef":{"maxLength":200,"minLength":1,"type":"string"},"kind":{"const":"app","type":"string"}},"required":["kind"],"type":"object"},"maxItems":20,"type":"array"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recording":{"type":"boolean"},"repeat":{"type":"boolean"},"stream":{"properties":{"audio":{"enum":["talk","listen"],"type":"string"},"customParameters":{"additionalProperties":{"maxLength":499,"type":"string"},"propertyNames":{"maxLength":499,"minLength":1,"type":"string"},"type":"object"},"endpointId":{"maxLength":200,"minLength":1,"type":"string"},"listen":{"anyOf":[{"properties":{"mode":{"const":"single","type":"string"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["mode"],"type":"object"},{"properties":{"mode":{"const":"mixed","type":"string"}},"required":["mode"],"type":"object"}]},"maxMinutes":{"maximum":120,"minimum":1,"type":"integer"},"reconnect":{"type":"boolean"}},"required":["endpointId"],"type":"object"},"summary":{"type":"boolean"},"text":{"maxLength":80000,"minLength":1,"type":"string"},"to":{"maxLength":32,"minLength":1,"type":"string"},"transcription":{"type":"boolean"},"voice":{"enum":["no_female","no_male","en_female"],"type":"string"}},"required":["profileId"],"type":"object"},"operation.calls.startAutomatic.output":{"properties":{"data":{"additionalProperties":false,"properties":{"answeredAt":{"type":["string","null"]},"audioClipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"createdAt":{"type":"string"},"direction":{"enum":["outbound","inbound"],"type":"string"},"endReason":{"anyOf":[{"enum":["hangup","busy","no_answer","rejected","limit_reached","media_failed","speech_failed","cancelled","unfunded"],"type":"string"},{"type":"null"}]},"endedAt":{"type":["string","null"]},"errorDesc":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"from":{"type":"string"},"fundedMinutes":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["automatic","browser","inbound","conference","app"],"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"origin":{"anyOf":[{"enum":["api","dashboard"],"type":"string"},{"type":"null"}]},"participants":{"items":{"additionalProperties":false,"properties":{"audioMode":{"enum":["talk","listen","whisper"],"type":"string"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"connection":{"anyOf":[{"additionalProperties":false,"properties":{"token":{"type":"string"},"url":{"type":"string"}},"required":["url","token"],"type":"object"},{"type":"null"}]},"currentCallId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"displayName":{"type":["string","null"]},"endReason":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"joinedAt":{"type":["string","null"]},"kind":{"enum":["phone","app","member","agent","worker","stream","bot"],"type":"string"},"leftAt":{"type":["string","null"]},"muted":{"type":"boolean"},"phone":{"type":["string","null"]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"role":{"enum":["primary","leg","member","supervisor"],"type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"state":{"enum":["invited","ringing","joined","held","moving","left","failed"],"type":"string"}},"required":["id","callId","currentCallId","kind","role","state","audioMode","muted","phone","externalRef","displayName","joinedAt","leftAt","seconds","billedMinutes","priceOre","endReason","connection"],"type":"object"},"type":"array"},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recording":{"type":"boolean"},"repeat":{"type":"boolean"},"reservedMinutes":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"state":{"enum":["preparing","queued","dialing","uncertain","ringing","answered","ended","unanswered","failed","cancelled"],"type":"string"},"testMode":{"type":"boolean"},"text":{"type":["string","null"]},"to":{"type":"string"},"transcription":{"type":"boolean"},"ttsPriceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"unitPriceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","profileId","direction","kind","origin","state","from","to","recording","transcription","repeat","text","audioClipId","fundedMinutes","unitPriceOre","seconds","billedMinutes","priceOre","ttsPriceOre","endReason","errorDesc","testMode","createdAt","answeredAt","endedAt","reservedMinutes","externalRef","metadata","participants"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.calls.startAutomatic.refusal.audio_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.audio_text_too_long":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_text_too_long","type":"string"},"meta":{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["characters","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.call_content_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_content_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.call_participants_full":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_participants_full","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.capability_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"capability_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.destination_not_allowlisted":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"destination_not_allowlisted","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"limit_reached","type":"string"},"meta":{"additionalProperties":false,"properties":{"kind":{"enum":["outbound_leg","call_minutes","sms"],"type":"string"},"limit":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["kind","limit"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.number_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"number_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.outbound_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"outbound_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.recipient_blocked":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_blocked","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.recipient_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.service_off":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_off","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.stream_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"stream_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.summary_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"summary_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.verification_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"verification_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.voice_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"voice_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.startAutomatic.refusal.webhook_endpoint_not_registered":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_registered","type":"string"},"meta":{"additionalProperties":false,"properties":{"endpointId":{"type":"string"}},"required":["endpointId"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.update.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"externalRef":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}]},"metadata":{"additionalProperties":{"maxLength":200,"type":"string"},"propertyNames":{"maxLength":200,"minLength":1,"type":"string"},"type":"object"}},"type":"object"},"operation.calls.update.output":{"properties":{"data":{"additionalProperties":false,"properties":{"answeredAt":{"type":["string","null"]},"audioClipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"createdAt":{"type":"string"},"direction":{"enum":["outbound","inbound"],"type":"string"},"endReason":{"anyOf":[{"enum":["hangup","busy","no_answer","rejected","limit_reached","media_failed","speech_failed","cancelled","unfunded"],"type":"string"},{"type":"null"}]},"endedAt":{"type":["string","null"]},"errorDesc":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"from":{"type":"string"},"fundedMinutes":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["automatic","browser","inbound","conference","app"],"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"origin":{"anyOf":[{"enum":["api","dashboard"],"type":"string"},{"type":"null"}]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recording":{"type":"boolean"},"repeat":{"type":"boolean"},"reservedMinutes":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"state":{"enum":["preparing","queued","dialing","uncertain","ringing","answered","ended","unanswered","failed","cancelled"],"type":"string"},"testMode":{"type":"boolean"},"text":{"type":["string","null"]},"to":{"type":"string"},"transcription":{"type":"boolean"},"ttsPriceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"unitPriceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","profileId","direction","kind","origin","state","from","to","recording","transcription","repeat","text","audioClipId","fundedMinutes","unitPriceOre","seconds","billedMinutes","priceOre","ttsPriceOre","endReason","errorDesc","testMode","createdAt","answeredAt","endedAt","reservedMinutes","externalRef","metadata"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.calls.update.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.update.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.update.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.update.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.update.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.update.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.calls.update.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.cancel.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.campaigns.cancel.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audience":{"type":["string","null"]},"budgetMonth":{"type":["string","null"]},"channel":{"enum":["email","sms"],"type":"string"},"createdAt":{"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":"string"},"delivered":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"dispatched":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"endedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"failed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"fits":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"groupId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recipients":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"anyOf":[{"enum":["balance","sms_limit","profile_budget","account_paused","sms_off","sender","email_off"],"type":"string"},{"type":"null"}]},"released":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"scheduledAt":{"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":"string"},"sent":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"startedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"state":{"enum":["scheduled","sending","done","cancelled","refused"],"type":"string"},"templateId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"text":{"type":"string"},"units":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","profileId","mode","channel","name","text","templateId","groupId","audience","state","recipients","skipped","dispatched","sent","delivered","failed","released","priceOre","units","scheduledAt","startedAt","endedAt","budgetMonth","refusal","fits","createdAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.campaigns.cancel.refusal.campaign_not_cancellable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_not_cancellable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.cancel.refusal.campaign_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.cancel.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.cancel.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.cancel.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.cancel.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.cancel.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.cancel.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"groupId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recipients":{"items":{"properties":{"phone":{"maxLength":32,"minLength":1,"type":"string"},"variables":{"additionalProperties":{"maxLength":2000,"type":"string"},"propertyNames":{"maxLength":100,"minLength":1,"type":"string"},"type":"object"}},"required":["phone"],"type":"object"},"maxItems":100000,"minItems":1,"type":"array"},"scheduledAt":{"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":"string"},"sender":{"oneOf":[{"properties":{"kind":{"const":"reply_number","type":"string"}},"required":["kind"],"type":"object"},{"properties":{"kind":{"const":"text","type":"string"},"name":{"maxLength":64,"minLength":1,"type":"string"}},"required":["kind","name"],"type":"object"},{"properties":{"kind":{"const":"dedicated","type":"string"}},"required":["kind"],"type":"object"}]},"templateId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"text":{"maxLength":2142,"minLength":1,"type":"string"}},"required":["name"],"type":"object"},"operation.campaigns.create.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audience":{"type":["string","null"]},"budgetMonth":{"type":["string","null"]},"channel":{"enum":["email","sms"],"type":"string"},"createdAt":{"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":"string"},"delivered":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"dispatched":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"endedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"failed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"fits":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"groupId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recipients":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"anyOf":[{"enum":["balance","sms_limit","profile_budget","account_paused","sms_off","sender","email_off"],"type":"string"},{"type":"null"}]},"released":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"scheduledAt":{"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":"string"},"sent":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"startedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"state":{"enum":["scheduled","sending","done","cancelled","refused"],"type":"string"},"templateId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"text":{"type":"string"},"units":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","profileId","mode","channel","name","text","templateId","groupId","audience","state","recipients","skipped","dispatched","sent","delivered","failed","released","priceOre","units","scheduledAt","startedAt","endedAt","budgetMonth","refusal","fits","createdAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.campaigns.create.refusal.campaign_group_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_group_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.campaign_recipients_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_recipients_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.campaign_too_many_recipients":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_too_many_recipients","type":"string"},"meta":{"additionalProperties":false,"properties":{"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"recipients":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["recipients","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.campaign_unfunded":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_unfunded","type":"string"},"meta":{"additionalProperties":false,"properties":{"fits":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"reason":{"enum":["balance","sms_limit","profile_budget","account_paused","sms_off","sender","email_off"],"type":"string"},"recipients":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["reason","fits","recipients"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.campaign_variable_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_variable_missing","type":"string"},"meta":{"additionalProperties":false,"properties":{"name":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["name","position"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.schedule_in_past":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"schedule_in_past","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.sender_not_approved":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sender_not_approved","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.service_off":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_off","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.sms_content_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sms_content_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.sms_too_long":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sms_too_long","type":"string"},"meta":{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["characters","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.template_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.create.refusal.template_wrong_service":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_wrong_service","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audience":{"type":["string","null"]},"budgetMonth":{"type":["string","null"]},"channel":{"enum":["email","sms"],"type":"string"},"createdAt":{"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":"string"},"delivered":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"dispatched":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"endedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"failed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"fits":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"groupId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recipients":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"anyOf":[{"enum":["balance","sms_limit","profile_budget","account_paused","sms_off","sender","email_off"],"type":"string"},{"type":"null"}]},"released":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"scheduledAt":{"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":"string"},"sent":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"startedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"state":{"enum":["scheduled","sending","done","cancelled","refused"],"type":"string"},"templateId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"text":{"type":"string"},"units":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","profileId","mode","channel","name","text","templateId","groupId","audience","state","recipients","skipped","dispatched","sent","delivered","failed","released","priceOre","units","scheduledAt","startedAt","endedAt","budgetMonth","refusal","fits","createdAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.campaigns.get.refusal.campaign_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"campaigns":{"items":{"additionalProperties":false,"properties":{"audience":{"type":["string","null"]},"budgetMonth":{"type":["string","null"]},"channel":{"enum":["email","sms"],"type":"string"},"createdAt":{"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":"string"},"delivered":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"dispatched":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"endedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"failed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"fits":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"groupId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recipients":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"anyOf":[{"enum":["balance","sms_limit","profile_budget","account_paused","sms_off","sender","email_off"],"type":"string"},{"type":"null"}]},"released":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"scheduledAt":{"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":"string"},"sent":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"startedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"state":{"enum":["scheduled","sending","done","cancelled","refused"],"type":"string"},"templateId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"text":{"type":"string"},"units":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","profileId","mode","channel","name","text","templateId","groupId","audience","state","recipients","skipped","dispatched","sent","delivered","failed","released","priceOre","units","scheduledAt","startedAt","endedAt","budgetMonth","refusal","fits","createdAt"],"type":"object"},"type":"array"},"nextCursor":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["campaigns","nextCursor"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.campaigns.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.list.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"groupId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recipients":{"items":{"properties":{"phone":{"maxLength":32,"minLength":1,"type":"string"},"variables":{"additionalProperties":{"maxLength":2000,"type":"string"},"propertyNames":{"maxLength":100,"minLength":1,"type":"string"},"type":"object"}},"required":["phone"],"type":"object"},"maxItems":100000,"minItems":1,"type":"array"},"sender":{"oneOf":[{"properties":{"kind":{"const":"reply_number","type":"string"}},"required":["kind"],"type":"object"},{"properties":{"kind":{"const":"text","type":"string"},"name":{"maxLength":64,"minLength":1,"type":"string"}},"required":["kind","name"],"type":"object"},{"properties":{"kind":{"const":"dedicated","type":"string"}},"required":["kind"],"type":"object"}]},"templateId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"text":{"maxLength":2142,"minLength":1,"type":"string"}},"type":"object"},"operation.campaigns.quote.output":{"properties":{"data":{"additionalProperties":false,"properties":{"availableOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"budgetLeftOre":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"fits":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"messages":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"optedOut":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"recipients":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"short":{"anyOf":[{"enum":["balance","sms_limit","profile_budget","account_paused","sms_off","sender","email_off"],"type":"string"},{"type":"null"}]},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"smsLeftToday":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"smsPerDay":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"test":{"type":"boolean"},"units":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["recipients","skipped","optedOut","messages","units","priceOre","availableOre","smsLeftToday","smsPerDay","budgetLeftOre","fits","short","test"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.campaigns.quote.refusal.campaign_group_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_group_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.campaign_recipients_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_recipients_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.campaign_too_many_recipients":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_too_many_recipients","type":"string"},"meta":{"additionalProperties":false,"properties":{"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"recipients":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["recipients","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.campaign_variable_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_variable_missing","type":"string"},"meta":{"additionalProperties":false,"properties":{"name":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["name","position"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.sender_not_approved":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sender_not_approved","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.service_off":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_off","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.sms_content_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sms_content_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.sms_too_long":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sms_too_long","type":"string"},"meta":{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["characters","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.template_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.campaigns.quote.refusal.template_wrong_service":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_wrong_service","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.addMembers.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"contactIds":{"items":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"maxItems":1000,"minItems":1,"type":"array"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["profileId","contactIds"],"type":"object"},"operation.contactGroups.addMembers.output":{"properties":{"data":{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"members":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"name":{"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"updatedAt":{"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":"string"}},"required":["id","profileId","name","members","updatedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.contactGroups.addMembers.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.addMembers.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.addMembers.refusal.contact_group_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_group_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.addMembers.refusal.contact_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.addMembers.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.addMembers.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.addMembers.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.addMembers.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.addMembers.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.create.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"contactIds":{"items":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"maxItems":1000,"type":"array"},"name":{"maxLength":200,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["profileId","name"],"type":"object"},"operation.contactGroups.create.output":{"properties":{"data":{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"members":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"name":{"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"updatedAt":{"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":"string"}},"required":["id","profileId","name","members","updatedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.contactGroups.create.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.create.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.create.refusal.contact_group_name_taken":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_group_name_taken","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.create.refusal.contact_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.create.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.create.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.create.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.create.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.create.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"groups":{"items":{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"members":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"name":{"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"updatedAt":{"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":"string"}},"required":["id","profileId","name","members","updatedAt"],"type":"object"},"type":"array"}},"required":["groups"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.contactGroups.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.list.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.remove.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["profileId"],"type":"object"},"operation.contactGroups.remove.output":{"properties":{"data":{"additionalProperties":false,"properties":{"groupId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["groupId"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.contactGroups.remove.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.remove.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.remove.refusal.contact_group_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_group_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.remove.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.remove.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.remove.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.remove.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactGroups.remove.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.preview.input":{"properties":{"columns":{"items":{"enum":["name","phone","email","street","postalCode","postalName","country","note","skip"],"type":"string"},"maxItems":50,"type":"array"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"csv":{"maxLength":700000,"minLength":1,"type":"string"},"existing":{"enum":["fill","keep"],"type":"string"},"fileName":{"maxLength":255,"type":"string"},"group":{"maxLength":200,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["profileId","csv","existing"],"type":"object"},"operation.contactImports.preview.output":{"properties":{"data":{"additionalProperties":false,"properties":{"columns":{"items":{"additionalProperties":false,"properties":{"field":{"enum":["name","phone","email","street","postalCode","postalName","country","note","skip"],"type":"string"},"header":{"type":"string"},"samples":{"items":{"type":"string"},"type":"array"}},"required":["header","field","samples"],"type":"object"},"type":"array"},"created":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"groupId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"groupName":{"type":["string","null"]},"importId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"problems":{"items":{"additionalProperties":false,"properties":{"problem":{"enum":["name_missing","phone_invalid","email_invalid","country_invalid","cell_too_long","phone_repeated"],"type":"string"},"row":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},"required":["row","problem"],"type":"object"},"type":"array"},"rows":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"unchanged":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"updated":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["importId","rows","created","updated","unchanged","skipped","problems","columns","groupId","groupName"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.contactImports.preview.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.preview.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.preview.refusal.contact_import_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_import_invalid","type":"string"},"meta":{"additionalProperties":false,"properties":{"line":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"maximum":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"reason":{"enum":["unreadable","no_rows","too_many_rows","name_column_missing","columns_mismatch"],"type":"string"}},"required":["reason","line","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.preview.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.preview.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.preview.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.preview.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.preview.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.run.input":{"properties":{"columns":{"items":{"enum":["name","phone","email","street","postalCode","postalName","country","note","skip"],"type":"string"},"maxItems":50,"type":"array"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"csv":{"maxLength":700000,"minLength":1,"type":"string"},"existing":{"enum":["fill","keep"],"type":"string"},"fileName":{"maxLength":255,"type":"string"},"group":{"maxLength":200,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["profileId","csv","existing"],"type":"object"},"operation.contactImports.run.output":{"properties":{"data":{"additionalProperties":false,"properties":{"columns":{"items":{"additionalProperties":false,"properties":{"field":{"enum":["name","phone","email","street","postalCode","postalName","country","note","skip"],"type":"string"},"header":{"type":"string"},"samples":{"items":{"type":"string"},"type":"array"}},"required":["header","field","samples"],"type":"object"},"type":"array"},"created":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"groupId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"groupName":{"type":["string","null"]},"importId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"problems":{"items":{"additionalProperties":false,"properties":{"problem":{"enum":["name_missing","phone_invalid","email_invalid","country_invalid","cell_too_long","phone_repeated"],"type":"string"},"row":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},"required":["row","problem"],"type":"object"},"type":"array"},"rows":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"unchanged":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"updated":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["importId","rows","created","updated","unchanged","skipped","problems","columns","groupId","groupName"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.contactImports.run.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.run.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.run.refusal.contact_import_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_import_invalid","type":"string"},"meta":{"additionalProperties":false,"properties":{"line":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"maximum":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"reason":{"enum":["unreadable","no_rows","too_many_rows","name_column_missing","columns_mismatch"],"type":"string"}},"required":["reason","line","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.run.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.run.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.run.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.run.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contactImports.run.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.create.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"country":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}]},"email":{"anyOf":[{"format":"email","maxLength":254,"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":"string"},{"type":"null"}]},"name":{"maxLength":200,"minLength":1,"type":"string"},"note":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}]},"phone":{"anyOf":[{"maxLength":32,"type":"string"},{"type":"null"}]},"postalCode":{"anyOf":[{"maxLength":16,"type":"string"},{"type":"null"}]},"postalName":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"street":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}]}},"required":["profileId","name","phone","email","street","postalCode","postalName","country","note"],"type":"object"},"operation.contacts.create.output":{"properties":{"data":{"additionalProperties":false,"properties":{"country":{"type":["string","null"]},"email":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":"string"},"note":{"type":["string","null"]},"phone":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"postalName":{"type":["string","null"]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"street":{"type":["string","null"]},"updatedAt":{"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":"string"}},"required":["id","profileId","name","phone","email","street","postalCode","postalName","country","note","updatedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.contacts.create.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.create.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.create.refusal.contact_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.create.refusal.contact_phone_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_phone_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.create.refusal.contact_phone_taken":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_phone_taken","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.create.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.create.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.create.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.create.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.create.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"country":{"type":["string","null"]},"email":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":"string"},"note":{"type":["string","null"]},"phone":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"postalName":{"type":["string","null"]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"street":{"type":["string","null"]},"updatedAt":{"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":"string"}},"required":["id","profileId","name","phone","email","street","postalCode","postalName","country","note","updatedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.contacts.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.get.refusal.contact_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.get.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"contacts":{"items":{"additionalProperties":false,"properties":{"country":{"type":["string","null"]},"email":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":"string"},"note":{"type":["string","null"]},"phone":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"postalName":{"type":["string","null"]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"street":{"type":["string","null"]},"updatedAt":{"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":"string"}},"required":["id","profileId","name","phone","email","street","postalCode","postalName","country","note","updatedAt"],"type":"object"},"type":"array"},"next":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["contacts","next"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.contacts.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.list.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.remove.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["profileId"],"type":"object"},"operation.contacts.remove.output":{"properties":{"data":{"additionalProperties":false,"properties":{"contactId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["contactId"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.contacts.remove.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.remove.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.remove.refusal.contact_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.remove.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.remove.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.remove.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.remove.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.remove.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.update.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"country":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}]},"email":{"anyOf":[{"format":"email","maxLength":254,"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":"string"},{"type":"null"}]},"name":{"maxLength":200,"minLength":1,"type":"string"},"note":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}]},"phone":{"anyOf":[{"maxLength":32,"type":"string"},{"type":"null"}]},"postalCode":{"anyOf":[{"maxLength":16,"type":"string"},{"type":"null"}]},"postalName":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"street":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}]}},"required":["profileId"],"type":"object"},"operation.contacts.update.output":{"properties":{"data":{"additionalProperties":false,"properties":{"country":{"type":["string","null"]},"email":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":"string"},"note":{"type":["string","null"]},"phone":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"postalName":{"type":["string","null"]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"street":{"type":["string","null"]},"updatedAt":{"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":"string"}},"required":["id","profileId","name","phone","email","street","postalCode","postalName","country","note","updatedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.contacts.update.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.update.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.update.refusal.contact_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.update.refusal.contact_phone_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_phone_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.update.refusal.contact_phone_taken":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"contact_phone_taken","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.update.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.update.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.update.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.update.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.contacts.update.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"charged":{"type":"boolean"},"createdAt":{"type":"string"},"direction":{"enum":["out","in"],"type":"string"},"doneAt":{"type":["string","null"]},"errorDesc":{"type":["string","null"]},"from":{"type":"string"},"fromName":{"type":["string","null"]},"html":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"origin":{"anyOf":[{"enum":["api","dashboard"],"type":"string"},{"type":"null"}]},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"sentAt":{"type":["string","null"]},"state":{"enum":["scheduled","queued","in_flight","uncertain","sent","delivered","bounced","complained","failed","cancelled","held_for_balance","received"],"type":"string"},"subject":{"type":"string"},"testMode":{"type":"boolean"},"text":{"type":"string"},"to":{"items":{"type":"string"},"type":"array"}},"required":["id","profileId","direction","state","from","fromName","to","subject","text","priceOre","charged","errorDesc","testMode","origin","createdAt","sentAt","doneAt","html"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.email.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.get.refusal.email_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"counts":{"additionalProperties":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"propertyNames":{"enum":["all","delivered","sent","bounced","received"],"type":"string"},"required":["all","delivered","sent","bounced","received"],"type":"object"},"messages":{"items":{"additionalProperties":false,"properties":{"charged":{"type":"boolean"},"createdAt":{"type":"string"},"direction":{"enum":["out","in"],"type":"string"},"doneAt":{"type":["string","null"]},"errorDesc":{"type":["string","null"]},"from":{"type":"string"},"fromName":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"origin":{"anyOf":[{"enum":["api","dashboard"],"type":"string"},{"type":"null"}]},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"sentAt":{"type":["string","null"]},"state":{"enum":["scheduled","queued","in_flight","uncertain","sent","delivered","bounced","complained","failed","cancelled","held_for_balance","received"],"type":"string"},"subject":{"type":"string"},"testMode":{"type":"boolean"},"text":{"type":"string"},"to":{"items":{"type":"string"},"type":"array"}},"required":["id","profileId","direction","state","from","fromName","to","subject","text","priceOre","charged","errorDesc","testMode","origin","createdAt","sentAt","doneAt"],"type":"object"},"type":"array"},"nextCursor":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["messages","counts","nextCursor"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.email.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"html":{"maxLength":1000000,"minLength":1,"type":"string"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"senderId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"subject":{"maxLength":998,"minLength":1,"type":"string"},"templateId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"text":{"maxLength":200000,"minLength":1,"type":"string"},"to":{"anyOf":[{"format":"email","maxLength":254,"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":"string"},{"items":{"format":"email","maxLength":254,"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":"string"},"maxItems":50,"minItems":1,"type":"array"}]},"variables":{"additionalProperties":{"maxLength":2000,"type":"string"},"propertyNames":{"maxLength":100,"minLength":1,"type":"string"},"type":"object"}},"required":["to"],"type":"object"},"operation.email.send.output":{"properties":{"data":{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"recipients":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"state":{"enum":["scheduled","queued","in_flight","uncertain","sent","delivered","bounced","complained","failed","cancelled","held_for_balance","received"],"type":"string"},"testMode":{"type":"boolean"}},"required":["id","state","recipients","priceOre","testMode"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.email.send.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.email_content_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_content_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.email_domain_not_verified":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_domain_not_verified","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.email_sender_not_approved":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_sender_not_approved","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.service_off":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_off","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.template_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.template_variable_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_variable_missing","type":"string"},"meta":{"additionalProperties":false,"properties":{"missing":{"items":{"type":"string"},"type":"array"}},"required":["missing"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.email.send.refusal.template_wrong_service":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_wrong_service","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.cancel.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.emailCampaigns.cancel.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audience":{"type":["string","null"]},"budgetMonth":{"type":["string","null"]},"channel":{"enum":["email","sms"],"type":"string"},"createdAt":{"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":"string"},"delivered":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"dispatched":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"endedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"failed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"fits":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"groupId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recipients":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"anyOf":[{"enum":["balance","sms_limit","profile_budget","account_paused","sms_off","sender","email_off"],"type":"string"},{"type":"null"}]},"released":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"scheduledAt":{"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":"string"},"senderId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"sent":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"startedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"state":{"enum":["scheduled","sending","done","cancelled","refused"],"type":"string"},"subject":{"type":"string"},"templateId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"text":{"type":"string"}},"required":["id","profileId","mode","channel","name","text","templateId","groupId","audience","state","recipients","skipped","dispatched","sent","delivered","failed","released","priceOre","scheduledAt","startedAt","endedAt","budgetMonth","refusal","fits","createdAt","subject","senderId"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.emailCampaigns.cancel.refusal.campaign_not_cancellable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_not_cancellable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.cancel.refusal.campaign_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.cancel.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.cancel.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.cancel.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.cancel.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.cancel.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.cancel.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"groupId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"html":{"maxLength":1000000,"minLength":1,"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recipients":{"items":{"properties":{"email":{"format":"email","maxLength":254,"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":"string"},"variables":{"additionalProperties":{"maxLength":2000,"type":"string"},"propertyNames":{"maxLength":100,"minLength":1,"type":"string"},"type":"object"}},"required":["email"],"type":"object"},"maxItems":100000,"minItems":1,"type":"array"},"scheduledAt":{"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":"string"},"senderId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"subject":{"maxLength":998,"minLength":1,"type":"string"},"templateId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"text":{"maxLength":200000,"minLength":1,"type":"string"}},"required":["name"],"type":"object"},"operation.emailCampaigns.create.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audience":{"type":["string","null"]},"budgetMonth":{"type":["string","null"]},"channel":{"enum":["email","sms"],"type":"string"},"createdAt":{"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":"string"},"delivered":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"dispatched":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"endedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"failed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"fits":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"groupId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recipients":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"anyOf":[{"enum":["balance","sms_limit","profile_budget","account_paused","sms_off","sender","email_off"],"type":"string"},{"type":"null"}]},"released":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"scheduledAt":{"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":"string"},"senderId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"sent":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"startedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"state":{"enum":["scheduled","sending","done","cancelled","refused"],"type":"string"},"subject":{"type":"string"},"templateId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"text":{"type":"string"}},"required":["id","profileId","mode","channel","name","text","templateId","groupId","audience","state","recipients","skipped","dispatched","sent","delivered","failed","released","priceOre","scheduledAt","startedAt","endedAt","budgetMonth","refusal","fits","createdAt","subject","senderId"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.emailCampaigns.create.refusal.campaign_group_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_group_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.campaign_recipients_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_recipients_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.campaign_too_many_recipients":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_too_many_recipients","type":"string"},"meta":{"additionalProperties":false,"properties":{"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"recipients":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["recipients","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.campaign_unfunded":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_unfunded","type":"string"},"meta":{"additionalProperties":false,"properties":{"fits":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"reason":{"enum":["balance","sms_limit","profile_budget","account_paused","sms_off","sender","email_off"],"type":"string"},"recipients":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["reason","fits","recipients"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.campaign_variable_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_variable_missing","type":"string"},"meta":{"additionalProperties":false,"properties":{"name":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["name","position"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.email_content_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_content_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.email_domain_not_verified":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_domain_not_verified","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.email_sender_not_approved":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_sender_not_approved","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.schedule_in_past":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"schedule_in_past","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.service_off":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_off","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.template_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.create.refusal.template_wrong_service":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_wrong_service","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audience":{"type":["string","null"]},"budgetMonth":{"type":["string","null"]},"channel":{"enum":["email","sms"],"type":"string"},"createdAt":{"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":"string"},"delivered":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"dispatched":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"endedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"failed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"fits":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"groupId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"html":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recipients":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"anyOf":[{"enum":["balance","sms_limit","profile_budget","account_paused","sms_off","sender","email_off"],"type":"string"},{"type":"null"}]},"released":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"scheduledAt":{"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":"string"},"senderId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"sent":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"startedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"state":{"enum":["scheduled","sending","done","cancelled","refused"],"type":"string"},"subject":{"type":"string"},"templateId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"text":{"type":"string"}},"required":["id","profileId","mode","channel","name","text","templateId","groupId","audience","state","recipients","skipped","dispatched","sent","delivered","failed","released","priceOre","scheduledAt","startedAt","endedAt","budgetMonth","refusal","fits","createdAt","subject","senderId","html"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.emailCampaigns.get.refusal.campaign_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"campaigns":{"items":{"additionalProperties":false,"properties":{"audience":{"type":["string","null"]},"budgetMonth":{"type":["string","null"]},"channel":{"enum":["email","sms"],"type":"string"},"createdAt":{"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":"string"},"delivered":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"dispatched":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"endedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"failed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"fits":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"groupId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recipients":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"anyOf":[{"enum":["balance","sms_limit","profile_budget","account_paused","sms_off","sender","email_off"],"type":"string"},{"type":"null"}]},"released":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"scheduledAt":{"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":"string"},"senderId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"sent":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"startedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"state":{"enum":["scheduled","sending","done","cancelled","refused"],"type":"string"},"subject":{"type":"string"},"templateId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"text":{"type":"string"}},"required":["id","profileId","mode","channel","name","text","templateId","groupId","audience","state","recipients","skipped","dispatched","sent","delivered","failed","released","priceOre","scheduledAt","startedAt","endedAt","budgetMonth","refusal","fits","createdAt","subject","senderId"],"type":"object"},"type":"array"},"nextCursor":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["campaigns","nextCursor"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.emailCampaigns.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.list.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"groupId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"html":{"maxLength":1000000,"minLength":1,"type":"string"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recipients":{"items":{"properties":{"email":{"format":"email","maxLength":254,"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":"string"},"variables":{"additionalProperties":{"maxLength":2000,"type":"string"},"propertyNames":{"maxLength":100,"minLength":1,"type":"string"},"type":"object"}},"required":["email"],"type":"object"},"maxItems":100000,"minItems":1,"type":"array"},"senderId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"subject":{"maxLength":998,"minLength":1,"type":"string"},"templateId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"text":{"maxLength":200000,"minLength":1,"type":"string"}},"type":"object"},"operation.emailCampaigns.quote.output":{"properties":{"data":{"additionalProperties":false,"properties":{"availableOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"budgetLeftOre":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"emails":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"fits":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"optedOut":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"recipients":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"short":{"anyOf":[{"enum":["balance","sms_limit","profile_budget","account_paused","sms_off","sender","email_off"],"type":"string"},{"type":"null"}]},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"test":{"type":"boolean"}},"required":["recipients","skipped","optedOut","emails","priceOre","availableOre","budgetLeftOre","fits","short","test"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.emailCampaigns.quote.refusal.campaign_group_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_group_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.campaign_recipients_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_recipients_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.campaign_too_many_recipients":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_too_many_recipients","type":"string"},"meta":{"additionalProperties":false,"properties":{"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"recipients":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["recipients","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.campaign_variable_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"campaign_variable_missing","type":"string"},"meta":{"additionalProperties":false,"properties":{"name":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["name","position"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.email_content_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_content_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.email_domain_not_verified":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_domain_not_verified","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.email_sender_not_approved":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_sender_not_approved","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.service_off":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_off","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.template_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailCampaigns.quote.refusal.template_wrong_service":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_wrong_service","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.add.input":{"properties":{"address":{"format":"email","maxLength":254,"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":"string"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["address"],"type":"object"},"operation.emailOptOuts.add.output":{"properties":{"data":{"additionalProperties":false,"properties":{"address":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"optedInAt":{"type":["string","null"]},"optedOut":{"type":"boolean"},"optedOutAt":{"type":"string"},"sourceCampaignId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["id","address","optedOut","optedOutAt","optedInAt","sourceCampaignId"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.emailOptOuts.add.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.add.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.add.refusal.email_opt_out_access_denied":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_opt_out_access_denied","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.add.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.add.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.add.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.add.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"nextCursor":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"optOuts":{"items":{"additionalProperties":false,"properties":{"address":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"optedInAt":{"type":["string","null"]},"optedOut":{"type":"boolean"},"optedOutAt":{"type":"string"},"sourceCampaignId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["id","address","optedOut","optedOutAt","optedInAt","sourceCampaignId"],"type":"object"},"type":"array"}},"required":["optOuts","nextCursor"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.emailOptOuts.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.list.refusal.email_opt_out_access_denied":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_opt_out_access_denied","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.remove.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.emailOptOuts.remove.output":{"properties":{"data":{"additionalProperties":false,"properties":{"address":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"optedInAt":{"type":["string","null"]},"optedOut":{"type":"boolean"},"optedOutAt":{"type":"string"},"sourceCampaignId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["id","address","optedOut","optedOutAt","optedInAt","sourceCampaignId"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.emailOptOuts.remove.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.remove.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.remove.refusal.email_opt_out_access_denied":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_opt_out_access_denied","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.remove.refusal.email_opt_out_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"email_opt_out_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.remove.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.remove.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.remove.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.emailOptOuts.remove.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"data":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"id":{"format":"starts_with","maxLength":36,"minLength":36,"pattern":"^evt_.*","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"occurredAt":{"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":"string"},"position":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"type":{"type":"string"},"version":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},"required":["id","position","type","version","mode","profileId","occurredAt","data"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.events.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.get.refusal.event_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"event_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"events":{"items":{"additionalProperties":false,"properties":{"data":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"id":{"format":"starts_with","maxLength":36,"minLength":36,"pattern":"^evt_.*","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"occurredAt":{"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":"string"},"position":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"type":{"type":"string"},"version":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},"required":["id","position","type","version","mode","profileId","occurredAt","data"],"type":"object"},"type":"array"},"floor":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"head":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"next":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]}},"required":["head","floor","next","events"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.events.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.list.refusal.event_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"event_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.list.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.list.refusal.resume_too_old":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"resume_too_old","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"endpointId":{"maxLength":128,"minLength":1,"type":"string"}},"required":["endpointId"],"type":"object"},"operation.events.redeliver.output":{"properties":{"data":{"additionalProperties":false,"properties":{"jobId":{"type":"string"},"redelivered":{"type":"boolean"}},"required":["redelivered","jobId"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.events.redeliver.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.event_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"event_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.events.redeliver.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"completedAt":{"type":["string","null"]},"createdAt":{"type":"string"},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"enum":["no","en"],"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"state":{"enum":["waiting","dispatched","done","failed","uncertain"],"type":"string"},"subjectId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"subjectKind":{"enum":["call","transcription_job"],"type":"string"},"text":{"type":["string","null"]}},"required":["id","subjectKind","subjectId","state","language","text","priceOre","errorCode","createdAt","completedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.jobSummaries.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.get.refusal.summary_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"summary_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.get.refusal.transcription_job_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_job_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.request.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"enum":["no","en"],"type":"string"}},"type":"object"},"operation.jobSummaries.request.output":{"properties":{"data":{"additionalProperties":false,"properties":{"completedAt":{"type":["string","null"]},"createdAt":{"type":"string"},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"enum":["no","en"],"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"state":{"enum":["waiting","dispatched","done","failed","uncertain"],"type":"string"},"subjectId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"subjectKind":{"enum":["call","transcription_job"],"type":"string"},"text":{"type":["string","null"]}},"required":["id","subjectKind","subjectId","state","language","text","priceOre","errorCode","createdAt","completedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.jobSummaries.request.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.request.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.request.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.request.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.request.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.request.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.request.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.request.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.request.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.request.refusal.summary_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"summary_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.jobSummaries.request.refusal.transcription_job_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_job_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"charged":{"type":"boolean"},"colour":{"type":"boolean"},"contentKind":{"enum":["pdf","template","text"],"type":"string"},"createdAt":{"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":"string"},"deliveredAs":{"anyOf":[{"enum":["digital","paper"],"type":"string"},{"type":"null"}]},"doneAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"errorDesc":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"origin":{"enum":["api","dashboard"],"type":"string"},"pages":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"quotedDigitalOre":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"quotedPaperOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"recipient":{"additionalProperties":false,"properties":{"city":{"type":"string"},"lines":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"postalCode":{"type":"string"}},"required":["name","lines","postalCode","city"],"type":"object"},"returnAddress":{"additionalProperties":false,"properties":{"city":{"type":"string"},"lines":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"postalCode":{"type":"string"}},"required":["name","lines","postalCode","city"],"type":"object"},"sentAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"sheets":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"state":{"enum":["queued","in_flight","uncertain","printing","delivered","posted","failed"],"type":"string"},"subject":{"type":"string"},"testMode":{"type":"boolean"}},"required":["id","profileId","subject","recipient","returnAddress","contentKind","state","deliveredAs","pages","sheets","colour","quotedDigitalOre","quotedPaperOre","priceOre","charged","errorDesc","testMode","origin","createdAt","sentAt","doneAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.letters.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.get.refusal.letter_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letter_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"counts":{"additionalProperties":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"propertyNames":{"enum":["all","processing","printed","posted","delivered","failed"],"type":"string"},"required":["all","processing","printed","posted","delivered","failed"],"type":"object"},"letters":{"items":{"additionalProperties":false,"properties":{"charged":{"type":"boolean"},"colour":{"type":"boolean"},"contentKind":{"enum":["pdf","template","text"],"type":"string"},"createdAt":{"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":"string"},"deliveredAs":{"anyOf":[{"enum":["digital","paper"],"type":"string"},{"type":"null"}]},"doneAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"errorDesc":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"origin":{"enum":["api","dashboard"],"type":"string"},"pages":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"quotedDigitalOre":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"quotedPaperOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"recipient":{"additionalProperties":false,"properties":{"city":{"type":"string"},"lines":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"postalCode":{"type":"string"}},"required":["name","lines","postalCode","city"],"type":"object"},"returnAddress":{"additionalProperties":false,"properties":{"city":{"type":"string"},"lines":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"postalCode":{"type":"string"}},"required":["name","lines","postalCode","city"],"type":"object"},"sentAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"sheets":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"state":{"enum":["queued","in_flight","uncertain","printing","delivered","posted","failed"],"type":"string"},"subject":{"type":"string"},"testMode":{"type":"boolean"}},"required":["id","profileId","subject","recipient","returnAddress","contentKind","state","deliveredAs","pages","sheets","colour","quotedDigitalOre","quotedPaperOre","priceOre","charged","errorDesc","testMode","origin","createdAt","sentAt","doneAt"],"type":"object"},"type":"array"},"nextCursor":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["letters","counts","nextCursor"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.letters.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.input":{"properties":{"colour":{"type":"boolean"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"content":{"oneOf":[{"properties":{"kind":{"const":"pdf","type":"string"},"pdfBase64":{"maxLength":10666668,"minLength":1,"type":"string"}},"required":["kind","pdfBase64"],"type":"object"},{"properties":{"kind":{"const":"upload","type":"string"},"uploadId":{"maxLength":128,"minLength":1,"type":"string"}},"required":["kind","uploadId"],"type":"object"},{"properties":{"kind":{"const":"template","type":"string"},"templateId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"variables":{"additionalProperties":{"maxLength":2000,"type":"string"},"propertyNames":{"maxLength":100,"minLength":1,"type":"string"},"type":"object"}},"required":["kind","templateId"],"type":"object"},{"properties":{"kind":{"const":"text","type":"string"},"text":{"maxLength":20000,"minLength":1,"type":"string"}},"required":["kind","text"],"type":"object"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["profileId","content"],"type":"object"},"operation.letters.quote.output":{"properties":{"data":{"additionalProperties":false,"properties":{"digitalOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"maxSheets":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"pages":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"paperLines":{"items":{"additionalProperties":false,"properties":{"amountOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"priceKey":{"enum":["base_fee.month","base_fee.year","sms.out","sms.out.dedicated","sms.in","dedicated_number.setup","dedicated_number.month","email.out","email.in","call.out.minute","call.in.minute","call.recording.minute","call.transcription.minute","tts.thousand_characters","transcription.batch.minute","transcription.live.minute","app.minute","call.live_transcription.minute","call.speech_input.minute","call.amd","agent.minute","call.stream.minute","call.bot.minute","summary","phone_number.month","letter.paper.domestic","letter.paper.domestic.extra_sheet","letter.paper.abroad","letter.paper.abroad.extra_sheet","letter.colour.sheet","letter.digital"],"type":"string"},"quantity":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"unitPriceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["priceKey","quantity","unitPriceOre","amountOre"],"type":"object"},"type":"array"},"paperOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"sheets":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},"required":["pages","sheets","maxSheets","digitalOre","paperOre","paperLines"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.letters.quote.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.letter_abroad_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letter_abroad_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.letter_content_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letter_content_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.letter_pdf_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letter_pdf_invalid","type":"string"},"meta":{"additionalProperties":false,"properties":{"reason":{"enum":["unreadable","encrypted","too_large","empty","not_a4","fonts_not_embedded"],"type":"string"}},"required":["reason"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.letter_subject_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letter_subject_invalid","type":"string"},"meta":{"additionalProperties":false,"properties":{"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.letter_subject_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letter_subject_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.letter_too_many_sheets":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letter_too_many_sheets","type":"string"},"meta":{"additionalProperties":false,"properties":{"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"sheets":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["sheets","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.letterhead_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letterhead_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.letterhead_not_approved":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letterhead_not_approved","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.recipient_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_invalid","type":"string"},"meta":{"additionalProperties":false,"properties":{"field":{"type":"string"}},"required":["field"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.template_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.template_variable_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_variable_missing","type":"string"},"meta":{"additionalProperties":false,"properties":{"missing":{"items":{"type":"string"},"type":"array"}},"required":["missing"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.quote.refusal.template_wrong_service":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_wrong_service","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.input":{"properties":{"colour":{"type":"boolean"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"content":{"oneOf":[{"properties":{"kind":{"const":"pdf","type":"string"},"pdfBase64":{"maxLength":10666668,"minLength":1,"type":"string"}},"required":["kind","pdfBase64"],"type":"object"},{"properties":{"kind":{"const":"upload","type":"string"},"uploadId":{"maxLength":128,"minLength":1,"type":"string"}},"required":["kind","uploadId"],"type":"object"},{"properties":{"kind":{"const":"template","type":"string"},"templateId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"variables":{"additionalProperties":{"maxLength":2000,"type":"string"},"propertyNames":{"maxLength":100,"minLength":1,"type":"string"},"type":"object"}},"required":["kind","templateId"],"type":"object"},{"properties":{"kind":{"const":"text","type":"string"},"text":{"maxLength":20000,"minLength":1,"type":"string"}},"required":["kind","text"],"type":"object"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recipient":{"properties":{"city":{"maxLength":200,"minLength":1,"type":"string"},"country":{"pattern":"^[A-Z]{2}$","type":"string"},"lines":{"items":{"maxLength":200,"minLength":1,"type":"string"},"maxItems":2,"minItems":1,"type":"array"},"name":{"maxLength":200,"minLength":1,"type":"string"},"postalCode":{"pattern":"^\\d{4}$","type":"string"}},"required":["name","lines","postalCode","city"],"type":"object"},"subject":{"maxLength":255,"minLength":1,"type":"string"}},"required":["profileId","recipient","content"],"type":"object"},"operation.letters.send.output":{"properties":{"data":{"additionalProperties":false,"properties":{"charged":{"type":"boolean"},"colour":{"type":"boolean"},"contentKind":{"enum":["pdf","template","text"],"type":"string"},"createdAt":{"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":"string"},"deliveredAs":{"anyOf":[{"enum":["digital","paper"],"type":"string"},{"type":"null"}]},"doneAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"errorDesc":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"origin":{"enum":["api","dashboard"],"type":"string"},"pages":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"quotedDigitalOre":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"quotedPaperOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"recipient":{"additionalProperties":false,"properties":{"city":{"type":"string"},"lines":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"postalCode":{"type":"string"}},"required":["name","lines","postalCode","city"],"type":"object"},"returnAddress":{"additionalProperties":false,"properties":{"city":{"type":"string"},"lines":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"postalCode":{"type":"string"}},"required":["name","lines","postalCode","city"],"type":"object"},"sentAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"sheets":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"state":{"enum":["queued","in_flight","uncertain","printing","delivered","posted","failed"],"type":"string"},"subject":{"type":"string"},"testMode":{"type":"boolean"}},"required":["id","profileId","subject","recipient","returnAddress","contentKind","state","deliveredAs","pages","sheets","colour","quotedDigitalOre","quotedPaperOre","priceOre","charged","errorDesc","testMode","origin","createdAt","sentAt","doneAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.letters.send.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.letter_abroad_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letter_abroad_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.letter_content_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letter_content_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.letter_pdf_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letter_pdf_invalid","type":"string"},"meta":{"additionalProperties":false,"properties":{"reason":{"enum":["unreadable","encrypted","too_large","empty","not_a4","fonts_not_embedded"],"type":"string"}},"required":["reason"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.letter_subject_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letter_subject_invalid","type":"string"},"meta":{"additionalProperties":false,"properties":{"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.letter_subject_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letter_subject_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.letter_too_many_sheets":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letter_too_many_sheets","type":"string"},"meta":{"additionalProperties":false,"properties":{"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"sheets":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["sheets","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.letterhead_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letterhead_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.letterhead_not_approved":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"letterhead_not_approved","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.recipient_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_invalid","type":"string"},"meta":{"additionalProperties":false,"properties":{"field":{"type":"string"}},"required":["field"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.service_off":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_off","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.template_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.template_variable_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_variable_missing","type":"string"},"meta":{"additionalProperties":false,"properties":{"missing":{"items":{"type":"string"},"type":"array"}},"required":["missing"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.template_wrong_service":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_wrong_service","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.upload_expired":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"upload_expired","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.upload_not_claimable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"upload_not_claimable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.letters.send.refusal.verification_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"verification_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.limits.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callMinutesPerDay":{"additionalProperties":false,"properties":{"isDefault":{"type":"boolean"},"limit":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"used":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["limit","isDefault","used"],"type":"object"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"day":{"format":"date","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])))$","type":"string"},"legsAtOnce":{"additionalProperties":false,"properties":{"isDefault":{"type":"boolean"},"limit":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"used":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["limit","isDefault","used"],"type":"object"},"outboundPaused":{"type":"boolean"},"smsPerDay":{"additionalProperties":false,"properties":{"isDefault":{"type":"boolean"},"limit":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"used":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["limit","isDefault","used"],"type":"object"}},"required":["companyId","day","legsAtOnce","callMinutesPerDay","smsPerDay","outboundPaused"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.limits.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.limits.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.limits.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.limits.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.limits.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.limits.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.delete.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.liveTranscription.delete.output":{"properties":{"data":{"additionalProperties":false,"properties":{"deleted":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["deleted"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.liveTranscription.delete.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.delete.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.delete.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.delete.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.delete.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.delete.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.delete.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.delete.refusal.transcription_in_progress":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_in_progress","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"anyOf":[{"enum":["no","en"],"type":"string"},{"type":"null"}]},"mode":{"enum":["off","caller","all"],"type":"string"},"streams":{"items":{"additionalProperties":false,"properties":{"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"errorCode":{"type":["string","null"]},"gaps":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"seconds":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"state":{"enum":["waiting","running","stopped","unfunded","failed"],"type":"string"}},"required":["id","participantId","state","seconds","billedMinutes","priceOre","gaps","errorCode"],"type":"object"},"type":"array"},"transcript":{"anyOf":[{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"type":["string","null"]},"readyAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"segments":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"state":{"enum":["pending","done"],"type":"string"},"text":{"type":["string","null"]}},"required":["id","state","text","language","segments","readyAt"],"type":"object"},{"type":"null"}]}},"required":["callId","mode","language","streams","transcript"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.liveTranscription.get.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.segments.output":{"properties":{"data":{"additionalProperties":false,"properties":{"head":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"next":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"segments":{"items":{"additionalProperties":false,"properties":{"endMs":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"final":{"type":"boolean"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"type":["string","null"]},"participantId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"position":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"revision":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"startMs":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"text":{"type":"string"},"updatedAt":{"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":"string"}},"required":["id","position","revision","participantId","final","text","language","startMs","endMs","updatedAt"],"type":"object"},"type":"array"}},"required":["head","next","segments"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.liveTranscription.segments.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.segments.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.segments.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.segments.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.segments.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.segments.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.segments.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"enum":["no","en"],"type":"string"},"mode":{"enum":["caller","all"],"type":"string"}},"required":["mode"],"type":"object"},"operation.liveTranscription.start.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"anyOf":[{"enum":["no","en"],"type":"string"},{"type":"null"}]},"mode":{"enum":["off","caller","all"],"type":"string"},"streams":{"items":{"additionalProperties":false,"properties":{"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"errorCode":{"type":["string","null"]},"gaps":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"seconds":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"state":{"enum":["waiting","running","stopped","unfunded","failed"],"type":"string"}},"required":["id","participantId","state","seconds","billedMinutes","priceOre","gaps","errorCode"],"type":"object"},"type":"array"},"transcript":{"anyOf":[{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"type":["string","null"]},"readyAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"segments":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"state":{"enum":["pending","done"],"type":"string"},"text":{"type":["string","null"]}},"required":["id","state","text","language","segments","readyAt"],"type":"object"},{"type":"null"}]}},"required":["callId","mode","language","streams","transcript"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.liveTranscription.start.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.call_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.capability_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"capability_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"limit_reached","type":"string"},"meta":{"additionalProperties":false,"properties":{"kind":{"enum":["outbound_leg","call_minutes","sms"],"type":"string"},"limit":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["kind","limit"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.outbound_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"outbound_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.start.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.stop.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.liveTranscription.stop.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"anyOf":[{"enum":["no","en"],"type":"string"},{"type":"null"}]},"mode":{"enum":["off","caller","all"],"type":"string"},"streams":{"items":{"additionalProperties":false,"properties":{"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"errorCode":{"type":["string","null"]},"gaps":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"participantId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"seconds":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"state":{"enum":["waiting","running","stopped","unfunded","failed"],"type":"string"}},"required":["id","participantId","state","seconds","billedMinutes","priceOre","gaps","errorCode"],"type":"object"},"type":"array"},"transcript":{"anyOf":[{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"type":["string","null"]},"readyAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"segments":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"state":{"enum":["pending","done"],"type":"string"},"text":{"type":["string","null"]}},"required":["id","state","text","language","segments","readyAt"],"type":"object"},{"type":"null"}]}},"required":["callId","mode","language","streams","transcript"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.liveTranscription.stop.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.stop.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.stop.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.stop.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.stop.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.stop.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.stop.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.liveTranscription.stop.refusal.transcription_not_live":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_not_live","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.lookup.number.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callPricePerMinuteOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"dialable":{"type":"boolean"},"kind":{"enum":["mobile","landline","m2m","special","blocked"],"type":"string"},"number":{"type":"string"},"smsPossible":{"type":"boolean"}},"required":["number","kind","dialable","callPricePerMinuteOre","smsPossible"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.lookup.number.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.lookup.number.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.lookup.number.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.lookup.number.refusal.recipient_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.lookup.number.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.lookup.number.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.lookup.number.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"activeAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"assignedTo":{"type":["string","null"]},"carrier":{"enum":["didww"],"type":"string"},"createdAt":{"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":"string"},"decideWithinSeconds":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"inboundMode":{"enum":["routing","api","solution"],"type":"string"},"label":{"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"mode":{"enum":["live","test"],"type":"string"},"number":{"type":"string"},"orderId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recording":{"type":"boolean"},"releasedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"routing":{"oneOf":[{"additionalProperties":false,"properties":{"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"forward","type":"string"}},"required":["kind","forwardTo"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"greeting_forward","type":"string"}},"required":["kind","forwardTo","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"webhook","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"kind":{"const":"message","type":"string"}},"required":["kind","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"browser","type":"string"}},"required":["kind"],"type":"object"}]},"solutionId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"state":{"enum":["ordered","active","released"],"type":"string"}},"required":["id","profileId","orderId","number","label","routing","recording","state","mode","carrier","assignedTo","metadata","inboundMode","solutionId","decideWithinSeconds","activeAt","releasedAt","createdAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.phoneNumbers.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.get.refusal.phone_number_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"phone_number_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.getOrder.output":{"properties":{"data":{"additionalProperties":false,"properties":{"activeAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"approvedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"area":{"enum":["oslo","bergen","trondheim","stavanger","kristiansand","tromso"],"type":"string"},"assignedTo":{"type":["string","null"]},"closedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"label":{"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"mode":{"enum":["live","test"],"type":"string"},"monthOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"number":{"type":"string"},"orderedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"phoneNumberId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"refusalReason":{"type":["string","null"]},"requestedAt":{"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":"string"},"routing":{"oneOf":[{"additionalProperties":false,"properties":{"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"forward","type":"string"}},"required":["kind","forwardTo"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"greeting_forward","type":"string"}},"required":["kind","forwardTo","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"webhook","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"kind":{"const":"message","type":"string"}},"required":["kind","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"browser","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"enum":["requested","approved","ordering","uncertain","ordered","active","failed","rejected"],"type":"string"}},"required":["id","profileId","area","number","label","routing","state","monthOre","mode","assignedTo","metadata","requestedAt","approvedAt","orderedAt","activeAt","closedAt","refusalReason","phoneNumberId"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.phoneNumbers.getOrder.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.getOrder.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.getOrder.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.getOrder.refusal.phone_number_order_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"phone_number_order_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.getOrder.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.getOrder.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.getOrder.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"monthOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"numbers":{"items":{"additionalProperties":false,"properties":{"activeAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"assignedTo":{"type":["string","null"]},"carrier":{"enum":["didww"],"type":"string"},"createdAt":{"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":"string"},"decideWithinSeconds":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"inboundMode":{"enum":["routing","api","solution"],"type":"string"},"label":{"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"mode":{"enum":["live","test"],"type":"string"},"number":{"type":"string"},"orderId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recording":{"type":"boolean"},"releasedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"routing":{"oneOf":[{"additionalProperties":false,"properties":{"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"forward","type":"string"}},"required":["kind","forwardTo"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"greeting_forward","type":"string"}},"required":["kind","forwardTo","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"webhook","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"kind":{"const":"message","type":"string"}},"required":["kind","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"browser","type":"string"}},"required":["kind"],"type":"object"}]},"solutionId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"state":{"enum":["ordered","active","released"],"type":"string"}},"required":["id","profileId","orderId","number","label","routing","recording","state","mode","carrier","assignedTo","metadata","inboundMode","solutionId","decideWithinSeconds","activeAt","releasedAt","createdAt"],"type":"object"},"type":"array"},"orderable":{"type":"boolean"},"orders":{"items":{"additionalProperties":false,"properties":{"activeAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"approvedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"area":{"enum":["oslo","bergen","trondheim","stavanger","kristiansand","tromso"],"type":"string"},"assignedTo":{"type":["string","null"]},"closedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"label":{"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"mode":{"enum":["live","test"],"type":"string"},"monthOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"number":{"type":"string"},"orderedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"phoneNumberId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"refusalReason":{"type":["string","null"]},"requestedAt":{"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":"string"},"routing":{"oneOf":[{"additionalProperties":false,"properties":{"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"forward","type":"string"}},"required":["kind","forwardTo"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"greeting_forward","type":"string"}},"required":["kind","forwardTo","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"webhook","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"kind":{"const":"message","type":"string"}},"required":["kind","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"browser","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"enum":["requested","approved","ordering","uncertain","ordered","active","failed","rejected"],"type":"string"}},"required":["id","profileId","area","number","label","routing","state","monthOre","mode","assignedTo","metadata","requestedAt","approvedAt","orderedAt","activeAt","closedAt","refusalReason","phoneNumberId"],"type":"object"},"type":"array"}},"required":["numbers","orders","monthOre","orderable"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.phoneNumbers.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.input":{"properties":{"acceptPrice":{"type":"boolean"},"area":{"enum":["oslo","bergen","trondheim","stavanger","kristiansand","tromso"],"type":"string"},"assignedTo":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}]},"carrierNumberId":{"maxLength":128,"minLength":1,"type":"string"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"label":{"maxLength":60,"minLength":1,"type":"string"},"metadata":{"additionalProperties":{"maxLength":200,"type":"string"},"propertyNames":{"maxLength":200,"minLength":1,"type":"string"},"type":"object"},"number":{"pattern":"^\\+47\\d{8}$","type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"routing":{"oneOf":[{"properties":{"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"forward","type":"string"}},"required":["kind","forwardTo"],"type":"object"},{"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"greeting_forward","type":"string"}},"required":["kind","forwardTo","clipId"],"type":"object"},{"properties":{"kind":{"const":"webhook","type":"string"}},"required":["kind"],"type":"object"},{"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"kind":{"const":"message","type":"string"}},"required":["kind","clipId"],"type":"object"},{"properties":{"kind":{"const":"browser","type":"string"}},"required":["kind"],"type":"object"}]}},"required":["profileId","area","number","carrierNumberId","label","routing","acceptPrice"],"type":"object"},"operation.phoneNumbers.order.output":{"properties":{"data":{"additionalProperties":false,"properties":{"activeAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"approvedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"area":{"enum":["oslo","bergen","trondheim","stavanger","kristiansand","tromso"],"type":"string"},"assignedTo":{"type":["string","null"]},"closedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"label":{"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"mode":{"enum":["live","test"],"type":"string"},"monthOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"number":{"type":"string"},"orderedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"phoneNumberId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"refusalReason":{"type":["string","null"]},"requestedAt":{"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":"string"},"routing":{"oneOf":[{"additionalProperties":false,"properties":{"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"forward","type":"string"}},"required":["kind","forwardTo"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"greeting_forward","type":"string"}},"required":["kind","forwardTo","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"webhook","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"kind":{"const":"message","type":"string"}},"required":["kind","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"browser","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"enum":["requested","approved","ordering","uncertain","ordered","active","failed","rejected"],"type":"string"}},"required":["id","profileId","area","number","label","routing","state","monthOre","mode","assignedTo","metadata","requestedAt","approvedAt","orderedAt","activeAt","closedAt","refusalReason","phoneNumberId"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.phoneNumbers.order.refusal.carrier_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"carrier_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.destination_not_allowlisted":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"destination_not_allowlisted","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.manager_role_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"manager_role_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.phone_number_order_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"phone_number_order_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.phone_number_taken":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"phone_number_taken","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.price_not_accepted":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"price_not_accepted","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.routing_clip_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"routing_clip_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.routing_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"routing_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.routing_number_blocked":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"routing_number_blocked","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.service_off":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_off","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.test_number_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"test_number_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.order.refusal.verification_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"verification_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.release.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.phoneNumbers.release.output":{"properties":{"data":{"additionalProperties":false,"properties":{"activeAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"assignedTo":{"type":["string","null"]},"carrier":{"enum":["didww"],"type":"string"},"createdAt":{"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":"string"},"decideWithinSeconds":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"inboundMode":{"enum":["routing","api","solution"],"type":"string"},"label":{"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"mode":{"enum":["live","test"],"type":"string"},"number":{"type":"string"},"orderId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recording":{"type":"boolean"},"releasedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"routing":{"oneOf":[{"additionalProperties":false,"properties":{"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"forward","type":"string"}},"required":["kind","forwardTo"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"greeting_forward","type":"string"}},"required":["kind","forwardTo","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"webhook","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"kind":{"const":"message","type":"string"}},"required":["kind","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"browser","type":"string"}},"required":["kind"],"type":"object"}]},"solutionId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"state":{"enum":["ordered","active","released"],"type":"string"}},"required":["id","profileId","orderId","number","label","routing","recording","state","mode","carrier","assignedTo","metadata","inboundMode","solutionId","decideWithinSeconds","activeAt","releasedAt","createdAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.phoneNumbers.release.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.release.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.release.refusal.live_key_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_key_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.release.refusal.manager_role_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"manager_role_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.release.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.release.refusal.phone_number_in_use":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"phone_number_in_use","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.release.refusal.phone_number_not_active":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"phone_number_not_active","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.release.refusal.phone_number_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"phone_number_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.release.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.release.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.release.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.search.output":{"properties":{"data":{"additionalProperties":false,"properties":{"numbers":{"items":{"additionalProperties":false,"properties":{"carrierNumberId":{"type":"string"},"number":{"type":"string"}},"required":["carrierNumberId","number"],"type":"object"},"type":"array"}},"required":["numbers"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.phoneNumbers.search.refusal.carrier_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"carrier_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.search.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.search.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.search.refusal.manager_role_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"manager_role_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.search.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.search.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.search.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.search.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.input":{"properties":{"assignedTo":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}]},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"decideWithinSeconds":{"anyOf":[{"maximum":60,"minimum":5,"type":"integer"},{"type":"null"}]},"inboundMode":{"enum":["routing","api","solution"],"type":"string"},"label":{"maxLength":60,"minLength":1,"type":"string"},"metadata":{"additionalProperties":{"maxLength":200,"type":"string"},"propertyNames":{"maxLength":200,"minLength":1,"type":"string"},"type":"object"},"recording":{"type":"boolean"},"routing":{"oneOf":[{"properties":{"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"forward","type":"string"}},"required":["kind","forwardTo"],"type":"object"},{"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"greeting_forward","type":"string"}},"required":["kind","forwardTo","clipId"],"type":"object"},{"properties":{"kind":{"const":"webhook","type":"string"}},"required":["kind"],"type":"object"},{"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"kind":{"const":"message","type":"string"}},"required":["kind","clipId"],"type":"object"},{"properties":{"kind":{"const":"browser","type":"string"}},"required":["kind"],"type":"object"}]},"solutionId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"type":"object"},"operation.phoneNumbers.update.output":{"properties":{"data":{"additionalProperties":false,"properties":{"activeAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"assignedTo":{"type":["string","null"]},"carrier":{"enum":["didww"],"type":"string"},"createdAt":{"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":"string"},"decideWithinSeconds":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"inboundMode":{"enum":["routing","api","solution"],"type":"string"},"label":{"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"mode":{"enum":["live","test"],"type":"string"},"number":{"type":"string"},"orderId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recording":{"type":"boolean"},"releasedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"routing":{"oneOf":[{"additionalProperties":false,"properties":{"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"forward","type":"string"}},"required":["kind","forwardTo"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"forwardTo":{"maxLength":32,"minLength":1,"type":"string"},"kind":{"const":"greeting_forward","type":"string"}},"required":["kind","forwardTo","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"webhook","type":"string"}},"required":["kind"],"type":"object"},{"additionalProperties":false,"properties":{"clipId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"kind":{"const":"message","type":"string"}},"required":["kind","clipId"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"browser","type":"string"}},"required":["kind"],"type":"object"}]},"solutionId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"state":{"enum":["ordered","active","released"],"type":"string"}},"required":["id","profileId","orderId","number","label","routing","recording","state","mode","carrier","assignedTo","metadata","inboundMode","solutionId","decideWithinSeconds","activeAt","releasedAt","createdAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.phoneNumbers.update.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.refusal.destination_not_allowlisted":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"destination_not_allowlisted","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.refusal.live_key_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_key_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.refusal.manager_role_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"manager_role_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.refusal.phone_number_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"phone_number_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.refusal.routing_clip_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"routing_clip_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.refusal.routing_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"routing_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.refusal.routing_number_blocked":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"routing_number_blocked","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.refusal.solution_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.phoneNumbers.update.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.prices.preview.input":{"properties":{"call":{"properties":{"minutes":{"maximum":60,"minimum":1,"type":"integer"},"recording":{"type":"boolean"},"transcription":{"type":"boolean"}},"type":"object"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"sms":{"properties":{"sender":{"oneOf":[{"properties":{"kind":{"const":"reply_number","type":"string"}},"required":["kind"],"type":"object"},{"properties":{"kind":{"const":"text","type":"string"},"name":{"maxLength":64,"minLength":1,"type":"string"}},"required":["kind","name"],"type":"object"},{"properties":{"kind":{"const":"dedicated","type":"string"}},"required":["kind"],"type":"object"}]},"text":{"maxLength":2142,"minLength":1,"type":"string"}},"required":["text"],"type":"object"},"tts":{"properties":{"text":{"maxLength":80000,"minLength":1,"type":"string"}},"required":["text"],"type":"object"}},"type":"object"},"operation.prices.preview.output":{"properties":{"data":{"additionalProperties":false,"properties":{"call":{"anyOf":[{"additionalProperties":false,"properties":{"lines":{"items":{"additionalProperties":false,"properties":{"amountOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"priceKey":{"enum":["base_fee.month","base_fee.year","sms.out","sms.out.dedicated","sms.in","dedicated_number.setup","dedicated_number.month","email.out","email.in","call.out.minute","call.in.minute","call.recording.minute","call.transcription.minute","tts.thousand_characters","transcription.batch.minute","transcription.live.minute","app.minute","call.live_transcription.minute","call.speech_input.minute","call.amd","agent.minute","call.stream.minute","call.bot.minute","summary","phone_number.month","letter.paper.domestic","letter.paper.domestic.extra_sheet","letter.paper.abroad","letter.paper.abroad.extra_sheet","letter.colour.sheet","letter.digital"],"type":"string"},"quantity":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"unitPriceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["priceKey","quantity","unitPriceOre","amountOre"],"type":"object"},"type":"array"},"minutes":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"perMinuteOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"totalOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["minutes","perMinuteOre","lines","totalOre"],"type":"object"},{"type":"null"}]},"sms":{"anyOf":[{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"senderKind":{"enum":["text","reply_number","dedicated"],"type":"string"},"unitPriceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"units":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["characters","units","unitPriceOre","priceOre","senderKind"],"type":"object"},{"type":"null"}]},"totalOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"tts":{"anyOf":[{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"unitPriceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["characters","unitPriceOre","priceOre"],"type":"object"},{"type":"null"}]}},"required":["call","sms","tts","totalOre"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.prices.preview.refusal.audio_text_too_long":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_text_too_long","type":"string"},"meta":{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["characters","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.prices.preview.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.prices.preview.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.prices.preview.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.prices.preview.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.prices.preview.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.prices.preview.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.prices.preview.refusal.sender_not_approved":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sender_not_approved","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.prices.preview.refusal.sms_too_long":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sms_too_long","type":"string"},"meta":{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["characters","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.prices.preview.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.archive.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.profiles.archive.output":{"properties":{"data":{"additionalProperties":false,"properties":{"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"revokedKeys":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["profileId","revokedKeys"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.profiles.archive.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.archive.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.archive.refusal.last_profile":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"last_profile","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.archive.refusal.live_key_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_key_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.archive.refusal.manager_role_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"manager_role_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.archive.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.archive.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.archive.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.archive.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.archive.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.create.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"description":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null},"name":{"maxLength":200,"minLength":1,"type":"string"},"services":{"properties":{"email":{"type":"boolean"},"letters":{"type":"boolean"},"phone":{"type":"boolean"},"sms":{"type":"boolean"}},"required":["sms","email","letters","phone"],"type":"object"},"slug":{"maxLength":64,"minLength":1,"type":"string"}},"required":["name","slug","services"],"type":"object"},"operation.profiles.create.output":{"properties":{"data":{"additionalProperties":false,"properties":{"description":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"monthlyLimitOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"name":{"maxLength":200,"type":"string"},"services":{"additionalProperties":false,"properties":{"email":{"type":"boolean"},"letters":{"type":"boolean"},"phone":{"type":"boolean"},"sms":{"type":"boolean"}},"required":["sms","email","letters","phone"],"type":"object"},"slug":{"maxLength":64,"type":"string"}},"required":["id","slug","name","description","services","monthlyLimitOre"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.profiles.create.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.create.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.create.refusal.live_key_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_key_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.create.refusal.manager_role_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"manager_role_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.create.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.create.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.create.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.create.refusal.service_not_open":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_not_open","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.create.refusal.slug_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"slug_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.create.refusal.slug_taken":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"slug_taken","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.create.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"description":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"monthlyLimitOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"name":{"maxLength":200,"type":"string"},"services":{"additionalProperties":false,"properties":{"email":{"type":"boolean"},"letters":{"type":"boolean"},"phone":{"type":"boolean"},"sms":{"type":"boolean"}},"required":["sms","email","letters","phone"],"type":"object"},"slug":{"maxLength":64,"type":"string"}},"required":["id","slug","name","description","services","monthlyLimitOre"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.profiles.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.get.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"profiles":{"items":{"additionalProperties":false,"properties":{"description":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"monthlyLimitOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"name":{"maxLength":200,"type":"string"},"services":{"additionalProperties":false,"properties":{"email":{"type":"boolean"},"letters":{"type":"boolean"},"phone":{"type":"boolean"},"sms":{"type":"boolean"}},"required":["sms","email","letters","phone"],"type":"object"},"slug":{"maxLength":64,"type":"string"}},"required":["id","slug","name","description","services","monthlyLimitOre"],"type":"object"},"type":"array"}},"required":["profiles"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.profiles.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.setLimit.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"limitOre":{"anyOf":[{"maximum":1000000000,"minimum":0,"type":"integer"},{"type":"null"}]}},"required":["limitOre"],"type":"object"},"operation.profiles.setLimit.output":{"properties":{"data":{"additionalProperties":false,"properties":{"description":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"monthlyLimitOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"name":{"maxLength":200,"type":"string"},"services":{"additionalProperties":false,"properties":{"email":{"type":"boolean"},"letters":{"type":"boolean"},"phone":{"type":"boolean"},"sms":{"type":"boolean"}},"required":["sms","email","letters","phone"],"type":"object"},"slug":{"maxLength":64,"type":"string"}},"required":["id","slug","name","description","services","monthlyLimitOre"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.profiles.setLimit.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.setLimit.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.setLimit.refusal.live_key_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_key_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.setLimit.refusal.manager_role_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"manager_role_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.setLimit.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.setLimit.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.setLimit.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.setLimit.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.setLimit.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.update.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"description":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}]},"name":{"maxLength":200,"minLength":1,"type":"string"},"services":{"properties":{"email":{"type":"boolean"},"letters":{"type":"boolean"},"phone":{"type":"boolean"},"sms":{"type":"boolean"}},"type":"object"}},"type":"object"},"operation.profiles.update.output":{"properties":{"data":{"additionalProperties":false,"properties":{"description":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"monthlyLimitOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"name":{"maxLength":200,"type":"string"},"services":{"additionalProperties":false,"properties":{"email":{"type":"boolean"},"letters":{"type":"boolean"},"phone":{"type":"boolean"},"sms":{"type":"boolean"}},"required":["sms","email","letters","phone"],"type":"object"},"slug":{"maxLength":64,"type":"string"}},"required":["id","slug","name","description","services","monthlyLimitOre"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.profiles.update.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.update.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.update.refusal.live_key_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_key_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.update.refusal.manager_role_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"manager_role_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.update.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.update.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.update.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.update.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.update.refusal.service_not_open":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_not_open","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.profiles.update.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.delete.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.recordings.delete.output":{"properties":{"data":{"additionalProperties":false,"properties":{"deleted":{"const":true,"type":"boolean"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["id","deleted"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.recordings.delete.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.delete.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.delete.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.delete.refusal.recording_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recording_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.delete.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.delete.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.delete.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"link":{"anyOf":[{"additionalProperties":false,"properties":{"expiresAt":{"type":"string"},"href":{"type":"string"}},"required":["href","expiresAt"],"type":"object"},{"type":"null"}]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"startedAt":{"type":"string"},"state":{"enum":["recording","stopping","stored","failed"],"type":"string"},"stopRequestedAt":{"type":["string","null"]},"storedAt":{"type":["string","null"]},"testMode":{"type":"boolean"}},"required":["id","callId","profileId","state","seconds","billedMinutes","priceOre","errorCode","testMode","startedAt","stopRequestedAt","storedAt","link"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.recordings.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.get.refusal.recording_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recording_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"nextCursor":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"recordings":{"items":{"additionalProperties":false,"properties":{"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"errorCode":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"startedAt":{"type":"string"},"state":{"enum":["recording","stopping","stored","failed"],"type":"string"},"stopRequestedAt":{"type":["string","null"]},"storedAt":{"type":["string","null"]},"testMode":{"type":"boolean"}},"required":["id","callId","profileId","state","seconds","billedMinutes","priceOre","errorCode","testMode","startedAt","stopRequestedAt","storedAt"],"type":"object"},"type":"array"}},"required":["recordings","nextCursor"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.recordings.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.recordings.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.cancel.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.sms.cancel.output":{"properties":{"data":{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["scheduled","queued","in_flight","uncertain","sent","delivered","failed","cancelled","held_for_balance","received"],"type":"string"}},"required":["id","state"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.sms.cancel.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.cancel.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.cancel.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.cancel.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.cancel.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.cancel.refusal.sms_not_cancellable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sms_not_cancellable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.cancel.refusal.sms_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sms_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.cancel.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"charged":{"type":"boolean"},"counterpart":{"type":"string"},"createdAt":{"type":"string"},"direction":{"enum":["out","in"],"type":"string"},"doneAt":{"type":["string","null"]},"errorDesc":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"origin":{"anyOf":[{"enum":["api","dashboard","notice"],"type":"string"},{"type":"null"}]},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"scheduledAt":{"type":["string","null"]},"sender":{"type":["string","null"]},"senderKind":{"enum":["text","reply_number","dedicated"],"type":"string"},"sentAt":{"type":["string","null"]},"state":{"enum":["scheduled","queued","in_flight","uncertain","sent","delivered","failed","cancelled","held_for_balance","received"],"type":"string"},"testMode":{"type":"boolean"},"text":{"type":"string"},"threadId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"units":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","profileId","direction","state","counterpart","sender","senderKind","text","units","priceOre","charged","errorDesc","testMode","origin","threadId","scheduledAt","createdAt","sentAt","doneAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.sms.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.get.refusal.sms_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sms_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"counts":{"additionalProperties":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"propertyNames":{"enum":["all","delivered","sent","scheduled","received","failed"],"type":"string"},"required":["all","delivered","sent","scheduled","received","failed"],"type":"object"},"messages":{"items":{"additionalProperties":false,"properties":{"charged":{"type":"boolean"},"counterpart":{"type":"string"},"createdAt":{"type":"string"},"direction":{"enum":["out","in"],"type":"string"},"doneAt":{"type":["string","null"]},"errorDesc":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"origin":{"anyOf":[{"enum":["api","dashboard","notice"],"type":"string"},{"type":"null"}]},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"scheduledAt":{"type":["string","null"]},"sender":{"type":["string","null"]},"senderKind":{"enum":["text","reply_number","dedicated"],"type":"string"},"sentAt":{"type":["string","null"]},"state":{"enum":["scheduled","queued","in_flight","uncertain","sent","delivered","failed","cancelled","held_for_balance","received"],"type":"string"},"testMode":{"type":"boolean"},"text":{"type":"string"},"threadId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"units":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","profileId","direction","state","counterpart","sender","senderKind","text","units","priceOre","charged","errorDesc","testMode","origin","threadId","scheduledAt","createdAt","sentAt","doneAt"],"type":"object"},"type":"array"},"nextCursor":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["messages","counts","nextCursor"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.sms.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"sender":{"oneOf":[{"properties":{"kind":{"const":"reply_number","type":"string"}},"required":["kind"],"type":"object"},{"properties":{"kind":{"const":"text","type":"string"},"name":{"maxLength":64,"minLength":1,"type":"string"}},"required":["kind","name"],"type":"object"},{"properties":{"kind":{"const":"dedicated","type":"string"}},"required":["kind"],"type":"object"}]},"templateId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"text":{"maxLength":2142,"minLength":1,"type":"string"},"variables":{"additionalProperties":{"maxLength":2000,"type":"string"},"propertyNames":{"maxLength":100,"minLength":1,"type":"string"},"type":"object"}},"type":"object"},"operation.sms.quote.output":{"properties":{"data":{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"senderKind":{"enum":["text","reply_number","dedicated"],"type":"string"},"text":{"type":"string"},"unitPriceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"units":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["characters","units","unitPriceOre","priceOre","senderKind","text"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.sms.quote.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.refusal.sender_not_approved":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sender_not_approved","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.refusal.service_off":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_off","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.refusal.sms_content_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sms_content_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.refusal.sms_too_long":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sms_too_long","type":"string"},"meta":{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["characters","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.refusal.template_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.refusal.template_variable_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_variable_missing","type":"string"},"meta":{"additionalProperties":false,"properties":{"missing":{"items":{"type":"string"},"type":"array"}},"required":["missing"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.quote.refusal.template_wrong_service":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_wrong_service","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"scheduledAt":{"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":"string"},"sender":{"oneOf":[{"properties":{"kind":{"const":"reply_number","type":"string"}},"required":["kind"],"type":"object"},{"properties":{"kind":{"const":"text","type":"string"},"name":{"maxLength":64,"minLength":1,"type":"string"}},"required":["kind","name"],"type":"object"},{"properties":{"kind":{"const":"dedicated","type":"string"}},"required":["kind"],"type":"object"}]},"templateId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"text":{"maxLength":2142,"minLength":1,"type":"string"},"to":{"maxLength":32,"minLength":1,"type":"string"},"variables":{"additionalProperties":{"maxLength":2000,"type":"string"},"propertyNames":{"maxLength":100,"minLength":1,"type":"string"},"type":"object"}},"required":["to"],"type":"object"},"operation.sms.send.output":{"properties":{"data":{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"scheduledAt":{"type":["string","null"]},"state":{"enum":["scheduled","queued","in_flight","uncertain","sent","delivered","failed","cancelled","held_for_balance","received"],"type":"string"},"testMode":{"type":"boolean"},"units":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","state","units","priceOre","scheduledAt","testMode"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.sms.send.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.destination_not_allowlisted":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"destination_not_allowlisted","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"limit_reached","type":"string"},"meta":{"additionalProperties":false,"properties":{"kind":{"enum":["outbound_leg","call_minutes","sms"],"type":"string"},"limit":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["kind","limit"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.outbound_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"outbound_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.recipient_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.recipient_opted_out":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_opted_out","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.schedule_in_past":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"schedule_in_past","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.sender_not_approved":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sender_not_approved","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.service_off":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_off","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.sms_content_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sms_content_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.sms_too_long":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sms_too_long","type":"string"},"meta":{"additionalProperties":false,"properties":{"characters":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["characters","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.template_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.template_variable_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_variable_missing","type":"string"},"meta":{"additionalProperties":false,"properties":{"missing":{"items":{"type":"string"},"type":"array"}},"required":["missing"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.sms.send.refusal.template_wrong_service":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"template_wrong_service","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.add.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"number":{"maxLength":32,"minLength":1,"type":"string"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["number"],"type":"object"},"operation.smsOptOuts.add.output":{"properties":{"data":{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"optedInAt":{"type":["string","null"]},"optedOut":{"type":"boolean"},"optedOutAt":{"type":["string","null"]},"phone":{"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"sourceMessageId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["id","profileId","phone","optedOut","optedOutAt","optedInAt","sourceMessageId"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.smsOptOuts.add.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.add.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.add.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.add.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.add.refusal.recipient_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.add.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.add.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.add.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"nextCursor":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"optOuts":{"items":{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"optedInAt":{"type":["string","null"]},"optedOut":{"type":"boolean"},"optedOutAt":{"type":["string","null"]},"phone":{"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"sourceMessageId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["id","profileId","phone","optedOut","optedOutAt","optedInAt","sourceMessageId"],"type":"object"},"type":"array"}},"required":["optOuts","nextCursor"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.smsOptOuts.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.list.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.remove.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.smsOptOuts.remove.output":{"properties":{"data":{"additionalProperties":false,"properties":{"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"optedInAt":{"type":["string","null"]},"optedOut":{"type":"boolean"},"optedOutAt":{"type":["string","null"]},"phone":{"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"sourceMessageId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["id","profileId","phone","optedOut","optedOutAt","optedInAt","sourceMessageId"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.smsOptOuts.remove.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.remove.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.remove.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.remove.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.remove.refusal.recipient_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"recipient_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.remove.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.remove.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.remove.refusal.sms_opt_out_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"sms_opt_out_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.smsOptOuts.remove.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.join.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"displayName":{"maxLength":100,"minLength":1,"type":"string"},"externalRef":{"maxLength":200,"minLength":1,"type":"string"}},"type":"object"},"operation.solutions.conference.join.output":{"properties":{"data":{"additionalProperties":false,"properties":{"meeting":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"endedAt":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"startedAt":{"type":"string"}},"required":["id","solutionId","callId","mode","startedAt","endedAt"],"type":"object"},"participant":{"additionalProperties":false,"properties":{"audioMode":{"enum":["talk","listen","whisper"],"type":"string"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"connection":{"anyOf":[{"additionalProperties":false,"properties":{"token":{"type":"string"},"url":{"type":"string"}},"required":["url","token"],"type":"object"},{"type":"null"}]},"currentCallId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"displayName":{"type":["string","null"]},"endReason":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"joinedAt":{"type":["string","null"]},"kind":{"enum":["phone","app","member","agent","worker","stream","bot"],"type":"string"},"leftAt":{"type":["string","null"]},"muted":{"type":"boolean"},"phone":{"type":["string","null"]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"role":{"enum":["primary","leg","member","supervisor"],"type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"state":{"enum":["invited","ringing","joined","held","moving","left","failed"],"type":"string"}},"required":["id","callId","currentCallId","kind","role","state","audioMode","muted","phone","externalRef","displayName","joinedAt","leftAt","seconds","billedMinutes","priceOre","endReason","connection"],"type":"object"}},"required":["meeting","participant"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.conference.join.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.join.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.join.refusal.conference_full":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"conference_full","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.join.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.join.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.join.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.join.refusal.solution_call_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_call_refused","type":"string"},"meta":{"additionalProperties":false,"properties":{"reason":{"type":"string"}},"required":["reason"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.join.refusal.solution_kind_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_kind_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.join.refusal.solution_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.join.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.meetings.output":{"properties":{"data":{"additionalProperties":false,"properties":{"meetings":{"items":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"endedAt":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"startedAt":{"type":"string"}},"required":["id","solutionId","callId","mode","startedAt","endedAt"],"type":"object"},"type":"array"}},"required":["meetings"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.conference.meetings.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.meetings.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.meetings.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.meetings.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.meetings.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.meetings.refusal.solution_kind_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_kind_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.meetings.refusal.solution_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.conference.meetings.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.create.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"config":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"kind":{"enum":["ivr","support_line","conference_room","voicemail","dialer"],"type":"string"},"name":{"maxLength":100,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["profileId","kind","name","config"],"type":"object"},"operation.solutions.create.output":{"properties":{"data":{"additionalProperties":false,"properties":{"archivedAt":{"type":["string","null"]},"config":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"createdAt":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["ivr","support_line","conference_room","voicemail","dialer"],"type":"string"},"name":{"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"updatedAt":{"type":"string"},"version":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},"required":["id","profileId","kind","name","version","config","archivedAt","createdAt","updatedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.create.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.create.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.create.refusal.live_key_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_key_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.create.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.create.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.create.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.create.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.create.refusal.solution_config_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_config_invalid","type":"string"},"meta":{"additionalProperties":false,"properties":{"path":{"type":"string"},"problem":{"type":"string"}},"required":["path","problem"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.create.refusal.solution_kind_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_kind_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.create.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"session":{"additionalProperties":false,"properties":{"createdAt":{"type":"string"},"current":{"anyOf":[{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},{"type":"null"}]},"done":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"entries":{"anyOf":[{"items":{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},"type":"array"},{"type":"null"}]},"from":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"pending":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seller":{"type":"string"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["active","paused","finished"],"type":"string"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","solutionId","profileId","mode","name","seller","from","state","total","pending","done","skipped","current","createdAt","entries"],"type":"object"}},"required":["session"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.dialer.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.get.refusal.dialer_session_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_session_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.next.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.solutions.dialer.next.output":{"properties":{"data":{"additionalProperties":false,"properties":{"call":{"anyOf":[{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"connection":{"anyOf":[{"additionalProperties":false,"properties":{"token":{"type":"string"},"url":{"type":"string"}},"required":["url","token"],"type":"object"},{"type":"null"}]},"entryId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"participant":{"additionalProperties":false,"properties":{"audioMode":{"enum":["talk","listen","whisper"],"type":"string"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"connection":{"anyOf":[{"additionalProperties":false,"properties":{"token":{"type":"string"},"url":{"type":"string"}},"required":["url","token"],"type":"object"},{"type":"null"}]},"currentCallId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"displayName":{"type":["string","null"]},"endReason":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"joinedAt":{"type":["string","null"]},"kind":{"enum":["phone","app","member","agent","worker","stream","bot"],"type":"string"},"leftAt":{"type":["string","null"]},"muted":{"type":"boolean"},"phone":{"type":["string","null"]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"role":{"enum":["primary","leg","member","supervisor"],"type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"state":{"enum":["invited","ringing","joined","held","moving","left","failed"],"type":"string"}},"required":["id","callId","currentCallId","kind","role","state","audioMode","muted","phone","externalRef","displayName","joinedAt","leftAt","seconds","billedMinutes","priceOre","endReason","connection"],"type":"object"}},"required":["entryId","callId","participant","connection"],"type":"object"},{"type":"null"}]},"refused":{"anyOf":[{"additionalProperties":false,"properties":{"code":{"type":"string"},"entryId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["entryId","code"],"type":"object"},{"type":"null"}]},"session":{"additionalProperties":false,"properties":{"createdAt":{"type":"string"},"current":{"anyOf":[{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},{"type":"null"}]},"done":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"entries":{"anyOf":[{"items":{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},"type":"array"},{"type":"null"}]},"from":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"pending":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seller":{"type":"string"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["active","paused","finished"],"type":"string"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","solutionId","profileId","mode","name","seller","from","state","total","pending","done","skipped","current","createdAt","entries"],"type":"object"}},"required":["session","call","refused"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.dialer.next.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.next.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.next.refusal.dialer_outcome_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_outcome_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.next.refusal.dialer_seller_number_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_seller_number_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.next.refusal.dialer_session_finished":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_session_finished","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.next.refusal.dialer_session_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_session_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.next.refusal.dialer_session_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_session_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.next.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.next.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.next.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.next.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.outcome.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"doNotCall":{"type":"boolean"},"note":{"maxLength":200,"type":"string"},"outcome":{"maxLength":40,"minLength":1,"type":"string"}},"required":["outcome"],"type":"object"},"operation.solutions.dialer.outcome.output":{"properties":{"data":{"additionalProperties":false,"properties":{"session":{"additionalProperties":false,"properties":{"createdAt":{"type":"string"},"current":{"anyOf":[{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},{"type":"null"}]},"done":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"entries":{"anyOf":[{"items":{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},"type":"array"},{"type":"null"}]},"from":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"pending":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seller":{"type":"string"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["active","paused","finished"],"type":"string"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","solutionId","profileId","mode","name","seller","from","state","total","pending","done","skipped","current","createdAt","entries"],"type":"object"}},"required":["session"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.dialer.outcome.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.outcome.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.outcome.refusal.dialer_entry_closed":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_entry_closed","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.outcome.refusal.dialer_outcome_unknown":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_outcome_unknown","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.outcome.refusal.dialer_session_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_session_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.outcome.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.outcome.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.outcome.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.outcome.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.pause.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.solutions.dialer.pause.output":{"properties":{"data":{"additionalProperties":false,"properties":{"session":{"additionalProperties":false,"properties":{"createdAt":{"type":"string"},"current":{"anyOf":[{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},{"type":"null"}]},"done":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"entries":{"anyOf":[{"items":{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},"type":"array"},{"type":"null"}]},"from":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"pending":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seller":{"type":"string"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["active","paused","finished"],"type":"string"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","solutionId","profileId","mode","name","seller","from","state","total","pending","done","skipped","current","createdAt","entries"],"type":"object"}},"required":["session"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.dialer.pause.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.pause.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.pause.refusal.dialer_session_finished":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_session_finished","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.pause.refusal.dialer_session_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_session_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.pause.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.pause.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.pause.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.pause.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.resume.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.solutions.dialer.resume.output":{"properties":{"data":{"additionalProperties":false,"properties":{"session":{"additionalProperties":false,"properties":{"createdAt":{"type":"string"},"current":{"anyOf":[{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},{"type":"null"}]},"done":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"entries":{"anyOf":[{"items":{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},"type":"array"},{"type":"null"}]},"from":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"pending":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seller":{"type":"string"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["active","paused","finished"],"type":"string"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","solutionId","profileId","mode","name","seller","from","state","total","pending","done","skipped","current","createdAt","entries"],"type":"object"}},"required":["session"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.dialer.resume.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.resume.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.resume.refusal.dialer_session_finished":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_session_finished","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.resume.refusal.dialer_session_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_session_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.resume.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.resume.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.resume.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.resume.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sellers.output":{"properties":{"data":{"additionalProperties":false,"properties":{"sellers":{"items":{"additionalProperties":false,"properties":{"label":{"type":"string"},"number":{"type":"string"},"numberId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seller":{"type":"string"}},"required":["seller","number","numberId","label"],"type":"object"},"type":"array"}},"required":["sellers"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.dialer.sellers.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sellers.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sellers.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sellers.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sellers.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sellers.refusal.solution_kind_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_kind_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sellers.refusal.solution_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sellers.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sessions.output":{"properties":{"data":{"additionalProperties":false,"properties":{"sessions":{"items":{"additionalProperties":false,"properties":{"createdAt":{"type":"string"},"current":{"anyOf":[{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},{"type":"null"}]},"done":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"entries":{"anyOf":[{"items":{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},"type":"array"},{"type":"null"}]},"from":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"pending":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seller":{"type":"string"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["active","paused","finished"],"type":"string"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","solutionId","profileId","mode","name","seller","from","state","total","pending","done","skipped","current","createdAt","entries"],"type":"object"},"type":"array"}},"required":["sessions"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.dialer.sessions.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sessions.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sessions.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sessions.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sessions.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sessions.refusal.solution_kind_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_kind_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sessions.refusal.solution_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.sessions.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.start.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"entries":{"items":{"properties":{"externalRef":{"maxLength":200,"minLength":1,"type":"string"},"name":{"maxLength":100,"minLength":1,"type":"string"},"phone":{"maxLength":32,"minLength":1,"type":"string"}},"required":["phone"],"type":"object"},"maxItems":500,"minItems":1,"type":"array"},"name":{"maxLength":100,"minLength":1,"type":"string"},"seller":{"maxLength":200,"minLength":1,"type":"string"}},"required":["seller","entries"],"type":"object"},"operation.solutions.dialer.start.output":{"properties":{"data":{"additionalProperties":false,"properties":{"session":{"additionalProperties":false,"properties":{"createdAt":{"type":"string"},"current":{"anyOf":[{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},{"type":"null"}]},"done":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"entries":{"anyOf":[{"items":{"additionalProperties":false,"properties":{"callId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"calledAt":{"type":["string","null"]},"doneAt":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"name":{"type":["string","null"]},"note":{"type":["string","null"]},"outcome":{"type":["string","null"]},"phone":{"type":"string"},"position":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"refusal":{"type":["string","null"]},"skipReason":{"anyOf":[{"enum":["invalid","blocked","opted_out","duplicate","seller","refused"],"type":"string"},{"type":"null"}]},"state":{"enum":["pending","calling","done","skipped"],"type":"string"}},"required":["id","position","phone","name","externalRef","state","skipReason","refusal","callId","outcome","note","calledAt","doneAt"],"type":"object"},"type":"array"},{"type":"null"}]},"from":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"pending":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seller":{"type":"string"},"skipped":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"state":{"enum":["active","paused","finished"],"type":"string"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id","solutionId","profileId","mode","name","seller","from","state","total","pending","done","skipped","current","createdAt","entries"],"type":"object"}},"required":["session"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.dialer.start.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.start.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.start.refusal.dialer_seller_number_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"dialer_seller_number_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.start.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.start.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.start.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.start.refusal.solution_kind_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_kind_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.start.refusal.solution_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.dialer.start.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"archivedAt":{"type":["string","null"]},"config":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"createdAt":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["ivr","support_line","conference_room","voicemail","dialer"],"type":"string"},"name":{"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"updatedAt":{"type":"string"},"version":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},"required":["id","profileId","kind","name","version","config","archivedAt","createdAt","updatedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.get.refusal.solution_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"solutions":{"items":{"additionalProperties":false,"properties":{"archivedAt":{"type":["string","null"]},"config":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"createdAt":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["ivr","support_line","conference_room","voicemail","dialer"],"type":"string"},"name":{"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"updatedAt":{"type":"string"},"version":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},"required":["id","profileId","kind","name","version","config","archivedAt","createdAt","updatedAt"],"type":"object"},"type":"array"}},"required":["solutions"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.remove.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.solutions.remove.output":{"properties":{"data":{"additionalProperties":false,"properties":{"archivedAt":{"type":["string","null"]},"config":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"createdAt":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["ivr","support_line","conference_room","voicemail","dialer"],"type":"string"},"name":{"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"updatedAt":{"type":"string"},"version":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},"required":["id","profileId","kind","name","version","config","archivedAt","createdAt","updatedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.remove.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.remove.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.remove.refusal.live_key_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_key_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.remove.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.remove.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.remove.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.remove.refusal.solution_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.remove.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.availability.input":{"properties":{"available":{"type":"boolean"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"memberId":{"maxLength":128,"minLength":1,"type":"string"},"phone":{"pattern":"^\\+[1-9][0-9]{6,14}$","type":"string"}},"required":["available"],"type":"object"},"operation.solutions.supportLines.availability.output":{"properties":{"data":{"additionalProperties":false,"properties":{"agents":{"items":{"additionalProperties":false,"properties":{"available":{"type":"boolean"},"busy":{"type":"boolean"},"kind":{"enum":["member","phone"],"type":"string"},"memberId":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}]},"phone":{"type":["string","null"]}},"required":["kind","memberId","phone","available","busy"],"type":"object"},"type":"array"},"missedCallbacks":{"items":{"additionalProperties":false,"properties":{"askedAt":{"type":"string"},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"endedAt":{"type":"string"},"outcome":{"enum":["callback_expired","callback_unanswered","refused"],"type":"string"},"phone":{"type":"string"}},"required":["callId","phone","outcome","askedAt","endedAt"],"type":"object"},"type":"array"},"mode":{"enum":["live","test"],"type":"string"},"open":{"type":"boolean"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"talking":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"waiting":{"items":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"from":{"type":"string"},"state":{"enum":["waiting","offering","connected","done","callback"],"type":"string"},"waitingSince":{"type":"string"}},"required":["callId","from","state","waitingSince"],"type":"object"},"type":"array"}},"required":["solutionId","mode","open","agents","waiting","talking","missedCallbacks"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.supportLines.availability.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.availability.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.availability.refusal.live_key_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_key_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.availability.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.availability.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.availability.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.availability.refusal.solution_kind_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_kind_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.availability.refusal.solution_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.availability.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.availability.refusal.support_agent_unknown":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"support_agent_unknown","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.queue.output":{"properties":{"data":{"additionalProperties":false,"properties":{"agents":{"items":{"additionalProperties":false,"properties":{"available":{"type":"boolean"},"busy":{"type":"boolean"},"kind":{"enum":["member","phone"],"type":"string"},"memberId":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}]},"phone":{"type":["string","null"]}},"required":["kind","memberId","phone","available","busy"],"type":"object"},"type":"array"},"missedCallbacks":{"items":{"additionalProperties":false,"properties":{"askedAt":{"type":"string"},"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"endedAt":{"type":"string"},"outcome":{"enum":["callback_expired","callback_unanswered","refused"],"type":"string"},"phone":{"type":"string"}},"required":["callId","phone","outcome","askedAt","endedAt"],"type":"object"},"type":"array"},"mode":{"enum":["live","test"],"type":"string"},"open":{"type":"boolean"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"talking":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"waiting":{"items":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"from":{"type":"string"},"state":{"enum":["waiting","offering","connected","done","callback"],"type":"string"},"waitingSince":{"type":"string"}},"required":["callId","from","state","waitingSince"],"type":"object"},"type":"array"}},"required":["solutionId","mode","open","agents","waiting","talking","missedCallbacks"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.supportLines.queue.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.queue.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.queue.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.queue.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.queue.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.queue.refusal.solution_kind_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_kind_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.queue.refusal.solution_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.queue.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.stats.output":{"properties":{"data":{"additionalProperties":false,"properties":{"bucket":{"enum":["hour","day"],"type":"string"},"byAgent":{"items":{"additionalProperties":false,"properties":{"answerWaitSeconds":{"additionalProperties":false,"properties":{"average":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]}},"required":["average"],"type":"object"},"answered":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"kind":{"enum":["member","phone"],"type":"string"},"memberId":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}]},"phone":{"type":["string","null"]},"rings":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"talkSeconds":{"additionalProperties":false,"properties":{"average":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["total","average"],"type":"object"},"unanswered":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["kind","memberId","phone","answered","rings","unanswered","talkSeconds","answerWaitSeconds"],"type":"object"},"type":"array"},"byBucket":{"items":{"additionalProperties":false,"properties":{"abandoned":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"answerRate":{"anyOf":[{"maximum":1,"minimum":0,"type":"number"},{"type":"null"}]},"answerWaitSeconds":{"additionalProperties":false,"properties":{"average":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"p90":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]}},"required":["average","p90"],"type":"object"},"answered":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"callbacks":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"calls":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"closed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"failed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"inProgress":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"missed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"overflowed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"queued":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"start":{"type":"string"},"talkSeconds":{"additionalProperties":false,"properties":{"average":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["total","average"],"type":"object"},"waitSeconds":{"additionalProperties":false,"properties":{"average":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"p90":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]}},"required":["average","p90"],"type":"object"}},"required":["calls","queued","answered","abandoned","overflowed","failed","missed","closed","callbacks","inProgress","answerRate","waitSeconds","answerWaitSeconds","talkSeconds","start"],"type":"object"},"type":"array"},"byLine":{"items":{"additionalProperties":false,"properties":{"abandoned":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"answerRate":{"anyOf":[{"maximum":1,"minimum":0,"type":"number"},{"type":"null"}]},"answerWaitSeconds":{"additionalProperties":false,"properties":{"average":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"p90":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]}},"required":["average","p90"],"type":"object"},"answered":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"archived":{"type":"boolean"},"callbacks":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"calls":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"closed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"failed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"inProgress":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"missed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"name":{"type":"string"},"overflowed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"queued":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"talkSeconds":{"additionalProperties":false,"properties":{"average":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["total","average"],"type":"object"},"waitSeconds":{"additionalProperties":false,"properties":{"average":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"p90":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]}},"required":["average","p90"],"type":"object"}},"required":["calls","queued","answered","abandoned","overflowed","failed","missed","closed","callbacks","inProgress","answerRate","waitSeconds","answerWaitSeconds","talkSeconds","solutionId","name","archived"],"type":"object"},"type":"array"},"from":{"type":"string"},"to":{"type":"string"},"totals":{"additionalProperties":false,"properties":{"abandoned":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"answerRate":{"anyOf":[{"maximum":1,"minimum":0,"type":"number"},{"type":"null"}]},"answerWaitSeconds":{"additionalProperties":false,"properties":{"average":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"p90":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]}},"required":["average","p90"],"type":"object"},"answered":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"callbacks":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"calls":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"closed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"failed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"inProgress":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"missed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"overflowed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"queued":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"talkSeconds":{"additionalProperties":false,"properties":{"average":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["total","average"],"type":"object"},"waitSeconds":{"additionalProperties":false,"properties":{"average":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"p90":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]}},"required":["average","p90"],"type":"object"}},"required":["calls","queued","answered","abandoned","overflowed","failed","missed","closed","callbacks","inProgress","answerRate","waitSeconds","answerWaitSeconds","talkSeconds"],"type":"object"}},"required":["from","to","bucket","totals","byLine","byAgent","byBucket"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.supportLines.stats.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.stats.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.stats.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.stats.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.stats.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.stats.refusal.solution_kind_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_kind_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.stats.refusal.solution_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.stats.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.supportLines.stats.refusal.support_stats_period_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"support_stats_period_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.update.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"config":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"name":{"maxLength":100,"minLength":1,"type":"string"}},"type":"object"},"operation.solutions.update.output":{"properties":{"data":{"additionalProperties":false,"properties":{"archivedAt":{"type":["string","null"]},"config":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"createdAt":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"kind":{"enum":["ivr","support_line","conference_room","voicemail","dialer"],"type":"string"},"name":{"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"updatedAt":{"type":"string"},"version":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},"required":["id","profileId","kind","name","version","config","archivedAt","createdAt","updatedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.update.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.update.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.update.refusal.live_key_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_key_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.update.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.update.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.update.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.update.refusal.solution_config_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_config_invalid","type":"string"},"meta":{"additionalProperties":false,"properties":{"path":{"type":"string"},"problem":{"type":"string"}},"required":["path","problem"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.update.refusal.solution_kind_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_kind_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.update.refusal.solution_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"solution_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.update.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"createdAt":{"type":"string"},"from":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"readAt":{"type":["string","null"]},"readBy":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}]},"recordingId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"seconds":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"text":{"type":["string","null"]},"to":{"type":"string"},"transcriptId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["id","solutionId","profileId","callId","mode","from","to","seconds","recordingId","transcriptId","text","readAt","readBy","createdAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.voicemails.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.get.refusal.voicemail_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"voicemail_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"nextCursor":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"voicemails":{"items":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"createdAt":{"type":"string"},"from":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"readAt":{"type":["string","null"]},"readBy":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}]},"recordingId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"seconds":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"text":{"type":["string","null"]},"to":{"type":"string"},"transcriptId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["id","solutionId","profileId","callId","mode","from","to","seconds","recordingId","transcriptId","text","readAt","readBy","createdAt"],"type":"object"},"type":"array"}},"required":["voicemails","nextCursor"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.voicemails.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.read.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"read":{"type":"boolean"}},"type":"object"},"operation.solutions.voicemails.read.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"createdAt":{"type":"string"},"from":{"type":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"mode":{"enum":["live","test"],"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"readAt":{"type":["string","null"]},"readBy":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}]},"recordingId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"seconds":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"solutionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"text":{"type":["string","null"]},"to":{"type":"string"},"transcriptId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["id","solutionId","profileId","callId","mode","from","to","seconds","recordingId","transcriptId","text","readAt","readBy","createdAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.voicemails.read.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.read.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.read.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.read.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.read.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.read.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.read.refusal.voicemail_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"voicemail_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.remove.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.solutions.voicemails.remove.output":{"properties":{"data":{"additionalProperties":false,"properties":{"deleted":{"const":true,"type":"boolean"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["id","deleted"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.solutions.voicemails.remove.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.remove.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.remove.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.remove.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.remove.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.remove.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.solutions.voicemails.remove.refusal.voicemail_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"voicemail_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.statements.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"csv":{"type":"string"},"fileName":{"type":"string"},"lines":{"items":{"additionalProperties":false,"properties":{"amountOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"at":{"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":"string"},"balanceAfterOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"day":{"format":"date","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])))$","type":"string"},"description":{"type":"string"},"kind":{"enum":["top_up","auto_top_up","usage","base_fee","number_fee","dedicated_setup","dedicated_fee","adjustment","refund"],"type":"string"},"quantity":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"reference":{"type":"string"}},"required":["at","day","kind","description","reference","quantity","amountOre","balanceAfterOre"],"type":"object"},"type":"array"},"totals":{"additionalProperties":false,"properties":{"adjustmentsOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"closingOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"entries":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"feesOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"month":{"pattern":"^\\d{4}-(0[1-9]|1[0-2])$","type":"string"},"open":{"type":"boolean"},"openingOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"refundsOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"topUpsOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"usageOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["month","open","openingOre","topUpsOre","usageOre","feesOre","adjustmentsOre","refundsOre","closingOre","entries"],"type":"object"}},"required":["companyId","totals","lines","csv","fileName"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.statements.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.statements.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.statements.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.statements.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.statements.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.statements.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.statements.get.refusal.statement_month_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"statement_month_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.create.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"diarize":{"type":"boolean"},"externalRef":{"maxLength":200,"type":"string"},"language":{"anyOf":[{"enum":["no","en"],"type":"string"},{"type":"null"}]},"name":{"maxLength":200,"minLength":1,"type":"string"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"source":{"oneOf":[{"properties":{"fileName":{"maxLength":200,"minLength":1,"type":"string"},"kind":{"const":"upload","type":"string"},"uploadId":{"maxLength":128,"minLength":1,"type":"string"}},"required":["kind","uploadId"],"type":"object"},{"properties":{"kind":{"const":"url","type":"string"},"url":{"maxLength":2048,"minLength":1,"type":"string"}},"required":["kind","url"],"type":"object"}]},"summary":{"type":"boolean"}},"required":["source"],"type":"object"},"operation.transcriptionJobs.create.output":{"properties":{"data":{"additionalProperties":false,"properties":{"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"createdAt":{"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":"string"},"detectedLanguage":{"type":["string","null"]},"diarize":{"type":"boolean"},"doneAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"errorCode":{"anyOf":[{"enum":["source_refused","source_redirected","source_unreachable","source_too_large","source_status","audio_unreadable","audio_empty","audio_too_long","insufficient_credits","profile_limit_reached","service_paused","transcription_refused","cancelled"],"type":"string"},{"type":"null"}]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"anyOf":[{"enum":["no","en"],"type":"string"},{"type":"null"}]},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"sizeBytes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"source":{"enum":["upload","url"],"type":"string"},"state":{"enum":["pending","preparing","queued","in_flight","uncertain","done","failed"],"type":"string"}},"required":["id","profileId","mode","name","source","state","language","detectedLanguage","diarize","sizeBytes","seconds","billedMinutes","priceOre","errorCode","externalRef","createdAt","doneAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcriptionJobs.create.refusal.audio_too_large":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"audio_too_large","type":"string"},"meta":{"additionalProperties":false,"properties":{"bytes":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"maximum":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["bytes","maximum"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.create.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.create.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.create.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.create.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.create.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.create.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.create.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.create.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.create.refusal.summary_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"summary_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.create.refusal.transcription_link_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_link_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.create.refusal.upload_expired":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"upload_expired","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.create.refusal.upload_not_claimable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"upload_not_claimable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"createdAt":{"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":"string"},"detectedLanguage":{"type":["string","null"]},"diarize":{"type":"boolean"},"doneAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"errorCode":{"anyOf":[{"enum":["source_refused","source_redirected","source_unreachable","source_too_large","source_status","audio_unreadable","audio_empty","audio_too_long","insufficient_credits","profile_limit_reached","service_paused","transcription_refused","cancelled"],"type":"string"},{"type":"null"}]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"anyOf":[{"enum":["no","en"],"type":"string"},{"type":"null"}]},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"sizeBytes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"source":{"enum":["upload","url"],"type":"string"},"state":{"enum":["pending","preparing","queued","in_flight","uncertain","done","failed"],"type":"string"}},"required":["id","profileId","mode","name","source","state","language","detectedLanguage","diarize","sizeBytes","seconds","billedMinutes","priceOre","errorCode","externalRef","createdAt","doneAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcriptionJobs.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.get.refusal.transcription_job_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_job_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"jobs":{"items":{"additionalProperties":false,"properties":{"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"createdAt":{"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":"string"},"detectedLanguage":{"type":["string","null"]},"diarize":{"type":"boolean"},"doneAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"errorCode":{"anyOf":[{"enum":["source_refused","source_redirected","source_unreachable","source_too_large","source_status","audio_unreadable","audio_empty","audio_too_long","insufficient_credits","profile_limit_reached","service_paused","transcription_refused","cancelled"],"type":"string"},{"type":"null"}]},"externalRef":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"anyOf":[{"enum":["no","en"],"type":"string"},{"type":"null"}]},"mode":{"enum":["live","test"],"type":"string"},"name":{"type":"string"},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"seconds":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"sizeBytes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"source":{"enum":["upload","url"],"type":"string"},"state":{"enum":["pending","preparing","queued","in_flight","uncertain","done","failed"],"type":"string"}},"required":["id","profileId","mode","name","source","state","language","detectedLanguage","diarize","sizeBytes","seconds","billedMinutes","priceOre","errorCode","externalRef","createdAt","doneAt"],"type":"object"},"type":"array"},"minuteOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"nextCursor":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["jobs","nextCursor","minuteOre"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcriptionJobs.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.remove.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.transcriptionJobs.remove.output":{"properties":{"data":{"additionalProperties":false,"properties":{"deletedAt":{"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":"string"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["id","deletedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcriptionJobs.remove.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.remove.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.remove.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.remove.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.remove.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.remove.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.remove.refusal.transcription_job_busy":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_job_busy","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.remove.refusal.transcription_job_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_job_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.result.output":{"properties":{"data":{"oneOf":[{"additionalProperties":false,"properties":{"format":{"const":"json","type":"string"},"jobId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"type":["string","null"]},"segments":{"items":{"additionalProperties":false,"properties":{"endSeconds":{"type":["number","null"]},"speaker":{"type":["string","null"]},"startSeconds":{"type":["number","null"]},"text":{"type":"string"}},"required":["speaker","startSeconds","endSeconds","text"],"type":"object"},"type":"array"},"text":{"type":"string"}},"required":["jobId","format","language","text","segments"],"type":"object"},{"additionalProperties":false,"properties":{"content":{"type":"string"},"contentType":{"type":"string"},"format":{"enum":["srt","vtt","txt"],"type":"string"},"jobId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["jobId","format","contentType","content"],"type":"object"}]},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcriptionJobs.result.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.result.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.result.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.result.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.result.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.result.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.result.refusal.transcription_job_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_job_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionJobs.result.refusal.transcription_not_ready":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_not_ready","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.close.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.transcriptionSessions.close.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audioSeconds":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"closedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"createdAt":{"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":"string"},"encoding":{"enum":["pcm_s16le","mulaw"],"type":"string"},"endReason":{"anyOf":[{"enum":["closed","funded_limit","wall_clock_cap","disconnected","rate_limited","protocol_error","revoked","server_closed","speech_failed","lost","expired"],"type":"string"},{"type":"null"}]},"expiresAt":{"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":"string"},"externalRef":{"type":["string","null"]},"fundedSeconds":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"anyOf":[{"enum":["no","en"],"type":"string"},{"type":"null"}]},"minuteOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"mode":{"enum":["live","test"],"type":"string"},"openedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"sampleRate":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"state":{"enum":["funded","streaming","ended"],"type":"string"},"wallClockCapAt":{"anyOf":[{"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":"string"},{"type":"null"}]}},"required":["id","profileId","mode","state","endReason","encoding","sampleRate","language","fundedSeconds","audioSeconds","billedMinutes","minuteOre","priceOre","expiresAt","wallClockCapAt","externalRef","createdAt","openedAt","closedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcriptionSessions.close.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.close.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.close.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.close.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.close.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.close.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.close.refusal.transcription_session_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_session_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.create.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"encoding":{"enum":["pcm_s16le","mulaw"],"type":"string"},"externalRef":{"maxLength":200,"type":"string"},"language":{"anyOf":[{"enum":["no","en"],"type":"string"},{"type":"null"}]},"maxMinutes":{"maximum":120,"minimum":1,"type":"integer"},"profile":{"maxLength":64,"minLength":1,"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.transcriptionSessions.create.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audioSeconds":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"closedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"createdAt":{"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":"string"},"encoding":{"enum":["pcm_s16le","mulaw"],"type":"string"},"endReason":{"anyOf":[{"enum":["closed","funded_limit","wall_clock_cap","disconnected","rate_limited","protocol_error","revoked","server_closed","speech_failed","lost","expired"],"type":"string"},{"type":"null"}]},"expiresAt":{"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":"string"},"externalRef":{"type":["string","null"]},"fundedSeconds":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"anyOf":[{"enum":["no","en"],"type":"string"},{"type":"null"}]},"minuteOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"mode":{"enum":["live","test"],"type":"string"},"openedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"sampleRate":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"state":{"enum":["funded","streaming","ended"],"type":"string"},"wallClockCapAt":{"anyOf":[{"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":"string"},{"type":"null"}]}},"required":["id","profileId","mode","state","endReason","encoding","sampleRate","language","fundedSeconds","audioSeconds","billedMinutes","minuteOre","priceOre","expiresAt","wallClockCapAt","externalRef","createdAt","openedAt","closedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcriptionSessions.create.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.create.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.create.refusal.insufficient_credits":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"insufficient_credits","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.create.refusal.live_options_unsupported":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"live_options_unsupported","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.create.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.create.refusal.profile_limit_reached":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_limit_reached","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.create.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.create.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.create.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.create.refusal.service_paused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_paused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.create.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.create.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.demoTicket.output":{"properties":{"data":{"additionalProperties":false,"properties":{"expiresAt":{"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":"string"},"path":{"type":"string"},"sessionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"ticket":{"type":"string"}},"required":["sessionId","ticket","path","expiresAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcriptionSessions.demoTicket.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.demoTicket.refusal.transcription_session_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_session_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.demoTicket.refusal.transcription_session_not_open":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_session_not_open","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.demoTicket.refusal.transcription_ticket_rate_limited":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_ticket_rate_limited","type":"string"},"meta":{"additionalProperties":false,"properties":{"retryAfterMs":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["retryAfterMs"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"audioSeconds":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"billedMinutes":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"closedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"createdAt":{"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":"string"},"encoding":{"enum":["pcm_s16le","mulaw"],"type":"string"},"endReason":{"anyOf":[{"enum":["closed","funded_limit","wall_clock_cap","disconnected","rate_limited","protocol_error","revoked","server_closed","speech_failed","lost","expired"],"type":"string"},{"type":"null"}]},"expiresAt":{"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":"string"},"externalRef":{"type":["string","null"]},"fundedSeconds":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"anyOf":[{"enum":["no","en"],"type":"string"},{"type":"null"}]},"minuteOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"mode":{"enum":["live","test"],"type":"string"},"openedAt":{"anyOf":[{"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":"string"},{"type":"null"}]},"priceOre":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"sampleRate":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"state":{"enum":["funded","streaming","ended"],"type":"string"},"wallClockCapAt":{"anyOf":[{"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":"string"},{"type":"null"}]}},"required":["id","profileId","mode","state","endReason","encoding","sampleRate","language","fundedSeconds","audioSeconds","billedMinutes","minuteOre","priceOre","expiresAt","wallClockCapAt","externalRef","createdAt","openedAt","closedAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcriptionSessions.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.get.refusal.transcription_session_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_session_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.ticket.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.transcriptionSessions.ticket.output":{"properties":{"data":{"additionalProperties":false,"properties":{"expiresAt":{"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":"string"},"path":{"type":"string"},"sessionId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"ticket":{"type":"string"}},"required":["sessionId","ticket","path","expiresAt"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcriptionSessions.ticket.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.ticket.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.ticket.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.ticket.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.ticket.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.ticket.refusal.service_unavailable":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"service_unavailable","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.ticket.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.ticket.refusal.transcription_session_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_session_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.ticket.refusal.transcription_session_not_open":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_session_not_open","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcriptionSessions.ticket.refusal.transcription_ticket_rate_limited":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcription_ticket_rate_limited","type":"string"},"meta":{"additionalProperties":false,"properties":{"retryAfterMs":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["retryAfterMs"],"type":"object"},"retryable":{"type":"boolean"}},"required":["code","meta"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.delete.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.transcripts.delete.output":{"properties":{"data":{"additionalProperties":false,"properties":{"deleted":{"const":true,"type":"boolean"},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"required":["id","deleted"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcripts.delete.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.delete.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.delete.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.delete.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.delete.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.delete.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.delete.refusal.transcript_in_progress":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcript_in_progress","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.delete.refusal.transcript_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcript_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"createdAt":{"type":"string"},"doneAt":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"type":["string","null"]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recordingId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"segments":{"items":{"additionalProperties":false,"properties":{"channel":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"endSeconds":{"type":["number","null"]},"speaker":{"type":["string","null"]},"startSeconds":{"type":["number","null"]},"text":{"type":"string"}},"required":["channel","speaker","startSeconds","endSeconds","text"],"type":"object"},"type":"array"},"source":{"enum":["after_call","live"],"type":"string"},"state":{"enum":["pending","in_flight","uncertain","done","failed"],"type":"string"},"text":{"type":["string","null"]}},"required":["id","callId","recordingId","profileId","state","source","language","priceOre","createdAt","doneAt","text","segments"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcripts.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.get.refusal.transcript_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcript_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"nextCursor":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"transcripts":{"items":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"createdAt":{"type":"string"},"doneAt":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"type":["string","null"]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recordingId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"source":{"enum":["after_call","live"],"type":"string"},"state":{"enum":["pending","in_flight","uncertain","done","failed"],"type":"string"}},"required":["id","callId","recordingId","profileId","state","source","language","priceOre","createdAt","doneAt"],"type":"object"},"type":"array"}},"required":["transcripts","nextCursor"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcripts.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.ofCall.output":{"properties":{"data":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"createdAt":{"type":"string"},"doneAt":{"type":["string","null"]},"id":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"language":{"type":["string","null"]},"priceOre":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}]},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"recordingId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"segments":{"items":{"additionalProperties":false,"properties":{"channel":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"endSeconds":{"type":["number","null"]},"speaker":{"type":["string","null"]},"startSeconds":{"type":["number","null"]},"text":{"type":"string"}},"required":["channel","speaker","startSeconds","endSeconds","text"],"type":"object"},"type":"array"},"source":{"enum":["after_call","live"],"type":"string"},"state":{"enum":["pending","in_flight","uncertain","done","failed"],"type":"string"},"text":{"type":["string","null"]}},"required":["id","callId","recordingId","profileId","state","source","language","priceOre","createdAt","doneAt","text","segments"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.transcripts.ofCall.refusal.call_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"call_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.ofCall.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.ofCall.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.ofCall.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.ofCall.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.ofCall.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.ofCall.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.transcripts.ofCall.refusal.transcript_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"transcript_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.usage.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"from":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"groupBy":{"enum":["day","service"],"type":"string"},"lines":{"items":{"additionalProperties":false,"properties":{"amountOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"day":{"anyOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},{"type":"null"}]},"entries":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"service":{"anyOf":[{"enum":["sms","email","letters","phone"],"type":"string"},{"type":"null"}]}},"required":["day","service","amountOre","entries"],"type":"object"},"type":"array"},"mode":{"enum":["live","test"],"type":"string"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"to":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"totalOre":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["from","to","mode","profileId","groupBy","lines","totalOre"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.usage.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.usage.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.usage.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.usage.list.refusal.period_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"period_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.usage.list.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.usage.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.usage.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.usage.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.output":{"properties":{"data":{"additionalProperties":false,"properties":{"attempts":{"items":{"additionalProperties":false,"properties":{"attempt":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"attemptedAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"delivered":{"type":"boolean"},"durationMs":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"error":{"type":["string","null"]},"event":{"type":"string"},"eventId":{"type":"string"},"id":{"type":"string"},"status":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"test":{"type":"boolean"}},"required":["id","event","eventId","attempt","test","attemptedAtMs","durationMs","delivered","status","error"],"type":"object"},"type":"array"}},"required":["attempts"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.attempts.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"description":{"anyOf":[{"maxLength":512,"type":"string"},{"type":"null"}]},"ed25519":{"type":"boolean"},"events":{"items":{"enum":["sms.status","sms.received","sms.optedOut","sms.optedIn","email.status","email.received","letter.status","call.incoming","call.answered","call.ended","call.participant.joined","call.participant.left","call.participant.updated","call.command.completed","call.command.failed","call.command.uncertain","call.offer.accepted","call.offer.expired","call.moved","call.transferred","call.recording.ready","call.recording.failed","call.transcript.ready","call.dtmf.received","call.gather.completed","call.playback.ended","call.machineDetected","call.agent.ended","call.summary.ready","number.activated","number.released","number.order.failed","transcription.job.completed","transcription.job.failed","transcription.session.ended","balance.low","limit.reached","voicemail.received","campaign.completed"],"type":"string"},"minItems":1,"type":"array"},"mode":{"enum":["live","test"],"type":"string"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"url":{"maxLength":2048,"minLength":1,"type":"string"}},"required":["url","events"],"type":"object"},"operation.webhookEndpoints.create.output":{"properties":{"data":{"additionalProperties":false,"properties":{"endpoint":{"additionalProperties":false,"properties":{"createdAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"description":{"type":["string","null"]},"disabled":{"type":"boolean"},"ed25519PublicKey":{"type":["string","null"]},"events":{"items":{"type":"string"},"type":"array"},"failing":{"type":"boolean"},"id":{"maxLength":128,"minLength":1,"type":"string"},"lastAttempt":{"anyOf":[{"additionalProperties":false,"properties":{"attempt":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"attemptedAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"delivered":{"type":"boolean"},"durationMs":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"error":{"type":["string","null"]},"event":{"type":"string"},"eventId":{"type":"string"},"id":{"type":"string"},"status":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"test":{"type":"boolean"}},"required":["id","event","eventId","attempt","test","attemptedAtMs","durationMs","delivered","status","error"],"type":"object"},{"type":"null"}]},"mode":{"enum":["live","test"],"type":"string"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"revision":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"url":{"type":"string"}},"required":["id","profileId","mode","url","description","events","revision","failing","disabled","createdAtMs","lastAttempt","ed25519PublicKey"],"type":"object"},"publicKey":{"type":["string","null"]},"secret":{"type":"string"}},"required":["endpoint","secret","publicKey"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.webhookEndpoints.create.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.create.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.output":{"properties":{"data":{"additionalProperties":false,"properties":{"deliveries":{"items":{"additionalProperties":false,"properties":{"attempts":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"endpointId":{"maxLength":128,"minLength":1,"type":"string"},"event":{"type":"string"},"eventId":{"anyOf":[{"format":"starts_with","maxLength":36,"minLength":36,"pattern":"^evt_.*","type":"string"},{"type":"null"}]},"jobId":{"type":"string"},"webhookId":{"type":"string"}},"required":["jobId","endpointId","event","eventId","webhookId","attempts"],"type":"object"},"type":"array"},"next":{"type":["string","null"]}},"required":["deliveries","next"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.failedDeliveries.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.output":{"properties":{"data":{"additionalProperties":false,"properties":{"createdAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"description":{"type":["string","null"]},"disabled":{"type":"boolean"},"ed25519PublicKey":{"type":["string","null"]},"events":{"items":{"type":"string"},"type":"array"},"failing":{"type":"boolean"},"id":{"maxLength":128,"minLength":1,"type":"string"},"lastAttempt":{"anyOf":[{"additionalProperties":false,"properties":{"attempt":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"attemptedAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"delivered":{"type":"boolean"},"durationMs":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"error":{"type":["string","null"]},"event":{"type":"string"},"eventId":{"type":"string"},"id":{"type":"string"},"status":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"test":{"type":"boolean"}},"required":["id","event","eventId","attempt","test","attemptedAtMs","durationMs","delivered","status","error"],"type":"object"},{"type":"null"}]},"mode":{"enum":["live","test"],"type":"string"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"revision":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"url":{"type":"string"}},"required":["id","profileId","mode","url","description","events","revision","failing","disabled","createdAtMs","lastAttempt","ed25519PublicKey"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.webhookEndpoints.get.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.get.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.output":{"properties":{"data":{"additionalProperties":false,"properties":{"endpoints":{"items":{"additionalProperties":false,"properties":{"createdAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"description":{"type":["string","null"]},"disabled":{"type":"boolean"},"ed25519PublicKey":{"type":["string","null"]},"events":{"items":{"type":"string"},"type":"array"},"failing":{"type":"boolean"},"id":{"maxLength":128,"minLength":1,"type":"string"},"lastAttempt":{"anyOf":[{"additionalProperties":false,"properties":{"attempt":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"attemptedAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"delivered":{"type":"boolean"},"durationMs":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"error":{"type":["string","null"]},"event":{"type":"string"},"eventId":{"type":"string"},"id":{"type":"string"},"status":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"test":{"type":"boolean"}},"required":["id","event","eventId","attempt","test","attemptedAtMs","durationMs","delivered","status","error"],"type":"object"},{"type":"null"}]},"mode":{"enum":["live","test"],"type":"string"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"revision":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"url":{"type":"string"}},"required":["id","profileId","mode","url","description","events","revision","failing","disabled","createdAtMs","lastAttempt","ed25519PublicKey"],"type":"object"},"type":"array"}},"required":["endpoints"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.webhookEndpoints.list.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.list.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.input":{"properties":{"after":{"maxLength":512,"type":"string"},"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.webhookEndpoints.recoverFailed.output":{"properties":{"data":{"additionalProperties":false,"properties":{"next":{"type":["string","null"]},"replayed":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["replayed","next"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.recoverFailed.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.webhookEndpoints.remove.output":{"properties":{"data":{"additionalProperties":false,"properties":{"removed":{"type":"boolean"}},"required":["removed"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.webhookEndpoints.remove.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.remove.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.webhookEndpoints.replay.output":{"properties":{"data":{"additionalProperties":false,"properties":{"replayed":{"type":"boolean"}},"required":["replayed"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.webhookEndpoints.replay.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.replay.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.webhookEndpoints.revive.output":{"properties":{"data":{"additionalProperties":false,"properties":{"createdAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"description":{"type":["string","null"]},"disabled":{"type":"boolean"},"ed25519PublicKey":{"type":["string","null"]},"events":{"items":{"type":"string"},"type":"array"},"failing":{"type":"boolean"},"id":{"maxLength":128,"minLength":1,"type":"string"},"lastAttempt":{"anyOf":[{"additionalProperties":false,"properties":{"attempt":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"attemptedAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"delivered":{"type":"boolean"},"durationMs":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"error":{"type":["string","null"]},"event":{"type":"string"},"eventId":{"type":"string"},"id":{"type":"string"},"status":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"test":{"type":"boolean"}},"required":["id","event","eventId","attempt","test","attemptedAtMs","durationMs","delivered","status","error"],"type":"object"},{"type":"null"}]},"mode":{"enum":["live","test"],"type":"string"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"revision":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"url":{"type":"string"}},"required":["id","profileId","mode","url","description","events","revision","failing","disabled","createdAtMs","lastAttempt","ed25519PublicKey"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.webhookEndpoints.revive.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.revive.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.webhookEndpoints.rotateSecret.output":{"properties":{"data":{"additionalProperties":false,"properties":{"endpoint":{"additionalProperties":false,"properties":{"createdAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"description":{"type":["string","null"]},"disabled":{"type":"boolean"},"ed25519PublicKey":{"type":["string","null"]},"events":{"items":{"type":"string"},"type":"array"},"failing":{"type":"boolean"},"id":{"maxLength":128,"minLength":1,"type":"string"},"lastAttempt":{"anyOf":[{"additionalProperties":false,"properties":{"attempt":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"attemptedAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"delivered":{"type":"boolean"},"durationMs":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"error":{"type":["string","null"]},"event":{"type":"string"},"eventId":{"type":"string"},"id":{"type":"string"},"status":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"test":{"type":"boolean"}},"required":["id","event","eventId","attempt","test","attemptedAtMs","durationMs","delivered","status","error"],"type":"object"},{"type":"null"}]},"mode":{"enum":["live","test"],"type":"string"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"revision":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"url":{"type":"string"}},"required":["id","profileId","mode","url","description","events","revision","failing","disabled","createdAtMs","lastAttempt","ed25519PublicKey"],"type":"object"},"secret":{"type":"string"}},"required":["endpoint","secret"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.rotateSecret.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"enabled":{"type":"boolean"}},"required":["enabled"],"type":"object"},"operation.webhookEndpoints.setEd25519.output":{"properties":{"data":{"additionalProperties":false,"properties":{"endpoint":{"additionalProperties":false,"properties":{"createdAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"description":{"type":["string","null"]},"disabled":{"type":"boolean"},"ed25519PublicKey":{"type":["string","null"]},"events":{"items":{"type":"string"},"type":"array"},"failing":{"type":"boolean"},"id":{"maxLength":128,"minLength":1,"type":"string"},"lastAttempt":{"anyOf":[{"additionalProperties":false,"properties":{"attempt":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"attemptedAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"delivered":{"type":"boolean"},"durationMs":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"error":{"type":["string","null"]},"event":{"type":"string"},"eventId":{"type":"string"},"id":{"type":"string"},"status":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"test":{"type":"boolean"}},"required":["id","event","eventId","attempt","test","attemptedAtMs","durationMs","delivered","status","error"],"type":"object"},{"type":"null"}]},"mode":{"enum":["live","test"],"type":"string"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"revision":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"url":{"type":"string"}},"required":["id","profileId","mode","url","description","events","revision","failing","disabled","createdAtMs","lastAttempt","ed25519PublicKey"],"type":"object"},"publicKey":{"type":["string","null"]}},"required":["endpoint","publicKey"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.setEd25519.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},"type":"object"},"operation.webhookEndpoints.test.output":{"properties":{"data":{"additionalProperties":false,"properties":{"attempt":{"anyOf":[{"additionalProperties":false,"properties":{"attempt":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"attemptedAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"delivered":{"type":"boolean"},"durationMs":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"error":{"type":["string","null"]},"event":{"type":"string"},"eventId":{"type":"string"},"id":{"type":"string"},"status":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"test":{"type":"boolean"}},"required":["id","event","eventId","attempt","test","attemptedAtMs","durationMs","delivered","status","error"],"type":"object"},{"type":"null"}]},"delivered":{"type":"boolean"}},"required":["attempt","delivered"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.webhookEndpoints.test.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.test.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.input":{"properties":{"companyId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"description":{"anyOf":[{"maxLength":512,"type":"string"},{"type":"null"}]},"events":{"items":{"enum":["sms.status","sms.received","sms.optedOut","sms.optedIn","email.status","email.received","letter.status","call.incoming","call.answered","call.ended","call.participant.joined","call.participant.left","call.participant.updated","call.command.completed","call.command.failed","call.command.uncertain","call.offer.accepted","call.offer.expired","call.moved","call.transferred","call.recording.ready","call.recording.failed","call.transcript.ready","call.dtmf.received","call.gather.completed","call.playback.ended","call.machineDetected","call.agent.ended","call.summary.ready","number.activated","number.released","number.order.failed","transcription.job.completed","transcription.job.failed","transcription.session.ended","balance.low","limit.reached","voicemail.received","campaign.completed"],"type":"string"},"minItems":1,"type":"array"},"revision":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"url":{"maxLength":2048,"minLength":1,"type":"string"}},"required":["revision"],"type":"object"},"operation.webhookEndpoints.update.output":{"properties":{"data":{"additionalProperties":false,"properties":{"createdAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"description":{"type":["string","null"]},"disabled":{"type":"boolean"},"ed25519PublicKey":{"type":["string","null"]},"events":{"items":{"type":"string"},"type":"array"},"failing":{"type":"boolean"},"id":{"maxLength":128,"minLength":1,"type":"string"},"lastAttempt":{"anyOf":[{"additionalProperties":false,"properties":{"attempt":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"attemptedAtMs":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"delivered":{"type":"boolean"},"durationMs":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"error":{"type":["string","null"]},"event":{"type":"string"},"eventId":{"type":"string"},"id":{"type":"string"},"status":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}]},"test":{"type":"boolean"}},"required":["id","event","eventId","attempt","test","attemptedAtMs","durationMs","delivered","status","error"],"type":"object"},{"type":"null"}]},"mode":{"enum":["live","test"],"type":"string"},"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"revision":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"url":{"type":"string"}},"required":["id","profileId","mode","url","description","events","revision","failing","disabled","createdAtMs","lastAttempt","ed25519PublicKey"],"type":"object"},"ok":{"const":true,"type":"boolean"}},"required":["ok","data"],"type":"object"},"operation.webhookEndpoints.update.refusal.company_mismatch":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_mismatch","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.refusal.company_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"company_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.refusal.membership_required":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"membership_required","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.refusal.profile_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"profile_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.refusal.role_insufficient":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"role_insufficient","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.refusal.scope_missing":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"scope_missing","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.refusal.staff_view_read_only":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"staff_view_read_only","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.refusal.webhook_delivery_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_delivery_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.refusal.webhook_endpoint_conflict":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_conflict","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.refusal.webhook_endpoint_disabled":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_disabled","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.refusal.webhook_endpoint_invalid":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_invalid","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.refusal.webhook_endpoint_not_found":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_not_found","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.refusal.webhook_endpoint_url_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_endpoint_url_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"},"operation.webhookEndpoints.update.refusal.webhook_event_refused":{"properties":{"ok":{"const":false,"type":"boolean"},"refused":{"properties":{"code":{"const":"webhook_event_refused","type":"string"},"retryable":{"type":"boolean"}},"required":["code"],"type":"object"}},"required":["ok","refused"],"type":"object"}},"securitySchemes":{"api-key":{"description":"An API key (`tk_….<secret>`) or a dashboard session token.","scheme":"bearer","type":"http"},"clerk":{"description":"An API key (`tk_….<secret>`) or a dashboard session token.","scheme":"bearer","type":"http"},"guest-session":{"description":"The short-lived signed guest session of a public microphone demo.","in":"header","name":"x-pekka-guest-session","type":"apiKey"}}},"info":{"description":"SMS, email, letters and calls from one prepaid balance. Send an API key as `Authorization: Bearer tk_….<secret>`. Use an `Idempotency-Key` on idempotent writes. `POST /v1/api-keys` does not accept that header because its secret is returned only on creation. If its answer is lost, list keys, revoke the extra key and create a new one. Events: read the log with `GET /v1/events?after=`, follow it live with the server-sent `GET /v1/event-stream` (resume with `Last-Event-ID`), or receive webhooks. Every event carries one public id (`evt_…`) in the body's `id` and `data.eventId`; the `webhook-id` header is per endpoint's delivery.","title":"Telkit API","version":"1.0.0"},"openapi":"3.1.0","paths":{"/v1/agents":{"get":{"operationId":"agents.list","parameters":[{"explode":true,"in":"query","name":"archived","required":false,"schema":{"type":"boolean"},"style":"form"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.agents.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.agents.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.agents.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.agents.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.agents.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.list.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["agents"]},"post":{"operationId":"agents.create","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.create.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.create.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.agents.create.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.agents.create.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.agents.create.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.agents.create.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.agents.create.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.create.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.agents.create.refusal.agent_brain_incomplete","description":"Refused: agent_brain_incomplete."},{"$ref":"#/components/schemas/operation.agents.create.refusal.agent_tool_name_taken","description":"Refused: agent_tool_name_taken."},{"$ref":"#/components/schemas/operation.agents.create.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.agents.create.refusal.webhook_endpoint_not_registered","description":"Refused: webhook_endpoint_not_registered."}]}}},"description":"Refusals: agent_brain_incomplete, agent_tool_name_taken, company_required, webhook_endpoint_not_registered."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["agents"]}},"/v1/agents/{id}":{"delete":{"operationId":"agents.remove","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.remove.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.remove.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.agents.remove.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.agents.remove.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.agents.remove.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.agents.remove.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.agents.remove.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.remove.refusal.agent_not_found"}}},"description":"Refused: agent_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.remove.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["agents"]},"get":{"operationId":"agents.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.agents.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.agents.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.agents.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.agents.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.agents.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.get.refusal.agent_not_found"}}},"description":"Refused: agent_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["agents"]},"patch":{"operationId":"agents.update","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.update.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.agents.update.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.agents.update.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.agents.update.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.agents.update.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.agents.update.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.agents.update.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.agents.update.refusal.agent_not_found","description":"Refused: agent_not_found."},{"$ref":"#/components/schemas/operation.agents.update.refusal.profile_not_found","description":"Refused: profile_not_found."}]}}},"description":"Refusals: agent_not_found, profile_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.agents.update.refusal.agent_brain_incomplete","description":"Refused: agent_brain_incomplete."},{"$ref":"#/components/schemas/operation.agents.update.refusal.agent_tool_name_taken","description":"Refused: agent_tool_name_taken."},{"$ref":"#/components/schemas/operation.agents.update.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.agents.update.refusal.webhook_endpoint_not_registered","description":"Refused: webhook_endpoint_not_registered."}]}}},"description":"Refusals: agent_brain_incomplete, agent_tool_name_taken, company_required, webhook_endpoint_not_registered."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["agents"]}},"/v1/api-keys":{"get":{"operationId":"apiKeys.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.apiKeys.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.apiKeys.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.apiKeys.list.refusal.live_key_required","description":"Refused: live_key_required."},{"$ref":"#/components/schemas/operation.apiKeys.list.refusal.manager_role_required","description":"Refused: manager_role_required."},{"$ref":"#/components/schemas/operation.apiKeys.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.apiKeys.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.apiKeys.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.apiKeys.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, live_key_required, manager_role_required, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.apiKeys.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["API keys"]},"post":{"operationId":"apiKeys.create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.apiKeys.create.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.apiKeys.create.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.apiKeys.create.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.apiKeys.create.refusal.key_mode_exceeded","description":"Refused: key_mode_exceeded."},{"$ref":"#/components/schemas/operation.apiKeys.create.refusal.key_profile_required","description":"Refused: key_profile_required."},{"$ref":"#/components/schemas/operation.apiKeys.create.refusal.key_scopes_exceeded","description":"Refused: key_scopes_exceeded."},{"$ref":"#/components/schemas/operation.apiKeys.create.refusal.live_key_required","description":"Refused: live_key_required."},{"$ref":"#/components/schemas/operation.apiKeys.create.refusal.manager_role_required","description":"Refused: manager_role_required."},{"$ref":"#/components/schemas/operation.apiKeys.create.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.apiKeys.create.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.apiKeys.create.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.apiKeys.create.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, key_mode_exceeded, key_profile_required, key_scopes_exceeded, live_key_required, manager_role_required, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.apiKeys.create.refusal.key_profile_not_found"}}},"description":"Refused: key_profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.apiKeys.create.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"Create an API key; if the answer is lost, list keys and revoke any extra key before retrying","tags":["API keys"]}},"/v1/api-keys/{apiKeyId}/revoke":{"post":{"operationId":"apiKeys.revoke","parameters":[{"explode":false,"in":"path","name":"apiKeyId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.apiKeys.revoke.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.apiKeys.revoke.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.apiKeys.revoke.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.apiKeys.revoke.refusal.key_mode_exceeded","description":"Refused: key_mode_exceeded."},{"$ref":"#/components/schemas/operation.apiKeys.revoke.refusal.key_profile_required","description":"Refused: key_profile_required."},{"$ref":"#/components/schemas/operation.apiKeys.revoke.refusal.key_scopes_exceeded","description":"Refused: key_scopes_exceeded."},{"$ref":"#/components/schemas/operation.apiKeys.revoke.refusal.live_key_required","description":"Refused: live_key_required."},{"$ref":"#/components/schemas/operation.apiKeys.revoke.refusal.manager_role_required","description":"Refused: manager_role_required."},{"$ref":"#/components/schemas/operation.apiKeys.revoke.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.apiKeys.revoke.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.apiKeys.revoke.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.apiKeys.revoke.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, key_mode_exceeded, key_profile_required, key_scopes_exceeded, live_key_required, manager_role_required, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.apiKeys.revoke.refusal.api_key_not_found"}}},"description":"Refused: api_key_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.apiKeys.revoke.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["API keys"]}},"/v1/audio/{id}":{"get":{"operationId":"audio.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.audio.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.audio.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.audio.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.audio.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.audio.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.audio.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.audio.get.refusal.audio_not_found"}}},"description":"Refused: audio_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.audio.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Audio"]}},"/v1/balance":{"get":{"operationId":"balance.get","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.balance.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.balance.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.balance.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.balance.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.balance.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.balance.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.balance.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Balance"]}},"/v1/calls":{"get":{"operationId":"calls.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"cursor","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"kind","required":false,"schema":{"enum":["automatic","browser","inbound","conference","app"],"type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"q","required":false,"schema":{"maxLength":100,"type":"string"},"style":"form"},{"explode":true,"in":"query","name":"tab","required":false,"schema":{"enum":["all","answered","missed","failed"],"type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.calls.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.calls.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.calls.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.calls.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.calls.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Calls"]},"post":{"operationId":"calls.startAutomatic","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.startAutomatic.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.startAutomatic.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.destination_not_allowlisted","description":"Refused: destination_not_allowlisted."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.limit_reached","description":"Refused: limit_reached."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.outbound_paused","description":"Refused: outbound_paused."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.service_off","description":"Refused: service_off."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.verification_required","description":"Refused: verification_required."}]}}},"description":"Refusals: company_mismatch, destination_not_allowlisted, limit_reached, membership_required, outbound_paused, role_insufficient, scope_missing, service_off, service_paused, staff_view_read_only, verification_required."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.audio_not_found","description":"Refused: audio_not_found."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.profile_not_found","description":"Refused: profile_not_found."}]}}},"description":"Refusals: audio_not_found, profile_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.audio_text_too_long","description":"Refused: audio_text_too_long."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.call_content_required","description":"Refused: call_content_required."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.call_participants_full","description":"Refused: call_participants_full."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.capability_unavailable","description":"Refused: capability_unavailable."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.number_not_found","description":"Refused: number_not_found."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.recipient_blocked","description":"Refused: recipient_blocked."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.recipient_invalid","description":"Refused: recipient_invalid."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.stream_limit_reached","description":"Refused: stream_limit_reached."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.voice_unavailable","description":"Refused: voice_unavailable."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.webhook_endpoint_not_registered","description":"Refused: webhook_endpoint_not_registered."}]}}},"description":"Refusals: audio_text_too_long, call_content_required, call_participants_full, capability_unavailable, company_required, number_not_found, recipient_blocked, recipient_invalid, stream_limit_reached, voice_unavailable, webhook_endpoint_not_registered."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.service_unavailable","description":"Refused: service_unavailable."},{"$ref":"#/components/schemas/operation.calls.startAutomatic.refusal.summary_unavailable","description":"Refused: summary_unavailable."}]}}},"description":"Refusals: service_unavailable, summary_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Calls"]}},"/v1/calls/{id}":{"get":{"operationId":"calls.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.calls.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.calls.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.calls.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.calls.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.calls.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.get.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Calls"]},"patch":{"operationId":"calls.update","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.update.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.update.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.calls.update.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.calls.update.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.calls.update.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.calls.update.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.calls.update.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.update.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.update.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Calls"]}},"/v1/calls/{id}/answer":{"post":{"operationId":"callControl.answer","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.answer.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.answer.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.answer.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callControl.answer.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callControl.answer.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callControl.answer.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callControl.answer.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.answer.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.answer.refusal.call_already_routed","description":"Refused: call_already_routed."},{"$ref":"#/components/schemas/operation.callControl.answer.refusal.call_not_live","description":"Refused: call_not_live."}]}}},"description":"Refusals: call_already_routed, call_not_live."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.answer.refusal.call_not_inbound","description":"Refused: call_not_inbound."},{"$ref":"#/components/schemas/operation.callControl.answer.refusal.capability_unavailable","description":"Refused: capability_unavailable."},{"$ref":"#/components/schemas/operation.callControl.answer.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.callControl.answer.refusal.media_tasks_full","description":"Refused: media_tasks_full."}]}}},"description":"Refusals: call_not_inbound, capability_unavailable, company_required, media_tasks_full."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.answer.refusal.media_capacity_reached"}}},"description":"Refused: media_capacity_reached."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callControl"]}},"/v1/calls/{id}/commands/{commandId}":{"get":{"operationId":"callCommands.get","parameters":[{"explode":false,"in":"path","name":"commandId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callCommands.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callCommands.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callCommands.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callCommands.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callCommands.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callCommands.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callCommands.get.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callCommands.get.refusal.command_not_found","description":"Refused: command_not_found."}]}}},"description":"Refusals: call_not_found, command_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callCommands.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callCommands"]}},"/v1/calls/{id}/dtmf":{"post":{"operationId":"callMedia.dtmf","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callMedia.dtmf.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callMedia.dtmf.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.audio_not_found","description":"Refused: audio_not_found."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.participant_not_found","description":"Refused: participant_not_found."}]}}},"description":"Refusals: audio_not_found, call_not_found, participant_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.call_not_live","description":"Refused: call_not_live."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.participant_not_live","description":"Refused: participant_not_live."}]}}},"description":"Refusals: call_not_live, participant_not_live."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.audio_text_too_long","description":"Refused: audio_text_too_long."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.capability_unavailable","description":"Refused: capability_unavailable."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.media_tasks_full","description":"Refused: media_tasks_full."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.voice_unavailable","description":"Refused: voice_unavailable."}]}}},"description":"Refusals: audio_text_too_long, capability_unavailable, company_required, media_tasks_full, voice_unavailable."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.media_capacity_reached","description":"Refused: media_capacity_reached."},{"$ref":"#/components/schemas/operation.callMedia.dtmf.refusal.service_unavailable","description":"Refused: service_unavailable."}]}}},"description":"Refusals: media_capacity_reached, service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callMedia"]}},"/v1/calls/{id}/gather":{"post":{"operationId":"callMedia.gather","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callMedia.gather.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callMedia.gather.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.audio_not_found","description":"Refused: audio_not_found."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.participant_not_found","description":"Refused: participant_not_found."}]}}},"description":"Refusals: audio_not_found, call_not_found, participant_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.call_not_live","description":"Refused: call_not_live."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.participant_not_live","description":"Refused: participant_not_live."}]}}},"description":"Refusals: call_not_live, participant_not_live."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.audio_text_too_long","description":"Refused: audio_text_too_long."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.capability_unavailable","description":"Refused: capability_unavailable."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.media_tasks_full","description":"Refused: media_tasks_full."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.voice_unavailable","description":"Refused: voice_unavailable."}]}}},"description":"Refusals: audio_text_too_long, capability_unavailable, company_required, media_tasks_full, voice_unavailable."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.media_capacity_reached","description":"Refused: media_capacity_reached."},{"$ref":"#/components/schemas/operation.callMedia.gather.refusal.service_unavailable","description":"Refused: service_unavailable."}]}}},"description":"Refusals: media_capacity_reached, service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callMedia"]}},"/v1/calls/{id}/hangup":{"post":{"operationId":"calls.hangup","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.hangup.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.hangup.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.calls.hangup.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.calls.hangup.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.calls.hangup.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.calls.hangup.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.calls.hangup.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.hangup.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.calls.hangup.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Calls"]}},"/v1/calls/{id}/media/stop":{"post":{"operationId":"callMedia.stop","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callMedia.stop.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callMedia.stop.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.stop.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callMedia.stop.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callMedia.stop.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callMedia.stop.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callMedia.stop.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.stop.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callMedia.stop.refusal.media_task_not_found","description":"Refused: media_task_not_found."}]}}},"description":"Refusals: call_not_found, media_task_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.stop.refusal.call_not_live","description":"Refused: call_not_live."},{"$ref":"#/components/schemas/operation.callMedia.stop.refusal.media_task_not_live","description":"Refused: media_task_not_live."}]}}},"description":"Refusals: call_not_live, media_task_not_live."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callMedia.stop.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callMedia"]}},"/v1/calls/{id}/media/{taskId}":{"get":{"operationId":"callMedia.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":false,"in":"path","name":"taskId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callMedia.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callMedia.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callMedia.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callMedia.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callMedia.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.get.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callMedia.get.refusal.media_task_not_found","description":"Refused: media_task_not_found."}]}}},"description":"Refusals: call_not_found, media_task_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callMedia.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callMedia"]}},"/v1/calls/{id}/move":{"post":{"operationId":"callControl.move","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.move.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.move.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.move.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callControl.move.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callControl.move.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callControl.move.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callControl.move.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.move.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callControl.move.refusal.participant_not_found","description":"Refused: participant_not_found."}]}}},"description":"Refusals: call_not_found, participant_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.move.refusal.call_not_live","description":"Refused: call_not_live."},{"$ref":"#/components/schemas/operation.callControl.move.refusal.participant_not_connected","description":"Refused: participant_not_connected."}]}}},"description":"Refusals: call_not_live, participant_not_connected."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.move.refusal.call_participants_full","description":"Refused: call_participants_full."},{"$ref":"#/components/schemas/operation.callControl.move.refusal.capability_unavailable","description":"Refused: capability_unavailable."},{"$ref":"#/components/schemas/operation.callControl.move.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.callControl.move.refusal.move_not_allowed","description":"Refused: move_not_allowed."}]}}},"description":"Refusals: call_participants_full, capability_unavailable, company_required, move_not_allowed."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callControl"]}},"/v1/calls/{id}/offers":{"post":{"operationId":"callOffers.create","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callOffers.create.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callOffers.create.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callOffers.create.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callOffers.create.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.destination_not_allowlisted","description":"Refused: destination_not_allowlisted."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.limit_reached","description":"Refused: limit_reached."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.outbound_paused","description":"Refused: outbound_paused."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, destination_not_allowlisted, limit_reached, membership_required, outbound_paused, role_insufficient, scope_missing, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callOffers.create.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callOffers.create.refusal.call_already_routed","description":"Refused: call_already_routed."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.call_not_live","description":"Refused: call_not_live."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.offer_active","description":"Refused: offer_active."}]}}},"description":"Refusals: call_already_routed, call_not_live, offer_active."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callOffers.create.refusal.call_participants_full","description":"Refused: call_participants_full."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.number_not_found","description":"Refused: number_not_found."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.offer_member_unknown","description":"Refused: offer_member_unknown."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.offer_targets_invalid","description":"Refused: offer_targets_invalid."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.recipient_blocked","description":"Refused: recipient_blocked."},{"$ref":"#/components/schemas/operation.callOffers.create.refusal.recipient_invalid","description":"Refused: recipient_invalid."}]}}},"description":"Refusals: call_participants_full, company_required, number_not_found, offer_member_unknown, offer_targets_invalid, recipient_blocked, recipient_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callOffers"]}},"/v1/calls/{id}/offers/{offerId}":{"get":{"operationId":"callOffers.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":false,"in":"path","name":"offerId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callOffers.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callOffers.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callOffers.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callOffers.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callOffers.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callOffers.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callOffers.get.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callOffers.get.refusal.offer_not_found","description":"Refused: offer_not_found."}]}}},"description":"Refusals: call_not_found, offer_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callOffers.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callOffers"]}},"/v1/calls/{id}/offers/{offerId}/cancel":{"post":{"operationId":"callOffers.cancel","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":false,"in":"path","name":"offerId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callOffers.cancel.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callOffers.cancel.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callOffers.cancel.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callOffers.cancel.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callOffers.cancel.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callOffers.cancel.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callOffers.cancel.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callOffers.cancel.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callOffers.cancel.refusal.offer_not_found","description":"Refused: offer_not_found."}]}}},"description":"Refusals: call_not_found, offer_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callOffers.cancel.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callOffers"]}},"/v1/calls/{id}/participants":{"get":{"operationId":"callParticipants.list","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callParticipants.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callParticipants.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callParticipants.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callParticipants.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.list.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callParticipants"]},"post":{"operationId":"callParticipants.add","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.add.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.add.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.destination_not_allowlisted","description":"Refused: destination_not_allowlisted."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.limit_reached","description":"Refused: limit_reached."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.outbound_paused","description":"Refused: outbound_paused."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, destination_not_allowlisted, limit_reached, membership_required, outbound_paused, role_insufficient, scope_missing, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.agent_not_found","description":"Refused: agent_not_found."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.call_not_found","description":"Refused: call_not_found."}]}}},"description":"Refusals: agent_not_found, call_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.call_not_live"}}},"description":"Refused: call_not_live."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.call_participants_full","description":"Refused: call_participants_full."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.capability_unavailable","description":"Refused: capability_unavailable."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.number_not_found","description":"Refused: number_not_found."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.recipient_blocked","description":"Refused: recipient_blocked."},{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.recipient_invalid","description":"Refused: recipient_invalid."}]}}},"description":"Refusals: call_participants_full, capability_unavailable, company_required, number_not_found, recipient_blocked, recipient_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.add.refusal.media_capacity_reached"}}},"description":"Refused: media_capacity_reached."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callParticipants"]}},"/v1/calls/{id}/participants/{participantId}":{"delete":{"operationId":"callParticipants.remove","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":false,"in":"path","name":"participantId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.remove.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.remove.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.remove.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callParticipants.remove.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callParticipants.remove.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callParticipants.remove.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callParticipants.remove.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.remove.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callParticipants.remove.refusal.participant_not_found","description":"Refused: participant_not_found."}]}}},"description":"Refusals: call_not_found, participant_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.remove.refusal.participant_is_call"}}},"description":"Refused: participant_is_call."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.remove.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callParticipants"]},"patch":{"operationId":"callParticipants.update","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":false,"in":"path","name":"participantId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.update.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.update.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.update.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callParticipants.update.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callParticipants.update.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callParticipants.update.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callParticipants.update.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.update.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callParticipants.update.refusal.participant_not_found","description":"Refused: participant_not_found."}]}}},"description":"Refusals: call_not_found, participant_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.update.refusal.participant_not_connected","description":"Refused: participant_not_connected."},{"$ref":"#/components/schemas/operation.callParticipants.update.refusal.participant_not_live","description":"Refused: participant_not_live."}]}}},"description":"Refusals: participant_not_connected, participant_not_live."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.update.refusal.capability_unavailable","description":"Refused: capability_unavailable."},{"$ref":"#/components/schemas/operation.callParticipants.update.refusal.company_required","description":"Refused: company_required."}]}}},"description":"Refusals: capability_unavailable, company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callParticipants"]}},"/v1/calls/{id}/participants/{participantId}/token":{"post":{"operationId":"callParticipants.token","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":false,"in":"path","name":"participantId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.token.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.token.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.token.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callParticipants.token.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callParticipants.token.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callParticipants.token.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callParticipants.token.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.token.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callParticipants.token.refusal.participant_not_found","description":"Refused: participant_not_found."}]}}},"description":"Refusals: call_not_found, participant_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callParticipants.token.refusal.call_not_live","description":"Refused: call_not_live."},{"$ref":"#/components/schemas/operation.callParticipants.token.refusal.participant_not_live","description":"Refused: participant_not_live."}]}}},"description":"Refusals: call_not_live, participant_not_live."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.token.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callParticipants.token.refusal.service_unavailable"}}},"description":"Refused: service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callParticipants"]}},"/v1/calls/{id}/play":{"post":{"operationId":"callMedia.play","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callMedia.play.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callMedia.play.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.play.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.play.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.play.refusal.audio_not_found","description":"Refused: audio_not_found."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.participant_not_found","description":"Refused: participant_not_found."}]}}},"description":"Refusals: audio_not_found, call_not_found, participant_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.play.refusal.call_not_live","description":"Refused: call_not_live."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.participant_not_live","description":"Refused: participant_not_live."}]}}},"description":"Refusals: call_not_live, participant_not_live."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.play.refusal.audio_text_too_long","description":"Refused: audio_text_too_long."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.capability_unavailable","description":"Refused: capability_unavailable."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.media_tasks_full","description":"Refused: media_tasks_full."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.voice_unavailable","description":"Refused: voice_unavailable."}]}}},"description":"Refusals: audio_text_too_long, capability_unavailable, company_required, media_tasks_full, voice_unavailable."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.play.refusal.media_capacity_reached","description":"Refused: media_capacity_reached."},{"$ref":"#/components/schemas/operation.callMedia.play.refusal.service_unavailable","description":"Refused: service_unavailable."}]}}},"description":"Refusals: media_capacity_reached, service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callMedia"]}},"/v1/calls/{id}/recording/start":{"post":{"operationId":"callRecording.start","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callRecording.start.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callRecording.start.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callRecording.start.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.callRecording.start.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callRecording.start.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callRecording.start.refusal.limit_reached","description":"Refused: limit_reached."},{"$ref":"#/components/schemas/operation.callRecording.start.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callRecording.start.refusal.outbound_paused","description":"Refused: outbound_paused."},{"$ref":"#/components/schemas/operation.callRecording.start.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callRecording.start.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callRecording.start.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.callRecording.start.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, limit_reached, membership_required, outbound_paused, role_insufficient, scope_missing, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callRecording.start.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callRecording.start.refusal.call_not_live","description":"Refused: call_not_live."},{"$ref":"#/components/schemas/operation.callRecording.start.refusal.recording_active","description":"Refused: recording_active."},{"$ref":"#/components/schemas/operation.callRecording.start.refusal.transcription_taken","description":"Refused: transcription_taken."}]}}},"description":"Refusals: call_not_live, recording_active, transcription_taken."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callRecording.start.refusal.capability_unavailable","description":"Refused: capability_unavailable."},{"$ref":"#/components/schemas/operation.callRecording.start.refusal.company_required","description":"Refused: company_required."}]}}},"description":"Refusals: capability_unavailable, company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callRecording"]}},"/v1/calls/{id}/recording/stop":{"post":{"operationId":"callRecording.stop","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callRecording.stop.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callRecording.stop.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callRecording.stop.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callRecording.stop.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callRecording.stop.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callRecording.stop.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callRecording.stop.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callRecording.stop.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callRecording.stop.refusal.recording_not_active"}}},"description":"Refused: recording_not_active."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callRecording.stop.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callRecording"]}},"/v1/calls/{id}/reject":{"post":{"operationId":"callControl.reject","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.reject.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.reject.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.reject.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callControl.reject.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callControl.reject.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callControl.reject.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callControl.reject.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.reject.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.reject.refusal.call_already_routed","description":"Refused: call_already_routed."},{"$ref":"#/components/schemas/operation.callControl.reject.refusal.call_not_live","description":"Refused: call_not_live."}]}}},"description":"Refusals: call_already_routed, call_not_live."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.reject.refusal.call_not_inbound","description":"Refused: call_not_inbound."},{"$ref":"#/components/schemas/operation.callControl.reject.refusal.company_required","description":"Refused: company_required."}]}}},"description":"Refusals: call_not_inbound, company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callControl"]}},"/v1/calls/{id}/say":{"post":{"operationId":"callMedia.say","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callMedia.say.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callMedia.say.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.say.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.say.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.say.refusal.audio_not_found","description":"Refused: audio_not_found."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.participant_not_found","description":"Refused: participant_not_found."}]}}},"description":"Refusals: audio_not_found, call_not_found, participant_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.say.refusal.call_not_live","description":"Refused: call_not_live."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.participant_not_live","description":"Refused: participant_not_live."}]}}},"description":"Refusals: call_not_live, participant_not_live."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.say.refusal.audio_text_too_long","description":"Refused: audio_text_too_long."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.capability_unavailable","description":"Refused: capability_unavailable."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.media_tasks_full","description":"Refused: media_tasks_full."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.voice_unavailable","description":"Refused: voice_unavailable."}]}}},"description":"Refusals: audio_text_too_long, capability_unavailable, company_required, media_tasks_full, voice_unavailable."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callMedia.say.refusal.media_capacity_reached","description":"Refused: media_capacity_reached."},{"$ref":"#/components/schemas/operation.callMedia.say.refusal.service_unavailable","description":"Refused: service_unavailable."}]}}},"description":"Refusals: media_capacity_reached, service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callMedia"]}},"/v1/calls/{id}/streams":{"get":{"operationId":"callStreams.list","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callStreams.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callStreams.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callStreams.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callStreams.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callStreams.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callStreams.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callStreams.list.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callStreams.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callStreams"]},"post":{"operationId":"callStreams.start","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callStreams.start.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callStreams.start.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callStreams.start.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.callStreams.start.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callStreams.start.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callStreams.start.refusal.limit_reached","description":"Refused: limit_reached."},{"$ref":"#/components/schemas/operation.callStreams.start.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callStreams.start.refusal.outbound_paused","description":"Refused: outbound_paused."},{"$ref":"#/components/schemas/operation.callStreams.start.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callStreams.start.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callStreams.start.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.callStreams.start.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, limit_reached, membership_required, outbound_paused, role_insufficient, scope_missing, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callStreams.start.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callStreams.start.refusal.participant_not_found","description":"Refused: participant_not_found."}]}}},"description":"Refusals: call_not_found, participant_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callStreams.start.refusal.call_not_live"}}},"description":"Refused: call_not_live."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callStreams.start.refusal.call_participants_full","description":"Refused: call_participants_full."},{"$ref":"#/components/schemas/operation.callStreams.start.refusal.capability_unavailable","description":"Refused: capability_unavailable."},{"$ref":"#/components/schemas/operation.callStreams.start.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.callStreams.start.refusal.stream_limit_reached","description":"Refused: stream_limit_reached."},{"$ref":"#/components/schemas/operation.callStreams.start.refusal.webhook_endpoint_not_registered","description":"Refused: webhook_endpoint_not_registered."}]}}},"description":"Refusals: call_participants_full, capability_unavailable, company_required, stream_limit_reached, webhook_endpoint_not_registered."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callStreams.start.refusal.media_capacity_reached"}}},"description":"Refused: media_capacity_reached."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callStreams"]}},"/v1/calls/{id}/streams/{streamId}":{"get":{"operationId":"callStreams.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":false,"in":"path","name":"streamId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callStreams.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callStreams.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callStreams.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callStreams.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callStreams.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callStreams.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callStreams.get.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callStreams.get.refusal.stream_not_found","description":"Refused: stream_not_found."}]}}},"description":"Refusals: call_not_found, stream_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callStreams.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callStreams"]}},"/v1/calls/{id}/streams/{streamId}/stop":{"post":{"operationId":"callStreams.stop","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":false,"in":"path","name":"streamId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callStreams.stop.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callStreams.stop.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callStreams.stop.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callStreams.stop.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callStreams.stop.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callStreams.stop.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callStreams.stop.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callStreams.stop.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callStreams.stop.refusal.stream_not_found","description":"Refused: stream_not_found."}]}}},"description":"Refusals: call_not_found, stream_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callStreams.stop.refusal.stream_not_live"}}},"description":"Refused: stream_not_live."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callStreams.stop.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callStreams"]}},"/v1/calls/{id}/summary":{"get":{"operationId":"callSummaries.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callSummaries.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callSummaries.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callSummaries.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callSummaries.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callSummaries.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callSummaries.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callSummaries.get.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callSummaries.get.refusal.summary_not_found","description":"Refused: summary_not_found."}]}}},"description":"Refusals: call_not_found, summary_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callSummaries.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callSummaries"]},"post":{"operationId":"callSummaries.request","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callSummaries.request.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callSummaries.request.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callSummaries.request.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.callSummaries.request.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callSummaries.request.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callSummaries.request.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callSummaries.request.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callSummaries.request.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callSummaries.request.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.callSummaries.request.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callSummaries.request.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callSummaries.request.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callSummaries.request.refusal.summary_unavailable"}}},"description":"Refused: summary_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callSummaries"]}},"/v1/calls/{id}/transcript":{"get":{"operationId":"transcripts.ofCall","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcripts.ofCall.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcripts.ofCall.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.transcripts.ofCall.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.transcripts.ofCall.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.transcripts.ofCall.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.transcripts.ofCall.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcripts.ofCall.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.transcripts.ofCall.refusal.transcript_not_found","description":"Refused: transcript_not_found."}]}}},"description":"Refusals: call_not_found, transcript_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcripts.ofCall.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["transcripts"]}},"/v1/calls/{id}/transcription":{"delete":{"operationId":"liveTranscription.delete","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.delete.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.delete.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.liveTranscription.delete.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.liveTranscription.delete.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.liveTranscription.delete.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.liveTranscription.delete.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.liveTranscription.delete.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.delete.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.delete.refusal.transcription_in_progress"}}},"description":"Refused: transcription_in_progress."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.delete.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["liveTranscription"]},"get":{"operationId":"liveTranscription.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.liveTranscription.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.liveTranscription.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.liveTranscription.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.liveTranscription.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.liveTranscription.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.get.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["liveTranscription"]}},"/v1/calls/{id}/transcription/segments":{"get":{"operationId":"liveTranscription.segments","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"after","required":false,"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":200,"minimum":0,"type":"integer"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.segments.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.liveTranscription.segments.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.liveTranscription.segments.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.liveTranscription.segments.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.liveTranscription.segments.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.liveTranscription.segments.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.segments.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.segments.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["liveTranscription"]}},"/v1/calls/{id}/transcription/start":{"post":{"operationId":"liveTranscription.start","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.start.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.start.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.limit_reached","description":"Refused: limit_reached."},{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.outbound_paused","description":"Refused: outbound_paused."},{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, limit_reached, membership_required, outbound_paused, role_insufficient, scope_missing, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.call_not_live"}}},"description":"Refused: call_not_live."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.capability_unavailable","description":"Refused: capability_unavailable."},{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.company_required","description":"Refused: company_required."}]}}},"description":"Refusals: capability_unavailable, company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.start.refusal.service_unavailable"}}},"description":"Refused: service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["liveTranscription"]}},"/v1/calls/{id}/transcription/stop":{"post":{"operationId":"liveTranscription.stop","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.stop.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.stop.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.liveTranscription.stop.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.liveTranscription.stop.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.liveTranscription.stop.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.liveTranscription.stop.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.liveTranscription.stop.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.stop.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.stop.refusal.transcription_not_live"}}},"description":"Refused: transcription_not_live."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.liveTranscription.stop.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["liveTranscription"]}},"/v1/calls/{id}/transfer":{"get":{"operationId":"callControl.transferGet","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.transferGet.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.transferGet.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callControl.transferGet.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callControl.transferGet.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callControl.transferGet.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callControl.transferGet.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.transferGet.refusal.call_not_found"}}},"description":"Refused: call_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.transferGet.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callControl"]},"post":{"operationId":"callControl.transfer","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.transfer.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.transfer.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.destination_not_allowlisted","description":"Refused: destination_not_allowlisted."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.limit_reached","description":"Refused: limit_reached."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.outbound_paused","description":"Refused: outbound_paused."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, destination_not_allowlisted, limit_reached, membership_required, outbound_paused, role_insufficient, scope_missing, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.participant_not_found","description":"Refused: participant_not_found."}]}}},"description":"Refusals: call_not_found, participant_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.call_already_routed","description":"Refused: call_already_routed."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.call_not_answered","description":"Refused: call_not_answered."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.call_not_live","description":"Refused: call_not_live."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.participant_not_connected","description":"Refused: participant_not_connected."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.transfer_active","description":"Refused: transfer_active."}]}}},"description":"Refusals: call_already_routed, call_not_answered, call_not_live, participant_not_connected, transfer_active."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.call_participants_full","description":"Refused: call_participants_full."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.capability_unavailable","description":"Refused: capability_unavailable."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.number_not_found","description":"Refused: number_not_found."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.recipient_blocked","description":"Refused: recipient_blocked."},{"$ref":"#/components/schemas/operation.callControl.transfer.refusal.recipient_invalid","description":"Refused: recipient_invalid."}]}}},"description":"Refusals: call_participants_full, capability_unavailable, company_required, number_not_found, recipient_blocked, recipient_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callControl"]}},"/v1/calls/{id}/transfer/cancel":{"post":{"operationId":"callControl.transferCancel","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.transferCancel.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.transferCancel.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.transferCancel.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callControl.transferCancel.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callControl.transferCancel.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callControl.transferCancel.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callControl.transferCancel.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.transferCancel.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callControl.transferCancel.refusal.transfer_not_found","description":"Refused: transfer_not_found."}]}}},"description":"Refusals: call_not_found, transfer_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.transferCancel.refusal.transfer_not_active"}}},"description":"Refused: transfer_not_active."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.transferCancel.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callControl"]}},"/v1/calls/{id}/transfer/complete":{"post":{"operationId":"callControl.transferComplete","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.transferComplete.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.transferComplete.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.transferComplete.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.callControl.transferComplete.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.callControl.transferComplete.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.callControl.transferComplete.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.callControl.transferComplete.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.callControl.transferComplete.refusal.call_not_found","description":"Refused: call_not_found."},{"$ref":"#/components/schemas/operation.callControl.transferComplete.refusal.transfer_not_found","description":"Refused: transfer_not_found."}]}}},"description":"Refusals: call_not_found, transfer_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.transferComplete.refusal.transfer_not_active"}}},"description":"Refused: transfer_not_active."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.callControl.transferComplete.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["callControl"]}},"/v1/campaigns":{"get":{"operationId":"campaigns.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"cursor","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.campaigns.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.campaigns.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.campaigns.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.campaigns.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.campaigns.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.list.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["campaigns"]},"post":{"operationId":"campaigns.create","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.create.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.create.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.create.refusal.campaign_unfunded"}}},"description":"Refused: campaign_unfunded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.campaigns.create.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.service_off","description":"Refused: service_off."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_off, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.campaigns.create.refusal.campaign_group_not_found","description":"Refused: campaign_group_not_found."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.template_not_found","description":"Refused: template_not_found."}]}}},"description":"Refusals: campaign_group_not_found, profile_not_found, template_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.campaigns.create.refusal.campaign_recipients_required","description":"Refused: campaign_recipients_required."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.campaign_too_many_recipients","description":"Refused: campaign_too_many_recipients."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.campaign_variable_missing","description":"Refused: campaign_variable_missing."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.schedule_in_past","description":"Refused: schedule_in_past."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.sender_not_approved","description":"Refused: sender_not_approved."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.sms_content_required","description":"Refused: sms_content_required."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.sms_too_long","description":"Refused: sms_too_long."},{"$ref":"#/components/schemas/operation.campaigns.create.refusal.template_wrong_service","description":"Refused: template_wrong_service."}]}}},"description":"Refusals: campaign_recipients_required, campaign_too_many_recipients, campaign_variable_missing, company_required, schedule_in_past, sender_not_approved, sms_content_required, sms_too_long, template_wrong_service."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["campaigns"]}},"/v1/campaigns/quote":{"post":{"operationId":"campaigns.quote","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.quote.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.quote.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.service_off","description":"Refused: service_off."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_off, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.campaign_group_not_found","description":"Refused: campaign_group_not_found."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.template_not_found","description":"Refused: template_not_found."}]}}},"description":"Refusals: campaign_group_not_found, profile_not_found, template_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.campaign_recipients_required","description":"Refused: campaign_recipients_required."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.campaign_too_many_recipients","description":"Refused: campaign_too_many_recipients."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.campaign_variable_missing","description":"Refused: campaign_variable_missing."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.sender_not_approved","description":"Refused: sender_not_approved."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.sms_content_required","description":"Refused: sms_content_required."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.sms_too_long","description":"Refused: sms_too_long."},{"$ref":"#/components/schemas/operation.campaigns.quote.refusal.template_wrong_service","description":"Refused: template_wrong_service."}]}}},"description":"Refusals: campaign_recipients_required, campaign_too_many_recipients, campaign_variable_missing, company_required, sender_not_approved, sms_content_required, sms_too_long, template_wrong_service."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["campaigns"]}},"/v1/campaigns/{id}":{"get":{"operationId":"campaigns.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.campaigns.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.campaigns.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.campaigns.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.campaigns.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.campaigns.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.get.refusal.campaign_not_found"}}},"description":"Refused: campaign_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["campaigns"]}},"/v1/campaigns/{id}/cancel":{"post":{"operationId":"campaigns.cancel","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.cancel.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.cancel.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.campaigns.cancel.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.campaigns.cancel.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.campaigns.cancel.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.campaigns.cancel.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.campaigns.cancel.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.cancel.refusal.campaign_not_found"}}},"description":"Refused: campaign_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.cancel.refusal.campaign_not_cancellable"}}},"description":"Refused: campaign_not_cancellable."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.campaigns.cancel.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["campaigns"]}},"/v1/contact-groups":{"get":{"operationId":"contactGroups.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactGroups.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contactGroups.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.contactGroups.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.contactGroups.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.contactGroups.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.contactGroups.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactGroups.list.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactGroups.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["contactGroups"]},"post":{"operationId":"contactGroups.create","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactGroups.create.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactGroups.create.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contactGroups.create.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.contactGroups.create.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.contactGroups.create.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.contactGroups.create.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.contactGroups.create.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contactGroups.create.refusal.contact_not_found","description":"Refused: contact_not_found."},{"$ref":"#/components/schemas/operation.contactGroups.create.refusal.profile_not_found","description":"Refused: profile_not_found."}]}}},"description":"Refusals: contact_not_found, profile_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactGroups.create.refusal.contact_group_name_taken"}}},"description":"Refused: contact_group_name_taken."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactGroups.create.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["contactGroups"]}},"/v1/contact-groups/{groupId}":{"delete":{"operationId":"contactGroups.remove","parameters":[{"explode":false,"in":"path","name":"groupId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactGroups.remove.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactGroups.remove.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contactGroups.remove.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.contactGroups.remove.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.contactGroups.remove.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.contactGroups.remove.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.contactGroups.remove.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contactGroups.remove.refusal.contact_group_not_found","description":"Refused: contact_group_not_found."},{"$ref":"#/components/schemas/operation.contactGroups.remove.refusal.profile_not_found","description":"Refused: profile_not_found."}]}}},"description":"Refusals: contact_group_not_found, profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactGroups.remove.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["contactGroups"]}},"/v1/contact-groups/{groupId}/members":{"post":{"operationId":"contactGroups.addMembers","parameters":[{"explode":false,"in":"path","name":"groupId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactGroups.addMembers.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactGroups.addMembers.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contactGroups.addMembers.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.contactGroups.addMembers.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.contactGroups.addMembers.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.contactGroups.addMembers.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.contactGroups.addMembers.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contactGroups.addMembers.refusal.contact_group_not_found","description":"Refused: contact_group_not_found."},{"$ref":"#/components/schemas/operation.contactGroups.addMembers.refusal.contact_not_found","description":"Refused: contact_not_found."},{"$ref":"#/components/schemas/operation.contactGroups.addMembers.refusal.profile_not_found","description":"Refused: profile_not_found."}]}}},"description":"Refusals: contact_group_not_found, contact_not_found, profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactGroups.addMembers.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["contactGroups"]}},"/v1/contacts":{"get":{"operationId":"contacts.list","parameters":[{"explode":true,"in":"query","name":"after","required":false,"schema":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"style":"form"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"exclusiveMinimum":0,"maximum":100,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"search","required":false,"schema":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}]},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contacts.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.contacts.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.contacts.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.contacts.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.contacts.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.list.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["contacts"]},"post":{"operationId":"contacts.create","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.create.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.create.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contacts.create.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.contacts.create.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.contacts.create.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.contacts.create.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.contacts.create.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contacts.create.refusal.contact_not_found","description":"Refused: contact_not_found."},{"$ref":"#/components/schemas/operation.contacts.create.refusal.profile_not_found","description":"Refused: profile_not_found."}]}}},"description":"Refusals: contact_not_found, profile_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.create.refusal.contact_phone_taken"}}},"description":"Refused: contact_phone_taken."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contacts.create.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.contacts.create.refusal.contact_phone_invalid","description":"Refused: contact_phone_invalid."}]}}},"description":"Refusals: company_required, contact_phone_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["contacts"]}},"/v1/contacts/import":{"post":{"operationId":"contactImports.run","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactImports.run.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactImports.run.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contactImports.run.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.contactImports.run.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.contactImports.run.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.contactImports.run.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.contactImports.run.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactImports.run.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contactImports.run.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.contactImports.run.refusal.contact_import_invalid","description":"Refused: contact_import_invalid."}]}}},"description":"Refusals: company_required, contact_import_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["contactImports"]}},"/v1/contacts/import/preview":{"post":{"operationId":"contactImports.preview","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactImports.preview.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactImports.preview.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contactImports.preview.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.contactImports.preview.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.contactImports.preview.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.contactImports.preview.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.contactImports.preview.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contactImports.preview.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contactImports.preview.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.contactImports.preview.refusal.contact_import_invalid","description":"Refused: contact_import_invalid."}]}}},"description":"Refusals: company_required, contact_import_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["contactImports"]}},"/v1/contacts/{contactId}":{"delete":{"operationId":"contacts.remove","parameters":[{"explode":false,"in":"path","name":"contactId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.remove.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.remove.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contacts.remove.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.contacts.remove.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.contacts.remove.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.contacts.remove.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.contacts.remove.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contacts.remove.refusal.contact_not_found","description":"Refused: contact_not_found."},{"$ref":"#/components/schemas/operation.contacts.remove.refusal.profile_not_found","description":"Refused: profile_not_found."}]}}},"description":"Refusals: contact_not_found, profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.remove.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["contacts"]},"get":{"operationId":"contacts.get","parameters":[{"explode":false,"in":"path","name":"contactId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contacts.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.contacts.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.contacts.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.contacts.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.contacts.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contacts.get.refusal.contact_not_found","description":"Refused: contact_not_found."},{"$ref":"#/components/schemas/operation.contacts.get.refusal.profile_not_found","description":"Refused: profile_not_found."}]}}},"description":"Refusals: contact_not_found, profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["contacts"]},"patch":{"operationId":"contacts.update","parameters":[{"explode":false,"in":"path","name":"contactId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.update.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.update.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contacts.update.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.contacts.update.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.contacts.update.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.contacts.update.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.contacts.update.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contacts.update.refusal.contact_not_found","description":"Refused: contact_not_found."},{"$ref":"#/components/schemas/operation.contacts.update.refusal.profile_not_found","description":"Refused: profile_not_found."}]}}},"description":"Refusals: contact_not_found, profile_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.contacts.update.refusal.contact_phone_taken"}}},"description":"Refused: contact_phone_taken."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.contacts.update.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.contacts.update.refusal.contact_phone_invalid","description":"Refused: contact_phone_invalid."}]}}},"description":"Refusals: company_required, contact_phone_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["contacts"]}},"/v1/dialer-sessions/{sessionId}":{"get":{"operationId":"solutions.dialer.get","parameters":[{"explode":false,"in":"path","name":"sessionId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.dialer.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.dialer.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.dialer.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.get.refusal.dialer_session_not_found"}}},"description":"Refused: dialer_session_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/dialer-sessions/{sessionId}/entries/{entryId}/outcome":{"post":{"operationId":"solutions.dialer.outcome","parameters":[{"explode":false,"in":"path","name":"entryId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":false,"in":"path","name":"sessionId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.outcome.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.outcome.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.outcome.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.dialer.outcome.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.outcome.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.dialer.outcome.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.dialer.outcome.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.outcome.refusal.dialer_session_not_found"}}},"description":"Refused: dialer_session_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.outcome.refusal.dialer_entry_closed"}}},"description":"Refused: dialer_entry_closed."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.outcome.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.outcome.refusal.dialer_outcome_unknown","description":"Refused: dialer_outcome_unknown."}]}}},"description":"Refusals: company_required, dialer_outcome_unknown."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/dialer-sessions/{sessionId}/next":{"post":{"operationId":"solutions.dialer.next","parameters":[{"explode":false,"in":"path","name":"sessionId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.next.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.next.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.next.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.dialer.next.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.next.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.dialer.next.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.dialer.next.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.next.refusal.dialer_session_not_found"}}},"description":"Refused: dialer_session_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.next.refusal.dialer_outcome_required","description":"Refused: dialer_outcome_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.next.refusal.dialer_session_finished","description":"Refused: dialer_session_finished."},{"$ref":"#/components/schemas/operation.solutions.dialer.next.refusal.dialer_session_paused","description":"Refused: dialer_session_paused."}]}}},"description":"Refusals: dialer_outcome_required, dialer_session_finished, dialer_session_paused."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.next.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.next.refusal.dialer_seller_number_missing","description":"Refused: dialer_seller_number_missing."}]}}},"description":"Refusals: company_required, dialer_seller_number_missing."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/dialer-sessions/{sessionId}/pause":{"post":{"operationId":"solutions.dialer.pause","parameters":[{"explode":false,"in":"path","name":"sessionId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.pause.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.pause.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.pause.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.dialer.pause.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.pause.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.dialer.pause.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.dialer.pause.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.pause.refusal.dialer_session_not_found"}}},"description":"Refused: dialer_session_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.pause.refusal.dialer_session_finished"}}},"description":"Refused: dialer_session_finished."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.pause.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/dialer-sessions/{sessionId}/resume":{"post":{"operationId":"solutions.dialer.resume","parameters":[{"explode":false,"in":"path","name":"sessionId","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.resume.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.resume.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.resume.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.dialer.resume.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.resume.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.dialer.resume.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.dialer.resume.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.resume.refusal.dialer_session_not_found"}}},"description":"Refused: dialer_session_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.resume.refusal.dialer_session_finished"}}},"description":"Refused: dialer_session_finished."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.resume.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/email":{"get":{"operationId":"email.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"cursor","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"q","required":false,"schema":{"maxLength":100,"type":"string"},"style":"form"},{"explode":true,"in":"query","name":"tab","required":false,"schema":{"enum":["all","delivered","sent","bounced","received"],"type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.email.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.email.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.email.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.email.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.email.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.email.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.email.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Email"]},"post":{"operationId":"email.send","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.email.send.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.email.send.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.email.send.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.email.send.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.email.send.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.email.send.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.email.send.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.email.send.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.email.send.refusal.service_off","description":"Refused: service_off."},{"$ref":"#/components/schemas/operation.email.send.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.email.send.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_off, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.email.send.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.email.send.refusal.template_not_found","description":"Refused: template_not_found."}]}}},"description":"Refusals: profile_not_found, template_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.email.send.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.email.send.refusal.email_content_required","description":"Refused: email_content_required."},{"$ref":"#/components/schemas/operation.email.send.refusal.email_domain_not_verified","description":"Refused: email_domain_not_verified."},{"$ref":"#/components/schemas/operation.email.send.refusal.email_sender_not_approved","description":"Refused: email_sender_not_approved."},{"$ref":"#/components/schemas/operation.email.send.refusal.template_variable_missing","description":"Refused: template_variable_missing."},{"$ref":"#/components/schemas/operation.email.send.refusal.template_wrong_service","description":"Refused: template_wrong_service."}]}}},"description":"Refusals: company_required, email_content_required, email_domain_not_verified, email_sender_not_approved, template_variable_missing, template_wrong_service."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.email.send.refusal.service_unavailable"}}},"description":"Refused: service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Email"]}},"/v1/email-campaigns":{"get":{"operationId":"emailCampaigns.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"cursor","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.emailCampaigns.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.emailCampaigns.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.emailCampaigns.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.emailCampaigns.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.emailCampaigns.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.list.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["emailCampaigns"]},"post":{"operationId":"emailCampaigns.create","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.create.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.create.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.campaign_unfunded"}}},"description":"Refused: campaign_unfunded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.service_off","description":"Refused: service_off."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_off, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.campaign_group_not_found","description":"Refused: campaign_group_not_found."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.template_not_found","description":"Refused: template_not_found."}]}}},"description":"Refusals: campaign_group_not_found, profile_not_found, template_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.campaign_recipients_required","description":"Refused: campaign_recipients_required."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.campaign_too_many_recipients","description":"Refused: campaign_too_many_recipients."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.campaign_variable_missing","description":"Refused: campaign_variable_missing."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.email_content_required","description":"Refused: email_content_required."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.email_domain_not_verified","description":"Refused: email_domain_not_verified."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.email_sender_not_approved","description":"Refused: email_sender_not_approved."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.schedule_in_past","description":"Refused: schedule_in_past."},{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.template_wrong_service","description":"Refused: template_wrong_service."}]}}},"description":"Refusals: campaign_recipients_required, campaign_too_many_recipients, campaign_variable_missing, company_required, email_content_required, email_domain_not_verified, email_sender_not_approved, schedule_in_past, template_wrong_service."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.create.refusal.service_unavailable"}}},"description":"Refused: service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["emailCampaigns"]}},"/v1/email-campaigns/quote":{"post":{"operationId":"emailCampaigns.quote","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.quote.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.quote.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.service_off","description":"Refused: service_off."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_off, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.campaign_group_not_found","description":"Refused: campaign_group_not_found."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.template_not_found","description":"Refused: template_not_found."}]}}},"description":"Refusals: campaign_group_not_found, profile_not_found, template_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.campaign_recipients_required","description":"Refused: campaign_recipients_required."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.campaign_too_many_recipients","description":"Refused: campaign_too_many_recipients."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.campaign_variable_missing","description":"Refused: campaign_variable_missing."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.email_content_required","description":"Refused: email_content_required."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.email_domain_not_verified","description":"Refused: email_domain_not_verified."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.email_sender_not_approved","description":"Refused: email_sender_not_approved."},{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.template_wrong_service","description":"Refused: template_wrong_service."}]}}},"description":"Refusals: campaign_recipients_required, campaign_too_many_recipients, campaign_variable_missing, company_required, email_content_required, email_domain_not_verified, email_sender_not_approved, template_wrong_service."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.quote.refusal.service_unavailable"}}},"description":"Refused: service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["emailCampaigns"]}},"/v1/email-campaigns/{id}":{"get":{"operationId":"emailCampaigns.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.emailCampaigns.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.emailCampaigns.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.emailCampaigns.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.emailCampaigns.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.emailCampaigns.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.get.refusal.campaign_not_found"}}},"description":"Refused: campaign_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["emailCampaigns"]}},"/v1/email-campaigns/{id}/cancel":{"post":{"operationId":"emailCampaigns.cancel","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.cancel.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.cancel.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.emailCampaigns.cancel.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.emailCampaigns.cancel.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.emailCampaigns.cancel.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.emailCampaigns.cancel.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.emailCampaigns.cancel.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.cancel.refusal.campaign_not_found"}}},"description":"Refused: campaign_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.cancel.refusal.campaign_not_cancellable"}}},"description":"Refused: campaign_not_cancellable."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailCampaigns.cancel.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["emailCampaigns"]}},"/v1/email-opt-outs":{"get":{"operationId":"emailOptOuts.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"cursor","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"optedOut","required":false,"schema":{"type":"boolean"},"style":"form"},{"explode":true,"in":"query","name":"q","required":false,"schema":{"maxLength":100,"type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailOptOuts.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.emailOptOuts.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.emailOptOuts.list.refusal.email_opt_out_access_denied","description":"Refused: email_opt_out_access_denied."},{"$ref":"#/components/schemas/operation.emailOptOuts.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.emailOptOuts.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.emailOptOuts.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.emailOptOuts.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, email_opt_out_access_denied, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailOptOuts.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["emailOptOuts"]},"post":{"operationId":"emailOptOuts.add","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailOptOuts.add.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailOptOuts.add.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.emailOptOuts.add.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.emailOptOuts.add.refusal.email_opt_out_access_denied","description":"Refused: email_opt_out_access_denied."},{"$ref":"#/components/schemas/operation.emailOptOuts.add.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.emailOptOuts.add.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.emailOptOuts.add.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.emailOptOuts.add.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, email_opt_out_access_denied, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailOptOuts.add.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["emailOptOuts"]}},"/v1/email-opt-outs/{address}":{"delete":{"operationId":"emailOptOuts.remove","parameters":[{"explode":false,"in":"path","name":"address","required":true,"schema":{"format":"email","maxLength":254,"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":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailOptOuts.remove.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailOptOuts.remove.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.emailOptOuts.remove.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.emailOptOuts.remove.refusal.email_opt_out_access_denied","description":"Refused: email_opt_out_access_denied."},{"$ref":"#/components/schemas/operation.emailOptOuts.remove.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.emailOptOuts.remove.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.emailOptOuts.remove.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.emailOptOuts.remove.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, email_opt_out_access_denied, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailOptOuts.remove.refusal.email_opt_out_not_found"}}},"description":"Refused: email_opt_out_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.emailOptOuts.remove.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["emailOptOuts"]}},"/v1/email/{id}":{"get":{"operationId":"email.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.email.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.email.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.email.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.email.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.email.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.email.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.email.get.refusal.email_not_found"}}},"description":"Refused: email_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.email.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Email"]}},"/v1/events":{"get":{"operationId":"events.list","parameters":[{"explode":true,"in":"query","name":"after","required":false,"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":200,"minimum":0,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"mode","required":false,"schema":{"enum":["live","test"],"type":"string"},"style":"form"},{"explode":true,"in":"query","name":"profile","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"types","required":false,"schema":{"items":{"enum":["sms.status","sms.received","sms.optedOut","sms.optedIn","email.status","email.received","letter.status","call.incoming","call.answered","call.ended","call.participant.joined","call.participant.left","call.participant.updated","call.command.completed","call.command.failed","call.command.uncertain","call.offer.accepted","call.offer.expired","call.moved","call.transferred","call.recording.ready","call.recording.failed","call.transcript.ready","call.dtmf.received","call.gather.completed","call.playback.ended","call.machineDetected","call.agent.ended","call.summary.ready","number.activated","number.released","number.order.failed","transcription.job.completed","transcription.job.failed","transcription.session.ended","balance.low","limit.reached","voicemail.received","campaign.completed"],"type":"string"},"maxItems":50,"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.events.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.events.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.events.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.events.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.events.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.events.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.events.list.refusal.event_not_found","description":"Refused: event_not_found."},{"$ref":"#/components/schemas/operation.events.list.refusal.profile_not_found","description":"Refused: profile_not_found."}]}}},"description":"Refusals: event_not_found, profile_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.events.list.refusal.resume_too_old"}}},"description":"Refused: resume_too_old."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.events.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"List the company's events after a position","tags":["Events"]}},"/v1/events/{id}":{"get":{"operationId":"events.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"starts_with","maxLength":36,"minLength":36,"pattern":"^evt_.*","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.events.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.events.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.events.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.events.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.events.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.events.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.events.get.refusal.event_not_found"}}},"description":"Refused: event_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.events.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"Get one event by its id","tags":["Events"]}},"/v1/events/{id}/redeliver":{"post":{"operationId":"events.redeliver","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"starts_with","maxLength":36,"minLength":36,"pattern":"^evt_.*","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.events.redeliver.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.events.redeliver.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.events.redeliver.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.events.redeliver.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.events.redeliver.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.events.redeliver.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.events.redeliver.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.events.redeliver.refusal.event_not_found","description":"Refused: event_not_found."},{"$ref":"#/components/schemas/operation.events.redeliver.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.events.redeliver.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.events.redeliver.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: event_not_found, profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.events.redeliver.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.events.redeliver.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.events.redeliver.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.events.redeliver.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.events.redeliver.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.events.redeliver.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"Send an endpoint's dead-lettered delivery of an event again","tags":["Events"]}},"/v1/letters":{"get":{"operationId":"letters.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"cursor","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"q","required":false,"schema":{"maxLength":100,"type":"string"},"style":"form"},{"explode":true,"in":"query","name":"tab","required":false,"schema":{"enum":["all","processing","printed","posted","delivered","failed"],"type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.letters.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.letters.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.letters.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.letters.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.letters.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.letters.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.letters.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Letters"]},"post":{"operationId":"letters.send","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.letters.send.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.letters.send.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.letters.send.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.letters.send.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.letters.send.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.letters.send.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.letters.send.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.letters.send.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.letters.send.refusal.service_off","description":"Refused: service_off."},{"$ref":"#/components/schemas/operation.letters.send.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.letters.send.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."},{"$ref":"#/components/schemas/operation.letters.send.refusal.verification_required","description":"Refused: verification_required."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_off, service_paused, staff_view_read_only, verification_required."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.letters.send.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.letters.send.refusal.template_not_found","description":"Refused: template_not_found."}]}}},"description":"Refusals: profile_not_found, template_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.letters.send.refusal.upload_expired","description":"Refused: upload_expired."},{"$ref":"#/components/schemas/operation.letters.send.refusal.upload_not_claimable","description":"Refused: upload_not_claimable."}]}}},"description":"Refusals: upload_expired, upload_not_claimable."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.letters.send.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.letters.send.refusal.letter_abroad_unavailable","description":"Refused: letter_abroad_unavailable."},{"$ref":"#/components/schemas/operation.letters.send.refusal.letter_content_required","description":"Refused: letter_content_required."},{"$ref":"#/components/schemas/operation.letters.send.refusal.letter_pdf_invalid","description":"Refused: letter_pdf_invalid."},{"$ref":"#/components/schemas/operation.letters.send.refusal.letter_subject_invalid","description":"Refused: letter_subject_invalid."},{"$ref":"#/components/schemas/operation.letters.send.refusal.letter_subject_required","description":"Refused: letter_subject_required."},{"$ref":"#/components/schemas/operation.letters.send.refusal.letter_too_many_sheets","description":"Refused: letter_too_many_sheets."},{"$ref":"#/components/schemas/operation.letters.send.refusal.letterhead_missing","description":"Refused: letterhead_missing."},{"$ref":"#/components/schemas/operation.letters.send.refusal.letterhead_not_approved","description":"Refused: letterhead_not_approved."},{"$ref":"#/components/schemas/operation.letters.send.refusal.recipient_invalid","description":"Refused: recipient_invalid."},{"$ref":"#/components/schemas/operation.letters.send.refusal.template_variable_missing","description":"Refused: template_variable_missing."},{"$ref":"#/components/schemas/operation.letters.send.refusal.template_wrong_service","description":"Refused: template_wrong_service."}]}}},"description":"Refusals: company_required, letter_abroad_unavailable, letter_content_required, letter_pdf_invalid, letter_subject_invalid, letter_subject_required, letter_too_many_sheets, letterhead_missing, letterhead_not_approved, recipient_invalid, template_variable_missing, template_wrong_service."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.letters.send.refusal.service_unavailable"}}},"description":"Refused: service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Letters"]}},"/v1/letters/quote":{"post":{"operationId":"letters.quote","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.letters.quote.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.letters.quote.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.letters.quote.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.letters.quote.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.template_not_found","description":"Refused: template_not_found."}]}}},"description":"Refusals: profile_not_found, template_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.letters.quote.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.letter_abroad_unavailable","description":"Refused: letter_abroad_unavailable."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.letter_content_required","description":"Refused: letter_content_required."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.letter_pdf_invalid","description":"Refused: letter_pdf_invalid."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.letter_subject_invalid","description":"Refused: letter_subject_invalid."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.letter_subject_required","description":"Refused: letter_subject_required."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.letter_too_many_sheets","description":"Refused: letter_too_many_sheets."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.letterhead_missing","description":"Refused: letterhead_missing."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.letterhead_not_approved","description":"Refused: letterhead_not_approved."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.recipient_invalid","description":"Refused: recipient_invalid."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.template_variable_missing","description":"Refused: template_variable_missing."},{"$ref":"#/components/schemas/operation.letters.quote.refusal.template_wrong_service","description":"Refused: template_wrong_service."}]}}},"description":"Refusals: company_required, letter_abroad_unavailable, letter_content_required, letter_pdf_invalid, letter_subject_invalid, letter_subject_required, letter_too_many_sheets, letterhead_missing, letterhead_not_approved, recipient_invalid, template_variable_missing, template_wrong_service."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.letters.quote.refusal.service_unavailable"}}},"description":"Refused: service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Letters"]}},"/v1/letters/{id}":{"get":{"operationId":"letters.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.letters.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.letters.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.letters.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.letters.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.letters.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.letters.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.letters.get.refusal.letter_not_found"}}},"description":"Refused: letter_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.letters.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Letters"]}},"/v1/limits":{"get":{"operationId":"limits.get","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.limits.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.limits.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.limits.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.limits.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.limits.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.limits.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.limits.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Limits"]}},"/v1/lookup":{"get":{"operationId":"lookup.number","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"number","required":true,"schema":{"maxLength":32,"minLength":1,"type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.lookup.number.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.lookup.number.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.lookup.number.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.lookup.number.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.lookup.number.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.lookup.number.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.lookup.number.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.lookup.number.refusal.recipient_invalid","description":"Refused: recipient_invalid."}]}}},"description":"Refusals: company_required, recipient_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Numbers"]}},"/v1/number-orders/{id}":{"get":{"operationId":"phoneNumbers.getOrder","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.getOrder.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.phoneNumbers.getOrder.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.phoneNumbers.getOrder.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.getOrder.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.phoneNumbers.getOrder.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.phoneNumbers.getOrder.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.getOrder.refusal.phone_number_order_not_found"}}},"description":"Refused: phone_number_order_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.getOrder.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["phoneNumbers"]}},"/v1/numbers":{"get":{"operationId":"phoneNumbers.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.phoneNumbers.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.phoneNumbers.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.phoneNumbers.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.phoneNumbers.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["phoneNumbers"]},"post":{"operationId":"phoneNumbers.order","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.order.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.order.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.destination_not_allowlisted","description":"Refused: destination_not_allowlisted."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.manager_role_required","description":"Refused: manager_role_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.phone_number_order_limit_reached","description":"Refused: phone_number_order_limit_reached."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.service_off","description":"Refused: service_off."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.verification_required","description":"Refused: verification_required."}]}}},"description":"Refusals: company_mismatch, destination_not_allowlisted, manager_role_required, membership_required, phone_number_order_limit_reached, role_insufficient, scope_missing, service_off, service_paused, staff_view_read_only, verification_required."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.phone_number_taken"}}},"description":"Refused: phone_number_taken."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.price_not_accepted","description":"Refused: price_not_accepted."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.routing_clip_invalid","description":"Refused: routing_clip_invalid."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.routing_invalid","description":"Refused: routing_invalid."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.routing_number_blocked","description":"Refused: routing_number_blocked."},{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.test_number_invalid","description":"Refused: test_number_invalid."}]}}},"description":"Refusals: company_required, price_not_accepted, routing_clip_invalid, routing_invalid, routing_number_blocked, test_number_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.order.refusal.carrier_unavailable"}}},"description":"Refused: carrier_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["phoneNumbers"]}},"/v1/numbers/available":{"get":{"operationId":"phoneNumbers.search","parameters":[{"explode":true,"in":"query","name":"area","required":true,"schema":{"enum":["oslo","bergen","trondheim","stavanger","kristiansand","tromso"],"type":"string"},"style":"form"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"contains","required":false,"schema":{"anyOf":[{"maxLength":8,"pattern":"^\\d+$","type":"string"},{"type":"null"}]},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.search.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.phoneNumbers.search.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.phoneNumbers.search.refusal.manager_role_required","description":"Refused: manager_role_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.search.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.search.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.phoneNumbers.search.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.phoneNumbers.search.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, manager_role_required, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.search.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.search.refusal.carrier_unavailable"}}},"description":"Refused: carrier_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["phoneNumbers"]}},"/v1/numbers/{id}":{"delete":{"operationId":"phoneNumbers.release","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.release.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.release.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.phoneNumbers.release.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.phoneNumbers.release.refusal.live_key_required","description":"Refused: live_key_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.release.refusal.manager_role_required","description":"Refused: manager_role_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.release.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.release.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.phoneNumbers.release.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.phoneNumbers.release.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, live_key_required, manager_role_required, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.release.refusal.phone_number_not_found"}}},"description":"Refused: phone_number_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.phoneNumbers.release.refusal.phone_number_in_use","description":"Refused: phone_number_in_use."},{"$ref":"#/components/schemas/operation.phoneNumbers.release.refusal.phone_number_not_active","description":"Refused: phone_number_not_active."}]}}},"description":"Refusals: phone_number_in_use, phone_number_not_active."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.release.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["phoneNumbers"]},"get":{"operationId":"phoneNumbers.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.phoneNumbers.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.phoneNumbers.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.phoneNumbers.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.phoneNumbers.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.get.refusal.phone_number_not_found"}}},"description":"Refused: phone_number_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["phoneNumbers"]},"patch":{"operationId":"phoneNumbers.update","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.update.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.phoneNumbers.update.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.destination_not_allowlisted","description":"Refused: destination_not_allowlisted."},{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.live_key_required","description":"Refused: live_key_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.manager_role_required","description":"Refused: manager_role_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, destination_not_allowlisted, live_key_required, manager_role_required, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.phone_number_not_found","description":"Refused: phone_number_not_found."},{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.solution_not_found","description":"Refused: solution_not_found."}]}}},"description":"Refusals: phone_number_not_found, solution_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.routing_clip_invalid","description":"Refused: routing_clip_invalid."},{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.routing_invalid","description":"Refused: routing_invalid."},{"$ref":"#/components/schemas/operation.phoneNumbers.update.refusal.routing_number_blocked","description":"Refused: routing_number_blocked."}]}}},"description":"Refusals: company_required, routing_clip_invalid, routing_invalid, routing_number_blocked."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["phoneNumbers"]}},"/v1/prices/preview":{"post":{"operationId":"prices.preview","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.prices.preview.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.prices.preview.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.prices.preview.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.prices.preview.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.prices.preview.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.prices.preview.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.prices.preview.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.prices.preview.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.prices.preview.refusal.audio_text_too_long","description":"Refused: audio_text_too_long."},{"$ref":"#/components/schemas/operation.prices.preview.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.prices.preview.refusal.sender_not_approved","description":"Refused: sender_not_approved."},{"$ref":"#/components/schemas/operation.prices.preview.refusal.sms_too_long","description":"Refused: sms_too_long."}]}}},"description":"Refusals: audio_text_too_long, company_required, sender_not_approved, sms_too_long."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Prices"]}},"/v1/profiles":{"get":{"operationId":"profiles.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.profiles.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.profiles.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.profiles.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.profiles.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.profiles.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Profiles"]},"post":{"operationId":"profiles.create","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.create.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.create.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.profiles.create.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.profiles.create.refusal.live_key_required","description":"Refused: live_key_required."},{"$ref":"#/components/schemas/operation.profiles.create.refusal.manager_role_required","description":"Refused: manager_role_required."},{"$ref":"#/components/schemas/operation.profiles.create.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.profiles.create.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.profiles.create.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.profiles.create.refusal.service_not_open","description":"Refused: service_not_open."},{"$ref":"#/components/schemas/operation.profiles.create.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, live_key_required, manager_role_required, membership_required, role_insufficient, scope_missing, service_not_open, staff_view_read_only."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.create.refusal.slug_taken"}}},"description":"Refused: slug_taken."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.profiles.create.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.profiles.create.refusal.slug_invalid","description":"Refused: slug_invalid."}]}}},"description":"Refusals: company_required, slug_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Profiles"]}},"/v1/profiles/{slug}":{"get":{"operationId":"profiles.get","parameters":[{"explode":false,"in":"path","name":"slug","required":true,"schema":{"maxLength":64,"minLength":1,"type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.profiles.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.profiles.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.profiles.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.profiles.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.profiles.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.get.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Profiles"]},"patch":{"operationId":"profiles.update","parameters":[{"explode":false,"in":"path","name":"slug","required":true,"schema":{"maxLength":64,"minLength":1,"type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.update.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.update.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.profiles.update.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.profiles.update.refusal.live_key_required","description":"Refused: live_key_required."},{"$ref":"#/components/schemas/operation.profiles.update.refusal.manager_role_required","description":"Refused: manager_role_required."},{"$ref":"#/components/schemas/operation.profiles.update.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.profiles.update.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.profiles.update.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.profiles.update.refusal.service_not_open","description":"Refused: service_not_open."},{"$ref":"#/components/schemas/operation.profiles.update.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, live_key_required, manager_role_required, membership_required, role_insufficient, scope_missing, service_not_open, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.update.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.update.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Profiles"]}},"/v1/profiles/{slug}/archive":{"post":{"operationId":"profiles.archive","parameters":[{"explode":false,"in":"path","name":"slug","required":true,"schema":{"maxLength":64,"minLength":1,"type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.archive.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.archive.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.profiles.archive.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.profiles.archive.refusal.live_key_required","description":"Refused: live_key_required."},{"$ref":"#/components/schemas/operation.profiles.archive.refusal.manager_role_required","description":"Refused: manager_role_required."},{"$ref":"#/components/schemas/operation.profiles.archive.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.profiles.archive.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.profiles.archive.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.profiles.archive.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, live_key_required, manager_role_required, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.archive.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.archive.refusal.last_profile"}}},"description":"Refused: last_profile."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.archive.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Profiles"]}},"/v1/profiles/{slug}/limit":{"put":{"operationId":"profiles.setLimit","parameters":[{"explode":false,"in":"path","name":"slug","required":true,"schema":{"maxLength":64,"minLength":1,"type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.setLimit.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.setLimit.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.profiles.setLimit.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.profiles.setLimit.refusal.live_key_required","description":"Refused: live_key_required."},{"$ref":"#/components/schemas/operation.profiles.setLimit.refusal.manager_role_required","description":"Refused: manager_role_required."},{"$ref":"#/components/schemas/operation.profiles.setLimit.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.profiles.setLimit.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.profiles.setLimit.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.profiles.setLimit.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, live_key_required, manager_role_required, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.setLimit.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.profiles.setLimit.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Profiles"]}},"/v1/recordings":{"get":{"operationId":"recordings.list","parameters":[{"explode":true,"in":"query","name":"callId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"cursor","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":200,"minimum":1,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.recordings.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.recordings.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.recordings.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.recordings.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.recordings.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.recordings.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.recordings.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["recordings"]}},"/v1/recordings/{id}":{"delete":{"operationId":"recordings.delete","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.recordings.delete.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.recordings.delete.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.recordings.delete.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.recordings.delete.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.recordings.delete.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.recordings.delete.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.recordings.delete.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.recordings.delete.refusal.recording_not_found"}}},"description":"Refused: recording_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.recordings.delete.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["recordings"]},"get":{"operationId":"recordings.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.recordings.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.recordings.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.recordings.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.recordings.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.recordings.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.recordings.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.recordings.get.refusal.recording_not_found"}}},"description":"Refused: recording_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.recordings.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["recordings"]}},"/v1/sms":{"get":{"operationId":"sms.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"cursor","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"q","required":false,"schema":{"maxLength":100,"type":"string"},"style":"form"},{"explode":true,"in":"query","name":"senderKind","required":false,"schema":{"enum":["text","reply_number","dedicated"],"type":"string"},"style":"form"},{"explode":true,"in":"query","name":"tab","required":false,"schema":{"enum":["all","delivered","sent","scheduled","received","failed"],"type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.sms.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.sms.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.sms.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.sms.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.sms.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["SMS"]},"post":{"operationId":"sms.send","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.send.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.send.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.sms.send.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.sms.send.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.sms.send.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.sms.send.refusal.destination_not_allowlisted","description":"Refused: destination_not_allowlisted."},{"$ref":"#/components/schemas/operation.sms.send.refusal.limit_reached","description":"Refused: limit_reached."},{"$ref":"#/components/schemas/operation.sms.send.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.sms.send.refusal.outbound_paused","description":"Refused: outbound_paused."},{"$ref":"#/components/schemas/operation.sms.send.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.sms.send.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.sms.send.refusal.service_off","description":"Refused: service_off."},{"$ref":"#/components/schemas/operation.sms.send.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.sms.send.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, destination_not_allowlisted, limit_reached, membership_required, outbound_paused, role_insufficient, scope_missing, service_off, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.sms.send.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.sms.send.refusal.template_not_found","description":"Refused: template_not_found."}]}}},"description":"Refusals: profile_not_found, template_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.sms.send.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.sms.send.refusal.recipient_invalid","description":"Refused: recipient_invalid."},{"$ref":"#/components/schemas/operation.sms.send.refusal.recipient_opted_out","description":"Refused: recipient_opted_out."},{"$ref":"#/components/schemas/operation.sms.send.refusal.schedule_in_past","description":"Refused: schedule_in_past."},{"$ref":"#/components/schemas/operation.sms.send.refusal.sender_not_approved","description":"Refused: sender_not_approved."},{"$ref":"#/components/schemas/operation.sms.send.refusal.sms_content_required","description":"Refused: sms_content_required."},{"$ref":"#/components/schemas/operation.sms.send.refusal.sms_too_long","description":"Refused: sms_too_long."},{"$ref":"#/components/schemas/operation.sms.send.refusal.template_variable_missing","description":"Refused: template_variable_missing."},{"$ref":"#/components/schemas/operation.sms.send.refusal.template_wrong_service","description":"Refused: template_wrong_service."}]}}},"description":"Refusals: company_required, recipient_invalid, recipient_opted_out, schedule_in_past, sender_not_approved, sms_content_required, sms_too_long, template_variable_missing, template_wrong_service."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.send.refusal.service_unavailable"}}},"description":"Refused: service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["SMS"]}},"/v1/sms-opt-outs":{"get":{"operationId":"smsOptOuts.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"cursor","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"optedOut","required":false,"schema":{"type":"boolean"},"style":"form"},{"explode":true,"in":"query","name":"profile","required":false,"schema":{"maxLength":64,"minLength":1,"type":"string"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"q","required":false,"schema":{"maxLength":100,"type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.smsOptOuts.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.smsOptOuts.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.smsOptOuts.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.smsOptOuts.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.smsOptOuts.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.smsOptOuts.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.smsOptOuts.list.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.smsOptOuts.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["SMS"]},"post":{"operationId":"smsOptOuts.add","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.smsOptOuts.add.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.smsOptOuts.add.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.smsOptOuts.add.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.smsOptOuts.add.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.smsOptOuts.add.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.smsOptOuts.add.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.smsOptOuts.add.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.smsOptOuts.add.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.smsOptOuts.add.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.smsOptOuts.add.refusal.recipient_invalid","description":"Refused: recipient_invalid."}]}}},"description":"Refusals: company_required, recipient_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["SMS"]}},"/v1/sms-opt-outs/{number}":{"delete":{"operationId":"smsOptOuts.remove","parameters":[{"explode":false,"in":"path","name":"number","required":true,"schema":{"maxLength":32,"minLength":1,"type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.smsOptOuts.remove.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.smsOptOuts.remove.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.smsOptOuts.remove.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.smsOptOuts.remove.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.smsOptOuts.remove.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.smsOptOuts.remove.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.smsOptOuts.remove.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.smsOptOuts.remove.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.smsOptOuts.remove.refusal.sms_opt_out_not_found","description":"Refused: sms_opt_out_not_found."}]}}},"description":"Refusals: profile_not_found, sms_opt_out_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.smsOptOuts.remove.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.smsOptOuts.remove.refusal.recipient_invalid","description":"Refused: recipient_invalid."}]}}},"description":"Refusals: company_required, recipient_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["SMS"]}},"/v1/sms/quote":{"post":{"operationId":"sms.quote","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.quote.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.quote.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.sms.quote.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.sms.quote.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.sms.quote.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.sms.quote.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.sms.quote.refusal.service_off","description":"Refused: service_off."},{"$ref":"#/components/schemas/operation.sms.quote.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_off, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.sms.quote.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.sms.quote.refusal.template_not_found","description":"Refused: template_not_found."}]}}},"description":"Refusals: profile_not_found, template_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.sms.quote.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.sms.quote.refusal.sender_not_approved","description":"Refused: sender_not_approved."},{"$ref":"#/components/schemas/operation.sms.quote.refusal.sms_content_required","description":"Refused: sms_content_required."},{"$ref":"#/components/schemas/operation.sms.quote.refusal.sms_too_long","description":"Refused: sms_too_long."},{"$ref":"#/components/schemas/operation.sms.quote.refusal.template_variable_missing","description":"Refused: template_variable_missing."},{"$ref":"#/components/schemas/operation.sms.quote.refusal.template_wrong_service","description":"Refused: template_wrong_service."}]}}},"description":"Refusals: company_required, sender_not_approved, sms_content_required, sms_too_long, template_variable_missing, template_wrong_service."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["SMS"]}},"/v1/sms/{id}":{"get":{"operationId":"sms.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.sms.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.sms.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.sms.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.sms.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.sms.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.get.refusal.sms_not_found"}}},"description":"Refused: sms_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["SMS"]}},"/v1/sms/{id}/cancel":{"post":{"operationId":"sms.cancel","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.cancel.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.cancel.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.sms.cancel.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.sms.cancel.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.sms.cancel.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.sms.cancel.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.sms.cancel.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.cancel.refusal.sms_not_found"}}},"description":"Refused: sms_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.cancel.refusal.sms_not_cancellable"}}},"description":"Refused: sms_not_cancellable."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.sms.cancel.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["SMS"]}},"/v1/solutions":{"get":{"operationId":"solutions.list","parameters":[{"explode":true,"in":"query","name":"archived","required":false,"schema":{"type":"boolean"},"style":"form"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]},"post":{"operationId":"solutions.create","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.create.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.create.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.create.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.create.refusal.live_key_required","description":"Refused: live_key_required."},{"$ref":"#/components/schemas/operation.solutions.create.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.create.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.create.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.create.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, live_key_required, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.create.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.create.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.solutions.create.refusal.solution_config_invalid","description":"Refused: solution_config_invalid."},{"$ref":"#/components/schemas/operation.solutions.create.refusal.solution_kind_unavailable","description":"Refused: solution_kind_unavailable."}]}}},"description":"Refusals: company_required, solution_config_invalid, solution_kind_unavailable."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/solutions/{id}":{"delete":{"operationId":"solutions.remove","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.remove.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.remove.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.remove.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.remove.refusal.live_key_required","description":"Refused: live_key_required."},{"$ref":"#/components/schemas/operation.solutions.remove.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.remove.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.remove.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.remove.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, live_key_required, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.remove.refusal.solution_not_found"}}},"description":"Refused: solution_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.remove.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]},"get":{"operationId":"solutions.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.get.refusal.solution_not_found"}}},"description":"Refused: solution_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]},"patch":{"operationId":"solutions.update","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.update.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.update.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.update.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.update.refusal.live_key_required","description":"Refused: live_key_required."},{"$ref":"#/components/schemas/operation.solutions.update.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.update.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.update.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.update.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, live_key_required, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.update.refusal.solution_not_found"}}},"description":"Refused: solution_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.update.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.solutions.update.refusal.solution_config_invalid","description":"Refused: solution_config_invalid."},{"$ref":"#/components/schemas/operation.solutions.update.refusal.solution_kind_unavailable","description":"Refused: solution_kind_unavailable."}]}}},"description":"Refusals: company_required, solution_config_invalid, solution_kind_unavailable."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/solutions/{id}/availability":{"post":{"operationId":"solutions.supportLines.availability","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.supportLines.availability.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.supportLines.availability.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.supportLines.availability.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.supportLines.availability.refusal.live_key_required","description":"Refused: live_key_required."},{"$ref":"#/components/schemas/operation.solutions.supportLines.availability.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.supportLines.availability.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.supportLines.availability.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.supportLines.availability.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, live_key_required, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.supportLines.availability.refusal.solution_not_found"}}},"description":"Refused: solution_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.supportLines.availability.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.solutions.supportLines.availability.refusal.solution_kind_mismatch","description":"Refused: solution_kind_mismatch."},{"$ref":"#/components/schemas/operation.solutions.supportLines.availability.refusal.support_agent_unknown","description":"Refused: support_agent_unknown."}]}}},"description":"Refusals: company_required, solution_kind_mismatch, support_agent_unknown."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/solutions/{id}/dialer-sessions":{"get":{"operationId":"solutions.dialer.sessions","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.sessions.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.sessions.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.dialer.sessions.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.sessions.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.dialer.sessions.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.dialer.sessions.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.sessions.refusal.solution_not_found"}}},"description":"Refused: solution_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.sessions.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.sessions.refusal.solution_kind_mismatch","description":"Refused: solution_kind_mismatch."}]}}},"description":"Refusals: company_required, solution_kind_mismatch."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]},"post":{"operationId":"solutions.dialer.start","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.start.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.start.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.start.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.dialer.start.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.start.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.dialer.start.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.dialer.start.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.start.refusal.solution_not_found"}}},"description":"Refused: solution_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.start.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.start.refusal.dialer_seller_number_missing","description":"Refused: dialer_seller_number_missing."},{"$ref":"#/components/schemas/operation.solutions.dialer.start.refusal.solution_kind_mismatch","description":"Refused: solution_kind_mismatch."}]}}},"description":"Refusals: company_required, dialer_seller_number_missing, solution_kind_mismatch."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/solutions/{id}/join":{"post":{"operationId":"solutions.conference.join","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.conference.join.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.conference.join.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.conference.join.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.conference.join.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.conference.join.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.conference.join.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.conference.join.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.conference.join.refusal.solution_not_found"}}},"description":"Refused: solution_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.conference.join.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.solutions.conference.join.refusal.conference_full","description":"Refused: conference_full."},{"$ref":"#/components/schemas/operation.solutions.conference.join.refusal.solution_call_refused","description":"Refused: solution_call_refused."},{"$ref":"#/components/schemas/operation.solutions.conference.join.refusal.solution_kind_mismatch","description":"Refused: solution_kind_mismatch."}]}}},"description":"Refusals: company_required, conference_full, solution_call_refused, solution_kind_mismatch."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/solutions/{id}/meetings":{"get":{"operationId":"solutions.conference.meetings","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.conference.meetings.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.conference.meetings.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.conference.meetings.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.conference.meetings.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.conference.meetings.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.conference.meetings.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.conference.meetings.refusal.solution_not_found"}}},"description":"Refused: solution_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.conference.meetings.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.solutions.conference.meetings.refusal.solution_kind_mismatch","description":"Refused: solution_kind_mismatch."}]}}},"description":"Refusals: company_required, solution_kind_mismatch."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/solutions/{id}/queue":{"get":{"operationId":"solutions.supportLines.queue","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.supportLines.queue.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.supportLines.queue.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.supportLines.queue.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.supportLines.queue.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.supportLines.queue.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.supportLines.queue.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.supportLines.queue.refusal.solution_not_found"}}},"description":"Refused: solution_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.supportLines.queue.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.solutions.supportLines.queue.refusal.solution_kind_mismatch","description":"Refused: solution_kind_mismatch."}]}}},"description":"Refusals: company_required, solution_kind_mismatch."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/solutions/{id}/sellers":{"get":{"operationId":"solutions.dialer.sellers","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.sellers.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.sellers.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.dialer.sellers.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.sellers.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.dialer.sellers.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.dialer.sellers.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.dialer.sellers.refusal.solution_not_found"}}},"description":"Refused: solution_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.dialer.sellers.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.solutions.dialer.sellers.refusal.solution_kind_mismatch","description":"Refused: solution_kind_mismatch."}]}}},"description":"Refusals: company_required, solution_kind_mismatch."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/statements":{"get":{"operationId":"statements.get","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"month","required":true,"schema":{"pattern":"^\\d{4}-(0[1-9]|1[0-2])$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.statements.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.statements.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.statements.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.statements.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.statements.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.statements.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.statements.get.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.statements.get.refusal.statement_month_invalid","description":"Refused: statement_month_invalid."}]}}},"description":"Refusals: company_required, statement_month_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["statements"]}},"/v1/support-lines/stats":{"get":{"operationId":"solutions.supportLines.stats","parameters":[{"explode":true,"in":"query","name":"bucket","required":false,"schema":{"enum":["hour","day"],"type":"string"},"style":"form"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"from","required":true,"schema":{"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":"string"},"style":"form"},{"explode":true,"in":"query","name":"solutionId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"to","required":true,"schema":{"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":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.supportLines.stats.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.supportLines.stats.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.supportLines.stats.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.supportLines.stats.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.supportLines.stats.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.supportLines.stats.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.supportLines.stats.refusal.solution_not_found"}}},"description":"Refused: solution_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.supportLines.stats.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.solutions.supportLines.stats.refusal.solution_kind_mismatch","description":"Refused: solution_kind_mismatch."},{"$ref":"#/components/schemas/operation.solutions.supportLines.stats.refusal.support_stats_period_invalid","description":"Refused: support_stats_period_invalid."}]}}},"description":"Refusals: company_required, solution_kind_mismatch, support_stats_period_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/transcription/jobs":{"get":{"operationId":"transcriptionJobs.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"cursor","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionJobs.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.transcriptionJobs.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.transcriptionJobs.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.transcriptionJobs.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.transcriptionJobs.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["transcriptionJobs"]},"post":{"operationId":"transcriptionJobs.create","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.create.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.create.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionJobs.create.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.transcriptionJobs.create.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.transcriptionJobs.create.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.transcriptionJobs.create.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.transcriptionJobs.create.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.create.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionJobs.create.refusal.upload_expired","description":"Refused: upload_expired."},{"$ref":"#/components/schemas/operation.transcriptionJobs.create.refusal.upload_not_claimable","description":"Refused: upload_not_claimable."}]}}},"description":"Refusals: upload_expired, upload_not_claimable."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionJobs.create.refusal.audio_too_large","description":"Refused: audio_too_large."},{"$ref":"#/components/schemas/operation.transcriptionJobs.create.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.transcriptionJobs.create.refusal.transcription_link_invalid","description":"Refused: transcription_link_invalid."}]}}},"description":"Refusals: audio_too_large, company_required, transcription_link_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionJobs.create.refusal.service_unavailable","description":"Refused: service_unavailable."},{"$ref":"#/components/schemas/operation.transcriptionJobs.create.refusal.summary_unavailable","description":"Refused: summary_unavailable."}]}}},"description":"Refusals: service_unavailable, summary_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["transcriptionJobs"]}},"/v1/transcription/jobs/{id}":{"delete":{"operationId":"transcriptionJobs.remove","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.remove.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.remove.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionJobs.remove.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.transcriptionJobs.remove.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.transcriptionJobs.remove.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.transcriptionJobs.remove.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.transcriptionJobs.remove.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.remove.refusal.transcription_job_not_found"}}},"description":"Refused: transcription_job_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.remove.refusal.transcription_job_busy"}}},"description":"Refused: transcription_job_busy."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.remove.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["transcriptionJobs"]},"get":{"operationId":"transcriptionJobs.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionJobs.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.transcriptionJobs.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.transcriptionJobs.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.transcriptionJobs.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.transcriptionJobs.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.get.refusal.transcription_job_not_found"}}},"description":"Refused: transcription_job_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["transcriptionJobs"]}},"/v1/transcription/jobs/{id}/result":{"get":{"operationId":"transcriptionJobs.result","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"format","required":false,"schema":{"enum":["json","srt","vtt","txt"],"type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.result.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionJobs.result.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.transcriptionJobs.result.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.transcriptionJobs.result.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.transcriptionJobs.result.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.transcriptionJobs.result.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.result.refusal.transcription_job_not_found"}}},"description":"Refused: transcription_job_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.result.refusal.transcription_not_ready"}}},"description":"Refused: transcription_not_ready."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionJobs.result.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["transcriptionJobs"]}},"/v1/transcription/jobs/{id}/summary":{"get":{"operationId":"jobSummaries.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.jobSummaries.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.jobSummaries.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.jobSummaries.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.jobSummaries.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.jobSummaries.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.jobSummaries.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.jobSummaries.get.refusal.summary_not_found","description":"Refused: summary_not_found."},{"$ref":"#/components/schemas/operation.jobSummaries.get.refusal.transcription_job_not_found","description":"Refused: transcription_job_not_found."}]}}},"description":"Refusals: summary_not_found, transcription_job_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.jobSummaries.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["jobSummaries"]},"post":{"operationId":"jobSummaries.request","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.jobSummaries.request.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.jobSummaries.request.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.jobSummaries.request.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.jobSummaries.request.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.jobSummaries.request.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.jobSummaries.request.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.jobSummaries.request.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.jobSummaries.request.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.jobSummaries.request.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.jobSummaries.request.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.jobSummaries.request.refusal.transcription_job_not_found"}}},"description":"Refused: transcription_job_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.jobSummaries.request.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.jobSummaries.request.refusal.summary_unavailable"}}},"description":"Refused: summary_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["jobSummaries"]}},"/v1/transcription/sessions":{"post":{"operationId":"transcriptionSessions.create","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.create.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.create.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionSessions.create.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.transcriptionSessions.create.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionSessions.create.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.transcriptionSessions.create.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.transcriptionSessions.create.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.transcriptionSessions.create.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.transcriptionSessions.create.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.transcriptionSessions.create.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.create.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionSessions.create.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.transcriptionSessions.create.refusal.live_options_unsupported","description":"Refused: live_options_unsupported."}]}}},"description":"Refusals: company_required, live_options_unsupported."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.create.refusal.service_unavailable"}}},"description":"Refused: service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["transcriptionSessions"]}},"/v1/transcription/sessions/{id}":{"get":{"operationId":"transcriptionSessions.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionSessions.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.transcriptionSessions.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.transcriptionSessions.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.transcriptionSessions.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.transcriptionSessions.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.get.refusal.transcription_session_not_found"}}},"description":"Refused: transcription_session_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["transcriptionSessions"]}},"/v1/transcription/sessions/{id}/close":{"post":{"operationId":"transcriptionSessions.close","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.close.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.close.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionSessions.close.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.transcriptionSessions.close.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.transcriptionSessions.close.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.transcriptionSessions.close.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.transcriptionSessions.close.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.close.refusal.transcription_session_not_found"}}},"description":"Refused: transcription_session_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.close.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["transcriptionSessions"]}},"/v1/transcription/sessions/{id}/demo-ticket":{"post":{"operationId":"transcriptionSessions.demoTicket","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.demoTicket.output"}}},"description":"The operation succeeded."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.demoTicket.refusal.transcription_session_not_found"}}},"description":"Refused: transcription_session_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.demoTicket.refusal.transcription_session_not_open"}}},"description":"Refused: transcription_session_not_open."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.demoTicket.refusal.transcription_ticket_rate_limited"}}},"description":"Refused: transcription_ticket_rate_limited."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.demoTicket.refusal.service_unavailable"}}},"description":"Refused: service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Guest session only"]}},"/v1/transcription/sessions/{id}/ticket":{"post":{"operationId":"transcriptionSessions.ticket","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.ticket.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.ticket.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcriptionSessions.ticket.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.transcriptionSessions.ticket.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.transcriptionSessions.ticket.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.transcriptionSessions.ticket.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.transcriptionSessions.ticket.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.ticket.refusal.transcription_session_not_found"}}},"description":"Refused: transcription_session_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.ticket.refusal.transcription_session_not_open"}}},"description":"Refused: transcription_session_not_open."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.ticket.refusal.company_required"}}},"description":"Refused: company_required."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.ticket.refusal.transcription_ticket_rate_limited"}}},"description":"Refused: transcription_ticket_rate_limited."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcriptionSessions.ticket.refusal.service_unavailable"}}},"description":"Refused: service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["transcriptionSessions"]}},"/v1/transcripts":{"get":{"operationId":"transcripts.list","parameters":[{"explode":true,"in":"query","name":"callId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"cursor","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":200,"minimum":1,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcripts.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcripts.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.transcripts.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.transcripts.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.transcripts.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.transcripts.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcripts.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["transcripts"]}},"/v1/transcripts/{id}":{"delete":{"operationId":"transcripts.delete","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcripts.delete.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcripts.delete.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcripts.delete.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.transcripts.delete.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.transcripts.delete.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.transcripts.delete.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.transcripts.delete.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcripts.delete.refusal.transcript_not_found"}}},"description":"Refused: transcript_not_found."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcripts.delete.refusal.transcript_in_progress"}}},"description":"Refused: transcript_in_progress."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcripts.delete.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["transcripts"]},"get":{"operationId":"transcripts.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcripts.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.transcripts.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.transcripts.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.transcripts.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.transcripts.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.transcripts.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcripts.get.refusal.transcript_not_found"}}},"description":"Refused: transcript_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.transcripts.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["transcripts"]}},"/v1/tts":{"post":{"operationId":"audio.generate","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.audio.generate.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.audio.generate.output"}}},"description":"The operation succeeded."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.audio.generate.refusal.insufficient_credits","description":"Refused: insufficient_credits."},{"$ref":"#/components/schemas/operation.audio.generate.refusal.profile_limit_reached","description":"Refused: profile_limit_reached."}]}}},"description":"Refusals: insufficient_credits, profile_limit_reached."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.audio.generate.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.audio.generate.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.audio.generate.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.audio.generate.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.audio.generate.refusal.service_off","description":"Refused: service_off."},{"$ref":"#/components/schemas/operation.audio.generate.refusal.service_paused","description":"Refused: service_paused."},{"$ref":"#/components/schemas/operation.audio.generate.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, service_off, service_paused, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.audio.generate.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.audio.generate.refusal.audio_text_too_long","description":"Refused: audio_text_too_long."},{"$ref":"#/components/schemas/operation.audio.generate.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.audio.generate.refusal.voice_unavailable","description":"Refused: voice_unavailable."}]}}},"description":"Refusals: audio_text_too_long, company_required, voice_unavailable."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.audio.generate.refusal.service_unavailable"}}},"description":"Refused: service_unavailable."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Audio"]}},"/v1/usage":{"get":{"operationId":"usage.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"from","required":true,"schema":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"groupBy","required":false,"schema":{"default":"day","enum":["day","service"],"type":"string"},"style":"form"},{"explode":true,"in":"query","name":"profile","required":false,"schema":{"maxLength":64,"minLength":1,"type":"string"},"style":"form"},{"explode":true,"in":"query","name":"to","required":true,"schema":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.usage.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.usage.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.usage.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.usage.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.usage.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.usage.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.usage.list.refusal.profile_not_found"}}},"description":"Refused: profile_not_found."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.usage.list.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.usage.list.refusal.period_invalid","description":"Refused: period_invalid."}]}}},"description":"Refusals: company_required, period_invalid."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Usage"]}},"/v1/voicemails":{"get":{"operationId":"solutions.voicemails.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"cursor","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"limit","required":false,"schema":{"maximum":200,"minimum":1,"type":"integer"},"style":"form"},{"explode":true,"in":"query","name":"profileId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"solutionId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"},{"explode":true,"in":"query","name":"unread","required":false,"schema":{"type":"boolean"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.voicemails.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.voicemails.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.voicemails.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.voicemails.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.voicemails.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.voicemails.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.voicemails.list.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/voicemails/{id}":{"delete":{"operationId":"solutions.voicemails.remove","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.voicemails.remove.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.voicemails.remove.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.voicemails.remove.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.voicemails.remove.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.voicemails.remove.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.voicemails.remove.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.voicemails.remove.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.voicemails.remove.refusal.voicemail_not_found"}}},"description":"Refused: voicemail_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.voicemails.remove.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]},"get":{"operationId":"solutions.voicemails.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.voicemails.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.voicemails.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.voicemails.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.voicemails.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.voicemails.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.voicemails.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.voicemails.get.refusal.voicemail_not_found"}}},"description":"Refused: voicemail_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.voicemails.get.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/voicemails/{id}/read":{"post":{"operationId":"solutions.voicemails.read","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.voicemails.read.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.voicemails.read.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.solutions.voicemails.read.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.solutions.voicemails.read.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.solutions.voicemails.read.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.solutions.voicemails.read.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.solutions.voicemails.read.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.voicemails.read.refusal.voicemail_not_found"}}},"description":"Refused: voicemail_not_found."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.solutions.voicemails.read.refusal.company_required"}}},"description":"Refused: company_required."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["solutions"]}},"/v1/webhook-endpoints":{"get":{"operationId":"webhookEndpoints.list","parameters":[{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.list.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.webhookEndpoints.list.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"tags":["Webhooks"]},"post":{"operationId":"webhookEndpoints.create","parameters":[{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.create.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.create.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.webhookEndpoints.create.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"Create a webhook endpoint","tags":["Webhooks"]}},"/v1/webhook-endpoints/{id}":{"delete":{"operationId":"webhookEndpoints.remove","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.webhookEndpoints.remove.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"Delete a webhook endpoint","tags":["Webhooks"]},"get":{"operationId":"webhookEndpoints.get","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.get.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.webhookEndpoints.get.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"Get a webhook endpoint","tags":["Webhooks"]},"patch":{"operationId":"webhookEndpoints.update","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.update.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.update.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.webhookEndpoints.update.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"Change a webhook endpoint","tags":["Webhooks"]}},"/v1/webhook-endpoints/{id}/attempts":{"get":{"operationId":"webhookEndpoints.attempts","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.webhookEndpoints.attempts.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"List an endpoint's newest delivery attempts","tags":["Webhooks"]}},"/v1/webhook-endpoints/{id}/ed25519":{"put":{"operationId":"webhookEndpoints.setEd25519","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.input"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.webhookEndpoints.setEd25519.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"Turn the Ed25519 signature on or off","tags":["Webhooks"]}},"/v1/webhook-endpoints/{id}/failed-deliveries":{"get":{"operationId":"webhookEndpoints.failedDeliveries","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"},"style":"simple"},{"explode":true,"in":"query","name":"after","required":false,"schema":{"maxLength":512,"type":"string"},"style":"form"},{"explode":true,"in":"query","name":"companyId","required":false,"schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.webhookEndpoints.failedDeliveries.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"List an endpoint's dead-lettered deliveries","tags":["Webhooks"]}},"/v1/webhook-endpoints/{id}/failed-deliveries/{jobId}/replay":{"post":{"operationId":"webhookEndpoints.replay","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"},"style":"simple"},{"explode":false,"in":"path","name":"jobId","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.webhookEndpoints.replay.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"Send one dead-lettered delivery again","tags":["Webhooks"]}},"/v1/webhook-endpoints/{id}/recover-failed":{"post":{"operationId":"webhookEndpoints.recoverFailed","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.webhookEndpoints.recoverFailed.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"Send a page of dead-lettered deliveries again","tags":["Webhooks"]}},"/v1/webhook-endpoints/{id}/revive":{"post":{"operationId":"webhookEndpoints.revive","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.webhookEndpoints.revive.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"Reactivate a disabled webhook endpoint before replaying failed deliveries","tags":["Webhooks"]}},"/v1/webhook-endpoints/{id}/rotate-secret":{"post":{"operationId":"webhookEndpoints.rotateSecret","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.webhookEndpoints.rotateSecret.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"Rotate an endpoint's signing secret","tags":["Webhooks"]}},"/v1/webhook-endpoints/{id}/test":{"post":{"operationId":"webhookEndpoints.test","parameters":[{"explode":false,"in":"path","name":"id","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"},"style":"simple"},{"description":"Binds retries to one execution; a committed key replays the stored response with Idempotency-Replayed: true.","explode":false,"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.test.input"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/operation.webhookEndpoints.test.output"}}},"description":"The operation succeeded."},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.company_mismatch","description":"Refused: company_mismatch."},{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.membership_required","description":"Refused: membership_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.role_insufficient","description":"Refused: role_insufficient."},{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.scope_missing","description":"Refused: scope_missing."},{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.staff_view_read_only","description":"Refused: staff_view_read_only."}]}}},"description":"Refusals: company_mismatch, membership_required, role_insufficient, scope_missing, staff_view_read_only."},"404":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.profile_not_found","description":"Refused: profile_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.webhook_delivery_not_found","description":"Refused: webhook_delivery_not_found."},{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.webhook_endpoint_not_found","description":"Refused: webhook_endpoint_not_found."}]}}},"description":"Refusals: profile_not_found, webhook_delivery_not_found, webhook_endpoint_not_found."},"409":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.webhook_endpoint_conflict","description":"Refused: webhook_endpoint_conflict."},{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.webhook_endpoint_disabled","description":"Refused: webhook_endpoint_disabled."}]}}},"description":"Refusals: webhook_endpoint_conflict, webhook_endpoint_disabled."},"422":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.company_required","description":"Refused: company_required."},{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.webhook_endpoint_invalid","description":"Refused: webhook_endpoint_invalid."},{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.webhook_endpoint_url_refused","description":"Refused: webhook_endpoint_url_refused."},{"$ref":"#/components/schemas/operation.webhookEndpoints.test.refusal.webhook_event_refused","description":"Refused: webhook_event_refused."}]}}},"description":"Refusals: company_required, webhook_endpoint_invalid, webhook_endpoint_url_refused, webhook_event_refused."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/framework.error"}}},"description":"A sanitized framework or application error."}},"security":[{"api-key":[]},{"clerk":[]},{"guest-session":[]}],"summary":"Send a signed test event","tags":["Webhooks"]}}},"servers":[{"url":"https://api.dev.telkit.no"}],"x-pekka-channels":{"company":{"events":{"approvals":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"subjectId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["profileId","subjectId"],"type":"object"},"transient":false},"balance":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"subjectId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["profileId","subjectId"],"type":"object"},"transient":false},"calls":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"subjectId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["profileId","subjectId"],"type":"object"},"transient":false},"campaigns":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"subjectId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["profileId","subjectId"],"type":"object"},"transient":false},"email":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"subjectId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["profileId","subjectId"],"type":"object"},"transient":false},"incomingCall":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"callId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"from":{"type":"string"},"profileId":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},"to":{"type":"string"}},"required":["callId","from","to","profileId"],"type":"object"},"transient":false},"letters":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"subjectId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["profileId","subjectId"],"type":"object"},"transient":false},"limits":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"subjectId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["profileId","subjectId"],"type":"object"},"transient":false},"sms":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"subjectId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["profileId","subjectId"],"type":"object"},"transient":false},"transcript":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"subjectId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["profileId","subjectId"],"type":"object"},"transient":false},"transcription":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"profileId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]},"subjectId":{"anyOf":[{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"},{"type":"null"}]}},"required":["profileId","subjectId"],"type":"object"},"transient":false}}},"staff":{"events":{"queue":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{},"type":"object"},"transient":false}}}}}