chrome-types 0.1.210 → 0.1.211

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.
Files changed (3) hide show
  1. package/_all.d.ts +179 -79
  2. package/index.d.ts +179 -79
  3. package/package.json +2 -2
package/_all.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Thu Jun 29 2023 22:31:08 GMT+0000 (Coordinated Universal Time)
18
- // Built at 89e35fee17d9b8f9e85a1fc600ef97b9ee5638a3
17
+ // Generated on Sat Jul 01 2023 22:28:03 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 3d77b6c3d6d6cf8d88083bb587345656677e5f1b
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -5412,14 +5412,14 @@ declare namespace chrome {
5412
5412
  /**
5413
5413
  * Types of supported cryptographic signature algorithms.
5414
5414
  *
5415
- * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_MD5\_SHA1" RSASSA PKCS#1 v1.5 signature algorithm with the MD5-SHA-1 hashing. The extension must not prepend a DigestInfo prefix but only add PKCS#1 padding. This algorithm is deprecated and will never be requested by Chrome as of version 109.
5416
- * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA1" RSASSA PKCS#1 v1.5 signature algorithm with the SHA-1 hash function.
5417
- * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA256" RSASSA PKCS#1 v1.5 signature algorithm with the SHA-256 hashing function.
5418
- * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA384" RSASSA PKCS#1 v1.5 signature algorithm with the SHA-384 hashing function.
5419
- * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA512" RSASSA PKCS#1 v1.5 signature algorithm with the SHA-512 hashing function.
5420
- * @chrome-enum "RSASSA\_PSS\_SHA256" Since Chrome 89. RSASSA PSS signature algorithm with the SHA-256 hashing function, MGF1 mask generation function and the salt of the same size as the hash.
5421
- * @chrome-enum "RSASSA\_PSS\_SHA384" Since Chrome 89. RSASSA PSS signature algorithm with the SHA-384 hashing function, MGF1 mask generation function and the salt of the same size as the hash.
5422
- * @chrome-enum "RSASSA\_PSS\_SHA512" Since Chrome 89. RSASSA PSS signature algorithm with the SHA-512 hashing function, MGF1 mask generation function and the salt of the same size as the hash.
5415
+ * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_MD5\_SHA1" Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the MD5-SHA-1 hashing. The extension must not prepend a DigestInfo prefix but only add PKCS#1 padding. This algorithm is deprecated and will never be requested by Chrome as of version 109.
5416
+ * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA1" Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the SHA-1 hash function.
5417
+ * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA256" Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the SHA-256 hashing function.
5418
+ * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA384" Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the SHA-384 hashing function.
5419
+ * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA512" Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the SHA-512 hashing function.
5420
+ * @chrome-enum "RSASSA\_PSS\_SHA256" Specifies the RSASSA PSS signature algorithm with the SHA-256 hashing function, MGF1 mask generation function and the salt of the same size as the hash.
5421
+ * @chrome-enum "RSASSA\_PSS\_SHA384" Specifies the RSASSA PSS signature algorithm with the SHA-384 hashing function, MGF1 mask generation function and the salt of the same size as the hash.
5422
+ * @chrome-enum "RSASSA\_PSS\_SHA512" Specifies the RSASSA PSS signature algorithm with the SHA-512 hashing function, MGF1 mask generation function and the salt of the same size as the hash.
5423
5423
  * @since Chrome 86
5424
5424
  */
5425
5425
  export type Algorithm = "RSASSA_PKCS1_v1_5_MD5_SHA1" | "RSASSA_PKCS1_v1_5_SHA1" | "RSASSA_PKCS1_v1_5_SHA256" | "RSASSA_PKCS1_v1_5_SHA384" | "RSASSA_PKCS1_v1_5_SHA512" | "RSASSA_PSS_SHA256" | "RSASSA_PSS_SHA384" | "RSASSA_PSS_SHA512";
@@ -5531,12 +5531,20 @@ declare namespace chrome {
5531
5531
 
5532
5532
  /**
5533
5533
  * Deprecated. Replaced by {@link Algorithm}.
5534
+ *
5535
+ * @chrome-enum "MD5\_SHA1" Specifies the MD5 and SHA1 hashing algorithms.
5536
+ * @chrome-enum "SHA1" Specifies the SHA1 hashing algorithm.
5537
+ * @chrome-enum "SHA256" Specifies the SHA256 hashing algorithm.
5538
+ * @chrome-enum "SHA384" Specifies the SHA384 hashing algorithm.
5539
+ * @chrome-enum "SHA512" Specifies the SHA512 hashing algorithm.
5534
5540
  */
5535
5541
  export type Hash = "MD5_SHA1" | "SHA1" | "SHA256" | "SHA384" | "SHA512";
5536
5542
 
5537
5543
  /**
5538
5544
  * The type of code being requested by the extension with requestPin function.
5539
5545
  *
5546
+ * @chrome-enum "PIN" Specifies the requested code is a PIN.
5547
+ * @chrome-enum "PUK" Specifies the requested code is a PUK.
5540
5548
  * @since Chrome 57
5541
5549
  */
5542
5550
  export type PinRequestType = "PIN" | "PUK";
@@ -5544,6 +5552,10 @@ declare namespace chrome {
5544
5552
  /**
5545
5553
  * The types of errors that can be presented to the user through the requestPin function.
5546
5554
  *
5555
+ * @chrome-enum "INVALID\_PIN" Specifies the PIN is invalid.
5556
+ * @chrome-enum "INVALID\_PUK" Specifies the PUK is invalid.
5557
+ * @chrome-enum "MAX\_ATTEMPTS\_EXCEEDED" Specifies the maximum attempt number has been exceeded.
5558
+ * @chrome-enum "UNKNOWN\_ERROR" Specifies that the error cannot be represented by the above types.
5547
5559
  * @since Chrome 57
5548
5560
  */
5549
5561
  export type PinRequestErrorType = "INVALID_PIN" | "INVALID_PUK" | "MAX_ATTEMPTS_EXCEEDED" | "UNKNOWN_ERROR";
@@ -15344,8 +15356,8 @@ declare namespace chrome {
15344
15356
  }
15345
15357
 
15346
15358
  /**
15347
- * @chrome-enum "SYNC" Sync is enabled for the primary account.
15348
- * @chrome-enum "ANY" Any primary account, if exists.
15359
+ * @chrome-enum "SYNC" Specifies that Sync is enabled for the primary account.
15360
+ * @chrome-enum "ANY" Specifies the existence of a primary account, if any.
15349
15361
  * @since Chrome 84
15350
15362
  */
15351
15363
  export type AccountStatus = "SYNC" | "ANY";
@@ -17181,18 +17193,18 @@ declare namespace chrome {
17181
17193
  export namespace loginState {
17182
17194
 
17183
17195
  /**
17184
- * @chrome-enum "SIGNIN\_PROFILE" The extension is in the signin profile.
17185
- * @chrome-enum "USER\_PROFILE" The extension is in the user profile.
17196
+ * @chrome-enum "SIGNIN\_PROFILE" Specifies that the extension is in the signin profile.
17197
+ * @chrome-enum "USER\_PROFILE" Specifies that the extension is in the user profile.
17186
17198
  */
17187
17199
  export type ProfileType = "SIGNIN_PROFILE" | "USER_PROFILE";
17188
17200
 
17189
17201
  /**
17190
- * @chrome-enum "UNKNOWN" The session state is unknown.
17191
- * @chrome-enum "IN\_OOBE\_SCREEN" The user is in the out-of-box-experience screen.
17192
- * @chrome-enum "IN\_LOGIN\_SCREEN" The user is in the login screen.
17193
- * @chrome-enum "IN\_SESSION" The user is in the session.
17194
- * @chrome-enum "IN\_LOCK\_SCREEN" The user is in the lock screen.
17195
- * @chrome-enum "IN\_RMA\_SCREEN" The device is in RMA mode, finalizing repairs.
17202
+ * @chrome-enum "UNKNOWN" Specifies that the session state is unknown.
17203
+ * @chrome-enum "IN\_OOBE\_SCREEN" Specifies that the user is in the out-of-box-experience screen.
17204
+ * @chrome-enum "IN\_LOGIN\_SCREEN" Specifies that the user is in the login screen.
17205
+ * @chrome-enum "IN\_SESSION" Specifies that the user is in the session.
17206
+ * @chrome-enum "IN\_LOCK\_SCREEN" Specifies that the user is in the lock screen.
17207
+ * @chrome-enum "IN\_RMA\_SCREEN" Specifies that the device is in RMA mode, finalizing repairs.
17196
17208
  */
17197
17209
  export type SessionState = "UNKNOWN" | "IN_OOBE_SCREEN" | "IN_LOGIN_SCREEN" | "IN_SESSION" | "IN_LOCK_SCREEN" | "IN_RMA_SCREEN";
17198
17210
 
@@ -20116,16 +20128,16 @@ declare namespace chrome {
20116
20128
  export namespace notifications {
20117
20129
 
20118
20130
  /**
20119
- * @chrome-enum "basic" icon, title, message, expandedMessage, up to two buttons
20120
- * @chrome-enum "image" icon, title, message, expandedMessage, image, up to two buttons
20121
- * @chrome-enum "list" icon, title, message, items, up to two buttons. Users on Mac OS X only see the first item.
20122
- * @chrome-enum "progress" icon, title, message, progress, up to two buttons
20131
+ * @chrome-enum "basic" Contains an icon, title, message, expandedMessage, and up to two buttons.
20132
+ * @chrome-enum "image" Contains an icon, title, message, expandedMessage, image, and up to two buttons.
20133
+ * @chrome-enum "list" Contains an icon, title, message, items, and up to two buttons. Users on Mac OS X only see the first item.
20134
+ * @chrome-enum "progress" Contains an icon, title, message, progress, and up to two buttons.
20123
20135
  */
20124
20136
  export type TemplateType = "basic" | "image" | "list" | "progress";
20125
20137
 
20126
20138
  /**
20127
- * @chrome-enum "granted" User has elected to show notifications from the app or extension. This is the default at install time.
20128
- * @chrome-enum "denied" User has elected not to show notifications from the app or extension.
20139
+ * @chrome-enum "granted" Specifies that the user has elected to show notifications from the app or extension. This is the default at install time.
20140
+ * @chrome-enum "denied" Specifies that the user has elected not to show notifications from the app or extension.
20129
20141
  */
20130
20142
  export type PermissionLevel = "granted" | "denied";
20131
20143
 
@@ -20498,18 +20510,18 @@ declare namespace chrome {
20498
20510
 
20499
20511
  /**
20500
20512
  * @chrome-enum "TESTING" A reason used for testing purposes only.
20501
- * @chrome-enum "AUDIO\_PLAYBACK" The offscreen document is responsible for playing audio.
20502
- * @chrome-enum "IFRAME\_SCRIPTING" The offscreen document needs to embed and script an iframe in order to modify the iframe's content.
20503
- * @chrome-enum "DOM\_SCRAPING" The offscreen document needs to embed an iframe and scrape its DOM to extract information.
20504
- * @chrome-enum "BLOBS" The offscreen document needs to interact with Blob objects (including `URL.createObjectURL()`).
20505
- * @chrome-enum "DOM\_PARSER" The offscreen document needs to use the `DOMParser` API.
20506
- * @chrome-enum "USER\_MEDIA" The offscreen document needs to interact with media streams from user media (e.g. `getUserMedia()`).
20507
- * @chrome-enum "DISPLAY\_MEDIA" The offscreen document needs to interact with media streams from display media (e.g. `getDisplayMedia()`).
20508
- * @chrome-enum "WEB\_RTC" The offscreen document needs to use WebRTC APIs.
20509
- * @chrome-enum "CLIPBOARD" The offscreen document needs to interact with the clipboard APIs (e.g. `Navigator.clipboard`).
20510
- * @chrome-enum "LOCAL\_STORAGE" The offscreen document needs access to [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).
20511
- * @chrome-enum "WORKERS" The offscreen document needs to spawn workers.
20512
- * @chrome-enum "GEOLOCATION" The offscreen document needs to use [navigator.geolocation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/geolocation)
20513
+ * @chrome-enum "AUDIO\_PLAYBACK" Specifies that the offscreen document is responsible for playing audio.
20514
+ * @chrome-enum "IFRAME\_SCRIPTING" Specifies that the offscreen document needs to embed and script an iframe in order to modify the iframe's content.
20515
+ * @chrome-enum "DOM\_SCRAPING" Specifies that the offscreen document needs to embed an iframe and scrape its DOM to extract information.
20516
+ * @chrome-enum "BLOBS" Specifies that the offscreen document needs to interact with Blob objects (including `URL.createObjectURL()`).
20517
+ * @chrome-enum "DOM\_PARSER" Specifies that the offscreen document needs to use the
20518
+ * @chrome-enum "USER\_MEDIA" Specifies that the offscreen document needs to interact with media streams from user media (e.g. `getUserMedia()`).
20519
+ * @chrome-enum "DISPLAY\_MEDIA" Specifies that the offscreen document needs to interact with media streams from display media (e.g. `getDisplayMedia()`).
20520
+ * @chrome-enum "WEB\_RTC" Specifies that the offscreen document needs to use
20521
+ * @chrome-enum "CLIPBOARD" Specifies that the offscreen document needs to interact with the
20522
+ * @chrome-enum "LOCAL\_STORAGE" Specifies that the offscreen document needs access to [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).
20523
+ * @chrome-enum "WORKERS" Specifies that the offscreen document needs to spawn workers.
20524
+ * @chrome-enum "GEOLOCATION" Specifies that the offscreen document needs to use [navigator.geolocation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/geolocation).
20513
20525
  */
20514
20526
  export type Reason = "TESTING" | "AUDIO_PLAYBACK" | "IFRAME_SCRIPTING" | "DOM_SCRAPING" | "BLOBS" | "DOM_PARSER" | "USER_MEDIA" | "DISPLAY_MEDIA" | "WEB_RTC" | "CLIPBOARD" | "LOCAL_STORAGE" | "WORKERS" | "GEOLOCATION";
20515
20527
 
@@ -21321,8 +21333,8 @@ declare namespace chrome {
21321
21333
  export namespace power {
21322
21334
 
21323
21335
  /**
21324
- * @chrome-enum "system" Prevent the system from sleeping in response to user inactivity.
21325
- * @chrome-enum "display" Prevent the display from being turned off or dimmed or the system from sleeping in response to user inactivity.
21336
+ * @chrome-enum "system" Prevents the system from sleeping in response to user inactivity.
21337
+ * @chrome-enum "display" Prevents the display from being turned off or dimmed, or the system from sleeping in response to user inactivity.
21326
21338
  */
21327
21339
  export type Level = "system" | "display";
21328
21340
 
@@ -21372,10 +21384,10 @@ declare namespace chrome {
21372
21384
  /**
21373
21385
  * Error codes returned in response to {@link onPrintRequested} event.
21374
21386
  *
21375
- * @chrome-enum "OK" Operation completed successfully.
21376
- * @chrome-enum "FAILED" General failure.
21377
- * @chrome-enum "INVALID\_TICKET" Print ticket is invalid. For example, ticket is inconsistent with capabilities or extension is not able to handle all settings from the ticket.
21378
- * @chrome-enum "INVALID\_DATA" Document is invalid. For example, data may be corrupted or the format is incompatible with the extension.
21387
+ * @chrome-enum "OK" Specifies that the operation was completed successfully.
21388
+ * @chrome-enum "FAILED" Specifies that a general failure occured.
21389
+ * @chrome-enum "INVALID\_TICKET" Specifies that the print ticket is invalid. For example, the ticket is inconsistent with some capabilities, or the extension is not able to handle all settings from the ticket.
21390
+ * @chrome-enum "INVALID\_DATA" Specifies that the document is invalid. For example, data may be corrupted or the format is incompatible with the extension.
21379
21391
  */
21380
21392
  export type PrintError = "OK" | "FAILED" | "INVALID_TICKET" | "INVALID_DATA";
21381
21393
 
@@ -21716,39 +21728,39 @@ declare namespace chrome {
21716
21728
  /**
21717
21729
  * The source of the print job.
21718
21730
  *
21719
- * @chrome-enum "PRINT\_PREVIEW" The job was created from the Print Preview page initiated by the user.
21720
- * @chrome-enum "ANDROID\_APP" The job was created from an Android App.
21721
- * @chrome-enum "EXTENSION" The job was created by extension via Chrome API.
21731
+ * @chrome-enum "PRINT\_PREVIEW" Specifies that the job was created from the Print Preview page initiated by the user.
21732
+ * @chrome-enum "ANDROID\_APP" Specifies that the job was created from an Android App.
21733
+ * @chrome-enum "EXTENSION" Specifies that the job was created by extension via Chrome API.
21722
21734
  */
21723
21735
  export type PrintJobSource = "PRINT_PREVIEW" | "ANDROID_APP" | "EXTENSION";
21724
21736
 
21725
21737
  /**
21726
- * The final status of the print job.
21738
+ * Specifies the final status of the print job.
21727
21739
  *
21728
- * @chrome-enum "FAILED" Print job was interrupted due to some error.
21729
- * @chrome-enum "CANCELED" Print job was canceled by the user or via API.
21730
- * @chrome-enum "PRINTED" Print job was printed without any errors.
21740
+ * @chrome-enum "FAILED" Specifies that the print job was interrupted due to some error.
21741
+ * @chrome-enum "CANCELED" Specifies that the print job was canceled by the user or via API.
21742
+ * @chrome-enum "PRINTED" Specifies that the print job was printed without any errors.
21731
21743
  */
21732
21744
  export type PrintJobStatus = "FAILED" | "CANCELED" | "PRINTED";
21733
21745
 
21734
21746
  /**
21735
21747
  * The source of the printer.
21736
21748
  *
21737
- * @chrome-enum "USER" Printer was added by user.
21738
- * @chrome-enum "POLICY" Printer was added via policy.
21749
+ * @chrome-enum "USER" Specifies that the printer was added by user.
21750
+ * @chrome-enum "POLICY" Specifies that the printer was added via policy.
21739
21751
  */
21740
21752
  export type PrinterSource = "USER" | "POLICY";
21741
21753
 
21742
21754
  /**
21743
- * @chrome-enum "BLACK\_AND\_WHITE" Black and white mode was used.
21744
- * @chrome-enum "COLOR" Color mode was used.
21755
+ * @chrome-enum "BLACK\_AND\_WHITE" Specifies that black and white mode was used.
21756
+ * @chrome-enum "COLOR" Specifies that color mode was used.
21745
21757
  */
21746
21758
  export type ColorMode = "BLACK_AND_WHITE" | "COLOR";
21747
21759
 
21748
21760
  /**
21749
- * @chrome-enum "ONE\_SIDED" One-sided printing was used.
21750
- * @chrome-enum "TWO\_SIDED\_LONG\_EDGE" Two-sided printing was used, flipping on long edge.
21751
- * @chrome-enum "TWO\_SIDED\_SHORT\_EDGE" Two-sided printing was used, flipping on short edge.
21761
+ * @chrome-enum "ONE\_SIDED" Specifies that one-sided printing was used.
21762
+ * @chrome-enum "TWO\_SIDED\_LONG\_EDGE" Specifies that two-sided printing was used, flipping on long edge.
21763
+ * @chrome-enum "TWO\_SIDED\_SHORT\_EDGE" Specifies that two-sided printing was used, flipping on short edge.
21752
21764
  */
21753
21765
  export type DuplexMode = "ONE_SIDED" | "TWO_SIDED_LONG_EDGE" | "TWO_SIDED_SHORT_EDGE";
21754
21766
 
@@ -22451,7 +22463,7 @@ declare namespace chrome {
22451
22463
  }
22452
22464
 
22453
22465
  /**
22454
- * Use the `chrome.runtime` API to retrieve the background page, return details about the manifest, and listen for and respond to events in the app or extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs.
22466
+ * Use the `chrome.runtime` API to retrieve the service worker, return details about the manifest, and listen for and respond to events in the app or extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs.
22455
22467
  */
22456
22468
  export namespace runtime {
22457
22469
 
@@ -22566,6 +22578,13 @@ declare namespace chrome {
22566
22578
  /**
22567
22579
  * The operating system Chrome is running on.
22568
22580
  *
22581
+ * @chrome-enum "mac" Specifies the MacOS operating system.
22582
+ * @chrome-enum "win" Specifies the Windows operating system.
22583
+ * @chrome-enum "android" Specifies the Android operating system.
22584
+ * @chrome-enum "cros" Specifies the Chrome operating system.
22585
+ * @chrome-enum "linux" Specifies the Linux operating system.
22586
+ * @chrome-enum "openbsd" Specifies the OpenBSD operating system.
22587
+ * @chrome-enum "fuchsia" Specifies the Fuchsia operating system.
22569
22588
  * @since Chrome 44
22570
22589
  */
22571
22590
  export type PlatformOs = "mac" | "win" | "android" | "cros" | "linux" | "openbsd" | "fuchsia";
@@ -22573,6 +22592,12 @@ declare namespace chrome {
22573
22592
  /**
22574
22593
  * The machine's processor architecture.
22575
22594
  *
22595
+ * @chrome-enum "arm" Specifies the processer architecture as arm.
22596
+ * @chrome-enum "arm64" Specifies the processer architecture as arm64.
22597
+ * @chrome-enum "x86-32" Specifies the processer architecture as x86-32.
22598
+ * @chrome-enum "x86-64" Specifies the processer architecture as x86-64.
22599
+ * @chrome-enum "mips" Specifies the processer architecture as mips.
22600
+ * @chrome-enum "mips64" Specifies the processer architecture as mips64.
22576
22601
  * @since Chrome 44
22577
22602
  */
22578
22603
  export type PlatformArch = "arm" | "arm64" | "x86-32" | "x86-64" | "mips" | "mips64";
@@ -22580,6 +22605,11 @@ declare namespace chrome {
22580
22605
  /**
22581
22606
  * The native client architecture. This may be different from arch on some platforms.
22582
22607
  *
22608
+ * @chrome-enum "arm" Specifies the native client architecture as arm.
22609
+ * @chrome-enum "x86-32" Specifies the native client architecture as x86-32.
22610
+ * @chrome-enum "x86-64" Specifies the native client architecture as x86-64.
22611
+ * @chrome-enum "mips" Specifies the native client architecture as mips.
22612
+ * @chrome-enum "mips64" Specifies the native client architecture as mips64.
22583
22613
  * @since Chrome 44
22584
22614
  */
22585
22615
  export type PlatformNaclArch = "arm" | "x86-32" | "x86-64" | "mips" | "mips64";
@@ -22608,6 +22638,9 @@ declare namespace chrome {
22608
22638
  /**
22609
22639
  * Result of the update check.
22610
22640
  *
22641
+ * @chrome-enum "throttled" Specifies that the status check has been throttled. This can occur after repeated checks within a short amount of time.
22642
+ * @chrome-enum "no\_update" Specifies that there are no available updates to install.
22643
+ * @chrome-enum "update\_available" Specifies that there is an available update to install.
22611
22644
  * @since Chrome 44
22612
22645
  */
22613
22646
  export type RequestUpdateCheckStatus = "throttled" | "no_update" | "update_available";
@@ -22615,6 +22648,10 @@ declare namespace chrome {
22615
22648
  /**
22616
22649
  * The reason that this event is being dispatched.
22617
22650
  *
22651
+ * @chrome-enum "install" Specifies the event reason as an installation.
22652
+ * @chrome-enum "update" Specifies the event reason as an extension update.
22653
+ * @chrome-enum "chrome\_update" Specifies the event reason as a Chrome update.
22654
+ * @chrome-enum "shared\_module\_update" Specifies the event reason as an update to a shared module.
22618
22655
  * @since Chrome 44
22619
22656
  */
22620
22657
  export type OnInstalledReason = "install" | "update" | "chrome_update" | "shared_module_update";
@@ -22622,11 +22659,19 @@ declare namespace chrome {
22622
22659
  /**
22623
22660
  * The reason that the event is being dispatched. 'app\_update' is used when the restart is needed because the application is updated to a newer version. 'os\_update' is used when the restart is needed because the browser/OS is updated to a newer version. 'periodic' is used when the system runs for more than the permitted uptime set in the enterprise policy.
22624
22661
  *
22662
+ * @chrome-enum "app\_update" Specifies the event reason as an update to the app.
22663
+ * @chrome-enum "os\_update" Specifies the event reason as an update to the operating system.
22664
+ * @chrome-enum "periodic" Specifies the event reason as a periodic restart of the app.
22625
22665
  * @since Chrome 44
22626
22666
  */
22627
22667
  export type OnRestartRequiredReason = "app_update" | "os_update" | "periodic";
22628
22668
 
22629
22669
  /**
22670
+ * @chrome-enum "TAB" Specifies the context type as a tab
22671
+ * @chrome-enum "POPUP" Specifies the context type as an extension popup window
22672
+ * @chrome-enum "BACKGROUND" Specifies the context type as a service worker.
22673
+ * @chrome-enum "OFFSCREEN\_DOCUMENT" Specifies the context type as an offscreen document.
22674
+ * @chrome-enum "SIDE\_PANEL" Specifies the context type as a side panel.
22630
22675
  * @since Chrome 114
22631
22676
  */
22632
22677
  export type ContextType = "TAB" | "POPUP" | "BACKGROUND" | "OFFSCREEN_DOCUMENT" | "SIDE_PANEL";
@@ -23268,8 +23313,8 @@ declare namespace chrome {
23268
23313
  /**
23269
23314
  * The JavaScript world for a script to execute within.
23270
23315
  *
23271
- * @chrome-enum "ISOLATED" The isolated world, unique to this extension.
23272
- * @chrome-enum "MAIN" The main world of the DOM, shared with the page's JavaScript.
23316
+ * @chrome-enum "ISOLATED" Specifies the isolated world, which is the execution environment unique to this extension.
23317
+ * @chrome-enum "MAIN" Specifies the main world of the DOM, which is the execution environment shared with the host page's JavaScript.
23273
23318
  * @since Chrome 95
23274
23319
  */
23275
23320
  export type ExecutionWorld = "ISOLATED" | "MAIN";
@@ -23635,9 +23680,9 @@ declare namespace chrome {
23635
23680
  export namespace search {
23636
23681
 
23637
23682
  /**
23638
- * @chrome-enum "CURRENT\_TAB" Display results in the calling tab or the tab from the active browser.
23639
- * @chrome-enum "NEW\_TAB" Display search results in a new tab.
23640
- * @chrome-enum "NEW\_WINDOW" Display search results in a new window.
23683
+ * @chrome-enum "CURRENT\_TAB" Specifies that the search results display in the calling tab or the tab from the active browser.
23684
+ * @chrome-enum "NEW\_TAB" Specifies that the search results display in a new tab.
23685
+ * @chrome-enum "NEW\_WINDOW" Specifies that the search results display in a new window.
23641
23686
  */
23642
23687
  export type Disposition = "CURRENT_TAB" | "NEW_TAB" | "NEW_WINDOW";
23643
23688
 
@@ -26476,6 +26521,8 @@ declare namespace chrome {
26476
26521
  /**
26477
26522
  * The storage area's access level.
26478
26523
  *
26524
+ * @chrome-enum "TRUSTED\_CONTEXTS" Specifies contexts originating from the extension itself.
26525
+ * @chrome-enum "TRUSTED\_AND\_UNTRUSTED\_CONTEXTS" Specifies contexts originating from outside the extension.
26479
26526
  * @since Chrome 102
26480
26527
  */
26481
26528
  export type AccessLevel = "TRUSTED_CONTEXTS" | "TRUSTED_AND_UNTRUSTED_CONTEXTS";
@@ -27330,6 +27377,13 @@ declare namespace chrome {
27330
27377
  yearOfManufacture: number;
27331
27378
  }
27332
27379
 
27380
+ /**
27381
+ * An enum to tell if the display is detected and used by the system. The display is considered 'inactive', if it is not detected by the system (maybe disconnected, or considered disconnected due to sleep mode, etc). This state is used to keep existing display when the all displays are disconnected, for example.
27382
+ *
27383
+ * @since Pending
27384
+ */
27385
+ export type ActiveState = "active" | "inactive";
27386
+
27333
27387
  export interface DisplayUnitInfo {
27334
27388
 
27335
27389
  /**
@@ -27371,6 +27425,13 @@ declare namespace chrome {
27371
27425
  */
27372
27426
  isEnabled: boolean;
27373
27427
 
27428
+ /**
27429
+ * Active if the display is detected and used by the system.
27430
+ *
27431
+ * @since Pending
27432
+ */
27433
+ activeState: ActiveState;
27434
+
27374
27435
  /**
27375
27436
  * True for all displays when in unified desktop mode. See documentation for {@link enableUnifiedDesktop}.
27376
27437
  *
@@ -27508,9 +27569,9 @@ declare namespace chrome {
27508
27569
  /**
27509
27570
  * Mirror mode, i.e. different ways of how a display is mirrored to other displays.
27510
27571
  *
27511
- * @chrome-enum "off" Use the default mode (extended or unified desktop).
27512
- * @chrome-enum "normal" The default source display will be mirrored to all other displays.
27513
- * @chrome-enum "mixed" The specified source display will be mirrored to the provided destination displays. All other connected displays will be extended.
27572
+ * @chrome-enum "off" Specifies the default mode (extended or unified desktop).
27573
+ * @chrome-enum "normal" Specifies that the default source display will be mirrored to all other displays.
27574
+ * @chrome-enum "mixed" Specifies that the specified source display will be mirrored to the provided destination displays. All other connected displays will be extended.
27514
27575
  * @since Chrome 65
27515
27576
  */
27516
27577
  export type MirrorMode = "off" | "normal" | "mixed";
@@ -32239,30 +32300,30 @@ declare namespace chrome {
32239
32300
  /**
32240
32301
  * The enum is used by the platform to notify the client of the VPN session status.
32241
32302
  *
32242
- * @chrome-enum "connected" VPN configuration connected.
32243
- * @chrome-enum "disconnected" VPN configuration disconnected.
32244
- * @chrome-enum "error" An error occurred in VPN connection, for example a timeout. A description of the error is given as the {@link onPlatformMessage.error error argument to onPlatformMessage}.
32245
- * @chrome-enum "linkDown" The default physical network connection is down.
32246
- * @chrome-enum "linkUp" The default physical network connection is back up.
32247
- * @chrome-enum "linkChanged" The default physical network connection changed, e.g. wifi->mobile.
32248
- * @chrome-enum "suspend" The OS is preparing to suspend, so the VPN should drop its connection. The extension is not guaranteed to receive this event prior to suspending.
32249
- * @chrome-enum "resume" The OS has resumed and the user has logged back in, so the VPN should try to reconnect.
32303
+ * @chrome-enum "connected" Indicates that the VPN configuration connected.
32304
+ * @chrome-enum "disconnected" Indicates that the VPN configuration disconnected.
32305
+ * @chrome-enum "error" Indicates that an error occurred in VPN connection, for example a timeout. A description of the error is given as the {@link onPlatformMessage.error error argument to onPlatformMessage}.
32306
+ * @chrome-enum "linkDown" Indicates that the default physical network connection is down.
32307
+ * @chrome-enum "linkUp" Indicates that the default physical network connection is back up.
32308
+ * @chrome-enum "linkChanged" Indicates that the default physical network connection changed, e.g. wifi->mobile.
32309
+ * @chrome-enum "suspend" Indicates that the OS is preparing to suspend, so the VPN should drop its connection. The extension is not guaranteed to receive this event prior to suspending.
32310
+ * @chrome-enum "resume" Indicates that the OS has resumed and the user has logged back in, so the VPN should try to reconnect.
32250
32311
  */
32251
32312
  export type PlatformMessage = "connected" | "disconnected" | "error" | "linkDown" | "linkUp" | "linkChanged" | "suspend" | "resume";
32252
32313
 
32253
32314
  /**
32254
32315
  * The enum is used by the VPN client to inform the platform of its current state. This helps provide meaningful messages to the user.
32255
32316
  *
32256
- * @chrome-enum "connected" VPN connection was successful.
32257
- * @chrome-enum "failure" VPN connection failed.
32317
+ * @chrome-enum "connected" Specifies that VPN connection was successful.
32318
+ * @chrome-enum "failure" Specifies that VPN connection has failed.
32258
32319
  */
32259
32320
  export type VpnConnectionState = "connected" | "failure";
32260
32321
 
32261
32322
  /**
32262
32323
  * The enum is used by the platform to indicate the event that triggered `onUIEvent`.
32263
32324
  *
32264
- * @chrome-enum "showAddDialog" Request the VPN client to show add configuration dialog to the user.
32265
- * @chrome-enum "showConfigureDialog" Request the VPN client to show configuration settings dialog to the user.
32325
+ * @chrome-enum "showAddDialog" Requests that the VPN client show the add configuration dialog box to the user.
32326
+ * @chrome-enum "showConfigureDialog" Requests that the VPN client show the configuration settings dialog box to the user.
32266
32327
  */
32267
32328
  export type UIEvent = "showAddDialog" | "showConfigureDialog";
32268
32329
 
@@ -33766,51 +33827,87 @@ declare namespace chrome {
33766
33827
  export namespace webRequest {
33767
33828
 
33768
33829
  /**
33830
+ * @chrome-enum "main\_frame" Specifies the resource as the main frame.
33831
+ * @chrome-enum "sub\_frame" Specifies the resource as a sub frame.
33832
+ * @chrome-enum "stylesheet" Specifies the resource as a stylesheet.
33833
+ * @chrome-enum "script" Specifies the resource as a script.
33834
+ * @chrome-enum "image" Specifies the resource as an image.
33835
+ * @chrome-enum "font" Specifies the resource as a font.
33836
+ * @chrome-enum "object" Specifies the resource as an object.
33837
+ * @chrome-enum "xmlhttprequest" Specifies the resource as an XMLHttpRequest.
33838
+ * @chrome-enum "ping" Specifies the resource as a ping.
33839
+ * @chrome-enum "csp\_report" Specifies the resource as a Content Security Policy (CSP) report.
33840
+ * @chrome-enum "media" Specifies the resource as a media object.
33841
+ * @chrome-enum "websocket" Specifies the resource as a WebSocket.
33842
+ * @chrome-enum "webbundle" Specifies the resource as a WebBundle.
33843
+ * @chrome-enum "other" Specifies the resource as a type not included in the listed types.
33769
33844
  * @since Chrome 44
33770
33845
  */
33771
33846
  export type ResourceType = "main_frame" | "sub_frame" | "stylesheet" | "script" | "image" | "font" | "object" | "xmlhttprequest" | "ping" | "csp_report" | "media" | "websocket" | "webbundle" | "other";
33772
33847
 
33773
33848
  /**
33849
+ * @chrome-enum "blocking" Specifies the request is blocked until the callback function returns.
33850
+ * @chrome-enum "requestBody" Specifies that the request body should be included in the event.
33851
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
33774
33852
  * @since Chrome 44
33775
33853
  */
33776
33854
  export type OnBeforeRequestOptions = "blocking" | "requestBody" | "extraHeaders";
33777
33855
 
33778
33856
  /**
33857
+ * @chrome-enum "requestHeaders" Specifies that the request header should be included in the event.
33858
+ * @chrome-enum "blocking" Specifies the request is blocked until the callback function returns.
33859
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
33779
33860
  * @since Chrome 44
33780
33861
  */
33781
33862
  export type OnBeforeSendHeadersOptions = "requestHeaders" | "blocking" | "extraHeaders";
33782
33863
 
33783
33864
  /**
33865
+ * @chrome-enum "requestHeaders" Specifies that the request header should be included in the event.
33866
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
33784
33867
  * @since Chrome 44
33785
33868
  */
33786
33869
  export type OnSendHeadersOptions = "requestHeaders" | "extraHeaders";
33787
33870
 
33788
33871
  /**
33872
+ * @chrome-enum "blocking" Specifies the request is blocked until the callback function returns.
33873
+ * @chrome-enum "responseHeaders" Specifies that the response headers should be included in the event.
33874
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
33789
33875
  * @since Chrome 44
33790
33876
  */
33791
33877
  export type OnHeadersReceivedOptions = "blocking" | "responseHeaders" | "extraHeaders";
33792
33878
 
33793
33879
  /**
33880
+ * @chrome-enum "responseHeaders" Specifies that the response headers should be included in the event.
33881
+ * @chrome-enum "blocking" Specifies the request is blocked until the callback function returns.
33882
+ * @chrome-enum "asyncBlocking" Specifies that the callback function is handled asynchronously.
33883
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
33794
33884
  * @since Chrome 44
33795
33885
  */
33796
33886
  export type OnAuthRequiredOptions = "responseHeaders" | "blocking" | "asyncBlocking" | "extraHeaders";
33797
33887
 
33798
33888
  /**
33889
+ * @chrome-enum "responseHeaders" Specifies that the response headers should be included in the event.
33890
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
33799
33891
  * @since Chrome 44
33800
33892
  */
33801
33893
  export type OnResponseStartedOptions = "responseHeaders" | "extraHeaders";
33802
33894
 
33803
33895
  /**
33896
+ * @chrome-enum "responseHeaders" Specifies that the response headers should be included in the event.
33897
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
33804
33898
  * @since Chrome 44
33805
33899
  */
33806
33900
  export type OnBeforeRedirectOptions = "responseHeaders" | "extraHeaders";
33807
33901
 
33808
33902
  /**
33903
+ * @chrome-enum "responseHeaders" Specifies that the response headers should be included in the event.
33904
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
33809
33905
  * @since Chrome 44
33810
33906
  */
33811
33907
  export type OnCompletedOptions = "responseHeaders" | "extraHeaders";
33812
33908
 
33813
33909
  /**
33910
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
33814
33911
  * @since Chrome 79
33815
33912
  */
33816
33913
  export type OnErrorOccurredOptions = "extraHeaders";
@@ -36406,6 +36503,9 @@ declare namespace chrome {
36406
36503
  /**
36407
36504
  * Specifies what type of browser window to create. 'panel' is deprecated and is available only to existing allowlisted extensions on Chrome OS.
36408
36505
  *
36506
+ * @chrome-enum "normal" Specifies the window as a standard window.
36507
+ * @chrome-enum "popup" Specifies the window as a popup window.
36508
+ * @chrome-enum "panel" Specifies the window as a panel.
36409
36509
  * @since Chrome 44
36410
36510
  */
36411
36511
  export type CreateType = "normal" | "popup" | "panel";
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Thu Jun 29 2023 22:31:03 GMT+0000 (Coordinated Universal Time)
18
- // Built at 89e35fee17d9b8f9e85a1fc600ef97b9ee5638a3
17
+ // Generated on Sat Jul 01 2023 22:27:58 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 3d77b6c3d6d6cf8d88083bb587345656677e5f1b
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -2287,14 +2287,14 @@ declare namespace chrome {
2287
2287
  /**
2288
2288
  * Types of supported cryptographic signature algorithms.
2289
2289
  *
2290
- * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_MD5\_SHA1" RSASSA PKCS#1 v1.5 signature algorithm with the MD5-SHA-1 hashing. The extension must not prepend a DigestInfo prefix but only add PKCS#1 padding. This algorithm is deprecated and will never be requested by Chrome as of version 109.
2291
- * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA1" RSASSA PKCS#1 v1.5 signature algorithm with the SHA-1 hash function.
2292
- * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA256" RSASSA PKCS#1 v1.5 signature algorithm with the SHA-256 hashing function.
2293
- * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA384" RSASSA PKCS#1 v1.5 signature algorithm with the SHA-384 hashing function.
2294
- * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA512" RSASSA PKCS#1 v1.5 signature algorithm with the SHA-512 hashing function.
2295
- * @chrome-enum "RSASSA\_PSS\_SHA256" Since Chrome 89. RSASSA PSS signature algorithm with the SHA-256 hashing function, MGF1 mask generation function and the salt of the same size as the hash.
2296
- * @chrome-enum "RSASSA\_PSS\_SHA384" Since Chrome 89. RSASSA PSS signature algorithm with the SHA-384 hashing function, MGF1 mask generation function and the salt of the same size as the hash.
2297
- * @chrome-enum "RSASSA\_PSS\_SHA512" Since Chrome 89. RSASSA PSS signature algorithm with the SHA-512 hashing function, MGF1 mask generation function and the salt of the same size as the hash.
2290
+ * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_MD5\_SHA1" Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the MD5-SHA-1 hashing. The extension must not prepend a DigestInfo prefix but only add PKCS#1 padding. This algorithm is deprecated and will never be requested by Chrome as of version 109.
2291
+ * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA1" Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the SHA-1 hash function.
2292
+ * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA256" Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the SHA-256 hashing function.
2293
+ * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA384" Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the SHA-384 hashing function.
2294
+ * @chrome-enum "RSASSA\_PKCS1\_v1\_5\_SHA512" Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the SHA-512 hashing function.
2295
+ * @chrome-enum "RSASSA\_PSS\_SHA256" Specifies the RSASSA PSS signature algorithm with the SHA-256 hashing function, MGF1 mask generation function and the salt of the same size as the hash.
2296
+ * @chrome-enum "RSASSA\_PSS\_SHA384" Specifies the RSASSA PSS signature algorithm with the SHA-384 hashing function, MGF1 mask generation function and the salt of the same size as the hash.
2297
+ * @chrome-enum "RSASSA\_PSS\_SHA512" Specifies the RSASSA PSS signature algorithm with the SHA-512 hashing function, MGF1 mask generation function and the salt of the same size as the hash.
2298
2298
  * @since Chrome 86
2299
2299
  */
2300
2300
  export type Algorithm = "RSASSA_PKCS1_v1_5_MD5_SHA1" | "RSASSA_PKCS1_v1_5_SHA1" | "RSASSA_PKCS1_v1_5_SHA256" | "RSASSA_PKCS1_v1_5_SHA384" | "RSASSA_PKCS1_v1_5_SHA512" | "RSASSA_PSS_SHA256" | "RSASSA_PSS_SHA384" | "RSASSA_PSS_SHA512";
@@ -2406,12 +2406,20 @@ declare namespace chrome {
2406
2406
 
2407
2407
  /**
2408
2408
  * Deprecated. Replaced by {@link Algorithm}.
2409
+ *
2410
+ * @chrome-enum "MD5\_SHA1" Specifies the MD5 and SHA1 hashing algorithms.
2411
+ * @chrome-enum "SHA1" Specifies the SHA1 hashing algorithm.
2412
+ * @chrome-enum "SHA256" Specifies the SHA256 hashing algorithm.
2413
+ * @chrome-enum "SHA384" Specifies the SHA384 hashing algorithm.
2414
+ * @chrome-enum "SHA512" Specifies the SHA512 hashing algorithm.
2409
2415
  */
2410
2416
  export type Hash = "MD5_SHA1" | "SHA1" | "SHA256" | "SHA384" | "SHA512";
2411
2417
 
2412
2418
  /**
2413
2419
  * The type of code being requested by the extension with requestPin function.
2414
2420
  *
2421
+ * @chrome-enum "PIN" Specifies the requested code is a PIN.
2422
+ * @chrome-enum "PUK" Specifies the requested code is a PUK.
2415
2423
  * @since Chrome 57
2416
2424
  */
2417
2425
  export type PinRequestType = "PIN" | "PUK";
@@ -2419,6 +2427,10 @@ declare namespace chrome {
2419
2427
  /**
2420
2428
  * The types of errors that can be presented to the user through the requestPin function.
2421
2429
  *
2430
+ * @chrome-enum "INVALID\_PIN" Specifies the PIN is invalid.
2431
+ * @chrome-enum "INVALID\_PUK" Specifies the PUK is invalid.
2432
+ * @chrome-enum "MAX\_ATTEMPTS\_EXCEEDED" Specifies the maximum attempt number has been exceeded.
2433
+ * @chrome-enum "UNKNOWN\_ERROR" Specifies that the error cannot be represented by the above types.
2422
2434
  * @since Chrome 57
2423
2435
  */
2424
2436
  export type PinRequestErrorType = "INVALID_PIN" | "INVALID_PUK" | "MAX_ATTEMPTS_EXCEEDED" | "UNKNOWN_ERROR";
@@ -10705,8 +10717,8 @@ declare namespace chrome {
10705
10717
  }
10706
10718
 
10707
10719
  /**
10708
- * @chrome-enum "SYNC" Sync is enabled for the primary account.
10709
- * @chrome-enum "ANY" Any primary account, if exists.
10720
+ * @chrome-enum "SYNC" Specifies that Sync is enabled for the primary account.
10721
+ * @chrome-enum "ANY" Specifies the existence of a primary account, if any.
10710
10722
  * @since Chrome 84
10711
10723
  */
10712
10724
  export type AccountStatus = "SYNC" | "ANY";
@@ -12542,18 +12554,18 @@ declare namespace chrome {
12542
12554
  export namespace loginState {
12543
12555
 
12544
12556
  /**
12545
- * @chrome-enum "SIGNIN\_PROFILE" The extension is in the signin profile.
12546
- * @chrome-enum "USER\_PROFILE" The extension is in the user profile.
12557
+ * @chrome-enum "SIGNIN\_PROFILE" Specifies that the extension is in the signin profile.
12558
+ * @chrome-enum "USER\_PROFILE" Specifies that the extension is in the user profile.
12547
12559
  */
12548
12560
  export type ProfileType = "SIGNIN_PROFILE" | "USER_PROFILE";
12549
12561
 
12550
12562
  /**
12551
- * @chrome-enum "UNKNOWN" The session state is unknown.
12552
- * @chrome-enum "IN\_OOBE\_SCREEN" The user is in the out-of-box-experience screen.
12553
- * @chrome-enum "IN\_LOGIN\_SCREEN" The user is in the login screen.
12554
- * @chrome-enum "IN\_SESSION" The user is in the session.
12555
- * @chrome-enum "IN\_LOCK\_SCREEN" The user is in the lock screen.
12556
- * @chrome-enum "IN\_RMA\_SCREEN" The device is in RMA mode, finalizing repairs.
12563
+ * @chrome-enum "UNKNOWN" Specifies that the session state is unknown.
12564
+ * @chrome-enum "IN\_OOBE\_SCREEN" Specifies that the user is in the out-of-box-experience screen.
12565
+ * @chrome-enum "IN\_LOGIN\_SCREEN" Specifies that the user is in the login screen.
12566
+ * @chrome-enum "IN\_SESSION" Specifies that the user is in the session.
12567
+ * @chrome-enum "IN\_LOCK\_SCREEN" Specifies that the user is in the lock screen.
12568
+ * @chrome-enum "IN\_RMA\_SCREEN" Specifies that the device is in RMA mode, finalizing repairs.
12557
12569
  */
12558
12570
  export type SessionState = "UNKNOWN" | "IN_OOBE_SCREEN" | "IN_LOGIN_SCREEN" | "IN_SESSION" | "IN_LOCK_SCREEN" | "IN_RMA_SCREEN";
12559
12571
 
@@ -15160,16 +15172,16 @@ declare namespace chrome {
15160
15172
  export namespace notifications {
15161
15173
 
15162
15174
  /**
15163
- * @chrome-enum "basic" icon, title, message, expandedMessage, up to two buttons
15164
- * @chrome-enum "image" icon, title, message, expandedMessage, image, up to two buttons
15165
- * @chrome-enum "list" icon, title, message, items, up to two buttons. Users on Mac OS X only see the first item.
15166
- * @chrome-enum "progress" icon, title, message, progress, up to two buttons
15175
+ * @chrome-enum "basic" Contains an icon, title, message, expandedMessage, and up to two buttons.
15176
+ * @chrome-enum "image" Contains an icon, title, message, expandedMessage, image, and up to two buttons.
15177
+ * @chrome-enum "list" Contains an icon, title, message, items, and up to two buttons. Users on Mac OS X only see the first item.
15178
+ * @chrome-enum "progress" Contains an icon, title, message, progress, and up to two buttons.
15167
15179
  */
15168
15180
  export type TemplateType = "basic" | "image" | "list" | "progress";
15169
15181
 
15170
15182
  /**
15171
- * @chrome-enum "granted" User has elected to show notifications from the app or extension. This is the default at install time.
15172
- * @chrome-enum "denied" User has elected not to show notifications from the app or extension.
15183
+ * @chrome-enum "granted" Specifies that the user has elected to show notifications from the app or extension. This is the default at install time.
15184
+ * @chrome-enum "denied" Specifies that the user has elected not to show notifications from the app or extension.
15173
15185
  */
15174
15186
  export type PermissionLevel = "granted" | "denied";
15175
15187
 
@@ -15542,18 +15554,18 @@ declare namespace chrome {
15542
15554
 
15543
15555
  /**
15544
15556
  * @chrome-enum "TESTING" A reason used for testing purposes only.
15545
- * @chrome-enum "AUDIO\_PLAYBACK" The offscreen document is responsible for playing audio.
15546
- * @chrome-enum "IFRAME\_SCRIPTING" The offscreen document needs to embed and script an iframe in order to modify the iframe's content.
15547
- * @chrome-enum "DOM\_SCRAPING" The offscreen document needs to embed an iframe and scrape its DOM to extract information.
15548
- * @chrome-enum "BLOBS" The offscreen document needs to interact with Blob objects (including `URL.createObjectURL()`).
15549
- * @chrome-enum "DOM\_PARSER" The offscreen document needs to use the `DOMParser` API.
15550
- * @chrome-enum "USER\_MEDIA" The offscreen document needs to interact with media streams from user media (e.g. `getUserMedia()`).
15551
- * @chrome-enum "DISPLAY\_MEDIA" The offscreen document needs to interact with media streams from display media (e.g. `getDisplayMedia()`).
15552
- * @chrome-enum "WEB\_RTC" The offscreen document needs to use WebRTC APIs.
15553
- * @chrome-enum "CLIPBOARD" The offscreen document needs to interact with the clipboard APIs (e.g. `Navigator.clipboard`).
15554
- * @chrome-enum "LOCAL\_STORAGE" The offscreen document needs access to [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).
15555
- * @chrome-enum "WORKERS" The offscreen document needs to spawn workers.
15556
- * @chrome-enum "GEOLOCATION" The offscreen document needs to use [navigator.geolocation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/geolocation)
15557
+ * @chrome-enum "AUDIO\_PLAYBACK" Specifies that the offscreen document is responsible for playing audio.
15558
+ * @chrome-enum "IFRAME\_SCRIPTING" Specifies that the offscreen document needs to embed and script an iframe in order to modify the iframe's content.
15559
+ * @chrome-enum "DOM\_SCRAPING" Specifies that the offscreen document needs to embed an iframe and scrape its DOM to extract information.
15560
+ * @chrome-enum "BLOBS" Specifies that the offscreen document needs to interact with Blob objects (including `URL.createObjectURL()`).
15561
+ * @chrome-enum "DOM\_PARSER" Specifies that the offscreen document needs to use the
15562
+ * @chrome-enum "USER\_MEDIA" Specifies that the offscreen document needs to interact with media streams from user media (e.g. `getUserMedia()`).
15563
+ * @chrome-enum "DISPLAY\_MEDIA" Specifies that the offscreen document needs to interact with media streams from display media (e.g. `getDisplayMedia()`).
15564
+ * @chrome-enum "WEB\_RTC" Specifies that the offscreen document needs to use
15565
+ * @chrome-enum "CLIPBOARD" Specifies that the offscreen document needs to interact with the
15566
+ * @chrome-enum "LOCAL\_STORAGE" Specifies that the offscreen document needs access to [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).
15567
+ * @chrome-enum "WORKERS" Specifies that the offscreen document needs to spawn workers.
15568
+ * @chrome-enum "GEOLOCATION" Specifies that the offscreen document needs to use [navigator.geolocation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/geolocation).
15557
15569
  */
15558
15570
  export type Reason = "TESTING" | "AUDIO_PLAYBACK" | "IFRAME_SCRIPTING" | "DOM_SCRAPING" | "BLOBS" | "DOM_PARSER" | "USER_MEDIA" | "DISPLAY_MEDIA" | "WEB_RTC" | "CLIPBOARD" | "LOCAL_STORAGE" | "WORKERS" | "GEOLOCATION";
15559
15571
 
@@ -16085,8 +16097,8 @@ declare namespace chrome {
16085
16097
  export namespace power {
16086
16098
 
16087
16099
  /**
16088
- * @chrome-enum "system" Prevent the system from sleeping in response to user inactivity.
16089
- * @chrome-enum "display" Prevent the display from being turned off or dimmed or the system from sleeping in response to user inactivity.
16100
+ * @chrome-enum "system" Prevents the system from sleeping in response to user inactivity.
16101
+ * @chrome-enum "display" Prevents the display from being turned off or dimmed, or the system from sleeping in response to user inactivity.
16090
16102
  */
16091
16103
  export type Level = "system" | "display";
16092
16104
 
@@ -16136,10 +16148,10 @@ declare namespace chrome {
16136
16148
  /**
16137
16149
  * Error codes returned in response to {@link onPrintRequested} event.
16138
16150
  *
16139
- * @chrome-enum "OK" Operation completed successfully.
16140
- * @chrome-enum "FAILED" General failure.
16141
- * @chrome-enum "INVALID\_TICKET" Print ticket is invalid. For example, ticket is inconsistent with capabilities or extension is not able to handle all settings from the ticket.
16142
- * @chrome-enum "INVALID\_DATA" Document is invalid. For example, data may be corrupted or the format is incompatible with the extension.
16151
+ * @chrome-enum "OK" Specifies that the operation was completed successfully.
16152
+ * @chrome-enum "FAILED" Specifies that a general failure occured.
16153
+ * @chrome-enum "INVALID\_TICKET" Specifies that the print ticket is invalid. For example, the ticket is inconsistent with some capabilities, or the extension is not able to handle all settings from the ticket.
16154
+ * @chrome-enum "INVALID\_DATA" Specifies that the document is invalid. For example, data may be corrupted or the format is incompatible with the extension.
16143
16155
  */
16144
16156
  export type PrintError = "OK" | "FAILED" | "INVALID_TICKET" | "INVALID_DATA";
16145
16157
 
@@ -16480,39 +16492,39 @@ declare namespace chrome {
16480
16492
  /**
16481
16493
  * The source of the print job.
16482
16494
  *
16483
- * @chrome-enum "PRINT\_PREVIEW" The job was created from the Print Preview page initiated by the user.
16484
- * @chrome-enum "ANDROID\_APP" The job was created from an Android App.
16485
- * @chrome-enum "EXTENSION" The job was created by extension via Chrome API.
16495
+ * @chrome-enum "PRINT\_PREVIEW" Specifies that the job was created from the Print Preview page initiated by the user.
16496
+ * @chrome-enum "ANDROID\_APP" Specifies that the job was created from an Android App.
16497
+ * @chrome-enum "EXTENSION" Specifies that the job was created by extension via Chrome API.
16486
16498
  */
16487
16499
  export type PrintJobSource = "PRINT_PREVIEW" | "ANDROID_APP" | "EXTENSION";
16488
16500
 
16489
16501
  /**
16490
- * The final status of the print job.
16502
+ * Specifies the final status of the print job.
16491
16503
  *
16492
- * @chrome-enum "FAILED" Print job was interrupted due to some error.
16493
- * @chrome-enum "CANCELED" Print job was canceled by the user or via API.
16494
- * @chrome-enum "PRINTED" Print job was printed without any errors.
16504
+ * @chrome-enum "FAILED" Specifies that the print job was interrupted due to some error.
16505
+ * @chrome-enum "CANCELED" Specifies that the print job was canceled by the user or via API.
16506
+ * @chrome-enum "PRINTED" Specifies that the print job was printed without any errors.
16495
16507
  */
16496
16508
  export type PrintJobStatus = "FAILED" | "CANCELED" | "PRINTED";
16497
16509
 
16498
16510
  /**
16499
16511
  * The source of the printer.
16500
16512
  *
16501
- * @chrome-enum "USER" Printer was added by user.
16502
- * @chrome-enum "POLICY" Printer was added via policy.
16513
+ * @chrome-enum "USER" Specifies that the printer was added by user.
16514
+ * @chrome-enum "POLICY" Specifies that the printer was added via policy.
16503
16515
  */
16504
16516
  export type PrinterSource = "USER" | "POLICY";
16505
16517
 
16506
16518
  /**
16507
- * @chrome-enum "BLACK\_AND\_WHITE" Black and white mode was used.
16508
- * @chrome-enum "COLOR" Color mode was used.
16519
+ * @chrome-enum "BLACK\_AND\_WHITE" Specifies that black and white mode was used.
16520
+ * @chrome-enum "COLOR" Specifies that color mode was used.
16509
16521
  */
16510
16522
  export type ColorMode = "BLACK_AND_WHITE" | "COLOR";
16511
16523
 
16512
16524
  /**
16513
- * @chrome-enum "ONE\_SIDED" One-sided printing was used.
16514
- * @chrome-enum "TWO\_SIDED\_LONG\_EDGE" Two-sided printing was used, flipping on long edge.
16515
- * @chrome-enum "TWO\_SIDED\_SHORT\_EDGE" Two-sided printing was used, flipping on short edge.
16525
+ * @chrome-enum "ONE\_SIDED" Specifies that one-sided printing was used.
16526
+ * @chrome-enum "TWO\_SIDED\_LONG\_EDGE" Specifies that two-sided printing was used, flipping on long edge.
16527
+ * @chrome-enum "TWO\_SIDED\_SHORT\_EDGE" Specifies that two-sided printing was used, flipping on short edge.
16516
16528
  */
16517
16529
  export type DuplexMode = "ONE_SIDED" | "TWO_SIDED_LONG_EDGE" | "TWO_SIDED_SHORT_EDGE";
16518
16530
 
@@ -17215,7 +17227,7 @@ declare namespace chrome {
17215
17227
  }
17216
17228
 
17217
17229
  /**
17218
- * Use the `chrome.runtime` API to retrieve the background page, return details about the manifest, and listen for and respond to events in the app or extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs.
17230
+ * Use the `chrome.runtime` API to retrieve the service worker, return details about the manifest, and listen for and respond to events in the app or extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs.
17219
17231
  */
17220
17232
  export namespace runtime {
17221
17233
 
@@ -17330,6 +17342,13 @@ declare namespace chrome {
17330
17342
  /**
17331
17343
  * The operating system Chrome is running on.
17332
17344
  *
17345
+ * @chrome-enum "mac" Specifies the MacOS operating system.
17346
+ * @chrome-enum "win" Specifies the Windows operating system.
17347
+ * @chrome-enum "android" Specifies the Android operating system.
17348
+ * @chrome-enum "cros" Specifies the Chrome operating system.
17349
+ * @chrome-enum "linux" Specifies the Linux operating system.
17350
+ * @chrome-enum "openbsd" Specifies the OpenBSD operating system.
17351
+ * @chrome-enum "fuchsia" Specifies the Fuchsia operating system.
17333
17352
  * @since Chrome 44
17334
17353
  */
17335
17354
  export type PlatformOs = "mac" | "win" | "android" | "cros" | "linux" | "openbsd" | "fuchsia";
@@ -17337,6 +17356,12 @@ declare namespace chrome {
17337
17356
  /**
17338
17357
  * The machine's processor architecture.
17339
17358
  *
17359
+ * @chrome-enum "arm" Specifies the processer architecture as arm.
17360
+ * @chrome-enum "arm64" Specifies the processer architecture as arm64.
17361
+ * @chrome-enum "x86-32" Specifies the processer architecture as x86-32.
17362
+ * @chrome-enum "x86-64" Specifies the processer architecture as x86-64.
17363
+ * @chrome-enum "mips" Specifies the processer architecture as mips.
17364
+ * @chrome-enum "mips64" Specifies the processer architecture as mips64.
17340
17365
  * @since Chrome 44
17341
17366
  */
17342
17367
  export type PlatformArch = "arm" | "arm64" | "x86-32" | "x86-64" | "mips" | "mips64";
@@ -17344,6 +17369,11 @@ declare namespace chrome {
17344
17369
  /**
17345
17370
  * The native client architecture. This may be different from arch on some platforms.
17346
17371
  *
17372
+ * @chrome-enum "arm" Specifies the native client architecture as arm.
17373
+ * @chrome-enum "x86-32" Specifies the native client architecture as x86-32.
17374
+ * @chrome-enum "x86-64" Specifies the native client architecture as x86-64.
17375
+ * @chrome-enum "mips" Specifies the native client architecture as mips.
17376
+ * @chrome-enum "mips64" Specifies the native client architecture as mips64.
17347
17377
  * @since Chrome 44
17348
17378
  */
17349
17379
  export type PlatformNaclArch = "arm" | "x86-32" | "x86-64" | "mips" | "mips64";
@@ -17372,6 +17402,9 @@ declare namespace chrome {
17372
17402
  /**
17373
17403
  * Result of the update check.
17374
17404
  *
17405
+ * @chrome-enum "throttled" Specifies that the status check has been throttled. This can occur after repeated checks within a short amount of time.
17406
+ * @chrome-enum "no\_update" Specifies that there are no available updates to install.
17407
+ * @chrome-enum "update\_available" Specifies that there is an available update to install.
17375
17408
  * @since Chrome 44
17376
17409
  */
17377
17410
  export type RequestUpdateCheckStatus = "throttled" | "no_update" | "update_available";
@@ -17379,6 +17412,10 @@ declare namespace chrome {
17379
17412
  /**
17380
17413
  * The reason that this event is being dispatched.
17381
17414
  *
17415
+ * @chrome-enum "install" Specifies the event reason as an installation.
17416
+ * @chrome-enum "update" Specifies the event reason as an extension update.
17417
+ * @chrome-enum "chrome\_update" Specifies the event reason as a Chrome update.
17418
+ * @chrome-enum "shared\_module\_update" Specifies the event reason as an update to a shared module.
17382
17419
  * @since Chrome 44
17383
17420
  */
17384
17421
  export type OnInstalledReason = "install" | "update" | "chrome_update" | "shared_module_update";
@@ -17386,11 +17423,19 @@ declare namespace chrome {
17386
17423
  /**
17387
17424
  * The reason that the event is being dispatched. 'app\_update' is used when the restart is needed because the application is updated to a newer version. 'os\_update' is used when the restart is needed because the browser/OS is updated to a newer version. 'periodic' is used when the system runs for more than the permitted uptime set in the enterprise policy.
17388
17425
  *
17426
+ * @chrome-enum "app\_update" Specifies the event reason as an update to the app.
17427
+ * @chrome-enum "os\_update" Specifies the event reason as an update to the operating system.
17428
+ * @chrome-enum "periodic" Specifies the event reason as a periodic restart of the app.
17389
17429
  * @since Chrome 44
17390
17430
  */
17391
17431
  export type OnRestartRequiredReason = "app_update" | "os_update" | "periodic";
17392
17432
 
17393
17433
  /**
17434
+ * @chrome-enum "TAB" Specifies the context type as a tab
17435
+ * @chrome-enum "POPUP" Specifies the context type as an extension popup window
17436
+ * @chrome-enum "BACKGROUND" Specifies the context type as a service worker.
17437
+ * @chrome-enum "OFFSCREEN\_DOCUMENT" Specifies the context type as an offscreen document.
17438
+ * @chrome-enum "SIDE\_PANEL" Specifies the context type as a side panel.
17394
17439
  * @since Chrome 114
17395
17440
  */
17396
17441
  export type ContextType = "TAB" | "POPUP" | "BACKGROUND" | "OFFSCREEN_DOCUMENT" | "SIDE_PANEL";
@@ -18021,8 +18066,8 @@ declare namespace chrome {
18021
18066
  /**
18022
18067
  * The JavaScript world for a script to execute within.
18023
18068
  *
18024
- * @chrome-enum "ISOLATED" The isolated world, unique to this extension.
18025
- * @chrome-enum "MAIN" The main world of the DOM, shared with the page's JavaScript.
18069
+ * @chrome-enum "ISOLATED" Specifies the isolated world, which is the execution environment unique to this extension.
18070
+ * @chrome-enum "MAIN" Specifies the main world of the DOM, which is the execution environment shared with the host page's JavaScript.
18026
18071
  * @since Chrome 95
18027
18072
  */
18028
18073
  export type ExecutionWorld = "ISOLATED" | "MAIN";
@@ -18388,9 +18433,9 @@ declare namespace chrome {
18388
18433
  export namespace search {
18389
18434
 
18390
18435
  /**
18391
- * @chrome-enum "CURRENT\_TAB" Display results in the calling tab or the tab from the active browser.
18392
- * @chrome-enum "NEW\_TAB" Display search results in a new tab.
18393
- * @chrome-enum "NEW\_WINDOW" Display search results in a new window.
18436
+ * @chrome-enum "CURRENT\_TAB" Specifies that the search results display in the calling tab or the tab from the active browser.
18437
+ * @chrome-enum "NEW\_TAB" Specifies that the search results display in a new tab.
18438
+ * @chrome-enum "NEW\_WINDOW" Specifies that the search results display in a new window.
18394
18439
  */
18395
18440
  export type Disposition = "CURRENT_TAB" | "NEW_TAB" | "NEW_WINDOW";
18396
18441
 
@@ -19999,6 +20044,8 @@ declare namespace chrome {
19999
20044
  /**
20000
20045
  * The storage area's access level.
20001
20046
  *
20047
+ * @chrome-enum "TRUSTED\_CONTEXTS" Specifies contexts originating from the extension itself.
20048
+ * @chrome-enum "TRUSTED\_AND\_UNTRUSTED\_CONTEXTS" Specifies contexts originating from outside the extension.
20002
20049
  * @since Chrome 102
20003
20050
  */
20004
20051
  export type AccessLevel = "TRUSTED_CONTEXTS" | "TRUSTED_AND_UNTRUSTED_CONTEXTS";
@@ -20594,6 +20641,13 @@ declare namespace chrome {
20594
20641
  yearOfManufacture: number;
20595
20642
  }
20596
20643
 
20644
+ /**
20645
+ * An enum to tell if the display is detected and used by the system. The display is considered 'inactive', if it is not detected by the system (maybe disconnected, or considered disconnected due to sleep mode, etc). This state is used to keep existing display when the all displays are disconnected, for example.
20646
+ *
20647
+ * @since Pending
20648
+ */
20649
+ export type ActiveState = "active" | "inactive";
20650
+
20597
20651
  export interface DisplayUnitInfo {
20598
20652
 
20599
20653
  /**
@@ -20635,6 +20689,13 @@ declare namespace chrome {
20635
20689
  */
20636
20690
  isEnabled: boolean;
20637
20691
 
20692
+ /**
20693
+ * Active if the display is detected and used by the system.
20694
+ *
20695
+ * @since Pending
20696
+ */
20697
+ activeState: ActiveState;
20698
+
20638
20699
  /**
20639
20700
  * True for all displays when in unified desktop mode. See documentation for {@link enableUnifiedDesktop}.
20640
20701
  *
@@ -20772,9 +20833,9 @@ declare namespace chrome {
20772
20833
  /**
20773
20834
  * Mirror mode, i.e. different ways of how a display is mirrored to other displays.
20774
20835
  *
20775
- * @chrome-enum "off" Use the default mode (extended or unified desktop).
20776
- * @chrome-enum "normal" The default source display will be mirrored to all other displays.
20777
- * @chrome-enum "mixed" The specified source display will be mirrored to the provided destination displays. All other connected displays will be extended.
20836
+ * @chrome-enum "off" Specifies the default mode (extended or unified desktop).
20837
+ * @chrome-enum "normal" Specifies that the default source display will be mirrored to all other displays.
20838
+ * @chrome-enum "mixed" Specifies that the specified source display will be mirrored to the provided destination displays. All other connected displays will be extended.
20778
20839
  * @since Chrome 65
20779
20840
  */
20780
20841
  export type MirrorMode = "off" | "normal" | "mixed";
@@ -25108,30 +25169,30 @@ declare namespace chrome {
25108
25169
  /**
25109
25170
  * The enum is used by the platform to notify the client of the VPN session status.
25110
25171
  *
25111
- * @chrome-enum "connected" VPN configuration connected.
25112
- * @chrome-enum "disconnected" VPN configuration disconnected.
25113
- * @chrome-enum "error" An error occurred in VPN connection, for example a timeout. A description of the error is given as the {@link onPlatformMessage.error error argument to onPlatformMessage}.
25114
- * @chrome-enum "linkDown" The default physical network connection is down.
25115
- * @chrome-enum "linkUp" The default physical network connection is back up.
25116
- * @chrome-enum "linkChanged" The default physical network connection changed, e.g. wifi->mobile.
25117
- * @chrome-enum "suspend" The OS is preparing to suspend, so the VPN should drop its connection. The extension is not guaranteed to receive this event prior to suspending.
25118
- * @chrome-enum "resume" The OS has resumed and the user has logged back in, so the VPN should try to reconnect.
25172
+ * @chrome-enum "connected" Indicates that the VPN configuration connected.
25173
+ * @chrome-enum "disconnected" Indicates that the VPN configuration disconnected.
25174
+ * @chrome-enum "error" Indicates that an error occurred in VPN connection, for example a timeout. A description of the error is given as the {@link onPlatformMessage.error error argument to onPlatformMessage}.
25175
+ * @chrome-enum "linkDown" Indicates that the default physical network connection is down.
25176
+ * @chrome-enum "linkUp" Indicates that the default physical network connection is back up.
25177
+ * @chrome-enum "linkChanged" Indicates that the default physical network connection changed, e.g. wifi->mobile.
25178
+ * @chrome-enum "suspend" Indicates that the OS is preparing to suspend, so the VPN should drop its connection. The extension is not guaranteed to receive this event prior to suspending.
25179
+ * @chrome-enum "resume" Indicates that the OS has resumed and the user has logged back in, so the VPN should try to reconnect.
25119
25180
  */
25120
25181
  export type PlatformMessage = "connected" | "disconnected" | "error" | "linkDown" | "linkUp" | "linkChanged" | "suspend" | "resume";
25121
25182
 
25122
25183
  /**
25123
25184
  * The enum is used by the VPN client to inform the platform of its current state. This helps provide meaningful messages to the user.
25124
25185
  *
25125
- * @chrome-enum "connected" VPN connection was successful.
25126
- * @chrome-enum "failure" VPN connection failed.
25186
+ * @chrome-enum "connected" Specifies that VPN connection was successful.
25187
+ * @chrome-enum "failure" Specifies that VPN connection has failed.
25127
25188
  */
25128
25189
  export type VpnConnectionState = "connected" | "failure";
25129
25190
 
25130
25191
  /**
25131
25192
  * The enum is used by the platform to indicate the event that triggered `onUIEvent`.
25132
25193
  *
25133
- * @chrome-enum "showAddDialog" Request the VPN client to show add configuration dialog to the user.
25134
- * @chrome-enum "showConfigureDialog" Request the VPN client to show configuration settings dialog to the user.
25194
+ * @chrome-enum "showAddDialog" Requests that the VPN client show the add configuration dialog box to the user.
25195
+ * @chrome-enum "showConfigureDialog" Requests that the VPN client show the configuration settings dialog box to the user.
25135
25196
  */
25136
25197
  export type UIEvent = "showAddDialog" | "showConfigureDialog";
25137
25198
 
@@ -26635,51 +26696,87 @@ declare namespace chrome {
26635
26696
  export namespace webRequest {
26636
26697
 
26637
26698
  /**
26699
+ * @chrome-enum "main\_frame" Specifies the resource as the main frame.
26700
+ * @chrome-enum "sub\_frame" Specifies the resource as a sub frame.
26701
+ * @chrome-enum "stylesheet" Specifies the resource as a stylesheet.
26702
+ * @chrome-enum "script" Specifies the resource as a script.
26703
+ * @chrome-enum "image" Specifies the resource as an image.
26704
+ * @chrome-enum "font" Specifies the resource as a font.
26705
+ * @chrome-enum "object" Specifies the resource as an object.
26706
+ * @chrome-enum "xmlhttprequest" Specifies the resource as an XMLHttpRequest.
26707
+ * @chrome-enum "ping" Specifies the resource as a ping.
26708
+ * @chrome-enum "csp\_report" Specifies the resource as a Content Security Policy (CSP) report.
26709
+ * @chrome-enum "media" Specifies the resource as a media object.
26710
+ * @chrome-enum "websocket" Specifies the resource as a WebSocket.
26711
+ * @chrome-enum "webbundle" Specifies the resource as a WebBundle.
26712
+ * @chrome-enum "other" Specifies the resource as a type not included in the listed types.
26638
26713
  * @since Chrome 44
26639
26714
  */
26640
26715
  export type ResourceType = "main_frame" | "sub_frame" | "stylesheet" | "script" | "image" | "font" | "object" | "xmlhttprequest" | "ping" | "csp_report" | "media" | "websocket" | "webbundle" | "other";
26641
26716
 
26642
26717
  /**
26718
+ * @chrome-enum "blocking" Specifies the request is blocked until the callback function returns.
26719
+ * @chrome-enum "requestBody" Specifies that the request body should be included in the event.
26720
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
26643
26721
  * @since Chrome 44
26644
26722
  */
26645
26723
  export type OnBeforeRequestOptions = "blocking" | "requestBody" | "extraHeaders";
26646
26724
 
26647
26725
  /**
26726
+ * @chrome-enum "requestHeaders" Specifies that the request header should be included in the event.
26727
+ * @chrome-enum "blocking" Specifies the request is blocked until the callback function returns.
26728
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
26648
26729
  * @since Chrome 44
26649
26730
  */
26650
26731
  export type OnBeforeSendHeadersOptions = "requestHeaders" | "blocking" | "extraHeaders";
26651
26732
 
26652
26733
  /**
26734
+ * @chrome-enum "requestHeaders" Specifies that the request header should be included in the event.
26735
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
26653
26736
  * @since Chrome 44
26654
26737
  */
26655
26738
  export type OnSendHeadersOptions = "requestHeaders" | "extraHeaders";
26656
26739
 
26657
26740
  /**
26741
+ * @chrome-enum "blocking" Specifies the request is blocked until the callback function returns.
26742
+ * @chrome-enum "responseHeaders" Specifies that the response headers should be included in the event.
26743
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
26658
26744
  * @since Chrome 44
26659
26745
  */
26660
26746
  export type OnHeadersReceivedOptions = "blocking" | "responseHeaders" | "extraHeaders";
26661
26747
 
26662
26748
  /**
26749
+ * @chrome-enum "responseHeaders" Specifies that the response headers should be included in the event.
26750
+ * @chrome-enum "blocking" Specifies the request is blocked until the callback function returns.
26751
+ * @chrome-enum "asyncBlocking" Specifies that the callback function is handled asynchronously.
26752
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
26663
26753
  * @since Chrome 44
26664
26754
  */
26665
26755
  export type OnAuthRequiredOptions = "responseHeaders" | "blocking" | "asyncBlocking" | "extraHeaders";
26666
26756
 
26667
26757
  /**
26758
+ * @chrome-enum "responseHeaders" Specifies that the response headers should be included in the event.
26759
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
26668
26760
  * @since Chrome 44
26669
26761
  */
26670
26762
  export type OnResponseStartedOptions = "responseHeaders" | "extraHeaders";
26671
26763
 
26672
26764
  /**
26765
+ * @chrome-enum "responseHeaders" Specifies that the response headers should be included in the event.
26766
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
26673
26767
  * @since Chrome 44
26674
26768
  */
26675
26769
  export type OnBeforeRedirectOptions = "responseHeaders" | "extraHeaders";
26676
26770
 
26677
26771
  /**
26772
+ * @chrome-enum "responseHeaders" Specifies that the response headers should be included in the event.
26773
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
26678
26774
  * @since Chrome 44
26679
26775
  */
26680
26776
  export type OnCompletedOptions = "responseHeaders" | "extraHeaders";
26681
26777
 
26682
26778
  /**
26779
+ * @chrome-enum "extraHeaders" Specifies that headers can violate Cross-Origin Resource Sharing (CORS).
26683
26780
  * @since Chrome 79
26684
26781
  */
26685
26782
  export type OnErrorOccurredOptions = "extraHeaders";
@@ -27888,6 +27985,9 @@ declare namespace chrome {
27888
27985
  /**
27889
27986
  * Specifies what type of browser window to create. 'panel' is deprecated and is available only to existing allowlisted extensions on Chrome OS.
27890
27987
  *
27988
+ * @chrome-enum "normal" Specifies the window as a standard window.
27989
+ * @chrome-enum "popup" Specifies the window as a popup window.
27990
+ * @chrome-enum "panel" Specifies the window as a panel.
27891
27991
  * @since Chrome 44
27892
27992
  */
27893
27993
  export type CreateType = "normal" | "popup" | "panel";
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "c547449381a2ba4d"
8
+ "build-hash": "0759a06dd9549ffb"
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
@@ -16,5 +16,5 @@
16
16
  "url": "https://github.com/GoogleChrome/chrome-types/issues"
17
17
  },
18
18
  "homepage": "https://github.com/GoogleChrome/chrome-types",
19
- "version": "0.1.210"
19
+ "version": "0.1.211"
20
20
  }