@pachca/cli 2026.8.3 → 2026.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +1 -0
- package/dist/commands/security/list.js +1 -1
- package/dist/commands/views/submit-response.js +77 -0
- package/dist/data/alternatives.json +1 -0
- package/dist/data/changelog.json +26 -0
- package/dist/data/endpoints.json +1 -1
- package/dist/data/workflows.json +11 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/data/workflows.json
CHANGED
|
@@ -556,6 +556,17 @@
|
|
|
556
556
|
}
|
|
557
557
|
]
|
|
558
558
|
},
|
|
559
|
+
{
|
|
560
|
+
"title": "Обработать отправку формы (view_submission)",
|
|
561
|
+
"skill": "pachca-forms",
|
|
562
|
+
"steps": [
|
|
563
|
+
{
|
|
564
|
+
"description": "Если адрес исходящего вебхука не задан → ответь методом по `view_id` и `submit_id` из события: пустой `errors` закрывает форму, заполненный показывает ошибки полей",
|
|
565
|
+
"command": "pachca views submit-response <view_id> --submit-id=<submit_id> --errors='{\"date_end\":\"Дата окончания меньше даты начала\"}'",
|
|
566
|
+
"notes": "Окно ответа — 5 секунд. Повторный ответ на ту же отправку возвращает уже принятый результат, а после истечения окна метод отвечает 410 с кодом `submit_expired`"
|
|
567
|
+
}
|
|
568
|
+
]
|
|
569
|
+
},
|
|
559
570
|
{
|
|
560
571
|
"title": "Опрос сотрудников через форму",
|
|
561
572
|
"skill": "pachca-forms",
|