notte-sdk 1.10.18 → 1.10.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/dist/index.d.mts +90 -12
- package/dist/index.d.ts +90 -12
- package/dist/index.js +167 -115
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +167 -115
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3482,7 +3482,9 @@ type FunctionListItemResponse = {
|
|
|
3482
3482
|
/**
|
|
3483
3483
|
* Reference Workflow Id
|
|
3484
3484
|
*
|
|
3485
|
-
*
|
|
3485
|
+
* Deprecated: use reference_function_id. Removed on 2026-12-28.
|
|
3486
|
+
*
|
|
3487
|
+
* @deprecated
|
|
3486
3488
|
*/
|
|
3487
3489
|
reference_workflow_id?: string | null;
|
|
3488
3490
|
/**
|
|
@@ -3525,8 +3527,18 @@ type FunctionListItemResponse = {
|
|
|
3525
3527
|
domain?: string | null;
|
|
3526
3528
|
/**
|
|
3527
3529
|
* Workflow Id
|
|
3530
|
+
*
|
|
3531
|
+
* Deprecated: use function_id. Removed on 2026-12-28.
|
|
3532
|
+
*
|
|
3533
|
+
* @deprecated
|
|
3528
3534
|
*/
|
|
3529
3535
|
readonly workflow_id: string;
|
|
3536
|
+
/**
|
|
3537
|
+
* Reference Function Id
|
|
3538
|
+
*
|
|
3539
|
+
* The ID of the function this one was copied from, such as a fork's source, or null
|
|
3540
|
+
*/
|
|
3541
|
+
readonly reference_function_id: string | null;
|
|
3530
3542
|
};
|
|
3531
3543
|
/**
|
|
3532
3544
|
* FunctionMetadataUpdateRequest
|
|
@@ -3662,7 +3674,9 @@ type FunctionResponse = {
|
|
|
3662
3674
|
/**
|
|
3663
3675
|
* Reference Workflow Id
|
|
3664
3676
|
*
|
|
3665
|
-
*
|
|
3677
|
+
* Deprecated: use reference_function_id. Removed on 2026-12-28.
|
|
3678
|
+
*
|
|
3679
|
+
* @deprecated
|
|
3666
3680
|
*/
|
|
3667
3681
|
reference_workflow_id?: string | null;
|
|
3668
3682
|
/**
|
|
@@ -3739,8 +3753,18 @@ type FunctionResponse = {
|
|
|
3739
3753
|
schedule_state?: 'enabled' | 'paused' | null;
|
|
3740
3754
|
/**
|
|
3741
3755
|
* Workflow Id
|
|
3756
|
+
*
|
|
3757
|
+
* Deprecated: use function_id. Removed on 2026-12-28.
|
|
3758
|
+
*
|
|
3759
|
+
* @deprecated
|
|
3742
3760
|
*/
|
|
3743
3761
|
readonly workflow_id: string;
|
|
3762
|
+
/**
|
|
3763
|
+
* Reference Function Id
|
|
3764
|
+
*
|
|
3765
|
+
* The ID of the function this one was copied from, such as a fork's source, or null
|
|
3766
|
+
*/
|
|
3767
|
+
readonly reference_function_id: string | null;
|
|
3744
3768
|
};
|
|
3745
3769
|
/**
|
|
3746
3770
|
* FunctionRollbackRequest
|
|
@@ -3850,10 +3874,18 @@ type FunctionRunListItemResponse = {
|
|
|
3850
3874
|
local?: boolean;
|
|
3851
3875
|
/**
|
|
3852
3876
|
* Workflow Id
|
|
3877
|
+
*
|
|
3878
|
+
* Deprecated: use function_id. Removed on 2026-12-28.
|
|
3879
|
+
*
|
|
3880
|
+
* @deprecated
|
|
3853
3881
|
*/
|
|
3854
3882
|
readonly workflow_id: string;
|
|
3855
3883
|
/**
|
|
3856
3884
|
* Workflow Run Id
|
|
3885
|
+
*
|
|
3886
|
+
* Deprecated: use function_run_id. Removed on 2026-12-28.
|
|
3887
|
+
*
|
|
3888
|
+
* @deprecated
|
|
3857
3889
|
*/
|
|
3858
3890
|
readonly workflow_run_id: string;
|
|
3859
3891
|
};
|
|
@@ -3870,13 +3902,13 @@ type FunctionRunUpdateRequest$1 = {
|
|
|
3870
3902
|
/**
|
|
3871
3903
|
* Logs
|
|
3872
3904
|
*
|
|
3873
|
-
* The logs of the
|
|
3905
|
+
* The logs of the function run
|
|
3874
3906
|
*/
|
|
3875
3907
|
logs?: Array<string> | null;
|
|
3876
3908
|
/**
|
|
3877
3909
|
* Variables
|
|
3878
3910
|
*
|
|
3879
|
-
* The variables of the
|
|
3911
|
+
* The variables of the function run
|
|
3880
3912
|
*/
|
|
3881
3913
|
variables?: {
|
|
3882
3914
|
[key: string]: unknown;
|
|
@@ -3884,13 +3916,13 @@ type FunctionRunUpdateRequest$1 = {
|
|
|
3884
3916
|
/**
|
|
3885
3917
|
* Result
|
|
3886
3918
|
*
|
|
3887
|
-
* The result of the
|
|
3919
|
+
* The result of the function run
|
|
3888
3920
|
*/
|
|
3889
3921
|
result?: unknown | null;
|
|
3890
3922
|
/**
|
|
3891
3923
|
* Status
|
|
3892
3924
|
*
|
|
3893
|
-
* The status of the
|
|
3925
|
+
* The status of the function run
|
|
3894
3926
|
*/
|
|
3895
3927
|
status: 'closed' | 'active' | 'failed' | 'rejected';
|
|
3896
3928
|
/**
|
|
@@ -4059,7 +4091,7 @@ type FunctionSource = 'console' | 'anything' | 'cli' | 'node-sdk' | 'python-sdk'
|
|
|
4059
4091
|
/**
|
|
4060
4092
|
* FunctionVersionOrigin
|
|
4061
4093
|
*/
|
|
4062
|
-
type FunctionVersionOrigin = 'self-heal' | 'anything' | 'rollback' | 'fork' | 'console' | 'cli' | 'python-sdk' | 'node-sdk' | 'rest-api';
|
|
4094
|
+
type FunctionVersionOrigin = 'self-heal' | 'anything' | 'rollback' | 'fork' | 'console' | 'cli' | 'python-sdk' | 'node-sdk' | 'rest-api' | 'github';
|
|
4063
4095
|
/**
|
|
4064
4096
|
* FunctionVersionOriginInfo
|
|
4065
4097
|
*/
|
|
@@ -4172,7 +4204,9 @@ type FunctionWithLinkResponse = {
|
|
|
4172
4204
|
/**
|
|
4173
4205
|
* Reference Workflow Id
|
|
4174
4206
|
*
|
|
4175
|
-
*
|
|
4207
|
+
* Deprecated: use reference_function_id. Removed on 2026-12-28.
|
|
4208
|
+
*
|
|
4209
|
+
* @deprecated
|
|
4176
4210
|
*/
|
|
4177
4211
|
reference_workflow_id?: string | null;
|
|
4178
4212
|
/**
|
|
@@ -4255,8 +4289,18 @@ type FunctionWithLinkResponse = {
|
|
|
4255
4289
|
version_origins?: Array<FunctionVersionOriginInfo> | null;
|
|
4256
4290
|
/**
|
|
4257
4291
|
* Workflow Id
|
|
4292
|
+
*
|
|
4293
|
+
* Deprecated: use function_id. Removed on 2026-12-28.
|
|
4294
|
+
*
|
|
4295
|
+
* @deprecated
|
|
4258
4296
|
*/
|
|
4259
4297
|
readonly workflow_id: string;
|
|
4298
|
+
/**
|
|
4299
|
+
* Reference Function Id
|
|
4300
|
+
*
|
|
4301
|
+
* The ID of the function this one was copied from, such as a fork's source, or null
|
|
4302
|
+
*/
|
|
4303
|
+
readonly reference_function_id: string | null;
|
|
4260
4304
|
};
|
|
4261
4305
|
/**
|
|
4262
4306
|
* GetCookiesResponse
|
|
@@ -4373,10 +4417,18 @@ type GetFunctionRunResponse$1 = {
|
|
|
4373
4417
|
};
|
|
4374
4418
|
/**
|
|
4375
4419
|
* Workflow Id
|
|
4420
|
+
*
|
|
4421
|
+
* Deprecated: use function_id. Removed on 2026-12-28.
|
|
4422
|
+
*
|
|
4423
|
+
* @deprecated
|
|
4376
4424
|
*/
|
|
4377
4425
|
readonly workflow_id: string;
|
|
4378
4426
|
/**
|
|
4379
4427
|
* Workflow Run Id
|
|
4428
|
+
*
|
|
4429
|
+
* Deprecated: use function_run_id. Removed on 2026-12-28.
|
|
4430
|
+
*
|
|
4431
|
+
* @deprecated
|
|
4380
4432
|
*/
|
|
4381
4433
|
readonly workflow_run_id: string;
|
|
4382
4434
|
};
|
|
@@ -7690,6 +7742,12 @@ type SessionFile = {
|
|
|
7690
7742
|
*/
|
|
7691
7743
|
expires_at: string;
|
|
7692
7744
|
source: FileSource;
|
|
7745
|
+
/**
|
|
7746
|
+
* Browser Download Id
|
|
7747
|
+
*
|
|
7748
|
+
* The browser's id for the download this file came from: Chrome's download guid, which a CDP client reads from `Browser.downloadWillBegin`. Null for files that did not come from a browser download.
|
|
7749
|
+
*/
|
|
7750
|
+
browser_download_id?: string | null;
|
|
7693
7751
|
};
|
|
7694
7752
|
/**
|
|
7695
7753
|
* SessionFilesPage
|
|
@@ -8433,10 +8491,18 @@ type UpdateFunctionRunResponse = {
|
|
|
8433
8491
|
error?: FunctionRunError | null;
|
|
8434
8492
|
/**
|
|
8435
8493
|
* Workflow Id
|
|
8494
|
+
*
|
|
8495
|
+
* Deprecated: use function_id. Removed on 2026-12-28.
|
|
8496
|
+
*
|
|
8497
|
+
* @deprecated
|
|
8436
8498
|
*/
|
|
8437
8499
|
readonly workflow_id: string;
|
|
8438
8500
|
/**
|
|
8439
8501
|
* Workflow Run Id
|
|
8502
|
+
*
|
|
8503
|
+
* Deprecated: use function_run_id. Removed on 2026-12-28.
|
|
8504
|
+
*
|
|
8505
|
+
* @deprecated
|
|
8440
8506
|
*/
|
|
8441
8507
|
readonly workflow_run_id: string;
|
|
8442
8508
|
};
|
|
@@ -10791,7 +10857,9 @@ type FunctionListItemResponseWritable = {
|
|
|
10791
10857
|
/**
|
|
10792
10858
|
* Reference Workflow Id
|
|
10793
10859
|
*
|
|
10794
|
-
*
|
|
10860
|
+
* Deprecated: use reference_function_id. Removed on 2026-12-28.
|
|
10861
|
+
*
|
|
10862
|
+
* @deprecated
|
|
10795
10863
|
*/
|
|
10796
10864
|
reference_workflow_id?: string | null;
|
|
10797
10865
|
/**
|
|
@@ -10912,7 +10980,9 @@ type FunctionResponseWritable = {
|
|
|
10912
10980
|
/**
|
|
10913
10981
|
* Reference Workflow Id
|
|
10914
10982
|
*
|
|
10915
|
-
*
|
|
10983
|
+
* Deprecated: use reference_function_id. Removed on 2026-12-28.
|
|
10984
|
+
*
|
|
10985
|
+
* @deprecated
|
|
10916
10986
|
*/
|
|
10917
10987
|
reference_workflow_id?: string | null;
|
|
10918
10988
|
/**
|
|
@@ -11110,7 +11180,9 @@ type FunctionWithLinkResponseWritable = {
|
|
|
11110
11180
|
/**
|
|
11111
11181
|
* Reference Workflow Id
|
|
11112
11182
|
*
|
|
11113
|
-
*
|
|
11183
|
+
* Deprecated: use reference_function_id. Removed on 2026-12-28.
|
|
11184
|
+
*
|
|
11185
|
+
* @deprecated
|
|
11114
11186
|
*/
|
|
11115
11187
|
reference_workflow_id?: string | null;
|
|
11116
11188
|
/**
|
|
@@ -12152,6 +12224,12 @@ type SessionStopData = {
|
|
|
12152
12224
|
* Answer only once the session's close has finished its background work: its last CDP actions and steps are stored, its replay is finalized, its final network usage is written and its browser is released. The response's `steps` and network usage are then complete. Waits at most 30 seconds from the request, the close included, then answers what is stored. Defaults to false: the stop answers as soon as the session is closed, and that work finishes after the response. With `wait`, a session already stopped answers what is stored for it instead of 400: if its close is still finishing elsewhere, its last steps may not be stored yet.
|
|
12153
12225
|
*/
|
|
12154
12226
|
wait?: boolean;
|
|
12227
|
+
/**
|
|
12228
|
+
* Close Error
|
|
12229
|
+
*
|
|
12230
|
+
* What failed on the client when it stops a session with `close_reason=error`, such as the type and message of the exception that ended it. Kept with the stop's usage log for debugging (at most 500 characters, longer is cut); it changes nothing about the close.
|
|
12231
|
+
*/
|
|
12232
|
+
close_error?: string | null;
|
|
12155
12233
|
};
|
|
12156
12234
|
url: '/sessions/{session_id}/stop';
|
|
12157
12235
|
};
|
|
@@ -20455,7 +20533,7 @@ declare class Session {
|
|
|
20455
20533
|
*/
|
|
20456
20534
|
page(): Promise<Page>;
|
|
20457
20535
|
/**
|
|
20458
|
-
* Get the
|
|
20536
|
+
* Get the function code generated from the session steps
|
|
20459
20537
|
* (`GET /sessions/{id}/workflow/code`).
|
|
20460
20538
|
*
|
|
20461
20539
|
* @example
|
package/dist/index.d.ts
CHANGED
|
@@ -3482,7 +3482,9 @@ type FunctionListItemResponse = {
|
|
|
3482
3482
|
/**
|
|
3483
3483
|
* Reference Workflow Id
|
|
3484
3484
|
*
|
|
3485
|
-
*
|
|
3485
|
+
* Deprecated: use reference_function_id. Removed on 2026-12-28.
|
|
3486
|
+
*
|
|
3487
|
+
* @deprecated
|
|
3486
3488
|
*/
|
|
3487
3489
|
reference_workflow_id?: string | null;
|
|
3488
3490
|
/**
|
|
@@ -3525,8 +3527,18 @@ type FunctionListItemResponse = {
|
|
|
3525
3527
|
domain?: string | null;
|
|
3526
3528
|
/**
|
|
3527
3529
|
* Workflow Id
|
|
3530
|
+
*
|
|
3531
|
+
* Deprecated: use function_id. Removed on 2026-12-28.
|
|
3532
|
+
*
|
|
3533
|
+
* @deprecated
|
|
3528
3534
|
*/
|
|
3529
3535
|
readonly workflow_id: string;
|
|
3536
|
+
/**
|
|
3537
|
+
* Reference Function Id
|
|
3538
|
+
*
|
|
3539
|
+
* The ID of the function this one was copied from, such as a fork's source, or null
|
|
3540
|
+
*/
|
|
3541
|
+
readonly reference_function_id: string | null;
|
|
3530
3542
|
};
|
|
3531
3543
|
/**
|
|
3532
3544
|
* FunctionMetadataUpdateRequest
|
|
@@ -3662,7 +3674,9 @@ type FunctionResponse = {
|
|
|
3662
3674
|
/**
|
|
3663
3675
|
* Reference Workflow Id
|
|
3664
3676
|
*
|
|
3665
|
-
*
|
|
3677
|
+
* Deprecated: use reference_function_id. Removed on 2026-12-28.
|
|
3678
|
+
*
|
|
3679
|
+
* @deprecated
|
|
3666
3680
|
*/
|
|
3667
3681
|
reference_workflow_id?: string | null;
|
|
3668
3682
|
/**
|
|
@@ -3739,8 +3753,18 @@ type FunctionResponse = {
|
|
|
3739
3753
|
schedule_state?: 'enabled' | 'paused' | null;
|
|
3740
3754
|
/**
|
|
3741
3755
|
* Workflow Id
|
|
3756
|
+
*
|
|
3757
|
+
* Deprecated: use function_id. Removed on 2026-12-28.
|
|
3758
|
+
*
|
|
3759
|
+
* @deprecated
|
|
3742
3760
|
*/
|
|
3743
3761
|
readonly workflow_id: string;
|
|
3762
|
+
/**
|
|
3763
|
+
* Reference Function Id
|
|
3764
|
+
*
|
|
3765
|
+
* The ID of the function this one was copied from, such as a fork's source, or null
|
|
3766
|
+
*/
|
|
3767
|
+
readonly reference_function_id: string | null;
|
|
3744
3768
|
};
|
|
3745
3769
|
/**
|
|
3746
3770
|
* FunctionRollbackRequest
|
|
@@ -3850,10 +3874,18 @@ type FunctionRunListItemResponse = {
|
|
|
3850
3874
|
local?: boolean;
|
|
3851
3875
|
/**
|
|
3852
3876
|
* Workflow Id
|
|
3877
|
+
*
|
|
3878
|
+
* Deprecated: use function_id. Removed on 2026-12-28.
|
|
3879
|
+
*
|
|
3880
|
+
* @deprecated
|
|
3853
3881
|
*/
|
|
3854
3882
|
readonly workflow_id: string;
|
|
3855
3883
|
/**
|
|
3856
3884
|
* Workflow Run Id
|
|
3885
|
+
*
|
|
3886
|
+
* Deprecated: use function_run_id. Removed on 2026-12-28.
|
|
3887
|
+
*
|
|
3888
|
+
* @deprecated
|
|
3857
3889
|
*/
|
|
3858
3890
|
readonly workflow_run_id: string;
|
|
3859
3891
|
};
|
|
@@ -3870,13 +3902,13 @@ type FunctionRunUpdateRequest$1 = {
|
|
|
3870
3902
|
/**
|
|
3871
3903
|
* Logs
|
|
3872
3904
|
*
|
|
3873
|
-
* The logs of the
|
|
3905
|
+
* The logs of the function run
|
|
3874
3906
|
*/
|
|
3875
3907
|
logs?: Array<string> | null;
|
|
3876
3908
|
/**
|
|
3877
3909
|
* Variables
|
|
3878
3910
|
*
|
|
3879
|
-
* The variables of the
|
|
3911
|
+
* The variables of the function run
|
|
3880
3912
|
*/
|
|
3881
3913
|
variables?: {
|
|
3882
3914
|
[key: string]: unknown;
|
|
@@ -3884,13 +3916,13 @@ type FunctionRunUpdateRequest$1 = {
|
|
|
3884
3916
|
/**
|
|
3885
3917
|
* Result
|
|
3886
3918
|
*
|
|
3887
|
-
* The result of the
|
|
3919
|
+
* The result of the function run
|
|
3888
3920
|
*/
|
|
3889
3921
|
result?: unknown | null;
|
|
3890
3922
|
/**
|
|
3891
3923
|
* Status
|
|
3892
3924
|
*
|
|
3893
|
-
* The status of the
|
|
3925
|
+
* The status of the function run
|
|
3894
3926
|
*/
|
|
3895
3927
|
status: 'closed' | 'active' | 'failed' | 'rejected';
|
|
3896
3928
|
/**
|
|
@@ -4059,7 +4091,7 @@ type FunctionSource = 'console' | 'anything' | 'cli' | 'node-sdk' | 'python-sdk'
|
|
|
4059
4091
|
/**
|
|
4060
4092
|
* FunctionVersionOrigin
|
|
4061
4093
|
*/
|
|
4062
|
-
type FunctionVersionOrigin = 'self-heal' | 'anything' | 'rollback' | 'fork' | 'console' | 'cli' | 'python-sdk' | 'node-sdk' | 'rest-api';
|
|
4094
|
+
type FunctionVersionOrigin = 'self-heal' | 'anything' | 'rollback' | 'fork' | 'console' | 'cli' | 'python-sdk' | 'node-sdk' | 'rest-api' | 'github';
|
|
4063
4095
|
/**
|
|
4064
4096
|
* FunctionVersionOriginInfo
|
|
4065
4097
|
*/
|
|
@@ -4172,7 +4204,9 @@ type FunctionWithLinkResponse = {
|
|
|
4172
4204
|
/**
|
|
4173
4205
|
* Reference Workflow Id
|
|
4174
4206
|
*
|
|
4175
|
-
*
|
|
4207
|
+
* Deprecated: use reference_function_id. Removed on 2026-12-28.
|
|
4208
|
+
*
|
|
4209
|
+
* @deprecated
|
|
4176
4210
|
*/
|
|
4177
4211
|
reference_workflow_id?: string | null;
|
|
4178
4212
|
/**
|
|
@@ -4255,8 +4289,18 @@ type FunctionWithLinkResponse = {
|
|
|
4255
4289
|
version_origins?: Array<FunctionVersionOriginInfo> | null;
|
|
4256
4290
|
/**
|
|
4257
4291
|
* Workflow Id
|
|
4292
|
+
*
|
|
4293
|
+
* Deprecated: use function_id. Removed on 2026-12-28.
|
|
4294
|
+
*
|
|
4295
|
+
* @deprecated
|
|
4258
4296
|
*/
|
|
4259
4297
|
readonly workflow_id: string;
|
|
4298
|
+
/**
|
|
4299
|
+
* Reference Function Id
|
|
4300
|
+
*
|
|
4301
|
+
* The ID of the function this one was copied from, such as a fork's source, or null
|
|
4302
|
+
*/
|
|
4303
|
+
readonly reference_function_id: string | null;
|
|
4260
4304
|
};
|
|
4261
4305
|
/**
|
|
4262
4306
|
* GetCookiesResponse
|
|
@@ -4373,10 +4417,18 @@ type GetFunctionRunResponse$1 = {
|
|
|
4373
4417
|
};
|
|
4374
4418
|
/**
|
|
4375
4419
|
* Workflow Id
|
|
4420
|
+
*
|
|
4421
|
+
* Deprecated: use function_id. Removed on 2026-12-28.
|
|
4422
|
+
*
|
|
4423
|
+
* @deprecated
|
|
4376
4424
|
*/
|
|
4377
4425
|
readonly workflow_id: string;
|
|
4378
4426
|
/**
|
|
4379
4427
|
* Workflow Run Id
|
|
4428
|
+
*
|
|
4429
|
+
* Deprecated: use function_run_id. Removed on 2026-12-28.
|
|
4430
|
+
*
|
|
4431
|
+
* @deprecated
|
|
4380
4432
|
*/
|
|
4381
4433
|
readonly workflow_run_id: string;
|
|
4382
4434
|
};
|
|
@@ -7690,6 +7742,12 @@ type SessionFile = {
|
|
|
7690
7742
|
*/
|
|
7691
7743
|
expires_at: string;
|
|
7692
7744
|
source: FileSource;
|
|
7745
|
+
/**
|
|
7746
|
+
* Browser Download Id
|
|
7747
|
+
*
|
|
7748
|
+
* The browser's id for the download this file came from: Chrome's download guid, which a CDP client reads from `Browser.downloadWillBegin`. Null for files that did not come from a browser download.
|
|
7749
|
+
*/
|
|
7750
|
+
browser_download_id?: string | null;
|
|
7693
7751
|
};
|
|
7694
7752
|
/**
|
|
7695
7753
|
* SessionFilesPage
|
|
@@ -8433,10 +8491,18 @@ type UpdateFunctionRunResponse = {
|
|
|
8433
8491
|
error?: FunctionRunError | null;
|
|
8434
8492
|
/**
|
|
8435
8493
|
* Workflow Id
|
|
8494
|
+
*
|
|
8495
|
+
* Deprecated: use function_id. Removed on 2026-12-28.
|
|
8496
|
+
*
|
|
8497
|
+
* @deprecated
|
|
8436
8498
|
*/
|
|
8437
8499
|
readonly workflow_id: string;
|
|
8438
8500
|
/**
|
|
8439
8501
|
* Workflow Run Id
|
|
8502
|
+
*
|
|
8503
|
+
* Deprecated: use function_run_id. Removed on 2026-12-28.
|
|
8504
|
+
*
|
|
8505
|
+
* @deprecated
|
|
8440
8506
|
*/
|
|
8441
8507
|
readonly workflow_run_id: string;
|
|
8442
8508
|
};
|
|
@@ -10791,7 +10857,9 @@ type FunctionListItemResponseWritable = {
|
|
|
10791
10857
|
/**
|
|
10792
10858
|
* Reference Workflow Id
|
|
10793
10859
|
*
|
|
10794
|
-
*
|
|
10860
|
+
* Deprecated: use reference_function_id. Removed on 2026-12-28.
|
|
10861
|
+
*
|
|
10862
|
+
* @deprecated
|
|
10795
10863
|
*/
|
|
10796
10864
|
reference_workflow_id?: string | null;
|
|
10797
10865
|
/**
|
|
@@ -10912,7 +10980,9 @@ type FunctionResponseWritable = {
|
|
|
10912
10980
|
/**
|
|
10913
10981
|
* Reference Workflow Id
|
|
10914
10982
|
*
|
|
10915
|
-
*
|
|
10983
|
+
* Deprecated: use reference_function_id. Removed on 2026-12-28.
|
|
10984
|
+
*
|
|
10985
|
+
* @deprecated
|
|
10916
10986
|
*/
|
|
10917
10987
|
reference_workflow_id?: string | null;
|
|
10918
10988
|
/**
|
|
@@ -11110,7 +11180,9 @@ type FunctionWithLinkResponseWritable = {
|
|
|
11110
11180
|
/**
|
|
11111
11181
|
* Reference Workflow Id
|
|
11112
11182
|
*
|
|
11113
|
-
*
|
|
11183
|
+
* Deprecated: use reference_function_id. Removed on 2026-12-28.
|
|
11184
|
+
*
|
|
11185
|
+
* @deprecated
|
|
11114
11186
|
*/
|
|
11115
11187
|
reference_workflow_id?: string | null;
|
|
11116
11188
|
/**
|
|
@@ -12152,6 +12224,12 @@ type SessionStopData = {
|
|
|
12152
12224
|
* Answer only once the session's close has finished its background work: its last CDP actions and steps are stored, its replay is finalized, its final network usage is written and its browser is released. The response's `steps` and network usage are then complete. Waits at most 30 seconds from the request, the close included, then answers what is stored. Defaults to false: the stop answers as soon as the session is closed, and that work finishes after the response. With `wait`, a session already stopped answers what is stored for it instead of 400: if its close is still finishing elsewhere, its last steps may not be stored yet.
|
|
12153
12225
|
*/
|
|
12154
12226
|
wait?: boolean;
|
|
12227
|
+
/**
|
|
12228
|
+
* Close Error
|
|
12229
|
+
*
|
|
12230
|
+
* What failed on the client when it stops a session with `close_reason=error`, such as the type and message of the exception that ended it. Kept with the stop's usage log for debugging (at most 500 characters, longer is cut); it changes nothing about the close.
|
|
12231
|
+
*/
|
|
12232
|
+
close_error?: string | null;
|
|
12155
12233
|
};
|
|
12156
12234
|
url: '/sessions/{session_id}/stop';
|
|
12157
12235
|
};
|
|
@@ -20455,7 +20533,7 @@ declare class Session {
|
|
|
20455
20533
|
*/
|
|
20456
20534
|
page(): Promise<Page>;
|
|
20457
20535
|
/**
|
|
20458
|
-
* Get the
|
|
20536
|
+
* Get the function code generated from the session steps
|
|
20459
20537
|
* (`GET /sessions/{id}/workflow/code`).
|
|
20460
20538
|
*
|
|
20461
20539
|
* @example
|