notte-sdk 0.0.19 → 0.0.21

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 CHANGED
@@ -728,17 +728,12 @@ type ApiExecutionResponse = {
728
728
  * Exception
729
729
  */
730
730
  exception?: string | null;
731
+ exception_detail?: SerializedError | null;
731
732
  };
732
733
  /**
733
734
  * ApiSessionStartRequest
734
735
  */
735
736
  type ApiSessionStartRequest = {
736
- /**
737
- * Headless
738
- *
739
- * Whether to run the session in headless mode.
740
- */
741
- headless?: boolean;
742
737
  /**
743
738
  * Solve Captchas
744
739
  *
@@ -853,6 +848,18 @@ type ApiSessionStartRequest = {
853
848
  * Whether to wait for Managed Auth profile restoration and authentication before returning the session. When false, authentication continues in the background after the browser is ready.
854
849
  */
855
850
  wait_for_authentication?: boolean;
851
+ /**
852
+ * Advanced Stealth
853
+ *
854
+ * Enable Notte's highest-fidelity browser environment for sites with sophisticated bot detection. Available to approved workspaces.
855
+ */
856
+ advanced_stealth?: boolean;
857
+ /**
858
+ * Demonstrate
859
+ *
860
+ * Whether to enable the Notte recorder extension for this session. The extension is installed but remains inactive when this is false.
861
+ */
862
+ demonstrate?: boolean;
856
863
  };
857
864
  /**
858
865
  * BaseModel
@@ -1207,6 +1214,244 @@ type CompletionAction = {
1207
1214
  */
1208
1215
  answer: string;
1209
1216
  };
1217
+ /**
1218
+ * ConnectLinkContext
1219
+ */
1220
+ type ConnectLinkContext = {
1221
+ /**
1222
+ * Service Name
1223
+ */
1224
+ service_name: string;
1225
+ /**
1226
+ * Domain
1227
+ */
1228
+ domain: string;
1229
+ /**
1230
+ * Logo Color
1231
+ */
1232
+ logo_color: string;
1233
+ /**
1234
+ * Status
1235
+ */
1236
+ status: 'pending' | 'submitted' | 'completed' | 'failed' | 'expired';
1237
+ /**
1238
+ * Requires Totp Secret
1239
+ *
1240
+ * Whether the form must collect a TOTP seed.
1241
+ */
1242
+ requires_totp_secret: boolean;
1243
+ /**
1244
+ * Requires Mailbox
1245
+ *
1246
+ * Whether the connector reads its second factor from email, so the page must ask which inbox the code will arrive in.
1247
+ */
1248
+ requires_mailbox: boolean;
1249
+ /**
1250
+ * Attempts Remaining
1251
+ */
1252
+ attempts_remaining: number;
1253
+ /**
1254
+ * Expires At
1255
+ */
1256
+ expires_at: string;
1257
+ };
1258
+ /**
1259
+ * ConnectLinkCreateRequest
1260
+ */
1261
+ type ConnectLinkCreateRequest = {
1262
+ /**
1263
+ * Template Id
1264
+ *
1265
+ * Connector this link collects credentials for.
1266
+ */
1267
+ template_id: string;
1268
+ /**
1269
+ * Label
1270
+ *
1271
+ * Name the resulting connection is created with.
1272
+ */
1273
+ label: string;
1274
+ /**
1275
+ * External User Id
1276
+ *
1277
+ * Your own identifier for the end user. Echoed back on the completion webhook.
1278
+ */
1279
+ external_user_id?: string | null;
1280
+ /**
1281
+ * Two Fa Method
1282
+ *
1283
+ * Second factor this connection will use. Required when the connector supports more than one, because the choice decides whether a mailbox is needed.
1284
+ */
1285
+ two_fa_method?: 'email' | 'sms' | 'totp' | null;
1286
+ /**
1287
+ * Mailbox Id
1288
+ *
1289
+ * Mailbox to read email 2FA codes from. Required when the resolved method is email.
1290
+ */
1291
+ mailbox_id?: string | null;
1292
+ /**
1293
+ * Success Redirect Uri
1294
+ *
1295
+ * Where the end user is sent once the account is connected.
1296
+ */
1297
+ success_redirect_uri?: string | null;
1298
+ /**
1299
+ * Error Redirect Uri
1300
+ *
1301
+ * Where the end user is sent when the connection cannot be completed.
1302
+ */
1303
+ error_redirect_uri?: string | null;
1304
+ /**
1305
+ * Webhook Url
1306
+ *
1307
+ * Receives the signed completion callback. See the connect-link webhook docs.
1308
+ */
1309
+ webhook_url?: string | null;
1310
+ /**
1311
+ * Ttl Seconds
1312
+ *
1313
+ * How long the link stays usable.
1314
+ */
1315
+ ttl_seconds?: number;
1316
+ /**
1317
+ * Schedule
1318
+ *
1319
+ * Whether the resulting connection re-authenticates on a schedule.
1320
+ */
1321
+ schedule?: boolean;
1322
+ };
1323
+ /**
1324
+ * ConnectLinkCreateResponse
1325
+ */
1326
+ type ConnectLinkCreateResponse = {
1327
+ /**
1328
+ * Connect Link Id
1329
+ */
1330
+ connect_link_id: string;
1331
+ /**
1332
+ * Connect Url
1333
+ *
1334
+ * Send your end user here.
1335
+ */
1336
+ connect_url: string;
1337
+ /**
1338
+ * Token
1339
+ *
1340
+ * Returned once and never again - only its hash is stored.
1341
+ */
1342
+ token: string;
1343
+ /**
1344
+ * Expires At
1345
+ */
1346
+ expires_at: string;
1347
+ /**
1348
+ * Webhook Signing Secret
1349
+ *
1350
+ * Workspace secret to verify the completion webhook with. Present only when a webhook_url was supplied. Stable across links, so it is safe to store once.
1351
+ */
1352
+ webhook_signing_secret?: string | null;
1353
+ };
1354
+ /**
1355
+ * ConnectLinkMailbox
1356
+ */
1357
+ type ConnectLinkMailbox = {
1358
+ /**
1359
+ * Id
1360
+ */
1361
+ id: string;
1362
+ /**
1363
+ * Email Address
1364
+ */
1365
+ email_address: string;
1366
+ /**
1367
+ * Provider
1368
+ */
1369
+ provider: string;
1370
+ /**
1371
+ * Healthy
1372
+ */
1373
+ healthy: boolean;
1374
+ };
1375
+ /**
1376
+ * ConnectLinkMailboxConnectRequest
1377
+ */
1378
+ type ConnectLinkMailboxConnectRequest = {
1379
+ /**
1380
+ * Provider
1381
+ */
1382
+ provider?: 'gmail' | 'outlook';
1383
+ };
1384
+ /**
1385
+ * ConnectLinkMailboxConnectResponse
1386
+ */
1387
+ type ConnectLinkMailboxConnectResponse = {
1388
+ /**
1389
+ * Connect Link Url
1390
+ */
1391
+ connect_link_url: string;
1392
+ /**
1393
+ * Mailbox Id
1394
+ */
1395
+ mailbox_id: string;
1396
+ };
1397
+ /**
1398
+ * ConnectLinkMailboxSyncRequest
1399
+ */
1400
+ type ConnectLinkMailboxSyncRequest = {
1401
+ /**
1402
+ * Mailbox Id
1403
+ */
1404
+ mailbox_id: string;
1405
+ /**
1406
+ * Provider
1407
+ */
1408
+ provider?: 'gmail' | 'outlook';
1409
+ };
1410
+ /**
1411
+ * ConnectLinkStatusResponse
1412
+ */
1413
+ type ConnectLinkStatusResponse = {
1414
+ /**
1415
+ * Status
1416
+ */
1417
+ status: 'pending' | 'submitted' | 'completed' | 'failed' | 'expired';
1418
+ /**
1419
+ * Connection Status
1420
+ */
1421
+ connection_status?: string | null;
1422
+ /**
1423
+ * Failure Code
1424
+ */
1425
+ failure_code?: 'invalid_credentials' | 'mfa_required' | 'mfa_invalid' | 'account_locked' | 'captcha' | 'site_changed' | 'transient' | 'unknown' | null;
1426
+ /**
1427
+ * Message
1428
+ */
1429
+ message?: string | null;
1430
+ /**
1431
+ * Attempts Remaining
1432
+ */
1433
+ attempts_remaining: number;
1434
+ /**
1435
+ * Success Redirect Uri
1436
+ */
1437
+ success_redirect_uri?: string | null;
1438
+ /**
1439
+ * Error Redirect Uri
1440
+ */
1441
+ error_redirect_uri?: string | null;
1442
+ };
1443
+ /**
1444
+ * ConnectLinkSubmitRequest
1445
+ */
1446
+ type ConnectLinkSubmitRequest = {
1447
+ credentials: ManagedAuthCredentials;
1448
+ /**
1449
+ * Mailbox Id
1450
+ *
1451
+ * Inbox the second-factor code will arrive in. Required when the connector reads its code from email and the link did not already name one.
1452
+ */
1453
+ mailbox_id?: string | null;
1454
+ };
1210
1455
  /**
1211
1456
  * Cookie
1212
1457
  */
@@ -2005,6 +2250,114 @@ type FrameData = {
2005
2250
  */
2006
2251
  frameData: string;
2007
2252
  };
2253
+ /**
2254
+ * FunctionListItemResponse
2255
+ */
2256
+ type FunctionListItemResponse = {
2257
+ /**
2258
+ * Function Id
2259
+ *
2260
+ * The ID of the function
2261
+ */
2262
+ function_id: string;
2263
+ /**
2264
+ * Variables
2265
+ *
2266
+ * The variables to run the workflow with
2267
+ */
2268
+ variables?: Array<ParameterInfo> | null;
2269
+ /**
2270
+ * Created At
2271
+ *
2272
+ * The creation time of the workflow
2273
+ */
2274
+ created_at: string;
2275
+ /**
2276
+ * Updated At
2277
+ *
2278
+ * The last update time of the workflow
2279
+ */
2280
+ updated_at: string;
2281
+ /**
2282
+ * Latest Version
2283
+ *
2284
+ * The version of the workflow
2285
+ */
2286
+ latest_version: string;
2287
+ /**
2288
+ * Versions
2289
+ *
2290
+ * The versions of the workflow
2291
+ */
2292
+ versions: Array<string>;
2293
+ /**
2294
+ * Status
2295
+ *
2296
+ * The status of the workflow
2297
+ */
2298
+ status: string;
2299
+ /**
2300
+ * Name
2301
+ *
2302
+ * The name of the workflow
2303
+ */
2304
+ name?: string | null;
2305
+ /**
2306
+ * Description
2307
+ *
2308
+ * The description of the workflow
2309
+ */
2310
+ description?: string | null;
2311
+ /**
2312
+ * Shared
2313
+ *
2314
+ * Whether the workflow is public and can beshared with other users
2315
+ */
2316
+ shared?: boolean;
2317
+ /**
2318
+ * Reference Workflow Id
2319
+ *
2320
+ * The ID of the reference workflow (i.e wether the workflow was forked from another workflow or not)
2321
+ */
2322
+ reference_workflow_id?: string | null;
2323
+ /**
2324
+ * Published
2325
+ */
2326
+ published?: boolean;
2327
+ /**
2328
+ * Required Secrets
2329
+ */
2330
+ required_secrets?: Array<string>;
2331
+ /**
2332
+ * Source
2333
+ *
2334
+ * Where the function was created from, stamped at creation. Read-only.
2335
+ */
2336
+ source?: string | null;
2337
+ /**
2338
+ * Self Healing
2339
+ *
2340
+ * Whether the build is finished and the function may be healed automatically. Can only be enabled on a function that has a thread for self-heal to resume.
2341
+ */
2342
+ self_healing?: boolean;
2343
+ /**
2344
+ * Workflow Id
2345
+ */
2346
+ readonly workflow_id: string;
2347
+ };
2348
+ /**
2349
+ * FunctionMetadataUpdateRequest
2350
+ */
2351
+ type FunctionMetadataUpdateRequest = {
2352
+ /**
2353
+ * Instructions
2354
+ */
2355
+ instructions?: string | null;
2356
+ /**
2357
+ * Self Healing
2358
+ */
2359
+ self_healing?: boolean | null;
2360
+ };
2008
2361
  /**
2009
2362
  * FunctionResponse
2010
2363
  */
@@ -2083,11 +2436,60 @@ type FunctionResponse = {
2083
2436
  * Required Secrets
2084
2437
  */
2085
2438
  required_secrets?: Array<string>;
2439
+ /**
2440
+ * Source
2441
+ *
2442
+ * Where the function was created from, stamped at creation. Read-only.
2443
+ */
2444
+ source?: string | null;
2445
+ /**
2446
+ * Self Healing
2447
+ *
2448
+ * Whether the build is finished and the function may be healed automatically. Can only be enabled on a function that has a thread for self-heal to resume.
2449
+ */
2450
+ self_healing?: boolean;
2451
+ /**
2452
+ * Instructions
2453
+ *
2454
+ * Builder's operating notes: typical run duration, known failure modes, which parameters matter.
2455
+ */
2456
+ instructions?: string | null;
2457
+ /**
2458
+ * Schedule Cron
2459
+ *
2460
+ * Cron expression the function runs on, or null if it is not scheduled.
2461
+ */
2462
+ schedule_cron?: string | null;
2463
+ /**
2464
+ * Schedule Variables
2465
+ *
2466
+ * Variables passed to each scheduled run, or null if it is not scheduled.
2467
+ */
2468
+ schedule_variables?: {
2469
+ [key: string]: unknown;
2470
+ } | null;
2471
+ /**
2472
+ * Schedule State
2473
+ *
2474
+ * 'enabled' while the schedule fires, 'paused' once the backend disabled it after a deterministic failure (exhausted credit, or an inactive function), null when there is no schedule.
2475
+ */
2476
+ schedule_state?: 'enabled' | 'paused' | null;
2086
2477
  /**
2087
2478
  * Workflow Id
2088
2479
  */
2089
2480
  readonly workflow_id: string;
2090
2481
  };
