{"list_channels":{"type":"object","properties":{"after":{"type":"string","description":"Read all values in the set after (below) this cursor."},"filter":{"$ref":"#/$defs/ChannelFilter","description":"A filter to be used in determining which values should be returned by the collection."},"first":{"type":"integer","default":50,"description":"Only read the first `n` values of the set."}},"$defs":{"ChannelFilter":{"type":"object","properties":{"and":{"type":"array","items":{"$ref":"#/$defs/ChannelFilter"}},"channelSlug":{"$ref":"#/$defs/StringFilter"},"channelTypeId":{"$ref":"#/$defs/UUIDFilter"},"name":{"$ref":"#/$defs/StringFilter"},"not":{"$ref":"#/$defs/ChannelFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/ChannelFilter"}},"rowId":{"$ref":"#/$defs/UUIDFilter"},"socialNetworkBySocialNetworkIdExists":{"type":"boolean"},"socialNetworkId":{"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."},"status":{"$ref":"#/$defs/ChannelStatusFilter"},"utmContent":{"$ref":"#/$defs/StringFilter"},"utmMedium":{"$ref":"#/$defs/StringFilter"},"utmSource":{"$ref":"#/$defs/StringFilter"}}},"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"}}}},"ChannelStatusFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["ACTIVE","DISABLED","DROPPED"]},"greaterThan":{"type":"string","enum":["ACTIVE","DISABLED","DROPPED"]},"greaterThanOrEqualTo":{"type":"string","enum":["ACTIVE","DISABLED","DROPPED"]},"in":{"type":"array","items":{"type":"string","enum":["ACTIVE","DISABLED","DROPPED"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["ACTIVE","DISABLED","DROPPED"]},"lessThanOrEqualTo":{"type":"string","enum":["ACTIVE","DISABLED","DROPPED"]},"notEqualTo":{"type":"string","enum":["ACTIVE","DISABLED","DROPPED"]},"notIn":{"type":"array","items":{"type":"string","enum":["ACTIVE","DISABLED","DROPPED"]}}}}}},"get_channel_type":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Checks for equality with the object’s `rowId` field."}},"required":["id"]},"get_channel_type_options":{"type":"object","properties":{"first":{"type":"integer","default":200,"description":"Only read the first `n` values of the set."}}},"create_channel":{"type":"object","properties":{"body":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"channel_type_id":{"type":"string","format":"uuid"},"display_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"utm_source":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"utm_medium":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"utm_content":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"status":{"type":"string","enum":["ACTIVE","DISABLED","DROPPED"]},"media_kind":{"anyOf":[{"type":"string","enum":["IMAGE_POST","SHORT_VIDEO","LONG_VIDEO","STORY","LIVE","TEXT_POST","ADVERTISEMENT"]},{"type":"null"}]}},"required":["name","channel_type_id"]}},"required":["body"]},"save_channel_type":{"type":"object","properties":{"input":{"$ref":"#/$defs/SaveChannelTypeInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"SaveChannelTypeInput":{"type":"object","properties":{"askDetail":{"type":"boolean","description":"Off silences this type's follow-up for every form saved after."},"channelTypeId":{"type":"string","format":"uuid"},"detailOptions":{"type":"array","items":{"type":"string","maxLength":60},"description":"The follow-up's answers. Fewer than two means no follow-up is asked."},"detailPrompt":{"type":"string","maxLength":200,"description":"The follow-up question asked after a channel of this type is picked."},"displayName":{"type":"string","maxLength":80,"description":"What a respondent reads. Null or blank falls back to the canonical name."}},"required":["channelTypeId"]}}},"update_channel_fields":{"type":"object","properties":{"body":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"display_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"utm_source":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"utm_medium":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"utm_content":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"status":{"type":"string","enum":["ACTIVE","DISABLED","DROPPED"]},"media_kind":{"anyOf":[{"type":"string","enum":["IMAGE_POST","SHORT_VIDEO","LONG_VIDEO","STORY","LIVE","TEXT_POST","ADVERTISEMENT"]},{"type":"null"}]}},"description":"Any subset of the writable columns, in snake_case column names. Blank text and media_kind accept null to mean 'not set'."},"channelId":{"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","channelId"]}}