notte-sdk 0.0.3 → 0.0.5

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.mjs CHANGED
@@ -1249,6 +1249,30 @@ var anythingStart = (options) => (options.client ?? client).post({
1249
1249
  ...options.headers
1250
1250
  }
1251
1251
  });
1252
+ var listSecrets = (options) => (options?.client ?? client).get({
1253
+ security: [{ scheme: "bearer", type: "http" }],
1254
+ url: "/secrets",
1255
+ ...options
1256
+ });
1257
+ var storeSecret = (options) => (options.client ?? client).post({
1258
+ security: [{ scheme: "bearer", type: "http" }],
1259
+ url: "/secrets",
1260
+ ...options,
1261
+ headers: {
1262
+ "Content-Type": "application/json",
1263
+ ...options.headers
1264
+ }
1265
+ });
1266
+ var getSecret = (options) => (options.client ?? client).get({
1267
+ security: [{ scheme: "bearer", type: "http" }],
1268
+ url: "/secrets/{name}",
1269
+ ...options
1270
+ });
1271
+ var deleteSecret = (options) => (options.client ?? client).delete({
1272
+ security: [{ scheme: "bearer", type: "http" }],
1273
+ url: "/secrets/{secret_id}",
1274
+ ...options
1275
+ });
1252
1276
  var healthCheck = (options) => (options?.client ?? client).get({ url: "/health", ...options });
1253
1277
  var scrapeWebpage = (options) => (options.client ?? client).post({
1254
1278
  security: [{ scheme: "bearer", type: "http" }],
@@ -1259,6 +1283,15 @@ var scrapeWebpage = (options) => (options.client ?? client).post({
1259
1283
  ...options.headers
1260
1284
  }
1261
1285
  });
1286
+ var searchWeb = (options) => (options.client ?? client).post({
1287
+ security: [{ scheme: "bearer", type: "http" }],
1288
+ url: "/search",
1289
+ ...options,
1290
+ headers: {
1291
+ "Content-Type": "application/json",
1292
+ ...options.headers
1293
+ }
1294
+ });
1262
1295
  var scrapeFromHtml = (options) => (options.client ?? client).post({
1263
1296
  security: [{ scheme: "bearer", type: "http" }],
1264
1297
  url: "/scrape_from_html",
@@ -2482,7 +2515,7 @@ var NottePersona = class {
2482
2515
  };
2483
2516
 
2484
2517
  // src/version.ts
2485
- var SDK_VERSION = true ? "0.0.3" : "dev";
2518
+ var SDK_VERSION = true ? "0.0.5" : "dev";
2486
2519
 
2487
2520
  // src/functions.ts
2488
2521
  var NotteFunction = class {
@@ -2741,6 +2774,7 @@ export {
2741
2774
  client,
2742
2775
  createClient2 as createClient,
2743
2776
  NotteClient as default,
2777
+ deleteSecret,
2744
2778
  fileDownload,
2745
2779
  fileListDownloads,
2746
2780
  fileListUploads,
@@ -2758,6 +2792,7 @@ export {
2758
2792
  functionScheduleSet,
2759
2793
  functionUpdate,
2760
2794
  getScript,
2795
+ getSecret,
2761
2796
  getSessionScript,
2762
2797
  getUsage,
2763
2798
  getUsageLogs,
@@ -2767,6 +2802,7 @@ export {
2767
2802
  listFunctionRunsByFunctionId,
2768
2803
  listFunctions,
2769
2804
  listPersonas,
2805
+ listSecrets,
2770
2806
  listSessions,
2771
2807
  listVaults,
2772
2808
  nudgePrompt,
@@ -2785,6 +2821,7 @@ export {
2785
2821
  profileList,
2786
2822
  scrapeFromHtml,
2787
2823
  scrapeWebpage,
2824
+ searchWeb,
2788
2825
  sessionCookiesGet,
2789
2826
  sessionCookiesSet,
2790
2827
  sessionDebugInfo,
@@ -2794,6 +2831,7 @@ export {
2794
2831
  sessionStart,
2795
2832
  sessionStatus,
2796
2833
  sessionStop,
2834
+ storeSecret,
2797
2835
  vaultCreate,
2798
2836
  vaultCredentialsAdd,
2799
2837
  vaultCredentialsDelete,