ask-marcel-office-cli 0.1.0 → 0.5.5
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 +112 -114
- package/dist/cli.js +1849 -585
- package/dist/commands.json +1436 -0
- package/dist/composition/build-deps.d.ts +5 -1
- package/dist/composition/cli.d.ts +12 -6
- package/dist/composition/package-manager.d.ts +2 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.js +1666 -548
- package/dist/infra/browser-auth.d.ts +9 -2
- package/dist/infra/graph-client.d.ts +2 -0
- package/dist/infra/playwright-loader.d.ts +4 -0
- package/dist/infra/process-runner-bun.d.ts +2 -0
- package/dist/infra/process-runner-node.d.ts +2 -0
- package/dist/use-cases/commands/build-command.d.ts +1 -1
- package/dist/use-cases/commands/command-types.d.ts +21 -1
- package/dist/use-cases/commands/docs-render.d.ts +24 -0
- package/dist/use-cases/commands/docs.d.ts +10 -0
- package/dist/use-cases/commands/download-drive-item-version-content.d.ts +12 -0
- package/dist/use-cases/commands/download-onedrive-file-content.d.ts +3 -1
- package/dist/use-cases/commands/get-calendar-event.d.ts +3 -1
- package/dist/use-cases/commands/get-calendar-view.d.ts +7 -2
- package/dist/use-cases/commands/get-current-user.d.ts +3 -1
- package/dist/use-cases/commands/get-drive-delta.d.ts +3 -1
- package/dist/use-cases/commands/get-drive-item.d.ts +3 -1
- package/dist/use-cases/commands/get-drive-root-item.d.ts +3 -1
- package/dist/use-cases/commands/get-excel-range.d.ts +3 -1
- package/dist/use-cases/commands/get-excel-table.d.ts +3 -1
- package/dist/use-cases/commands/get-mail-attachment.d.ts +3 -1
- package/dist/use-cases/commands/get-mail-message.d.ts +3 -1
- package/dist/use-cases/commands/get-mailbox-settings.d.ts +3 -1
- package/dist/use-cases/commands/get-my-profile-photo.d.ts +6 -2
- package/dist/use-cases/commands/get-onenote-page-content.d.ts +6 -2
- package/dist/use-cases/commands/get-planner-bucket.d.ts +3 -1
- package/dist/use-cases/commands/get-planner-plan.d.ts +3 -1
- package/dist/use-cases/commands/get-planner-task-details.d.ts +3 -1
- package/dist/use-cases/commands/get-planner-task.d.ts +3 -1
- package/dist/use-cases/commands/get-sharepoint-site-by-path.d.ts +4 -2
- package/dist/use-cases/commands/get-sharepoint-site-drive-by-id.d.ts +3 -1
- package/dist/use-cases/commands/get-sharepoint-site-list-item.d.ts +3 -1
- package/dist/use-cases/commands/get-sharepoint-site-list.d.ts +3 -1
- package/dist/use-cases/commands/get-sharepoint-site.d.ts +3 -1
- package/dist/use-cases/commands/get-specific-calendar-event.d.ts +3 -1
- package/dist/use-cases/commands/get-specific-calendar-view.d.ts +5 -1
- package/dist/use-cases/commands/get-team-channel.d.ts +3 -1
- package/dist/use-cases/commands/get-team.d.ts +3 -1
- package/dist/use-cases/commands/get-todo-task.d.ts +3 -1
- package/dist/use-cases/commands/list-all-onenote-sections.d.ts +3 -1
- package/dist/use-cases/commands/list-calendar-event-instances.d.ts +5 -1
- package/dist/use-cases/commands/list-calendar-events-delta.d.ts +3 -1
- package/dist/use-cases/commands/list-calendar-events.d.ts +3 -1
- package/dist/use-cases/commands/list-calendar-view-delta.d.ts +7 -2
- package/dist/use-cases/commands/list-calendars.d.ts +3 -1
- package/dist/use-cases/commands/list-chat-members.d.ts +3 -1
- package/dist/use-cases/commands/list-drive-item-permissions.d.ts +3 -1
- package/dist/use-cases/commands/list-drive-item-versions.d.ts +3 -1
- package/dist/use-cases/commands/list-drives.d.ts +3 -1
- package/dist/use-cases/commands/list-excel-table-rows.d.ts +3 -1
- package/dist/use-cases/commands/list-excel-tables.d.ts +3 -1
- package/dist/use-cases/commands/list-excel-worksheets.d.ts +3 -1
- package/dist/use-cases/commands/list-folder-files.d.ts +3 -1
- package/dist/use-cases/commands/{get-sharepoint-sites-delta.d.ts → list-incomplete-planner-tasks.d.ts} +3 -1
- package/dist/use-cases/commands/list-incomplete-todo-tasks.d.ts +8 -0
- package/dist/use-cases/commands/list-joined-teams.d.ts +3 -1
- package/dist/use-cases/commands/list-mail-attachments.d.ts +3 -1
- package/dist/use-cases/commands/list-mail-child-folders.d.ts +3 -1
- package/dist/use-cases/commands/list-mail-folder-messages.d.ts +3 -1
- package/dist/use-cases/commands/list-mail-folders.d.ts +3 -1
- package/dist/use-cases/commands/list-mail-messages.d.ts +3 -1
- package/dist/use-cases/commands/list-mail-rules.d.ts +3 -1
- package/dist/use-cases/commands/list-onenote-notebook-sections.d.ts +3 -1
- package/dist/use-cases/commands/list-onenote-notebooks.d.ts +3 -1
- package/dist/use-cases/commands/list-onenote-section-pages.d.ts +3 -1
- package/dist/use-cases/commands/list-plan-buckets.d.ts +3 -1
- package/dist/use-cases/commands/list-plan-tasks.d.ts +3 -1
- package/dist/use-cases/commands/{list-chats.d.ts → list-planner-plans.d.ts} +3 -1
- package/dist/use-cases/commands/list-planner-tasks.d.ts +3 -1
- package/dist/use-cases/commands/list-sharepoint-site-drives.d.ts +3 -1
- package/dist/use-cases/commands/list-sharepoint-site-list-items.d.ts +3 -1
- package/dist/use-cases/commands/list-sharepoint-site-lists.d.ts +3 -1
- package/dist/use-cases/commands/list-specific-calendar-events.d.ts +3 -1
- package/dist/use-cases/commands/list-team-channels.d.ts +3 -1
- package/dist/use-cases/commands/list-todo-linked-resources.d.ts +3 -1
- package/dist/use-cases/commands/list-todo-task-lists.d.ts +3 -1
- package/dist/use-cases/commands/list-todo-tasks.d.ts +3 -1
- package/dist/use-cases/commands/{get-channel-files-folder.d.ts → next-page.d.ts} +4 -3
- package/dist/use-cases/commands/{get-chat-message.d.ts → search-mail-messages.d.ts} +4 -3
- package/dist/use-cases/commands/{get-channel-message.d.ts → search-my-documents.d.ts} +4 -4
- package/dist/use-cases/commands/search-onedrive-files.d.ts +3 -1
- package/dist/use-cases/commands/search-onenote-pages.d.ts +8 -0
- package/dist/use-cases/commands/{get-chat-message-hosted-content.d.ts → search-sharepoint-sites-by-name.d.ts} +4 -4
- package/dist/use-cases/commands/search-sharepoint-sites.d.ts +3 -1
- package/dist/use-cases/commands/update.d.ts +16 -0
- package/dist/use-cases/ports/process-runner.d.ts +11 -0
- package/docs/commands.json +1436 -0
- package/package.json +6 -3
- package/dist/use-cases/commands/get-channel-message-hosted-content.d.ts +0 -9
- package/dist/use-cases/commands/get-chat.d.ts +0 -6
- package/dist/use-cases/commands/get-outlook-contact.d.ts +0 -6
- package/dist/use-cases/commands/get-sharepoint-site-item.d.ts +0 -7
- package/dist/use-cases/commands/list-channel-message-hosted-contents.d.ts +0 -8
- package/dist/use-cases/commands/list-channel-message-replies.d.ts +0 -8
- package/dist/use-cases/commands/list-channel-messages.d.ts +0 -7
- package/dist/use-cases/commands/list-channel-tabs.d.ts +0 -7
- package/dist/use-cases/commands/list-chat-message-hosted-contents.d.ts +0 -7
- package/dist/use-cases/commands/list-chat-message-replies.d.ts +0 -7
- package/dist/use-cases/commands/list-chat-messages.d.ts +0 -6
- package/dist/use-cases/commands/list-outlook-contacts.d.ts +0 -4
- package/dist/use-cases/commands/list-pinned-chat-messages.d.ts +0 -6
- package/dist/use-cases/commands/list-sharepoint-site-items.d.ts +0 -6
- package/dist/use-cases/commands/list-team-members.d.ts +0 -6
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ask-marcel-office-cli",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Microsoft Graph CLI + library — typed Bun/TypeScript wrapper around
|
|
3
|
+
"version": "0.5.5",
|
|
4
|
+
"description": "Microsoft Graph CLI + library — typed Bun/TypeScript wrapper around 70+ read-side Graph operations reachable from a Teams browser-OAuth token.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Vincent Delacourt <vincent.delacourt@adama-development.com>",
|
|
7
7
|
"repository": {
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"types": "./dist/index.d.ts",
|
|
22
22
|
"import": "./dist/index.js"
|
|
23
23
|
},
|
|
24
|
+
"./commands.json": "./dist/commands.json",
|
|
24
25
|
"./package.json": "./package.json"
|
|
25
26
|
},
|
|
26
27
|
"bin": {
|
|
@@ -28,6 +29,7 @@
|
|
|
28
29
|
},
|
|
29
30
|
"files": [
|
|
30
31
|
"dist/",
|
|
32
|
+
"docs/commands.json",
|
|
31
33
|
"README.md",
|
|
32
34
|
"LICENSE"
|
|
33
35
|
],
|
|
@@ -61,7 +63,8 @@
|
|
|
61
63
|
"mutate:staged": "bash scripts/mutate-staged.sh",
|
|
62
64
|
"build:js": "bun build src/main.ts --target=node --outfile=dist/cli.js --format=esm --external playwright --external update-notifier && bun build src/index.ts --target=node --outfile=dist/index.js --format=esm --external playwright --external update-notifier",
|
|
63
65
|
"build:types": "tsc -p tsconfig.build.json",
|
|
64
|
-
"
|
|
66
|
+
"docs:gen": "bun run scripts/gen-docs.ts",
|
|
67
|
+
"build": "rm -rf dist && bun run docs:gen && bun run build:js && bun run build:types && bun run scripts/fix-dts-extensions.ts && bun run scripts/add-shebang.ts && cp docs/commands.json dist/commands.json",
|
|
65
68
|
"prepublishOnly": "bun run build && bun test && bun run lint:strict && bun run typecheck && bun run coverage"
|
|
66
69
|
},
|
|
67
70
|
"devDependencies": {
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
declare const schema: z.ZodObject<{
|
|
3
|
-
teamId: z.ZodString;
|
|
4
|
-
channelId: z.ZodString;
|
|
5
|
-
chatMessageId: z.ZodString;
|
|
6
|
-
chatMessageHostedContentId: z.ZodString;
|
|
7
|
-
}, z.core.$strip>;
|
|
8
|
-
declare const execute: import("./command-types.js").CommandExecute;
|
|
9
|
-
export { execute, schema };
|