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.js
CHANGED
|
@@ -46,6 +46,7 @@ __export(index_exports, {
|
|
|
46
46
|
default: () => NotteClient,
|
|
47
47
|
deleteSecret: () => deleteSecret,
|
|
48
48
|
fileDownload: () => fileDownload,
|
|
49
|
+
fileDownloadUploadedFile: () => fileDownloadUploadedFile,
|
|
49
50
|
fileListDownloads: () => fileListDownloads,
|
|
50
51
|
fileListUploads: () => fileListUploads,
|
|
51
52
|
fileUpload: () => fileUpload,
|
|
@@ -75,6 +76,27 @@ __export(index_exports, {
|
|
|
75
76
|
listSecrets: () => listSecrets,
|
|
76
77
|
listSessions: () => listSessions,
|
|
77
78
|
listVaults: () => listVaults,
|
|
79
|
+
managedAuthAdminTemplatesList: () => managedAuthAdminTemplatesList,
|
|
80
|
+
managedAuthConnectionCheck: () => managedAuthConnectionCheck,
|
|
81
|
+
managedAuthConnectionCreate: () => managedAuthConnectionCreate,
|
|
82
|
+
managedAuthConnectionDiagnosticsGet: () => managedAuthConnectionDiagnosticsGet,
|
|
83
|
+
managedAuthConnectionDisconnect: () => managedAuthConnectionDisconnect,
|
|
84
|
+
managedAuthConnectionFunctionGet: () => managedAuthConnectionFunctionGet,
|
|
85
|
+
managedAuthConnectionFunctionUpdate: () => managedAuthConnectionFunctionUpdate,
|
|
86
|
+
managedAuthConnectionGet: () => managedAuthConnectionGet,
|
|
87
|
+
managedAuthConnectionProfileReset: () => managedAuthConnectionProfileReset,
|
|
88
|
+
managedAuthConnectionPromote: () => managedAuthConnectionPromote,
|
|
89
|
+
managedAuthConnectionReauthenticate: () => managedAuthConnectionReauthenticate,
|
|
90
|
+
managedAuthConnectionUpdate: () => managedAuthConnectionUpdate,
|
|
91
|
+
managedAuthConnectionsList: () => managedAuthConnectionsList,
|
|
92
|
+
managedAuthFunctionTemplatesGet: () => managedAuthFunctionTemplatesGet,
|
|
93
|
+
managedAuthTemplateCreate: () => managedAuthTemplateCreate,
|
|
94
|
+
managedAuthTemplateExport: () => managedAuthTemplateExport,
|
|
95
|
+
managedAuthTemplateFunctionsUnlink: () => managedAuthTemplateFunctionsUnlink,
|
|
96
|
+
managedAuthTemplateImport: () => managedAuthTemplateImport,
|
|
97
|
+
managedAuthTemplatePublish: () => managedAuthTemplatePublish,
|
|
98
|
+
managedAuthTemplateUpdate: () => managedAuthTemplateUpdate,
|
|
99
|
+
managedAuthTemplatesList: () => managedAuthTemplatesList,
|
|
78
100
|
nudgePrompt: () => nudgePrompt,
|
|
79
101
|
pageExecute: () => pageExecute,
|
|
80
102
|
pageObserve: () => pageObserve,
|
|
@@ -89,6 +111,7 @@ __export(index_exports, {
|
|
|
89
111
|
profileCookiesSet: () => profileCookiesSet,
|
|
90
112
|
profileCreate: () => profileCreate,
|
|
91
113
|
profileDelete: () => profileDelete,
|
|
114
|
+
profileDuplicate: () => profileDuplicate,
|
|
92
115
|
profileGet: () => profileGet,
|
|
93
116
|
profileList: () => profileList,
|
|
94
117
|
readyCheck: () => readyCheck,
|
|
@@ -119,7 +142,7 @@ __export(index_exports, {
|
|
|
119
142
|
module.exports = __toCommonJS(index_exports);
|
|
120
143
|
|
|
121
144
|
// src/version.ts
|
|
122
|
-
var SDK_VERSION = true ? "0.0.
|
|
145
|
+
var SDK_VERSION = true ? "0.0.17" : "dev";
|
|
123
146
|
var SDK_PACKAGE_NAME = true ? "notte-sdk" : "notte-sdk";
|
|
124
147
|
|
|
125
148
|
// src/version-check.ts
|
|
@@ -1333,6 +1356,15 @@ var profileGet = (options) => (options.client ?? client).get({
|
|
|
1333
1356
|
url: "/profiles/{profile_id}",
|
|
1334
1357
|
...options
|
|
1335
1358
|
});
|
|
1359
|
+
var profileDuplicate = (options) => (options.client ?? client).post({
|
|
1360
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1361
|
+
url: "/profiles/{profile_id}/duplicate",
|
|
1362
|
+
...options,
|
|
1363
|
+
headers: {
|
|
1364
|
+
"Content-Type": "application/json",
|
|
1365
|
+
...options.headers
|
|
1366
|
+
}
|
|
1367
|
+
});
|
|
1336
1368
|
var profileCookiesGet = (options) => (options.client ?? client).get({
|
|
1337
1369
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1338
1370
|
url: "/profiles/{profile_id}/cookies",
|
|
@@ -1386,6 +1418,143 @@ var personaSmsList = (options) => (options.client ?? client).get({
|
|
|
1386
1418
|
url: "/personas/{persona_id}/sms",
|
|
1387
1419
|
...options
|
|
1388
1420
|
});
|
|
1421
|
+
var managedAuthTemplatesList = (options) => (options?.client ?? client).get({
|
|
1422
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1423
|
+
url: "/managed-auth/templates",
|
|
1424
|
+
...options
|
|
1425
|
+
});
|
|
1426
|
+
var managedAuthTemplateCreate = (options) => (options.client ?? client).post({
|
|
1427
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1428
|
+
url: "/managed-auth/templates",
|
|
1429
|
+
...options,
|
|
1430
|
+
headers: {
|
|
1431
|
+
"Content-Type": "application/json",
|
|
1432
|
+
...options.headers
|
|
1433
|
+
}
|
|
1434
|
+
});
|
|
1435
|
+
var managedAuthAdminTemplatesList = (options) => (options?.client ?? client).get({
|
|
1436
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1437
|
+
url: "/managed-auth/templates/admin",
|
|
1438
|
+
...options
|
|
1439
|
+
});
|
|
1440
|
+
var managedAuthTemplateExport = (options) => (options.client ?? client).get({
|
|
1441
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1442
|
+
url: "/managed-auth/templates/{slug}/export",
|
|
1443
|
+
...options
|
|
1444
|
+
});
|
|
1445
|
+
var managedAuthTemplateImport = (options) => (options.client ?? client).post({
|
|
1446
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1447
|
+
url: "/managed-auth/templates/import",
|
|
1448
|
+
...options,
|
|
1449
|
+
headers: {
|
|
1450
|
+
"Content-Type": "application/json",
|
|
1451
|
+
...options.headers
|
|
1452
|
+
}
|
|
1453
|
+
});
|
|
1454
|
+
var managedAuthTemplateUpdate = (options) => (options.client ?? client).patch({
|
|
1455
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1456
|
+
url: "/managed-auth/templates/{template_id}",
|
|
1457
|
+
...options,
|
|
1458
|
+
headers: {
|
|
1459
|
+
"Content-Type": "application/json",
|
|
1460
|
+
...options.headers
|
|
1461
|
+
}
|
|
1462
|
+
});
|
|
1463
|
+
var managedAuthConnectionsList = (options) => (options?.client ?? client).get({
|
|
1464
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1465
|
+
url: "/managed-auth/connections",
|
|
1466
|
+
...options
|
|
1467
|
+
});
|
|
1468
|
+
var managedAuthConnectionCreate = (options) => (options.client ?? client).post({
|
|
1469
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1470
|
+
url: "/managed-auth/connections",
|
|
1471
|
+
...options,
|
|
1472
|
+
headers: {
|
|
1473
|
+
"Content-Type": "application/json",
|
|
1474
|
+
...options.headers
|
|
1475
|
+
}
|
|
1476
|
+
});
|
|
1477
|
+
var managedAuthFunctionTemplatesGet = (options) => (options?.client ?? client).get({
|
|
1478
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1479
|
+
url: "/managed-auth/function-templates",
|
|
1480
|
+
...options
|
|
1481
|
+
});
|
|
1482
|
+
var managedAuthConnectionPromote = (options) => (options.client ?? client).post({
|
|
1483
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1484
|
+
url: "/managed-auth/connections/{connection_id}/promote",
|
|
1485
|
+
...options,
|
|
1486
|
+
headers: {
|
|
1487
|
+
"Content-Type": "application/json",
|
|
1488
|
+
...options.headers
|
|
1489
|
+
}
|
|
1490
|
+
});
|
|
1491
|
+
var managedAuthConnectionDisconnect = (options) => (options.client ?? client).delete({
|
|
1492
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1493
|
+
url: "/managed-auth/connections/{connection_id}",
|
|
1494
|
+
...options
|
|
1495
|
+
});
|
|
1496
|
+
var managedAuthConnectionGet = (options) => (options.client ?? client).get({
|
|
1497
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1498
|
+
url: "/managed-auth/connections/{connection_id}",
|
|
1499
|
+
...options
|
|
1500
|
+
});
|
|
1501
|
+
var managedAuthConnectionUpdate = (options) => (options.client ?? client).patch({
|
|
1502
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1503
|
+
url: "/managed-auth/connections/{connection_id}",
|
|
1504
|
+
...options,
|
|
1505
|
+
headers: {
|
|
1506
|
+
"Content-Type": "application/json",
|
|
1507
|
+
...options.headers
|
|
1508
|
+
}
|
|
1509
|
+
});
|
|
1510
|
+
var managedAuthConnectionDiagnosticsGet = (options) => (options.client ?? client).get({
|
|
1511
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1512
|
+
url: "/managed-auth/connections/{connection_id}/diagnostics",
|
|
1513
|
+
...options
|
|
1514
|
+
});
|
|
1515
|
+
var managedAuthConnectionFunctionGet = (options) => (options.client ?? client).get({
|
|
1516
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1517
|
+
url: "/managed-auth/connections/{connection_id}/functions/{role}",
|
|
1518
|
+
...options
|
|
1519
|
+
});
|
|
1520
|
+
var managedAuthConnectionFunctionUpdate = (options) => (options.client ?? client).put({
|
|
1521
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1522
|
+
url: "/managed-auth/connections/{connection_id}/functions/{role}",
|
|
1523
|
+
...options,
|
|
1524
|
+
headers: {
|
|
1525
|
+
"Content-Type": "application/json",
|
|
1526
|
+
...options.headers
|
|
1527
|
+
}
|
|
1528
|
+
});
|
|
1529
|
+
var managedAuthConnectionProfileReset = (options) => (options.client ?? client).post({
|
|
1530
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1531
|
+
url: "/managed-auth/connections/{connection_id}/reset-profile",
|
|
1532
|
+
...options
|
|
1533
|
+
});
|
|
1534
|
+
var managedAuthConnectionCheck = (options) => (options.client ?? client).post({
|
|
1535
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1536
|
+
url: "/managed-auth/connections/{connection_id}/check",
|
|
1537
|
+
...options
|
|
1538
|
+
});
|
|
1539
|
+
var managedAuthConnectionReauthenticate = (options) => (options.client ?? client).post({
|
|
1540
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1541
|
+
url: "/managed-auth/connections/{connection_id}/reauthenticate",
|
|
1542
|
+
...options
|
|
1543
|
+
});
|
|
1544
|
+
var managedAuthTemplateFunctionsUnlink = (options) => (options.client ?? client).delete({
|
|
1545
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1546
|
+
url: "/managed-auth/templates/{template_id}/publish",
|
|
1547
|
+
...options
|
|
1548
|
+
});
|
|
1549
|
+
var managedAuthTemplatePublish = (options) => (options.client ?? client).post({
|
|
1550
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1551
|
+
url: "/managed-auth/templates/{template_id}/publish",
|
|
1552
|
+
...options,
|
|
1553
|
+
headers: {
|
|
1554
|
+
"Content-Type": "application/json",
|
|
1555
|
+
...options.headers
|
|
1556
|
+
}
|
|
1557
|
+
});
|
|
1389
1558
|
var improvePrompt = (options) => (options.client ?? client).post({
|
|
1390
1559
|
url: "/prompts/improve",
|
|
1391
1560
|
...options,
|
|
@@ -1432,6 +1601,11 @@ var fileListDownloads = (options) => (options.client ?? client).get({
|
|
|
1432
1601
|
url: "/storage/{session_id}/downloads",
|
|
1433
1602
|
...options
|
|
1434
1603
|
});
|
|
1604
|
+
var fileDownloadUploadedFile = (options) => (options.client ?? client).get({
|
|
1605
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1606
|
+
url: "/storage/uploads/{filename}",
|
|
1607
|
+
...options
|
|
1608
|
+
});
|
|
1435
1609
|
var fileUpload = (options) => (options.client ?? client).post({
|
|
1436
1610
|
...formDataBodySerializer,
|
|
1437
1611
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -3042,6 +3216,7 @@ var createClient2 = (config) => {
|
|
|
3042
3216
|
createClient,
|
|
3043
3217
|
deleteSecret,
|
|
3044
3218
|
fileDownload,
|
|
3219
|
+
fileDownloadUploadedFile,
|
|
3045
3220
|
fileListDownloads,
|
|
3046
3221
|
fileListUploads,
|
|
3047
3222
|
fileUpload,
|
|
@@ -3071,6 +3246,27 @@ var createClient2 = (config) => {
|
|
|
3071
3246
|
listSecrets,
|
|
3072
3247
|
listSessions,
|
|
3073
3248
|
listVaults,
|
|
3249
|
+
managedAuthAdminTemplatesList,
|
|
3250
|
+
managedAuthConnectionCheck,
|
|
3251
|
+
managedAuthConnectionCreate,
|
|
3252
|
+
managedAuthConnectionDiagnosticsGet,
|
|
3253
|
+
managedAuthConnectionDisconnect,
|
|
3254
|
+
managedAuthConnectionFunctionGet,
|
|
3255
|
+
managedAuthConnectionFunctionUpdate,
|
|
3256
|
+
managedAuthConnectionGet,
|
|
3257
|
+
managedAuthConnectionProfileReset,
|
|
3258
|
+
managedAuthConnectionPromote,
|
|
3259
|
+
managedAuthConnectionReauthenticate,
|
|
3260
|
+
managedAuthConnectionUpdate,
|
|
3261
|
+
managedAuthConnectionsList,
|
|
3262
|
+
managedAuthFunctionTemplatesGet,
|
|
3263
|
+
managedAuthTemplateCreate,
|
|
3264
|
+
managedAuthTemplateExport,
|
|
3265
|
+
managedAuthTemplateFunctionsUnlink,
|
|
3266
|
+
managedAuthTemplateImport,
|
|
3267
|
+
managedAuthTemplatePublish,
|
|
3268
|
+
managedAuthTemplateUpdate,
|
|
3269
|
+
managedAuthTemplatesList,
|
|
3074
3270
|
nudgePrompt,
|
|
3075
3271
|
pageExecute,
|
|
3076
3272
|
pageObserve,
|
|
@@ -3085,6 +3281,7 @@ var createClient2 = (config) => {
|
|
|
3085
3281
|
profileCookiesSet,
|
|
3086
3282
|
profileCreate,
|
|
3087
3283
|
profileDelete,
|
|
3284
|
+
profileDuplicate,
|
|
3088
3285
|
profileGet,
|
|
3089
3286
|
profileList,
|
|
3090
3287
|
readyCheck,
|