gologin-commonjs 2.1.13 → 3.0.0
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/src/gologin.js +299 -248
- package/dist/src/utils/timezone.js +21 -0
- package/gologin/.eslintrc.json +290 -0
- package/gologin/package.json +1 -1
- package/gologin/src/gologin.js +671 -395
- package/gologin/src/utils/timezone.js +470 -0
- package/package.json +3 -1
- package/tes.js +2 -1
- package/tsconfig.json +23 -0
- package/types/fonts.d.ts +21 -0
- package/types/{bookmarks → src/bookmarks}/utils.d.ts +0 -1
- package/types/src/browser/browser-api.d.ts +10 -0
- package/types/{browser → src/browser}/browser-checker.d.ts +1 -2
- package/types/{browser → src/browser}/browser-user-data-manager.d.ts +0 -1
- package/types/{cookies → src/cookies}/cookies-manager.d.ts +7 -3
- package/types/{extensions → src/extensions}/extensions-extractor.d.ts +0 -1
- package/types/{extensions → src/extensions}/extensions-manager.d.ts +4 -7
- package/types/{extensions → src/extensions}/user-extensions-manager.d.ts +1 -2
- package/types/src/gologin-api.d.ts +17 -0
- package/types/{gologin.d.ts → src/gologin.d.ts} +18 -35
- package/types/{profile → src/profile}/profile-archiver.d.ts +1 -2
- package/types/{profile → src/profile}/profile-directories-to-remove.d.ts +0 -1
- package/types/{utils → src/utils}/browser.d.ts +0 -1
- package/types/src/utils/common.d.ts +10 -0
- package/types/{utils → src/utils}/constants.d.ts +0 -1
- package/types/src/utils/timezone.d.ts +1 -0
- package/types/{utils → src/utils}/utils.d.ts +0 -1
- package/types/src/utils/zero-profile-bookmarks.d.ts +41 -0
- package/types/src/utils/zero-profile-preferences.d.ts +219 -0
- package/dist/fonts_config +0 -104
- package/dist/gologin-browser-ext.zip +0 -0
- package/dist/gologin_zeroprofile.b64 +0 -1
- package/dist/index.d.ts +0 -61
- package/dist/zero_profile.zip +0 -0
- package/types/browser/browser-api.d.ts +0 -10
- package/types/utils/common.d.ts +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gologin-commonjs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "A Transpiled GoLogin API ESM to CommonJS",
|
|
5
5
|
"types": "./types/gologin.d.ts",
|
|
6
6
|
"main": "./dist/src/gologin.js",
|
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
"typescript": "^5.5.4"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
|
+
"tsc": "tsc",
|
|
44
|
+
"build": "npx tsc && babel gologin --out-dir dist",
|
|
43
45
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
44
46
|
"format": "npx prettier --single-quote src/* --write",
|
|
45
47
|
"iphey": "GOLOGIN_PROFILE_ID= GOLOGIN_API_TOKEN= node examples/example-iphey "
|
package/tes.js
CHANGED
|
@@ -5,12 +5,13 @@ const { GoLogin } = require("./dist/src/gologin");
|
|
|
5
5
|
|
|
6
6
|
const token =
|
|
7
7
|
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NmQyNWY1YWIyYjc0NjE1ZDYwODQ5NmIiLCJ0eXBlIjoiZGV2Iiwiand0aWQiOiI2NmQ1MGI2MjI3Y2JiYzZlM2NkNjE3MmIifQ.q07McCw7YA7K2EDavmr6jM5l_deKzWtVeDhMeuEMmkU";
|
|
8
|
-
const profile_id = "
|
|
8
|
+
const profile_id = "67b960fce0fa428c4a0221f4";
|
|
9
9
|
|
|
10
10
|
(async () => {
|
|
11
11
|
const GL = new GoLogin({
|
|
12
12
|
token,
|
|
13
13
|
profile_id,
|
|
14
|
+
uploadCookiesToServer: true,
|
|
14
15
|
});
|
|
15
16
|
|
|
16
17
|
try {
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
// Change this to match your project
|
|
3
|
+
"include": [
|
|
4
|
+
"gologin/src/**/*"
|
|
5
|
+
],
|
|
6
|
+
"compilerOptions": {
|
|
7
|
+
// Tells TypeScript to read JS files, as
|
|
8
|
+
// normally they are ignored as source files
|
|
9
|
+
"allowJs": true,
|
|
10
|
+
// Generate d.ts files
|
|
11
|
+
"declaration": true,
|
|
12
|
+
// This compiler run should
|
|
13
|
+
// only output d.ts files
|
|
14
|
+
"emitDeclarationOnly": true,
|
|
15
|
+
// Types should go into this directory.
|
|
16
|
+
// Removing this would place the .d.ts files
|
|
17
|
+
// next to the .js files
|
|
18
|
+
"outDir": "types",
|
|
19
|
+
// go to js file when using IDE functions like
|
|
20
|
+
// "Go to Definition" in VSCode
|
|
21
|
+
"declarationMap": false
|
|
22
|
+
}
|
|
23
|
+
}
|
package/types/fonts.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const fontsCollection: ({
|
|
2
|
+
name: string;
|
|
3
|
+
value: string;
|
|
4
|
+
fileNames: string[];
|
|
5
|
+
os: string[];
|
|
6
|
+
} | {
|
|
7
|
+
name: string;
|
|
8
|
+
value: string;
|
|
9
|
+
fileNames?: undefined;
|
|
10
|
+
os?: undefined;
|
|
11
|
+
} | {
|
|
12
|
+
name: string;
|
|
13
|
+
value: string;
|
|
14
|
+
fileNames: string[];
|
|
15
|
+
os?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
name: string;
|
|
18
|
+
value: string;
|
|
19
|
+
os: string[];
|
|
20
|
+
fileNames?: undefined;
|
|
21
|
+
})[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function updateProfileResolution(profileId: string, ACCESS_TOKEN: string, resolution: string): any;
|
|
2
|
+
export function updateProfileUserAgent(profileId: string, ACCESS_TOKEN: string, userAgent: string): any;
|
|
3
|
+
export function updateProfileProxy(profileId: string, ACCESS_TOKEN: string, browserProxyData: {
|
|
4
|
+
mode: "http" | "socks4" | "socks5" | "none";
|
|
5
|
+
host?: string;
|
|
6
|
+
port?: string;
|
|
7
|
+
username?: string;
|
|
8
|
+
password?: string;
|
|
9
|
+
}): any;
|
|
10
|
+
export function updateProfileBookmarks(profileIds: any, ACCESS_TOKEN: string, bookmarks: any): Promise<any>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export const __esModule: boolean;
|
|
2
|
-
export default BrowserChecker;
|
|
3
1
|
export class BrowserChecker {
|
|
4
2
|
constructor(skipOrbitaHashChecking: any);
|
|
5
3
|
checkBrowser(autoUpdateBrowser?: boolean, checkBrowserUpdate?: boolean): Promise<any>;
|
|
@@ -19,3 +17,4 @@ export class BrowserChecker {
|
|
|
19
17
|
deleteDir(path?: string): Promise<any>;
|
|
20
18
|
#private;
|
|
21
19
|
}
|
|
20
|
+
export default BrowserChecker;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
export
|
|
2
|
-
export function
|
|
1
|
+
export function getDB(filePath: any, readOnly?: boolean): Promise<import("sqlite").Database<import("sqlite3").Database, import("sqlite3").Statement>>;
|
|
2
|
+
export function createDBFile({ cookiesFilePath, cookiesFileSecondPath, createCookiesTableQuery, }: {
|
|
3
|
+
cookiesFilePath: any;
|
|
4
|
+
cookiesFileSecondPath: any;
|
|
5
|
+
createCookiesTableQuery: any;
|
|
6
|
+
}): Promise<void>;
|
|
7
|
+
export function getUniqueCookies(cookiesArr: any, cookiesFilePath: any): Promise<any>;
|
|
3
8
|
export function getChunckedInsertValues(cookiesArr: any): any[][];
|
|
4
9
|
export function loadCookiesFromFile(filePath: any): Promise<{
|
|
5
10
|
url: string;
|
|
@@ -20,4 +25,3 @@ export function ldapToUnix(ldap: any): any;
|
|
|
20
25
|
export function buildCookieURL(domain: any, secure: any, path: any): string;
|
|
21
26
|
export function chunk(arr: any, chunkSize?: number, cache?: any[]): any[];
|
|
22
27
|
export function getCookiesFilePath(profileId: any, tmpdir: any): Promise<any>;
|
|
23
|
-
import _sqlite = require("sqlite");
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
export
|
|
2
|
-
export default ExtensionsManager;
|
|
3
|
-
declare const ExtensionsManager_base: any;
|
|
4
|
-
export class ExtensionsManager extends ExtensionsManager_base {
|
|
5
|
-
[x: string]: any;
|
|
1
|
+
export class ExtensionsManager extends UserExtensionsManager {
|
|
6
2
|
init(): Promise<any>;
|
|
7
|
-
existedUserExtensions: any;
|
|
8
3
|
get isInited(): boolean;
|
|
9
4
|
get useLocalExtStorage(): boolean;
|
|
10
5
|
get deleteProfileExtFolders(): boolean;
|
|
11
6
|
get useCookiesExt(): boolean;
|
|
12
7
|
get existedChromeExtensionsList(): any[];
|
|
13
|
-
checkChromeExtensions(profileExtensions?: any[]): Promise<any>;
|
|
8
|
+
checkChromeExtensions(profileExtensions?: any[]): Promise<any[]>;
|
|
14
9
|
downloadChromeExtensions(idsToDownload?: any[]): Promise<any>;
|
|
15
10
|
getExtensionsPolicies(): Promise<void>;
|
|
16
11
|
updateExtensions(): Promise<void>;
|
|
@@ -19,3 +14,5 @@ export class ExtensionsManager extends ExtensionsManager_base {
|
|
|
19
14
|
getExtensionsToInstall(extensionsFromPref: any, extensionsFromDB: any): any;
|
|
20
15
|
#private;
|
|
21
16
|
}
|
|
17
|
+
export default ExtensionsManager;
|
|
18
|
+
import UserExtensionsManager from './user-extensions-manager.js';
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export const __esModule: boolean;
|
|
2
|
-
export default UserExtensionsManager;
|
|
3
1
|
export class UserExtensionsManager {
|
|
4
2
|
set userAgent(userAgent: string);
|
|
5
3
|
get userAgent(): string;
|
|
@@ -17,3 +15,4 @@ export class UserExtensionsManager {
|
|
|
17
15
|
generateExtensionId(): string;
|
|
18
16
|
#private;
|
|
19
17
|
}
|
|
18
|
+
export default UserExtensionsManager;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export function getDefaultParams(): {
|
|
2
|
+
token: any;
|
|
3
|
+
profile_id: any;
|
|
4
|
+
executablePath: any;
|
|
5
|
+
autoUpdateBrowser: boolean;
|
|
6
|
+
};
|
|
7
|
+
export function GologinApi({ token }: {
|
|
8
|
+
token: any;
|
|
9
|
+
}): {
|
|
10
|
+
launch(params?: {}): Promise<{
|
|
11
|
+
browser: any;
|
|
12
|
+
}>;
|
|
13
|
+
exit(status?: number): Promise<void>;
|
|
14
|
+
delay: (ms?: number) => any;
|
|
15
|
+
};
|
|
16
|
+
export function exitAll(): void;
|
|
17
|
+
export function delay(ms?: number): any;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
declare class GoLogin {
|
|
1
|
+
export class GoLogin {
|
|
3
2
|
constructor(options?: {});
|
|
4
3
|
browserLang: string;
|
|
5
|
-
is_remote: any;
|
|
6
4
|
access_token: any;
|
|
7
5
|
profile_id: any;
|
|
8
6
|
password: any;
|
|
@@ -15,12 +13,14 @@ declare class GoLogin {
|
|
|
15
13
|
differentOs: boolean;
|
|
16
14
|
profileOs: string;
|
|
17
15
|
waitWebsocket: any;
|
|
16
|
+
isEmptyFonts: boolean;
|
|
17
|
+
isFirstSession: boolean;
|
|
18
18
|
isCloudHeadless: any;
|
|
19
|
-
|
|
19
|
+
storageGatewayUrl: string;
|
|
20
20
|
tmpdir: any;
|
|
21
21
|
autoUpdateBrowser: boolean;
|
|
22
22
|
checkBrowserUpdate: any;
|
|
23
|
-
browserChecker:
|
|
23
|
+
browserChecker: BrowserChecker;
|
|
24
24
|
uploadCookiesToServer: any;
|
|
25
25
|
writeCookiesFromServer: any;
|
|
26
26
|
remote_debugging_port: any;
|
|
@@ -40,20 +40,19 @@ declare class GoLogin {
|
|
|
40
40
|
profiles(): Promise<any>;
|
|
41
41
|
getProfile(profile_id: any): Promise<any>;
|
|
42
42
|
emptyProfile(): Promise<any>;
|
|
43
|
-
getProfileS3(
|
|
43
|
+
getProfileS3(): Promise<any>;
|
|
44
44
|
postFile(fileName: any, fileBuff: any): Promise<void>;
|
|
45
45
|
emptyProfileFolder(): Promise<any>;
|
|
46
46
|
convertPreferences(preferences: any): any;
|
|
47
47
|
createBrowserExtension(): Promise<void>;
|
|
48
48
|
extractProfile(path: any, zipfile: any): any;
|
|
49
|
+
downloadProfileAndExtract(profile: any, local: any): Promise<void>;
|
|
50
|
+
createZeroProfile(createCookiesTableQuery: any): Promise<void>;
|
|
49
51
|
createStartup(local?: boolean): Promise<any>;
|
|
50
52
|
language: any;
|
|
51
53
|
resolution: {
|
|
52
54
|
width: number;
|
|
53
55
|
height: number;
|
|
54
|
-
} | {
|
|
55
|
-
width: number;
|
|
56
|
-
height: number;
|
|
57
56
|
};
|
|
58
57
|
proxy: any;
|
|
59
58
|
commitProfile(): Promise<void>;
|
|
@@ -71,6 +70,7 @@ declare class GoLogin {
|
|
|
71
70
|
createStartupAndSpawnBrowser(): Promise<any>;
|
|
72
71
|
clearProfileFiles(): Promise<void>;
|
|
73
72
|
stopAndCommit(options: any, local?: boolean): Promise<boolean>;
|
|
73
|
+
uploadProfileDataToServer(): Promise<any>;
|
|
74
74
|
stopBrowser(): Promise<void>;
|
|
75
75
|
killBrowser(): void;
|
|
76
76
|
killAndCommit(options: any, local?: boolean): Promise<void>;
|
|
@@ -93,50 +93,33 @@ declare class GoLogin {
|
|
|
93
93
|
getViewPort(): {
|
|
94
94
|
width: number;
|
|
95
95
|
height: number;
|
|
96
|
-
} | {
|
|
97
|
-
width: number;
|
|
98
|
-
height: number;
|
|
99
96
|
};
|
|
100
97
|
postCookies(profileId: any, cookies: any): Promise<any>;
|
|
101
98
|
getCookies(profileId: any): Promise<any>;
|
|
102
|
-
|
|
99
|
+
getCookiePath(defaultFilePath: any): {
|
|
100
|
+
primary: any;
|
|
101
|
+
secondary: any;
|
|
102
|
+
};
|
|
103
|
+
writeCookiesToFile(cookies: any): Promise<void>;
|
|
103
104
|
uploadProfileCookiesToServer(): Promise<any>;
|
|
104
105
|
saveBookmarksToDb(): Promise<void>;
|
|
105
106
|
start(): Promise<{
|
|
106
107
|
status: string;
|
|
107
108
|
wsUrl: any;
|
|
108
|
-
message?: undefined;
|
|
109
|
-
} | {
|
|
110
|
-
status: string;
|
|
111
|
-
message: any;
|
|
112
|
-
wsUrl?: undefined;
|
|
113
109
|
}>;
|
|
114
110
|
startLocal(): Promise<{
|
|
115
111
|
status: string;
|
|
116
112
|
wsUrl: any;
|
|
117
113
|
}>;
|
|
118
|
-
stop(): Promise<
|
|
114
|
+
stop(): Promise<void>;
|
|
119
115
|
stopLocal(options: any): Promise<void>;
|
|
120
116
|
waitDebuggingUrl(delay_ms: any, try_count: number, remoteOrbitaUrl: any): any;
|
|
121
|
-
startRemote(delay_ms?: number): Promise<{
|
|
122
|
-
status: string;
|
|
123
|
-
wsUrl: any;
|
|
124
|
-
message?: undefined;
|
|
125
|
-
} | {
|
|
126
|
-
status: string;
|
|
127
|
-
message: any;
|
|
128
|
-
wsUrl?: undefined;
|
|
129
|
-
}>;
|
|
130
117
|
stopRemote(): Promise<any>;
|
|
131
118
|
getAvailableFonts(): string[];
|
|
132
119
|
changeProfileResolution(resolution: any): Promise<any>;
|
|
133
120
|
changeProfileUserAgent(userAgent: any): Promise<any>;
|
|
134
121
|
changeProfileProxy(proxyData: any): Promise<any>;
|
|
135
122
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
declare const __esModule: boolean;
|
|
140
|
-
declare const GologinApi: typeof _gologinApi.GologinApi;
|
|
141
|
-
declare const exitAll: typeof _gologinApi.exitAll;
|
|
142
|
-
import _gologinApi = require("./gologin-api.js");
|
|
123
|
+
export default GoLogin;
|
|
124
|
+
import BrowserChecker from "./browser/browser-checker.js";
|
|
125
|
+
export { exitAll, GologinApi } from "./gologin-api.js";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export function archiveProfile(profileFolder?: string, tryAgain?: boolean): Promise<any>;
|
|
1
|
+
export function archiveProfile(profileFolder?: string): Promise<any>;
|
|
3
2
|
export function decompressProfile(zipPath?: string, profileFolder?: string): Promise<void>;
|
|
4
3
|
export function checkProfileArchiveIsValid(zipObject: any): boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const API_URL: "https://api.gologin.com";
|
|
2
|
+
declare function _composeExtractionPromises(filteredArchives: any, destPath?: any): any;
|
|
3
|
+
declare function _getOS(): "win" | "lin" | "mac" | "macM1";
|
|
4
|
+
declare function _getOsAdvanced(): Promise<{
|
|
5
|
+
os: string;
|
|
6
|
+
osSpec: any;
|
|
7
|
+
}>;
|
|
8
|
+
declare const _USER_EXTENSIONS_PATH: any;
|
|
9
|
+
declare const _CHROME_EXTENSIONS_PATH: any;
|
|
10
|
+
export { _composeExtractionPromises as composeExtractionPromises, _getOS as getOS, _getOsAdvanced as getOsAdvanced, _USER_EXTENSIONS_PATH as USER_EXTENSIONS_PATH, _CHROME_EXTENSIONS_PATH as CHROME_EXTENSIONS_PATH };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function tzlookup(Y: any, W: any): string;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export namespace zeroProfileBookmarks {
|
|
2
|
+
let checksum: string;
|
|
3
|
+
namespace roots {
|
|
4
|
+
namespace bookmark_bar {
|
|
5
|
+
let children: ({
|
|
6
|
+
children: {
|
|
7
|
+
name: string;
|
|
8
|
+
type: string;
|
|
9
|
+
url: string;
|
|
10
|
+
}[];
|
|
11
|
+
name: string;
|
|
12
|
+
type: string;
|
|
13
|
+
url?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
name: string;
|
|
16
|
+
type: string;
|
|
17
|
+
url: string;
|
|
18
|
+
children?: undefined;
|
|
19
|
+
})[];
|
|
20
|
+
let name: string;
|
|
21
|
+
let type: string;
|
|
22
|
+
}
|
|
23
|
+
namespace other {
|
|
24
|
+
let children_1: any[];
|
|
25
|
+
export { children_1 as children };
|
|
26
|
+
let name_1: string;
|
|
27
|
+
export { name_1 as name };
|
|
28
|
+
let type_1: string;
|
|
29
|
+
export { type_1 as type };
|
|
30
|
+
}
|
|
31
|
+
namespace synced {
|
|
32
|
+
let children_2: any[];
|
|
33
|
+
export { children_2 as children };
|
|
34
|
+
let name_2: string;
|
|
35
|
+
export { name_2 as name };
|
|
36
|
+
let type_2: string;
|
|
37
|
+
export { type_2 as type };
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
let version: number;
|
|
41
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
export namespace zeroProfilePreferences {
|
|
2
|
+
namespace NewTabPage {
|
|
3
|
+
let PrevNavigationTime: string;
|
|
4
|
+
}
|
|
5
|
+
let account_id_migration_state: number;
|
|
6
|
+
let account_tracker_service_last_update: string;
|
|
7
|
+
let ack_existing_ntp_extensions: boolean;
|
|
8
|
+
namespace alternate_error_pages {
|
|
9
|
+
let backup: boolean;
|
|
10
|
+
}
|
|
11
|
+
let apps: {};
|
|
12
|
+
namespace autocomplete {
|
|
13
|
+
let retention_policy_last_version: number;
|
|
14
|
+
}
|
|
15
|
+
namespace autofill {
|
|
16
|
+
let orphan_rows_removed: boolean;
|
|
17
|
+
}
|
|
18
|
+
namespace bookmark_bar {
|
|
19
|
+
let show_on_all_tabs: boolean;
|
|
20
|
+
}
|
|
21
|
+
namespace browser {
|
|
22
|
+
let has_seen_welcome_page: boolean;
|
|
23
|
+
namespace window_placement {
|
|
24
|
+
let bottom: number;
|
|
25
|
+
let left: number;
|
|
26
|
+
let maximized: boolean;
|
|
27
|
+
let right: number;
|
|
28
|
+
let top: number;
|
|
29
|
+
let work_area_bottom: number;
|
|
30
|
+
let work_area_left: number;
|
|
31
|
+
let work_area_right: number;
|
|
32
|
+
let work_area_top: number;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
let countryid_at_install: number;
|
|
36
|
+
namespace custom_links {
|
|
37
|
+
let initialized: boolean;
|
|
38
|
+
let list: {
|
|
39
|
+
isMostVisited: boolean;
|
|
40
|
+
title: string;
|
|
41
|
+
url: string;
|
|
42
|
+
}[];
|
|
43
|
+
}
|
|
44
|
+
let default_apps_install_state: number;
|
|
45
|
+
namespace domain_diversity {
|
|
46
|
+
let last_reporting_timestamp: string;
|
|
47
|
+
}
|
|
48
|
+
namespace extensions {
|
|
49
|
+
namespace alerts {
|
|
50
|
+
let initialized_1: boolean;
|
|
51
|
+
export { initialized_1 as initialized };
|
|
52
|
+
}
|
|
53
|
+
let chrome_url_overrides: {};
|
|
54
|
+
let last_chrome_version: string;
|
|
55
|
+
let settings: {};
|
|
56
|
+
}
|
|
57
|
+
namespace gaia_cookie {
|
|
58
|
+
let changed_time: number;
|
|
59
|
+
let hash: string;
|
|
60
|
+
let last_list_accounts_data: string;
|
|
61
|
+
}
|
|
62
|
+
namespace gcm {
|
|
63
|
+
let product_category_for_subtypes: string;
|
|
64
|
+
}
|
|
65
|
+
namespace google {
|
|
66
|
+
namespace services {
|
|
67
|
+
let signin_scoped_device_id: string;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
namespace intl {
|
|
71
|
+
let selected_languages: string;
|
|
72
|
+
}
|
|
73
|
+
namespace invalidation {
|
|
74
|
+
let per_sender_topics_to_handler: {
|
|
75
|
+
'1013309121859': {};
|
|
76
|
+
'8181035976': {};
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
namespace media {
|
|
80
|
+
let device_id_salt: string;
|
|
81
|
+
namespace engagement {
|
|
82
|
+
let schema_version: number;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
namespace media_router {
|
|
86
|
+
let receiver_id_hash_token: string;
|
|
87
|
+
}
|
|
88
|
+
namespace ntp {
|
|
89
|
+
let num_personal_suggestions: number;
|
|
90
|
+
}
|
|
91
|
+
namespace optimization_guide {
|
|
92
|
+
namespace previously_registered_optimization_types {
|
|
93
|
+
let ABOUT_THIS_SITE: boolean;
|
|
94
|
+
let HISTORY_CLUSTERS: boolean;
|
|
95
|
+
}
|
|
96
|
+
let store_file_paths_to_delete: {};
|
|
97
|
+
}
|
|
98
|
+
namespace plugins {
|
|
99
|
+
let plugins_list: any[];
|
|
100
|
+
}
|
|
101
|
+
namespace privacy_sandbox {
|
|
102
|
+
let preferences_reconciled: boolean;
|
|
103
|
+
}
|
|
104
|
+
namespace profile {
|
|
105
|
+
let avatar_bubble_tutorial_shown: number;
|
|
106
|
+
let avatar_index: number;
|
|
107
|
+
namespace content_settings {
|
|
108
|
+
namespace enable_quiet_permission_ui_enabling_method {
|
|
109
|
+
let notifications: number;
|
|
110
|
+
}
|
|
111
|
+
namespace exceptions {
|
|
112
|
+
export let accessibility_events: {};
|
|
113
|
+
export let app_banner: {};
|
|
114
|
+
export let ar: {};
|
|
115
|
+
export let auto_select_certificate: {};
|
|
116
|
+
export let automatic_downloads: {};
|
|
117
|
+
export let autoplay: {};
|
|
118
|
+
export let background_sync: {};
|
|
119
|
+
export let bluetooth_chooser_data: {};
|
|
120
|
+
export let bluetooth_guard: {};
|
|
121
|
+
export let bluetooth_scanning: {};
|
|
122
|
+
export let camera_pan_tilt_zoom: {};
|
|
123
|
+
export let client_hints: {};
|
|
124
|
+
export let clipboard: {};
|
|
125
|
+
export let cookies: {};
|
|
126
|
+
export let durable_storage: {};
|
|
127
|
+
export let fedcm_active_session: {};
|
|
128
|
+
export let fedcm_share: {};
|
|
129
|
+
export let file_system_access_chooser_data: {};
|
|
130
|
+
export let file_system_last_picked_directory: {};
|
|
131
|
+
export let file_system_read_guard: {};
|
|
132
|
+
export let file_system_write_guard: {};
|
|
133
|
+
export let formfill_metadata: {};
|
|
134
|
+
export let geolocation: {};
|
|
135
|
+
export let get_display_media_set_select_all_screens: {};
|
|
136
|
+
export let hid_chooser_data: {};
|
|
137
|
+
export let hid_guard: {};
|
|
138
|
+
export let http_allowed: {};
|
|
139
|
+
export let idle_detection: {};
|
|
140
|
+
export let images: {};
|
|
141
|
+
export let important_site_info: {};
|
|
142
|
+
export let insecure_private_network: {};
|
|
143
|
+
export let installed_web_app_metadata: {};
|
|
144
|
+
export let intent_picker_auto_display: {};
|
|
145
|
+
export let javascript: {};
|
|
146
|
+
export let javascript_jit: {};
|
|
147
|
+
export let legacy_cookie_access: {};
|
|
148
|
+
export let local_fonts: {};
|
|
149
|
+
export let media_engagement: {};
|
|
150
|
+
export let media_stream_camera: {};
|
|
151
|
+
export let media_stream_mic: {};
|
|
152
|
+
export let midi_sysex: {};
|
|
153
|
+
export let mixed_script: {};
|
|
154
|
+
export let nfc_devices: {};
|
|
155
|
+
let notifications_1: {};
|
|
156
|
+
export { notifications_1 as notifications };
|
|
157
|
+
export let password_protection: {};
|
|
158
|
+
export let payment_handler: {};
|
|
159
|
+
export let permission_autoblocking_data: {};
|
|
160
|
+
export let permission_autorevocation_data: {};
|
|
161
|
+
export let popups: {};
|
|
162
|
+
export let ppapi_broker: {};
|
|
163
|
+
export let protocol_handler: {};
|
|
164
|
+
export let safe_browsing_url_check_data: {};
|
|
165
|
+
export let sensors: {};
|
|
166
|
+
export let serial_chooser_data: {};
|
|
167
|
+
export let serial_guard: {};
|
|
168
|
+
export let site_engagement: {};
|
|
169
|
+
export let sound: {};
|
|
170
|
+
export let ssl_cert_decisions: {};
|
|
171
|
+
export let storage_access: {};
|
|
172
|
+
export let subresource_filter: {};
|
|
173
|
+
export let subresource_filter_data: {};
|
|
174
|
+
export let usb_chooser_data: {};
|
|
175
|
+
export let usb_guard: {};
|
|
176
|
+
export let vr: {};
|
|
177
|
+
export let webid_api: {};
|
|
178
|
+
let window_placement_1: {};
|
|
179
|
+
export { window_placement_1 as window_placement };
|
|
180
|
+
}
|
|
181
|
+
let pref_version: number;
|
|
182
|
+
}
|
|
183
|
+
let created_by_version: string;
|
|
184
|
+
let creation_time: string;
|
|
185
|
+
let exit_type: string;
|
|
186
|
+
let last_engagement_time: string;
|
|
187
|
+
let last_time_password_store_metrics_reported: number;
|
|
188
|
+
let managed_user_id: string;
|
|
189
|
+
let name: string;
|
|
190
|
+
let password_account_storage_settings: {};
|
|
191
|
+
}
|
|
192
|
+
namespace safebrowsing {
|
|
193
|
+
let event_timestamps: {};
|
|
194
|
+
let metrics_last_log_time: string;
|
|
195
|
+
}
|
|
196
|
+
namespace signin {
|
|
197
|
+
let allowed: boolean;
|
|
198
|
+
}
|
|
199
|
+
namespace sync {
|
|
200
|
+
let requested: boolean;
|
|
201
|
+
}
|
|
202
|
+
let translate_site_blacklist: any[];
|
|
203
|
+
let translate_site_blacklist_with_time: {};
|
|
204
|
+
namespace unified_consent {
|
|
205
|
+
let migration_state: number;
|
|
206
|
+
}
|
|
207
|
+
namespace web_apps {
|
|
208
|
+
let system_web_app_failure_count: number;
|
|
209
|
+
let system_web_app_last_attempted_language: string;
|
|
210
|
+
let system_web_app_last_attempted_update: string;
|
|
211
|
+
let system_web_app_last_installed_language: string;
|
|
212
|
+
let system_web_app_last_update: string;
|
|
213
|
+
}
|
|
214
|
+
namespace webauthn {
|
|
215
|
+
namespace touchid {
|
|
216
|
+
let metadata_secret: string;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|