@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,127 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Entries
|
|
4
|
+
|
|
5
|
+
## `attio api lists-entries-attributes-values-list [options]`
|
|
6
|
+
|
|
7
|
+
- What: List attribute values for a list entry
|
|
8
|
+
- Call: `GET /v2/lists/{list}/entries/{entry_id}/attributes/{attribute}/values`, effect: read
|
|
9
|
+
- Sign-in: oauth2 (list\_entry:read, list\_configuration:read)
|
|
10
|
+
- Pages: offset: send `offset` (query), raised by the items read so far; items in `data`; page size in `limit` (query)
|
|
11
|
+
|
|
12
|
+
| Flag | Required | What |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `--list <value>` | yes | list |
|
|
15
|
+
| `--entry-id <value>` | yes | entry\_id |
|
|
16
|
+
| `--attribute <value>` | yes | attribute |
|
|
17
|
+
| `--show-historic <value>` | no | show\_historic |
|
|
18
|
+
| `--limit <value>` | no | limit |
|
|
19
|
+
| `--offset <value>` | no | offset |
|
|
20
|
+
| `--all` | no | read every page, as the API pages it |
|
|
21
|
+
|
|
22
|
+
## `attio api lists-entries-attributes-values-replace [options]`
|
|
23
|
+
|
|
24
|
+
- What: Write list entry attribute values
|
|
25
|
+
- Call: `PUT /v2/lists/{list}/entries/{entry_id}/attributes/{attribute}/values`, effect: write
|
|
26
|
+
- Sign-in: oauth2 (list\_entry:read-write, list\_configuration:read)
|
|
27
|
+
- Body: `PutV2ListsByListEntriesByEntryIdAttributesByAttributeValuesRequest`, required
|
|
28
|
+
|
|
29
|
+
| Flag | Required | What |
|
|
30
|
+
|---|---|---|
|
|
31
|
+
| `--list <value>` | yes | list |
|
|
32
|
+
| `--entry-id <value>` | yes | entry\_id |
|
|
33
|
+
| `--attribute <value>` | yes | attribute |
|
|
34
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
35
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
36
|
+
|
|
37
|
+
## `attio api lists-entries-create [options]`
|
|
38
|
+
|
|
39
|
+
- What: Create an entry (add record to list)
|
|
40
|
+
- Call: `POST /v2/lists/{list}/entries`, effect: write
|
|
41
|
+
- Sign-in: oauth2 (list\_entry:read-write, list\_configuration:read)
|
|
42
|
+
- Body: `PostV2ListsByListEntriesRequest`, required
|
|
43
|
+
|
|
44
|
+
| Flag | Required | What |
|
|
45
|
+
|---|---|---|
|
|
46
|
+
| `--list <value>` | yes | list |
|
|
47
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
48
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
49
|
+
|
|
50
|
+
## `attio api lists-entries-delete [options]`
|
|
51
|
+
|
|
52
|
+
- What: Delete a list entry
|
|
53
|
+
- Call: `DELETE /v2/lists/{list}/entries/{entry_id}`, effect: destructive
|
|
54
|
+
- Sign-in: oauth2 (list\_entry:read-write, list\_configuration:read)
|
|
55
|
+
- Permission keys: `attio.delete`
|
|
56
|
+
|
|
57
|
+
| Flag | Required | What |
|
|
58
|
+
|---|---|---|
|
|
59
|
+
| `--list <value>` | yes | list |
|
|
60
|
+
| `--entry-id <value>` | yes | entry\_id |
|
|
61
|
+
|
|
62
|
+
## `attio api lists-entries-get [options]`
|
|
63
|
+
|
|
64
|
+
- What: Get a list entry
|
|
65
|
+
- Call: `GET /v2/lists/{list}/entries/{entry_id}`, effect: read
|
|
66
|
+
- Sign-in: oauth2 (list\_entry:read, list\_configuration:read)
|
|
67
|
+
|
|
68
|
+
| Flag | Required | What |
|
|
69
|
+
|---|---|---|
|
|
70
|
+
| `--list <value>` | yes | list |
|
|
71
|
+
| `--entry-id <value>` | yes | entry\_id |
|
|
72
|
+
|
|
73
|
+
## `attio api lists-entries-query [options]`
|
|
74
|
+
|
|
75
|
+
- What: List entries
|
|
76
|
+
- Call: `POST /v2/lists/{list}/entries/query`, effect: read
|
|
77
|
+
- Sign-in: oauth2 (list\_entry:read, list\_configuration:read)
|
|
78
|
+
- Pages: offset: send `offset` (body), raised by the items read so far; items in `data`; page size in `limit` (body)
|
|
79
|
+
- Body: `PostV2ListsByListEntriesQueryRequest`, required
|
|
80
|
+
|
|
81
|
+
| Flag | Required | What |
|
|
82
|
+
|---|---|---|
|
|
83
|
+
| `--list <value>` | yes | list |
|
|
84
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
85
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
86
|
+
| `--all` | no | read every page, as the API pages it |
|
|
87
|
+
|
|
88
|
+
## `attio api lists-entries-replace [options]`
|
|
89
|
+
|
|
90
|
+
- What: Update a list entry (overwrite multiselect values)
|
|
91
|
+
- Call: `PUT /v2/lists/{list}/entries/{entry_id}`, effect: write
|
|
92
|
+
- Sign-in: oauth2 (list\_entry:read-write, list\_configuration:read)
|
|
93
|
+
- Body: `PutV2ListsByListEntriesByEntryIdRequest`, required
|
|
94
|
+
|
|
95
|
+
| Flag | Required | What |
|
|
96
|
+
|---|---|---|
|
|
97
|
+
| `--list <value>` | yes | list |
|
|
98
|
+
| `--entry-id <value>` | yes | entry\_id |
|
|
99
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
100
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
101
|
+
|
|
102
|
+
## `attio api lists-entries-update [options]`
|
|
103
|
+
|
|
104
|
+
- What: Update a list entry (append multiselect values)
|
|
105
|
+
- Call: `PATCH /v2/lists/{list}/entries/{entry_id}`, effect: write
|
|
106
|
+
- Sign-in: oauth2 (list\_entry:read-write, list\_configuration:read)
|
|
107
|
+
- Body: `PatchV2ListsByListEntriesByEntryIdRequest`, required
|
|
108
|
+
|
|
109
|
+
| Flag | Required | What |
|
|
110
|
+
|---|---|---|
|
|
111
|
+
| `--list <value>` | yes | list |
|
|
112
|
+
| `--entry-id <value>` | yes | entry\_id |
|
|
113
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
114
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
115
|
+
|
|
116
|
+
## `attio api lists-entries-upsert [options]`
|
|
117
|
+
|
|
118
|
+
- What: Upsert a list entry by parent
|
|
119
|
+
- Call: `PUT /v2/lists/{list}/entries`, effect: write
|
|
120
|
+
- Sign-in: oauth2 (list\_entry:read-write, list\_configuration:read)
|
|
121
|
+
- Body: `PutV2ListsByListEntriesRequest`, required
|
|
122
|
+
|
|
123
|
+
| Flag | Required | What |
|
|
124
|
+
|---|---|---|
|
|
125
|
+
| `--list <value>` | yes | list |
|
|
126
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
127
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Files
|
|
4
|
+
|
|
5
|
+
## `attio api files-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: Create a folder
|
|
8
|
+
- Call: `POST /v2/files`, effect: write
|
|
9
|
+
- Sign-in: oauth2 (file:read-write, object\_configuration:read, record\_permission:read)
|
|
10
|
+
- Body: `PostV2FilesRequest`, 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 files-delete [options]`
|
|
18
|
+
|
|
19
|
+
- What: Delete a file
|
|
20
|
+
- Call: `DELETE /v2/files/{file_id}`, effect: destructive
|
|
21
|
+
- Sign-in: oauth2 (file:read-write, object\_configuration:read, record\_permission:read)
|
|
22
|
+
- Permission keys: `attio.delete`
|
|
23
|
+
|
|
24
|
+
| Flag | Required | What |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `--file-id <value>` | yes | file\_id |
|
|
27
|
+
|
|
28
|
+
## `attio api files-download-list [options]`
|
|
29
|
+
|
|
30
|
+
- What: Download a file
|
|
31
|
+
- Call: `GET /v2/files/{file_id}/download`, effect: read
|
|
32
|
+
- Sign-in: oauth2 (object\_configuration:read, record\_permission:read, file:read)
|
|
33
|
+
|
|
34
|
+
| Flag | Required | What |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `--file-id <value>` | yes | file\_id |
|
|
37
|
+
|
|
38
|
+
## `attio api files-get [options]`
|
|
39
|
+
|
|
40
|
+
- What: Get a file
|
|
41
|
+
- Call: `GET /v2/files/{file_id}`, effect: read
|
|
42
|
+
- Sign-in: oauth2 (file:read, object\_configuration:read, record\_permission:read)
|
|
43
|
+
|
|
44
|
+
| Flag | Required | What |
|
|
45
|
+
|---|---|---|
|
|
46
|
+
| `--file-id <value>` | yes | file\_id |
|
|
47
|
+
|
|
48
|
+
## `attio api files-list [options]`
|
|
49
|
+
|
|
50
|
+
- What: List files
|
|
51
|
+
- Call: `GET /v2/files`, effect: read
|
|
52
|
+
- Sign-in: oauth2 (object\_configuration:read, record\_permission:read, file:read)
|
|
53
|
+
- Pages: cursor: send `cursor` (query), read the next one from `pagination.next_cursor`; items in `data`; page size in `limit` (query)
|
|
54
|
+
|
|
55
|
+
| Flag | Required | What |
|
|
56
|
+
|---|---|---|
|
|
57
|
+
| `--object <value>` | yes | object |
|
|
58
|
+
| `--record-id <value>` | yes | record\_id |
|
|
59
|
+
| `--storage-provider <value>` | no | storage\_provider |
|
|
60
|
+
| `--parent-folder-id <value>` | no | parent\_folder\_id |
|
|
61
|
+
| `--limit <value>` | no | limit |
|
|
62
|
+
| `--cursor <value>` | no | cursor |
|
|
63
|
+
| `--all` | no | read every page, as the API pages it |
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Lists
|
|
4
|
+
|
|
5
|
+
## `attio api lists-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: Create a list
|
|
8
|
+
- Call: `POST /v2/lists`, effect: write
|
|
9
|
+
- Sign-in: oauth2 (list\_configuration:read-write)
|
|
10
|
+
- Body: `PostV2ListsRequest`, 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 lists-get [options]`
|
|
18
|
+
|
|
19
|
+
- What: Get a list
|
|
20
|
+
- Call: `GET /v2/lists/{list}`, effect: read
|
|
21
|
+
- Sign-in: oauth2 (list\_configuration:read)
|
|
22
|
+
|
|
23
|
+
| Flag | Required | What |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| `--list <value>` | yes | list |
|
|
26
|
+
|
|
27
|
+
## `attio api lists-list`
|
|
28
|
+
|
|
29
|
+
- What: List all lists
|
|
30
|
+
- Call: `GET /v2/lists`, effect: read
|
|
31
|
+
- Sign-in: oauth2 (list\_configuration:read)
|
|
32
|
+
|
|
33
|
+
## `attio api lists-update [options]`
|
|
34
|
+
|
|
35
|
+
- What: Update a list
|
|
36
|
+
- Call: `PATCH /v2/lists/{list}`, effect: write
|
|
37
|
+
- Sign-in: oauth2 (list\_configuration:read-write)
|
|
38
|
+
- Body: `PatchV2ListsByListRequest`, required
|
|
39
|
+
|
|
40
|
+
| Flag | Required | What |
|
|
41
|
+
|---|---|---|
|
|
42
|
+
| `--list <value>` | yes | list |
|
|
43
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
44
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Meetings
|
|
4
|
+
|
|
5
|
+
## `attio api meetings-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: Create a meeting
|
|
8
|
+
- Call: `POST /v2/meetings`, effect: write
|
|
9
|
+
- Sign-in: oauth2 (meeting:read-write, record\_permission:read)
|
|
10
|
+
- Body: `PostV2MeetingsRequest`, 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 meetings-delete [options]`
|
|
18
|
+
|
|
19
|
+
- What: Delete a meeting
|
|
20
|
+
- Call: `DELETE /v2/meetings/{meeting_id}`, effect: destructive
|
|
21
|
+
- Sign-in: oauth2 (meeting:read-write)
|
|
22
|
+
- Permission keys: `attio.delete`
|
|
23
|
+
|
|
24
|
+
| Flag | Required | What |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `--meeting-id <value>` | yes | meeting\_id |
|
|
27
|
+
|
|
28
|
+
## `attio api meetings-get [options]`
|
|
29
|
+
|
|
30
|
+
- What: Get a meeting
|
|
31
|
+
- Call: `GET /v2/meetings/{meeting_id}`, effect: read
|
|
32
|
+
- Sign-in: oauth2 (meeting:read, record\_permission:read)
|
|
33
|
+
|
|
34
|
+
| Flag | Required | What |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `--meeting-id <value>` | yes | meeting\_id |
|
|
37
|
+
|
|
38
|
+
## `attio api meetings-list [options]`
|
|
39
|
+
|
|
40
|
+
- What: List meetings
|
|
41
|
+
- Call: `GET /v2/meetings`, effect: read
|
|
42
|
+
- Sign-in: oauth2 (meeting:read, record\_permission:read)
|
|
43
|
+
- Pages: cursor: send `cursor` (query), read the next one from `pagination.next_cursor`; items in `data`; page size in `limit` (query)
|
|
44
|
+
|
|
45
|
+
| Flag | Required | What |
|
|
46
|
+
|---|---|---|
|
|
47
|
+
| `--limit <value>` | no | limit |
|
|
48
|
+
| `--cursor <value>` | no | cursor |
|
|
49
|
+
| `--linked-object <value>` | no | linked\_object |
|
|
50
|
+
| `--linked-record-id <value>` | no | linked\_record\_id |
|
|
51
|
+
| `--participants <value>` | no | participants |
|
|
52
|
+
| `--sort <value>` | no | sort |
|
|
53
|
+
| `--ends-from <value>` | no | ends\_from |
|
|
54
|
+
| `--starts-before <value>` | no | starts\_before |
|
|
55
|
+
| `--timezone <value>` | no | timezone |
|
|
56
|
+
| `--all` | no | read every page, as the API pages it |
|
|
57
|
+
|
|
58
|
+
## `attio api meetings-replace [options]`
|
|
59
|
+
|
|
60
|
+
- What: Update a meeting (overwrite linked records)
|
|
61
|
+
- Call: `PUT /v2/meetings/{meeting_id}`, effect: write
|
|
62
|
+
- Sign-in: oauth2 (meeting:read-write, record\_permission:read)
|
|
63
|
+
- Body: `PutV2MeetingsByMeetingIdRequest`, required
|
|
64
|
+
|
|
65
|
+
| Flag | Required | What |
|
|
66
|
+
|---|---|---|
|
|
67
|
+
| `--meeting-id <value>` | yes | meeting\_id |
|
|
68
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
69
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
70
|
+
|
|
71
|
+
## `attio api meetings-update [options]`
|
|
72
|
+
|
|
73
|
+
- What: Update a meeting (append linked records)
|
|
74
|
+
- Call: `PATCH /v2/meetings/{meeting_id}`, effect: write
|
|
75
|
+
- Sign-in: oauth2 (meeting:read-write, record\_permission:read)
|
|
76
|
+
- Body: `PatchV2MeetingsByMeetingIdRequest`, required
|
|
77
|
+
|
|
78
|
+
| Flag | Required | What |
|
|
79
|
+
|---|---|---|
|
|
80
|
+
| `--meeting-id <value>` | yes | meeting\_id |
|
|
81
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
82
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Notes
|
|
4
|
+
|
|
5
|
+
## `attio api notes-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: Create a note
|
|
8
|
+
- Call: `POST /v2/notes`, effect: write
|
|
9
|
+
- Sign-in: oauth2 (note:read-write, object\_configuration:read, record\_permission:read)
|
|
10
|
+
- Body: `PostV2NotesRequest`, 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 notes-delete [options]`
|
|
18
|
+
|
|
19
|
+
- What: Delete a note
|
|
20
|
+
- Call: `DELETE /v2/notes/{note_id}`, effect: destructive
|
|
21
|
+
- Sign-in: oauth2 (note:read-write)
|
|
22
|
+
- Permission keys: `attio.delete`
|
|
23
|
+
|
|
24
|
+
| Flag | Required | What |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `--note-id <value>` | yes | note\_id |
|
|
27
|
+
|
|
28
|
+
## `attio api notes-get [options]`
|
|
29
|
+
|
|
30
|
+
- What: Get a note
|
|
31
|
+
- Call: `GET /v2/notes/{note_id}`, effect: read
|
|
32
|
+
- Sign-in: oauth2 (note:read, object\_configuration:read, record\_permission:read)
|
|
33
|
+
|
|
34
|
+
| Flag | Required | What |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `--note-id <value>` | yes | note\_id |
|
|
37
|
+
|
|
38
|
+
## `attio api notes-list [options]`
|
|
39
|
+
|
|
40
|
+
- What: List notes
|
|
41
|
+
- Call: `GET /v2/notes`, effect: read
|
|
42
|
+
- Sign-in: oauth2 (note:read, object\_configuration:read, record\_permission: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
|
+
| `--parent-object <value>` | no | parent\_object |
|
|
50
|
+
| `--parent-record-id <value>` | no | parent\_record\_id |
|
|
51
|
+
| `--all` | no | read every page, as the API pages it |
|
|
52
|
+
|
|
53
|
+
## `attio api notes-update [options]`
|
|
54
|
+
|
|
55
|
+
- What: Update a note
|
|
56
|
+
- Call: `PATCH /v2/notes/{note_id}`, effect: write
|
|
57
|
+
- Sign-in: oauth2 (note:read-write, object\_configuration:read, record\_permission:read)
|
|
58
|
+
- Body: `PatchV2NotesByNoteIdRequest`, required
|
|
59
|
+
|
|
60
|
+
| Flag | Required | What |
|
|
61
|
+
|---|---|---|
|
|
62
|
+
| `--note-id <value>` | yes | note\_id |
|
|
63
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
64
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Objects
|
|
4
|
+
|
|
5
|
+
## `attio api objects-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: Create an object
|
|
8
|
+
- Call: `POST /v2/objects`, effect: write
|
|
9
|
+
- Sign-in: oauth2 (object\_configuration:read-write)
|
|
10
|
+
- Body: `PostV2ObjectsRequest`, 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 objects-delete [options]`
|
|
18
|
+
|
|
19
|
+
- What: Delete an object
|
|
20
|
+
- Call: `DELETE /v2/objects/{object}`, effect: destructive
|
|
21
|
+
- Sign-in: oauth2 (object\_configuration:read-write, record\_permission:read-write)
|
|
22
|
+
- Permission keys: `attio.delete`
|
|
23
|
+
|
|
24
|
+
| Flag | Required | What |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `--object <value>` | yes | object |
|
|
27
|
+
|
|
28
|
+
## `attio api objects-get [options]`
|
|
29
|
+
|
|
30
|
+
- What: Get an object
|
|
31
|
+
- Call: `GET /v2/objects/{object}`, effect: read
|
|
32
|
+
- Sign-in: oauth2 (object\_configuration:read)
|
|
33
|
+
|
|
34
|
+
| Flag | Required | What |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `--object <value>` | yes | object |
|
|
37
|
+
|
|
38
|
+
## `attio api objects-list`
|
|
39
|
+
|
|
40
|
+
- What: List objects
|
|
41
|
+
- Call: `GET /v2/objects`, effect: read
|
|
42
|
+
- Sign-in: oauth2 (object\_configuration:read)
|
|
43
|
+
|
|
44
|
+
## `attio api objects-update [options]`
|
|
45
|
+
|
|
46
|
+
- What: Update an object
|
|
47
|
+
- Call: `PATCH /v2/objects/{object}`, effect: write
|
|
48
|
+
- Sign-in: oauth2 (object\_configuration:read-write)
|
|
49
|
+
- Body: `PatchV2ObjectsByObjectRequest`, required
|
|
50
|
+
|
|
51
|
+
| Flag | Required | What |
|
|
52
|
+
|---|---|---|
|
|
53
|
+
| `--object <value>` | yes | object |
|
|
54
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
55
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Records
|
|
4
|
+
|
|
5
|
+
## `attio api objects-records-attributes-values-list [options]`
|
|
6
|
+
|
|
7
|
+
- What: List record attribute values
|
|
8
|
+
- Call: `GET /v2/objects/{object}/records/{record_id}/attributes/{attribute}/values`, effect: read
|
|
9
|
+
- Sign-in: oauth2 (record\_permission:read, object\_configuration:read)
|
|
10
|
+
- Pages: offset: send `offset` (query), raised by the items read so far; items in `data`; page size in `limit` (query)
|
|
11
|
+
|
|
12
|
+
| Flag | Required | What |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `--object <value>` | yes | object |
|
|
15
|
+
| `--record-id <value>` | yes | record\_id |
|
|
16
|
+
| `--attribute <value>` | yes | attribute |
|
|
17
|
+
| `--show-historic <value>` | no | show\_historic |
|
|
18
|
+
| `--limit <value>` | no | limit |
|
|
19
|
+
| `--offset <value>` | no | offset |
|
|
20
|
+
| `--all` | no | read every page, as the API pages it |
|
|
21
|
+
|
|
22
|
+
## `attio api objects-records-attributes-values-replace [options]`
|
|
23
|
+
|
|
24
|
+
- What: Write record attribute values
|
|
25
|
+
- Call: `PUT /v2/objects/{object}/records/{record_id}/attributes/{attribute}/values`, effect: write
|
|
26
|
+
- Sign-in: oauth2 (record\_permission:read-write, object\_configuration:read)
|
|
27
|
+
- Body: `PutV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValuesRequest`, required
|
|
28
|
+
|
|
29
|
+
| Flag | Required | What |
|
|
30
|
+
|---|---|---|
|
|
31
|
+
| `--object <value>` | yes | object |
|
|
32
|
+
| `--record-id <value>` | yes | record\_id |
|
|
33
|
+
| `--attribute <value>` | yes | attribute |
|
|
34
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
35
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
36
|
+
|
|
37
|
+
## `attio api objects-records-create [options]`
|
|
38
|
+
|
|
39
|
+
- What: Create a record
|
|
40
|
+
- Call: `POST /v2/objects/{object}/records`, effect: write
|
|
41
|
+
- Sign-in: oauth2 (record\_permission:read-write, object\_configuration:read)
|
|
42
|
+
- Body: `PostV2ObjectsByObjectRecordsRequest`, required
|
|
43
|
+
|
|
44
|
+
| Flag | Required | What |
|
|
45
|
+
|---|---|---|
|
|
46
|
+
| `--object <value>` | yes | object |
|
|
47
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
48
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
49
|
+
|
|
50
|
+
## `attio api objects-records-delete [options]`
|
|
51
|
+
|
|
52
|
+
- What: Delete a record
|
|
53
|
+
- Call: `DELETE /v2/objects/{object}/records/{record_id}`, effect: destructive
|
|
54
|
+
- Sign-in: oauth2 (object\_configuration:read, record\_permission:read-write)
|
|
55
|
+
- Permission keys: `attio.delete`
|
|
56
|
+
|
|
57
|
+
| Flag | Required | What |
|
|
58
|
+
|---|---|---|
|
|
59
|
+
| `--object <value>` | yes | object |
|
|
60
|
+
| `--record-id <value>` | yes | record\_id |
|
|
61
|
+
|
|
62
|
+
## `attio api objects-records-entries-list [options]`
|
|
63
|
+
|
|
64
|
+
- What: List record entries
|
|
65
|
+
- Call: `GET /v2/objects/{object}/records/{record_id}/entries`, effect: read
|
|
66
|
+
- Sign-in: oauth2 (record\_permission:read, object\_configuration:read, list\_entry:read)
|
|
67
|
+
- Pages: offset: send `offset` (query), raised by the items read so far; items in `data`; page size in `limit` (query)
|
|
68
|
+
|
|
69
|
+
| Flag | Required | What |
|
|
70
|
+
|---|---|---|
|
|
71
|
+
| `--object <value>` | yes | object |
|
|
72
|
+
| `--record-id <value>` | yes | record\_id |
|
|
73
|
+
| `--limit <value>` | no | limit |
|
|
74
|
+
| `--offset <value>` | no | offset |
|
|
75
|
+
| `--all` | no | read every page, as the API pages it |
|
|
76
|
+
|
|
77
|
+
## `attio api objects-records-get [options]`
|
|
78
|
+
|
|
79
|
+
- What: Get a record
|
|
80
|
+
- Call: `GET /v2/objects/{object}/records/{record_id}`, effect: read
|
|
81
|
+
- Sign-in: oauth2 (record\_permission:read, object\_configuration:read)
|
|
82
|
+
|
|
83
|
+
| Flag | Required | What |
|
|
84
|
+
|---|---|---|
|
|
85
|
+
| `--object <value>` | yes | object |
|
|
86
|
+
| `--record-id <value>` | yes | record\_id |
|
|
87
|
+
|
|
88
|
+
## `attio api objects-records-merge [options]`
|
|
89
|
+
|
|
90
|
+
- What: Merge two records
|
|
91
|
+
- Call: `POST /v2/objects/{object}/records/merge`, effect: write
|
|
92
|
+
- Sign-in: oauth2 (record\_permission:read-write, object\_configuration:read)
|
|
93
|
+
- Body: `PostV2ObjectsByObjectRecordsMergeRequest`, required
|
|
94
|
+
|
|
95
|
+
| Flag | Required | What |
|
|
96
|
+
|---|---|---|
|
|
97
|
+
| `--object <value>` | yes | object |
|
|
98
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
99
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
100
|
+
|
|
101
|
+
## `attio api objects-records-query [options]`
|
|
102
|
+
|
|
103
|
+
- What: List records
|
|
104
|
+
- Call: `POST /v2/objects/{object}/records/query`, effect: read
|
|
105
|
+
- Sign-in: oauth2 (record\_permission:read, object\_configuration:read)
|
|
106
|
+
- Pages: offset: send `offset` (body), raised by the items read so far; items in `data`; page size in `limit` (body)
|
|
107
|
+
- Body: `PostV2ObjectsByObjectRecordsQueryRequest`, required
|
|
108
|
+
|
|
109
|
+
| Flag | Required | What |
|
|
110
|
+
|---|---|---|
|
|
111
|
+
| `--object <value>` | yes | object |
|
|
112
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
113
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
114
|
+
| `--all` | no | read every page, as the API pages it |
|
|
115
|
+
|
|
116
|
+
## `attio api objects-records-replace [options]`
|
|
117
|
+
|
|
118
|
+
- What: Update a record (overwrite multiselect values)
|
|
119
|
+
- Call: `PUT /v2/objects/{object}/records/{record_id}`, effect: write
|
|
120
|
+
- Sign-in: oauth2 (record\_permission:read-write, object\_configuration:read)
|
|
121
|
+
- Body: `PutV2ObjectsByObjectRecordsByRecordIdRequest`, required
|
|
122
|
+
|
|
123
|
+
| Flag | Required | What |
|
|
124
|
+
|---|---|---|
|
|
125
|
+
| `--object <value>` | yes | object |
|
|
126
|
+
| `--record-id <value>` | yes | record\_id |
|
|
127
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
128
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
129
|
+
|
|
130
|
+
## `attio api objects-records-search [options]`
|
|
131
|
+
|
|
132
|
+
- What: Search records
|
|
133
|
+
- Call: `POST /v2/objects/records/search`, effect: read
|
|
134
|
+
- Sign-in: oauth2 (record\_permission:read, object\_configuration:read)
|
|
135
|
+
- Body: `PostV2ObjectsRecordsSearchRequest`, required
|
|
136
|
+
|
|
137
|
+
| Flag | Required | What |
|
|
138
|
+
|---|---|---|
|
|
139
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
140
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
141
|
+
|
|
142
|
+
## `attio api objects-records-update [options]`
|
|
143
|
+
|
|
144
|
+
- What: Update a record (append multiselect values)
|
|
145
|
+
- Call: `PATCH /v2/objects/{object}/records/{record_id}`, effect: write
|
|
146
|
+
- Sign-in: oauth2 (record\_permission:read-write, object\_configuration:read)
|
|
147
|
+
- Body: `PatchV2ObjectsByObjectRecordsByRecordIdRequest`, required
|
|
148
|
+
|
|
149
|
+
| Flag | Required | What |
|
|
150
|
+
|---|---|---|
|
|
151
|
+
| `--object <value>` | yes | object |
|
|
152
|
+
| `--record-id <value>` | yes | record\_id |
|
|
153
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
154
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
155
|
+
|
|
156
|
+
## `attio api objects-records-upsert [options]`
|
|
157
|
+
|
|
158
|
+
- What: Upsert a record
|
|
159
|
+
- Call: `PUT /v2/objects/{object}/records`, effect: write
|
|
160
|
+
- Sign-in: oauth2 (record\_permission:read-write, object\_configuration:read)
|
|
161
|
+
- Body: `PutV2ObjectsByObjectRecordsRequest`, required
|
|
162
|
+
|
|
163
|
+
| Flag | Required | What |
|
|
164
|
+
|---|---|---|
|
|
165
|
+
| `--object <value>` | yes | object |
|
|
166
|
+
| `--matching-attribute <value>` | yes | matching\_attribute |
|
|
167
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
168
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: Sequences
|
|
4
|
+
|
|
5
|
+
## `attio api sequences-unsubscribed-emails [options]`
|
|
6
|
+
|
|
7
|
+
- What: Add emails to the unsubscribe list
|
|
8
|
+
- Call: `POST /v2/sequences/unsubscribed_emails`, effect: write
|
|
9
|
+
- Sign-in: oauth2 (sequence\_unsubscribe:read-write)
|
|
10
|
+
- Body: `PostV2SequencesUnsubscribedEmailsRequest`, 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 |
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Attio API: SQL
|
|
4
|
+
|
|
5
|
+
## `attio api sql [options]`
|
|
6
|
+
|
|
7
|
+
- What: Query SQL
|
|
8
|
+
- Call: `POST /v2/sql`, effect: write
|
|
9
|
+
- Sign-in: oauth2 (record\_permission:read, object\_configuration:read)
|
|
10
|
+
- Body: `PostV2SqlRequest`, 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 |
|