2482
+ /**
2483
+ * FunctionRollbackRequest
2484
+ */
2485
+ type FunctionRollbackRequest = {
2486
+ /**
2487
+ * Version
2488
+ *
2489
+ * A version from the function's `versions` history to restore
2490
+ */
2491
+ version: string;
2492
+ };
2091
2493
  /**
2092
2494
  * FunctionRunListItemResponse
2093
2495
  */
@@ -2170,21 +2572,88 @@ type FunctionRunUpdateRequest = {
2170
2572
  */
2171
2573
  status: 'closed' | 'active' | 'failed';
2172
2574
  };
2575
+ /**
2576
+ * FunctionRuntimeHealthResponse
2577
+ */
2578
+ type FunctionRuntimeHealthResponse = {
2579
+ /**
2580
+ * Status
2581
+ *
2582
+ * 'ok' when the runtime reported itself, 'degraded' when it is alive but too old to describe itself (its image predates this endpoint), 'unreachable' when it did not answer.
2583
+ */
2584
+ status: 'ok' | 'degraded' | 'unreachable';
2585
+ /**
2586
+ * Reachable
2587
+ *
2588
+ * Whether the runtime answered an HTTP request at all.
2589
+ */
2590
+ reachable: boolean;
2591
+ /**
2592
+ * Latency Ms
2593
+ *
2594
+ * Round trip to the runtime, null when unreachable.
2595
+ */
2596
+ latency_ms?: number | null;
2597
+ /**
2598
+ * Python Version
2599
+ *
2600
+ * Python the sandbox executes under, e.g. '3.12.0'.
2601
+ */
2602
+ python_version?: string | null;
2603
+ /**
2604
+ * Packages
2605
+ *
2606
+ * Non-stdlib imports the sandbox allows, with versions.
2607
+ */
2608
+ packages?: Array<RuntimePackage>;
2609
+ /**
2610
+ * Stdlib Modules
2611
+ *
2612
+ * Standard-library modules the sandbox allows. Versionless: the Python version covers them.
2613
+ */
2614
+ stdlib_modules?: Array<string>;
2615
+ /**
2616
+ * Reserved Env Names
2617
+ *
2618
+ * `function_env` names the platform owns, rejected at write time. Served here so a client validating secret names before pushing them does not have to vendor its own copy and watch it drift.
2619
+ */
2620
+ reserved_env_names?: Array<string>;
2621
+ /**
2622
+ * Runtime Digest
2623
+ *
2624
+ * Digest of the reproducible contract - Python version, packages with their sources, allowed imports, reserved names - and nothing volatile, so it changes if and only if an environment built against it would now be wrong. Cache against it to detect a runner rebuild. Null unless `status` is 'ok', since a partial report is not a contract. Also returned as the response ETag.
2625
+ */
2626
+ runtime_digest?: string | null;
2627
+ /**
2628
+ * Error
2629
+ *
2630
+ * Why the probe failed, when it did.
2631
+ */
2632
+ error?: string | null;
2633
+ };
2173
2634
  /**
2174
2635
  * FunctionScheduleCreateRequest
2175
2636
  */
2176
2637
  type FunctionScheduleCreateRequest = {
2177
2638
  /**
2178
2639
  * Cron
2640
+ *
2641
+ * AWS EventBridge schedule expression. Six space-separated fields, minutes first: `minutes hours day-of-month month day-of-week year`. This is neither five-field Unix crontab nor the seconds-first six-field dialect used by Quartz and cron-parser. Exactly one of day-of-month and day-of-week must be `?`, the other must be a real value. Schedules fire in UTC. Example: `0 12 ? * * *` runs daily at noon UTC. `rate(...)` expressions such as `rate(1 hour)` are accepted too.
2179
2642
  */
2180
2643
  cron: string;
2181
2644
  /**
2182
2645
  * Variables
2646
+ *
2647
+ * Values passed to the function on every scheduled run. Must supply every function variable that has no default, and no names the function does not declare.
2183
2648
  */
2184
2649
  variables: {
2185
2650
  [key: string]: unknown;
2186
2651
  } | null;
2187
2652
  };
2653
+ /**
2654
+ * FunctionSource
2655
+ */
2656
+ type FunctionSource = 'console' | 'anything' | 'cli' | 'node-sdk' | 'python-sdk' | 'rest-api';
2188
2657
  /**
2189
2658
  * FunctionWithLinkResponse
2190
2659
  */
@@ -2269,6 +2738,44 @@ type FunctionWithLinkResponse = {
2269
2738
  * Required Secrets
2270
2739
  */
2271
2740
  required_secrets?: Array<string>;
2741
+ /**
2742
+ * Source
2743
+ *
2744
+ * Where the function was created from, stamped at creation. Read-only.
2745
+ */
2746
+ source?: string | null;
2747
+ /**
2748
+ * Self Healing
2749
+ *
2750
+ * Whether the build is finished and the function may be healed automatically. Can only be enabled on a function that has a thread for self-heal to resume.
2751
+ */
2752
+ self_healing?: boolean;
2753
+ /**
2754
+ * Instructions
2755
+ *
2756
+ * Builder's operating notes: typical run duration, known failure modes, which parameters matter.
2757
+ */
2758
+ instructions?: string | null;
2759
+ /**
2760
+ * Schedule Cron
2761
+ *
2762
+ * Cron expression the function runs on, or null if it is not scheduled.
2763
+ */
2764
+ schedule_cron?: string | null;
2765
+ /**
2766
+ * Schedule Variables
2767
+ *
2768
+ * Variables passed to each scheduled run, or null if it is not scheduled.
2769
+ */
2770
+ schedule_variables?: {
2771
+ [key: string]: unknown;
2772
+ } | null;
2773
+ /**
2774
+ * Schedule State
2775
+ *
2776
+ * 'enabled' while the schedule fires, 'paused' once the backend disabled it after a deterministic failure (exhausted credit, or an inactive function), null when there is no schedule.
2777
+ */
2778
+ schedule_state?: 'enabled' | 'paused' | null;
2272
2779
  /**
2273
2780
  * Workflow Id
2274
2781
  */
@@ -2374,12 +2881,6 @@ type GetFunctionRunResponse = {
2374
2881
  * GlobalScrapeRequest
2375
2882
  */
2376
2883
  type GlobalScrapeRequest = {
2377
- /**
2378
- * Headless
2379
- *
2380
- * Whether to run the session in headless mode.
2381
- */
2382
- headless?: boolean;
2383
2884
  /**
2384
2885
  * Solve Captchas
2385
2886
  *
@@ -2494,6 +2995,12 @@ type GlobalScrapeRequest = {
2494
2995
  * Whether to wait for Managed Auth before returning the session. Defaults to true. When true, authentication failure or timeout fails session creation; when false, authentication continues in the background after the browser is ready.
2495
2996
  */
2496
2997
  wait_for_authentication?: boolean;
2998
+ /**
2999
+ * Advanced Stealth
3000
+ *
3001
+ * Enable Notte's highest-fidelity browser environment for sites with sophisticated bot detection. Available to approved workspaces.
3002
+ */
3003
+ advanced_stealth?: boolean;
2497
3004
  /**
2498
3005
  * Selector
2499
3006
  *
@@ -2838,6 +3345,10 @@ type MailboxConnectRequest = {
2838
3345
  * Allowed Origin
2839
3346
  */
2840
3347
  allowed_origin: string;
3348
+ /**
3349
+ * Mailbox Id
3350
+ */
3351
+ mailbox_id?: string | null;
2841
3352
  };
2842
3353
  /**
2843
3354
  * MailboxConnectResponse
@@ -2932,6 +3443,23 @@ type MailboxUpdateRequest = {
2932
3443
  */
2933
3444
  allowed_sender_domains?: Array<string>;
2934
3445
  };
3446
+ /**
3447
+ * ManagedAuthCredentials
3448
+ */
3449
+ type ManagedAuthCredentials = {
3450
+ /**
3451
+ * Username
3452
+ */
3453
+ username?: string | null;
3454
+ /**
3455
+ * Email
3456
+ */
3457
+ email?: string | null;
3458
+ /**
3459
+ * Mfa Secret
3460
+ */
3461
+ mfa_secret?: null;
3462
+ };
2935
3463
  /**
2936
3464
  * MultiFactorFillAction
2937
3465
  */
@@ -3228,13 +3756,13 @@ type PaginatedResponseAgentResponse = {
3228
3756
  readonly has_previous: boolean;
3229
3757
  };
3230
3758
  /**
3231
- * PaginatedResponse[FunctionResponse]
3759
+ * PaginatedResponse[FunctionListItemResponse]
3232
3760
  */
3233
- type PaginatedResponseFunctionResponse = {
3761
+ type PaginatedResponseFunctionListItemResponse = {
3234
3762
  /**
3235
3763
  * Items
3236
3764
  */
3237
- items: Array<FunctionResponse>;
3765
+ items: Array<FunctionListItemResponse>;
3238
3766
  /**
3239
3767
  * Page
3240
3768
  */
@@ -3704,6 +4232,41 @@ type RunFunctionRequest = {
3704
4232
  */
3705
4233
  stream?: boolean;
3706
4234
  };
4235
+ /**
4236
+ * RuntimePackage
4237
+ */
4238
+ type RuntimePackage = {
4239
+ /**
4240
+ * Import Name
4241
+ *
4242
+ * The name a function writes in its `import` statement, e.g. `notte_sdk`.
4243
+ */
4244
+ import_name: string;
4245
+ /**
4246
+ * Package
4247
+ *
4248
+ * Distribution providing it, e.g. `notte-sdk`. Null when nothing on disk claims the name.
4249
+ */
4250
+ package?: string | null;
4251
+ /**
4252
+ * Version
4253
+ *
4254
+ * Installed version of `package`, or null if unknown.
4255
+ */
4256
+ version?: string | null;
4257
+ /**
4258
+ * Source
4259
+ *
4260
+ * Installable reference this came from when it did not come from an index, e.g. `git+https://github.com/nottelabs/notte@<sha>#subdirectory=packages/notte-sdk`. Null for an ordinary index install, where `version` is the whole identity. Read from the install's own PEP 610 record: the runner pins notte-sdk and notte-core to git SHAs, so those share a version number with a PyPI build that behaves differently, and reproducing the sandbox from `version` alone gets you the wrong code.
4261
+ */
4262
+ source?: string | null;
4263
+ /**
4264
+ * Installed
4265
+ *
4266
+ * False for a name the upload validator accepts but the runtime image does not ship: such an import passes validation and then fails mid-run with ModuleNotFoundError.
4267
+ */
4268
+ installed?: boolean;
4269
+ };
3707
4270
  /**
3708
4271
  * SMSResponse
3709
4272
  */
@@ -4204,6 +4767,35 @@ type SelectDropdownOptionActionOutput = {
4204
4767
  */
4205
4768
  value: string;
4206
4769
  };
4770
+ /**
4771
+ * SerializedError
4772
+ */
4773
+ type SerializedError = {
4774
+ /**
4775
+ * Error Type
4776
+ */
4777
+ error_type: string;
4778
+ /**
4779
+ * Dev Message
4780
+ */
4781
+ dev_message: string;
4782
+ /**
4783
+ * User Message
4784
+ */
4785
+ user_message: string;
4786
+ /**
4787
+ * Agent Message
4788
+ */
4789
+ agent_message: string;
4790
+ /**
4791
+ * Should Retry Later
4792
+ */
4793
+ should_retry_later?: boolean;
4794
+ /**
4795
+ * Should Notify Team
4796
+ */
4797
+ should_notify_team?: boolean;
4798
+ };
4207
4799
  /**
4208
4800
  * SessionDebugResponse
4209
4801
  */
@@ -4298,6 +4890,12 @@ type SessionResponse = {
4298
4890
  * Session status
4299
4891
  */
4300
4892
  status: 'active' | 'closed' | 'error' | 'timed_out';
4893
+ /**
4894
+ * Close Reason
4895
+ *
4896
+ * Reason the session closed, if it is no longer active
4897
+ */
4898
+ close_reason?: 'manual' | 'idle_timeout' | 'max_duration' | 'error' | 'unknown' | null;
4301
4899
  /**
4302
4900
  * Steps
4303
4901
  *
@@ -4358,12 +4956,6 @@ type SessionResponse = {
4358
4956
  * The height of the viewport
4359
4957
  */
4360
4958
  viewport_height?: number | null;
4361
- /**
4362
- * Headless
4363
- *
4364
- * Whether to run the session in headless mode.
4365
- */
4366
- headless?: boolean;
4367
4959
  /**
4368
4960
  * Solve Captchas
4369
4961
  *
@@ -4406,6 +4998,7 @@ type SessionResponse = {
4406
4998
  * @deprecated
4407
4999
  */
4408
5000
  readonly timeout_minutes: number;
5001
+ [key: string]: unknown;
4409
5002
  };
4410
5003
  /**
4411
5004
  * SmsReadAction
@@ -5017,6 +5610,7 @@ type ApiExecutionResponseWritable = {
5017
5610
  * Exception
5018
5611
  */
5019
5612
  exception?: string | null;
5613
+ exception_detail?: SerializedError | null;
5020
5614
  };
5021
5615
  /**
5022
5616
  * BaseModel
@@ -5024,6 +5618,18 @@ type ApiExecutionResponseWritable = {
5024
5618
  type BaseModelWritable = {
5025
5619
  [key: string]: unknown;
5026
5620
  };
5621
+ /**
5622
+ * ConnectLinkSubmitRequest
5623
+ */
5624
+ type ConnectLinkSubmitRequestWritable = {
5625
+ credentials: ManagedAuthCredentialsWritable;
5626
+ /**
5627
+ * Mailbox Id
5628
+ *
5629
+ * Inbox the second-factor code will arrive in. Required when the connector reads its code from email and the link did not already name one.
5630
+ */
5631
+ mailbox_id?: string | null;
5632
+ };
5027
5633
  /**
5028
5634
  * FallbackFillAction
5029
5635
  */
@@ -5237,6 +5843,97 @@ type FormFillActionWritable = {
5237
5843
  [key: string]: string | string;
5238
5844
  };
5239
5845
  };
5846
+ /**
5847
+ * FunctionListItemResponse
5848
+ */
5849
+ type FunctionListItemResponseWritable = {
5850
+ /**
5851
+ * Function Id
5852
+ *
5853
+ * The ID of the function
5854
+ */
5855
+ function_id: string;
5856
+ /**
5857
+ * Variables
5858
+ *
5859
+ * The variables to run the workflow with
5860
+ */
5861
+ variables?: Array<ParameterInfo> | null;
5862
+ /**
5863
+ * Created At
5864
+ *
5865
+ * The creation time of the workflow
5866
+ */
5867
+ created_at: string;
5868
+ /**
5869
+ * Updated At
5870
+ *
5871
+ * The last update time of the workflow
5872
+ */
5873
+ updated_at: string;
5874
+ /**
5875
+ * Latest Version
5876
+ *
5877
+ * The version of the workflow
5878
+ */
5879
+ latest_version: string;
5880
+ /**
5881
+ * Versions
5882
+ *
5883
+ * The versions of the workflow
5884
+ */
5885
+ versions: Array<string>;
5886
+ /**
5887
+ * Status
5888
+ *
5889
+ * The status of the workflow
5890
+ */
5891
+ status: string;
5892
+ /**
5893
+ * Name
5894
+ *
5895
+ * The name of the workflow
5896
+ */
5897
+ name?: string | null;
5898
+ /**
5899
+ * Description
5900
+ *
5901
+ * The description of the workflow
5902
+ */
5903
+ description?: string | null;
5904
+ /**
5905
+ * Shared
5906
+ *
5907
+ * Whether the workflow is public and can beshared with other users
5908
+ */
5909
+ shared?: boolean;
5910
+ /**
5911
+ * Reference Workflow Id
5912
+ *
5913
+ * The ID of the reference workflow (i.e wether the workflow was forked from another workflow or not)
5914
+ */
5915
+ reference_workflow_id?: string | null;
5916
+ /**
5917
+ * Published
5918
+ */
5919
+ published?: boolean;
5920
+ /**
5921
+ * Required Secrets
5922
+ */
5923
+ required_secrets?: Array<string>;
5924
+ /**
5925
+ * Source
5926
+ *
5927
+ * Where the function was created from, stamped at creation. Read-only.
5928
+ */
5929
+ source?: string | null;
5930
+ /**
5931
+ * Self Healing
5932
+ *
5933
+ * Whether the build is finished and the function may be healed automatically. Can only be enabled on a function that has a thread for self-heal to resume.
5934
+ */
5935
+ self_healing?: boolean;
5936
+ };
5240
5937
  /**
5241
5938
  * FunctionResponse
5242
5939
  */
@@ -5315,6 +6012,44 @@ type FunctionResponseWritable = {
5315
6012
  * Required Secrets
5316
6013
  */
5317
6014
  required_secrets?: Array<string>;
6015
+ /**
6016
+ * Source
6017
+ *
6018
+ * Where the function was created from, stamped at creation. Read-only.
6019
+ */
6020
+ source?: string | null;
6021
+ /**
6022
+ * Self Healing
6023
+ *
6024
+ * Whether the build is finished and the function may be healed automatically. Can only be enabled on a function that has a thread for self-heal to resume.
6025
+ */
6026
+ self_healing?: boolean;
6027
+ /**
6028
+ * Instructions
6029
+ *
6030
+ * Builder's operating notes: typical run duration, known failure modes, which parameters matter.
6031
+ */
6032
+ instructions?: string | null;
6033
+ /**
6034
+ * Schedule Cron
6035
+ *
6036
+ * Cron expression the function runs on, or null if it is not scheduled.
6037
+ */
6038
+ schedule_cron?: string | null;
6039
+ /**
6040
+ * Schedule Variables
6041
+ *
6042
+ * Variables passed to each scheduled run, or null if it is not scheduled.
6043
+ */
6044
+ schedule_variables?: {
6045
+ [key: string]: unknown;
6046
+ } | null;
6047
+ /**
6048
+ * Schedule State
6049
+ *
6050
+ * 'enabled' while the schedule fires, 'paused' once the backend disabled it after a deterministic failure (exhausted credit, or an inactive function), null when there is no schedule.
6051
+ */
6052
+ schedule_state?: 'enabled' | 'paused' | null;
5318
6053
  };
5319
6054
  /**
5320
6055
  * FunctionRunListItemResponse
@@ -5437,6 +6172,44 @@ type FunctionWithLinkResponseWritable = {
5437
6172
  * Required Secrets
5438
6173
  */
5439
6174
  required_secrets?: Array<string>;
6175
+ /**
6176
+ * Source
6177
+ *
6178
+ * Where the function was created from, stamped at creation. Read-only.
6179
+ */
6180
+ source?: string | null;
6181
+ /**
6182
+ * Self Healing
6183
+ *
6184
+ * Whether the build is finished and the function may be healed automatically. Can only be enabled on a function that has a thread for self-heal to resume.
6185
+ */
6186
+ self_healing?: boolean;
6187
+ /**
6188
+ * Instructions
6189
+ *
6190
+ * Builder's operating notes: typical run duration, known failure modes, which parameters matter.
6191
+ */
6192
+ instructions?: string | null;
6193
+ /**
6194
+ * Schedule Cron
6195
+ *
6196
+ * Cron expression the function runs on, or null if it is not scheduled.
6197
+ */
6198
+ schedule_cron?: string | null;
6199
+ /**
6200
+ * Schedule Variables
6201
+ *
6202
+ * Variables passed to each scheduled run, or null if it is not scheduled.
6203
+ */
6204
+ schedule_variables?: {
6205
+ [key: string]: unknown;
6206
+ } | null;
6207
+ /**
6208
+ * Schedule State
6209
+ *
6210
+ * 'enabled' while the schedule fires, 'paused' once the backend disabled it after a deterministic failure (exhausted credit, or an inactive function), null when there is no schedule.
6211
+ */
6212
+ schedule_state?: 'enabled' | 'paused' | null;
5440
6213
  };
