@wirecat/attio-cli 0.0.0-stage → 0.2.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 +33 -0
- package/LICENSE +204 -0
- package/README.md +249 -2
- package/contracts/wirecat.json +2339 -0
- package/dist/bin/attio.d.ts +3 -0
- package/dist/bin/attio.d.ts.map +1 -0
- package/dist/bin/attio.js +40 -0
- package/dist/bin/attio.js.map +1 -0
- package/dist/bundle/agent-DYTWDBTT.js +37 -0
- package/dist/bundle/all-profiles-LZDKPHN2.js +320 -0
- package/dist/bundle/anthropic-BF72H77D.js +91 -0
- package/dist/bundle/app-server-H57FZJX5.js +249 -0
- package/dist/bundle/attio.js +183 -0
- package/dist/bundle/bun-WO77T4LG.js +169 -0
- package/dist/bundle/bun-sqlite-2BP7JDVO.js +76 -0
- package/dist/bundle/chunk-2E6JGBM5.js +1392 -0
- package/dist/bundle/chunk-34FJ26K2.js +54 -0
- package/dist/bundle/chunk-3I2FGNWO.js +23 -0
- package/dist/bundle/chunk-3NVOKVRY.js +42148 -0
- package/dist/bundle/chunk-3YFDZSM3.js +37 -0
- package/dist/bundle/chunk-4SMGM2Q6.js +274 -0
- package/dist/bundle/chunk-4STBJZR4.js +3571 -0
- package/dist/bundle/chunk-5K3FGXZH.js +46 -0
- package/dist/bundle/chunk-6ALPRBNV.js +100 -0
- package/dist/bundle/chunk-6NDJDDSQ.js +2000 -0
- package/dist/bundle/chunk-6SK3YB2B.js +218 -0
- package/dist/bundle/chunk-76RRELCU.js +65310 -0
- package/dist/bundle/chunk-7MXCUMHG.js +18 -0
- package/dist/bundle/chunk-7ZUOI3HY.js +73 -0
- package/dist/bundle/chunk-AMUONYQR.js +106 -0
- package/dist/bundle/chunk-ASCUOOLO.js +53 -0
- package/dist/bundle/chunk-BUGROVF3.js +72 -0
- package/dist/bundle/chunk-CHZ26CW5.js +9578 -0
- package/dist/bundle/chunk-CMO5ND3Y.js +794 -0
- package/dist/bundle/chunk-D72URWJE.js +532 -0
- package/dist/bundle/chunk-DF2IIO32.js +12645 -0
- package/dist/bundle/chunk-DFDN6AUB.js +21 -0
- package/dist/bundle/chunk-DQ6P3R4B.js +170 -0
- package/dist/bundle/chunk-DSRXCLPO.js +7 -0
- package/dist/bundle/chunk-EEPE3SOW.js +338 -0
- package/dist/bundle/chunk-EH6ZEJGT.js +932 -0
- package/dist/bundle/chunk-EQGXEKSV.js +1197 -0
- package/dist/bundle/chunk-EQXT7KO4.js +388 -0
- package/dist/bundle/chunk-ERW2WOJT.js +24 -0
- package/dist/bundle/chunk-ESH2QGCA.js +372 -0
- package/dist/bundle/chunk-G3JTLVVL.js +771 -0
- package/dist/bundle/chunk-G6FQMVKW.js +52 -0
- package/dist/bundle/chunk-GBZ6JUXU.js +108 -0
- package/dist/bundle/chunk-GLHFJPYS.js +156 -0
- package/dist/bundle/chunk-GW4G5KLS.js +2333 -0
- package/dist/bundle/chunk-H7QDPW3D.js +78 -0
- package/dist/bundle/chunk-HG7FT3H3.js +319 -0
- package/dist/bundle/chunk-I3WS6V5H.js +188 -0
- package/dist/bundle/chunk-IDU4ESRZ.js +95 -0
- package/dist/bundle/chunk-IXCIQ7FZ.js +161 -0
- package/dist/bundle/chunk-J5P5VSRG.js +1233 -0
- package/dist/bundle/chunk-JA26HG7T.js +353 -0
- package/dist/bundle/chunk-JSTBW7F4.js +259 -0
- package/dist/bundle/chunk-KHDXRFJZ.js +185 -0
- package/dist/bundle/chunk-L5WS6CYZ.js +288 -0
- package/dist/bundle/chunk-LWJ4ZGUM.js +407 -0
- package/dist/bundle/chunk-MC2RQ2OB.js +38 -0
- package/dist/bundle/chunk-MNQACPXG.js +1332 -0
- package/dist/bundle/chunk-MOSH2KPD.js +358 -0
- package/dist/bundle/chunk-MRREDVPY.js +733 -0
- package/dist/bundle/chunk-MT2ZUZRA.js +1028 -0
- package/dist/bundle/chunk-O4A33Y54.js +29 -0
- package/dist/bundle/chunk-OBXDRUO4.js +63 -0
- package/dist/bundle/chunk-OFR3YYT6.js +6848 -0
- package/dist/bundle/chunk-P4U6AGWD.js +41 -0
- package/dist/bundle/chunk-PL5P7UKW.js +25216 -0
- package/dist/bundle/chunk-PMP37KLR.js +142 -0
- package/dist/bundle/chunk-Q3JCUUOR.js +80 -0
- package/dist/bundle/chunk-Q7BSTQ3T.js +633 -0
- package/dist/bundle/chunk-QLHDUYGE.js +16 -0
- package/dist/bundle/chunk-RU5J7DWY.js +988 -0
- package/dist/bundle/chunk-S4UUN6LD.js +1410 -0
- package/dist/bundle/chunk-S7K2XFQB.js +95 -0
- package/dist/bundle/chunk-SQHDE3TC.js +230 -0
- package/dist/bundle/chunk-TF7ZGCOK.js +76 -0
- package/dist/bundle/chunk-V6BTAILB.js +4072 -0
- package/dist/bundle/chunk-VDMIJ3JW.js +50 -0
- package/dist/bundle/chunk-VW5F6FK3.js +206 -0
- package/dist/bundle/chunk-W6F2CQZ6.js +1068 -0
- package/dist/bundle/chunk-WARIIYSW.js +58 -0
- package/dist/bundle/chunk-WK7GLHHL.js +334 -0
- package/dist/bundle/chunk-X5S5KUSU.js +2788 -0
- package/dist/bundle/chunk-X6R74TWX.js +131 -0
- package/dist/bundle/chunk-XQUUANA2.js +24600 -0
- package/dist/bundle/chunk-XXLQNHKF.js +82 -0
- package/dist/bundle/chunk-XXOTX4M3.js +362 -0
- package/dist/bundle/chunk-Y5E2WNWB.js +35 -0
- package/dist/bundle/chunk-ZDBTYBFR.js +66 -0
- package/dist/bundle/chunk-ZGADZ4CH.js +557 -0
- package/dist/bundle/chunk-ZVVMGPBJ.js +50 -0
- package/dist/bundle/command-contract-7M6EPH3D.js +37 -0
- package/dist/bundle/command-server-entry-MNVPYQZ3.js +166 -0
- package/dist/bundle/decode-MQNKNXLK.js +297 -0
- package/dist/bundle/definitions-FODOIPM2.js +43379 -0
- package/dist/bundle/dispatch-TAQ7635E.js +411 -0
- package/dist/bundle/dist-EM7KLEG4.js +7577 -0
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/echarts-6ZSUNO4L.js +42501 -0
- package/dist/bundle/embed-PHCCJJ5Z.js +38 -0
- package/dist/bundle/embedder-WLZZQTKZ.js +111 -0
- package/dist/bundle/failure-MR2XVHFP.js +25 -0
- package/dist/bundle/first-run-64LREHSV.js +29 -0
- package/dist/bundle/first-screen-YSCAZIYJ.js +37 -0
- package/dist/bundle/instructions-22GCKNR5.js +11 -0
- package/dist/bundle/mcp-CNV7F2XZ.js +167 -0
- package/dist/bundle/meeting-combined-YX3T5WJD.js +24 -0
- package/dist/bundle/meeting-model-JWDTCGLZ.js +25 -0
- package/dist/bundle/meeting-semantic-375GYPZQ.js +22 -0
- package/dist/bundle/node-ITDTNRRZ.js +176 -0
- package/dist/bundle/node-KM3CUABH.js +2340 -0
- package/dist/bundle/node-TLZSIHIJ.js +21 -0
- package/dist/bundle/node-sqlite-IRAGRMEZ.js +74 -0
- package/dist/bundle/oauth-CACOQJEL.js +20 -0
- package/dist/bundle/open-HU4KHKDR.js +23 -0
- package/dist/bundle/openai-JQUPAVKX.js +238 -0
- package/dist/bundle/process-QS5OHEUK.js +91 -0
- package/dist/bundle/program-QLCUCR76.js +33428 -0
- package/dist/bundle/prompt-VA5MKXJU.js +17 -0
- package/dist/bundle/recognize-JGA5IVKC.js +26 -0
- package/dist/bundle/remote-NPY2KZQ4.js +31 -0
- package/dist/bundle/rerank-4H2QR4XU.js +52 -0
- package/dist/bundle/schemas-THAI3G5S.js +21410 -0
- package/dist/bundle/serve-UH46SZQG.js +199 -0
- package/dist/bundle/server-6H7JS6SU.js +212 -0
- package/dist/bundle/server-SR52KBL3.js +79 -0
- package/dist/bundle/sqlite-runtime-EJWEUTBR.js +20 -0
- package/dist/bundle/state-34B6AUQZ.js +36 -0
- package/dist/bundle/store-3R4ILTCJ.js +177 -0
- package/dist/bundle/store-XSE35P3U.js +291 -0
- package/dist/bundle/store-maintenance-command-ABJARLI4.js +66 -0
- package/dist/bundle/surface-NOTIEJB5.js +65 -0
- package/dist/commands/api.d.ts +12 -0
- package/dist/commands/api.d.ts.map +1 -0
- package/dist/commands/api.js +27 -0
- package/dist/commands/api.js.map +1 -0
- package/dist/commands/crm.d.ts +4 -0
- package/dist/commands/crm.d.ts.map +1 -0
- package/dist/commands/crm.js +66 -0
- package/dist/commands/crm.js.map +1 -0
- package/dist/commands/session.d.ts +7 -0
- package/dist/commands/session.d.ts.map +1 -0
- package/dist/commands/session.js +22 -0
- package/dist/commands/session.js.map +1 -0
- package/dist/config.d.ts +14 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +14 -0
- package/dist/config.js.map +1 -0
- package/dist/context.d.ts +37 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +31 -0
- package/dist/context.js.map +1 -0
- package/dist/generated/definitions.d.ts +3 -0
- package/dist/generated/definitions.d.ts.map +1 -0
- package/dist/generated/definitions.js +43375 -0
- package/dist/generated/definitions.js.map +1 -0
- package/dist/generated/manifest.d.ts +6 -0
- package/dist/generated/manifest.d.ts.map +1 -0
- package/dist/generated/manifest.js +5158 -0
- package/dist/generated/manifest.js.map +1 -0
- package/dist/generated/schemas.d.ts +383 -0
- package/dist/generated/schemas.d.ts.map +1 -0
- package/dist/generated/schemas.js +21196 -0
- package/dist/generated/schemas.js.map +1 -0
- package/dist/generated/types.d.ts +10166 -0
- package/dist/generated/types.d.ts.map +1 -0
- package/dist/generated/types.js +5 -0
- package/dist/generated/types.js.map +1 -0
- package/dist/generated/wirecat-config.d.ts +15 -0
- package/dist/generated/wirecat-config.d.ts.map +1 -0
- package/dist/generated/wirecat-config.js +333 -0
- package/dist/generated/wirecat-config.js.map +1 -0
- package/dist/hooks.d.ts +3 -0
- package/dist/hooks.d.ts.map +1 -0
- package/dist/hooks.js +7 -0
- package/dist/hooks.js.map +1 -0
- package/dist/identity.d.ts +33 -0
- package/dist/identity.d.ts.map +1 -0
- package/dist/identity.js +31 -0
- package/dist/identity.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/program.d.ts +6 -0
- package/dist/program.d.ts.map +1 -0
- package/dist/program.js +54 -0
- package/dist/program.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/package.json +87 -4
- package/skills/attio-cli/SKILL.md +58 -0
- package/skills/attio-cli/references/api/api-activities.md +62 -0
- package/skills/attio-cli/references/api/api-activity-records.md +96 -0
- package/skills/attio-cli/references/api/api-attributes.md +148 -0
- package/skills/attio-cli/references/api/api-call-recordings.md +53 -0
- package/skills/attio-cli/references/api/api-comments.md +36 -0
- package/skills/attio-cli/references/api/api-emails.md +23 -0
- package/skills/attio-cli/references/api/api-entries.md +127 -0
- package/skills/attio-cli/references/api/api-files.md +63 -0
- package/skills/attio-cli/references/api/api-lists.md +44 -0
- package/skills/attio-cli/references/api/api-meetings.md +82 -0
- package/skills/attio-cli/references/api/api-meta.md +8 -0
- package/skills/attio-cli/references/api/api-notes.md +64 -0
- package/skills/attio-cli/references/api/api-objects.md +55 -0
- package/skills/attio-cli/references/api/api-records.md +168 -0
- package/skills/attio-cli/references/api/api-sequences.md +15 -0
- package/skills/attio-cli/references/api/api-sql.md +15 -0
- package/skills/attio-cli/references/api/api-tasks.md +67 -0
- package/skills/attio-cli/references/api/api-threads.md +35 -0
- package/skills/attio-cli/references/api/api-transcripts.md +17 -0
- package/skills/attio-cli/references/api/api-views.md +133 -0
- package/skills/attio-cli/references/api/api-webhooks.md +62 -0
- package/skills/attio-cli/references/api/api-workspace-blocklist.md +39 -0
- package/skills/attio-cli/references/api/api-workspace-members.md +19 -0
- package/skills/attio-cli/references/api.md +35 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Tasks
|
|
4
|
+
|
|
5
|
+
## `attio api tasks-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: Create a task
|
|
8
|
+
- Call: `POST /v2/tasks`, effect: write
|
|
9
|
+
- Sign-in: oauth2 (task:read-write, object\_configuration:read, record\_permission:read, user\_management:read)
|
|
10
|
+
- Body: `PostV2TasksRequest`, required
|
|
11
|
+
|
|
12
|
+
| Flag | Required | What |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
15
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
16
|
+
|
|
17
|
+
## `attio api tasks-delete [options]`
|
|
18
|
+
|
|
19
|
+
- What: Delete a task
|
|
20
|
+
- Call: `DELETE /v2/tasks/{task_id}`, effect: destructive
|
|
21
|
+
- Sign-in: oauth2 (task:read-write)
|
|
22
|
+
- Permission keys: `attio.delete`
|
|
23
|
+
|
|
24
|
+
| Flag | Required | What |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `--task-id <value>` | yes | task\_id |
|
|
27
|
+
|
|
28
|
+
## `attio api tasks-get [options]`
|
|
29
|
+
|
|
30
|
+
- What: Get a task
|
|
31
|
+
- Call: `GET /v2/tasks/{task_id}`, effect: read
|
|
32
|
+
- Sign-in: oauth2 (task:read, object\_configuration:read, record\_permission:read, user\_management:read)
|
|
33
|
+
|
|
34
|
+
| Flag | Required | What |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `--task-id <value>` | yes | task\_id |
|
|
37
|
+
|
|
38
|
+
## `attio api tasks-list [options]`
|
|
39
|
+
|
|
40
|
+
- What: List tasks
|
|
41
|
+
- Call: `GET /v2/tasks`, effect: read
|
|
42
|
+
- Sign-in: oauth2 (task:read, object\_configuration:read, record\_permission:read, user\_management:read)
|
|
43
|
+
- Pages: offset: send `offset` (query), raised by the items read so far; items in `data`; page size in `limit` (query)
|
|
44
|
+
|
|
45
|
+
| Flag | Required | What |
|
|
46
|
+
|---|---|---|
|
|
47
|
+
| `--limit <value>` | no | limit |
|
|
48
|
+
| `--offset <value>` | no | offset |
|
|
49
|
+
| `--sort <value>` | no | sort |
|
|
50
|
+
| `--linked-object <value>` | no | linked\_object |
|
|
51
|
+
| `--linked-record-id <value>` | no | linked\_record\_id |
|
|
52
|
+
| `--assignee <value>` | no | assignee |
|
|
53
|
+
| `--is-completed <value>` | no | is\_completed |
|
|
54
|
+
| `--all` | no | read every page, as the API pages it |
|
|
55
|
+
|
|
56
|
+
## `attio api tasks-update [options]`
|
|
57
|
+
|
|
58
|
+
- What: Update a task
|
|
59
|
+
- Call: `PATCH /v2/tasks/{task_id}`, effect: write
|
|
60
|
+
- Sign-in: oauth2 (task:read-write, object\_configuration:read, record\_permission:read, user\_management:read)
|
|
61
|
+
- Body: `PatchV2TasksByTaskIdRequest`, required
|
|
62
|
+
|
|
63
|
+
| Flag | Required | What |
|
|
64
|
+
|---|---|---|
|
|
65
|
+
| `--task-id <value>` | yes | task\_id |
|
|
66
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
67
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Threads
|
|
4
|
+
|
|
5
|
+
## `attio api threads-get [options]`
|
|
6
|
+
|
|
7
|
+
- What: Get a thread and its comments
|
|
8
|
+
- Call: `GET /v2/threads/{thread_id}`, effect: read
|
|
9
|
+
- Sign-in: oauth2 (comment:read)
|
|
10
|
+
- Pages: cursor: send `cursor` (query), read the next one from `pagination.next_cursor`; page size in `limit` (query)
|
|
11
|
+
|
|
12
|
+
| Flag | Required | What |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `--thread-id <value>` | yes | thread\_id |
|
|
15
|
+
| `--limit <value>` | no | limit |
|
|
16
|
+
| `--cursor <value>` | no | cursor |
|
|
17
|
+
| `--created-after <value>` | no | created\_after |
|
|
18
|
+
| `--all` | no | read every page, as the API pages it |
|
|
19
|
+
|
|
20
|
+
## `attio api threads-list [options]`
|
|
21
|
+
|
|
22
|
+
- What: List threads
|
|
23
|
+
- Call: `GET /v2/threads`, effect: read
|
|
24
|
+
- Sign-in: oauth2 (comment:read)
|
|
25
|
+
- Pages: offset: send `offset` (query), raised by the items read so far; items in `data`; page size in `limit` (query)
|
|
26
|
+
|
|
27
|
+
| Flag | Required | What |
|
|
28
|
+
|---|---|---|
|
|
29
|
+
| `--record-id <value>` | no | record\_id |
|
|
30
|
+
| `--object <value>` | no | object |
|
|
31
|
+
| `--entry-id <value>` | no | entry\_id |
|
|
32
|
+
| `--list <value>` | no | list |
|
|
33
|
+
| `--limit <value>` | no | limit |
|
|
34
|
+
| `--offset <value>` | no | offset |
|
|
35
|
+
| `--all` | no | read every page, as the API pages it |
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Transcripts
|
|
4
|
+
|
|
5
|
+
## `attio api meetings-call-recordings-transcript-list [options]`
|
|
6
|
+
|
|
7
|
+
- What: Deprecated: Get call transcript
|
|
8
|
+
- Call: `GET /v2/meetings/{meeting_id}/call_recordings/{call_recording_id}/transcript`, effect: read
|
|
9
|
+
- Sign-in: oauth2 (meeting:read, call\_recording:read)
|
|
10
|
+
- Pages: cursor: send `cursor` (query), read the next one from `pagination.next_cursor`
|
|
11
|
+
|
|
12
|
+
| Flag | Required | What |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `--meeting-id <value>` | yes | meeting\_id |
|
|
15
|
+
| `--call-recording-id <value>` | yes | call\_recording\_id |
|
|
16
|
+
| `--cursor <value>` | no | cursor |
|
|
17
|
+
| `--all` | no | read every page, as the API pages it |
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Views
|
|
4
|
+
|
|
5
|
+
## `attio api lists-views-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: Create a list view
|
|
8
|
+
- Call: `POST /v2/lists/{list}/views`, effect: write
|
|
9
|
+
- Sign-in: oauth2 (view:read-write, list\_configuration:read)
|
|
10
|
+
- Body: `PostV2ListsByListViewsRequest`, required
|
|
11
|
+
|
|
12
|
+
| Flag | Required | What |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `--list <value>` | yes | list |
|
|
15
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
16
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
17
|
+
|
|
18
|
+
## `attio api lists-views-delete [options]`
|
|
19
|
+
|
|
20
|
+
- What: Delete a list view
|
|
21
|
+
- Call: `DELETE /v2/lists/{list}/views/{view_id}`, effect: destructive
|
|
22
|
+
- Sign-in: oauth2 (view:read-write, list\_configuration:read)
|
|
23
|
+
- Permission keys: `attio.delete`
|
|
24
|
+
|
|
25
|
+
| Flag | Required | What |
|
|
26
|
+
|---|---|---|
|
|
27
|
+
| `--list <value>` | yes | list |
|
|
28
|
+
| `--view-id <value>` | yes | view\_id |
|
|
29
|
+
|
|
30
|
+
## `attio api lists-views-get [options]`
|
|
31
|
+
|
|
32
|
+
- What: Get a list view
|
|
33
|
+
- Call: `GET /v2/lists/{list}/views/{view_id}`, effect: read
|
|
34
|
+
- Sign-in: oauth2 (view:read, list\_configuration:read)
|
|
35
|
+
|
|
36
|
+
| Flag | Required | What |
|
|
37
|
+
|---|---|---|
|
|
38
|
+
| `--list <value>` | yes | list |
|
|
39
|
+
| `--view-id <value>` | yes | view\_id |
|
|
40
|
+
|
|
41
|
+
## `attio api lists-views-list [options]`
|
|
42
|
+
|
|
43
|
+
- What: List views for list
|
|
44
|
+
- Call: `GET /v2/lists/{list}/views`, effect: read
|
|
45
|
+
- Sign-in: oauth2 (list\_configuration:read)
|
|
46
|
+
- Pages: cursor: send `cursor` (query), read the next one from `pagination.next_cursor`; items in `data`; page size in `limit` (query)
|
|
47
|
+
|
|
48
|
+
| Flag | Required | What |
|
|
49
|
+
|---|---|---|
|
|
50
|
+
| `--list <value>` | yes | list |
|
|
51
|
+
| `--show-archived <value>` | no | show\_archived |
|
|
52
|
+
| `--limit <value>` | no | limit |
|
|
53
|
+
| `--cursor <value>` | no | cursor |
|
|
54
|
+
| `--all` | no | read every page, as the API pages it |
|
|
55
|
+
|
|
56
|
+
## `attio api lists-views-update [options]`
|
|
57
|
+
|
|
58
|
+
- What: Update a list view
|
|
59
|
+
- Call: `PATCH /v2/lists/{list}/views/{view_id}`, effect: write
|
|
60
|
+
- Sign-in: oauth2 (view:read-write, list\_configuration:read)
|
|
61
|
+
- Body: `PatchV2ListsByListViewsByViewIdRequest`, required
|
|
62
|
+
|
|
63
|
+
| Flag | Required | What |
|
|
64
|
+
|---|---|---|
|
|
65
|
+
| `--list <value>` | yes | list |
|
|
66
|
+
| `--view-id <value>` | yes | view\_id |
|
|
67
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
68
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
69
|
+
|
|
70
|
+
## `attio api objects-views-create [options]`
|
|
71
|
+
|
|
72
|
+
- What: Create an object view
|
|
73
|
+
- Call: `POST /v2/objects/{object}/views`, effect: write
|
|
74
|
+
- Sign-in: oauth2 (view:read-write, object\_configuration:read)
|
|
75
|
+
- Body: `PostV2ObjectsByObjectViewsRequest`, required
|
|
76
|
+
|
|
77
|
+
| Flag | Required | What |
|
|
78
|
+
|---|---|---|
|
|
79
|
+
| `--object <value>` | yes | object |
|
|
80
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
81
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
82
|
+
|
|
83
|
+
## `attio api objects-views-delete [options]`
|
|
84
|
+
|
|
85
|
+
- What: Delete an object view
|
|
86
|
+
- Call: `DELETE /v2/objects/{object}/views/{view_id}`, effect: destructive
|
|
87
|
+
- Sign-in: oauth2 (view:read-write, object\_configuration:read)
|
|
88
|
+
- Permission keys: `attio.delete`
|
|
89
|
+
|
|
90
|
+
| Flag | Required | What |
|
|
91
|
+
|---|---|---|
|
|
92
|
+
| `--object <value>` | yes | object |
|
|
93
|
+
| `--view-id <value>` | yes | view\_id |
|
|
94
|
+
|
|
95
|
+
## `attio api objects-views-get [options]`
|
|
96
|
+
|
|
97
|
+
- What: Get an object view
|
|
98
|
+
- Call: `GET /v2/objects/{object}/views/{view_id}`, effect: read
|
|
99
|
+
- Sign-in: oauth2 (view:read, object\_configuration:read)
|
|
100
|
+
|
|
101
|
+
| Flag | Required | What |
|
|
102
|
+
|---|---|---|
|
|
103
|
+
| `--object <value>` | yes | object |
|
|
104
|
+
| `--view-id <value>` | yes | view\_id |
|
|
105
|
+
|
|
106
|
+
## `attio api objects-views-list [options]`
|
|
107
|
+
|
|
108
|
+
- What: List views for object
|
|
109
|
+
- Call: `GET /v2/objects/{object}/views`, effect: read
|
|
110
|
+
- Sign-in: oauth2 (object\_configuration:read)
|
|
111
|
+
- Pages: cursor: send `cursor` (query), read the next one from `pagination.next_cursor`; items in `data`; page size in `limit` (query)
|
|
112
|
+
|
|
113
|
+
| Flag | Required | What |
|
|
114
|
+
|---|---|---|
|
|
115
|
+
| `--object <value>` | yes | object |
|
|
116
|
+
| `--show-archived <value>` | no | show\_archived |
|
|
117
|
+
| `--limit <value>` | no | limit |
|
|
118
|
+
| `--cursor <value>` | no | cursor |
|
|
119
|
+
| `--all` | no | read every page, as the API pages it |
|
|
120
|
+
|
|
121
|
+
## `attio api objects-views-update [options]`
|
|
122
|
+
|
|
123
|
+
- What: Update an object view
|
|
124
|
+
- Call: `PATCH /v2/objects/{object}/views/{view_id}`, effect: write
|
|
125
|
+
- Sign-in: oauth2 (view:read-write, object\_configuration:read)
|
|
126
|
+
- Body: `PatchV2ObjectsByObjectViewsByViewIdRequest`, required
|
|
127
|
+
|
|
128
|
+
| Flag | Required | What |
|
|
129
|
+
|---|---|---|
|
|
130
|
+
| `--object <value>` | yes | object |
|
|
131
|
+
| `--view-id <value>` | yes | view\_id |
|
|
132
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
133
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Webhooks
|
|
4
|
+
|
|
5
|
+
## `attio api webhooks-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: Create a webhook
|
|
8
|
+
- Call: `POST /v2/webhooks`, effect: write
|
|
9
|
+
- Sign-in: oauth2 (webhook:read-write)
|
|
10
|
+
- Body: `PostV2WebhooksRequest`, required
|
|
11
|
+
|
|
12
|
+
| Flag | Required | What |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
15
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
16
|
+
|
|
17
|
+
## `attio api webhooks-delete [options]`
|
|
18
|
+
|
|
19
|
+
- What: Delete a webhook
|
|
20
|
+
- Call: `DELETE /v2/webhooks/{webhook_id}`, effect: destructive
|
|
21
|
+
- Sign-in: oauth2 (webhook:read-write)
|
|
22
|
+
- Permission keys: `attio.delete`
|
|
23
|
+
|
|
24
|
+
| Flag | Required | What |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `--webhook-id <value>` | yes | webhook\_id |
|
|
27
|
+
|
|
28
|
+
## `attio api webhooks-get [options]`
|
|
29
|
+
|
|
30
|
+
- What: Get a webhook
|
|
31
|
+
- Call: `GET /v2/webhooks/{webhook_id}`, effect: read
|
|
32
|
+
- Sign-in: oauth2 (webhook:read)
|
|
33
|
+
|
|
34
|
+
| Flag | Required | What |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `--webhook-id <value>` | yes | webhook\_id |
|
|
37
|
+
|
|
38
|
+
## `attio api webhooks-list [options]`
|
|
39
|
+
|
|
40
|
+
- What: List webhooks
|
|
41
|
+
- Call: `GET /v2/webhooks`, effect: read
|
|
42
|
+
- Sign-in: oauth2 (webhook:read)
|
|
43
|
+
- Pages: offset: send `offset` (query), raised by the items read so far; items in `data`; page size in `limit` (query)
|
|
44
|
+
|
|
45
|
+
| Flag | Required | What |
|
|
46
|
+
|---|---|---|
|
|
47
|
+
| `--limit <value>` | no | limit |
|
|
48
|
+
| `--offset <value>` | no | offset |
|
|
49
|
+
| `--all` | no | read every page, as the API pages it |
|
|
50
|
+
|
|
51
|
+
## `attio api webhooks-update [options]`
|
|
52
|
+
|
|
53
|
+
- What: Update a webhook
|
|
54
|
+
- Call: `PATCH /v2/webhooks/{webhook_id}`, effect: write
|
|
55
|
+
- Sign-in: oauth2 (webhook:read-write)
|
|
56
|
+
- Body: `PatchV2WebhooksByWebhookIdRequest`, required
|
|
57
|
+
|
|
58
|
+
| Flag | Required | What |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| `--webhook-id <value>` | yes | webhook\_id |
|
|
61
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
62
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Workspace blocklist
|
|
4
|
+
|
|
5
|
+
## `attio api workspace-blocklist-addresses-delete [options]`
|
|
6
|
+
|
|
7
|
+
- What: Delete a workspace blocklist address
|
|
8
|
+
- Call: `DELETE /v2/workspace_blocklist_addresses/{address}`, effect: destructive
|
|
9
|
+
- Sign-in: oauth2 (email\_calendar\_blocklist:read-write)
|
|
10
|
+
- Permission keys: `attio.delete`
|
|
11
|
+
|
|
12
|
+
| Flag | Required | What |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `--address <value>` | yes | address |
|
|
15
|
+
|
|
16
|
+
## `attio api workspace-blocklist-addresses-list [options]`
|
|
17
|
+
|
|
18
|
+
- What: List workspace blocklist addresses
|
|
19
|
+
- Call: `GET /v2/workspace_blocklist_addresses`, effect: read
|
|
20
|
+
- Sign-in: oauth2 (email\_calendar\_blocklist:read)
|
|
21
|
+
- Pages: cursor: send `cursor` (query), read the next one from `pagination.next_cursor`; items in `data`; page size in `limit` (query)
|
|
22
|
+
|
|
23
|
+
| Flag | Required | What |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| `--limit <value>` | no | limit |
|
|
26
|
+
| `--cursor <value>` | no | cursor |
|
|
27
|
+
| `--all` | no | read every page, as the API pages it |
|
|
28
|
+
|
|
29
|
+
## `attio api workspace-blocklist-addresses-replace [options]`
|
|
30
|
+
|
|
31
|
+
- What: Add or update workspace blocklist addresses
|
|
32
|
+
- Call: `PUT /v2/workspace_blocklist_addresses`, effect: write
|
|
33
|
+
- Sign-in: oauth2 (email\_calendar\_blocklist:read-write)
|
|
34
|
+
- Body: `PutV2WorkspaceBlocklistAddressesRequest`, required
|
|
35
|
+
|
|
36
|
+
| Flag | Required | What |
|
|
37
|
+
|---|---|---|
|
|
38
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
39
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Workspace members
|
|
4
|
+
|
|
5
|
+
## `attio api workspace-members-get [options]`
|
|
6
|
+
|
|
7
|
+
- What: Get a workspace member
|
|
8
|
+
- Call: `GET /v2/workspace_members/{workspace_member_id}`, effect: read
|
|
9
|
+
- Sign-in: oauth2 (user\_management:read)
|
|
10
|
+
|
|
11
|
+
| Flag | Required | What |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| `--workspace-member-id <value>` | yes | workspace\_member\_id |
|
|
14
|
+
|
|
15
|
+
## `attio api workspace-members-list`
|
|
16
|
+
|
|
17
|
+
- What: List workspace members
|
|
18
|
+
- Call: `GET /v2/workspace_members`, effect: read
|
|
19
|
+
- Sign-in: oauth2 (user\_management:read)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API
|
|
4
|
+
|
|
5
|
+
Every operation of the Attio API this CLI offers is a command of its own. Read only the group
|
|
6
|
+
you need: `attio skill show api-<group>` prints it, as does the file `api/api-<group>.md` beside
|
|
7
|
+
this one. Each command lists its usage and flags as `--help` prints them.
|
|
8
|
+
|
|
9
|
+
Effects: `read` changes nothing; `write` changes the service; `destructive` deletes or overwrites there.
|
|
10
|
+
|
|
11
|
+
| Group | Read with | Commands | read | write | destructive |
|
|
12
|
+
|---|---|---|---|---|---|
|
|
13
|
+
| Activities | `attio skill show api-activities` | 5 | 2 | 2 | 1 |
|
|
14
|
+
| Activity records | `attio skill show api-activity-records` | 7 | 2 | 4 | 1 |
|
|
15
|
+
| Attributes | `attio skill show api-attributes` | 10 | 4 | 6 | 0 |
|
|
16
|
+
| Call recordings | `attio skill show api-call-recordings` | 4 | 2 | 1 | 1 |
|
|
17
|
+
| Comments | `attio skill show api-comments` | 3 | 1 | 1 | 1 |
|
|
18
|
+
| Emails | `attio skill show api-emails` | 1 | 1 | 0 | 0 |
|
|
19
|
+
| Entries | `attio skill show api-entries` | 9 | 3 | 5 | 1 |
|
|
20
|
+
| Files | `attio skill show api-files` | 5 | 3 | 1 | 1 |
|
|
21
|
+
| Lists | `attio skill show api-lists` | 4 | 2 | 2 | 0 |
|
|
22
|
+
| Meetings | `attio skill show api-meetings` | 6 | 2 | 3 | 1 |
|
|
23
|
+
| Meta | `attio skill show api-meta` | 1 | 1 | 0 | 0 |
|
|
24
|
+
| Notes | `attio skill show api-notes` | 5 | 2 | 2 | 1 |
|
|
25
|
+
| Objects | `attio skill show api-objects` | 5 | 2 | 2 | 1 |
|
|
26
|
+
| Records | `attio skill show api-records` | 12 | 5 | 6 | 1 |
|
|
27
|
+
| Sequences | `attio skill show api-sequences` | 1 | 0 | 1 | 0 |
|
|
28
|
+
| SQL | `attio skill show api-sql` | 1 | 0 | 1 | 0 |
|
|
29
|
+
| Tasks | `attio skill show api-tasks` | 5 | 2 | 2 | 1 |
|
|
30
|
+
| Threads | `attio skill show api-threads` | 2 | 2 | 0 | 0 |
|
|
31
|
+
| Transcripts | `attio skill show api-transcripts` | 1 | 1 | 0 | 0 |
|
|
32
|
+
| Views | `attio skill show api-views` | 10 | 4 | 4 | 2 |
|
|
33
|
+
| Webhooks | `attio skill show api-webhooks` | 5 | 2 | 2 | 1 |
|
|
34
|
+
| Workspace blocklist | `attio skill show api-workspace-blocklist` | 3 | 1 | 1 | 1 |
|
|
35
|
+
| Workspace members | `attio skill show api-workspace-members` | 2 | 2 | 0 | 0 |
|