@kosuke-ai/kosuke 1.0.148 → 1.0.149

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.
Files changed (26) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/generated/commands/index.js +318 -276
  3. package/dist/generated/commands/mac/calendar-calendars-list.js +29 -0
  4. package/dist/generated/commands/mac/calendar-events-create.js +75 -0
  5. package/dist/generated/commands/mac/calendar-events-list.js +71 -0
  6. package/dist/generated/commands/mac/calendar-events-update.js +92 -0
  7. package/dist/generated/commands/mac/contacts-get.js +35 -0
  8. package/dist/generated/commands/mac/contacts-search.js +49 -0
  9. package/dist/generated/commands/mac/location-get.js +28 -0
  10. package/dist/generated/commands/mac/messages-conversations-list.js +43 -0
  11. package/dist/generated/commands/mac/messages-list.js +49 -0
  12. package/dist/generated/commands/mac/messages-send.js +53 -0
  13. package/dist/generated/commands/mac/notes-create.js +48 -0
  14. package/dist/generated/commands/mac/notes-folders-list.js +29 -0
  15. package/dist/generated/commands/mac/notes-get.js +35 -0
  16. package/dist/generated/commands/mac/notes-search.js +56 -0
  17. package/dist/generated/commands/mac/notes-update.js +42 -0
  18. package/dist/generated/commands/mac/reminders-complete.js +42 -0
  19. package/dist/generated/commands/mac/reminders-create.js +61 -0
  20. package/dist/generated/commands/mac/reminders-list.js +56 -0
  21. package/dist/generated/commands/mac/reminders-lists-list.js +29 -0
  22. package/dist/generated/commands/mac/reminders-search.js +63 -0
  23. package/dist/generated/commands/mac/reminders-update.js +75 -0
  24. package/dist/runtime/list-defaults.js +8 -0
  25. package/openapi.json +1798 -120
  26. package/package.json +4 -4
