{"add_form_placement":{"type":"object","properties":{"input":{"$ref":"#/$defs/AddFormPlacementInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"AddFormPlacementInput":{"type":"object","properties":{"channelId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"The channel to deliver on. Its surface decides whether a connection is required. A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"config":{"description":"Per-channel settings, shaped by the channel's own slug."},"connectionId":{"type":"string","format":"uuid","description":"The target connection, or null for a MISSIN-hosted channel. Must belong to the caller's active workspace."},"formId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."}},"required":["channelId","config","formId"]}}},"create_form":{"type":"object","properties":{"input":{"$ref":"#/$defs/CreateFormInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"CreateFormInput":{"type":"object","properties":{"body":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"surfaces":{"default":[],"type":"array","items":{"type":"string","enum":["IN_PLATFORM","WEBSITE","EMAIL_SHAREABLE"]}},"priority":{"default":0,"type":"integer","minimum":0,"maximum":9999}},"additionalProperties":false}},"required":["body"]}}},"delete_form":{"type":"object","properties":{"input":{"$ref":"#/$defs/DeleteFormInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"DeleteFormInput":{"type":"object","properties":{"formId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."}},"required":["formId"]}}},"get_form":{"type":"object","properties":{"slug":{"type":"string","description":"Checks for equality with the object’s `formSlug` field."}},"required":["slug"]},"get_form_channels":{"type":"object","properties":{}},"get_form_incentives":{"type":"object","properties":{"formRowIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Included in the specified list."}},"required":["formRowIds"]},"get_form_insight_read":{"type":"object","properties":{"answers":{"$ref":"#/$defs/InsightAnswerFilter","description":"A filter to be used in determining which values should be returned by the collection."},"facts":{"$ref":"#/$defs/InsightFactFilter","description":"A filter to be used in determining which values should be returned by the collection."},"reasons":{"$ref":"#/$defs/FormResponseAnswerReasonFilter","description":"A filter to be used in determining which values should be returned by the collection."}},"required":["answers","facts","reasons"],"$defs":{"InsightAnswerFilter":{"type":"object","properties":{"and":{"type":"array","items":{"$ref":"#/$defs/InsightAnswerFilter"}},"answerId":{"$ref":"#/$defs/UUIDFilter"},"createdAt":{"$ref":"#/$defs/DatetimeFilter"},"customerId":{"$ref":"#/$defs/UUIDFilter"},"formId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"formSlug":{"$ref":"#/$defs/StringFilter"},"mined":{"$ref":"#/$defs/BooleanFilter"},"not":{"$ref":"#/$defs/InsightAnswerFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/InsightAnswerFilter"}},"readable":{"$ref":"#/$defs/BooleanFilter"},"reasonOutcome":{"$ref":"#/$defs/StringFilter"},"responseId":{"$ref":"#/$defs/UUIDFilter"},"who":{"$ref":"#/$defs/UUIDFilter"},"workspaceId":{"$ref":"#/$defs/UUIDFilter"}}},"UUIDFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"uuid"},"greaterThan":{"type":"string","format":"uuid"},"greaterThanOrEqualTo":{"type":"string","format":"uuid"},"in":{"type":"array","items":{"type":"string","format":"uuid"}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"uuid"},"lessThanOrEqualTo":{"type":"string","format":"uuid"},"notEqualTo":{"type":"string","format":"uuid"},"notIn":{"type":"array","items":{"type":"string","format":"uuid"}}}},"DatetimeFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"in":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"lessThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notIn":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}}}},"StringFilter":{"type":"object","properties":{"equalTo":{"type":"string"},"greaterThan":{"type":"string"},"greaterThanOrEqualTo":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"includesInsensitive":{"type":"string"},"isNull":{"type":"boolean"},"lessThan":{"type":"string"},"lessThanOrEqualTo":{"type":"string"},"notEqualTo":{"type":"string"},"notIn":{"type":"array","items":{"type":"string"}}}},"BooleanFilter":{"type":"object","properties":{"equalTo":{"type":"boolean"},"greaterThan":{"type":"boolean"},"greaterThanOrEqualTo":{"type":"boolean"},"in":{"type":"array","items":{"type":"boolean"}},"isNull":{"type":"boolean"},"lessThan":{"type":"boolean"},"lessThanOrEqualTo":{"type":"boolean"},"notEqualTo":{"type":"boolean"},"notIn":{"type":"array","items":{"type":"boolean"}}}},"InsightFactFilter":{"type":"object","properties":{"and":{"type":"array","items":{"$ref":"#/$defs/InsightFactFilter"}},"answerId":{"$ref":"#/$defs/UUIDFilter"},"attribute":{"$ref":"#/$defs/StringFilter"},"attributeClass":{"$ref":"#/$defs/StringFilter"},"confidence":{"$ref":"#/$defs/FloatFilter"},"createdAt":{"$ref":"#/$defs/DatetimeFilter"},"customerId":{"$ref":"#/$defs/UUIDFilter"},"factId":{"$ref":"#/$defs/StringFilter"},"formId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"formSlug":{"$ref":"#/$defs/StringFilter"},"kind":{"$ref":"#/$defs/StringFilter"},"not":{"$ref":"#/$defs/InsightFactFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/InsightFactFilter"}},"polarity":{"$ref":"#/$defs/FloatFilter"},"polarityBand":{"$ref":"#/$defs/IntFilter"},"polaritySign":{"$ref":"#/$defs/IntFilter"},"responseId":{"$ref":"#/$defs/UUIDFilter"},"subject":{"$ref":"#/$defs/StringFilter"},"subjectClass":{"$ref":"#/$defs/StringFilter"},"thing":{"$ref":"#/$defs/StringFilter"},"thingClass":{"$ref":"#/$defs/StringFilter"},"who":{"$ref":"#/$defs/UUIDFilter"},"workspaceId":{"$ref":"#/$defs/UUIDFilter"}}},"FloatFilter":{"type":"object","properties":{"equalTo":{"type":"number"},"greaterThan":{"type":"number"},"greaterThanOrEqualTo":{"type":"number"},"in":{"type":"array","items":{"type":"number"}},"isNull":{"type":"boolean"},"lessThan":{"type":"number"},"lessThanOrEqualTo":{"type":"number"},"notEqualTo":{"type":"number"},"notIn":{"type":"array","items":{"type":"number"}}}},"IntFilter":{"type":"object","properties":{"equalTo":{"type":"integer"},"greaterThan":{"type":"integer"},"greaterThanOrEqualTo":{"type":"integer"},"in":{"type":"array","items":{"type":"integer"}},"isNull":{"type":"boolean"},"lessThan":{"type":"integer"},"lessThanOrEqualTo":{"type":"integer"},"notEqualTo":{"type":"integer"},"notIn":{"type":"array","items":{"type":"integer"}}}},"FormResponseAnswerReasonFilter":{"type":"object","properties":{"and":{"type":"array","items":{"$ref":"#/$defs/FormResponseAnswerReasonFilter"}},"answerId":{"$ref":"#/$defs/UUIDFilter"},"broad":{"$ref":"#/$defs/StringFilter"},"family":{"$ref":"#/$defs/StringFilter"},"not":{"$ref":"#/$defs/FormResponseAnswerReasonFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/FormResponseAnswerReasonFilter"}},"workspaceId":{"$ref":"#/$defs/UUIDFilter"}}}}},"get_form_install":{"type":"object","properties":{"slug":{"type":"string","description":"Checks for equality with the object’s `formSlug` field."}},"required":["slug"]},"get_form_response":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Equal to the specified value."}},"required":["id"]},"get_form_responses_surface":{"type":"object","properties":{"first":{"type":"integer","default":25,"description":"Only read the first `n` values of the set."},"from":{"type":"string","format":"date-time","description":"Window start. Defaults to 30 days ago."},"listFilter":{"$ref":"#/$defs/FormResponseFilter","description":"A filter to be used in determining which values should be returned by the collection."},"placementId":{"type":"string","format":"uuid","description":"Scope to one placement. Omit for every placement of the form."},"slug":{"type":"string","description":"Checks for equality with the object’s `formSlug` field."},"to":{"type":"string","format":"date-time","description":"Window end. Defaults to now."},"windowFilter":{"$ref":"#/$defs/FormResponseFilter","description":"A filter to be used in determining which values should be returned by the collection."}},"required":["slug"],"$defs":{"FormResponseFilter":{"type":"object","properties":{"and":{"type":"array","items":{"$ref":"#/$defs/FormResponseFilter"}},"channelByChannelIdExists":{"type":"boolean"},"channelId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"clickId":{"$ref":"#/$defs/StringFilter"},"clickIdKind":{"$ref":"#/$defs/StringFilter"},"completedAt":{"$ref":"#/$defs/DatetimeFilter"},"connectionByConnectionIdExists":{"type":"boolean"},"connectionId":{"$ref":"#/$defs/UUIDFilter"},"createdAt":{"$ref":"#/$defs/DatetimeFilter"},"customerByCustomerIdExists":{"type":"boolean"},"customerId":{"$ref":"#/$defs/UUIDFilter"},"discountCodeByDiscountCodeIdExists":{"type":"boolean"},"discountCodeId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"formPlacementByFormPlacementIdExists":{"type":"boolean"},"formPlacementId":{"$ref":"#/$defs/UUIDFilter"},"formVariantId":{"$ref":"#/$defs/UUIDFilter"},"not":{"$ref":"#/$defs/FormResponseFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/FormResponseFilter"}},"originRef":{"$ref":"#/$defs/StringFilter"},"partnerByPartnerIdExists":{"type":"boolean"},"partnerId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the partner's name, \"@handle\", or { \"name\": \"…\" } — resolved for you."},"rowId":{"$ref":"#/$defs/UUIDFilter"},"sessionId":{"$ref":"#/$defs/StringFilter"},"shortLinkByShortLinkIdExists":{"type":"boolean"},"shortLinkId":{"$ref":"#/$defs/UUIDFilter"},"status":{"$ref":"#/$defs/FormResponseStatusFilter"},"visitorId":{"$ref":"#/$defs/UUIDFilter"}}},"UUIDFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"uuid"},"greaterThan":{"type":"string","format":"uuid"},"greaterThanOrEqualTo":{"type":"string","format":"uuid"},"in":{"type":"array","items":{"type":"string","format":"uuid"}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"uuid"},"lessThanOrEqualTo":{"type":"string","format":"uuid"},"notEqualTo":{"type":"string","format":"uuid"},"notIn":{"type":"array","items":{"type":"string","format":"uuid"}}}},"StringFilter":{"type":"object","properties":{"equalTo":{"type":"string"},"greaterThan":{"type":"string"},"greaterThanOrEqualTo":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"includesInsensitive":{"type":"string"},"isNull":{"type":"boolean"},"lessThan":{"type":"string"},"lessThanOrEqualTo":{"type":"string"},"notEqualTo":{"type":"string"},"notIn":{"type":"array","items":{"type":"string"}}}},"DatetimeFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"in":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"lessThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notIn":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}}}},"FormResponseStatusFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"greaterThan":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"greaterThanOrEqualTo":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"in":{"type":"array","items":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"lessThanOrEqualTo":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"notEqualTo":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"notIn":{"type":"array","items":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]}}}}}},"get_form_short_links":{"type":"object","properties":{}},"list_forms":{"type":"object","properties":{"filter":{"$ref":"#/$defs/FormFilter","description":"A filter to be used in determining which values should be returned by the collection."},"first":{"type":"integer","default":500,"description":"Only read the first `n` values of the set."}},"$defs":{"FormFilter":{"type":"object","properties":{"and":{"type":"array","items":{"$ref":"#/$defs/FormFilter"}},"endsAt":{"$ref":"#/$defs/DatetimeFilter"},"formSlug":{"$ref":"#/$defs/StringFilter"},"not":{"$ref":"#/$defs/FormFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/FormFilter"}},"rowId":{"$ref":"#/$defs/UUIDFilter"},"startsAt":{"$ref":"#/$defs/DatetimeFilter"},"title":{"$ref":"#/$defs/StringFilter"}}},"DatetimeFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"in":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"lessThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notIn":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}}}},"StringFilter":{"type":"object","properties":{"equalTo":{"type":"string"},"greaterThan":{"type":"string"},"greaterThanOrEqualTo":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"includesInsensitive":{"type":"string"},"isNull":{"type":"boolean"},"lessThan":{"type":"string"},"lessThanOrEqualTo":{"type":"string"},"notEqualTo":{"type":"string"},"notIn":{"type":"array","items":{"type":"string"}}}},"UUIDFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"uuid"},"greaterThan":{"type":"string","format":"uuid"},"greaterThanOrEqualTo":{"type":"string","format":"uuid"},"in":{"type":"array","items":{"type":"string","format":"uuid"}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"uuid"},"lessThanOrEqualTo":{"type":"string","format":"uuid"},"notEqualTo":{"type":"string","format":"uuid"},"notIn":{"type":"array","items":{"type":"string","format":"uuid"}}}}}},"get_form_triggers":{"type":"object","properties":{"formRowIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Included in the specified list."}},"required":["formRowIds"]},"get_promotion_rotation":{"type":"object","properties":{}},"publish_form":{"type":"object","properties":{"input":{"$ref":"#/$defs/PublishFormInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"PublishFormInput":{"type":"object","properties":{"formId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"shares":{"type":"array","items":{"$ref":"#/$defs/PromotionShareInput"},"minItems":1,"description":"The full promotion split, required when other forms are already published. Omitted for the workspace's only published form (it takes 100% as main)."}},"required":["formId"]},"PromotionShareInput":{"type":"object","description":"One form's share of the workspace's promotion.","properties":{"formId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"main":{"type":"boolean","description":"The control. Exactly one entry carries it."},"share":{"type":"integer","minimum":0,"maximum":100,"description":"Whole percent, 0-100. The rotation's shares sum to exactly 100."}},"required":["formId","main","share"]}}},"remove_form_placement":{"type":"object","properties":{"input":{"$ref":"#/$defs/RemoveFormPlacementInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"RemoveFormPlacementInput":{"type":"object","properties":{"placementId":{"type":"string","format":"uuid"}},"required":["placementId"]}}},"replace_form_triggers":{"type":"object","properties":{"input":{"$ref":"#/$defs/ReplaceFormTriggersInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"ReplaceFormTriggersInput":{"type":"object","properties":{"formId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"triggers":{"maxItems":6,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"PAGE_URL"},"matches":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"op":{"type":"string","enum":["CONTAINS","EXACT","STARTS_WITH"]},"value":{"type":"string","minLength":1,"maxLength":512}},"required":["op","value"]}}},"required":["type","matches"]},{"type":"object","properties":{"type":{"type":"string","const":"TIME_ON_PAGE"},"delay_ms":{"type":"integer","minimum":0,"maximum":300000}},"required":["type","delay_ms"]},{"type":"object","properties":{"type":{"type":"string","const":"SCROLL_DEPTH"},"percent":{"type":"integer","minimum":1,"maximum":100}},"required":["type","percent"]},{"type":"object","properties":{"type":{"type":"string","const":"EXIT_INTENT"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"CLICK_ELEMENT"},"selector":{"type":"string","minLength":1,"maxLength":256}},"required":["type","selector"]},{"type":"object","properties":{"type":{"type":"string","const":"ADD_TO_CART"},"delay_ms":{"type":"integer","minimum":0,"maximum":300000}},"required":["type","delay_ms"]}]},"description":"The whole set, replace-style — [{ type, ...params }]."}},"required":["formId","triggers"]}}},"rotate_form_public_key":{"type":"object","properties":{"input":{"$ref":"#/$defs/RotateFormPublicKeyInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"RotateFormPublicKeyInput":{"type":"object","properties":{"placementId":{"type":"string","format":"uuid"}},"required":["placementId"]}}},"save_form_draft":{"type":"object","properties":{"input":{"$ref":"#/$defs/SaveFormDraftInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"SaveFormDraftInput":{"type":"object","properties":{"formId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"payload":{"description":"The BuilderModel the editor holds."}},"required":["formId","payload"]}}},"set_form_placement_copy":{"type":"object","properties":{"input":{"$ref":"#/$defs/SetFormPlacementCopyInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"SetFormPlacementCopyInput":{"type":"object","properties":{"field":{"type":"string","enum":["tier_note_text","upsell_text"]},"placementId":{"type":"string","format":"uuid"},"text":{"type":"string","description":"[incentive] resolves to that line's own reward. Null clears the override."}},"required":["field","placementId"]}}},"set_form_placement_published":{"type":"object","properties":{"input":{"$ref":"#/$defs/SetFormPlacementPublishedInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"SetFormPlacementPublishedInput":{"type":"object","properties":{"placementId":{"type":"string","format":"uuid"},"published":{"type":"boolean"}},"required":["placementId","published"]}}},"set_form_placement_qr_style":{"type":"object","properties":{"input":{"$ref":"#/$defs/SetFormPlacementQrStyleInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"SetFormPlacementQrStyleInput":{"type":"object","properties":{"placementId":{"type":"string","format":"uuid"},"qr":{"type":"object","properties":{"preset":{"default":"classic","type":"string","enum":["classic","soft","dotted","diamond","accent","ink"]},"size":{"default":"l","type":"string","enum":["m","l","xl"]},"mode":{"default":"light","type":"string","enum":["light","dark"]},"fg":{"default":null,"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"eye":{"default":null,"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"bg":{"default":null,"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"dots":{"default":null,"anyOf":[{"type":"string","enum":["square","rounded","dot","diamond"]},{"type":"null"}]},"eyes":{"default":null,"anyOf":[{"type":"string","enum":["square","rounded","dot"]},{"type":"null"}]},"link":{"default":null,"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"center":{"default":true,"type":"boolean"}},"description":"A QrStyle object. Null clears the override."}},"required":["placementId"]}}},"set_form_promotion":{"type":"object","properties":{"input":{"$ref":"#/$defs/SetFormPromotionInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"SetFormPromotionInput":{"type":"object","properties":{"shares":{"type":"array","items":{"$ref":"#/$defs/PromotionShareInput"},"minItems":1,"description":"The FULL rotation - shares sum to 100 and exactly one entry is main."}},"required":["shares"]},"PromotionShareInput":{"type":"object","description":"One form's share of the workspace's promotion.","properties":{"formId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"main":{"type":"boolean","description":"The control. Exactly one entry carries it."},"share":{"type":"integer","minimum":0,"maximum":100,"description":"Whole percent, 0-100. The rotation's shares sum to exactly 100."}},"required":["formId","main","share"]}}},"set_short_link_disabled":{"type":"object","properties":{"input":{"$ref":"#/$defs/SetShortLinkDisabledInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"SetShortLinkDisabledInput":{"type":"object","properties":{"disabled":{"type":"boolean","description":"True revokes it now; false puts it back."},"shortLinkId":{"type":"string","format":"uuid","description":"The row, not the code — the code is the public half and is already shared."}},"required":["disabled","shortLinkId"]}}},"update_form":{"type":"object","properties":{"input":{"$ref":"#/$defs/UpdateFormInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"UpdateFormInput":{"type":"object","properties":{"body":{"type":"object","properties":{"title":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"surfaces":{"type":"array","items":{"type":"string","enum":["IN_PLATFORM","WEBSITE","EMAIL_SHAREABLE"]}},"priority":{"type":"integer","minimum":0,"maximum":9999},"status":{"type":"string","enum":["DRAFT","READY","PUBLISHED","ARCHIVED"]},"view_type":{"type":"string","enum":["UPSELL","PICKER"]},"returning_enabled":{"type":"boolean"},"starts_at":{"anyOf":[{},{"type":"null"}]},"ends_at":{"anyOf":[{},{"type":"null"}]},"enable_repeat":{"type":"boolean"},"enable_ends_at":{"type":"boolean"},"tags":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":180},"additionalProperties":{"type":"string","enum":["default","gray","brown","orange","yellow","green","blue","purple","pink","red"]}},"reason_set":{"type":"object","properties":{"question_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"question_key":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"reasons":{"minItems":2,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":32,"pattern":"^[a-z][a-z0-9_]*$"},"what":{"type":"string","minLength":1}},"required":["key","what"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false,"description":"Dirty-only patch: title, surfaces, priority, status, view_type, returning_enabled, starts_at, ends_at, enable_repeat, enable_ends_at."},"formId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."}},"required":["body","formId"]}}},"verify_form_placement":{"type":"object","properties":{"input":{"$ref":"#/$defs/VerifyFormPlacementInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"VerifyFormPlacementInput":{"type":"object","properties":{"placementId":{"type":"string","format":"uuid"}},"required":["placementId"]}}}}