@pachca/cli 2026.3.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/README.md +352 -0
- package/README.template.md +190 -0
- package/bin/dev.js +5 -0
- package/bin/run.js +5 -0
- package/dist/base-command.d.ts +74 -0
- package/dist/base-command.d.ts.map +1 -0
- package/dist/base-command.js +242 -0
- package/dist/base-command.js.map +1 -0
- package/dist/client.d.ts +45 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +258 -0
- package/dist/client.js.map +1 -0
- package/dist/commands/api.d.ts +38 -0
- package/dist/commands/api.d.ts.map +1 -0
- package/dist/commands/api.js +212 -0
- package/dist/commands/api.js.map +1 -0
- package/dist/commands/auth/list.d.ts +23 -0
- package/dist/commands/auth/list.d.ts.map +1 -0
- package/dist/commands/auth/list.js +39 -0
- package/dist/commands/auth/list.js.map +1 -0
- package/dist/commands/auth/login.d.ts +23 -0
- package/dist/commands/auth/login.d.ts.map +1 -0
- package/dist/commands/auth/login.js +140 -0
- package/dist/commands/auth/login.js.map +1 -0
- package/dist/commands/auth/logout.d.ts +26 -0
- package/dist/commands/auth/logout.d.ts.map +1 -0
- package/dist/commands/auth/logout.js +81 -0
- package/dist/commands/auth/logout.js.map +1 -0
- package/dist/commands/auth/refresh.d.ts +26 -0
- package/dist/commands/auth/refresh.d.ts.map +1 -0
- package/dist/commands/auth/refresh.js +68 -0
- package/dist/commands/auth/refresh.js.map +1 -0
- package/dist/commands/auth/status.d.ts +23 -0
- package/dist/commands/auth/status.d.ts.map +1 -0
- package/dist/commands/auth/status.js +51 -0
- package/dist/commands/auth/status.js.map +1 -0
- package/dist/commands/auth/switch.d.ts +26 -0
- package/dist/commands/auth/switch.d.ts.map +1 -0
- package/dist/commands/auth/switch.js +37 -0
- package/dist/commands/auth/switch.js.map +1 -0
- package/dist/commands/bots/list-events.d.ts +31 -0
- package/dist/commands/bots/list-events.d.ts.map +1 -0
- package/dist/commands/bots/list-events.js +85 -0
- package/dist/commands/bots/list-events.js.map +1 -0
- package/dist/commands/bots/remove-event.d.ts +30 -0
- package/dist/commands/bots/remove-event.d.ts.map +1 -0
- package/dist/commands/bots/remove-event.js +48 -0
- package/dist/commands/bots/remove-event.js.map +1 -0
- package/dist/commands/bots/update.d.ts +34 -0
- package/dist/commands/bots/update.d.ts.map +1 -0
- package/dist/commands/bots/update.js +78 -0
- package/dist/commands/bots/update.js.map +1 -0
- package/dist/commands/changelog.d.ts +23 -0
- package/dist/commands/changelog.d.ts.map +1 -0
- package/dist/commands/changelog.js +40 -0
- package/dist/commands/changelog.js.map +1 -0
- package/dist/commands/chats/archive.d.ts +32 -0
- package/dist/commands/chats/archive.d.ts.map +1 -0
- package/dist/commands/chats/archive.js +35 -0
- package/dist/commands/chats/archive.js.map +1 -0
- package/dist/commands/chats/create.d.ts +33 -0
- package/dist/commands/chats/create.d.ts.map +1 -0
- package/dist/commands/chats/create.js +91 -0
- package/dist/commands/chats/create.js.map +1 -0
- package/dist/commands/chats/get.d.ts +33 -0
- package/dist/commands/chats/get.d.ts.map +1 -0
- package/dist/commands/chats/get.js +35 -0
- package/dist/commands/chats/get.js.map +1 -0
- package/dist/commands/chats/list.d.ts +37 -0
- package/dist/commands/chats/list.d.ts.map +1 -0
- package/dist/commands/chats/list.js +117 -0
- package/dist/commands/chats/list.js.map +1 -0
- package/dist/commands/chats/unarchive.d.ts +32 -0
- package/dist/commands/chats/unarchive.d.ts.map +1 -0
- package/dist/commands/chats/unarchive.js +34 -0
- package/dist/commands/chats/unarchive.js.map +1 -0
- package/dist/commands/chats/update.d.ts +35 -0
- package/dist/commands/chats/update.d.ts.map +1 -0
- package/dist/commands/chats/update.js +52 -0
- package/dist/commands/chats/update.js.map +1 -0
- package/dist/commands/commands.d.ts +24 -0
- package/dist/commands/commands.d.ts.map +1 -0
- package/dist/commands/commands.js +71 -0
- package/dist/commands/commands.js.map +1 -0
- package/dist/commands/common/custom-properties.d.ts +29 -0
- package/dist/commands/common/custom-properties.d.ts.map +1 -0
- package/dist/commands/common/custom-properties.js +68 -0
- package/dist/commands/common/custom-properties.js.map +1 -0
- package/dist/commands/common/direct-url.d.ts +35 -0
- package/dist/commands/common/direct-url.d.ts.map +1 -0
- package/dist/commands/common/direct-url.js +123 -0
- package/dist/commands/common/direct-url.js.map +1 -0
- package/dist/commands/common/get-exports.d.ts +34 -0
- package/dist/commands/common/get-exports.d.ts.map +1 -0
- package/dist/commands/common/get-exports.js +47 -0
- package/dist/commands/common/get-exports.js.map +1 -0
- package/dist/commands/common/request-export.d.ts +33 -0
- package/dist/commands/common/request-export.d.ts.map +1 -0
- package/dist/commands/common/request-export.js +90 -0
- package/dist/commands/common/request-export.js.map +1 -0
- package/dist/commands/common/uploads.d.ts +28 -0
- package/dist/commands/common/uploads.d.ts.map +1 -0
- package/dist/commands/common/uploads.js +29 -0
- package/dist/commands/common/uploads.js.map +1 -0
- package/dist/commands/config/get.d.ts +26 -0
- package/dist/commands/config/get.d.ts.map +1 -0
- package/dist/commands/config/get.js +28 -0
- package/dist/commands/config/get.js.map +1 -0
- package/dist/commands/config/list.d.ts +23 -0
- package/dist/commands/config/list.d.ts.map +1 -0
- package/dist/commands/config/list.js +49 -0
- package/dist/commands/config/list.js.map +1 -0
- package/dist/commands/config/set.d.ts +27 -0
- package/dist/commands/config/set.d.ts.map +1 -0
- package/dist/commands/config/set.js +30 -0
- package/dist/commands/config/set.js.map +1 -0
- package/dist/commands/doctor.d.ts +24 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +175 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/group-tags/create.d.ts +29 -0
- package/dist/commands/group-tags/create.d.ts.map +1 -0
- package/dist/commands/group-tags/create.js +74 -0
- package/dist/commands/group-tags/create.js.map +1 -0
- package/dist/commands/group-tags/delete.d.ts +32 -0
- package/dist/commands/group-tags/delete.d.ts.map +1 -0
- package/dist/commands/group-tags/delete.js +45 -0
- package/dist/commands/group-tags/delete.js.map +1 -0
- package/dist/commands/group-tags/get.d.ts +32 -0
- package/dist/commands/group-tags/get.d.ts.map +1 -0
- package/dist/commands/group-tags/get.js +32 -0
- package/dist/commands/group-tags/get.js.map +1 -0
- package/dist/commands/group-tags/list-users.d.ts +36 -0
- package/dist/commands/group-tags/list-users.d.ts.map +1 -0
- package/dist/commands/group-tags/list-users.js +90 -0
- package/dist/commands/group-tags/list-users.js.map +1 -0
- package/dist/commands/group-tags/list.d.ts +32 -0
- package/dist/commands/group-tags/list.d.ts.map +1 -0
- package/dist/commands/group-tags/list.js +91 -0
- package/dist/commands/group-tags/list.js.map +1 -0
- package/dist/commands/group-tags/update.d.ts +33 -0
- package/dist/commands/group-tags/update.d.ts.map +1 -0
- package/dist/commands/group-tags/update.js +75 -0
- package/dist/commands/group-tags/update.js.map +1 -0
- package/dist/commands/guide.d.ts +26 -0
- package/dist/commands/guide.d.ts.map +1 -0
- package/dist/commands/guide.js +86 -0
- package/dist/commands/guide.js.map +1 -0
- package/dist/commands/introspect.d.ts +27 -0
- package/dist/commands/introspect.d.ts.map +1 -0
- package/dist/commands/introspect.js +82 -0
- package/dist/commands/introspect.js.map +1 -0
- package/dist/commands/link-previews/add.d.ts +33 -0
- package/dist/commands/link-previews/add.d.ts.map +1 -0
- package/dist/commands/link-previews/add.js +76 -0
- package/dist/commands/link-previews/add.js.map +1 -0
- package/dist/commands/members/add-group-tags.d.ts +32 -0
- package/dist/commands/members/add-group-tags.d.ts.map +1 -0
- package/dist/commands/members/add-group-tags.js +73 -0
- package/dist/commands/members/add-group-tags.js.map +1 -0
- package/dist/commands/members/add.d.ts +34 -0
- package/dist/commands/members/add.d.ts.map +1 -0
- package/dist/commands/members/add.js +82 -0
- package/dist/commands/members/add.js.map +1 -0
- package/dist/commands/members/leave.d.ts +33 -0
- package/dist/commands/members/leave.d.ts.map +1 -0
- package/dist/commands/members/leave.js +48 -0
- package/dist/commands/members/leave.js.map +1 -0
- package/dist/commands/members/list.d.ts +37 -0
- package/dist/commands/members/list.d.ts.map +1 -0
- package/dist/commands/members/list.js +97 -0
- package/dist/commands/members/list.js.map +1 -0
- package/dist/commands/members/remove-group-tag.d.ts +36 -0
- package/dist/commands/members/remove-group-tag.d.ts.map +1 -0
- package/dist/commands/members/remove-group-tag.js +49 -0
- package/dist/commands/members/remove-group-tag.js.map +1 -0
- package/dist/commands/members/remove.d.ts +37 -0
- package/dist/commands/members/remove.d.ts.map +1 -0
- package/dist/commands/members/remove.js +53 -0
- package/dist/commands/members/remove.js.map +1 -0
- package/dist/commands/members/update.d.ts +36 -0
- package/dist/commands/members/update.d.ts.map +1 -0
- package/dist/commands/members/update.js +39 -0
- package/dist/commands/members/update.js.map +1 -0
- package/dist/commands/messages/create.d.ts +38 -0
- package/dist/commands/messages/create.d.ts.map +1 -0
- package/dist/commands/messages/create.js +128 -0
- package/dist/commands/messages/create.js.map +1 -0
- package/dist/commands/messages/delete.d.ts +33 -0
- package/dist/commands/messages/delete.d.ts.map +1 -0
- package/dist/commands/messages/delete.js +50 -0
- package/dist/commands/messages/delete.js.map +1 -0
- package/dist/commands/messages/get.d.ts +33 -0
- package/dist/commands/messages/get.d.ts.map +1 -0
- package/dist/commands/messages/get.js +37 -0
- package/dist/commands/messages/get.js.map +1 -0
- package/dist/commands/messages/list.d.ts +33 -0
- package/dist/commands/messages/list.d.ts.map +1 -0
- package/dist/commands/messages/list.js +127 -0
- package/dist/commands/messages/list.js.map +1 -0
- package/dist/commands/messages/pin.d.ts +32 -0
- package/dist/commands/messages/pin.d.ts.map +1 -0
- package/dist/commands/messages/pin.js +35 -0
- package/dist/commands/messages/pin.js.map +1 -0
- package/dist/commands/messages/unpin.d.ts +33 -0
- package/dist/commands/messages/unpin.d.ts.map +1 -0
- package/dist/commands/messages/unpin.js +49 -0
- package/dist/commands/messages/unpin.js.map +1 -0
- package/dist/commands/messages/update.d.ts +38 -0
- package/dist/commands/messages/update.d.ts.map +1 -0
- package/dist/commands/messages/update.js +74 -0
- package/dist/commands/messages/update.js.map +1 -0
- package/dist/commands/profile/delete-status.d.ts +28 -0
- package/dist/commands/profile/delete-status.d.ts.map +1 -0
- package/dist/commands/profile/delete-status.js +44 -0
- package/dist/commands/profile/delete-status.js.map +1 -0
- package/dist/commands/profile/get-info.d.ts +27 -0
- package/dist/commands/profile/get-info.d.ts.map +1 -0
- package/dist/commands/profile/get-info.js +26 -0
- package/dist/commands/profile/get-info.js.map +1 -0
- package/dist/commands/profile/get-status.d.ts +28 -0
- package/dist/commands/profile/get-status.d.ts.map +1 -0
- package/dist/commands/profile/get-status.js +29 -0
- package/dist/commands/profile/get-status.js.map +1 -0
- package/dist/commands/profile/get.d.ts +28 -0
- package/dist/commands/profile/get.d.ts.map +1 -0
- package/dist/commands/profile/get.js +29 -0
- package/dist/commands/profile/get.js.map +1 -0
- package/dist/commands/profile/update-status.d.ts +33 -0
- package/dist/commands/profile/update-status.d.ts.map +1 -0
- package/dist/commands/profile/update-status.js +95 -0
- package/dist/commands/profile/update-status.js.map +1 -0
- package/dist/commands/reactions/add.d.ts +35 -0
- package/dist/commands/reactions/add.d.ts.map +1 -0
- package/dist/commands/reactions/add.js +82 -0
- package/dist/commands/reactions/add.js.map +1 -0
- package/dist/commands/reactions/list.d.ts +36 -0
- package/dist/commands/reactions/list.d.ts.map +1 -0
- package/dist/commands/reactions/list.js +91 -0
- package/dist/commands/reactions/list.js.map +1 -0
- package/dist/commands/reactions/remove.d.ts +35 -0
- package/dist/commands/reactions/remove.d.ts.map +1 -0
- package/dist/commands/reactions/remove.js +88 -0
- package/dist/commands/reactions/remove.js.map +1 -0
- package/dist/commands/read-member/list-readers.d.ts +35 -0
- package/dist/commands/read-member/list-readers.d.ts.map +1 -0
- package/dist/commands/read-member/list-readers.js +89 -0
- package/dist/commands/read-member/list-readers.js.map +1 -0
- package/dist/commands/search/list-chats.d.ts +38 -0
- package/dist/commands/search/list-chats.d.ts.map +1 -0
- package/dist/commands/search/list-chats.js +122 -0
- package/dist/commands/search/list-chats.js.map +1 -0
- package/dist/commands/search/list-messages.d.ts +38 -0
- package/dist/commands/search/list-messages.d.ts.map +1 -0
- package/dist/commands/search/list-messages.js +121 -0
- package/dist/commands/search/list-messages.js.map +1 -0
- package/dist/commands/search/list-users.d.ts +37 -0
- package/dist/commands/search/list-users.d.ts.map +1 -0
- package/dist/commands/search/list-users.js +117 -0
- package/dist/commands/search/list-users.js.map +1 -0
- package/dist/commands/security/list.d.ts +39 -0
- package/dist/commands/security/list.d.ts.map +1 -0
- package/dist/commands/security/list.js +155 -0
- package/dist/commands/security/list.js.map +1 -0
- package/dist/commands/tasks/create.d.ts +36 -0
- package/dist/commands/tasks/create.d.ts.map +1 -0
- package/dist/commands/tasks/create.js +111 -0
- package/dist/commands/tasks/create.js.map +1 -0
- package/dist/commands/tasks/delete.d.ts +33 -0
- package/dist/commands/tasks/delete.d.ts.map +1 -0
- package/dist/commands/tasks/delete.js +50 -0
- package/dist/commands/tasks/delete.js.map +1 -0
- package/dist/commands/tasks/get.d.ts +33 -0
- package/dist/commands/tasks/get.d.ts.map +1 -0
- package/dist/commands/tasks/get.js +37 -0
- package/dist/commands/tasks/get.js.map +1 -0
- package/dist/commands/tasks/list.d.ts +31 -0
- package/dist/commands/tasks/list.d.ts.map +1 -0
- package/dist/commands/tasks/list.js +87 -0
- package/dist/commands/tasks/list.js.map +1 -0
- package/dist/commands/tasks/update.d.ts +42 -0
- package/dist/commands/tasks/update.d.ts.map +1 -0
- package/dist/commands/tasks/update.js +90 -0
- package/dist/commands/tasks/update.js.map +1 -0
- package/dist/commands/thread/add.d.ts +33 -0
- package/dist/commands/thread/add.d.ts.map +1 -0
- package/dist/commands/thread/add.js +36 -0
- package/dist/commands/thread/add.js.map +1 -0
- package/dist/commands/thread/get.d.ts +32 -0
- package/dist/commands/thread/get.d.ts.map +1 -0
- package/dist/commands/thread/get.js +32 -0
- package/dist/commands/thread/get.js.map +1 -0
- package/dist/commands/users/create.d.ts +30 -0
- package/dist/commands/users/create.d.ts.map +1 -0
- package/dist/commands/users/create.js +78 -0
- package/dist/commands/users/create.js.map +1 -0
- package/dist/commands/users/delete.d.ts +33 -0
- package/dist/commands/users/delete.d.ts.map +1 -0
- package/dist/commands/users/delete.js +50 -0
- package/dist/commands/users/delete.js.map +1 -0
- package/dist/commands/users/get-status.d.ts +33 -0
- package/dist/commands/users/get-status.d.ts.map +1 -0
- package/dist/commands/users/get-status.js +37 -0
- package/dist/commands/users/get-status.js.map +1 -0
- package/dist/commands/users/get.d.ts +33 -0
- package/dist/commands/users/get.d.ts.map +1 -0
- package/dist/commands/users/get.js +37 -0
- package/dist/commands/users/get.js.map +1 -0
- package/dist/commands/users/list.d.ts +32 -0
- package/dist/commands/users/list.d.ts.map +1 -0
- package/dist/commands/users/list.js +92 -0
- package/dist/commands/users/list.js.map +1 -0
- package/dist/commands/users/remove-status.d.ts +33 -0
- package/dist/commands/users/remove-status.d.ts.map +1 -0
- package/dist/commands/users/remove-status.js +50 -0
- package/dist/commands/users/remove-status.js.map +1 -0
- package/dist/commands/users/update-status.d.ts +38 -0
- package/dist/commands/users/update-status.d.ts.map +1 -0
- package/dist/commands/users/update-status.js +101 -0
- package/dist/commands/users/update-status.js.map +1 -0
- package/dist/commands/users/update.d.ts +44 -0
- package/dist/commands/users/update.d.ts.map +1 -0
- package/dist/commands/users/update.js +90 -0
- package/dist/commands/users/update.js.map +1 -0
- package/dist/commands/version.d.ts +23 -0
- package/dist/commands/version.d.ts.map +1 -0
- package/dist/commands/version.js +23 -0
- package/dist/commands/version.js.map +1 -0
- package/dist/commands/views/open.d.ts +32 -0
- package/dist/commands/views/open.d.ts.map +1 -0
- package/dist/commands/views/open.js +103 -0
- package/dist/commands/views/open.js.map +1 -0
- package/dist/data/alternatives.json +73 -0
- package/dist/data/changelog.json +328 -0
- package/dist/data/workflows.json +990 -0
- package/dist/get-version.d.ts +7 -0
- package/dist/get-version.d.ts.map +1 -0
- package/dist/get-version.js +23 -0
- package/dist/get-version.js.map +1 -0
- package/dist/hooks/command-not-found.d.ts +4 -0
- package/dist/hooks/command-not-found.d.ts.map +1 -0
- package/dist/hooks/command-not-found.js +51 -0
- package/dist/hooks/command-not-found.js.map +1 -0
- package/dist/hooks/init.d.ts +4 -0
- package/dist/hooks/init.d.ts.map +1 -0
- package/dist/hooks/init.js +95 -0
- package/dist/hooks/init.js.map +1 -0
- package/dist/hooks/postrun.d.ts +4 -0
- package/dist/hooks/postrun.d.ts.map +1 -0
- package/dist/hooks/postrun.js +67 -0
- package/dist/hooks/postrun.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/output.d.ts +26 -0
- package/dist/output.d.ts.map +1 -0
- package/dist/output.js +175 -0
- package/dist/output.js.map +1 -0
- package/dist/profiles.d.ts +52 -0
- package/dist/profiles.d.ts.map +1 -0
- package/dist/profiles.js +192 -0
- package/dist/profiles.js.map +1 -0
- package/dist/utils.d.ts +21 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +62 -0
- package/dist/utils.js.map +1 -0
- package/oclif.manifest.json +12266 -0
- package/package.json +73 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseCommand } from '../base-command.js';
|
|
2
|
+
export default class Version extends BaseCommand {
|
|
3
|
+
static description: string;
|
|
4
|
+
static examples: string[];
|
|
5
|
+
static flags: {
|
|
6
|
+
output: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
+
columns: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
|
+
'no-header': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
9
|
+
'no-truncate': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
+
quiet: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
13
|
+
'no-color': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
14
|
+
verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
|
+
'no-input': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
|
+
'dry-run': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
|
+
timeout: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
|
+
'no-retry': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
19
|
+
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
20
|
+
};
|
|
21
|
+
run(): Promise<void>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=version.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/commands/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,WAAW;IAC9C,OAAgB,WAAW,SAAsB;IAEjD,OAAgB,QAAQ,WAEtB;IAEF,OAAgB,KAAK;;;;;;;;;;;;;;;MAEnB;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAa3B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseCommand } from '../base-command.js';
|
|
2
|
+
export default class Version extends BaseCommand {
|
|
3
|
+
static description = 'Show CLI version';
|
|
4
|
+
static examples = [
|
|
5
|
+
'<%= config.bin %> version',
|
|
6
|
+
];
|
|
7
|
+
static flags = {
|
|
8
|
+
...BaseCommand.baseFlags,
|
|
9
|
+
};
|
|
10
|
+
async run() {
|
|
11
|
+
const { flags } = await this.parse(Version);
|
|
12
|
+
this.parsedFlags = flags;
|
|
13
|
+
const version = this.config.version;
|
|
14
|
+
const format = this.getOutputFormat();
|
|
15
|
+
if (format === 'json') {
|
|
16
|
+
this.output({ version });
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
process.stdout.write(`@pachca/cli v${version}\n`);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=version.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/commands/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,WAAW;IAC9C,MAAM,CAAU,WAAW,GAAG,kBAAkB,CAAC;IAEjD,MAAM,CAAU,QAAQ,GAAG;QACzB,2BAA2B;KAC5B,CAAC;IAEF,MAAM,CAAU,KAAK,GAAG;QACtB,GAAG,WAAW,CAAC,SAAS;KACzB,CAAC;IAEF,KAAK,CAAC,GAAG;QACP,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAC5C,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAEzB,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;QACpC,MAAM,MAAM,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;QAEtC,IAAI,MAAM,KAAK,MAAM,EAAE,CAAC;YACtB,IAAI,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;QAC3B,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,gBAAgB,OAAO,IAAI,CAAC,CAAC;QACpD,CAAC;IACH,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BaseCommand } from '../../base-command.js';
|
|
2
|
+
export default class ViewsOpen extends BaseCommand {
|
|
3
|
+
static description: string;
|
|
4
|
+
static examples: string[];
|
|
5
|
+
static scope: string;
|
|
6
|
+
static apiMethod: string;
|
|
7
|
+
static apiPath: string;
|
|
8
|
+
static args: {};
|
|
9
|
+
static flags: {
|
|
10
|
+
type: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
+
'trigger-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
+
'private-metadata': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
|
+
'callback-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
|
+
view: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
+
output: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
|
+
columns: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
|
+
'no-header': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
18
|
+
'no-truncate': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
19
|
+
profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
20
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
21
|
+
quiet: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
22
|
+
'no-color': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
23
|
+
verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
24
|
+
'no-input': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
25
|
+
'dry-run': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
26
|
+
timeout: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
27
|
+
'no-retry': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
28
|
+
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
29
|
+
};
|
|
30
|
+
run(): Promise<void>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=open.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../src/commands/views/open.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW;IAChD,OAAgB,WAAW,SAA4B;IAEvD,OAAgB,QAAQ,WAGtB;IAEF,MAAM,CAAC,KAAK,SAAiB;IAC7B,MAAM,CAAC,SAAS,SAAU;IAC1B,MAAM,CAAC,OAAO,SAAiB;IAE/B,OAAgB,IAAI,KAElB;IAEF,OAAgB,KAAK;;;;;;;;;;;;;;;;;;;;MAkBnB;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA8D3B"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
// Auto-generated from openapi.yaml — DO NOT EDIT
|
|
2
|
+
import { Flags } from '@oclif/core';
|
|
3
|
+
import { BaseCommand } from '../../base-command.js';
|
|
4
|
+
import * as clack from '@clack/prompts';
|
|
5
|
+
export default class ViewsOpen extends BaseCommand {
|
|
6
|
+
static description = "Открытие представления";
|
|
7
|
+
static examples = [
|
|
8
|
+
"Показать интерактивную форму пользователю:\n $ pachca views open",
|
|
9
|
+
"Опрос сотрудников через форму:\n $ pachca views open"
|
|
10
|
+
];
|
|
11
|
+
static scope = "views:write";
|
|
12
|
+
static apiMethod = "POST";
|
|
13
|
+
static apiPath = "/views/open";
|
|
14
|
+
static args = {};
|
|
15
|
+
static flags = {
|
|
16
|
+
...BaseCommand.baseFlags,
|
|
17
|
+
'type': Flags.string({
|
|
18
|
+
description: "Способ открытия представления",
|
|
19
|
+
options: ["modal"],
|
|
20
|
+
}),
|
|
21
|
+
'trigger-id': Flags.string({
|
|
22
|
+
description: "Уникальный идентификатор события (полученный, например, в исходящем вебхуке о нажатии кнопки)",
|
|
23
|
+
}),
|
|
24
|
+
'private-metadata': Flags.string({
|
|
25
|
+
description: "Необязательная строка, которая будет отправлена в ваше приложение при отправке пользователем заполненной формы. Используйте это поле, например, для передачи в формате `JSON` какой то дополнительной информации вместе с заполненной пользователем формой. (макс. 3000 символов)",
|
|
26
|
+
}),
|
|
27
|
+
'callback-id': Flags.string({
|
|
28
|
+
description: "Необязательный идентификатор для распознавания этого представления, который будет отправлен в ваше приложение при отправке пользователем заполненной формы. Используйте это поле, например, для понимания, какую форму должен был заполнить пользователь. (макс. 255 символов)",
|
|
29
|
+
}),
|
|
30
|
+
'view': Flags.string({
|
|
31
|
+
description: "Собранный объект представления",
|
|
32
|
+
}),
|
|
33
|
+
};
|
|
34
|
+
async run() {
|
|
35
|
+
const { args, flags } = await this.parse(ViewsOpen);
|
|
36
|
+
this.parsedFlags = flags;
|
|
37
|
+
const missingRequired = [
|
|
38
|
+
{ flag: 'type', label: "Способ открытия представления", type: 'string' },
|
|
39
|
+
{ flag: 'trigger-id', label: "Уникальный идентификатор события (полученный, например, в исходящем вебхуке о нажатии кнопки)", type: 'string' },
|
|
40
|
+
{ flag: 'view', label: "Собранный объект представления", type: 'string' },
|
|
41
|
+
].filter((f) => flags[f.flag] === undefined || flags[f.flag] === null);
|
|
42
|
+
if (missingRequired.length > 0) {
|
|
43
|
+
if (this.isInteractive()) {
|
|
44
|
+
for (const field of missingRequired) {
|
|
45
|
+
const value = await clack.text({ message: field.label, validate: (v) => v.length === 0 ? 'Обязательное поле' : undefined });
|
|
46
|
+
if (clack.isCancel(value)) {
|
|
47
|
+
process.stderr.write('Отменено.\n');
|
|
48
|
+
this.exit(0);
|
|
49
|
+
}
|
|
50
|
+
if (field.type === 'integer') {
|
|
51
|
+
flags[field.flag] = Number.parseInt(value, 10);
|
|
52
|
+
}
|
|
53
|
+
else if (field.type === 'boolean') {
|
|
54
|
+
flags[field.flag] = value === 'true';
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
flags[field.flag] = value;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
for (const field of missingRequired) {
|
|
63
|
+
process.stderr.write(`✗ Обязательный флаг --${field.flag} не передан\n`);
|
|
64
|
+
}
|
|
65
|
+
this.exit(2);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
if (flags['type'] && !["modal"].includes(flags['type'])) {
|
|
69
|
+
process.stderr.write(`✗ --type: допустимые значения — "modal"\n`);
|
|
70
|
+
this.exit(2);
|
|
71
|
+
}
|
|
72
|
+
if (flags['private-metadata'] && String(flags['private-metadata']).length > 3000) {
|
|
73
|
+
process.stderr.write(`✗ --private-metadata: максимум 3000 символов (передано: ${String(flags['private-metadata']).length})\n`);
|
|
74
|
+
this.exit(2);
|
|
75
|
+
}
|
|
76
|
+
if (flags['callback-id'] && String(flags['callback-id']).length > 255) {
|
|
77
|
+
process.stderr.write(`✗ --callback-id: максимум 255 символов (передано: ${String(flags['callback-id']).length})\n`);
|
|
78
|
+
this.exit(2);
|
|
79
|
+
}
|
|
80
|
+
this.checkScope("views:write");
|
|
81
|
+
const body = {
|
|
82
|
+
type: flags['type'],
|
|
83
|
+
trigger_id: flags['trigger-id'],
|
|
84
|
+
private_metadata: flags['private-metadata'],
|
|
85
|
+
callback_id: flags['callback-id'],
|
|
86
|
+
view: flags['view'] ? JSON.parse(flags['view']) : undefined,
|
|
87
|
+
};
|
|
88
|
+
// Clean undefined fields
|
|
89
|
+
for (const [k, v] of Object.entries(body)) {
|
|
90
|
+
if (v === undefined)
|
|
91
|
+
delete body[k];
|
|
92
|
+
}
|
|
93
|
+
const { data } = await this.apiRequest({
|
|
94
|
+
method: 'POST',
|
|
95
|
+
path: '/views/open',
|
|
96
|
+
body,
|
|
97
|
+
});
|
|
98
|
+
const responseBody = data;
|
|
99
|
+
const result = responseBody.data ?? responseBody;
|
|
100
|
+
this.output(result);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
//# sourceMappingURL=open.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open.js","sourceRoot":"","sources":["../../../src/commands/views/open.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,OAAO,EAAQ,KAAK,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AAExC,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW;IAChD,MAAM,CAAU,WAAW,GAAG,wBAAwB,CAAC;IAEvD,MAAM,CAAU,QAAQ,GAAG;QACvB,mEAAmE;QACnE,uDAAuD;KAC1D,CAAC;IAEF,MAAM,CAAC,KAAK,GAAG,aAAa,CAAC;IAC7B,MAAM,CAAC,SAAS,GAAG,MAAM,CAAC;IAC1B,MAAM,CAAC,OAAO,GAAG,aAAa,CAAC;IAE/B,MAAM,CAAU,IAAI,GAAG,EAEtB,CAAC;IAEF,MAAM,CAAU,KAAK,GAAG;QACtB,GAAG,WAAW,CAAC,SAAS;QACxB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;YACnB,WAAW,EAAE,+BAA+B;YAC5C,OAAO,EAAE,CAAC,OAAO,CAAC;SACnB,CAAC;QACF,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC;YACzB,WAAW,EAAE,+FAA+F;SAC7G,CAAC;QACF,kBAAkB,EAAE,KAAK,CAAC,MAAM,CAAC;YAC/B,WAAW,EAAE,mRAAmR;SACjS,CAAC;QACF,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC;YAC1B,WAAW,EAAE,gRAAgR;SAC9R,CAAC;QACF,MAAM,EAAE,KAAK,CA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}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"security:list": "Журнал аудита событий",
|
|
3
|
+
"bots:update": "Редактирование бота",
|
|
4
|
+
"chats:create": "Новый чат",
|
|
5
|
+
"chats:list": "Список чатов",
|
|
6
|
+
"common:request-export": "Экспорт сообщений",
|
|
7
|
+
"common:get-exports": "Скачать архив экспорта",
|
|
8
|
+
"chats:get": "Информация о чате",
|
|
9
|
+
"chats:update": "Обновление чата",
|
|
10
|
+
"chats:archive": "Архивация чата",
|
|
11
|
+
"members:add-group-tags": "Добавление тегов",
|
|
12
|
+
"members:remove-group-tag": "Исключение тега",
|
|
13
|
+
"members:leave": "Выход из беседы или канала",
|
|
14
|
+
"members:list": "Список участников чата",
|
|
15
|
+
"members:add": "Добавление пользователей",
|
|
16
|
+
"members:remove": "Исключение пользователя",
|
|
17
|
+
"members:update": "Редактирование роли",
|
|
18
|
+
"chats:unarchive": "Разархивация чата",
|
|
19
|
+
"common:custom-properties": "Список дополнительных полей",
|
|
20
|
+
"common:direct-url": "Загрузка файла",
|
|
21
|
+
"group-tags:create": "Новый тег",
|
|
22
|
+
"group-tags:list": "Список тегов сотрудников",
|
|
23
|
+
"group-tags:get": "Информация о теге",
|
|
24
|
+
"group-tags:update": "Редактирование тега",
|
|
25
|
+
"group-tags:delete": "Удаление тега",
|
|
26
|
+
"group-tags:list-users": "Список сотрудников тега",
|
|
27
|
+
"messages:create": "Новое сообщение",
|
|
28
|
+
"messages:list": "Список сообщений чата",
|
|
29
|
+
"messages:get": "Информация о сообщении",
|
|
30
|
+
"messages:update": "Редактирование сообщения",
|
|
31
|
+
"messages:delete": "Удаление сообщения",
|
|
32
|
+
"link-previews:add": "Unfurl (разворачивание ссылок)",
|
|
33
|
+
"messages:pin": "Закрепление сообщения",
|
|
34
|
+
"messages:unpin": "Открепление сообщения",
|
|
35
|
+
"reactions:add": "Добавление реакции",
|
|
36
|
+
"reactions:remove": "Удаление реакции",
|
|
37
|
+
"reactions:list": "Список реакций",
|
|
38
|
+
"read-member:list-readers": "Список прочитавших сообщение",
|
|
39
|
+
"thread:add": "Новый тред",
|
|
40
|
+
"profile:get-info": "Информация о токене",
|
|
41
|
+
"profile:get": "Информация о профиле",
|
|
42
|
+
"profile:get-status": "Текущий статус",
|
|
43
|
+
"profile:update-status": "Новый статус",
|
|
44
|
+
"profile:delete-status": "Удаление статуса",
|
|
45
|
+
"search:list-chats": "Поиск чатов",
|
|
46
|
+
"search:list-messages": "Поиск сообщений",
|
|
47
|
+
"search:list-users": "Поиск сотрудников",
|
|
48
|
+
"tasks:create": "Новое напоминание",
|
|
49
|
+
"tasks:list": "Список напоминаний",
|
|
50
|
+
"tasks:get": "Информация о напоминании",
|
|
51
|
+
"tasks:update": "Редактирование напоминания",
|
|
52
|
+
"tasks:delete": "Удаление напоминания",
|
|
53
|
+
"thread:get": "Информация о треде",
|
|
54
|
+
"common:uploads": "Получение подписи, ключа и других параметров",
|
|
55
|
+
"users:create": "Создать сотрудника",
|
|
56
|
+
"users:list": "Список сотрудников",
|
|
57
|
+
"users:get": "Информация о сотруднике",
|
|
58
|
+
"users:update": "Редактирование сотрудника",
|
|
59
|
+
"users:delete": "Удаление сотрудника",
|
|
60
|
+
"users:get-status": "Статус сотрудника",
|
|
61
|
+
"users:update-status": "Новый статус сотрудника",
|
|
62
|
+
"users:remove-status": "Удаление статуса сотрудника",
|
|
63
|
+
"views:open": "Открытие представления",
|
|
64
|
+
"bots:list-events": "История событий",
|
|
65
|
+
"bots:remove-event": "Удаление события",
|
|
66
|
+
"skill:pachca-users": "pachca-users",
|
|
67
|
+
"skill:pachca-profile": "получить профиль, мой профиль, установить свой статус",
|
|
68
|
+
"skill:pachca-chats": "pachca-chats",
|
|
69
|
+
"skill:pachca-search": "найти сообщение по тексту, полнотекстовый поиск",
|
|
70
|
+
"skill:pachca-messages": "pachca-messages",
|
|
71
|
+
"skill:pachca-bots": "pachca-bots",
|
|
72
|
+
"skill:pachca-forms": "pachca-forms"
|
|
73
|
+
}
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"date": "3 марта",
|
|
5
|
+
"changes": [
|
|
6
|
+
{
|
|
7
|
+
"type": "+",
|
|
8
|
+
"command": "GET /audit_events",
|
|
9
|
+
"description": "Новая команда"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "+",
|
|
13
|
+
"command": "PUT /bots/{id}",
|
|
14
|
+
"description": "Новая команда"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"type": "+",
|
|
18
|
+
"command": "POST /chats",
|
|
19
|
+
"description": "Новая команда"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "+",
|
|
23
|
+
"command": "GET /chats",
|
|
24
|
+
"description": "Новая команда"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "+",
|
|
28
|
+
"command": "POST /chats/exports",
|
|
29
|
+
"description": "Новая команда"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "+",
|
|
33
|
+
"command": "GET /chats/exports/{id}",
|
|
34
|
+
"description": "Новая команда"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "+",
|
|
38
|
+
"command": "GET /chats/{id}",
|
|
39
|
+
"description": "Новая команда"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "+",
|
|
43
|
+
"command": "PUT /chats/{id}",
|
|
44
|
+
"description": "Новая команда"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "+",
|
|
48
|
+
"command": "PUT /chats/{id}/archive",
|
|
49
|
+
"description": "Новая команда"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "+",
|
|
53
|
+
"command": "POST /chats/{id}/group_tags",
|
|
54
|
+
"description": "Новая команда"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"type": "+",
|
|
58
|
+
"command": "DELETE /chats/{id}/group_tags/{tag_id}",
|
|
59
|
+
"description": "Новая команда"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "+",
|
|
63
|
+
"command": "DELETE /chats/{id}/leave",
|
|
64
|
+
"description": "Новая команда"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"type": "+",
|
|
68
|
+
"command": "GET /chats/{id}/members",
|
|
69
|
+
"description": "Новая команда"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "+",
|
|
73
|
+
"command": "POST /chats/{id}/members",
|
|
74
|
+
"description": "Новая команда"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "+",
|
|
78
|
+
"command": "DELETE /chats/{id}/members/{user_id}",
|
|
79
|
+
"description": "Новая команда"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "+",
|
|
83
|
+
"command": "PUT /chats/{id}/members/{user_id}",
|
|
84
|
+
"description": "Новая команда"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"type": "+",
|
|
88
|
+
"command": "PUT /chats/{id}/unarchive",
|
|
89
|
+
"description": "Новая команда"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"type": "+",
|
|
93
|
+
"command": "GET /custom_properties",
|
|
94
|
+
"description": "Новая команда"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "+",
|
|
98
|
+
"command": "POST /direct_url",
|
|
99
|
+
"description": "Новая команда"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "+",
|
|
103
|
+
"command": "POST /group_tags",
|
|
104
|
+
"description": "Новая команда"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"type": "+",
|
|
108
|
+
"command": "GET /group_tags",
|
|
109
|
+
"description": "Новая команда"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"type": "+",
|
|
113
|
+
"command": "GET /group_tags/{id}",
|
|
114
|
+
"description": "Новая команда"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"type": "+",
|
|
118
|
+
"command": "PUT /group_tags/{id}",
|
|
119
|
+
"description": "Новая команда"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "+",
|
|
123
|
+
"command": "DELETE /group_tags/{id}",
|
|
124
|
+
"description": "Новая команда"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"type": "+",
|
|
128
|
+
"command": "GET /group_tags/{id}/users",
|
|
129
|
+
"description": "Новая команда"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"type": "+",
|
|
133
|
+
"command": "POST /messages",
|
|
134
|
+
"description": "Новая команда"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"type": "+",
|
|
138
|
+
"command": "GET /messages",
|
|
139
|
+
"description": "Новая команда"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "+",
|
|
143
|
+
"command": "GET /messages/{id}",
|
|
144
|
+
"description": "Новая команда"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"type": "+",
|
|
148
|
+
"command": "PUT /messages/{id}",
|
|
149
|
+
"description": "Новая команда"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"type": "+",
|
|
153
|
+
"command": "DELETE /messages/{id}",
|
|
154
|
+
"description": "Новая команда"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"type": "+",
|
|
158
|
+
"command": "POST /messages/{id}/link_previews",
|
|
159
|
+
"description": "Новая команда"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"type": "+",
|
|
163
|
+
"command": "POST /messages/{id}/pin",
|
|
164
|
+
"description": "Новая команда"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"type": "+",
|
|
168
|
+
"command": "DELETE /messages/{id}/pin",
|
|
169
|
+
"description": "Новая команда"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"type": "+",
|
|
173
|
+
"command": "POST /messages/{id}/reactions",
|
|
174
|
+
"description": "Новая команда"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"type": "+",
|
|
178
|
+
"command": "DELETE /messages/{id}/reactions",
|
|
179
|
+
"description": "Новая команда"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"type": "+",
|
|
183
|
+
"command": "GET /messages/{id}/reactions",
|
|
184
|
+
"description": "Новая команда"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"type": "+",
|
|
188
|
+
"command": "GET /messages/{id}/read_member_ids",
|
|
189
|
+
"description": "Новая команда"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"type": "+",
|
|
193
|
+
"command": "POST /messages/{id}/thread",
|
|
194
|
+
"description": "Новая команда"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"type": "+",
|
|
198
|
+
"command": "GET /oauth/token/info",
|
|
199
|
+
"description": "Новая команда"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"type": "+",
|
|
203
|
+
"command": "GET /profile",
|
|
204
|
+
"description": "Новая команда"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"type": "+",
|
|
208
|
+
"command": "GET /profile/status",
|
|
209
|
+
"description": "Новая команда"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"type": "+",
|
|
213
|
+
"command": "PUT /profile/status",
|
|
214
|
+
"description": "Новая команда"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"type": "+",
|
|
218
|
+
"command": "DELETE /profile/status",
|
|
219
|
+
"description": "Новая команда"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"type": "+",
|
|
223
|
+
"command": "GET /search/chats",
|
|
224
|
+
"description": "Новая команда"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": "+",
|
|
228
|
+
"command": "GET /search/messages",
|
|
229
|
+
"description": "Новая команда"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"type": "+",
|
|
233
|
+
"command": "GET /search/users",
|
|
234
|
+
"description": "Новая команда"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"type": "+",
|
|
238
|
+
"command": "POST /tasks",
|
|
239
|
+
"description": "Новая команда"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"type": "+",
|
|
243
|
+
"command": "GET /tasks",
|
|
244
|
+
"description": "Новая команда"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"type": "+",
|
|
248
|
+
"command": "GET /tasks/{id}",
|
|
249
|
+
"description": "Новая команда"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"type": "+",
|
|
253
|
+
"command": "PUT /tasks/{id}",
|
|
254
|
+
"description": "Новая команда"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"type": "+",
|
|
258
|
+
"command": "DELETE /tasks/{id}",
|
|
259
|
+
"description": "Новая команда"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"type": "+",
|
|
263
|
+
"command": "GET /threads/{id}",
|
|
264
|
+
"description": "Новая команда"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"type": "+",
|
|
268
|
+
"command": "POST /uploads",
|
|
269
|
+
"description": "Новая команда"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"type": "+",
|
|
273
|
+
"command": "POST /users",
|
|
274
|
+
"description": "Новая команда"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"type": "+",
|
|
278
|
+
"command": "GET /users",
|
|
279
|
+
"description": "Новая команда"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"type": "+",
|
|
283
|
+
"command": "GET /users/{id}",
|
|
284
|
+
"description": "Новая команда"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"type": "+",
|
|
288
|
+
"command": "PUT /users/{id}",
|
|
289
|
+
"description": "Новая команда"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "+",
|
|
293
|
+
"command": "DELETE /users/{id}",
|
|
294
|
+
"description": "Новая команда"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"type": "+",
|
|
298
|
+
"command": "GET /users/{user_id}/status",
|
|
299
|
+
"description": "Новая команда"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"type": "+",
|
|
303
|
+
"command": "PUT /users/{user_id}/status",
|
|
304
|
+
"description": "Новая команда"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"type": "+",
|
|
308
|
+
"command": "DELETE /users/{user_id}/status",
|
|
309
|
+
"description": "Новая команда"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"type": "+",
|
|
313
|
+
"command": "POST /views/open",
|
|
314
|
+
"description": "Новая команда"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"type": "+",
|
|
318
|
+
"command": "GET /webhooks/events",
|
|
319
|
+
"description": "Новая команда"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"type": "+",
|
|
323
|
+
"command": "DELETE /webhooks/events/{id}",
|
|
324
|
+
"description": "Новая команда"
|
|
325
|
+
}
|
|
326
|
+
]
|
|
327
|
+
}
|
|
328
|
+
]
|