@@ -0,0 +1,29 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/calendar/calendars",
4
+ "command": [
5
+ "mac",
6
+ "calendar",
7
+ "calendars",
8
+ "list"
9
+ ],
10
+ "summary": "List the member's calendars on their Mac. Answers calendars: id, title, writable and source. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
11
+ "pathParams": [],
12
+ "query": [],
13
+ "body": {
14
+ "fields": [
15
+ {
16
+ "name": "deviceId",
17
+ "flag": "device-id",
18
+ "kind": "string",
19
+ "required": false,
20
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
21
+ }
22
+ ],
23
+ "required": true
24
+ },
25
+ "multipart": null,
26
+ "attachments": false,
27
+ "anonymous": false,
28
+ "agents": "all"
29
+ };
@@ -0,0 +1,75 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/calendar/create",
4
+ "command": [
5
+ "mac",
6
+ "calendar",
7
+ "events",
8
+ "create"
9
+ ],
10
+ "summary": "Create an event on the member's Mac: a title, start and end (ISO 8601 with an offset, or dates with --all-day), and optional calendar (by id or exact title; the default calendar otherwise), location and notes. It invites nobody. Answers event. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
11
+ "pathParams": [],
12
+ "query": [],
13
+ "body": {
14
+ "fields": [
15
+ {
16
+ "name": "deviceId",
17
+ "flag": "device-id",
18
+ "kind": "string",
19
+ "required": false,
20
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
21
+ },
22
+ {
23
+ "name": "title",
24
+ "flag": "title",
25
+ "kind": "string",
26
+ "required": true
27
+ },
28
+ {
29
+ "name": "start",
30
+ "flag": "start",
31
+ "kind": "string",
32
+ "required": true,
33
+ "description": "When it starts."
34
+ },
35
+ {
36
+ "name": "end",
37
+ "flag": "end",
38
+ "kind": "string",
39
+ "required": true,
40
+ "description": "When it ends, no earlier than start."
41
+ },
42
+ {
43
+ "name": "allDay",
44
+ "flag": "all-day",
45
+ "kind": "boolean",
46
+ "required": false,
47
+ "description": "An all-day event, its start and end as dates."
48
+ },
49
+ {
50
+ "name": "calendar",
51
+ "flag": "calendar",
52
+ "kind": "string",
53
+ "required": false,
54
+ "description": "The calendar, by id or exact title. The default calendar by default."
55
+ },
56
+ {
57
+ "name": "location",
58
+ "flag": "location",
59
+ "kind": "string",
60
+ "required": false
61
+ },
62
+ {
63
+ "name": "notes",
64
+ "flag": "notes",
65
+ "kind": "string",
66
+ "required": false
67
+ }
68
+ ],
69
+ "required": true
70
+ },
71
+ "multipart": null,
72
+ "attachments": false,
73
+ "anonymous": false,
74
+ "agents": "all"
75
+ };
@@ -0,0 +1,71 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/calendar/list",
4
+ "command": [
5
+ "mac",
6
+ "calendar",
7
+ "events",
8
+ "list"
9
+ ],
10
+ "summary": "List events on the member's Mac from --from to --to (ISO 8601, at most 366 days apart), in one calendar (by id or exact title) or in all; --query keeps those whose title, location or notes contain it. Answers events (id, title, start, end, allDay, calendar, location, notes cut at 4000 characters, url, attendees as a count, recurring) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
11
+ "pathParams": [],
12
+ "query": [],
13
+ "body": {
14
+ "fields": [
15
+ {
16
+ "name": "deviceId",
17
+ "flag": "device-id",
18
+ "kind": "string",
19
+ "required": false,
20
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
21
+ },
22
+ {
23
+ "name": "from",
24
+ "flag": "from",
25
+ "kind": "string",
26
+ "required": true,
27
+ "description": "The start of the range."
28
+ },
29
+ {
30
+ "name": "to",
31
+ "flag": "to",
32
+ "kind": "string",
33
+ "required": true,
34
+ "description": "The end of the range, at most 366 days after from."
35
+ },
36
+ {
37
+ "name": "calendar",
38
+ "flag": "calendar",
39
+ "kind": "string",
40
+ "required": false,
41
+ "description": "The calendar, by id or exact title, from `kosuke mac calendar calendars list`."
42
+ },
43
+ {
44
+ "name": "query",
45
+ "flag": "query",
46
+ "kind": "string",
47
+ "required": false,
48
+ "description": "Only events whose title, location or notes contain it."
49
+ },
50
+ {
51
+ "name": "limit",
52
+ "flag": "limit",
53
+ "kind": "integer",
54
+ "required": false,
55
+ "description": "Most items in one page: 25 by default, at most 100."
56
+ },
57
+ {
58
+ "name": "cursor",
59
+ "flag": "cursor",
60
+ "kind": "string",
61
+ "required": false,
62
+ "description": "The nextCursor of the previous page. Leave it out for the first page."
63
+ }
64
+ ],
65
+ "required": true
66
+ },
67
+ "multipart": null,
68
+ "attachments": false,
69
+ "anonymous": false,
70
+ "agents": "all"
71
+ };
@@ -0,0 +1,92 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/calendar/update",
4
+ "command": [
5
+ "mac",
6
+ "calendar",
7
+ "events",
8
+ "update"
9
+ ],
10
+ "summary": "Change an event on the member's Mac, by its id: its title, start, end, allDay, location, notes or calendar. Fields left out stay as they are. On a repeating event --span future changes this one and the ones after it; this, the default, changes only this one. Answers event. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
11
+ "pathParams": [],
12
+ "query": [],
13
+ "body": {
14
+ "fields": [
15
+ {
16
+ "name": "deviceId",
17
+ "flag": "device-id",
18
+ "kind": "string",
19
+ "required": false,
20
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
21
+ },
22
+ {
23
+ "name": "id",
24
+ "flag": "id",
25
+ "kind": "string",
26
+ "required": true,
27
+ "description": "The event, by the id a list or create answered."
28
+ },
29
+ {
30
+ "name": "title",
31
+ "flag": "title",
32
+ "kind": "string",
33
+ "required": false
34
+ },
35
+ {
36
+ "name": "start",
37
+ "flag": "start",
38
+ "kind": "string",
39
+ "required": false,
40
+ "description": "When it starts."
41
+ },
42
+ {
43
+ "name": "end",
44
+ "flag": "end",
45
+ "kind": "string",
46
+ "required": false,
47
+ "description": "When it ends."
48
+ },
49
+ {
50
+ "name": "allDay",
51
+ "flag": "all-day",
52
+ "kind": "boolean",
53
+ "required": false
54
+ },
55
+ {
56
+ "name": "location",
57
+ "flag": "location",
58
+ "kind": "string",
59
+ "required": false
60
+ },
61
+ {
62
+ "name": "notes",
63
+ "flag": "notes",
64
+ "kind": "string",
65
+ "required": false
66
+ },
67
+ {
68
+ "name": "calendar",
69
+ "flag": "calendar",
70
+ "kind": "string",
71
+ "required": false,
72
+ "description": "Move it to this calendar, by id or exact title."
73
+ },
74
+ {
75
+ "name": "span",
76
+ "flag": "span",
77
+ "kind": "string",
78
+ "required": false,
79
+ "description": "A repeating event: this occurrence (this, by default) or this and the ones after it (future).",
80
+ "choices": [
81
+ "this",
82
+ "future"
83
+ ]
84
+ }
85
+ ],
86
+ "required": true
87
+ },
88
+ "multipart": null,
89
+ "attachments": false,
90
+ "anonymous": false,
91
+ "agents": "all"
92
+ };
@@ -0,0 +1,35 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/contacts/read",
4
+ "command": [
5
+ "mac",
6
+ "contacts",
7
+ "get"
8
+ ],
9
+ "summary": "Read one contact on the member's Mac, by its id. Answers contact: id, name, givenName, familyName, organization, jobTitle, birthday, and emails, phones, addresses and urls, each with label and value. Without Apple Contacts turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "id",
23
+ "flag": "id",
24
+ "kind": "string",
25
+ "required": true,
26
+ "description": "The contact, by the id a search answered."
27
+ }
28
+ ],
29
+ "required": true
30
+ },
31
+ "multipart": null,
32
+ "attachments": false,
33
+ "anonymous": false,
34
+ "agents": "all"
35
+ };
@@ -0,0 +1,49 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/contacts/search",
4
+ "command": [
5
+ "mac",
6
+ "contacts",
7
+ "search"
8
+ ],
9
+ "summary": "Search the member's contacts on their Mac by name, or by email or phone number when --query looks like one. Answers contacts (id, name, organization, emails, phones) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Without Apple Contacts turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "query",
23
+ "flag": "query",
24
+ "kind": "string",
25
+ "required": true,
26
+ "description": "Matches the name, or an email or phone number when it looks like one."
27
+ },
28
+ {
29
+ "name": "limit",
30
+ "flag": "limit",
31
+ "kind": "integer",
32
+ "required": false,
33
+ "description": "Most items in one page: 25 by default, at most 100."
34
+ },
35
+ {
36
+ "name": "cursor",
37
+ "flag": "cursor",
38
+ "kind": "string",
39
+ "required": false,
40
+ "description": "The nextCursor of the previous page. Leave it out for the first page."
41
+ }
42
+ ],
43
+ "required": true
44
+ },
45
+ "multipart": null,
46
+ "attachments": false,
47
+ "anonymous": false,
48
+ "agents": "all"
49
+ };
@@ -0,0 +1,28 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/location/get",
4
+ "command": [
5
+ "mac",
6
+ "location",
7
+ "get"
8
+ ],
9
+ "summary": "Read where the member's Mac is now, once, within 15 seconds (TIMEOUT otherwise). Answers latitude, longitude, accuracy in meters, altitude when known, and at. Without Apple Location turned on in the Sensei app on that Mac (Settings, You, Integrations), or with Location Services off for the whole Mac, it fails with PERMISSION_MISSING, which says which. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ }
21
+ ],
22
+ "required": true
23
+ },
24
+ "multipart": null,
25
+ "attachments": false,
26
+ "anonymous": false,
27
+ "agents": "all"
28
+ };
@@ -0,0 +1,43 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/messages/conversations",
4
+ "command": [
5
+ "mac",
6
+ "messages",
7
+ "conversations",
8
+ "list"
9
+ ],
10
+ "summary": "List the member's Messages conversations on their Mac, newest first. Answers conversations (id, name, participants, service, lastAt, lastText, lastFromMe) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Needs Apple Messages turned on in the Sensei app on that Mac (Settings, You, Integrations) and Full Disk Access (Settings, This Mac, Permissions): PERMISSION_MISSING names the one missing. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
11
+ "pathParams": [],
12
+ "query": [],
13
+ "body": {
14
+ "fields": [
15
+ {
16
+ "name": "deviceId",
17
+ "flag": "device-id",
18
+ "kind": "string",
19
+ "required": false,
20
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
21
+ },
22
+ {
23
+ "name": "limit",
24
+ "flag": "limit",
25
+ "kind": "integer",
26
+ "required": false,
27
+ "description": "Most items in one page: 25 by default, at most 100."
28
+ },
29
+ {
30
+ "name": "cursor",
31
+ "flag": "cursor",
32
+ "kind": "string",
33
+ "required": false,
34
+ "description": "The nextCursor of the previous page. Leave it out for the first page."
35
+ }
36
+ ],
37
+ "required": true
38
+ },
39
+ "multipart": null,
40
+ "attachments": false,
41
+ "anonymous": false,
42
+ "agents": "all"
43
+ };
@@ -0,0 +1,49 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/messages/read",
4
+ "command": [
5
+ "mac",
6
+ "messages",
7
+ "list"
8
+ ],
9
+ "summary": "Read the messages of one conversation on the member's Mac, newest first: --chat is an id conversations list answered, or a phone number or email. Answers messages (id, at, fromMe, sender, text cut at 4000 characters with truncated true, attachments as a count) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Needs Apple Messages turned on in the Sensei app on that Mac (Settings, You, Integrations) and Full Disk Access (Settings, This Mac, Permissions): PERMISSION_MISSING names the one missing. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "chat",
23
+ "flag": "chat",
24
+ "kind": "string",
25
+ "required": true,
26
+ "description": "The conversation, by the id `kosuke mac messages conversations list` answered, or a phone number or email."
27
+ },
28
+ {
29
+ "name": "limit",
30
+ "flag": "limit",
31
+ "kind": "integer",
32
+ "required": false,
33
+ "description": "Most items in one page: 25 by default, at most 100."
34
+ },
35
+ {
36
+ "name": "cursor",
37
+ "flag": "cursor",
38
+ "kind": "string",
39
+ "required": false,
40
+ "description": "The nextCursor of the previous page. Leave it out for the first page."
41
+ }
42
+ ],
43
+ "required": true
44
+ },
45
+ "multipart": null,
46
+ "attachments": false,
47
+ "anonymous": false,
48
+ "agents": "all"
49
+ };
@@ -0,0 +1,53 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/messages/send",
4
+ "command": [
5
+ "mac",
6
+ "messages",
7
+ "send"
8
+ ],
9
+ "summary": "Send an iMessage, or an SMS with --service SMS, from the member's Mac: --to a phone number, email or conversation id, and --text. It sends only after the member approved, in this thread and this Turn, a card keyed mac-message:<recipient> that shows the recipient and, in a text block with role draft, this exact text; each Approve allows one send. Without one it fails with 403 MESSAGE_NEEDS_APPROVAL, which names the card's key. Answers sent, to and service. Without Apple Messages turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "to",
23
+ "flag": "to",
24
+ "kind": "string",
25
+ "required": true,
26
+ "description": "A phone number, an email or a conversation id, exactly as the approved card names it."
27
+ },
28
+ {
29
+ "name": "text",
30
+ "flag": "text",
31
+ "kind": "string",
32
+ "required": true,
33
+ "description": "The message, exactly as the approved card shows it."
34
+ },
35
+ {
36
+ "name": "service",
37
+ "flag": "service",
38
+ "kind": "string",
39
+ "required": false,
40
+ "description": "iMessage by default.",
41
+ "choices": [
42
+ "iMessage",
43
+ "SMS"
44
+ ]
45
+ }
46
+ ],
47
+ "required": true
48
+ },
49
+ "multipart": null,
50
+ "attachments": false,
51
+ "anonymous": false,
52
+ "agents": "all"
53
+ };
@@ -0,0 +1,48 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/notes/create",
4
+ "command": [
5
+ "mac",
6
+ "notes",
7
+ "create"
8
+ ],
9
+ "summary": "Create a note on the member's Mac with a title and an optional plain-text body, in --folder (by id or exact name) or the default account's default folder. Answers note: id, title and folder. Without Apple Notes turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "title",
23
+ "flag": "title",
24
+ "kind": "string",
25
+ "required": true
26
+ },
27
+ {
28
+ "name": "body",
29
+ "flag": "field-body",
30
+ "kind": "string",
31
+ "required": false,
32
+ "description": "Plain text."
33
+ },
34
+ {
35
+ "name": "folder",
36
+ "flag": "folder",
37
+ "kind": "string",
38
+ "required": false,
39
+ "description": "The folder, by id or exact name. The default account’s default folder by default."
40
+ }
41
+ ],
42
+ "required": true
43
+ },
44
+ "multipart": null,
45
+ "attachments": false,
46
+ "anonymous": false,
47
+ "agents": "all"
48
+ };
@@ -0,0 +1,29 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/notes/folders",
4
+ "command": [
5
+ "mac",
6
+ "notes",
7
+ "folders",
8
+ "list"
9
+ ],
10
+ "summary": "List the member's Notes folders on their Mac. Answers folders: id, name, account and count. Without Apple Notes turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
11
+ "pathParams": [],
12
+ "query": [],
13
+ "body": {
14
+ "fields": [
15
+ {
16
+ "name": "deviceId",
17
+ "flag": "device-id",
18
+ "kind": "string",
19
+ "required": false,
20
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
21
+ }
22
+ ],
23
+ "required": true
24
+ },
25
+ "multipart": null,
26
+ "attachments": false,
27
+ "anonymous": false,
28
+ "agents": "all"
29
+ };
@@ -0,0 +1,35 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/notes/read",
4
+ "command": [
5
+ "mac",
6
+ "notes",
7
+ "get"
8
+ ],
9
+ "summary": "Read one note on the member's Mac, by its id. Answers note: id, title, folder, created, modified, and body as plain text, cut at 4000 characters with truncated true. Without Apple Notes turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "id",
23
+ "flag": "id",
24
+ "kind": "string",
25
+ "required": true,
26
+ "description": "The note, by the id a search or create answered."
27
+ }
28
+ ],
29
+ "required": true
30
+ },
31
+ "multipart": null,
32
+ "attachments": false,
33
+ "anonymous": false,
34
+ "agents": "all"
35
+ };