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.mjs
CHANGED
|
@@ -6,7 +6,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
6
6
|
});
|
|
7
7
|
|
|
8
8
|
// src/version.ts
|
|
9
|
-
var SDK_VERSION = true ? "0.0.
|
|
9
|
+
var SDK_VERSION = true ? "0.0.19" : "dev";
|
|
10
10
|
var SDK_PACKAGE_NAME = true ? "notte-sdk" : "notte-sdk";
|
|
11
11
|
|
|
12
12
|
// src/version-check.ts
|
|
@@ -1267,6 +1267,15 @@ var personaGet = (options) => (options.client ?? client).get({
|
|
|
1267
1267
|
url: "/personas/{persona_id}",
|
|
1268
1268
|
...options
|
|
1269
1269
|
});
|
|
1270
|
+
var personaUpdate = (options) => (options.client ?? client).patch({
|
|
1271
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1272
|
+
url: "/personas/{persona_id}",
|
|
1273
|
+
...options,
|
|
1274
|
+
headers: {
|
|
1275
|
+
"Content-Type": "application/json",
|
|
1276
|
+
...options.headers
|
|
1277
|
+
}
|
|
1278
|
+
});
|
|
1270
1279
|
var personaEmailsList = (options) => (options.client ?? client).get({
|
|
1271
1280
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1272
1281
|
url: "/personas/{persona_id}/emails",
|
|
@@ -1282,6 +1291,48 @@ var personaSmsList = (options) => (options.client ?? client).get({
|
|
|
1282
1291
|
url: "/personas/{persona_id}/sms",
|
|
1283
1292
|
...options
|
|
1284
1293
|
});
|
|
1294
|
+
var mailboxConnectToken = (options) => (options.client ?? client).post({
|
|
1295
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1296
|
+
url: "/mailboxes/connect-token",
|
|
1297
|
+
...options,
|
|
1298
|
+
headers: {
|
|
1299
|
+
"Content-Type": "application/json",
|
|
1300
|
+
...options.headers
|
|
1301
|
+
}
|
|
1302
|
+
});
|
|
1303
|
+
var mailboxSync = (options) => (options?.client ?? client).post({
|
|
1304
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1305
|
+
url: "/mailboxes/sync",
|
|
1306
|
+
...options,
|
|
1307
|
+
headers: {
|
|
1308
|
+
"Content-Type": "application/json",
|
|
1309
|
+
...options?.headers
|
|
1310
|
+
}
|
|
1311
|
+
});
|
|
1312
|
+
var mailboxList = (options) => (options?.client ?? client).get({
|
|
1313
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1314
|
+
url: "/mailboxes",
|
|
1315
|
+
...options
|
|
1316
|
+
});
|
|
1317
|
+
var mailboxDelete = (options) => (options.client ?? client).delete({
|
|
1318
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1319
|
+
url: "/mailboxes/{mailbox_id}",
|
|
1320
|
+
...options
|
|
1321
|
+
});
|
|
1322
|
+
var mailboxGet = (options) => (options.client ?? client).get({
|
|
1323
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1324
|
+
url: "/mailboxes/{mailbox_id}",
|
|
1325
|
+
...options
|
|
1326
|
+
});
|
|
1327
|
+
var mailboxUpdate = (options) => (options.client ?? client).patch({
|
|
1328
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1329
|
+
url: "/mailboxes/{mailbox_id}",
|
|
1330
|
+
...options,
|
|
1331
|
+
headers: {
|
|
1332
|
+
"Content-Type": "application/json",
|
|
1333
|
+
...options.headers
|
|
1334
|
+
}
|
|
1335
|
+
});
|
|
1285
1336
|
var improvePrompt = (options) => (options.client ?? client).post({
|
|
1286
1337
|
url: "/prompts/improve",
|
|
1287
1338
|
...options,
|
|
@@ -2980,6 +3031,12 @@ export {
|
|
|
2980
3031
|
listSecrets,
|
|
2981
3032
|
listSessions,
|
|
2982
3033
|
listVaults,
|
|
3034
|
+
mailboxConnectToken,
|
|
3035
|
+
mailboxDelete,
|
|
3036
|
+
mailboxGet,
|
|
3037
|
+
mailboxList,
|
|
3038
|
+
mailboxSync,
|
|
3039
|
+
mailboxUpdate,
|
|
2983
3040
|
nudgePrompt,
|
|
2984
3041
|
pageExecute,
|
|
2985
3042
|
pageObserve,
|
|
@@ -2990,6 +3047,7 @@ export {
|
|
|
2990
3047
|
personaEmailsList,
|
|
2991
3048
|
personaGet,
|
|
2992
3049
|
personaSmsList,
|
|
3050
|
+
personaUpdate,
|
|
2993
3051
|
profileCookiesGet,
|
|
2994
3052
|
profileCookiesSet,
|
|
2995
3053
|
profileCreate,
|