notte-sdk 1.10.18 → 1.10.19
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 +13 -1
- package/dist/index.d.ts +13 -1
- 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
|
@@ -7690,6 +7690,12 @@ type SessionFile = {
|
|
|
7690
7690
|
*/
|
|
7691
7691
|
expires_at: string;
|
|
7692
7692
|
source: FileSource;
|
|
7693
|
+
/**
|
|
7694
|
+
* Browser Download Id
|
|
7695
|
+
*
|
|
7696
|
+
* 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.
|
|
7697
|
+
*/
|
|
7698
|
+
browser_download_id?: string | null;
|
|
7693
7699
|
};
|
|
7694
7700
|
/**
|
|
7695
7701
|
* SessionFilesPage
|
|
@@ -12152,6 +12158,12 @@ type SessionStopData = {
|
|
|
12152
12158
|
* 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
12159
|
*/
|
|
12154
12160
|
wait?: boolean;
|
|
12161
|
+
/**
|
|
12162
|
+
* Close Error
|
|
12163
|
+
*
|
|
12164
|
+
* 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.
|
|
12165
|
+
*/
|
|
12166
|
+
close_error?: string | null;
|
|
12155
12167
|
};
|
|
12156
12168
|
url: '/sessions/{session_id}/stop';
|
|
12157
12169
|
};
|
|
@@ -20455,7 +20467,7 @@ declare class Session {
|
|
|
20455
20467
|
*/
|
|
20456
20468
|
page(): Promise<Page>;
|
|
20457
20469
|
/**
|
|
20458
|
-
* Get the
|
|
20470
|
+
* Get the function code generated from the session steps
|
|
20459
20471
|
* (`GET /sessions/{id}/workflow/code`).
|
|
20460
20472
|
*
|
|
20461
20473
|
* @example
|
package/dist/index.d.ts
CHANGED
|
@@ -7690,6 +7690,12 @@ type SessionFile = {
|
|
|
7690
7690
|
*/
|
|
7691
7691
|
expires_at: string;
|
|
7692
7692
|
source: FileSource;
|
|
7693
|
+
/**
|
|
7694
|
+
* Browser Download Id
|
|
7695
|
+
*
|
|
7696
|
+
* 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.
|
|
7697
|
+
*/
|
|
7698
|
+
browser_download_id?: string | null;
|
|
7693
7699
|
};
|
|
7694
7700
|
/**
|
|
7695
7701
|
* SessionFilesPage
|
|
@@ -12152,6 +12158,12 @@ type SessionStopData = {
|
|
|
12152
12158
|
* 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
12159
|
*/
|
|
12154
12160
|
wait?: boolean;
|
|
12161
|
+
/**
|
|
12162
|
+
* Close Error
|
|
12163
|
+
*
|
|
12164
|
+
* 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.
|
|
12165
|
+
*/
|
|
12166
|
+
close_error?: string | null;
|
|
12155
12167
|
};
|
|
12156
12168
|
url: '/sessions/{session_id}/stop';
|
|
12157
12169
|
};
|
|
@@ -20455,7 +20467,7 @@ declare class Session {
|
|
|
20455
20467
|
*/
|
|
20456
20468
|
page(): Promise<Page>;
|
|
20457
20469
|
/**
|
|
20458
|
-
* Get the
|
|
20470
|
+
* Get the function code generated from the session steps
|
|
20459
20471
|
* (`GET /sessions/{id}/workflow/code`).
|
|
20460
20472
|
*
|
|
20461
20473
|
* @example
|