notte-sdk 0.0.18 → 0.0.20
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/README.md +28 -0
- package/dist/index.d.mts +1035 -46
- package/dist/index.d.ts +1035 -46
- package/dist/index.js +228 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +219 -4
- package/dist/index.mjs.map +1 -1
- package/dist/proxy/core.js +9 -0
- package/dist/proxy/core.js.map +1 -1
- package/dist/proxy/core.mjs +9 -0
- package/dist/proxy/core.mjs.map +1 -1
- package/dist/proxy/next.js +9 -0
- package/dist/proxy/next.js.map +1 -1
- package/dist/proxy/next.mjs +9 -0
- package/dist/proxy/next.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -374,11 +374,11 @@ type ActionSpace = {
|
|
|
374
374
|
/**
|
|
375
375
|
* Actions
|
|
376
376
|
*/
|
|
377
|
-
readonly actions: Array<FormFillAction | GotoAction | GotoNewTabAction | CloseTabAction | SwitchTabAction | GoBackAction | GoForwardAction | ReloadAction | WaitAction | PressKeyAction | ScrollUpAction | ScrollDownAction | CaptchaSolveAction | HelpAction | CompletionAction | ScrapeAction | EmailReadAction | SmsReadAction | EvaluateJsAction | ClickActionOutput | FillActionOutput | MultiFactorFillActionOutput | FallbackFillActionOutput | CheckActionOutput | SelectDropdownOptionActionOutput | UploadFileActionOutput | DownloadFileActionOutput>;
|
|
377
|
+
readonly actions: Array<FormFillAction | GotoAction | GotoNewTabAction | CloseTabAction | SwitchTabAction | GoBackAction | GoForwardAction | ReloadAction | WaitAction | PressKeyAction | ScrollUpAction | ScrollDownAction | CaptchaSolveAction | HelpAction | CompletionAction | ScrapeAction | EmailReadAction | EmailVerificationReadAction | SmsReadAction | EvaluateJsAction | ClickActionOutput | FillActionOutput | MultiFactorFillActionOutput | FallbackFillActionOutput | CheckActionOutput | SelectDropdownOptionActionOutput | UploadFileActionOutput | DownloadFileActionOutput>;
|
|
378
378
|
/**
|
|
379
379
|
* Browser Actions
|
|
380
380
|
*/
|
|
381
|
-
readonly browser_actions: Array<FormFillAction | GotoAction | GotoNewTabAction | CloseTabAction | SwitchTabAction | GoBackAction | GoForwardAction | ReloadAction | WaitAction | PressKeyAction | ScrollUpAction | ScrollDownAction | CaptchaSolveAction | HelpAction | CompletionAction | ScrapeAction | EmailReadAction | SmsReadAction | EvaluateJsAction>;
|
|
381
|
+
readonly browser_actions: Array<FormFillAction | GotoAction | GotoNewTabAction | CloseTabAction | SwitchTabAction | GoBackAction | GoForwardAction | ReloadAction | WaitAction | PressKeyAction | ScrollUpAction | ScrollDownAction | CaptchaSolveAction | HelpAction | CompletionAction | ScrapeAction | EmailReadAction | EmailVerificationReadAction | SmsReadAction | EvaluateJsAction>;
|
|
382
382
|
/**
|
|
383
383
|
* Markdown
|
|
384
384
|
*/
|
|
@@ -693,6 +693,8 @@ type ApiExecutionResponse = {
|
|
|
693
693
|
} & ScrapeAction) | ({
|
|
694
694
|
type: 'email_read';
|
|
695
695
|
} & EmailReadAction) | ({
|
|
696
|
+
type: 'email_verification_read';
|
|
697
|
+
} & EmailVerificationReadAction) | ({
|
|
696
698
|
type: 'sms_read';
|
|
697
699
|
} & SmsReadAction) | ({
|
|
698
700
|
type: 'evaluate_js';
|
|
@@ -726,17 +728,12 @@ type ApiExecutionResponse = {
|
|
|
726
728
|
* Exception
|
|
727
729
|
*/
|
|
728
730
|
exception?: string | null;
|
|
731
|
+
exception_detail?: SerializedError | null;
|
|
729
732
|
};
|
|
730
733
|
/**
|
|
731
734
|
* ApiSessionStartRequest
|
|
732
735
|
*/
|
|
733
736
|
type ApiSessionStartRequest = {
|
|
734
|
-
/**
|
|
735
|
-
* Headless
|
|
736
|
-
*
|
|
737
|
-
* Whether to run the session in headless mode.
|
|
738
|
-
*/
|
|
739
|
-
headless?: boolean;
|
|
740
737
|
/**
|
|
741
738
|
* Solve Captchas
|
|
742
739
|
*
|
|
@@ -851,6 +848,18 @@ type ApiSessionStartRequest = {
|
|
|
851
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.
|
|
852
849
|
*/
|
|
853
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;
|
|
854
863
|
};
|
|
855
864
|
/**
|
|
856
865
|
* BaseModel
|
|
@@ -1630,6 +1639,41 @@ type EmailResponse = {
|
|
|
1630
1639
|
*/
|
|
1631
1640
|
html_content?: string | null;
|
|
1632
1641
|
};
|
|
1642
|
+
/**
|
|
1643
|
+
* EmailVerificationReadAction
|
|
1644
|
+
*/
|
|
1645
|
+
type EmailVerificationReadAction = {
|
|
1646
|
+
/**
|
|
1647
|
+
* Type
|
|
1648
|
+
*/
|
|
1649
|
+
type?: 'email_verification_read';
|
|
1650
|
+
/**
|
|
1651
|
+
* Category
|
|
1652
|
+
*/
|
|
1653
|
+
category?: string;
|
|
1654
|
+
/**
|
|
1655
|
+
* Description
|
|
1656
|
+
*/
|
|
1657
|
+
description?: string;
|
|
1658
|
+
/**
|
|
1659
|
+
* Mailbox Id
|
|
1660
|
+
*
|
|
1661
|
+
* Workspace mailbox connection to read the verification email from
|
|
1662
|
+
*/
|
|
1663
|
+
mailbox_id: string;
|
|
1664
|
+
/**
|
|
1665
|
+
* Sender Domain
|
|
1666
|
+
*
|
|
1667
|
+
* Sender domain to search, such as example.com
|
|
1668
|
+
*/
|
|
1669
|
+
sender_domain: string;
|
|
1670
|
+
/**
|
|
1671
|
+
* Max Age Seconds
|
|
1672
|
+
*
|
|
1673
|
+
* Maximum age of the verification email in seconds
|
|
1674
|
+
*/
|
|
1675
|
+
max_age_seconds?: number;
|
|
1676
|
+
};
|
|
1633
1677
|
/**
|
|
1634
1678
|
* EvaluateJsAction
|
|
1635
1679
|
*/
|
|
@@ -1968,6 +2012,114 @@ type FrameData = {
|
|
|
1968
2012
|
*/
|
|
1969
2013
|
frameData: string;
|
|
1970
2014
|
};
|
|
2015
|
+
/**
|
|
2016
|
+
* FunctionListItemResponse
|
|
2017
|
+
*/
|
|
2018
|
+
type FunctionListItemResponse = {
|
|
2019
|
+
/**
|
|
2020
|
+
* Function Id
|
|
2021
|
+
*
|
|
2022
|
+
* The ID of the function
|
|
2023
|
+
*/
|
|
2024
|
+
function_id: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* Variables
|
|
2027
|
+
*
|
|
2028
|
+
* The variables to run the workflow with
|
|
2029
|
+
*/
|
|
2030
|
+
variables?: Array<ParameterInfo> | null;
|
|
2031
|
+
/**
|
|
2032
|
+
* Created At
|
|
2033
|
+
*
|
|
2034
|
+
* The creation time of the workflow
|
|
2035
|
+
*/
|
|
2036
|
+
created_at: string;
|
|
2037
|
+
/**
|
|
2038
|
+
* Updated At
|
|
2039
|
+
*
|
|
2040
|
+
* The last update time of the workflow
|
|
2041
|
+
*/
|
|
2042
|
+
updated_at: string;
|
|
2043
|
+
/**
|
|
2044
|
+
* Latest Version
|
|
2045
|
+
*
|
|
2046
|
+
* The version of the workflow
|
|
2047
|
+
*/
|
|
2048
|
+
latest_version: string;
|
|
2049
|
+
/**
|
|
2050
|
+
* Versions
|
|
2051
|
+
*
|
|
2052
|
+
* The versions of the workflow
|
|
2053
|
+
*/
|
|
2054
|
+
versions: Array<string>;
|
|
2055
|
+
/**
|
|
2056
|
+
* Status
|
|
2057
|
+
*
|
|
2058
|
+
* The status of the workflow
|
|
2059
|
+
*/
|
|
2060
|
+
status: string;
|
|
2061
|
+
/**
|
|
2062
|
+
* Name
|
|
2063
|
+
*
|
|
2064
|
+
* The name of the workflow
|
|
2065
|
+
*/
|
|
2066
|
+
name?: string | null;
|
|
2067
|
+
/**
|
|
2068
|
+
* Description
|
|
2069
|
+
*
|
|
2070
|
+
* The description of the workflow
|
|
2071
|
+
*/
|
|
2072
|
+
description?: string | null;
|
|
2073
|
+
/**
|
|
2074
|
+
* Shared
|
|
2075
|
+
*
|
|
2076
|
+
* Whether the workflow is public and can beshared with other users
|
|
2077
|
+
*/
|
|
2078
|
+
shared?: boolean;
|
|
2079
|
+
/**
|
|
2080
|
+
* Reference Workflow Id
|
|
2081
|
+
*
|
|
2082
|
+
* The ID of the reference workflow (i.e wether the workflow was forked from another workflow or not)
|
|
2083
|
+
*/
|
|
2084
|
+
reference_workflow_id?: string | null;
|
|
2085
|
+
/**
|
|
2086
|
+
* Published
|
|
2087
|
+
*/
|
|
2088
|
+
published?: boolean;
|
|
2089
|
+
/**
|
|
2090
|
+
* Required Secrets
|
|
2091
|
+
*/
|
|
2092
|
+
required_secrets?: Array<string>;
|
|
2093
|
+
/**
|
|
2094
|
+
* Source
|
|
2095
|
+
*
|
|
2096
|
+
* Where the function was created from, stamped at creation. Read-only.
|
|
2097
|
+
*/
|
|
2098
|
+
source?: string | null;
|
|
2099
|
+
/**
|
|
2100
|
+
* Self Healing
|
|
2101
|
+
*
|
|
2102
|
+
* 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.
|
|
2103
|
+
*/
|
|
2104
|
+
self_healing?: boolean;
|
|
2105
|
+
/**
|
|
2106
|
+
* Workflow Id
|
|
2107
|
+
*/
|
|
2108
|
+
readonly workflow_id: string;
|
|
2109
|
+
};
|
|
2110
|
+
/**
|
|
2111
|
+
* FunctionMetadataUpdateRequest
|
|
2112
|
+
*/
|
|
2113
|
+
type FunctionMetadataUpdateRequest = {
|
|
2114
|
+
/**
|
|
2115
|
+
* Instructions
|
|
2116
|
+
*/
|
|
2117
|
+
instructions?: string | null;
|
|
2118
|
+
/**
|
|
2119
|
+
* Self Healing
|
|
2120
|
+
*/
|
|
2121
|
+
self_healing?: boolean | null;
|
|
2122
|
+
};
|
|
1971
2123
|
/**
|
|
1972
2124
|
* FunctionResponse
|
|
1973
2125
|
*/
|
|
@@ -2046,10 +2198,93 @@ type FunctionResponse = {
|
|
|
2046
2198
|
* Required Secrets
|
|
2047
2199
|
*/
|
|
2048
2200
|
required_secrets?: Array<string>;
|
|
2201
|
+
/**
|
|
2202
|
+
* Source
|
|
2203
|
+
*
|
|
2204
|
+
* Where the function was created from, stamped at creation. Read-only.
|
|
2205
|
+
*/
|
|
2206
|
+
source?: string | null;
|
|
2207
|
+
/**
|
|
2208
|
+
* Self Healing
|
|
2209
|
+
*
|
|
2210
|
+
* 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.
|
|
2211
|
+
*/
|
|
2212
|
+
self_healing?: boolean;
|
|
2213
|
+
/**
|
|
2214
|
+
* Instructions
|
|
2215
|
+
*
|
|
2216
|
+
* Builder's operating notes: typical run duration, known failure modes, which parameters matter.
|
|
2217
|
+
*/
|
|
2218
|
+
instructions?: string | null;
|
|
2219
|
+
/**
|
|
2220
|
+
* Schedule Cron
|
|
2221
|
+
*
|
|
2222
|
+
* Cron expression the function runs on, or null if it is not scheduled.
|
|
2223
|
+
*/
|
|
2224
|
+
schedule_cron?: string | null;
|
|
2225
|
+
/**
|
|
2226
|
+
* Schedule Variables
|
|
2227
|
+
*
|
|
2228
|
+
* Variables passed to each scheduled run, or null if it is not scheduled.
|
|
2229
|
+
*/
|
|
2230
|
+
schedule_variables?: {
|
|
2231
|
+
[key: string]: unknown;
|
|
2232
|
+
} | null;
|
|
2233
|
+
/**
|
|
2234
|
+
* Schedule State
|
|
2235
|
+
*
|
|
2236
|
+
* '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.
|
|
2237
|
+
*/
|
|
2238
|
+
schedule_state?: 'enabled' | 'paused' | null;
|
|
2239
|
+
/**
|
|
2240
|
+
* Workflow Id
|
|
2241
|
+
*/
|
|
2242
|
+
readonly workflow_id: string;
|
|
2243
|
+
};
|
|
2244
|
+
/**
|
|
2245
|
+
* FunctionRunListItemResponse
|
|
2246
|
+
*/
|
|
2247
|
+
type FunctionRunListItemResponse = {
|
|
2248
|
+
/**
|
|
2249
|
+
* Function Id
|
|
2250
|
+
*
|
|
2251
|
+
* The ID of the function
|
|
2252
|
+
*/
|
|
2253
|
+
function_id: string;
|
|
2254
|
+
/**
|
|
2255
|
+
* Function Run Id
|
|
2256
|
+
*
|
|
2257
|
+
* The ID of the function run
|
|
2258
|
+
*/
|
|
2259
|
+
function_run_id: string;
|
|
2260
|
+
/**
|
|
2261
|
+
* Created At
|
|
2262
|
+
*/
|
|
2263
|
+
created_at: string;
|
|
2264
|
+
/**
|
|
2265
|
+
* Updated At
|
|
2266
|
+
*/
|
|
2267
|
+
updated_at: string;
|
|
2268
|
+
/**
|
|
2269
|
+
* Status
|
|
2270
|
+
*/
|
|
2271
|
+
status: 'closed' | 'active' | 'failed';
|
|
2272
|
+
/**
|
|
2273
|
+
* Session Id
|
|
2274
|
+
*/
|
|
2275
|
+
session_id?: string | null;
|
|
2276
|
+
/**
|
|
2277
|
+
* Local
|
|
2278
|
+
*/
|
|
2279
|
+
local?: boolean;
|
|
2049
2280
|
/**
|
|
2050
2281
|
* Workflow Id
|
|
2051
2282
|
*/
|
|
2052
2283
|
readonly workflow_id: string;
|
|
2284
|
+
/**
|
|
2285
|
+
* Workflow Run Id
|
|
2286
|
+
*/
|
|
2287
|
+
readonly workflow_run_id: string;
|
|
2053
2288
|
};
|
|
2054
2289
|
/**
|
|
2055
2290
|
* FunctionRunUpdateRequest
|
|
@@ -2187,6 +2422,44 @@ type FunctionWithLinkResponse = {
|
|
|
2187
2422
|
* Required Secrets
|
|
2188
2423
|
*/
|
|
2189
2424
|
required_secrets?: Array<string>;
|
|
2425
|
+
/**
|
|
2426
|
+
* Source
|
|
2427
|
+
*
|
|
2428
|
+
* Where the function was created from, stamped at creation. Read-only.
|
|
2429
|
+
*/
|
|
2430
|
+
source?: string | null;
|
|
2431
|
+
/**
|
|
2432
|
+
* Self Healing
|
|
2433
|
+
*
|
|
2434
|
+
* 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.
|
|
2435
|
+
*/
|
|
2436
|
+
self_healing?: boolean;
|
|
2437
|
+
/**
|
|
2438
|
+
* Instructions
|
|
2439
|
+
*
|
|
2440
|
+
* Builder's operating notes: typical run duration, known failure modes, which parameters matter.
|
|
2441
|
+
*/
|
|
2442
|
+
instructions?: string | null;
|
|
2443
|
+
/**
|
|
2444
|
+
* Schedule Cron
|
|
2445
|
+
*
|
|
2446
|
+
* Cron expression the function runs on, or null if it is not scheduled.
|
|
2447
|
+
*/
|
|
2448
|
+
schedule_cron?: string | null;
|
|
2449
|
+
/**
|
|
2450
|
+
* Schedule Variables
|
|
2451
|
+
*
|
|
2452
|
+
* Variables passed to each scheduled run, or null if it is not scheduled.
|
|
2453
|
+
*/
|
|
2454
|
+
schedule_variables?: {
|
|
2455
|
+
[key: string]: unknown;
|
|
2456
|
+
} | null;
|
|
2457
|
+
/**
|
|
2458
|
+
* Schedule State
|
|
2459
|
+
*
|
|
2460
|
+
* '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.
|
|
2461
|
+
*/
|
|
2462
|
+
schedule_state?: 'enabled' | 'paused' | null;
|
|
2190
2463
|
/**
|
|
2191
2464
|
* Workflow Id
|
|
2192
2465
|
*/
|
|
@@ -2292,12 +2565,6 @@ type GetFunctionRunResponse = {
|
|
|
2292
2565
|
* GlobalScrapeRequest
|
|
2293
2566
|
*/
|
|
2294
2567
|
type GlobalScrapeRequest = {
|
|
2295
|
-
/**
|
|
2296
|
-
* Headless
|
|
2297
|
-
*
|
|
2298
|
-
* Whether to run the session in headless mode.
|
|
2299
|
-
*/
|
|
2300
|
-
headless?: boolean;
|
|
2301
2568
|
/**
|
|
2302
2569
|
* Solve Captchas
|
|
2303
2570
|
*
|
|
@@ -2412,6 +2679,12 @@ type GlobalScrapeRequest = {
|
|
|
2412
2679
|
* 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.
|
|
2413
2680
|
*/
|
|
2414
2681
|
wait_for_authentication?: boolean;
|
|
2682
|
+
/**
|
|
2683
|
+
* Advanced Stealth
|
|
2684
|
+
*
|
|
2685
|
+
* Enable Notte's highest-fidelity browser environment for sites with sophisticated bot detection. Available to approved workspaces.
|
|
2686
|
+
*/
|
|
2687
|
+
advanced_stealth?: boolean;
|
|
2415
2688
|
/**
|
|
2416
2689
|
* Selector
|
|
2417
2690
|
*
|
|
@@ -2736,6 +3009,120 @@ type ListFilesResponse = {
|
|
|
2736
3009
|
* LlmModel
|
|
2737
3010
|
*/
|
|
2738
3011
|
type LlmModel = 'openai/gpt-4o' | 'gemini/gemini-2.5-flash' | 'vertex_ai/gemini-2.5-flash' | 'openrouter/google/gemma-3-27b-it' | 'cerebras/gpt-oss-120b' | 'groq/gpt-oss-120b' | 'perplexity/sonar-pro' | 'deepseek/deepseek-r1' | 'together_ai/meta-llama/llama-3.3-70b-instruct' | 'anthropic/claude-sonnet-4-5-20250929' | 'moonshot/kimi-k2.5' | 'xai/grok-4-1-fast-non-reasoning' | 'minimax/minimax-m2.5';
|
|
3012
|
+
/**
|
|
3013
|
+
* MailboxConnectRequest
|
|
3014
|
+
*/
|
|
3015
|
+
type MailboxConnectRequest = {
|
|
3016
|
+
/**
|
|
3017
|
+
* Provider
|
|
3018
|
+
*/
|
|
3019
|
+
provider?: 'gmail' | 'microsoft_outlook';
|
|
3020
|
+
/**
|
|
3021
|
+
* Success Redirect Uri
|
|
3022
|
+
*/
|
|
3023
|
+
success_redirect_uri: string;
|
|
3024
|
+
/**
|
|
3025
|
+
* Error Redirect Uri
|
|
3026
|
+
*/
|
|
3027
|
+
error_redirect_uri: string;
|
|
3028
|
+
/**
|
|
3029
|
+
* Allowed Origin
|
|
3030
|
+
*/
|
|
3031
|
+
allowed_origin: string;
|
|
3032
|
+
};
|
|
3033
|
+
/**
|
|
3034
|
+
* MailboxConnectResponse
|
|
3035
|
+
*/
|
|
3036
|
+
type MailboxConnectResponse = {
|
|
3037
|
+
/**
|
|
3038
|
+
* Connect Link Url
|
|
3039
|
+
*/
|
|
3040
|
+
connect_link_url: string;
|
|
3041
|
+
/**
|
|
3042
|
+
* Expires At
|
|
3043
|
+
*/
|
|
3044
|
+
expires_at?: string | null;
|
|
3045
|
+
/**
|
|
3046
|
+
* Mailbox Id
|
|
3047
|
+
*/
|
|
3048
|
+
mailbox_id: string;
|
|
3049
|
+
};
|
|
3050
|
+
/**
|
|
3051
|
+
* MailboxConnection
|
|
3052
|
+
*/
|
|
3053
|
+
type MailboxConnection = {
|
|
3054
|
+
/**
|
|
3055
|
+
* Id
|
|
3056
|
+
*/
|
|
3057
|
+
id: string;
|
|
3058
|
+
/**
|
|
3059
|
+
* Provider
|
|
3060
|
+
*/
|
|
3061
|
+
provider?: 'gmail' | 'microsoft_outlook';
|
|
3062
|
+
/**
|
|
3063
|
+
* Email Address
|
|
3064
|
+
*/
|
|
3065
|
+
email_address: string;
|
|
3066
|
+
/**
|
|
3067
|
+
* Healthy
|
|
3068
|
+
*/
|
|
3069
|
+
healthy?: boolean;
|
|
3070
|
+
/**
|
|
3071
|
+
* Authorized Scopes
|
|
3072
|
+
*/
|
|
3073
|
+
authorized_scopes?: Array<string>;
|
|
3074
|
+
/**
|
|
3075
|
+
* Allow All Senders
|
|
3076
|
+
*/
|
|
3077
|
+
allow_all_senders?: boolean;
|
|
3078
|
+
/**
|
|
3079
|
+
* Allowed Sender Domains
|
|
3080
|
+
*/
|
|
3081
|
+
allowed_sender_domains?: Array<string>;
|
|
3082
|
+
/**
|
|
3083
|
+
* Created At
|
|
3084
|
+
*/
|
|
3085
|
+
created_at?: string | null;
|
|
3086
|
+
/**
|
|
3087
|
+
* Updated At
|
|
3088
|
+
*/
|
|
3089
|
+
updated_at?: string | null;
|
|
3090
|
+
};
|
|
3091
|
+
/**
|
|
3092
|
+
* MailboxListResponse
|
|
3093
|
+
*/
|
|
3094
|
+
type MailboxListResponse = {
|
|
3095
|
+
/**
|
|
3096
|
+
* Items
|
|
3097
|
+
*/
|
|
3098
|
+
items: Array<MailboxConnection>;
|
|
3099
|
+
};
|
|
3100
|
+
/**
|
|
3101
|
+
* MailboxSyncRequest
|
|
3102
|
+
*/
|
|
3103
|
+
type MailboxSyncRequest = {
|
|
3104
|
+
/**
|
|
3105
|
+
* Mailbox Id
|
|
3106
|
+
*/
|
|
3107
|
+
mailbox_id?: string | null;
|
|
3108
|
+
/**
|
|
3109
|
+
* Provider
|
|
3110
|
+
*/
|
|
3111
|
+
provider?: 'gmail' | 'microsoft_outlook' | null;
|
|
3112
|
+
};
|
|
3113
|
+
/**
|
|
3114
|
+
* MailboxUpdateRequest
|
|
3115
|
+
*/
|
|
3116
|
+
type MailboxUpdateRequest = {
|
|
3117
|
+
/**
|
|
3118
|
+
* Allow All Senders
|
|
3119
|
+
*/
|
|
3120
|
+
allow_all_senders: boolean;
|
|
3121
|
+
/**
|
|
3122
|
+
* Allowed Sender Domains
|
|
3123
|
+
*/
|
|
3124
|
+
allowed_sender_domains?: Array<string>;
|
|
3125
|
+
};
|
|
2739
3126
|
/**
|
|
2740
3127
|
* MultiFactorFillAction
|
|
2741
3128
|
*/
|
|
@@ -3032,13 +3419,13 @@ type PaginatedResponseAgentResponse = {
|
|
|
3032
3419
|
readonly has_previous: boolean;
|
|
3033
3420
|
};
|
|
3034
3421
|
/**
|
|
3035
|
-
* PaginatedResponse[
|
|
3422
|
+
* PaginatedResponse[FunctionListItemResponse]
|
|
3036
3423
|
*/
|
|
3037
|
-
type
|
|
3424
|
+
type PaginatedResponseFunctionListItemResponse = {
|
|
3038
3425
|
/**
|
|
3039
3426
|
* Items
|
|
3040
3427
|
*/
|
|
3041
|
-
items: Array<
|
|
3428
|
+
items: Array<FunctionListItemResponse>;
|
|
3042
3429
|
/**
|
|
3043
3430
|
* Page
|
|
3044
3431
|
*/
|
|
@@ -3057,13 +3444,13 @@ type PaginatedResponseFunctionResponse = {
|
|
|
3057
3444
|
readonly has_previous: boolean;
|
|
3058
3445
|
};
|
|
3059
3446
|
/**
|
|
3060
|
-
* PaginatedResponse[
|
|
3447
|
+
* PaginatedResponse[FunctionRunListItemResponse]
|
|
3061
3448
|
*/
|
|
3062
|
-
type
|
|
3449
|
+
type PaginatedResponseFunctionRunListItemResponse = {
|
|
3063
3450
|
/**
|
|
3064
3451
|
* Items
|
|
3065
3452
|
*/
|
|
3066
|
-
items: Array<
|
|
3453
|
+
items: Array<FunctionRunListItemResponse>;
|
|
3067
3454
|
/**
|
|
3068
3455
|
* Page
|
|
3069
3456
|
*/
|
|
@@ -3239,6 +3626,10 @@ type PersonaCreateRequest = {
|
|
|
3239
3626
|
* Whether to create a phone number for the persona
|
|
3240
3627
|
*/
|
|
3241
3628
|
create_phone_number?: boolean;
|
|
3629
|
+
/**
|
|
3630
|
+
* Name
|
|
3631
|
+
*/
|
|
3632
|
+
name?: string | null;
|
|
3242
3633
|
};
|
|
3243
3634
|
/**
|
|
3244
3635
|
* PersonaResponse
|
|
@@ -3286,6 +3677,19 @@ type PersonaResponse = {
|
|
|
3286
3677
|
* Phone number of the persona (optional)
|
|
3287
3678
|
*/
|
|
3288
3679
|
phone_number: string | null;
|
|
3680
|
+
/**
|
|
3681
|
+
* Name
|
|
3682
|
+
*/
|
|
3683
|
+
name?: string | null;
|
|
3684
|
+
};
|
|
3685
|
+
/**
|
|
3686
|
+
* PersonaUpdateRequest
|
|
3687
|
+
*/
|
|
3688
|
+
type PersonaUpdateRequest = {
|
|
3689
|
+
/**
|
|
3690
|
+
* Name
|
|
3691
|
+
*/
|
|
3692
|
+
name: string;
|
|
3289
3693
|
};
|
|
3290
3694
|
/**
|
|
3291
3695
|
* PressKeyAction
|
|
@@ -3991,6 +4395,35 @@ type SelectDropdownOptionActionOutput = {
|
|
|
3991
4395
|
*/
|
|
3992
4396
|
value: string;
|
|
3993
4397
|
};
|
|
4398
|
+
/**
|
|
4399
|
+
* SerializedError
|
|
4400
|
+
*/
|
|
4401
|
+
type SerializedError = {
|
|
4402
|
+
/**
|
|
4403
|
+
* Error Type
|
|
4404
|
+
*/
|
|
4405
|
+
error_type: string;
|
|
4406
|
+
/**
|
|
4407
|
+
* Dev Message
|
|
4408
|
+
*/
|
|
4409
|
+
dev_message: string;
|
|
4410
|
+
/**
|
|
4411
|
+
* User Message
|
|
4412
|
+
*/
|
|
4413
|
+
user_message: string;
|
|
4414
|
+
/**
|
|
4415
|
+
* Agent Message
|
|
4416
|
+
*/
|
|
4417
|
+
agent_message: string;
|
|
4418
|
+
/**
|
|
4419
|
+
* Should Retry Later
|
|
4420
|
+
*/
|
|
4421
|
+
should_retry_later?: boolean;
|
|
4422
|
+
/**
|
|
4423
|
+
* Should Notify Team
|
|
4424
|
+
*/
|
|
4425
|
+
should_notify_team?: boolean;
|
|
4426
|
+
};
|
|
3994
4427
|
/**
|
|
3995
4428
|
* SessionDebugResponse
|
|
3996
4429
|
*/
|
|
@@ -4085,6 +4518,12 @@ type SessionResponse = {
|
|
|
4085
4518
|
* Session status
|
|
4086
4519
|
*/
|
|
4087
4520
|
status: 'active' | 'closed' | 'error' | 'timed_out';
|
|
4521
|
+
/**
|
|
4522
|
+
* Close Reason
|
|
4523
|
+
*
|
|
4524
|
+
* Reason the session closed, if it is no longer active
|
|
4525
|
+
*/
|
|
4526
|
+
close_reason?: 'manual' | 'idle_timeout' | 'max_duration' | 'error' | 'unknown' | null;
|
|
4088
4527
|
/**
|
|
4089
4528
|
* Steps
|
|
4090
4529
|
*
|
|
@@ -4145,12 +4584,6 @@ type SessionResponse = {
|
|
|
4145
4584
|
* The height of the viewport
|
|
4146
4585
|
*/
|
|
4147
4586
|
viewport_height?: number | null;
|
|
4148
|
-
/**
|
|
4149
|
-
* Headless
|
|
4150
|
-
*
|
|
4151
|
-
* Whether to run the session in headless mode.
|
|
4152
|
-
*/
|
|
4153
|
-
headless?: boolean;
|
|
4154
4587
|
/**
|
|
4155
4588
|
* Solve Captchas
|
|
4156
4589
|
*
|
|
@@ -4193,6 +4626,7 @@ type SessionResponse = {
|
|
|
4193
4626
|
* @deprecated
|
|
4194
4627
|
*/
|
|
4195
4628
|
readonly timeout_minutes: number;
|
|
4629
|
+
[key: string]: unknown;
|
|
4196
4630
|
};
|
|
4197
4631
|
/**
|
|
4198
4632
|
* SmsReadAction
|
|
@@ -4769,6 +5203,8 @@ type ApiExecutionResponseWritable = {
|
|
|
4769
5203
|
} & ScrapeAction) | ({
|
|
4770
5204
|
type: 'email_read';
|
|
4771
5205
|
} & EmailReadAction) | ({
|
|
5206
|
+
type: 'email_verification_read';
|
|
5207
|
+
} & EmailVerificationReadAction) | ({
|
|
4772
5208
|
type: 'sms_read';
|
|
4773
5209
|
} & SmsReadAction) | ({
|
|
4774
5210
|
type: 'evaluate_js';
|
|
@@ -4802,6 +5238,7 @@ type ApiExecutionResponseWritable = {
|
|
|
4802
5238
|
* Exception
|
|
4803
5239
|
*/
|
|
4804
5240
|
exception?: string | null;
|
|
5241
|
+
exception_detail?: SerializedError | null;
|
|
4805
5242
|
};
|
|
4806
5243
|
/**
|
|
4807
5244
|
* BaseModel
|
|
@@ -5022,6 +5459,97 @@ type FormFillActionWritable = {
|
|
|
5022
5459
|
[key: string]: string | string;
|
|
5023
5460
|
};
|
|
5024
5461
|
};
|
|
5462
|
+
/**
|
|
5463
|
+
* FunctionListItemResponse
|
|
5464
|
+
*/
|
|
5465
|
+
type FunctionListItemResponseWritable = {
|
|
5466
|
+
/**
|
|
5467
|
+
* Function Id
|
|
5468
|
+
*
|
|
5469
|
+
* The ID of the function
|
|
5470
|
+
*/
|
|
5471
|
+
function_id: string;
|
|
5472
|
+
/**
|
|
5473
|
+
* Variables
|
|
5474
|
+
*
|
|
5475
|
+
* The variables to run the workflow with
|
|
5476
|
+
*/
|
|
5477
|
+
variables?: Array<ParameterInfo> | null;
|
|
5478
|
+
/**
|
|
5479
|
+
* Created At
|
|
5480
|
+
*
|
|
5481
|
+
* The creation time of the workflow
|
|
5482
|
+
*/
|
|
5483
|
+
created_at: string;
|
|
5484
|
+
/**
|
|
5485
|
+
* Updated At
|
|
5486
|
+
*
|
|
5487
|
+
* The last update time of the workflow
|
|
5488
|
+
*/
|
|
5489
|
+
updated_at: string;
|
|
5490
|
+
/**
|
|
5491
|
+
* Latest Version
|
|
5492
|
+
*
|
|
5493
|
+
* The version of the workflow
|
|
5494
|
+
*/
|
|
5495
|
+
latest_version: string;
|
|
5496
|
+
/**
|
|
5497
|
+
* Versions
|
|
5498
|
+
*
|
|
5499
|
+
* The versions of the workflow
|
|
5500
|
+
*/
|
|
5501
|
+
versions: Array<string>;
|
|
5502
|
+
/**
|
|
5503
|
+
* Status
|
|
5504
|
+
*
|
|
5505
|
+
* The status of the workflow
|
|
5506
|
+
*/
|
|
5507
|
+
status: string;
|
|
5508
|
+
/**
|
|
5509
|
+
* Name
|
|
5510
|
+
*
|
|
5511
|
+
* The name of the workflow
|
|
5512
|
+
*/
|
|
5513
|
+
name?: string | null;
|
|
5514
|
+
/**
|
|
5515
|
+
* Description
|
|
5516
|
+
*
|
|
5517
|
+
* The description of the workflow
|
|
5518
|
+
*/
|
|
5519
|
+
description?: string | null;
|
|
5520
|
+
/**
|
|
5521
|
+
* Shared
|
|
5522
|
+
*
|
|
5523
|
+
* Whether the workflow is public and can beshared with other users
|
|
5524
|
+
*/
|
|
5525
|
+
shared?: boolean;
|
|
5526
|
+
/**
|
|
5527
|
+
* Reference Workflow Id
|
|
5528
|
+
*
|
|
5529
|
+
* The ID of the reference workflow (i.e wether the workflow was forked from another workflow or not)
|
|
5530
|
+
*/
|
|
5531
|
+
reference_workflow_id?: string | null;
|
|
5532
|
+
/**
|
|
5533
|
+
* Published
|
|
5534
|
+
*/
|
|
5535
|
+
published?: boolean;
|
|
5536
|
+
/**
|
|
5537
|
+
* Required Secrets
|
|
5538
|
+
*/
|
|
5539
|
+
required_secrets?: Array<string>;
|
|
5540
|
+
/**
|
|
5541
|
+
* Source
|
|
5542
|
+
*
|
|
5543
|
+
* Where the function was created from, stamped at creation. Read-only.
|
|
5544
|
+
*/
|
|
5545
|
+
source?: string | null;
|
|
5546
|
+
/**
|
|
5547
|
+
* Self Healing
|
|
5548
|
+
*
|
|
5549
|
+
* 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.
|
|
5550
|
+
*/
|
|
5551
|
+
self_healing?: boolean;
|
|
5552
|
+
};
|
|
5025
5553
|
/**
|
|
5026
5554
|
* FunctionResponse
|
|
5027
5555
|
*/
|
|
@@ -5100,6 +5628,81 @@ type FunctionResponseWritable = {
|
|
|
5100
5628
|
* Required Secrets
|
|
5101
5629
|
*/
|
|
5102
5630
|
required_secrets?: Array<string>;
|
|
5631
|
+
/**
|
|
5632
|
+
* Source
|
|
5633
|
+
*
|
|
5634
|
+
* Where the function was created from, stamped at creation. Read-only.
|
|
5635
|
+
*/
|
|
5636
|
+
source?: string | null;
|
|
5637
|
+
/**
|
|
5638
|
+
* Self Healing
|
|
5639
|
+
*
|
|
5640
|
+
* 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.
|
|
5641
|
+
*/
|
|
5642
|
+
self_healing?: boolean;
|
|
5643
|
+
/**
|
|
5644
|
+
* Instructions
|
|
5645
|
+
*
|
|
5646
|
+
* Builder's operating notes: typical run duration, known failure modes, which parameters matter.
|
|
5647
|
+
*/
|
|
5648
|
+
instructions?: string | null;
|
|
5649
|
+
/**
|
|
5650
|
+
* Schedule Cron
|
|
5651
|
+
*
|
|
5652
|
+
* Cron expression the function runs on, or null if it is not scheduled.
|
|
5653
|
+
*/
|
|
5654
|
+
schedule_cron?: string | null;
|
|
5655
|
+
/**
|
|
5656
|
+
* Schedule Variables
|
|
5657
|
+
*
|
|
5658
|
+
* Variables passed to each scheduled run, or null if it is not scheduled.
|
|
5659
|
+
*/
|
|
5660
|
+
schedule_variables?: {
|
|
5661
|
+
[key: string]: unknown;
|
|
5662
|
+
} | null;
|
|
5663
|
+
/**
|
|
5664
|
+
* Schedule State
|
|
5665
|
+
*
|
|
5666
|
+
* '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.
|
|
5667
|
+
*/
|
|
5668
|
+
schedule_state?: 'enabled' | 'paused' | null;
|
|
5669
|
+
};
|
|
5670
|
+
/**
|
|
5671
|
+
* FunctionRunListItemResponse
|
|
5672
|
+
*/
|
|
5673
|
+
type FunctionRunListItemResponseWritable = {
|
|
5674
|
+
/**
|
|
5675
|
+
* Function Id
|
|
5676
|
+
*
|
|
5677
|
+
* The ID of the function
|
|
5678
|
+
*/
|
|
5679
|
+
function_id: string;
|
|
5680
|
+
/**
|
|
5681
|
+
* Function Run Id
|
|
5682
|
+
*
|
|
5683
|
+
* The ID of the function run
|
|
5684
|
+
*/
|
|
5685
|
+
function_run_id: string;
|
|
5686
|
+
/**
|
|
5687
|
+
* Created At
|
|
5688
|
+
*/
|
|
5689
|
+
created_at: string;
|
|
5690
|
+
/**
|
|
5691
|
+
* Updated At
|
|
5692
|
+
*/
|
|
5693
|
+
updated_at: string;
|
|
5694
|
+
/**
|
|
5695
|
+
* Status
|
|
5696
|
+
*/
|
|
5697
|
+
status: 'closed' | 'active' | 'failed';
|
|
5698
|
+
/**
|
|
5699
|
+
* Session Id
|
|
5700
|
+
*/
|
|
5701
|
+
session_id?: string | null;
|
|
5702
|
+
/**
|
|
5703
|
+
* Local
|
|
5704
|
+
*/
|
|
5705
|
+
local?: boolean;
|
|
5103
5706
|
};
|
|
5104
5707
|
/**
|
|
5105
5708
|
* FunctionWithLinkResponse
|
|
@@ -5182,9 +5785,47 @@ type FunctionWithLinkResponseWritable = {
|
|
|
5182
5785
|
*/
|
|
5183
5786
|
published?: boolean;
|
|
5184
5787
|
/**
|
|
5185
|
-
* Required Secrets
|
|
5788
|
+
* Required Secrets
|
|
5789
|
+
*/
|
|
5790
|
+
required_secrets?: Array<string>;
|
|
5791
|
+
/**
|
|
5792
|
+
* Source
|
|
5793
|
+
*
|
|
5794
|
+
* Where the function was created from, stamped at creation. Read-only.
|
|
5795
|
+
*/
|
|
5796
|
+
source?: string | null;
|
|
5797
|
+
/**
|
|
5798
|
+
* Self Healing
|
|
5799
|
+
*
|
|
5800
|
+
* 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.
|
|
5801
|
+
*/
|
|
5802
|
+
self_healing?: boolean;
|
|
5803
|
+
/**
|
|
5804
|
+
* Instructions
|
|
5805
|
+
*
|
|
5806
|
+
* Builder's operating notes: typical run duration, known failure modes, which parameters matter.
|
|
5807
|
+
*/
|
|
5808
|
+
instructions?: string | null;
|
|
5809
|
+
/**
|
|
5810
|
+
* Schedule Cron
|
|
5811
|
+
*
|
|
5812
|
+
* Cron expression the function runs on, or null if it is not scheduled.
|
|
5813
|
+
*/
|
|
5814
|
+
schedule_cron?: string | null;
|
|
5815
|
+
/**
|
|
5816
|
+
* Schedule Variables
|
|
5817
|
+
*
|
|
5818
|
+
* Variables passed to each scheduled run, or null if it is not scheduled.
|
|
5819
|
+
*/
|
|
5820
|
+
schedule_variables?: {
|
|
5821
|
+
[key: string]: unknown;
|
|
5822
|
+
} | null;
|
|
5823
|
+
/**
|
|
5824
|
+
* Schedule State
|
|
5825
|
+
*
|
|
5826
|
+
* '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.
|
|
5186
5827
|
*/
|
|
5187
|
-
|
|
5828
|
+
schedule_state?: 'enabled' | 'paused' | null;
|
|
5188
5829
|
};
|
|
5189
5830
|
/**
|
|
5190
5831
|
* GetFunctionRunResponse
|
|
@@ -5389,13 +6030,13 @@ type PaginatedResponseAgentResponseWritable = {
|
|
|
5389
6030
|
has_next: boolean;
|
|
5390
6031
|
};
|
|
5391
6032
|
/**
|
|
5392
|
-
* PaginatedResponse[
|
|
6033
|
+
* PaginatedResponse[FunctionListItemResponse]
|
|
5393
6034
|
*/
|
|
5394
|
-
type
|
|
6035
|
+
type PaginatedResponseFunctionListItemResponseWritable = {
|
|
5395
6036
|
/**
|
|
5396
6037
|
* Items
|
|
5397
6038
|
*/
|
|
5398
|
-
items: Array<
|
|
6039
|
+
items: Array<FunctionListItemResponseWritable>;
|
|
5399
6040
|
/**
|
|
5400
6041
|
* Page
|
|
5401
6042
|
*/
|
|
@@ -5410,13 +6051,13 @@ type PaginatedResponseFunctionResponseWritable = {
|
|
|
5410
6051
|
has_next: boolean;
|
|
5411
6052
|
};
|
|
5412
6053
|
/**
|
|
5413
|
-
* PaginatedResponse[
|
|
6054
|
+
* PaginatedResponse[FunctionRunListItemResponse]
|
|
5414
6055
|
*/
|
|
5415
|
-
type
|
|
6056
|
+
type PaginatedResponseFunctionRunListItemResponseWritable = {
|
|
5416
6057
|
/**
|
|
5417
6058
|
* Items
|
|
5418
6059
|
*/
|
|
5419
|
-
items: Array<
|
|
6060
|
+
items: Array<FunctionRunListItemResponseWritable>;
|
|
5420
6061
|
/**
|
|
5421
6062
|
* Page
|
|
5422
6063
|
*/
|
|
@@ -5674,6 +6315,12 @@ type SessionResponseWritable = {
|
|
|
5674
6315
|
* Session status
|
|
5675
6316
|
*/
|
|
5676
6317
|
status: 'active' | 'closed' | 'error' | 'timed_out';
|
|
6318
|
+
/**
|
|
6319
|
+
* Close Reason
|
|
6320
|
+
*
|
|
6321
|
+
* Reason the session closed, if it is no longer active
|
|
6322
|
+
*/
|
|
6323
|
+
close_reason?: 'manual' | 'idle_timeout' | 'max_duration' | 'error' | 'unknown' | null;
|
|
5677
6324
|
/**
|
|
5678
6325
|
* Steps
|
|
5679
6326
|
*
|
|
@@ -5734,12 +6381,6 @@ type SessionResponseWritable = {
|
|
|
5734
6381
|
* The height of the viewport
|
|
5735
6382
|
*/
|
|
5736
6383
|
viewport_height?: number | null;
|
|
5737
|
-
/**
|
|
5738
|
-
* Headless
|
|
5739
|
-
*
|
|
5740
|
-
* Whether to run the session in headless mode.
|
|
5741
|
-
*/
|
|
5742
|
-
headless?: boolean;
|
|
5743
6384
|
/**
|
|
5744
6385
|
* Solve Captchas
|
|
5745
6386
|
*
|
|
@@ -5776,6 +6417,7 @@ type SessionResponseWritable = {
|
|
|
5776
6417
|
* Whether this session is an internal system run. Internal system runs are omitted from session.list() unless include_system=True is requested.
|
|
5777
6418
|
*/
|
|
5778
6419
|
system_hidden?: boolean;
|
|
6420
|
+
[key: string]: unknown;
|
|
5779
6421
|
};
|
|
5780
6422
|
/**
|
|
5781
6423
|
* UpdateFunctionRunResponse
|
|
@@ -5994,7 +6636,12 @@ type SessionStopData = {
|
|
|
5994
6636
|
*/
|
|
5995
6637
|
session_id: string;
|
|
5996
6638
|
};
|
|
5997
|
-
query?:
|
|
6639
|
+
query?: {
|
|
6640
|
+
/**
|
|
6641
|
+
* Close Reason
|
|
6642
|
+
*/
|
|
6643
|
+
close_reason?: 'manual' | 'error';
|
|
6644
|
+
};
|
|
5998
6645
|
url: '/sessions/{session_id}/stop';
|
|
5999
6646
|
};
|
|
6000
6647
|
type SessionStopErrors = {
|
|
@@ -6284,6 +6931,8 @@ type PageExecuteData = {
|
|
|
6284
6931
|
} & ScrapeAction) | ({
|
|
6285
6932
|
type: 'email_read';
|
|
6286
6933
|
} & EmailReadAction) | ({
|
|
6934
|
+
type: 'email_verification_read';
|
|
6935
|
+
} & EmailVerificationReadAction) | ({
|
|
6287
6936
|
type: 'sms_read';
|
|
6288
6937
|
} & SmsReadAction) | ({
|
|
6289
6938
|
type: 'evaluate_js';
|
|
@@ -6737,7 +7386,7 @@ type ListFunctionsResponses = {
|
|
|
6737
7386
|
/**
|
|
6738
7387
|
* Successful Response
|
|
6739
7388
|
*/
|
|
6740
|
-
200:
|
|
7389
|
+
200: PaginatedResponseFunctionListItemResponse;
|
|
6741
7390
|
};
|
|
6742
7391
|
type ListFunctionsResponse = ListFunctionsResponses[keyof ListFunctionsResponses];
|
|
6743
7392
|
type FunctionCreateData = {
|
|
@@ -6858,6 +7507,41 @@ type FunctionDownloadUrlResponses = {
|
|
|
6858
7507
|
200: FunctionWithLinkResponse;
|
|
6859
7508
|
};
|
|
6860
7509
|
type FunctionDownloadUrlResponse = FunctionDownloadUrlResponses[keyof FunctionDownloadUrlResponses];
|
|
7510
|
+
type FunctionMetadataUpdateData = {
|
|
7511
|
+
body: FunctionMetadataUpdateRequest;
|
|
7512
|
+
headers?: {
|
|
7513
|
+
/**
|
|
7514
|
+
* X-Notte-Request-Origin
|
|
7515
|
+
*/
|
|
7516
|
+
'x-notte-request-origin'?: string | null;
|
|
7517
|
+
/**
|
|
7518
|
+
* X-Notte-Sdk-Version
|
|
7519
|
+
*/
|
|
7520
|
+
'x-notte-sdk-version'?: string | null;
|
|
7521
|
+
};
|
|
7522
|
+
path: {
|
|
7523
|
+
/**
|
|
7524
|
+
* Function Id
|
|
7525
|
+
*/
|
|
7526
|
+
function_id: string;
|
|
7527
|
+
};
|
|
7528
|
+
query?: never;
|
|
7529
|
+
url: '/functions/{function_id}';
|
|
7530
|
+
};
|
|
7531
|
+
type FunctionMetadataUpdateErrors = {
|
|
7532
|
+
/**
|
|
7533
|
+
* Validation Error
|
|
7534
|
+
*/
|
|
7535
|
+
422: HttpValidationError;
|
|
7536
|
+
};
|
|
7537
|
+
type FunctionMetadataUpdateError = FunctionMetadataUpdateErrors[keyof FunctionMetadataUpdateErrors];
|
|
7538
|
+
type FunctionMetadataUpdateResponses = {
|
|
7539
|
+
/**
|
|
7540
|
+
* Successful Response
|
|
7541
|
+
*/
|
|
7542
|
+
200: FunctionResponse;
|
|
7543
|
+
};
|
|
7544
|
+
type FunctionMetadataUpdateResponse = FunctionMetadataUpdateResponses[keyof FunctionMetadataUpdateResponses];
|
|
6861
7545
|
type FunctionUpdateData = {
|
|
6862
7546
|
body: BodyFunctionUpdateFunctionsFunctionIdPost;
|
|
6863
7547
|
headers?: {
|
|
@@ -7229,7 +7913,7 @@ type ListFunctionRunsByFunctionIdResponses = {
|
|
|
7229
7913
|
/**
|
|
7230
7914
|
* Successful Response
|
|
7231
7915
|
*/
|
|
7232
|
-
200:
|
|
7916
|
+
200: PaginatedResponseFunctionRunListItemResponse;
|
|
7233
7917
|
};
|
|
7234
7918
|
type ListFunctionRunsByFunctionIdResponse = ListFunctionRunsByFunctionIdResponses[keyof ListFunctionRunsByFunctionIdResponses];
|
|
7235
7919
|
type VaultCreateData = {
|
|
@@ -8018,6 +8702,41 @@ type PersonaGetResponses = {
|
|
|
8018
8702
|
200: PersonaResponse;
|
|
8019
8703
|
};
|
|
8020
8704
|
type PersonaGetResponse = PersonaGetResponses[keyof PersonaGetResponses];
|
|
8705
|
+
type PersonaUpdateData = {
|
|
8706
|
+
body: PersonaUpdateRequest;
|
|
8707
|
+
headers?: {
|
|
8708
|
+
/**
|
|
8709
|
+
* X-Notte-Request-Origin
|
|
8710
|
+
*/
|
|
8711
|
+
'x-notte-request-origin'?: string | null;
|
|
8712
|
+
/**
|
|
8713
|
+
* X-Notte-Sdk-Version
|
|
8714
|
+
*/
|
|
8715
|
+
'x-notte-sdk-version'?: string | null;
|
|
8716
|
+
};
|
|
8717
|
+
path: {
|
|
8718
|
+
/**
|
|
8719
|
+
* Persona Id
|
|
8720
|
+
*/
|
|
8721
|
+
persona_id: string;
|
|
8722
|
+
};
|
|
8723
|
+
query?: never;
|
|
8724
|
+
url: '/personas/{persona_id}';
|
|
8725
|
+
};
|
|
8726
|
+
type PersonaUpdateErrors = {
|
|
8727
|
+
/**
|
|
8728
|
+
* Validation Error
|
|
8729
|
+
*/
|
|
8730
|
+
422: HttpValidationError;
|
|
8731
|
+
};
|
|
8732
|
+
type PersonaUpdateError = PersonaUpdateErrors[keyof PersonaUpdateErrors];
|
|
8733
|
+
type PersonaUpdateResponses = {
|
|
8734
|
+
/**
|
|
8735
|
+
* Successful Response
|
|
8736
|
+
*/
|
|
8737
|
+
200: PersonaResponse;
|
|
8738
|
+
};
|
|
8739
|
+
type PersonaUpdateResponse = PersonaUpdateResponses[keyof PersonaUpdateResponses];
|
|
8021
8740
|
type PersonaEmailsListData = {
|
|
8022
8741
|
body?: never;
|
|
8023
8742
|
headers?: {
|
|
@@ -8191,6 +8910,204 @@ type PersonaSmsListResponses = {
|
|
|
8191
8910
|
200: Array<SmsResponse>;
|
|
8192
8911
|
};
|
|
8193
8912
|
type PersonaSmsListResponse = PersonaSmsListResponses[keyof PersonaSmsListResponses];
|
|
8913
|
+
type MailboxConnectTokenData = {
|
|
8914
|
+
body: MailboxConnectRequest;
|
|
8915
|
+
headers?: {
|
|
8916
|
+
/**
|
|
8917
|
+
* X-Notte-Request-Origin
|
|
8918
|
+
*/
|
|
8919
|
+
'x-notte-request-origin'?: string | null;
|
|
8920
|
+
/**
|
|
8921
|
+
* X-Notte-Sdk-Version
|
|
8922
|
+
*/
|
|
8923
|
+
'x-notte-sdk-version'?: string | null;
|
|
8924
|
+
};
|
|
8925
|
+
path?: never;
|
|
8926
|
+
query?: never;
|
|
8927
|
+
url: '/mailboxes/connect-token';
|
|
8928
|
+
};
|
|
8929
|
+
type MailboxConnectTokenErrors = {
|
|
8930
|
+
/**
|
|
8931
|
+
* Validation Error
|
|
8932
|
+
*/
|
|
8933
|
+
422: HttpValidationError;
|
|
8934
|
+
};
|
|
8935
|
+
type MailboxConnectTokenError = MailboxConnectTokenErrors[keyof MailboxConnectTokenErrors];
|
|
8936
|
+
type MailboxConnectTokenResponses = {
|
|
8937
|
+
/**
|
|
8938
|
+
* Successful Response
|
|
8939
|
+
*/
|
|
8940
|
+
200: MailboxConnectResponse;
|
|
8941
|
+
};
|
|
8942
|
+
type MailboxConnectTokenResponse = MailboxConnectTokenResponses[keyof MailboxConnectTokenResponses];
|
|
8943
|
+
type MailboxSyncData = {
|
|
8944
|
+
/**
|
|
8945
|
+
* Body
|
|
8946
|
+
*/
|
|
8947
|
+
body?: MailboxSyncRequest | null;
|
|
8948
|
+
headers?: {
|
|
8949
|
+
/**
|
|
8950
|
+
* X-Notte-Request-Origin
|
|
8951
|
+
*/
|
|
8952
|
+
'x-notte-request-origin'?: string | null;
|
|
8953
|
+
/**
|
|
8954
|
+
* X-Notte-Sdk-Version
|
|
8955
|
+
*/
|
|
8956
|
+
'x-notte-sdk-version'?: string | null;
|
|
8957
|
+
};
|
|
8958
|
+
path?: never;
|
|
8959
|
+
query?: never;
|
|
8960
|
+
url: '/mailboxes/sync';
|
|
8961
|
+
};
|
|
8962
|
+
type MailboxSyncErrors = {
|
|
8963
|
+
/**
|
|
8964
|
+
* Validation Error
|
|
8965
|
+
*/
|
|
8966
|
+
422: HttpValidationError;
|
|
8967
|
+
};
|
|
8968
|
+
type MailboxSyncError = MailboxSyncErrors[keyof MailboxSyncErrors];
|
|
8969
|
+
type MailboxSyncResponses = {
|
|
8970
|
+
/**
|
|
8971
|
+
* Successful Response
|
|
8972
|
+
*/
|
|
8973
|
+
200: MailboxListResponse;
|
|
8974
|
+
};
|
|
8975
|
+
type MailboxSyncResponse = MailboxSyncResponses[keyof MailboxSyncResponses];
|
|
8976
|
+
type MailboxListData = {
|
|
8977
|
+
body?: never;
|
|
8978
|
+
headers?: {
|
|
8979
|
+
/**
|
|
8980
|
+
* X-Notte-Request-Origin
|
|
8981
|
+
*/
|
|
8982
|
+
'x-notte-request-origin'?: string | null;
|
|
8983
|
+
/**
|
|
8984
|
+
* X-Notte-Sdk-Version
|
|
8985
|
+
*/
|
|
8986
|
+
'x-notte-sdk-version'?: string | null;
|
|
8987
|
+
};
|
|
8988
|
+
path?: never;
|
|
8989
|
+
query?: never;
|
|
8990
|
+
url: '/mailboxes';
|
|
8991
|
+
};
|
|
8992
|
+
type MailboxListErrors = {
|
|
8993
|
+
/**
|
|
8994
|
+
* Validation Error
|
|
8995
|
+
*/
|
|
8996
|
+
422: HttpValidationError;
|
|
8997
|
+
};
|
|
8998
|
+
type MailboxListError = MailboxListErrors[keyof MailboxListErrors];
|
|
8999
|
+
type MailboxListResponses = {
|
|
9000
|
+
/**
|
|
9001
|
+
* Successful Response
|
|
9002
|
+
*/
|
|
9003
|
+
200: MailboxListResponse;
|
|
9004
|
+
};
|
|
9005
|
+
type MailboxListResponse2 = MailboxListResponses[keyof MailboxListResponses];
|
|
9006
|
+
type MailboxDeleteData = {
|
|
9007
|
+
body?: never;
|
|
9008
|
+
headers?: {
|
|
9009
|
+
/**
|
|
9010
|
+
* X-Notte-Request-Origin
|
|
9011
|
+
*/
|
|
9012
|
+
'x-notte-request-origin'?: string | null;
|
|
9013
|
+
/**
|
|
9014
|
+
* X-Notte-Sdk-Version
|
|
9015
|
+
*/
|
|
9016
|
+
'x-notte-sdk-version'?: string | null;
|
|
9017
|
+
};
|
|
9018
|
+
path: {
|
|
9019
|
+
/**
|
|
9020
|
+
* Mailbox Id
|
|
9021
|
+
*/
|
|
9022
|
+
mailbox_id: string;
|
|
9023
|
+
};
|
|
9024
|
+
query?: never;
|
|
9025
|
+
url: '/mailboxes/{mailbox_id}';
|
|
9026
|
+
};
|
|
9027
|
+
type MailboxDeleteErrors = {
|
|
9028
|
+
/**
|
|
9029
|
+
* Validation Error
|
|
9030
|
+
*/
|
|
9031
|
+
422: HttpValidationError;
|
|
9032
|
+
};
|
|
9033
|
+
type MailboxDeleteError = MailboxDeleteErrors[keyof MailboxDeleteErrors];
|
|
9034
|
+
type MailboxDeleteResponses = {
|
|
9035
|
+
/**
|
|
9036
|
+
* Successful Response
|
|
9037
|
+
*/
|
|
9038
|
+
204: void;
|
|
9039
|
+
};
|
|
9040
|
+
type MailboxDeleteResponse = MailboxDeleteResponses[keyof MailboxDeleteResponses];
|
|
9041
|
+
type MailboxGetData = {
|
|
9042
|
+
body?: never;
|
|
9043
|
+
headers?: {
|
|
9044
|
+
/**
|
|
9045
|
+
* X-Notte-Request-Origin
|
|
9046
|
+
*/
|
|
9047
|
+
'x-notte-request-origin'?: string | null;
|
|
9048
|
+
/**
|
|
9049
|
+
* X-Notte-Sdk-Version
|
|
9050
|
+
*/
|
|
9051
|
+
'x-notte-sdk-version'?: string | null;
|
|
9052
|
+
};
|
|
9053
|
+
path: {
|
|
9054
|
+
/**
|
|
9055
|
+
* Mailbox Id
|
|
9056
|
+
*/
|
|
9057
|
+
mailbox_id: string;
|
|
9058
|
+
};
|
|
9059
|
+
query?: never;
|
|
9060
|
+
url: '/mailboxes/{mailbox_id}';
|
|
9061
|
+
};
|
|
9062
|
+
type MailboxGetErrors = {
|
|
9063
|
+
/**
|
|
9064
|
+
* Validation Error
|
|
9065
|
+
*/
|
|
9066
|
+
422: HttpValidationError;
|
|
9067
|
+
};
|
|
9068
|
+
type MailboxGetError = MailboxGetErrors[keyof MailboxGetErrors];
|
|
9069
|
+
type MailboxGetResponses = {
|
|
9070
|
+
/**
|
|
9071
|
+
* Successful Response
|
|
9072
|
+
*/
|
|
9073
|
+
200: MailboxConnection;
|
|
9074
|
+
};
|
|
9075
|
+
type MailboxGetResponse = MailboxGetResponses[keyof MailboxGetResponses];
|
|
9076
|
+
type MailboxUpdateData = {
|
|
9077
|
+
body: MailboxUpdateRequest;
|
|
9078
|
+
headers?: {
|
|
9079
|
+
/**
|
|
9080
|
+
* X-Notte-Request-Origin
|
|
9081
|
+
*/
|
|
9082
|
+
'x-notte-request-origin'?: string | null;
|
|
9083
|
+
/**
|
|
9084
|
+
* X-Notte-Sdk-Version
|
|
9085
|
+
*/
|
|
9086
|
+
'x-notte-sdk-version'?: string | null;
|
|
9087
|
+
};
|
|
9088
|
+
path: {
|
|
9089
|
+
/**
|
|
9090
|
+
* Mailbox Id
|
|
9091
|
+
*/
|
|
9092
|
+
mailbox_id: string;
|
|
9093
|
+
};
|
|
9094
|
+
query?: never;
|
|
9095
|
+
url: '/mailboxes/{mailbox_id}';
|
|
9096
|
+
};
|
|
9097
|
+
type MailboxUpdateErrors = {
|
|
9098
|
+
/**
|
|
9099
|
+
* Validation Error
|
|
9100
|
+
*/
|
|
9101
|
+
422: HttpValidationError;
|
|
9102
|
+
};
|
|
9103
|
+
type MailboxUpdateError = MailboxUpdateErrors[keyof MailboxUpdateErrors];
|
|
9104
|
+
type MailboxUpdateResponses = {
|
|
9105
|
+
/**
|
|
9106
|
+
* Successful Response
|
|
9107
|
+
*/
|
|
9108
|
+
200: MailboxConnection;
|
|
9109
|
+
};
|
|
9110
|
+
type MailboxUpdateResponse = MailboxUpdateResponses[keyof MailboxUpdateResponses];
|
|
8194
9111
|
type ImprovePromptData = {
|
|
8195
9112
|
body: ImprovePromptRequest;
|
|
8196
9113
|
path?: never;
|
|
@@ -8287,7 +9204,7 @@ type GetUsageLogsData = {
|
|
|
8287
9204
|
*
|
|
8288
9205
|
* The endpoint to filter logs by
|
|
8289
9206
|
*/
|
|
8290
|
-
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' | '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;
|
|
9207
|
+
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;
|
|
8291
9208
|
/**
|
|
8292
9209
|
* Page
|
|
8293
9210
|
*
|
|
@@ -8936,6 +9853,10 @@ declare const functionDelete: <ThrowOnError extends boolean = false>(options: Op
|
|
|
8936
9853
|
* Function Download Url
|
|
8937
9854
|
*/
|
|
8938
9855
|
declare const functionDownloadUrl: <ThrowOnError extends boolean = false>(options: Options<FunctionDownloadUrlData, ThrowOnError>) => RequestResult<FunctionDownloadUrlResponses, FunctionDownloadUrlErrors, ThrowOnError>;
|
|
9856
|
+
/**
|
|
9857
|
+
* Function Metadata Update
|
|
9858
|
+
*/
|
|
9859
|
+
declare const functionMetadataUpdate: <ThrowOnError extends boolean = false>(options: Options<FunctionMetadataUpdateData, ThrowOnError>) => RequestResult<FunctionMetadataUpdateResponses, FunctionMetadataUpdateErrors, ThrowOnError>;
|
|
8939
9860
|
/**
|
|
8940
9861
|
* Function Update
|
|
8941
9862
|
*/
|
|
@@ -9056,6 +9977,10 @@ declare const personaDelete: <ThrowOnError extends boolean = false>(options: Opt
|
|
|
9056
9977
|
* Persona Get
|
|
9057
9978
|
*/
|
|
9058
9979
|
declare const personaGet: <ThrowOnError extends boolean = false>(options: Options<PersonaGetData, ThrowOnError>) => RequestResult<PersonaGetResponses, PersonaGetErrors, ThrowOnError>;
|
|
9980
|
+
/**
|
|
9981
|
+
* Persona Update
|
|
9982
|
+
*/
|
|
9983
|
+
declare const personaUpdate: <ThrowOnError extends boolean = false>(options: Options<PersonaUpdateData, ThrowOnError>) => RequestResult<PersonaUpdateResponses, PersonaUpdateErrors, ThrowOnError>;
|
|
9059
9984
|
/**
|
|
9060
9985
|
* Persona Emails List
|
|
9061
9986
|
*/
|
|
@@ -9068,6 +9993,30 @@ declare const listPersonas: <ThrowOnError extends boolean = false>(options?: Opt
|
|
|
9068
9993
|
* Persona Sms List
|
|
9069
9994
|
*/
|
|
9070
9995
|
declare const personaSmsList: <ThrowOnError extends boolean = false>(options: Options<PersonaSmsListData, ThrowOnError>) => RequestResult<PersonaSmsListResponses, PersonaSmsListErrors, ThrowOnError>;
|
|
9996
|
+
/**
|
|
9997
|
+
* Mailbox Connect Token
|
|
9998
|
+
*/
|
|
9999
|
+
declare const mailboxConnectToken: <ThrowOnError extends boolean = false>(options: Options<MailboxConnectTokenData, ThrowOnError>) => RequestResult<MailboxConnectTokenResponses, MailboxConnectTokenErrors, ThrowOnError>;
|
|
10000
|
+
/**
|
|
10001
|
+
* Mailbox Sync
|
|
10002
|
+
*/
|
|
10003
|
+
declare const mailboxSync: <ThrowOnError extends boolean = false>(options?: Options<MailboxSyncData, ThrowOnError>) => RequestResult<MailboxSyncResponses, MailboxSyncErrors, ThrowOnError>;
|
|
10004
|
+
/**
|
|
10005
|
+
* Mailbox List
|
|
10006
|
+
*/
|
|
10007
|
+
declare const mailboxList: <ThrowOnError extends boolean = false>(options?: Options<MailboxListData, ThrowOnError>) => RequestResult<MailboxListResponses, MailboxListErrors, ThrowOnError>;
|
|
10008
|
+
/**
|
|
10009
|
+
* Mailbox Delete
|
|
10010
|
+
*/
|
|
10011
|
+
declare const mailboxDelete: <ThrowOnError extends boolean = false>(options: Options<MailboxDeleteData, ThrowOnError>) => RequestResult<MailboxDeleteResponses, MailboxDeleteErrors, ThrowOnError>;
|
|
10012
|
+
/**
|
|
10013
|
+
* Mailbox Get
|
|
10014
|
+
*/
|
|
10015
|
+
declare const mailboxGet: <ThrowOnError extends boolean = false>(options: Options<MailboxGetData, ThrowOnError>) => RequestResult<MailboxGetResponses, MailboxGetErrors, ThrowOnError>;
|
|
10016
|
+
/**
|
|
10017
|
+
* Mailbox Update
|
|
10018
|
+
*/
|
|
10019
|
+
declare const mailboxUpdate: <ThrowOnError extends boolean = false>(options: Options<MailboxUpdateData, ThrowOnError>) => RequestResult<MailboxUpdateResponses, MailboxUpdateErrors, ThrowOnError>;
|
|
9071
10020
|
/**
|
|
9072
10021
|
* Improve Prompt
|
|
9073
10022
|
*/
|
|
@@ -9152,6 +10101,12 @@ declare const scrapeFromHtml: <ThrowOnError extends boolean = false>(options: Op
|
|
|
9152
10101
|
declare const client: Client;
|
|
9153
10102
|
|
|
9154
10103
|
interface SessionOptions extends ApiSessionStartRequest {
|
|
10104
|
+
/**
|
|
10105
|
+
* @deprecated Remote sessions always use the supported browser launch mode.
|
|
10106
|
+
* Retained as a boolean so existing typed configuration still compiles.
|
|
10107
|
+
* `true` is discarded; `false` raises a migration error when starting.
|
|
10108
|
+
*/
|
|
10109
|
+
headless?: boolean;
|
|
9155
10110
|
/**
|
|
9156
10111
|
* Open the live viewer in the local default browser after the session starts.
|
|
9157
10112
|
* This is a local SDK option and is not sent to the API.
|
|
@@ -9162,6 +10117,7 @@ declare class Session {
|
|
|
9162
10117
|
private client;
|
|
9163
10118
|
private options;
|
|
9164
10119
|
private openViewer;
|
|
10120
|
+
private legacyHeadless;
|
|
9165
10121
|
private sessionId;
|
|
9166
10122
|
private isActive;
|
|
9167
10123
|
private response;
|
|
@@ -9173,7 +10129,7 @@ declare class Session {
|
|
|
9173
10129
|
/**
|
|
9174
10130
|
* Stop the session - terminates the session on the server
|
|
9175
10131
|
*/
|
|
9176
|
-
stop(): Promise<void>;
|
|
10132
|
+
stop(closeReason?: 'manual' | 'error'): Promise<void>;
|
|
9177
10133
|
/**
|
|
9178
10134
|
* Get session status
|
|
9179
10135
|
*/
|
|
@@ -9512,6 +10468,16 @@ interface FunctionConstructor {
|
|
|
9512
10468
|
function_id: string;
|
|
9513
10469
|
decryption_key?: string;
|
|
9514
10470
|
}
|
|
10471
|
+
interface FunctionUrlOptions {
|
|
10472
|
+
/** Version to download. Defaults to the latest version. */
|
|
10473
|
+
version?: string;
|
|
10474
|
+
/** Overrides the decryption key passed to the constructor. */
|
|
10475
|
+
decryption_key?: string;
|
|
10476
|
+
}
|
|
10477
|
+
interface FunctionDownloadOptions extends FunctionUrlOptions {
|
|
10478
|
+
/** Where to write the code. Must end with `.py`. Returned only when omitted. */
|
|
10479
|
+
path?: string;
|
|
10480
|
+
}
|
|
9515
10481
|
/**
|
|
9516
10482
|
* Function class for managing function runs
|
|
9517
10483
|
*/
|
|
@@ -9528,6 +10494,16 @@ declare class NotteFunction {
|
|
|
9528
10494
|
* Start a function run
|
|
9529
10495
|
*/
|
|
9530
10496
|
run(variables?: Record<string, unknown>): Promise<FunctionRunStartResult>;
|
|
10497
|
+
/**
|
|
10498
|
+
* Get the download URL of the function code, decrypting it when the API
|
|
10499
|
+
* returns an encrypted one (Notte managed functions).
|
|
10500
|
+
*/
|
|
10501
|
+
getUrl(options?: FunctionUrlOptions): Promise<string>;
|
|
10502
|
+
/**
|
|
10503
|
+
* Download the function code as a python file. Returns the code, and writes
|
|
10504
|
+
* it to `path` when one is provided.
|
|
10505
|
+
*/
|
|
10506
|
+
download(options?: FunctionDownloadOptions): Promise<string>;
|
|
9531
10507
|
/**
|
|
9532
10508
|
* Get the function ID
|
|
9533
10509
|
*/
|
|
@@ -9585,9 +10561,22 @@ declare class NotteClient {
|
|
|
9585
10561
|
getConfig(): NotteClientConfig;
|
|
9586
10562
|
}
|
|
9587
10563
|
|
|
10564
|
+
/**
|
|
10565
|
+
* Decrypts the tokens produced by `notte_core.utils.encryption.Encryption`.
|
|
10566
|
+
*
|
|
10567
|
+
* A token is `base64url(salt || fernet_token)`. The Fernet key is derived from
|
|
10568
|
+
* the root key with PBKDF2-HMAC-SHA256 (100k iterations) over that salt, and the
|
|
10569
|
+
* Fernet token itself is AES-128-CBC with an HMAC-SHA256 suffix.
|
|
10570
|
+
*/
|
|
10571
|
+
declare class Encryption {
|
|
10572
|
+
private readonly rootKey;
|
|
10573
|
+
constructor(rootKey: string);
|
|
10574
|
+
decrypt(token: string): string;
|
|
10575
|
+
}
|
|
10576
|
+
|
|
9588
10577
|
declare const createClient: (config?: {
|
|
9589
10578
|
baseUrl?: string;
|
|
9590
10579
|
token?: string;
|
|
9591
10580
|
}) => Client;
|
|
9592
10581
|
|
|
9593
|
-
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 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 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 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 PaginatedResponseGetFunctionRunResponse, type PaginatedResponseGetFunctionRunResponseWritable, 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 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, nudgePrompt, pageExecute, pageObserve, pageScrape, pageScreenshot, personaCreate, personaDelete, personaEmailsList, personaGet, personaSmsList, 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 };
|
|
10582
|
+
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, 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 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 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 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 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, createClient, NotteClient as default, deleteSecret, fileDownload, fileDownloadUploadedFile, fileListDownloads, fileListUploads, fileUpload, fileUploadDownloadedFile, functionCreate, functionDelete, functionDownloadUrl, functionFork, functionMetadataUpdate, 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 };
|