notte-sdk 0.0.15 → 0.0.17
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 +4429 -2660
- package/dist/index.d.ts +4429 -2660
- package/dist/index.js +198 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +175 -1
- package/dist/index.mjs.map +1 -1
- package/dist/proxy/core.js +33 -0
- package/dist/proxy/core.js.map +1 -1
- package/dist/proxy/core.mjs +33 -0
- package/dist/proxy/core.mjs.map +1 -1
- package/dist/proxy/next.js +33 -0
- package/dist/proxy/next.js.map +1 -1
- package/dist/proxy/next.mjs +33 -0
- package/dist/proxy/next.mjs.map +1 -1
- package/package.json +5 -2
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.17" : "dev";
|
|
10
10
|
var SDK_PACKAGE_NAME = true ? "notte-sdk" : "notte-sdk";
|
|
11
11
|
|
|
12
12
|
// src/version-check.ts
|
|
@@ -1220,6 +1220,15 @@ var profileGet = (options) => (options.client ?? client).get({
|
|
|
1220
1220
|
url: "/profiles/{profile_id}",
|
|
1221
1221
|
...options
|
|
1222
1222
|
});
|
|
1223
|
+
var profileDuplicate = (options) => (options.client ?? client).post({
|
|
1224
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1225
|
+
url: "/profiles/{profile_id}/duplicate",
|
|
1226
|
+
...options,
|
|
1227
|
+
headers: {
|
|
1228
|
+
"Content-Type": "application/json",
|
|
1229
|
+
...options.headers
|
|
1230
|
+
}
|
|
1231
|
+
});
|
|
1223
1232
|
var profileCookiesGet = (options) => (options.client ?? client).get({
|
|
1224
1233
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1225
1234
|
url: "/profiles/{profile_id}/cookies",
|
|
@@ -1273,6 +1282,143 @@ var personaSmsList = (options) => (options.client ?? client).get({
|
|
|
1273
1282
|
url: "/personas/{persona_id}/sms",
|
|
1274
1283
|
...options
|
|
1275
1284
|
});
|
|
1285
|
+
var managedAuthTemplatesList = (options) => (options?.client ?? client).get({
|
|
1286
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1287
|
+
url: "/managed-auth/templates",
|
|
1288
|
+
...options
|
|
1289
|
+
});
|
|
1290
|
+
var managedAuthTemplateCreate = (options) => (options.client ?? client).post({
|
|
1291
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1292
|
+
url: "/managed-auth/templates",
|
|
1293
|
+
...options,
|
|
1294
|
+
headers: {
|
|
1295
|
+
"Content-Type": "application/json",
|
|
1296
|
+
...options.headers
|
|
1297
|
+
}
|
|
1298
|
+
});
|
|
1299
|
+
var managedAuthAdminTemplatesList = (options) => (options?.client ?? client).get({
|
|
1300
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1301
|
+
url: "/managed-auth/templates/admin",
|
|
1302
|
+
...options
|
|
1303
|
+
});
|
|
1304
|
+
var managedAuthTemplateExport = (options) => (options.client ?? client).get({
|
|
1305
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1306
|
+
url: "/managed-auth/templates/{slug}/export",
|
|
1307
|
+
...options
|
|
1308
|
+
});
|
|
1309
|
+
var managedAuthTemplateImport = (options) => (options.client ?? client).post({
|
|
1310
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1311
|
+
url: "/managed-auth/templates/import",
|
|
1312
|
+
...options,
|
|
1313
|
+
headers: {
|
|
1314
|
+
"Content-Type": "application/json",
|
|
1315
|
+
...options.headers
|
|
1316
|
+
}
|
|
1317
|
+
});
|
|
1318
|
+
var managedAuthTemplateUpdate = (options) => (options.client ?? client).patch({
|
|
1319
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1320
|
+
url: "/managed-auth/templates/{template_id}",
|
|
1321
|
+
...options,
|
|
1322
|
+
headers: {
|
|
1323
|
+
"Content-Type": "application/json",
|
|
1324
|
+
...options.headers
|
|
1325
|
+
}
|
|
1326
|
+
});
|
|
1327
|
+
var managedAuthConnectionsList = (options) => (options?.client ?? client).get({
|
|
1328
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1329
|
+
url: "/managed-auth/connections",
|
|
1330
|
+
...options
|
|
1331
|
+
});
|
|
1332
|
+
var managedAuthConnectionCreate = (options) => (options.client ?? client).post({
|
|
1333
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1334
|
+
url: "/managed-auth/connections",
|
|
1335
|
+
...options,
|
|
1336
|
+
headers: {
|
|
1337
|
+
"Content-Type": "application/json",
|
|
1338
|
+
...options.headers
|
|
1339
|
+
}
|
|
1340
|
+
});
|
|
1341
|
+
var managedAuthFunctionTemplatesGet = (options) => (options?.client ?? client).get({
|
|
1342
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1343
|
+
url: "/managed-auth/function-templates",
|
|
1344
|
+
...options
|
|
1345
|
+
});
|
|
1346
|
+
var managedAuthConnectionPromote = (options) => (options.client ?? client).post({
|
|
1347
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1348
|
+
url: "/managed-auth/connections/{connection_id}/promote",
|
|
1349
|
+
...options,
|
|
1350
|
+
headers: {
|
|
1351
|
+
"Content-Type": "application/json",
|
|
1352
|
+
...options.headers
|
|
1353
|
+
}
|
|
1354
|
+
});
|
|
1355
|
+
var managedAuthConnectionDisconnect = (options) => (options.client ?? client).delete({
|
|
1356
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1357
|
+
url: "/managed-auth/connections/{connection_id}",
|
|
1358
|
+
...options
|
|
1359
|
+
});
|
|
1360
|
+
var managedAuthConnectionGet = (options) => (options.client ?? client).get({
|
|
1361
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1362
|
+
url: "/managed-auth/connections/{connection_id}",
|
|
1363
|
+
...options
|
|
1364
|
+
});
|
|
1365
|
+
var managedAuthConnectionUpdate = (options) => (options.client ?? client).patch({
|
|
1366
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1367
|
+
url: "/managed-auth/connections/{connection_id}",
|
|
1368
|
+
...options,
|
|
1369
|
+
headers: {
|
|
1370
|
+
"Content-Type": "application/json",
|
|
1371
|
+
...options.headers
|
|
1372
|
+
}
|
|
1373
|
+
});
|
|
1374
|
+
var managedAuthConnectionDiagnosticsGet = (options) => (options.client ?? client).get({
|
|
1375
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1376
|
+
url: "/managed-auth/connections/{connection_id}/diagnostics",
|
|
1377
|
+
...options
|
|
1378
|
+
});
|
|
1379
|
+
var managedAuthConnectionFunctionGet = (options) => (options.client ?? client).get({
|
|
1380
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1381
|
+
url: "/managed-auth/connections/{connection_id}/functions/{role}",
|
|
1382
|
+
...options
|
|
1383
|
+
});
|
|
1384
|
+
var managedAuthConnectionFunctionUpdate = (options) => (options.client ?? client).put({
|
|
1385
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1386
|
+
url: "/managed-auth/connections/{connection_id}/functions/{role}",
|
|
1387
|
+
...options,
|
|
1388
|
+
headers: {
|
|
1389
|
+
"Content-Type": "application/json",
|
|
1390
|
+
...options.headers
|
|
1391
|
+
}
|
|
1392
|
+
});
|
|
1393
|
+
var managedAuthConnectionProfileReset = (options) => (options.client ?? client).post({
|
|
1394
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1395
|
+
url: "/managed-auth/connections/{connection_id}/reset-profile",
|
|
1396
|
+
...options
|
|
1397
|
+
});
|
|
1398
|
+
var managedAuthConnectionCheck = (options) => (options.client ?? client).post({
|
|
1399
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1400
|
+
url: "/managed-auth/connections/{connection_id}/check",
|
|
1401
|
+
...options
|
|
1402
|
+
});
|
|
1403
|
+
var managedAuthConnectionReauthenticate = (options) => (options.client ?? client).post({
|
|
1404
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1405
|
+
url: "/managed-auth/connections/{connection_id}/reauthenticate",
|
|
1406
|
+
...options
|
|
1407
|
+
});
|
|
1408
|
+
var managedAuthTemplateFunctionsUnlink = (options) => (options.client ?? client).delete({
|
|
1409
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1410
|
+
url: "/managed-auth/templates/{template_id}/publish",
|
|
1411
|
+
...options
|
|
1412
|
+
});
|
|
1413
|
+
var managedAuthTemplatePublish = (options) => (options.client ?? client).post({
|
|
1414
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1415
|
+
url: "/managed-auth/templates/{template_id}/publish",
|
|
1416
|
+
...options,
|
|
1417
|
+
headers: {
|
|
1418
|
+
"Content-Type": "application/json",
|
|
1419
|
+
...options.headers
|
|
1420
|
+
}
|
|
1421
|
+
});
|
|
1276
1422
|
var improvePrompt = (options) => (options.client ?? client).post({
|
|
1277
1423
|
url: "/prompts/improve",
|
|
1278
1424
|
...options,
|
|
@@ -1319,6 +1465,11 @@ var fileListDownloads = (options) => (options.client ?? client).get({
|
|
|
1319
1465
|
url: "/storage/{session_id}/downloads",
|
|
1320
1466
|
...options
|
|
1321
1467
|
});
|
|
1468
|
+
var fileDownloadUploadedFile = (options) => (options.client ?? client).get({
|
|
1469
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1470
|
+
url: "/storage/uploads/{filename}",
|
|
1471
|
+
...options
|
|
1472
|
+
});
|
|
1322
1473
|
var fileUpload = (options) => (options.client ?? client).post({
|
|
1323
1474
|
...formDataBodySerializer,
|
|
1324
1475
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -2929,6 +3080,7 @@ export {
|
|
|
2929
3080
|
NotteClient as default,
|
|
2930
3081
|
deleteSecret,
|
|
2931
3082
|
fileDownload,
|
|
3083
|
+
fileDownloadUploadedFile,
|
|
2932
3084
|
fileListDownloads,
|
|
2933
3085
|
fileListUploads,
|
|
2934
3086
|
fileUpload,
|
|
@@ -2958,6 +3110,27 @@ export {
|
|
|
2958
3110
|
listSecrets,
|
|
2959
3111
|
listSessions,
|
|
2960
3112
|
listVaults,
|
|
3113
|
+
managedAuthAdminTemplatesList,
|
|
3114
|
+
managedAuthConnectionCheck,
|
|
3115
|
+
managedAuthConnectionCreate,
|
|
3116
|
+
managedAuthConnectionDiagnosticsGet,
|
|
3117
|
+
managedAuthConnectionDisconnect,
|
|
3118
|
+
managedAuthConnectionFunctionGet,
|
|
3119
|
+
managedAuthConnectionFunctionUpdate,
|
|
3120
|
+
managedAuthConnectionGet,
|
|
3121
|
+
managedAuthConnectionProfileReset,
|
|
3122
|
+
managedAuthConnectionPromote,
|
|
3123
|
+
managedAuthConnectionReauthenticate,
|
|
3124
|
+
managedAuthConnectionUpdate,
|
|
3125
|
+
managedAuthConnectionsList,
|
|
3126
|
+
managedAuthFunctionTemplatesGet,
|
|
3127
|
+
managedAuthTemplateCreate,
|
|
3128
|
+
managedAuthTemplateExport,
|
|
3129
|
+
managedAuthTemplateFunctionsUnlink,
|
|
3130
|
+
managedAuthTemplateImport,
|
|
3131
|
+
managedAuthTemplatePublish,
|
|
3132
|
+
managedAuthTemplateUpdate,
|
|
3133
|
+
managedAuthTemplatesList,
|
|
2961
3134
|
nudgePrompt,
|
|
2962
3135
|
pageExecute,
|
|
2963
3136
|
pageObserve,
|
|
@@ -2972,6 +3145,7 @@ export {
|
|
|
2972
3145
|
profileCookiesSet,
|
|
2973
3146
|
profileCreate,
|
|
2974
3147
|
profileDelete,
|
|
3148
|
+
profileDuplicate,
|
|
2975
3149
|
profileGet,
|
|
2976
3150
|
profileList,
|
|
2977
3151
|
readyCheck,
|