notte-sdk 0.0.18 → 0.0.19
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/dist/index.d.mts +526 -11
- package/dist/index.d.ts +526 -11
- package/dist/index.js +66 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +59 -1
- package/dist/index.mjs.map +1 -1
- package/dist/proxy/core.js +9 -0
- package/dist/proxy/core.js.map +1 -1
- package/dist/proxy/core.mjs +9 -0
- package/dist/proxy/core.mjs.map +1 -1
- package/dist/proxy/next.js +9 -0
- package/dist/proxy/next.js.map +1 -1
- package/dist/proxy/next.mjs +9 -0
- package/dist/proxy/next.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -76,6 +76,12 @@ __export(index_exports, {
|
|
|
76
76
|
listSecrets: () => listSecrets,
|
|
77
77
|
listSessions: () => listSessions,
|
|
78
78
|
listVaults: () => listVaults,
|
|
79
|
+
mailboxConnectToken: () => mailboxConnectToken,
|
|
80
|
+
mailboxDelete: () => mailboxDelete,
|
|
81
|
+
mailboxGet: () => mailboxGet,
|
|
82
|
+
mailboxList: () => mailboxList,
|
|
83
|
+
mailboxSync: () => mailboxSync,
|
|
84
|
+
mailboxUpdate: () => mailboxUpdate,
|
|
79
85
|
nudgePrompt: () => nudgePrompt,
|
|
80
86
|
pageExecute: () => pageExecute,
|
|
81
87
|
pageObserve: () => pageObserve,
|
|
@@ -86,6 +92,7 @@ __export(index_exports, {
|
|
|
86
92
|
personaEmailsList: () => personaEmailsList,
|
|
87
93
|
personaGet: () => personaGet,
|
|
88
94
|
personaSmsList: () => personaSmsList,
|
|
95
|
+
personaUpdate: () => personaUpdate,
|
|
89
96
|
profileCookiesGet: () => profileCookiesGet,
|
|
90
97
|
profileCookiesSet: () => profileCookiesSet,
|
|
91
98
|
profileCreate: () => profileCreate,
|
|
@@ -121,7 +128,7 @@ __export(index_exports, {
|
|
|
121
128
|
module.exports = __toCommonJS(index_exports);
|
|
122
129
|
|
|
123
130
|
// src/version.ts
|
|
124
|
-
var SDK_VERSION = true ? "0.0.
|
|
131
|
+
var SDK_VERSION = true ? "0.0.19" : "dev";
|
|
125
132
|
var SDK_PACKAGE_NAME = true ? "notte-sdk" : "notte-sdk";
|
|
126
133
|
|
|
127
134
|
// src/version-check.ts
|
|
@@ -1382,6 +1389,15 @@ var personaGet = (options) => (options.client ?? client).get({
|
|
|
1382
1389
|
url: "/personas/{persona_id}",
|
|
1383
1390
|
...options
|
|
1384
1391
|
});
|
|
1392
|
+
var personaUpdate = (options) => (options.client ?? client).patch({
|
|
1393
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1394
|
+
url: "/personas/{persona_id}",
|
|
1395
|
+
...options,
|
|
1396
|
+
headers: {
|
|
1397
|
+
"Content-Type": "application/json",
|
|
1398
|
+
...options.headers
|
|
1399
|
+
}
|
|
1400
|
+
});
|
|
1385
1401
|
var personaEmailsList = (options) => (options.client ?? client).get({
|
|
1386
1402
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1387
1403
|
url: "/personas/{persona_id}/emails",
|
|
@@ -1397,6 +1413,48 @@ var personaSmsList = (options) => (options.client ?? client).get({
|
|
|
1397
1413
|
url: "/personas/{persona_id}/sms",
|
|
1398
1414
|
...options
|
|
1399
1415
|
});
|
|
1416
|
+
var mailboxConnectToken = (options) => (options.client ?? client).post({
|
|
1417
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1418
|
+
url: "/mailboxes/connect-token",
|
|
1419
|
+
...options,
|
|
1420
|
+
headers: {
|
|
1421
|
+
"Content-Type": "application/json",
|
|
1422
|
+
...options.headers
|
|
1423
|
+
}
|
|
1424
|
+
});
|
|
1425
|
+
var mailboxSync = (options) => (options?.client ?? client).post({
|
|
1426
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1427
|
+
url: "/mailboxes/sync",
|
|
1428
|
+
...options,
|
|
1429
|
+
headers: {
|
|
1430
|
+
"Content-Type": "application/json",
|
|
1431
|
+
...options?.headers
|
|
1432
|
+
}
|
|
1433
|
+
});
|
|
1434
|
+
var mailboxList = (options) => (options?.client ?? client).get({
|
|
1435
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1436
|
+
url: "/mailboxes",
|
|
1437
|
+
...options
|
|
1438
|
+
});
|
|
1439
|
+
var mailboxDelete = (options) => (options.client ?? client).delete({
|
|
1440
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1441
|
+
url: "/mailboxes/{mailbox_id}",
|
|
1442
|
+
...options
|
|
1443
|
+
});
|
|
1444
|
+
var mailboxGet = (options) => (options.client ?? client).get({
|
|
1445
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1446
|
+
url: "/mailboxes/{mailbox_id}",
|
|
1447
|
+
...options
|
|
1448
|
+
});
|
|
1449
|
+
var mailboxUpdate = (options) => (options.client ?? client).patch({
|
|
1450
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1451
|
+
url: "/mailboxes/{mailbox_id}",
|
|
1452
|
+
...options,
|
|
1453
|
+
headers: {
|
|
1454
|
+
"Content-Type": "application/json",
|
|
1455
|
+
...options.headers
|
|
1456
|
+
}
|
|
1457
|
+
});
|
|
1400
1458
|
var improvePrompt = (options) => (options.client ?? client).post({
|
|
1401
1459
|
url: "/prompts/improve",
|
|
1402
1460
|
...options,
|
|
@@ -3095,6 +3153,12 @@ var createClient2 = (config) => {
|
|
|
3095
3153
|
listSecrets,
|
|
3096
3154
|
listSessions,
|
|
3097
3155
|
listVaults,
|
|
3156
|
+
mailboxConnectToken,
|
|
3157
|
+
mailboxDelete,
|
|
3158
|
+
mailboxGet,
|
|
3159
|
+
mailboxList,
|
|
3160
|
+
mailboxSync,
|
|
3161
|
+
mailboxUpdate,
|
|
3098
3162
|
nudgePrompt,
|
|
3099
3163
|
pageExecute,
|
|
3100
3164
|
pageObserve,
|
|
@@ -3105,6 +3169,7 @@ var createClient2 = (config) => {
|
|
|
3105
3169
|
personaEmailsList,
|
|
3106
3170
|
personaGet,
|
|
3107
3171
|
personaSmsList,
|
|
3172
|
+
personaUpdate,
|
|
3108
3173
|
profileCookiesGet,
|
|
3109
3174
|
profileCookiesSet,
|
|
3110
3175
|
profileCreate,
|