{"name":"site_subscription_storefront","title":"Настроить витрину подписок","section":"Подписки покупателей","mode":"write","url":"/tools/site_subscription_storefront","blurb":"Читает и настраивает планы и предложения, отображаемые на выбранном сайте.","aliases":"","kind":"Инструмент","examples":[{"label":"Рабочая задача","prompt":"Какие планы сейчас представлены на витрине этого сайта? Сопоставь их с выбранными планами компании и покажи отличия.","check":"Читает и настраивает планы и предложения, отображаемые на выбранном сайте."},{"label":"Выбрать режим","prompt":"Для задачи «Настроить витрину подписок» сравни режимы status и configure инструмента site_subscription_storefront. Какой подойдёт в моём случае и какие данные нужно подготовить?","check":"Сопоставить два режима и их аргументы."},{"label":"После сбоя","prompt":"При выполнении «Настроить витрину подписок» связь прервалась после отправки. Для site_subscription_storefront проверь исходный ключ операции и текущее состояние объекта перед решением о повторе.","check":"Сопоставить результат с исходной операцией."}],"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"siteId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"},"operation":{"default":"status","type":"string","enum":["status","configure","replace"]},"planIds":{"description":"Complete storefront list for configure.","maxItems":250,"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"}},"removePlanIds":{"description":"Existing offers to unlist in the same transaction as addPlanIds. Contracts continue unchanged.","maxItems":250,"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"}},"addPlanIds":{"description":"Active offers to list together. Other storefront offers are retained.","maxItems":250,"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"}},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"idempotencyKey":{"type":"string","pattern":"^[A-Za-z0-9_-]{8,128}$"}},"required":["siteId","operation"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"},"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]}}},"argumentExample":{"operation":"status","siteId":"site_demo"}}