5441
6214
  /**
5442
6215
  * GetFunctionRunResponse
@@ -5499,6 +6272,27 @@ type GetFunctionRunResponseWritable = {
5499
6272
  */
5500
6273
  local?: boolean;
5501
6274
  };
6275
+ /**
6276
+ * ManagedAuthCredentials
6277
+ */
6278
+ type ManagedAuthCredentialsWritable = {
6279
+ /**
6280
+ * Username
6281
+ */
6282
+ username?: string | null;
6283
+ /**
6284
+ * Email
6285
+ */
6286
+ email?: string | null;
6287
+ /**
6288
+ * Password
6289
+ */
6290
+ password: string;
6291
+ /**
6292
+ * Mfa Secret
6293
+ */
6294
+ mfa_secret?: string | null;
6295
+ };
5502
6296
  /**
5503
6297
  * MultiFactorFillAction
5504
6298
  */
@@ -5641,13 +6435,13 @@ type PaginatedResponseAgentResponseWritable = {
5641
6435
  has_next: boolean;
5642
6436
  };
5643
6437
  /**
5644
- * PaginatedResponse[FunctionResponse]
6438
+ * PaginatedResponse[FunctionListItemResponse]
5645
6439
  */
5646
- type PaginatedResponseFunctionResponseWritable = {
6440
+ type PaginatedResponseFunctionListItemResponseWritable = {
5647
6441
  /**
5648
6442
  * Items
5649
6443
  */
5650
- items: Array<FunctionResponseWritable>;
6444
+ items: Array<FunctionListItemResponseWritable>;
5651
6445
  /**
5652
6446
  * Page
5653
6447
  */
@@ -5926,6 +6720,12 @@ type SessionResponseWritable = {
5926
6720
  * Session status
5927
6721
  */
5928
6722
  status: 'active' | 'closed' | 'error' | 'timed_out';
6723
+ /**
6724
+ * Close Reason
6725
+ *
6726
+ * Reason the session closed, if it is no longer active
6727
+ */
6728
+ close_reason?: 'manual' | 'idle_timeout' | 'max_duration' | 'error' | 'unknown' | null;
5929
6729
  /**
5930
6730
  * Steps
5931
6731
  *
@@ -5986,12 +6786,6 @@ type SessionResponseWritable = {
5986
6786
  * The height of the viewport
5987
6787
  */
5988
6788
  viewport_height?: number | null;
5989
- /**
5990
- * Headless
5991
- *
5992
- * Whether to run the session in headless mode.
5993
- */
5994
- headless?: boolean;
5995
6789
  /**
5996
6790
  * Solve Captchas
5997
6791
  *
@@ -6028,6 +6822,7 @@ type SessionResponseWritable = {
6028
6822
  * Whether this session is an internal system run. Internal system runs are omitted from session.list() unless include_system=True is requested.
6029
6823
  */
6030
6824
  system_hidden?: boolean;
6825
+ [key: string]: unknown;
6031
6826
  };
6032
6827
  /**
6033
6828
  * UpdateFunctionRunResponse
@@ -6246,7 +7041,12 @@ type SessionStopData = {
6246
7041
  */
6247
7042
  session_id: string;
6248
7043
  };
6249
- query?: never;
7044
+ query?: {
7045
+ /**
7046
+ * Close Reason
7047
+ */
7048
+ close_reason?: 'manual' | 'error';
7049
+ };
6250
7050
  url: '/sessions/{session_id}/stop';
6251
7051
  };
6252
7052
  type SessionStopErrors = {
@@ -6911,28 +7711,58 @@ type ListAgentsData = {
6911
7711
  */
6912
7712
  only_saved?: boolean;
6913
7713
  /**
6914
- * Only Current Token
6915
- *
6916
- * Whether to only return agents for the current token (apikey)
7714
+ * Only Current Token
7715
+ *
7716
+ * Whether to only return agents for the current token (apikey)
7717
+ */
7718
+ only_current_token?: boolean;
7719
+ };
7720
+ url: '/agents';
7721
+ };
7722
+ type ListAgentsErrors = {
7723
+ /**
7724
+ * Validation Error
7725
+ */
7726
+ 422: HttpValidationError;
7727
+ };
7728
+ type ListAgentsError = ListAgentsErrors[keyof ListAgentsErrors];
7729
+ type ListAgentsResponses = {
7730
+ /**
7731
+ * Successful Response
7732
+ */
7733
+ 200: PaginatedResponseAgentResponse;
7734
+ };
7735
+ type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
7736
+ type FunctionRuntimeHealthData = {
7737
+ body?: never;
7738
+ headers?: {
7739
+ /**
7740
+ * X-Notte-Request-Origin
7741
+ */
7742
+ 'x-notte-request-origin'?: string | null;
7743
+ /**
7744
+ * X-Notte-Sdk-Version
6917
7745
  */
6918
- only_current_token?: boolean;
7746
+ 'x-notte-sdk-version'?: string | null;
6919
7747
  };
6920
- url: '/agents';
7748
+ path?: never;
7749
+ query?: never;
7750
+ url: '/functions/health';
6921
7751
  };
