ask-marcel-office-cli 1.0.0 → 1.4.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 +119 -394
- package/dist/cli.js +4183 -1772
- package/dist/commands.json +309 -104
- package/dist/domain/iso-datetime.d.ts +30 -0
- package/dist/index.js +3780 -1712
- package/dist/infra/auth.d.ts +30 -0
- package/dist/infra/browser-auth.d.ts +75 -10
- package/dist/infra/graph-client.d.ts +38 -0
- package/dist/infra/network-error.d.ts +9 -0
- package/dist/presenter/error-hints.d.ts +41 -0
- package/dist/presenter/output.d.ts +2 -1
- package/dist/use-cases/commands/build-command.d.ts +30 -8
- package/dist/use-cases/commands/command-types.d.ts +12 -1
- package/dist/use-cases/commands/convert-mail-to-markdown.d.ts +4 -0
- package/dist/use-cases/commands/docs-render.d.ts +4 -2
- package/dist/use-cases/commands/docs.d.ts +44 -1
- package/dist/use-cases/commands/{download-drive-item-version-as-markdown.d.ts → download-drive-item-version.d.ts} +5 -0
- package/dist/use-cases/commands/fetch-raw-bytes.d.ts +1 -1
- package/dist/use-cases/commands/find-chats-with-user.d.ts +10 -0
- package/dist/use-cases/commands/get-chat.d.ts +1 -5
- package/dist/use-cases/commands/get-excel-used-range.d.ts +7 -2
- package/dist/use-cases/commands/get-teams-chat-message.d.ts +9 -0
- package/dist/use-cases/commands/iso-datetime-schema.d.ts +21 -0
- package/dist/use-cases/commands/link-shape.d.ts +13 -0
- package/dist/use-cases/commands/list-calendar-view-delta.d.ts +2 -2
- package/dist/use-cases/commands/list-teams-chat-history.d.ts +16 -0
- package/dist/use-cases/commands/list-teams-chat-messages.d.ts +8 -0
- package/dist/use-cases/commands/list-teams-chats-with-messages.d.ts +9 -0
- package/dist/use-cases/commands/resolve-calendar-link.d.ts +8 -0
- package/dist/use-cases/commands/resolve-drive-share-link.d.ts +8 -0
- package/dist/use-cases/commands/resolve-mail-link.d.ts +8 -0
- package/dist/use-cases/commands/resolve-teams-link.d.ts +8 -0
- package/dist/use-cases/commands/version-id.d.ts +7 -6
- package/docs/COMMANDS.md +243 -0
- package/docs/USAGE.md +249 -0
- package/docs/commands.json +309 -104
- package/package.json +3 -1
- package/dist/use-cases/commands/download-drive-item-version-as-pdf.d.ts +0 -12
- package/dist/use-cases/commands/download-drive-item-version-content.d.ts +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ask-marcel-office-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Microsoft Graph CLI + library — typed Bun/TypeScript wrapper around 150+ Graph operations (read + on-the-fly PDF/markdown conversion + federated Microsoft Search) reachable from a Teams browser-OAuth token.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Vincent Delacourt <vincent.delacourt@adama-development.com>",
|
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
"files": [
|
|
31
31
|
"dist/",
|
|
32
32
|
"docs/commands.json",
|
|
33
|
+
"docs/COMMANDS.md",
|
|
34
|
+
"docs/USAGE.md",
|
|
33
35
|
"CHANGELOG.md",
|
|
34
36
|
"README.md",
|
|
35
37
|
"LICENSE"
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import type { Result } from '../../domain/result.js';
|
|
3
|
-
import type { GraphClient, GraphError } from '../../infra/graph-client.js';
|
|
4
|
-
import type { CommandMeta } from './command-types.js';
|
|
5
|
-
declare const schema: z.ZodObject<{
|
|
6
|
-
driveId: z.ZodString;
|
|
7
|
-
itemId: z.ZodString;
|
|
8
|
-
versionId: z.ZodString;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
declare const execute: (graph: GraphClient, params: Record<string, string>) => Promise<Result<unknown, GraphError>>;
|
|
11
|
-
declare const meta: CommandMeta;
|
|
12
|
-
export { execute, meta, schema };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import type { Result } from '../../domain/result.js';
|
|
3
|
-
import type { GraphClient, GraphError } from '../../infra/graph-client.js';
|
|
4
|
-
import type { CommandMeta } from './command-types.js';
|
|
5
|
-
declare const schema: z.ZodObject<{
|
|
6
|
-
driveId: z.ZodString;
|
|
7
|
-
itemId: z.ZodString;
|
|
8
|
-
versionId: z.ZodString;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
declare const execute: (graph: GraphClient, params: Record<string, string>) => Promise<Result<unknown, GraphError>>;
|
|
11
|
-
declare const meta: CommandMeta;
|
|
12
|
-
export { execute, meta, schema };
|