@pachca/cli 2026.10.0 → 2026.10.2
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 +14 -0
- package/README.md +7 -5
- package/dist/base-command.js +12 -0
- package/dist/client.js +2 -1
- package/dist/commands/bots/create.js +1 -1
- package/dist/commands/bots/list-company.js +1 -1
- package/dist/commands/bots/list-events.js +1 -1
- package/dist/commands/bots/list-tokens.js +1 -1
- package/dist/commands/bots/list.js +2 -2
- package/dist/commands/bots/remove-avatar.js +42 -0
- package/dist/commands/bots/remove-event.js +1 -1
- package/dist/commands/bots/update-avatar.js +51 -0
- package/dist/commands/bots/update.js +4 -4
- package/dist/commands/chats/create.js +3 -2
- package/dist/commands/chats/download-export.js +1 -1
- package/dist/commands/chats/get.js +1 -1
- package/dist/commands/chats/list-company.js +1 -1
- package/dist/commands/chats/list.js +1 -1
- package/dist/commands/chats/mark-unread.js +1 -1
- package/dist/commands/chats/request-export.js +4 -2
- package/dist/commands/drafts/list.js +1 -1
- package/dist/commands/files/direct-url.js +8 -4
- package/dist/commands/group-tags/get.js +1 -1
- package/dist/commands/group-tags/list-users.js +2 -2
- package/dist/commands/group-tags/list.js +3 -3
- package/dist/commands/members/add.js +2 -2
- package/dist/commands/members/list.js +2 -2
- package/dist/commands/members/remove-group-tag.js +1 -1
- package/dist/commands/members/remove.js +1 -1
- package/dist/commands/members/update.js +1 -1
- package/dist/commands/messages/create.js +9 -10
- package/dist/commands/messages/get.js +1 -1
- package/dist/commands/messages/list.js +1 -1
- package/dist/commands/messages/update.js +1 -1
- package/dist/commands/profile/update-status.js +3 -32
- package/dist/commands/reactions/list.js +1 -1
- package/dist/commands/read-member/list-readers.js +1 -1
- package/dist/commands/search/list-chats.js +2 -2
- package/dist/commands/search/list-messages.js +6 -6
- package/dist/commands/search/list-users.js +4 -4
- package/dist/commands/security/list.js +2 -2
- package/dist/commands/tasks/get.js +1 -1
- package/dist/commands/tasks/list.js +5 -5
- package/dist/commands/threads/get.js +1 -1
- package/dist/commands/threads/list.js +2 -2
- package/dist/commands/upload.js +5 -2
- package/dist/commands/users/get.js +1 -1
- package/dist/commands/users/list.js +1 -1
- package/dist/commands/users/update-status.js +3 -32
- package/dist/commands/users/update.js +2 -2
- package/dist/commands/views/open.js +2 -2
- package/dist/data/alternatives.json +7 -5
- package/dist/data/changelog.json +52 -0
- package/dist/data/endpoints.json +1 -1
- package/dist/data/workflows.json +7 -7
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/data/workflows.json
CHANGED
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"notes": "`last_message_at_after`/`last_message_at_before` — ISO-8601, UTC+0. `limit` 1-50 (по умолчанию 50). Сортировка — по убыванию времени последнего сообщения."
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
"description": "
|
|
161
|
+
"description": "Пока `meta.paginate.has_next` равен `true`, бери следующую страницу через `--cursor=<next_page>`",
|
|
162
162
|
"command": "pachca threads list --last-message-at-after=2026-05-19T00:00:00.000Z --cursor=<next_page>"
|
|
163
163
|
},
|
|
164
164
|
{
|
|
@@ -377,13 +377,13 @@
|
|
|
377
377
|
"skill": "pachca-chats",
|
|
378
378
|
"steps": [
|
|
379
379
|
{
|
|
380
|
-
"description": "Запроси экспорт",
|
|
381
|
-
"command": "pachca chats request-export --start-at=<YYYY-MM-DD> --end-at=<YYYY-MM-DD>
|
|
382
|
-
"notes": "`start_at`, `end_at` (YYYY-MM-DD).
|
|
380
|
+
"description": "Запроси экспорт и возьми номер выгрузки из `data.id`",
|
|
381
|
+
"command": "pachca chats request-export --start-at=<YYYY-MM-DD> --end-at=<YYYY-MM-DD>",
|
|
382
|
+
"notes": "`start_at`, `end_at` (YYYY-MM-DD). Номер приходит с заголовком `Prefer: return=representation` и ответом `202`, CLI и SDK шлют его сами. Без заголовка ответ `204` без тела"
|
|
383
383
|
},
|
|
384
384
|
{
|
|
385
385
|
"description": "Скачай файл экспорта",
|
|
386
|
-
"command": "pachca chats download-export <
|
|
386
|
+
"command": "pachca chats download-export <id>",
|
|
387
387
|
"notes": "Сервер вернёт 302, HTTP-клиент скачает файл автоматически"
|
|
388
388
|
}
|
|
389
389
|
]
|
|
@@ -517,7 +517,7 @@
|
|
|
517
517
|
"skill": "pachca-bots",
|
|
518
518
|
"steps": [
|
|
519
519
|
{
|
|
520
|
-
"description": "Пользовательским токеном (скоуп `bots:read`) получи список ботов, доступных тебе для редактирования: созданных тобой и тех, чьи настройки открывают тебе доступ. Фильтруй по имени параметром `query`, следующую страницу бери из `meta.paginate.next_page`",
|
|
520
|
+
"description": "Пользовательским токеном (скоуп `bots:read`) получи список ботов, доступных тебе для редактирования: созданных тобой и тех, чьи настройки открывают тебе доступ. Фильтруй по имени параметром `query`. Пока `meta.paginate.has_next` равен `true`, следующую страницу бери из `meta.paginate.next_page`",
|
|
521
521
|
"command": "pachca bots list --query=\"задач\""
|
|
522
522
|
},
|
|
523
523
|
{
|
|
@@ -1023,7 +1023,7 @@
|
|
|
1023
1023
|
{
|
|
1024
1024
|
"description": "Получи журнал аудита",
|
|
1025
1025
|
"command": "pachca security list --start-time=<ISO-8601> --end-time=<ISO-8601>",
|
|
1026
|
-
"notes": "`start_time` и `end_time`
|
|
1026
|
+
"notes": "`start_time` и `end_time` необязательны (ISO-8601, время без смещения считается UTC), без них приходят все события по страницам. Фильтры: `event_key`, `actor_id`, `actor_type`, `entity_id`, `entity_type`"
|
|
1027
1027
|
}
|
|
1028
1028
|
]
|
|
1029
1029
|
},
|