6922
- type ListAgentsErrors = {
7752
+ type FunctionRuntimeHealthErrors = {
6923
7753
  /**
6924
7754
  * Validation Error
6925
7755
  */
6926
7756
  422: HttpValidationError;
6927
7757
  };
6928
- type ListAgentsError = ListAgentsErrors[keyof ListAgentsErrors];
6929
- type ListAgentsResponses = {
7758
+ type FunctionRuntimeHealthError = FunctionRuntimeHealthErrors[keyof FunctionRuntimeHealthErrors];
7759
+ type FunctionRuntimeHealthResponses = {
6930
7760
  /**
6931
7761
  * Successful Response
6932
7762
  */
6933
- 200: PaginatedResponseAgentResponse;
7763
+ 200: FunctionRuntimeHealthResponse;
6934
7764
  };
6935
- type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
7765
+ type FunctionRuntimeHealthResponse2 = FunctionRuntimeHealthResponses[keyof FunctionRuntimeHealthResponses];
6936
7766
  type ListFunctionsData = {
6937
7767
  body?: never;
6938
7768
  headers?: {
@@ -6991,7 +7821,7 @@ type ListFunctionsResponses = {
6991
7821
  /**
6992
7822
  * Successful Response
6993
7823
  */
6994
- 200: PaginatedResponseFunctionResponse;
7824
+ 200: PaginatedResponseFunctionListItemResponse;
6995
7825
  };
6996
7826
  type ListFunctionsResponse = ListFunctionsResponses[keyof ListFunctionsResponses];
6997
7827
  type FunctionCreateData = {
@@ -7112,6 +7942,41 @@ type FunctionDownloadUrlResponses = {
7112
7942
  200: FunctionWithLinkResponse;
7113
7943
  };
7114
7944
  type FunctionDownloadUrlResponse = FunctionDownloadUrlResponses[keyof FunctionDownloadUrlResponses];
7945
+ type FunctionMetadataUpdateData = {
7946
+ body: FunctionMetadataUpdateRequest;
7947
+ headers?: {
7948
+ /**
7949
+ * X-Notte-Request-Origin
7950
+ */
7951
+ 'x-notte-request-origin'?: string | null;
7952
+ /**
7953
+ * X-Notte-Sdk-Version
7954
+ */
7955
+ 'x-notte-sdk-version'?: string | null;
7956
+ };
7957
+ path: {
7958
+ /**
7959
+ * Function Id
7960
+ */
7961
+ function_id: string;
7962
+ };
7963
+ query?: never;
7964
+ url: '/functions/{function_id}';
7965
+ };
7966
+ type FunctionMetadataUpdateErrors = {
7967
+ /**
7968
+ * Validation Error
7969
+ */
7970
+ 422: HttpValidationError;
7971
+ };
7972
+ type FunctionMetadataUpdateError = FunctionMetadataUpdateErrors[keyof FunctionMetadataUpdateErrors];
7973
+ type FunctionMetadataUpdateResponses = {
7974
+ /**
7975
+ * Successful Response
7976
+ */
7977
+ 200: FunctionResponse;
7978
+ };
7979
+ type FunctionMetadataUpdateResponse = FunctionMetadataUpdateResponses[keyof FunctionMetadataUpdateResponses];
7115
7980
  type FunctionUpdateData = {
7116
7981
  body: BodyFunctionUpdateFunctionsFunctionIdPost;
7117
7982
  headers?: {
@@ -7195,6 +8060,48 @@ type FunctionForkResponses = {
7195
8060
  200: FunctionResponse;
7196
8061
  };
7197
8062
  type FunctionForkResponse = FunctionForkResponses[keyof FunctionForkResponses];
8063
+ type FunctionRollbackData = {
8064
+ body: FunctionRollbackRequest;
8065
+ headers?: {
8066
+ /**
8067
+ * X-Notte-Request-Origin
8068
+ */
8069
+ 'x-notte-request-origin'?: string | null;
8070
+ /**
8071
+ * X-Notte-Sdk-Version
8072
+ */
8073
+ 'x-notte-sdk-version'?: string | null;
8074
+ };
8075
+ path: {
8076
+ /**
8077
+ * Function Id
8078
+ */
8079
+ function_id: string;
8080
+ };
8081
+ query?: {
8082
+ /**
8083
+ * Restricted
8084
+ *
8085
+ * Whether to restrict the function code
8086
+ */
8087
+ restricted?: boolean;
8088
+ };
8089
+ url: '/functions/{function_id}/rollback';
8090
+ };
8091
+ type FunctionRollbackErrors = {
8092
+ /**
8093
+ * Validation Error
8094
+ */
8095
+ 422: HttpValidationError;
8096
+ };
8097
+ type FunctionRollbackError = FunctionRollbackErrors[keyof FunctionRollbackErrors];
8098
+ type FunctionRollbackResponses = {
8099
+ /**
8100
+ * Successful Response
8101
+ */
8102
+ 200: FunctionResponse;
8103
+ };
8104
+ type FunctionRollbackResponse = FunctionRollbackResponses[keyof FunctionRollbackResponses];
7198
8105
  type FunctionScheduleDeleteData = {
7199
8106
  body?: never;
7200
8107
  headers?: {
@@ -7454,21 +8361,27 @@ type ListFunctionRunsByFunctionIdData = {
7454
8361
  /**
7455
8362
  * Only Active
7456
8363
  *
7457
- * Whether to only return active sessions
8364
+ * Whether to only return active function runs
7458
8365
  */
7459
8366
  only_active?: boolean;
7460
8367
  /**
7461
8368
  * Only Current Token
7462
8369
  *
7463
- * Whether to only return sessions for the current token (apikey)
8370
+ * Whether to only return function runs for the current token (apikey)
7464
8371
  */
7465
8372
  only_current_token?: boolean;
7466
8373
  /**
7467
8374
  * Include System
7468
8375
  *
7469
- * Whether to include internal system sessions
8376
+ * Whether to include internal system function runs
7470
8377
  */
7471
8378
  include_system?: boolean;
8379
+ /**
8380
+ * Source
8381
+ *
8382
+ * Only return runs of functions created from this source
8383
+ */
8384
+ source?: FunctionSource | null;
7472
8385
  };
7473
8386
  url: '/functions/{function_id}/runs';
7474
8387
  };
@@ -8678,6 +9591,208 @@ type MailboxUpdateResponses = {
8678
9591
  200: MailboxConnection;
8679
9592
  };
8680
9593
  type MailboxUpdateResponse = MailboxUpdateResponses[keyof MailboxUpdateResponses];
9594
+ type ManagedAuthConnectLinkCreateData = {
9595
+ body: ConnectLinkCreateRequest;
9596
+ headers?: {
9597
+ /**
9598
+ * X-Notte-Request-Origin
9599
+ */
9600
+ 'x-notte-request-origin'?: string | null;
9601
+ /**
9602
+ * X-Notte-Sdk-Version
9603
+ */
9604
+ 'x-notte-sdk-version'?: string | null;
9605
+ };
9606
+ path?: never;
9607
+ query?: never;
9608
+ url: '/managed-auth/connect-links';
9609
+ };
9610
+ type ManagedAuthConnectLinkCreateErrors = {
9611
+ /**
9612
+ * Validation Error
9613
+ */
9614
+ 422: HttpValidationError;
9615
+ };
9616
+ type ManagedAuthConnectLinkCreateError = ManagedAuthConnectLinkCreateErrors[keyof ManagedAuthConnectLinkCreateErrors];
9617
+ type ManagedAuthConnectLinkCreateResponses = {
9618
+ /**
9619
+ * Successful Response
9620
+ */
9621
+ 201: ConnectLinkCreateResponse;
9622
+ };
9623
+ type ManagedAuthConnectLinkCreateResponse = ManagedAuthConnectLinkCreateResponses[keyof ManagedAuthConnectLinkCreateResponses];
9624
+ type ConnectLinkContextData = {
9625
+ body?: never;
9626
+ headers: {
9627
+ /**
9628
+ * X-Notte-Connect-Token
9629
+ *
9630
+ * The connect token from the link URL.
9631
+ */
9632
+ 'X-Notte-Connect-Token': string;
9633
+ };
9634
+ path?: never;
9635
+ query?: never;
9636
+ url: '/managed-auth/connect-links/context';
9637
+ };
9638
+ type ConnectLinkContextErrors = {
9639
+ /**
9640
+ * Validation Error
9641
+ */
9642
+ 422: HttpValidationError;
9643
+ };
9644
+ type ConnectLinkContextError = ConnectLinkContextErrors[keyof ConnectLinkContextErrors];
9645
+ type ConnectLinkContextResponses = {
9646
+ /**
9647
+ * Successful Response
9648
+ */
9649
+ 200: ConnectLinkContext;
9650
+ };
9651
+ type ConnectLinkContextResponse = ConnectLinkContextResponses[keyof ConnectLinkContextResponses];
9652
+ type ConnectLinkMailboxesData = {
9653
+ body?: never;
9654
+ headers: {
9655
+ /**
9656
+ * X-Notte-Connect-Token
9657
+ *
9658
+ * The connect token from the link URL.
9659
+ */
9660
+ 'X-Notte-Connect-Token': string;
9661
+ };
9662
+ path?: never;
9663
+ query?: never;
9664
+ url: '/managed-auth/connect-links/mailboxes';
9665
+ };
9666
+ type ConnectLinkMailboxesErrors = {
9667
+ /**
9668
+ * Validation Error
9669
+ */
9670
+ 422: HttpValidationError;
9671
+ };
9672
+ type ConnectLinkMailboxesError = ConnectLinkMailboxesErrors[keyof ConnectLinkMailboxesErrors];
9673
+ type ConnectLinkMailboxesResponses = {
9674
+ /**
9675
+ * Response Connect Link Mailboxes Managed Auth Connect Links Mailboxes Post
9676
+ *
9677
+ * Successful Response
9678
+ */
9679
+ 200: Array<ConnectLinkMailbox>;
9680
+ };
9681
+ type ConnectLinkMailboxesResponse = ConnectLinkMailboxesResponses[keyof ConnectLinkMailboxesResponses];
9682
+ type ConnectLinkMailboxConnectData = {
9683
+ body: ConnectLinkMailboxConnectRequest;
9684
+ headers: {
9685
+ /**
9686
+ * X-Notte-Connect-Token
9687
+ *
9688
+ * The connect token from the link URL.
9689
+ */
9690
+ 'X-Notte-Connect-Token': string;
9691
+ };
9692
+ path?: never;
9693
+ query?: never;
9694
+ url: '/managed-auth/connect-links/mailboxes/connect';
9695
+ };
9696
+ type ConnectLinkMailboxConnectErrors = {
9697
+ /**
9698
+ * Validation Error
9699
+ */
9700
+ 422: HttpValidationError;
9701
+ };
9702
+ type ConnectLinkMailboxConnectError = ConnectLinkMailboxConnectErrors[keyof ConnectLinkMailboxConnectErrors];
9703
+ type ConnectLinkMailboxConnectResponses = {
9704
+ /**
9705
+ * Successful Response
9706
+ */
9707
+ 200: ConnectLinkMailboxConnectResponse;
9708
+ };
9709
+ type ConnectLinkMailboxConnectResponse2 = ConnectLinkMailboxConnectResponses[keyof ConnectLinkMailboxConnectResponses];
9710
+ type ConnectLinkMailboxSyncData = {
9711
+ body: ConnectLinkMailboxSyncRequest;
9712
+ headers: {
9713
+ /**
9714
+ * X-Notte-Connect-Token
9715
+ *
9716
+ * The connect token from the link URL.
9717
+ */
9718
+ 'X-Notte-Connect-Token': string;
9719
+ };
9720
+ path?: never;
9721
+ query?: never;
9722
+ url: '/managed-auth/connect-links/mailboxes/sync';
9723
+ };
9724
+ type ConnectLinkMailboxSyncErrors = {
9725
+ /**
9726
+ * Validation Error
9727
+ */
9728
+ 422: HttpValidationError;
9729
+ };
9730
+ type ConnectLinkMailboxSyncError = ConnectLinkMailboxSyncErrors[keyof ConnectLinkMailboxSyncErrors];
9731
+ type ConnectLinkMailboxSyncResponses = {
9732
+ /**
9733
+ * Response Connect Link Mailbox Sync Managed Auth Connect Links Mailboxes Sync Post
9734
+ *
9735
+ * Successful Response
9736
+ */
9737
+ 200: Array<ConnectLinkMailbox>;
9738
+ };
9739
+ type ConnectLinkMailboxSyncResponse = ConnectLinkMailboxSyncResponses[keyof ConnectLinkMailboxSyncResponses];
9740
+ type ConnectLinkSubmitData = {
9741
+ body: ConnectLinkSubmitRequestWritable;
9742
+ headers: {
9743
+ /**
9744
+ * X-Notte-Connect-Token
9745
+ *
9746
+ * The connect token from the link URL.
9747
+ */
9748
+ 'X-Notte-Connect-Token': string;
9749
+ };
9750
+ path?: never;
9751
+ query?: never;
9752
+ url: '/managed-auth/connect-links/submit';
9753
+ };
9754
+ type ConnectLinkSubmitErrors = {
9755
+ /**
9756
+ * Validation Error
9757
+ */
9758
+ 422: HttpValidationError;
9759
+ };
9760
+ type ConnectLinkSubmitError = ConnectLinkSubmitErrors[keyof ConnectLinkSubmitErrors];
9761
+ type ConnectLinkSubmitResponses = {
9762
+ /**
9763
+ * Successful Response
9764
+ */
9765
+ 202: ConnectLinkStatusResponse;
9766
+ };
9767
+ type ConnectLinkSubmitResponse = ConnectLinkSubmitResponses[keyof ConnectLinkSubmitResponses];
9768
+ type ConnectLinkStatusData = {
9769
+ body?: never;
9770
+ headers: {
9771
+ /**
9772
+ * X-Notte-Connect-Token
9773
+ *
9774
+ * The connect token from the link URL.
9775
+ */
9776
+ 'X-Notte-Connect-Token': string;
9777
+ };
9778
+ path?: never;
9779
+ query?: never;
9780
+ url: '/managed-auth/connect-links/status';
9781
+ };
9782
+ type ConnectLinkStatusErrors = {
9783
+ /**
9784
+ * Validation Error
9785
+ */
9786
+ 422: HttpValidationError;
9787
+ };
9788
+ type ConnectLinkStatusError = ConnectLinkStatusErrors[keyof ConnectLinkStatusErrors];
9789
+ type ConnectLinkStatusResponses = {
9790
+ /**
9791
+ * Successful Response
9792
+ */
9793
+ 200: ConnectLinkStatusResponse;
9794
+ };
9795
+ type ConnectLinkStatusResponse2 = ConnectLinkStatusResponses[keyof ConnectLinkStatusResponses];
8681
9796
  type ImprovePromptData = {
8682
9797
  body: ImprovePromptRequest;
8683
9798
  path?: never;
@@ -8774,7 +9889,7 @@ type GetUsageLogsData = {
8774
9889
  *
8775
9890
  * The endpoint to filter logs by
8776
9891
  */
8777
- endpoint?: 'sessions.start' | 'sessions.stop' | 'sessions.status' | 'sessions.cookies.set' | 'sessions.cookies.get' | 'sessions.list' | 'sessions.replay' | 'sessions.offset' | 'sessions.debug.info' | 'sessions.debug.info.tab' | 'sessions.debug.recording.wss' | 'sessions.debug.log.wss' | 'sessions.debug.tab.wss' | 'sessions.debug.browser.wss' | 'sessions.network.logs' | 'sessions.script' | 'page.observe' | 'page.execute' | 'page.scrape' | 'profiles.create' | 'profiles.duplicate' | 'profiles.get' | 'profiles.list' | 'profiles.delete' | 'profiles.cookies.set' | 'profiles.cookies.get' | 'vaults.create' | 'vaults.list' | 'vaults.delete' | 'vaults.update' | 'vaults.credentials.add' | 'vaults.credentials.get' | 'vaults.credentials.delete' | 'vaults.credentials.list' | 'vaults.credit_card.set' | 'vaults.credit_card.get' | 'vaults.credit_card.delete' | 'personas.create' | 'personas.list' | 'personas.delete' | 'personas.emails' | 'personas.sms' | 'personas.number.create' | 'personas.get' | 'personas.update' | 'mailboxes.connect' | 'mailboxes.sync' | 'mailboxes.list' | 'mailboxes.get' | 'mailboxes.update' | 'mailboxes.delete' | 'storage.download' | 'storage.download.list' | 'storage.fbdownload' | 'storage.download.fblist' | 'storage.upload' | 'storage.upload.download' | 'storage.upload.list' | 'agents.start' | 'agents.stop' | 'agents.status' | 'agents.list' | 'agents.replay' | 'agents.debug.recording' | 'agents.save' | 'agents.repeat' | 'agents.script' | 'bua' | 'scrape' | 'scrape_from_html' | 'search' | 'usage' | 'workflows.upload' | 'workflows.download' | 'workflows.list' | 'workflows.delete' | 'workflows.update' | 'workflows.fork' | 'workflows.schedule.create' | 'workflows.schedule.delete' | 'workflows.runs.create' | 'workflows.runs.start' | 'workflows.runs.get' | 'workflows.runs.list' | 'workflows.runs.update' | 'workflows.runs.stop' | null;
9892
+ endpoint?: 'sessions.start' | 'sessions.stop' | 'sessions.status' | 'sessions.cookies.set' | 'sessions.cookies.get' | 'sessions.list' | 'sessions.replay' | 'sessions.offset' | 'sessions.debug.info' | 'sessions.debug.info.tab' | 'sessions.debug.recording.wss' | 'sessions.debug.log.wss' | 'sessions.debug.tab.wss' | 'sessions.debug.browser.wss' | 'sessions.network.logs' | 'sessions.script' | 'page.observe' | 'page.execute' | 'page.scrape' | 'profiles.create' | 'profiles.duplicate' | 'profiles.get' | 'profiles.list' | 'profiles.delete' | 'profiles.cookies.set' | 'profiles.cookies.get' | 'vaults.create' | 'vaults.list' | 'vaults.delete' | 'vaults.update' | 'vaults.credentials.add' | 'vaults.credentials.get' | 'vaults.credentials.delete' | 'vaults.credentials.list' | 'vaults.credit_card.set' | 'vaults.credit_card.get' | 'vaults.credit_card.delete' | 'personas.create' | 'personas.list' | 'personas.delete' | 'personas.emails' | 'personas.sms' | 'personas.number.create' | 'personas.get' | 'personas.update' | 'mailboxes.connect' | 'mailboxes.sync' | 'mailboxes.list' | 'mailboxes.get' | 'mailboxes.update' | 'mailboxes.delete' | 'storage.download' | 'storage.download.list' | 'storage.fbdownload' | 'storage.download.fblist' | 'storage.upload' | 'storage.upload.download' | 'storage.upload.list' | 'agents.start' | 'agents.stop' | 'agents.status' | 'agents.list' | 'agents.replay' | 'agents.debug.recording' | 'agents.save' | 'agents.repeat' | 'agents.script' | 'bua' | 'scrape' | 'scrape_from_html' | 'search' | 'usage' | 'workflows.upload' | 'workflows.download' | 'workflows.list' | 'workflows.delete' | 'workflows.update' | 'workflows.fork' | 'workflows.rollback' | 'workflows.schedule.create' | 'workflows.schedule.delete' | 'workflows.runs.create' | 'workflows.runs.start' | 'workflows.runs.get' | 'workflows.runs.list' | 'workflows.runs.update' | 'workflows.runs.stop' | null;
8778
9893
  /**
8779
9894
  * Page
8780
9895
  *
@@ -9407,6 +10522,10 @@ declare const agentStop: <ThrowOnError extends boolean = false>(options: Options
9407
10522
  * List Agents
9408
10523
  */
9409
10524
  declare const listAgents: <ThrowOnError extends boolean = false>(options?: Options<ListAgentsData, ThrowOnError>) => RequestResult<ListAgentsResponses, ListAgentsErrors, ThrowOnError>;
10525
+ /**
10526
+ * Function Runtime Health
10527
+ */
10528
+ declare const functionRuntimeHealth: <ThrowOnError extends boolean = false>(options?: Options<FunctionRuntimeHealthData, ThrowOnError>) => RequestResult<FunctionRuntimeHealthResponses, FunctionRuntimeHealthErrors, ThrowOnError>;
9410
10529
  /**
9411
10530
  * List Functions
9412
10531
  */
@@ -9423,6 +10542,10 @@ declare const functionDelete: <ThrowOnError extends boolean = false>(options: Op
9423
10542
  * Function Download Url
9424
10543
  */
9425
10544
  declare const functionDownloadUrl: <ThrowOnError extends boolean = false>(options: Options<FunctionDownloadUrlData, ThrowOnError>) => RequestResult<FunctionDownloadUrlResponses, FunctionDownloadUrlErrors, ThrowOnError>;
10545
+ /**
10546
+ * Function Metadata Update
10547
+ */
10548
+ declare const functionMetadataUpdate: <ThrowOnError extends boolean = false>(options: Options<FunctionMetadataUpdateData, ThrowOnError>) => RequestResult<FunctionMetadataUpdateResponses, FunctionMetadataUpdateErrors, ThrowOnError>;
9426
10549
  /**
9427
10550
  * Function Update
9428
10551
  */
@@ -9431,6 +10554,10 @@ declare const functionUpdate: <ThrowOnError extends boolean = false>(options: Op
9431
10554
  * Function Fork
9432
10555
  */
9433
10556
  declare const functionFork: <ThrowOnError extends boolean = false>(options: Options<FunctionForkData, ThrowOnError>) => RequestResult<FunctionForkResponses, FunctionForkErrors, ThrowOnError>;
10557
+ /**
10558
+ * Function Rollback
10559
+ */
10560
+ declare const functionRollback: <ThrowOnError extends boolean = false>(options: Options<FunctionRollbackData, ThrowOnError>) => RequestResult<FunctionRollbackResponses, FunctionRollbackErrors, ThrowOnError>;
9434
10561
  /**
9435
10562
  * Function Schedule Delete
9436
10563
  */
@@ -9583,6 +10710,34 @@ declare const mailboxGet: <ThrowOnError extends boolean = false>(options: Option
9583
10710
  * Mailbox Update
9584
10711
  */
9585
10712
  declare const mailboxUpdate: <ThrowOnError extends boolean = false>(options: Options<MailboxUpdateData, ThrowOnError>) => RequestResult<MailboxUpdateResponses, MailboxUpdateErrors, ThrowOnError>;
10713
+ /**
10714
+ * Managed Auth Connect Link Create
10715
+ */
10716
+ declare const managedAuthConnectLinkCreate: <ThrowOnError extends boolean = false>(options: Options<ManagedAuthConnectLinkCreateData, ThrowOnError>) => RequestResult<ManagedAuthConnectLinkCreateResponses, ManagedAuthConnectLinkCreateErrors, ThrowOnError>;
10717
+ /**
10718
+ * Connect Link Context
10719
+ */
10720
+ declare const connectLinkContext: <ThrowOnError extends boolean = false>(options: Options<ConnectLinkContextData, ThrowOnError>) => RequestResult<ConnectLinkContextResponses, ConnectLinkContextErrors, ThrowOnError>;
10721
+ /**
10722
+ * Connect Link Mailboxes
10723
+ */
10724
+ declare const connectLinkMailboxes: <ThrowOnError extends boolean = false>(options: Options<ConnectLinkMailboxesData, ThrowOnError>) => RequestResult<ConnectLinkMailboxesResponses, ConnectLinkMailboxesErrors, ThrowOnError>;
10725
+ /**
10726
+ * Connect Link Mailbox Connect
10727
+ */
10728
+ declare const connectLinkMailboxConnect: <ThrowOnError extends boolean = false>(options: Options<ConnectLinkMailboxConnectData, ThrowOnError>) => RequestResult<ConnectLinkMailboxConnectResponses, ConnectLinkMailboxConnectErrors, ThrowOnError>;
10729
+ /**
10730
+ * Connect Link Mailbox Sync
10731
+ */
10732
+ declare const connectLinkMailboxSync: <ThrowOnError extends boolean = false>(options: Options<ConnectLinkMailboxSyncData, ThrowOnError>) => RequestResult<ConnectLinkMailboxSyncResponses, ConnectLinkMailboxSyncErrors, ThrowOnError>;
10733
+ /**
10734
+ * Connect Link Submit
10735
+ */
10736
+ declare const connectLinkSubmit: <ThrowOnError extends boolean = false>(options: Options<ConnectLinkSubmitData, ThrowOnError>) => RequestResult<ConnectLinkSubmitResponses, ConnectLinkSubmitErrors, ThrowOnError>;
10737
+ /**
10738
+ * Connect Link Status
10739
+ */
10740
+ declare const connectLinkStatus: <ThrowOnError extends boolean = false>(options: Options<ConnectLinkStatusData, ThrowOnError>) => RequestResult<ConnectLinkStatusResponses, ConnectLinkStatusErrors, ThrowOnError>;
9586
10741
  /**
9587
10742
  * Improve Prompt
9588
10743
  */
@@ -9667,6 +10822,12 @@ declare const scrapeFromHtml: <ThrowOnError extends boolean = false>(options: Op
9667
10822
  declare const client: Client;
9668
10823
 
9669
10824
  interface SessionOptions extends ApiSessionStartRequest {
10825
+ /**
10826
+ * @deprecated Remote sessions always use the supported browser launch mode.
10827
+ * Retained as a boolean so existing typed configuration still compiles.
10828
+ * `true` is discarded; `false` raises a migration error when starting.
10829
+ */
10830
+ headless?: boolean;
9670
10831
  /**
9671
10832
  * Open the live viewer in the local default browser after the session starts.
9672
10833
  * This is a local SDK option and is not sent to the API.
@@ -9677,6 +10838,7 @@ declare class Session {
9677
10838
  private client;
9678
10839
  private options;
9679
10840
  private openViewer;
10841
+ private legacyHeadless;
9680
10842
  private sessionId;
9681
10843
  private isActive;
9682
10844
  private response;
@@ -9688,7 +10850,7 @@ declare class Session {
9688
10850
  /**
9689
10851
  * Stop the session - terminates the session on the server
9690
10852
  */
9691
- stop(): Promise<void>;
10853
+ stop(closeReason?: 'manual' | 'error'): Promise<void>;
9692
10854
  /**
9693
10855
  * Get session status
9694
10856
  */
@@ -10027,6 +11189,21 @@ interface FunctionConstructor {
10027
11189
  function_id: string;
10028
11190
  decryption_key?: string;
10029
11191
  }
11192
+ interface FunctionUrlOptions {
11193
+ /** Version to download. Defaults to the latest version. */
11194
+ version?: string;
11195
+ /** Overrides the decryption key passed to the constructor. */
11196
+ decryption_key?: string;
11197
+ }
11198
+ interface FunctionDownloadOptions extends FunctionUrlOptions {
11199
+ /** Where to write the code. Must end with `.py`. Returned only when omitted. */
11200
+ path?: string;
11201
+ }
11202
+ /**
11203
+ * Query options for listing a function's runs: `page`, `page_size`,
11204
+ * `only_active`, `only_current_token`, `include_system`.
11205
+ */
11206
+ type FunctionRunListOptions = NonNullable<ListFunctionRunsByFunctionIdData['query']>;
10030
11207
  /**
10031
11208
  * Function class for managing function runs
10032
11209
  */
@@ -10039,10 +11216,40 @@ declare class NotteFunction {
10039
11216
  * Get metadata for a specific function run
10040
11217
  */
10041
11218
  retrieve(functionRunId: string): Promise<GetFunctionRunResponse>;
11219
+ /**
11220
+ * List the runs of this function.
11221
+ *
11222
+ * `only_active` is sent as `false` unless the caller says otherwise, and that
11223
+ * is deliberate rather than redundant. `GET /functions/{function_id}/runs`
11224
+ * now defaults it to `false` server-side as well, but it used to default to
11225
+ * `true`: the request model was a bare subclass of the session one, where
11226
+ * "only active" reads sensibly as "list my running sessions" and, for "list
11227
+ * this function's runs", was a trap. Hitting the endpoint with no query
11228
+ * parameters returned only the runs executing right now - an empty list for
11229
+ * any function that had finished. That cost us a bug in the anything-api
11230
+ * console, where a function with 15 recorded runs displayed "Nothing has run
11231
+ * this endpoint yet".
11232
+ *
11233
+ * Sending it explicitly pins this method to the documented behaviour against
11234
+ * whichever API version it is talking to, including deployments that predate
11235
+ * the server-side change. Callers who want only in-flight runs pass
11236
+ * `only_active: true`.
11237
+ */
11238
+ runs(options?: FunctionRunListOptions): Promise<PaginatedResponseFunctionRunListItemResponse>;
10042
11239
  /**
10043
11240
  * Start a function run
10044
11241
  */
10045
11242
  run(variables?: Record<string, unknown>): Promise<FunctionRunStartResult>;
11243
+ /**
11244
+ * Get the download URL of the function code, decrypting it when the API
11245
+ * returns an encrypted one (Notte managed functions).
11246
+ */
11247
+ getUrl(options?: FunctionUrlOptions): Promise<string>;
11248
+ /**
11249
+ * Download the function code as a python file. Returns the code, and writes
11250
+ * it to `path` when one is provided.
11251
+ */
11252
+ download(options?: FunctionDownloadOptions): Promise<string>;
10046
11253
  /**
10047
11254
  * Get the function ID
10048
11255
  */
@@ -10100,9 +11307,22 @@ declare class NotteClient {
10100
11307
  getConfig(): NotteClientConfig;
10101
11308
  }
10102
11309
 
11310
+ /**
11311
+ * Decrypts the tokens produced by `notte_core.utils.encryption.Encryption`.
11312
+ *
11313
+ * A token is `base64url(salt || fernet_token)`. The Fernet key is derived from
11314
+ * the root key with PBKDF2-HMAC-SHA256 (100k iterations) over that salt, and the
11315
+ * Fernet token itself is AES-128-CBC with an HMAC-SHA256 suffix.
11316
+ */
11317
+ declare class Encryption {
11318
+ private readonly rootKey;
11319
+ constructor(rootKey: string);
11320
+ decrypt(token: string): string;
11321
+ }
11322
+
10103
11323
  declare const createClient: (config?: {
10104
11324
  baseUrl?: string;
10105
11325
  token?: string;
10106
11326
  }) => Client;
10107
11327
 
10108
- export { type ActionParameter, type ActionSpace, type ActionSpaceWritable, type AddCredentialsRequest, type AddCredentialsResponse, type AddCreditCardRequest, type AddCreditCardResponse, Agent, type AgentConstructor, type AgentFunctionCodeResponse, type AgentResponse, type AgentRunRequest, type AgentStartData, type AgentStartError, type AgentStartErrors, type AgentStartResponse, type AgentStartResponses, type AgentStatus, type AgentStatusData, type AgentStatusError, type AgentStatusErrors, type AgentStatusResponse, type AgentStatusResponse2, type AgentStatusResponses, type AgentStopData, type AgentStopError, type AgentStopErrors, type AgentStopResponse, type AgentStopResponses, type AgentUpdateHandler, type AnythingStartData, type AnythingStartError, type AnythingStartErrors, type AnythingStartRequest, type AnythingStartResponses, type ApiAgentStartRequest, type ApiExecutionResponse, type ApiExecutionResponseWritable, type ApiSessionStartRequest, type BaseModel, type BaseModelWritable, type BodyFileUploadDownloadedFileStorageSessionIdDownloadsFilenamePost, type BodyFileUploadStorageUploadsFilenamePost, type BodyFunctionCreateFunctionsPost, type BodyFunctionUpdateFunctionsFunctionIdPost, type BodySessionCookiesSetSessionsSessionIdCookiesPost, type BoundingBox, type CaptchaSolveAction, type CheckActionInput, type CheckActionOutput, type ClickActionInput, type ClickActionOutput, type ClientOptions, type CloseTabAction, type CompletionAction, type Cookie, type Credential, type CredentialsDictInput, type CredentialsDictOutput, type CreditCardDictInput, type CreditCardDictOutput, type DataSpace, type DeleteCredentialsResponse, type DeleteCreditCardResponse, type DeleteFunctionResponse, type DeletePersonaResponse, type DeleteSecretData, type DeleteSecretError, type DeleteSecretErrors, type DeleteSecretResponse, type DeleteSecretResponses, type DeleteVaultResponse, type DownloadFileActionInput, type DownloadFileActionOutput, type EmailReadAction, type EmailResponse, type EmailVerificationReadAction, type EvaluateJsAction, type ExecutionResponse, type ExternalProxy, type FallbackFillActionInput, type FallbackFillActionInputWritable, type FallbackFillActionOutput, type FallbackFillActionOutputWritable, type FileDownloadData, type FileDownloadError, type FileDownloadErrors, type FileDownloadResponse, type FileDownloadResponses, type FileDownloadUploadedFileData, type FileDownloadUploadedFileError, type FileDownloadUploadedFileErrors, type FileDownloadUploadedFileResponse, type FileDownloadUploadedFileResponses, type FileInfo, type FileLinkResponse, type FileListDownloadsData, type FileListDownloadsError, type FileListDownloadsErrors, type FileListDownloadsResponse, type FileListDownloadsResponses, type FileListUploadsData, type FileListUploadsError, type FileListUploadsErrors, type FileListUploadsResponse, type FileListUploadsResponses, type FileUploadData, type FileUploadDownloadedFileData, type FileUploadDownloadedFileError, type FileUploadDownloadedFileErrors, type FileUploadDownloadedFileResponse, type FileUploadDownloadedFileResponses, type FileUploadError, type FileUploadErrors, type FileUploadResponse, type FileUploadResponse2, type FileUploadResponses, type FillActionInput, type FillActionInputWritable, type FillActionOutput, type FillActionOutputWritable, type FormFillAction, type FormFillActionWritable, type FrameData, type FunctionConstructor, type FunctionCreateData, type FunctionCreateError, type FunctionCreateErrors, type FunctionCreateResponse, type FunctionCreateResponses, type FunctionDeleteData, type FunctionDeleteError, type FunctionDeleteErrors, type FunctionDeleteResponse, type FunctionDeleteResponses, type FunctionDownloadUrlData, type FunctionDownloadUrlError, type FunctionDownloadUrlErrors, type FunctionDownloadUrlResponse, type FunctionDownloadUrlResponses, type FunctionForkData, type FunctionForkError, type FunctionForkErrors, type FunctionForkResponse, type FunctionForkResponses, type FunctionResponse, type FunctionResponseWritable, type FunctionRunGetMetadataData, type FunctionRunGetMetadataError, type FunctionRunGetMetadataErrors, type FunctionRunGetMetadataResponse, type FunctionRunGetMetadataResponses, type FunctionRunListItemResponse, type FunctionRunListItemResponseWritable, type FunctionRunStartData, type FunctionRunStartError, type FunctionRunStartErrors, type FunctionRunStartResponses, type FunctionRunStartResult, type FunctionRunStopData, type FunctionRunStopError, type FunctionRunStopErrors, type FunctionRunStopResponse, type FunctionRunStopResponses, type FunctionRunUpdateMetadataData, type FunctionRunUpdateMetadataError, type FunctionRunUpdateMetadataErrors, type FunctionRunUpdateMetadataResponse, type FunctionRunUpdateMetadataResponses, type FunctionRunUpdateRequest, type FunctionScheduleCreateRequest, type FunctionScheduleDeleteData, type FunctionScheduleDeleteError, type FunctionScheduleDeleteErrors, type FunctionScheduleDeleteResponse, type FunctionScheduleDeleteResponses, type FunctionScheduleSetData, type FunctionScheduleSetError, type FunctionScheduleSetErrors, type FunctionScheduleSetResponse, type FunctionScheduleSetResponses, type FunctionUpdateData, type FunctionUpdateError, type FunctionUpdateErrors, type FunctionUpdateResponse, type FunctionUpdateResponses, type FunctionWithLinkResponse, type FunctionWithLinkResponseWritable, type GetCookiesResponse, type GetCredentialsResponse, type GetCreditCardResponse, type GetFunctionRunResponse, type GetFunctionRunResponseWritable, type GetScriptData, type GetScriptError, type GetScriptErrors, type GetScriptResponse, type GetScriptResponses, type GetSecretData, type GetSecretError, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionScriptData, type GetSessionScriptError, type GetSessionScriptErrors, type GetSessionScriptResponse, type GetSessionScriptResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageLogsData, type GetUsageLogsError, type GetUsageLogsErrors, type GetUsageLogsResponse, type GetUsageLogsResponses, type GetUsageResponse, type GetUsageResponses, type GlobalScrapeRequest, type GoBackAction, type GoForwardAction, type GotoAction, type GotoNewTabAction, type HealthCheckData, type HealthCheckResponse, type HealthCheckResponses, type HealthResponse, type HelpAction, type HttpValidationError, type ImageCategory, type ImageData, type ImprovePromptData, type ImprovePromptError, type ImprovePromptErrors, type ImprovePromptRequest, type ImprovePromptResponse, type ImprovePromptResponse2, type ImprovePromptResponses, type LegacyAgentStatusResponse, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListCredentialsResponse, type ListFilesResponse, type ListFunctionRunsByFunctionIdData, type ListFunctionRunsByFunctionIdError, type ListFunctionRunsByFunctionIdErrors, type ListFunctionRunsByFunctionIdResponse, type ListFunctionRunsByFunctionIdResponses, type ListFunctionsData, type ListFunctionsError, type ListFunctionsErrors, type ListFunctionsResponse, type ListFunctionsResponses, type ListPersonasData, type ListPersonasError, type ListPersonasErrors, type ListPersonasResponse, type ListPersonasResponses, type ListSecretsData, type ListSecretsError, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListVaultsData, type ListVaultsError, type ListVaultsErrors, type ListVaultsResponse, type ListVaultsResponses, type LlmModel, type MailboxConnectRequest, type MailboxConnectResponse, type MailboxConnectTokenData, type MailboxConnectTokenError, type MailboxConnectTokenErrors, type MailboxConnectTokenResponse, type MailboxConnectTokenResponses, type MailboxConnection, type MailboxDeleteData, type MailboxDeleteError, type MailboxDeleteErrors, type MailboxDeleteResponse, type MailboxDeleteResponses, type MailboxGetData, type MailboxGetError, type MailboxGetErrors, type MailboxGetResponse, type MailboxGetResponses, type MailboxListData, type MailboxListError, type MailboxListErrors, type MailboxListResponse, type MailboxListResponse2, type MailboxListResponses, type MailboxSyncData, type MailboxSyncError, type MailboxSyncErrors, type MailboxSyncRequest, type MailboxSyncResponse, type MailboxSyncResponses, type MailboxUpdateData, type MailboxUpdateError, type MailboxUpdateErrors, type MailboxUpdateRequest, type MailboxUpdateResponse, type MailboxUpdateResponses, type MessageReadOptions, type MultiFactorFillActionInput, type MultiFactorFillActionInputWritable, type MultiFactorFillActionOutput, type MultiFactorFillActionOutputWritable, type NetworkBatchFile, type NetworkLogsResponse, type NodeSelectors, NotteClient, type NotteClientConfig, NotteFunction, NottePersona, type NotteProxy, NotteVault, type NudgePromptData, type NudgePromptError, type NudgePromptErrors, type NudgePromptRequest, type NudgePromptResponse, type NudgePromptResponse2, type NudgePromptResponses, type Observation, type ObservationWritable, type ObserveRequest, type Options, type PageExecuteData, type PageExecuteError, type PageExecuteErrors, type PageExecuteResponse, type PageExecuteResponses, type PageObserveData, type PageObserveError, type PageObserveErrors, type PageObserveResponse, type PageObserveResponses, type PageScrapeData, type PageScrapeError, type PageScrapeErrors, type PageScrapeResponse, type PageScrapeResponses, type PageScreenshotData, type PageScreenshotError, type PageScreenshotErrors, type PageScreenshotResponses, type PaginatedResponseAgentResponse, type PaginatedResponseAgentResponseWritable, type PaginatedResponseFunctionResponse, type PaginatedResponseFunctionResponseWritable, type PaginatedResponseFunctionRunListItemResponse, type PaginatedResponseFunctionRunListItemResponseWritable, type PaginatedResponsePersonaResponse, type PaginatedResponsePersonaResponseWritable, type PaginatedResponseProfileResponse, type PaginatedResponseProfileResponseWritable, type PaginatedResponseSessionResponse, type PaginatedResponseSessionResponseWritable, type PaginatedResponseUsageLog, type PaginatedResponseUsageLogWritable, type PaginatedResponseVault, type PaginatedResponseVaultWritable, type ParameterInfo, type PersonaConstructor, type PersonaCreateData, type PersonaCreateError, type PersonaCreateErrors, type PersonaCreateRequest, type PersonaCreateResponse, type PersonaCreateResponses, type PersonaDeleteData, type PersonaDeleteError, type PersonaDeleteErrors, type PersonaDeleteResponse, type PersonaDeleteResponses, type PersonaEmailsListData, type PersonaEmailsListError, type PersonaEmailsListErrors, type PersonaEmailsListResponse, type PersonaEmailsListResponses, type PersonaGetData, type PersonaGetError, type PersonaGetErrors, type PersonaGetResponse, type PersonaGetResponses, type PersonaListOptions, type PersonaResponse, type PersonaSmsListData, type PersonaSmsListError, type PersonaSmsListErrors, type PersonaSmsListResponse, type PersonaSmsListResponses, type PersonaUpdateData, type PersonaUpdateError, type PersonaUpdateErrors, type PersonaUpdateRequest, type PersonaUpdateResponse, type PersonaUpdateResponses, type PressKeyAction, type ProfileCookiesGetData, type ProfileCookiesGetError, type ProfileCookiesGetErrors, type ProfileCookiesGetResponse, type ProfileCookiesGetResponses, type ProfileCookiesImportRequest, type ProfileCookiesImportResponse, type ProfileCookiesSetData, type ProfileCookiesSetError, type ProfileCookiesSetErrors, type ProfileCookiesSetResponse, type ProfileCookiesSetResponses, type ProfileCreateData, type ProfileCreateError, type ProfileCreateErrors, type ProfileCreateRequest, type ProfileCreateResponse, type ProfileCreateResponses, type ProfileDeleteData, type ProfileDeleteError, type ProfileDeleteErrors, type ProfileDeleteResponse, type ProfileDeleteResponse2, type ProfileDeleteResponses, type ProfileDuplicateData, type ProfileDuplicateError, type ProfileDuplicateErrors, type ProfileDuplicateRequest, type ProfileDuplicateResponse, type ProfileDuplicateResponses, type ProfileGetData, type ProfileGetError, type ProfileGetErrors, type ProfileGetResponse, type ProfileGetResponses, type ProfileListData, type ProfileListError, type ProfileListErrors, type ProfileListResponse, type ProfileListResponses, type ProfileResponse, type ProxyGeolocationCountry, type ReadyCheckData, type ReadyCheckResponse, type ReadyCheckResponses, type ReloadAction, type ReplayResponse, type RootModelAny, type RunFunctionRequest, type ScheduleDeleteResponse, type ScheduleResponse, type SchemaGenerationResponse, type ScrapeAction, type ScrapeFromHtmlData, type ScrapeFromHtmlError, type ScrapeFromHtmlErrors, type ScrapeFromHtmlRequest, type ScrapeFromHtmlResponse, type ScrapeFromHtmlResponses, type ScrapeRequest, type ScrapeSchemaResponse, type ScrapeWebpageData, type ScrapeWebpageError, type ScrapeWebpageErrors, type ScrapeWebpageResponse, type ScrapeWebpageResponses, type Screenshot, type ScrollDownAction, type ScrollUpAction, type SearchRequest, type SearchWebData, type SearchWebError, type SearchWebErrors, type SearchWebResponses, type SecretListResponse, type SecretMetadata, type SecretNamespace, type SecretStoreRequest, type SecretValueResponse, type SelectDropdownOptionActionInput, type SelectDropdownOptionActionInputWritable, type SelectDropdownOptionActionOutput, type SelectDropdownOptionActionOutputWritable, Session, type SessionCookiesGetData, type SessionCookiesGetError, type SessionCookiesGetErrors, type SessionCookiesGetResponse, type SessionCookiesGetResponses, type SessionCookiesSetData, type SessionCookiesSetError, type SessionCookiesSetErrors, type SessionCookiesSetResponse, type SessionCookiesSetResponses, type SessionDebugInfoData, type SessionDebugInfoError, type SessionDebugInfoErrors, type SessionDebugInfoResponse, type SessionDebugInfoResponses, type SessionDebugResponse, type SessionNetworkLogsData, type SessionNetworkLogsError, type SessionNetworkLogsErrors, type SessionNetworkLogsResponse, type SessionNetworkLogsResponses, type SessionOffsetData, type SessionOffsetError, type SessionOffsetErrors, type SessionOffsetResponse, type SessionOffsetResponse2, type SessionOffsetResponses, type SessionOptions, type SessionProfile, type SessionReplayData, type SessionReplayError, type SessionReplayErrors, type SessionReplayResponse, type SessionReplayResponses, type SessionResponse, type SessionResponseWritable, type SessionStartData, type SessionStartError, type SessionStartErrors, type SessionStartResponse, type SessionStartResponses, type SessionStatusData, type SessionStatusError, type SessionStatusErrors, type SessionStatusResponse, type SessionStatusResponses, type SessionStopData, type SessionStopError, type SessionStopErrors, type SessionStopResponse, type SessionStopResponses, type SmsReadAction, type SmsResponse, type SnapshotMetadata, type SpaceCategory, type StoreSecretData, type StoreSecretError, type StoreSecretErrors, type StoreSecretResponse, type StoreSecretResponses, type StructuredDataBaseModel, type SubscriptionType, type SwitchTabAction, type TabSessionDebugResponse, type TabsData, type TailnetProxy, type UpdateFunctionRunResponse, type UpdateFunctionRunResponseWritable, type UploadFileActionInput, type UploadFileActionOutput, type UsageLog, type UsageResponse, type ValidationError, type Vault, type VaultConstructor, type VaultCreateData, type VaultCreateError, type VaultCreateErrors, type VaultCreateRequest, type VaultCreateResponse, type VaultCreateResponses, type VaultCredentialsAddData, type VaultCredentialsAddError, type VaultCredentialsAddErrors, type VaultCredentialsAddResponse, type VaultCredentialsAddResponses, type VaultCredentialsDeleteData, type VaultCredentialsDeleteError, type VaultCredentialsDeleteErrors, type VaultCredentialsDeleteResponse, type VaultCredentialsDeleteResponses, type VaultCredentialsGetData, type VaultCredentialsGetError, type VaultCredentialsGetErrors, type VaultCredentialsGetResponse, type VaultCredentialsGetResponses, type VaultCredentialsListData, type VaultCredentialsListError, type VaultCredentialsListErrors, type VaultCredentialsListResponse, type VaultCredentialsListResponses, type VaultCreditCardDeleteData, type VaultCreditCardDeleteError, type VaultCreditCardDeleteErrors, type VaultCreditCardDeleteResponse, type VaultCreditCardDeleteResponses, type VaultCreditCardGetData, type VaultCreditCardGetError, type VaultCreditCardGetErrors, type VaultCreditCardGetResponse, type VaultCreditCardGetResponses, type VaultCreditCardSetData, type VaultCreditCardSetError, type VaultCreditCardSetErrors, type VaultCreditCardSetResponse, type VaultCreditCardSetResponses, type VaultDeleteData, type VaultDeleteError, type VaultDeleteErrors, type VaultDeleteResponse, type VaultDeleteResponses, type VaultUpdateData, type VaultUpdateError, type VaultUpdateErrors, type VaultUpdateRequest, type VaultUpdateResponse, type VaultUpdateResponses, type ViewportData, type WaitAction, type WebSocketUrls, agentStart, agentStatus, agentStop, anythingStart, client, createClient, NotteClient as default, deleteSecret, fileDownload, fileDownloadUploadedFile, fileListDownloads, fileListUploads, fileUpload, fileUploadDownloadedFile, functionCreate, functionDelete, functionDownloadUrl, functionFork, functionRunGetMetadata, functionRunStart, functionRunStop, functionRunUpdateMetadata, functionScheduleDelete, functionScheduleSet, functionUpdate, getScript, getSecret, getSessionScript, getUsage, getUsageLogs, healthCheck, improvePrompt, listAgents, listFunctionRunsByFunctionId, listFunctions, listPersonas, listSecrets, listSessions, listVaults, mailboxConnectToken, mailboxDelete, mailboxGet, mailboxList, mailboxSync, mailboxUpdate, nudgePrompt, pageExecute, pageObserve, pageScrape, pageScreenshot, personaCreate, personaDelete, personaEmailsList, personaGet, personaSmsList, personaUpdate, profileCookiesGet, profileCookiesSet, profileCreate, profileDelete, profileDuplicate, profileGet, profileList, readyCheck, scrapeFromHtml, scrapeWebpage, searchWeb, sessionCookiesGet, sessionCookiesSet, sessionDebugInfo, sessionNetworkLogs, sessionOffset, sessionReplay, sessionStart, sessionStatus, sessionStop, storeSecret, vaultCreate, vaultCredentialsAdd, vaultCredentialsDelete, vaultCredentialsGet, vaultCredentialsList, vaultCreditCardDelete, vaultCreditCardGet, vaultCreditCardSet, vaultDelete, vaultUpdate };
11328
+ export { type ActionParameter, type ActionSpace, type ActionSpaceWritable, type AddCredentialsRequest, type AddCredentialsResponse, type AddCreditCardRequest, type AddCreditCardResponse, Agent, type AgentConstructor, type AgentFunctionCodeResponse, type AgentResponse, type AgentRunRequest, type AgentStartData, type AgentStartError, type AgentStartErrors, type AgentStartResponse, type AgentStartResponses, type AgentStatus, type AgentStatusData, type AgentStatusError, type AgentStatusErrors, type AgentStatusResponse, type AgentStatusResponse2, type AgentStatusResponses, type AgentStopData, type AgentStopError, type AgentStopErrors, type AgentStopResponse, type AgentStopResponses, type AgentUpdateHandler, type AnythingStartData, type AnythingStartError, type AnythingStartErrors, type AnythingStartRequest, type AnythingStartResponses, type ApiAgentStartRequest, type ApiExecutionResponse, type ApiExecutionResponseWritable, type ApiSessionStartRequest, type BaseModel, type BaseModelWritable, type BodyFileUploadDownloadedFileStorageSessionIdDownloadsFilenamePost, type BodyFileUploadStorageUploadsFilenamePost, type BodyFunctionCreateFunctionsPost, type BodyFunctionUpdateFunctionsFunctionIdPost, type BodySessionCookiesSetSessionsSessionIdCookiesPost, type BoundingBox, type CaptchaSolveAction, type CheckActionInput, type CheckActionOutput, type ClickActionInput, type ClickActionOutput, type ClientOptions, type CloseTabAction, type CompletionAction, type ConnectLinkContext, type ConnectLinkContextData, type ConnectLinkContextError, type ConnectLinkContextErrors, type ConnectLinkContextResponse, type ConnectLinkContextResponses, type ConnectLinkCreateRequest, type ConnectLinkCreateResponse, type ConnectLinkMailbox, type ConnectLinkMailboxConnectData, type ConnectLinkMailboxConnectError, type ConnectLinkMailboxConnectErrors, type ConnectLinkMailboxConnectRequest, type ConnectLinkMailboxConnectResponse, type ConnectLinkMailboxConnectResponse2, type ConnectLinkMailboxConnectResponses, type ConnectLinkMailboxSyncData, type ConnectLinkMailboxSyncError, type ConnectLinkMailboxSyncErrors, type ConnectLinkMailboxSyncRequest, type ConnectLinkMailboxSyncResponse, type ConnectLinkMailboxSyncResponses, type ConnectLinkMailboxesData, type ConnectLinkMailboxesError, type ConnectLinkMailboxesErrors, type ConnectLinkMailboxesResponse, type ConnectLinkMailboxesResponses, type ConnectLinkStatusData, type ConnectLinkStatusError, type ConnectLinkStatusErrors, type ConnectLinkStatusResponse, type ConnectLinkStatusResponse2, type ConnectLinkStatusResponses, type ConnectLinkSubmitData, type ConnectLinkSubmitError, type ConnectLinkSubmitErrors, type ConnectLinkSubmitRequest, type ConnectLinkSubmitRequestWritable, type ConnectLinkSubmitResponse, type ConnectLinkSubmitResponses, type Cookie, type Credential, type CredentialsDictInput, type CredentialsDictOutput, type CreditCardDictInput, type CreditCardDictOutput, type DataSpace, type DeleteCredentialsResponse, type DeleteCreditCardResponse, type DeleteFunctionResponse, type DeletePersonaResponse, type DeleteSecretData, type DeleteSecretError, type DeleteSecretErrors, type DeleteSecretResponse, type DeleteSecretResponses, type DeleteVaultResponse, type DownloadFileActionInput, type DownloadFileActionOutput, type EmailReadAction, type EmailResponse, type EmailVerificationReadAction, Encryption, type EvaluateJsAction, type ExecutionResponse, type ExternalProxy, type FallbackFillActionInput, type FallbackFillActionInputWritable, type FallbackFillActionOutput, type FallbackFillActionOutputWritable, type FileDownloadData, type FileDownloadError, type FileDownloadErrors, type FileDownloadResponse, type FileDownloadResponses, type FileDownloadUploadedFileData, type FileDownloadUploadedFileError, type FileDownloadUploadedFileErrors, type FileDownloadUploadedFileResponse, type FileDownloadUploadedFileResponses, type FileInfo, type FileLinkResponse, type FileListDownloadsData, type FileListDownloadsError, type FileListDownloadsErrors, type FileListDownloadsResponse, type FileListDownloadsResponses, type FileListUploadsData, type FileListUploadsError, type FileListUploadsErrors, type FileListUploadsResponse, type FileListUploadsResponses, type FileUploadData, type FileUploadDownloadedFileData, type FileUploadDownloadedFileError, type FileUploadDownloadedFileErrors, type FileUploadDownloadedFileResponse, type FileUploadDownloadedFileResponses, type FileUploadError, type FileUploadErrors, type FileUploadResponse, type FileUploadResponse2, type FileUploadResponses, type FillActionInput, type FillActionInputWritable, type FillActionOutput, type FillActionOutputWritable, type FormFillAction, type FormFillActionWritable, type FrameData, type FunctionConstructor, type FunctionCreateData, type FunctionCreateError, type FunctionCreateErrors, type FunctionCreateResponse, type FunctionCreateResponses, type FunctionDeleteData, type FunctionDeleteError, type FunctionDeleteErrors, type FunctionDeleteResponse, type FunctionDeleteResponses, type FunctionDownloadOptions, type FunctionDownloadUrlData, type FunctionDownloadUrlError, type FunctionDownloadUrlErrors, type FunctionDownloadUrlResponse, type FunctionDownloadUrlResponses, type FunctionForkData, type FunctionForkError, type FunctionForkErrors, type FunctionForkResponse, type FunctionForkResponses, type FunctionListItemResponse, type FunctionListItemResponseWritable, type FunctionMetadataUpdateData, type FunctionMetadataUpdateError, type FunctionMetadataUpdateErrors, type FunctionMetadataUpdateRequest, type FunctionMetadataUpdateResponse, type FunctionMetadataUpdateResponses, type FunctionResponse, type FunctionResponseWritable, type FunctionRollbackData, type FunctionRollbackError, type FunctionRollbackErrors, type FunctionRollbackRequest, type FunctionRollbackResponse, type FunctionRollbackResponses, type FunctionRunGetMetadataData, type FunctionRunGetMetadataError, type FunctionRunGetMetadataErrors, type FunctionRunGetMetadataResponse, type FunctionRunGetMetadataResponses, type FunctionRunListItemResponse, type FunctionRunListItemResponseWritable, type FunctionRunStartData, type FunctionRunStartError, type FunctionRunStartErrors, type FunctionRunStartResponses, type FunctionRunStartResult, type FunctionRunStopData, type FunctionRunStopError, type FunctionRunStopErrors, type FunctionRunStopResponse, type FunctionRunStopResponses, type FunctionRunUpdateMetadataData, type FunctionRunUpdateMetadataError, type FunctionRunUpdateMetadataErrors, type FunctionRunUpdateMetadataResponse, type FunctionRunUpdateMetadataResponses, type FunctionRunUpdateRequest, type FunctionRuntimeHealthData, type FunctionRuntimeHealthError, type FunctionRuntimeHealthErrors, type FunctionRuntimeHealthResponse, type FunctionRuntimeHealthResponse2, type FunctionRuntimeHealthResponses, type FunctionScheduleCreateRequest, type FunctionScheduleDeleteData, type FunctionScheduleDeleteError, type FunctionScheduleDeleteErrors, type FunctionScheduleDeleteResponse, type FunctionScheduleDeleteResponses, type FunctionScheduleSetData, type FunctionScheduleSetError, type FunctionScheduleSetErrors, type FunctionScheduleSetResponse, type FunctionScheduleSetResponses, type FunctionSource, type FunctionUpdateData, type FunctionUpdateError, type FunctionUpdateErrors, type FunctionUpdateResponse, type FunctionUpdateResponses, type FunctionUrlOptions, type FunctionWithLinkResponse, type FunctionWithLinkResponseWritable, type GetCookiesResponse, type GetCredentialsResponse, type GetCreditCardResponse, type GetFunctionRunResponse, type GetFunctionRunResponseWritable, type GetScriptData, type GetScriptError, type GetScriptErrors, type GetScriptResponse, type GetScriptResponses, type GetSecretData, type GetSecretError, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionScriptData, type GetSessionScriptError, type GetSessionScriptErrors, type GetSessionScriptResponse, type GetSessionScriptResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageLogsData, type GetUsageLogsError, type GetUsageLogsErrors, type GetUsageLogsResponse, type GetUsageLogsResponses, type GetUsageResponse, type GetUsageResponses, type GlobalScrapeRequest, type GoBackAction, type GoForwardAction, type GotoAction, type GotoNewTabAction, type HealthCheckData, type HealthCheckResponse, type HealthCheckResponses, type HealthResponse, type HelpAction, type HttpValidationError, type ImageCategory, type ImageData, type ImprovePromptData, type ImprovePromptError, type ImprovePromptErrors, type ImprovePromptRequest, type ImprovePromptResponse, type ImprovePromptResponse2, type ImprovePromptResponses, type LegacyAgentStatusResponse, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListCredentialsResponse, type ListFilesResponse, type ListFunctionRunsByFunctionIdData, type ListFunctionRunsByFunctionIdError, type ListFunctionRunsByFunctionIdErrors, type ListFunctionRunsByFunctionIdResponse, type ListFunctionRunsByFunctionIdResponses, type ListFunctionsData, type ListFunctionsError, type ListFunctionsErrors, type ListFunctionsResponse, type ListFunctionsResponses, type ListPersonasData, type ListPersonasError, type ListPersonasErrors, type ListPersonasResponse, type ListPersonasResponses, type ListSecretsData, type ListSecretsError, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListVaultsData, type ListVaultsError, type ListVaultsErrors, type ListVaultsResponse, type ListVaultsResponses, type LlmModel, type MailboxConnectRequest, type MailboxConnectResponse, type MailboxConnectTokenData, type MailboxConnectTokenError, type MailboxConnectTokenErrors, type MailboxConnectTokenResponse, type MailboxConnectTokenResponses, type MailboxConnection, type MailboxDeleteData, type MailboxDeleteError, type MailboxDeleteErrors, type MailboxDeleteResponse, type MailboxDeleteResponses, type MailboxGetData, type MailboxGetError, type MailboxGetErrors, type MailboxGetResponse, type MailboxGetResponses, type MailboxListData, type MailboxListError, type MailboxListErrors, type MailboxListResponse, type MailboxListResponse2, type MailboxListResponses, type MailboxSyncData, type MailboxSyncError, type MailboxSyncErrors, type MailboxSyncRequest, type MailboxSyncResponse, type MailboxSyncResponses, type MailboxUpdateData, type MailboxUpdateError, type MailboxUpdateErrors, type MailboxUpdateRequest, type MailboxUpdateResponse, type MailboxUpdateResponses, type ManagedAuthConnectLinkCreateData, type ManagedAuthConnectLinkCreateError, type ManagedAuthConnectLinkCreateErrors, type ManagedAuthConnectLinkCreateResponse, type ManagedAuthConnectLinkCreateResponses, type ManagedAuthCredentials, type ManagedAuthCredentialsWritable, type MessageReadOptions, type MultiFactorFillActionInput, type MultiFactorFillActionInputWritable, type MultiFactorFillActionOutput, type MultiFactorFillActionOutputWritable, type NetworkBatchFile, type NetworkLogsResponse, type NodeSelectors, NotteClient, type NotteClientConfig, NotteFunction, NottePersona, type NotteProxy, NotteVault, type NudgePromptData, type NudgePromptError, type NudgePromptErrors, type NudgePromptRequest, type NudgePromptResponse, type NudgePromptResponse2, type NudgePromptResponses, type Observation, type ObservationWritable, type ObserveRequest, type Options, type PageExecuteData, type PageExecuteError, type PageExecuteErrors, type PageExecuteResponse, type PageExecuteResponses, type PageObserveData, type PageObserveError, type PageObserveErrors, type PageObserveResponse, type PageObserveResponses, type PageScrapeData, type PageScrapeError, type PageScrapeErrors, type PageScrapeResponse, type PageScrapeResponses, type PageScreenshotData, type PageScreenshotError, type PageScreenshotErrors, type PageScreenshotResponses, type PaginatedResponseAgentResponse, type PaginatedResponseAgentResponseWritable, type PaginatedResponseFunctionListItemResponse, type PaginatedResponseFunctionListItemResponseWritable, type PaginatedResponseFunctionRunListItemResponse, type PaginatedResponseFunctionRunListItemResponseWritable, type PaginatedResponsePersonaResponse, type PaginatedResponsePersonaResponseWritable, type PaginatedResponseProfileResponse, type PaginatedResponseProfileResponseWritable, type PaginatedResponseSessionResponse, type PaginatedResponseSessionResponseWritable, type PaginatedResponseUsageLog, type PaginatedResponseUsageLogWritable, type PaginatedResponseVault, type PaginatedResponseVaultWritable, type ParameterInfo, type PersonaConstructor, type PersonaCreateData, type PersonaCreateError, type PersonaCreateErrors, type PersonaCreateRequest, type PersonaCreateResponse, type PersonaCreateResponses, type PersonaDeleteData, type PersonaDeleteError, type PersonaDeleteErrors, type PersonaDeleteResponse, type PersonaDeleteResponses, type PersonaEmailsListData, type PersonaEmailsListError, type PersonaEmailsListErrors, type PersonaEmailsListResponse, type PersonaEmailsListResponses, type PersonaGetData, type PersonaGetError, type PersonaGetErrors, type PersonaGetResponse, type PersonaGetResponses, type PersonaListOptions, type PersonaResponse, type PersonaSmsListData, type PersonaSmsListError, type PersonaSmsListErrors, type PersonaSmsListResponse, type PersonaSmsListResponses, type PersonaUpdateData, type PersonaUpdateError, type PersonaUpdateErrors, type PersonaUpdateRequest, type PersonaUpdateResponse, type PersonaUpdateResponses, type PressKeyAction, type ProfileCookiesGetData, type ProfileCookiesGetError, type ProfileCookiesGetErrors, type ProfileCookiesGetResponse, type ProfileCookiesGetResponses, type ProfileCookiesImportRequest, type ProfileCookiesImportResponse, type ProfileCookiesSetData, type ProfileCookiesSetError, type ProfileCookiesSetErrors, type ProfileCookiesSetResponse, type ProfileCookiesSetResponses, type ProfileCreateData, type ProfileCreateError, type ProfileCreateErrors, type ProfileCreateRequest, type ProfileCreateResponse, type ProfileCreateResponses, type ProfileDeleteData, type ProfileDeleteError, type ProfileDeleteErrors, type ProfileDeleteResponse, type ProfileDeleteResponse2, type ProfileDeleteResponses, type ProfileDuplicateData, type ProfileDuplicateError, type ProfileDuplicateErrors, type ProfileDuplicateRequest, type ProfileDuplicateResponse, type ProfileDuplicateResponses, type ProfileGetData, type ProfileGetError, type ProfileGetErrors, type ProfileGetResponse, type ProfileGetResponses, type ProfileListData, type ProfileListError, type ProfileListErrors, type ProfileListResponse, type ProfileListResponses, type ProfileResponse, type ProxyGeolocationCountry, type ReadyCheckData, type ReadyCheckResponse, type ReadyCheckResponses, type ReloadAction, type ReplayResponse, type RootModelAny, type RunFunctionRequest, type RuntimePackage, type ScheduleDeleteResponse, type ScheduleResponse, type SchemaGenerationResponse, type ScrapeAction, type ScrapeFromHtmlData, type ScrapeFromHtmlError, type ScrapeFromHtmlErrors, type ScrapeFromHtmlRequest, type ScrapeFromHtmlResponse, type ScrapeFromHtmlResponses, type ScrapeRequest, type ScrapeSchemaResponse, type ScrapeWebpageData, type ScrapeWebpageError, type ScrapeWebpageErrors, type ScrapeWebpageResponse, type ScrapeWebpageResponses, type Screenshot, type ScrollDownAction, type ScrollUpAction, type SearchRequest, type SearchWebData, type SearchWebError, type SearchWebErrors, type SearchWebResponses, type SecretListResponse, type SecretMetadata, type SecretNamespace, type SecretStoreRequest, type SecretValueResponse, type SelectDropdownOptionActionInput, type SelectDropdownOptionActionInputWritable, type SelectDropdownOptionActionOutput, type SelectDropdownOptionActionOutputWritable, type SerializedError, Session, type SessionCookiesGetData, type SessionCookiesGetError, type SessionCookiesGetErrors, type SessionCookiesGetResponse, type SessionCookiesGetResponses, type SessionCookiesSetData, type SessionCookiesSetError, type SessionCookiesSetErrors, type SessionCookiesSetResponse, type SessionCookiesSetResponses, type SessionDebugInfoData, type SessionDebugInfoError, type SessionDebugInfoErrors, type SessionDebugInfoResponse, type SessionDebugInfoResponses, type SessionDebugResponse, type SessionNetworkLogsData, type SessionNetworkLogsError, type SessionNetworkLogsErrors, type SessionNetworkLogsResponse, type SessionNetworkLogsResponses, type SessionOffsetData, type SessionOffsetError, type SessionOffsetErrors, type SessionOffsetResponse, type SessionOffsetResponse2, type SessionOffsetResponses, type SessionOptions, type SessionProfile, type SessionReplayData, type SessionReplayError, type SessionReplayErrors, type SessionReplayResponse, type SessionReplayResponses, type SessionResponse, type SessionResponseWritable, type SessionStartData, type SessionStartError, type SessionStartErrors, type SessionStartResponse, type SessionStartResponses, type SessionStatusData, type SessionStatusError, type SessionStatusErrors, type SessionStatusResponse, type SessionStatusResponses, type SessionStopData, type SessionStopError, type SessionStopErrors, type SessionStopResponse, type SessionStopResponses, type SmsReadAction, type SmsResponse, type SnapshotMetadata, type SpaceCategory, type StoreSecretData, type StoreSecretError, type StoreSecretErrors, type StoreSecretResponse, type StoreSecretResponses, type StructuredDataBaseModel, type SubscriptionType, type SwitchTabAction, type TabSessionDebugResponse, type TabsData, type TailnetProxy, type UpdateFunctionRunResponse, type UpdateFunctionRunResponseWritable, type UploadFileActionInput, type UploadFileActionOutput, type UsageLog, type UsageResponse, type ValidationError, type Vault, type VaultConstructor, type VaultCreateData, type VaultCreateError, type VaultCreateErrors, type VaultCreateRequest, type VaultCreateResponse, type VaultCreateResponses, type VaultCredentialsAddData, type VaultCredentialsAddError, type VaultCredentialsAddErrors, type VaultCredentialsAddResponse, type VaultCredentialsAddResponses, type VaultCredentialsDeleteData, type VaultCredentialsDeleteError, type VaultCredentialsDeleteErrors, type VaultCredentialsDeleteResponse, type VaultCredentialsDeleteResponses, type VaultCredentialsGetData, type VaultCredentialsGetError, type VaultCredentialsGetErrors, type VaultCredentialsGetResponse, type VaultCredentialsGetResponses, type VaultCredentialsListData, type VaultCredentialsListError, type VaultCredentialsListErrors, type VaultCredentialsListResponse, type VaultCredentialsListResponses, type VaultCreditCardDeleteData, type VaultCreditCardDeleteError, type VaultCreditCardDeleteErrors, type VaultCreditCardDeleteResponse, type VaultCreditCardDeleteResponses, type VaultCreditCardGetData, type VaultCreditCardGetError, type VaultCreditCardGetErrors, type VaultCreditCardGetResponse, type VaultCreditCardGetResponses, type VaultCreditCardSetData, type VaultCreditCardSetError, type VaultCreditCardSetErrors, type VaultCreditCardSetResponse, type VaultCreditCardSetResponses, type VaultDeleteData, type VaultDeleteError, type VaultDeleteErrors, type VaultDeleteResponse, type VaultDeleteResponses, type VaultUpdateData, type VaultUpdateError, type VaultUpdateErrors, type VaultUpdateRequest, type VaultUpdateResponse, type VaultUpdateResponses, type ViewportData, type WaitAction, type WebSocketUrls, agentStart, agentStatus, agentStop, anythingStart, client, connectLinkContext, connectLinkMailboxConnect, connectLinkMailboxSync, connectLinkMailboxes, connectLinkStatus, connectLinkSubmit, createClient, NotteClient as default, deleteSecret, fileDownload, fileDownloadUploadedFile, fileListDownloads, fileListUploads, fileUpload, fileUploadDownloadedFile, functionCreate, functionDelete, functionDownloadUrl, functionFork, functionMetadataUpdate, functionRollback, functionRunGetMetadata, functionRunStart, functionRunStop, functionRunUpdateMetadata, functionRuntimeHealth, functionScheduleDelete, functionScheduleSet, functionUpdate, getScript, getSecret, getSessionScript, getUsage, getUsageLogs, healthCheck, improvePrompt, listAgents, listFunctionRunsByFunctionId, listFunctions, listPersonas, listSecrets, listSessions, listVaults, mailboxConnectToken, mailboxDelete, mailboxGet, mailboxList, mailboxSync, mailboxUpdate, managedAuthConnectLinkCreate, nudgePrompt, pageExecute, pageObserve, pageScrape, pageScreenshot, personaCreate, personaDelete, personaEmailsList, personaGet, personaSmsList, personaUpdate, profileCookiesGet, profileCookiesSet, profileCreate, profileDelete, profileDuplicate, profileGet, profileList, readyCheck, scrapeFromHtml, scrapeWebpage, searchWeb, sessionCookiesGet, sessionCookiesSet, sessionDebugInfo, sessionNetworkLogs, sessionOffset, sessionReplay, sessionStart, sessionStatus, sessionStop, storeSecret, vaultCreate, vaultCredentialsAdd, vaultCredentialsDelete, vaultCredentialsGet, vaultCredentialsList, vaultCreditCardDelete, vaultCreditCardGet, vaultCreditCardSet, vaultDelete, vaultUpdate };