chrome-types 0.1.281 → 0.1.283

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 +64 -64
  2. package/index.d.ts +47 -47
  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 Fri Apr 12 2024 22:29:02 GMT+0000 (Coordinated Universal Time)
18
- // Built at 84196059a0455d3c89b5621064c0cb060643704a
17
+ // Generated on Wed May 08 2024 22:30:18 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 9977a0679ac0d596c660a7680d5bad888280380f
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -988,7 +988,7 @@ declare namespace chrome {
988
988
  /**
989
989
  * Enumeration of app launch sources. This should be kept in sync with AppLaunchSource in components/services/app\_service/public/mojom/types.mojom, and GetLaunchSourceEnum() in extensions/browser/api/app\_runtime/app\_runtime\_api.cc. Note the enumeration is used in UMA histogram so entries should not be re-ordered or removed.
990
990
  */
991
- export type LaunchSource = "untracked" | "app_launcher" | "new_tab_page" | "reload" | "restart" | "load_and_launch" | "command_line" | "file_handler" | "url_handler" | "system_tray" | "about_page" | "keyboard" | "extensions_page" | "management_api" | "ephemeral_app" | "background" | "kiosk" | "chrome_internal" | "test" | "installed_notification" | "context_menu" | "arc" | "intent_url" | "app_home_page";
991
+ export type LaunchSource = "untracked" | "app_launcher" | "new_tab_page" | "reload" | "restart" | "load_and_launch" | "command_line" | "file_handler" | "url_handler" | "system_tray" | "about_page" | "keyboard" | "extensions_page" | "management_api" | "ephemeral_app" | "background" | "kiosk" | "chrome_internal" | "test" | "installed_notification" | "context_menu" | "arc" | "intent_url" | "app_home_page" | "focus_mode";
992
992
 
993
993
  /**
994
994
  * An app can be launched with a specific action in mind, for example, to create a new note. The type of action the app was launched with is available inside of the `actionData` field from the LaunchData instance.
@@ -2194,7 +2194,7 @@ declare namespace chrome {
2194
2194
  filterType?: FilterType;
2195
2195
 
2196
2196
  /**
2197
- * Maximum number of bluetoth devices to return. Default is 0 (no limit) if unspecified.
2197
+ * Maximum number of bluetooth devices to return. Default is 0 (no limit) if unspecified.
2198
2198
  */
2199
2199
  limit?: number;
2200
2200
  }
@@ -7433,7 +7433,7 @@ declare namespace chrome {
7433
7433
  /**
7434
7434
  * Debugger session identifier. One of tabId, extensionId or targetId must be specified. Additionally, an optional sessionId can be provided. If sessionId is specified for arguments sent from {@link onEvent}, it means the event is coming from a child protocol session within the root debuggee session. If sessionId is specified when passed to {@link sendCommand}, it targets a child protocol session within the root debuggee session.
7435
7435
  *
7436
- * @since Pending
7436
+ * @since Chrome 125
7437
7437
  */
7438
7438
  export interface DebuggerSession {
7439
7439
 
@@ -10374,19 +10374,19 @@ declare namespace chrome {
10374
10374
  * @chrome-enum "UNREACHABLE" The device is not reachable.
10375
10375
  * @chrome-enum "MISSING" The device is disconnected.
10376
10376
  * @chrome-enum "INTERNAL\_ERROR" An error has occurred somewhere other than the calling application.
10377
- * @since Pending
10377
+ * @since Chrome 125
10378
10378
  */
10379
10379
  export type OperationResult = "UNKNOWN" | "SUCCESS" | "UNSUPPORTED" | "CANCELLED" | "DEVICE_BUSY" | "INVALID" | "WRONG_TYPE" | "EOF" | "ADF_JAMMED" | "ADF_EMPTY" | "COVER_OPEN" | "IO_ERROR" | "ACCESS_DENIED" | "NO_MEMORY" | "UNREACHABLE" | "MISSING" | "INTERNAL_ERROR";
10380
10380
 
10381
10381
  /**
10382
10382
  * Indicates how the scanner is connected to the computer.
10383
10383
  *
10384
- * @since Pending
10384
+ * @since Chrome 125
10385
10385
  */
10386
10386
  export type ConnectionType = "UNSPECIFIED" | "USB" | "NETWORK";
10387
10387
 
10388
10388
  /**
10389
- * @since Pending
10389
+ * @since Chrome 125
10390
10390
  */
10391
10391
  export interface ScannerInfo {
10392
10392
 
@@ -10446,7 +10446,7 @@ declare namespace chrome {
10446
10446
  * @chrome-enum "STRING" A sequence of any bytes except NUL ('\\0'). The `value` property will be a DOMString.
10447
10447
  * @chrome-enum "BUTTON" An option of this type has no value. Instead, setting an option of this type causes an option-specific side effect in the scanner driver. For example, a button-typed option could be used by a scanner driver to provide a means to select default values or to tell an automatic document feeder to advance to the next sheet of paper.
10448
10448
  * @chrome-enum "GROUP" Grouping option. No value. This is included for compatibility, but will not normally be returned in `ScannerOption` values. Use `getOptionGroups()` to retrieve the list of groups with their member options.
10449
- * @since Pending
10449
+ * @since Chrome 125
10450
10450
  */
10451
10451
  export type OptionType = "UNKNOWN" | "BOOL" | "INT" | "FIXED" | "STRING" | "BUTTON" | "GROUP";
10452
10452
 
@@ -10460,7 +10460,7 @@ declare namespace chrome {
10460
10460
  * @chrome-enum "DPI" The value is measured in dots per inch, for example, resolution.
10461
10461
  * @chrome-enum "PERCENT" The value is a percent, for example, brightness.
10462
10462
  * @chrome-enum "MICROSECOND" The value is measured in microseconds, for example, exposure time.
10463
- * @since Pending
10463
+ * @since Chrome 125
10464
10464
  */
10465
10465
  export type OptionUnit = "UNITLESS" | "PIXEL" | "BIT" | "MM" | "DPI" | "PERCENT" | "MICROSECOND";
10466
10466
 
@@ -10472,12 +10472,12 @@ declare namespace chrome {
10472
10472
  * @chrome-enum "INT\_LIST" The constraint on a specific list of `OptionType.INT` values. The `OptionConstraint.list` property will contain `long` values, and the other properties will be unset.
10473
10473
  * @chrome-enum "FIXED\_LIST" The constraint on a specific list of `OptionType.FIXED` values. The `OptionConstraint.list` property will contain `double` values, and the other properties will be unset.
10474
10474
  * @chrome-enum "STRING\_LIST" The constraint on a specific list of `OptionType.STRING` values. The `OptionConstraint.list` property will contain `DOMString` values, and the other properties will be unset.
10475
- * @since Pending
10475
+ * @since Chrome 125
10476
10476
  */
10477
10477
  export type ConstraintType = "INT_RANGE" | "FIXED_RANGE" | "INT_LIST" | "FIXED_LIST" | "STRING_LIST";
10478
10478
 
10479
10479
  /**
10480
- * @since Pending
10480
+ * @since Chrome 125
10481
10481
  */
10482
10482
  export interface OptionConstraint {
10483
10483
 
@@ -10498,12 +10498,12 @@ declare namespace chrome {
10498
10498
  * @chrome-enum "NOT\_CONFIGURABLE" The option is read-only.
10499
10499
  * @chrome-enum "SOFTWARE\_CONFIGURABLE" The option can be set in software.
10500
10500
  * @chrome-enum "HARDWARE\_CONFIGURABLE" The option can be set by the user toggling or pushing a button on the scanner.
10501
- * @since Pending
10501
+ * @since Chrome 125
10502
10502
  */
10503
10503
  export type Configurability = "NOT_CONFIGURABLE" | "SOFTWARE_CONFIGURABLE" | "HARDWARE_CONFIGURABLE";
10504
10504
 
10505
10505
  /**
10506
- * @since Pending
10506
+ * @since Chrome 125
10507
10507
  */
10508
10508
  export interface ScannerOption {
10509
10509
 
@@ -10574,7 +10574,7 @@ declare namespace chrome {
10574
10574
  }
10575
10575
 
10576
10576
  /**
10577
- * @since Pending
10577
+ * @since Chrome 125
10578
10578
  */
10579
10579
  export interface DeviceFilter {
10580
10580
 
@@ -10590,7 +10590,7 @@ declare namespace chrome {
10590
10590
  }
10591
10591
 
10592
10592
  /**
10593
- * @since Pending
10593
+ * @since Chrome 125
10594
10594
  */
10595
10595
  export interface OptionGroup {
10596
10596
 
@@ -10606,7 +10606,7 @@ declare namespace chrome {
10606
10606
  }
10607
10607
 
10608
10608
  /**
10609
- * @since Pending
10609
+ * @since Chrome 125
10610
10610
  */
10611
10611
  export interface GetScannerListResponse {
10612
10612
 
@@ -10622,7 +10622,7 @@ declare namespace chrome {
10622
10622
  }
10623
10623
 
10624
10624
  /**
10625
- * @since Pending
10625
+ * @since Chrome 125
10626
10626
  */
10627
10627
  export interface OpenScannerResponse {
10628
10628
 
@@ -10648,7 +10648,7 @@ declare namespace chrome {
10648
10648
  }
10649
10649
 
10650
10650
  /**
10651
- * @since Pending
10651
+ * @since Chrome 125
10652
10652
  */
10653
10653
  export interface GetOptionGroupsResponse {
10654
10654
 
@@ -10669,7 +10669,7 @@ declare namespace chrome {
10669
10669
  }
10670
10670
 
10671
10671
  /**
10672
- * @since Pending
10672
+ * @since Chrome 125
10673
10673
  */
10674
10674
  export interface CloseScannerResponse {
10675
10675
 
@@ -10685,7 +10685,7 @@ declare namespace chrome {
10685
10685
  }
10686
10686
 
10687
10687
  /**
10688
- * @since Pending
10688
+ * @since Chrome 125
10689
10689
  */
10690
10690
  export interface OptionSetting {
10691
10691
 
@@ -10706,7 +10706,7 @@ declare namespace chrome {
10706
10706
  }
10707
10707
 
10708
10708
  /**
10709
- * @since Pending
10709
+ * @since Chrome 125
10710
10710
  */
10711
10711
  export interface SetOptionResult {
10712
10712
 
@@ -10722,7 +10722,7 @@ declare namespace chrome {
10722
10722
  }
10723
10723
 
10724
10724
  /**
10725
- * @since Pending
10725
+ * @since Chrome 125
10726
10726
  */
10727
10727
  export interface SetOptionsResponse {
10728
10728
 
@@ -10745,7 +10745,7 @@ declare namespace chrome {
10745
10745
  }
10746
10746
 
10747
10747
  /**
10748
- * @since Pending
10748
+ * @since Chrome 125
10749
10749
  */
10750
10750
  export interface StartScanOptions {
10751
10751
 
@@ -10761,7 +10761,7 @@ declare namespace chrome {
10761
10761
  }
10762
10762
 
10763
10763
  /**
10764
- * @since Pending
10764
+ * @since Chrome 125
10765
10765
  */
10766
10766
  export interface StartScanResponse {
10767
10767
 
@@ -10782,7 +10782,7 @@ declare namespace chrome {
10782
10782
  }
10783
10783
 
10784
10784
  /**
10785
- * @since Pending
10785
+ * @since Chrome 125
10786
10786
  */
10787
10787
  export interface CancelScanResponse {
10788
10788
 
@@ -10798,7 +10798,7 @@ declare namespace chrome {
10798
10798
  }
10799
10799
 
10800
10800
  /**
10801
- * @since Pending
10801
+ * @since Chrome 125
10802
10802
  */
10803
10803
  export interface ReadScanDataResponse {
10804
10804
 
@@ -10853,7 +10853,7 @@ declare namespace chrome {
10853
10853
  * Gets the list of available scanners and returns a Promise that resolves with a {@link GetScannerListResponse} object. If a callback is passed to this function, returned data is passed to it instead.
10854
10854
  *
10855
10855
  * @param filter A {@link DeviceFilter} indicating which types of scanners should be returned.
10856
- * @since Pending
10856
+ * @since Chrome 125
10857
10857
  */
10858
10858
  export function getScannerList(
10859
10859
 
@@ -10865,7 +10865,7 @@ declare namespace chrome {
10865
10865
  *
10866
10866
  * @param filter A {@link DeviceFilter} indicating which types of scanners should be returned.
10867
10867
  * @param callback Called with the result and list of scanners.
10868
- * @since Pending
10868
+ * @since Chrome 125
10869
10869
  */
10870
10870
  export function getScannerList(
10871
10871
 
@@ -10880,7 +10880,7 @@ declare namespace chrome {
10880
10880
  * Opens a scanner for exclusive access and returns a Promise that resolves with an {@link OpenScannerResponse} object. If a callback is passed to this function, returned data is passed to it instead.
10881
10881
  *
10882
10882
  * @param scannerId The ID of a scanner to be opened. This value is one returned from a previous call to {@link getScannerList}.
10883
- * @since Pending
10883
+ * @since Chrome 125
10884
10884
  */
10885
10885
  export function openScanner(
10886
10886
 
@@ -10892,7 +10892,7 @@ declare namespace chrome {
10892
10892
  *
10893
10893
  * @param scannerId The ID of a scanner to be opened. This value is one returned from a previous call to {@link getScannerList}.
10894
10894
  * @param callback Called with the result.
10895
- * @since Pending
10895
+ * @since Chrome 125
10896
10896
  */
10897
10897
  export function openScanner(
10898
10898
 
@@ -10907,7 +10907,7 @@ declare namespace chrome {
10907
10907
  * Gets the group names and member options from a scanner previously opened by {@link openScanner}. This method returns a Promise that resolves with a {@link GetOptionGroupsResponse} object. If a callback is passed to this function, returned data is passed to it instead.
10908
10908
  *
10909
10909
  * @param scannerHandle The handle of an open scanner returned from a call to {@link openScanner}.
10910
- * @since Pending
10910
+ * @since Chrome 125
10911
10911
  */
10912
10912
  export function getOptionGroups(
10913
10913
 
@@ -10919,7 +10919,7 @@ declare namespace chrome {
10919
10919
  *
10920
10920
  * @param scannerHandle The handle of an open scanner returned from a call to {@link openScanner}.
10921
10921
  * @param callback Called with the result.
10922
- * @since Pending
10922
+ * @since Chrome 125
10923
10923
  */
10924
10924
  export function getOptionGroups(
10925
10925
 
@@ -10934,7 +10934,7 @@ declare namespace chrome {
10934
10934
  * Closes the scanner with the passed in handle and returns a Promise that resolves with a {@link CloseScannerResponse} object. If a callback is used, the object is passed to it instead. Even if the response is not a success, the supplied handle becomes invalid and should not be used for further operations.
10935
10935
  *
10936
10936
  * @param scannerHandle Specifies the handle of an open scanner that was previously returned from a call to {@link openScanner}.
10937
- * @since Pending
10937
+ * @since Chrome 125
10938
10938
  */
10939
10939
  export function closeScanner(
10940
10940
 
@@ -10946,7 +10946,7 @@ declare namespace chrome {
10946
10946
  *
10947
10947
  * @param scannerHandle Specifies the handle of an open scanner that was previously returned from a call to {@link openScanner}.
10948
10948
  * @param callback Called with the result.
10949
- * @since Pending
10949
+ * @since Chrome 125
10950
10950
  */
10951
10951
  export function closeScanner(
10952
10952
 
@@ -10962,7 +10962,7 @@ declare namespace chrome {
10962
10962
  *
10963
10963
  * @param scannerHandle The handle of the scanner to set options on. This should be a value previously returned from a call to {@link openScanner}.
10964
10964
  * @param options A list of `OptionSetting` objects to be applied to the scanner.
10965
- * @since Pending
10965
+ * @since Chrome 125
10966
10966
  */
10967
10967
  export function setOptions(
10968
10968
 
@@ -10977,7 +10977,7 @@ declare namespace chrome {
10977
10977
  * @param scannerHandle The handle of the scanner to set options on. This should be a value previously returned from a call to {@link openScanner}.
10978
10978
  * @param options A list of `OptionSetting` objects to be applied to the scanner.
10979
10979
  * @param callback Called with the result.
10980
- * @since Pending
10980
+ * @since Chrome 125
10981
10981
  */
10982
10982
  export function setOptions(
10983
10983
 
@@ -10995,7 +10995,7 @@ declare namespace chrome {
10995
10995
  *
10996
10996
  * @param scannerHandle The handle of an open scanner. This should be a value previously returned from a call to {@link openScanner}.
10997
10997
  * @param options A {@link StartScanOptions} object indicating the options to be used for the scan. The `StartScanOptions.format` property must match one of the entries returned in the scanner's `ScannerInfo`.
10998
- * @since Pending
10998
+ * @since Chrome 125
10999
10999
  */
11000
11000
  export function startScan(
11001
11001
 
@@ -11010,7 +11010,7 @@ declare namespace chrome {
11010
11010
  * @param scannerHandle The handle of an open scanner. This should be a value previously returned from a call to {@link openScanner}.
11011
11011
  * @param options A {@link StartScanOptions} object indicating the options to be used for the scan. The `StartScanOptions.format` property must match one of the entries returned in the scanner's `ScannerInfo`.
11012
11012
  * @param callback Called with the result.
11013
- * @since Pending
11013
+ * @since Chrome 125
11014
11014
  */
11015
11015
  export function startScan(
11016
11016
 
@@ -11027,7 +11027,7 @@ declare namespace chrome {
11027
11027
  * Cancels a started scan and returns a Promise that resolves with a {@link CancelScanResponse} object. If a callback is used, the object is passed to it instead.
11028
11028
  *
11029
11029
  * @param job The handle of an active scan job previously returned from a call to {@link startScan}.
11030
- * @since Pending
11030
+ * @since Chrome 125
11031
11031
  */
11032
11032
  export function cancelScan(
11033
11033
 
@@ -11039,7 +11039,7 @@ declare namespace chrome {
11039
11039
  *
11040
11040
  * @param job The handle of an active scan job previously returned from a call to {@link startScan}.
11041
11041
  * @param callback Called with the result.
11042
- * @since Pending
11042
+ * @since Chrome 125
11043
11043
  */
11044
11044
  export function cancelScan(
11045
11045
 
@@ -11058,7 +11058,7 @@ declare namespace chrome {
11058
11058
  * When the scan job completes, the response will have the result value of `EOF`. This response may contain a final non-zero `data` member.
11059
11059
  *
11060
11060
  * @param job Active job handle previously returned from {@link startScan}.
11061
- * @since Pending
11061
+ * @since Chrome 125
11062
11062
  */
11063
11063
  export function readScanData(
11064
11064
 
@@ -11074,7 +11074,7 @@ declare namespace chrome {
11074
11074
  *
11075
11075
  * @param job Active job handle previously returned from {@link startScan}.
11076
11076
  * @param callback Called with the result.
11077
- * @since Pending
11077
+ * @since Chrome 125
11078
11078
  */
11079
11079
  export function readScanData(
11080
11080
 
@@ -13658,7 +13658,7 @@ declare namespace chrome {
13658
13658
  }
13659
13659
 
13660
13660
  /**
13661
- * @since Pending
13661
+ * @since Chrome 125
13662
13662
  */
13663
13663
  export interface CloudFileInfo {
13664
13664
 
@@ -13710,7 +13710,7 @@ declare namespace chrome {
13710
13710
  /**
13711
13711
  * Information that identifies a specific file in the underlying cloud file system. Must be provided if requested in `options` and the file is backed by cloud storage.
13712
13712
  *
13713
- * @since Pending
13713
+ * @since Chrome 125
13714
13714
  */
13715
13715
  cloudFileInfo?: CloudFileInfo;
13716
13716
  }
@@ -13918,7 +13918,7 @@ declare namespace chrome {
13918
13918
  /**
13919
13919
  * Set to `true` if `cloudFileInfo` value is requested.
13920
13920
  *
13921
- * @since Pending
13921
+ * @since Chrome 125
13922
13922
  */
13923
13923
  cloudFileInfo: boolean;
13924
13924
  }
@@ -14359,7 +14359,7 @@ declare namespace chrome {
14359
14359
  /**
14360
14360
  * Information relating to the file if backed by a cloud file system.
14361
14361
  *
14362
- * @since Pending
14362
+ * @since Chrome 125
14363
14363
  */
14364
14364
  cloudFileInfo?: CloudFileInfo;
14365
14365
  }
@@ -14473,7 +14473,7 @@ declare namespace chrome {
14473
14473
  options: OpenFileRequestedOptions,
14474
14474
  successCallback: (
14475
14475
  /**
14476
- * @since Pending
14476
+ * @since Chrome 125
14477
14477
  */
14478
14478
  metadata?: EntryMetadata,
14479
14479
  ) => void,
@@ -20667,7 +20667,7 @@ declare namespace chrome {
20667
20667
  /**
20668
20668
  * When traffic counters were last reset.
20669
20669
  *
20670
- * @since Pending
20670
+ * @since Chrome 125
20671
20671
  */
20672
20672
  TrafficCounterResetTime?: number;
20673
20673
 
@@ -20784,7 +20784,7 @@ declare namespace chrome {
20784
20784
  /**
20785
20785
  * See {@link NetworkProperties.TrafficCounterResetTime}.
20786
20786
  *
20787
- * @since Pending
20787
+ * @since Chrome 125
20788
20788
  */
20789
20789
  TrafficCounterResetTime?: number;
20790
20790
 
@@ -20979,7 +20979,7 @@ declare namespace chrome {
20979
20979
  /**
20980
20980
  * Gets all the properties of the network with id networkGuid. Includes all properties of the network (read-only and read/write values).
20981
20981
  *
20982
- * @chrome-returns-extra since Pending
20982
+ * @chrome-returns-extra since Chrome 125
20983
20983
  * @param networkGuid The GUID of the network to get properties for.
20984
20984
  */
20985
20985
  export function getProperties(
@@ -21005,7 +21005,7 @@ declare namespace chrome {
21005
21005
  /**
21006
21006
  * Gets the merged properties of the network with id networkGuid from the sources: User settings, shared settings, user policy, device policy and the currently active settings.
21007
21007
  *
21008
- * @chrome-returns-extra since Pending
21008
+ * @chrome-returns-extra since Chrome 125
21009
21009
  * @param networkGuid The GUID of the network to get properties for.
21010
21010
  */
21011
21011
  export function getManagedProperties(
@@ -21031,7 +21031,7 @@ declare namespace chrome {
21031
21031
  /**
21032
21032
  * Gets the cached read-only properties of the network with id networkGuid. This is meant to be a higher performance function than {@link getProperties}, which requires a round trip to query the networking subsystem. The following properties are returned for all networks: GUID, Type, Name, WiFi.Security. Additional properties are provided for visible networks: ConnectionState, ErrorState, WiFi.SignalStrength, Cellular.NetworkTechnology, Cellular.ActivationState, Cellular.RoamingState.
21033
21033
  *
21034
- * @chrome-returns-extra since Pending
21034
+ * @chrome-returns-extra since Chrome 125
21035
21035
  * @param networkGuid The GUID of the network to get properties for.
21036
21036
  */
21037
21037
  export function getState(
@@ -21057,7 +21057,7 @@ declare namespace chrome {
21057
21057
  /**
21058
21058
  * Sets the properties of the network with id `networkGuid`. This is only valid for configured networks (Source != None). Unconfigured visible networks should use {@link createNetwork} instead. **In kiosk sessions, calling this method on a shared network will fail.**
21059
21059
  *
21060
- * @chrome-returns-extra since Pending
21060
+ * @chrome-returns-extra since Chrome 125
21061
21061
  * @param networkGuid The GUID of the network to set properties for.
21062
21062
  * @param properties The properties to set.
21063
21063
  */
@@ -21087,7 +21087,7 @@ declare namespace chrome {
21087
21087
  /**
21088
21088
  * Creates a new network configuration from properties. If a matching configured network already exists, this will fail. Otherwise returns the GUID of the new network.
21089
21089
  *
21090
- * @chrome-returns-extra since Pending
21090
+ * @chrome-returns-extra since Chrome 125
21091
21091
  * @param shared
21092
21092
 
21093
21093
  If `true`, share this network configuration with other users.
@@ -21129,7 +21129,7 @@ declare namespace chrome {
21129
21129
  *
21130
21130
  * **In kiosk sessions, this method will not be able to forget shared network configurations.**
21131
21131
  *
21132
- * @chrome-returns-extra since Pending
21132
+ * @chrome-returns-extra since Chrome 125
21133
21133
  * @param networkGuid The GUID of the network to forget.
21134
21134
  */
21135
21135
  export function forgetNetwork(
@@ -21155,7 +21155,7 @@ declare namespace chrome {
21155
21155
  /**
21156
21156
  * Returns a list of network objects with the same properties provided by {@link getState}. A filter is provided to specify the type of networks returned and to limit the number of networks. Networks are ordered by the system based on their priority, with connected or connecting networks listed first.
21157
21157
  *
21158
- * @chrome-returns-extra since Pending
21158
+ * @chrome-returns-extra since Chrome 125
21159
21159
  * @param filter Describes which networks to return.
21160
21160
  */
21161
21161
  export function getNetworks(
@@ -21181,7 +21181,7 @@ declare namespace chrome {
21181
21181
  /**
21182
21182
  * Returns states of available networking devices.
21183
21183
  *
21184
- * @chrome-returns-extra since Pending
21184
+ * @chrome-returns-extra since Chrome 125
21185
21185
  */
21186
21186
  export function getDeviceStates(): Promise<DeviceStateProperties[]>;
21187
21187
 
@@ -21233,7 +21233,7 @@ declare namespace chrome {
21233
21233
  /**
21234
21234
  * Starts a connection to the network with networkGuid.
21235
21235
  *
21236
- * @chrome-returns-extra since Pending
21236
+ * @chrome-returns-extra since Chrome 125
21237
21237
  * @param networkGuid The GUID of the network to connect to.
21238
21238
  */
21239
21239
  export function startConnect(
@@ -21257,7 +21257,7 @@ declare namespace chrome {
21257
21257
  /**
21258
21258
  * Starts a disconnect from the network with networkGuid.
21259
21259
  *
21260
- * @chrome-returns-extra since Pending
21260
+ * @chrome-returns-extra since Chrome 125
21261
21261
  * @param networkGuid The GUID of the network to disconnect from.
21262
21262
  */
21263
21263
  export function startDisconnect(
@@ -21281,7 +21281,7 @@ declare namespace chrome {
21281
21281
  /**
21282
21282
  * Returns captive portal status for the network matching 'networkGuid'.
21283
21283
  *
21284
- * @chrome-returns-extra since Pending
21284
+ * @chrome-returns-extra since Chrome 125
21285
21285
  * @param networkGuid The GUID of the network to get captive portal status for.
21286
21286
  */
21287
21287
  export function getCaptivePortalStatus(
@@ -21307,7 +21307,7 @@ declare namespace chrome {
21307
21307
  /**
21308
21308
  * Gets the global policy properties. These properties are not expected to change during a session.
21309
21309
  *
21310
- * @chrome-returns-extra since Pending
21310
+ * @chrome-returns-extra since Chrome 125
21311
21311
  */
21312
21312
  export function getGlobalPolicy(): Promise<GlobalPolicy>;
21313
21313
 
@@ -29771,7 +29771,7 @@ declare namespace chrome {
29771
29771
  /**
29772
29772
  * Use the `chrome.systemLog` API to record Chrome system logs from extensions.
29773
29773
  *
29774
- * @since Pending
29774
+ * @since Chrome 125
29775
29775
  * @chrome-permission systemLog
29776
29776
  * @chrome-install-location policy
29777
29777
  * @chrome-platform chromeos
@@ -37627,7 +37627,7 @@ declare namespace chrome {
37627
37627
  /**
37628
37628
  * The type of `request` object which accompanies an `hid` {@link permissionrequest} DOM event.
37629
37629
  *
37630
- * @since Pending
37630
+ * @since Chrome 125
37631
37631
  */
37632
37632
  export interface HidPermissionRequest {
37633
37633
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Fri Apr 12 2024 22:28:57 GMT+0000 (Coordinated Universal Time)
18
- // Built at 84196059a0455d3c89b5621064c0cb060643704a
17
+ // Generated on Wed May 08 2024 22:30:13 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 9977a0679ac0d596c660a7680d5bad888280380f
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -4179,7 +4179,7 @@ declare namespace chrome {
4179
4179
  /**
4180
4180
  * Debugger session identifier. One of tabId, extensionId or targetId must be specified. Additionally, an optional sessionId can be provided. If sessionId is specified for arguments sent from {@link onEvent}, it means the event is coming from a child protocol session within the root debuggee session. If sessionId is specified when passed to {@link sendCommand}, it targets a child protocol session within the root debuggee session.
4181
4181
  *
4182
- * @since Pending
4182
+ * @since Chrome 125
4183
4183
  */
4184
4184
  export interface DebuggerSession {
4185
4185
 
@@ -6504,19 +6504,19 @@ declare namespace chrome {
6504
6504
  * @chrome-enum "UNREACHABLE" The device is not reachable.
6505
6505
  * @chrome-enum "MISSING" The device is disconnected.
6506
6506
  * @chrome-enum "INTERNAL\_ERROR" An error has occurred somewhere other than the calling application.
6507
- * @since Pending
6507
+ * @since Chrome 125
6508
6508
  */
6509
6509
  export type OperationResult = "UNKNOWN" | "SUCCESS" | "UNSUPPORTED" | "CANCELLED" | "DEVICE_BUSY" | "INVALID" | "WRONG_TYPE" | "EOF" | "ADF_JAMMED" | "ADF_EMPTY" | "COVER_OPEN" | "IO_ERROR" | "ACCESS_DENIED" | "NO_MEMORY" | "UNREACHABLE" | "MISSING" | "INTERNAL_ERROR";
6510
6510
 
6511
6511
  /**
6512
6512
  * Indicates how the scanner is connected to the computer.
6513
6513
  *
6514
- * @since Pending
6514
+ * @since Chrome 125
6515
6515
  */
6516
6516
  export type ConnectionType = "UNSPECIFIED" | "USB" | "NETWORK";
6517
6517
 
6518
6518
  /**
6519
- * @since Pending
6519
+ * @since Chrome 125
6520
6520
  */
6521
6521
  export interface ScannerInfo {
6522
6522
 
@@ -6576,7 +6576,7 @@ declare namespace chrome {
6576
6576
  * @chrome-enum "STRING" A sequence of any bytes except NUL ('\\0'). The `value` property will be a DOMString.
6577
6577
  * @chrome-enum "BUTTON" An option of this type has no value. Instead, setting an option of this type causes an option-specific side effect in the scanner driver. For example, a button-typed option could be used by a scanner driver to provide a means to select default values or to tell an automatic document feeder to advance to the next sheet of paper.
6578
6578
  * @chrome-enum "GROUP" Grouping option. No value. This is included for compatibility, but will not normally be returned in `ScannerOption` values. Use `getOptionGroups()` to retrieve the list of groups with their member options.
6579
- * @since Pending
6579
+ * @since Chrome 125
6580
6580
  */
6581
6581
  export type OptionType = "UNKNOWN" | "BOOL" | "INT" | "FIXED" | "STRING" | "BUTTON" | "GROUP";
6582
6582
 
@@ -6590,7 +6590,7 @@ declare namespace chrome {
6590
6590
  * @chrome-enum "DPI" The value is measured in dots per inch, for example, resolution.
6591
6591
  * @chrome-enum "PERCENT" The value is a percent, for example, brightness.
6592
6592
  * @chrome-enum "MICROSECOND" The value is measured in microseconds, for example, exposure time.
6593
- * @since Pending
6593
+ * @since Chrome 125
6594
6594
  */
6595
6595
  export type OptionUnit = "UNITLESS" | "PIXEL" | "BIT" | "MM" | "DPI" | "PERCENT" | "MICROSECOND";
6596
6596
 
@@ -6602,12 +6602,12 @@ declare namespace chrome {
6602
6602
  * @chrome-enum "INT\_LIST" The constraint on a specific list of `OptionType.INT` values. The `OptionConstraint.list` property will contain `long` values, and the other properties will be unset.
6603
6603
  * @chrome-enum "FIXED\_LIST" The constraint on a specific list of `OptionType.FIXED` values. The `OptionConstraint.list` property will contain `double` values, and the other properties will be unset.
6604
6604
  * @chrome-enum "STRING\_LIST" The constraint on a specific list of `OptionType.STRING` values. The `OptionConstraint.list` property will contain `DOMString` values, and the other properties will be unset.
6605
- * @since Pending
6605
+ * @since Chrome 125
6606
6606
  */
6607
6607
  export type ConstraintType = "INT_RANGE" | "FIXED_RANGE" | "INT_LIST" | "FIXED_LIST" | "STRING_LIST";
6608
6608
 
6609
6609
  /**
6610
- * @since Pending
6610
+ * @since Chrome 125
6611
6611
  */
6612
6612
  export interface OptionConstraint {
6613
6613
 
@@ -6628,12 +6628,12 @@ declare namespace chrome {
6628
6628
  * @chrome-enum "NOT\_CONFIGURABLE" The option is read-only.
6629
6629
  * @chrome-enum "SOFTWARE\_CONFIGURABLE" The option can be set in software.
6630
6630
  * @chrome-enum "HARDWARE\_CONFIGURABLE" The option can be set by the user toggling or pushing a button on the scanner.
6631
- * @since Pending
6631
+ * @since Chrome 125
6632
6632
  */
6633
6633
  export type Configurability = "NOT_CONFIGURABLE" | "SOFTWARE_CONFIGURABLE" | "HARDWARE_CONFIGURABLE";
6634
6634
 
6635
6635
  /**
6636
- * @since Pending
6636
+ * @since Chrome 125
6637
6637
  */
6638
6638
  export interface ScannerOption {
6639
6639
 
@@ -6704,7 +6704,7 @@ declare namespace chrome {
6704
6704
  }
6705
6705
 
6706
6706
  /**
6707
- * @since Pending
6707
+ * @since Chrome 125
6708
6708
  */
6709
6709
  export interface DeviceFilter {
6710
6710
 
@@ -6720,7 +6720,7 @@ declare namespace chrome {
6720
6720
  }
6721
6721
 
6722
6722
  /**
6723
- * @since Pending
6723
+ * @since Chrome 125
6724
6724
  */
6725
6725
  export interface OptionGroup {
6726
6726
 
@@ -6736,7 +6736,7 @@ declare namespace chrome {
6736
6736
  }
6737
6737
 
6738
6738
  /**
6739
- * @since Pending
6739
+ * @since Chrome 125
6740
6740
  */
6741
6741
  export interface GetScannerListResponse {
6742
6742
 
@@ -6752,7 +6752,7 @@ declare namespace chrome {
6752
6752
  }
6753
6753
 
6754
6754
  /**
6755
- * @since Pending
6755
+ * @since Chrome 125
6756
6756
  */
6757
6757
  export interface OpenScannerResponse {
6758
6758
 
@@ -6778,7 +6778,7 @@ declare namespace chrome {
6778
6778
  }
6779
6779
 
6780
6780
  /**
6781
- * @since Pending
6781
+ * @since Chrome 125
6782
6782
  */
6783
6783
  export interface GetOptionGroupsResponse {
6784
6784
 
@@ -6799,7 +6799,7 @@ declare namespace chrome {
6799
6799
  }
6800
6800
 
6801
6801
  /**
6802
- * @since Pending
6802
+ * @since Chrome 125
6803
6803
  */
6804
6804
  export interface CloseScannerResponse {
6805
6805
 
@@ -6815,7 +6815,7 @@ declare namespace chrome {
6815
6815
  }
6816
6816
 
6817
6817
  /**
6818
- * @since Pending
6818
+ * @since Chrome 125
6819
6819
  */
6820
6820
  export interface OptionSetting {
6821
6821
 
@@ -6836,7 +6836,7 @@ declare namespace chrome {
6836
6836
  }
6837
6837
 
6838
6838
  /**
6839
- * @since Pending
6839
+ * @since Chrome 125
6840
6840
  */
6841
6841
  export interface SetOptionResult {
6842
6842
 
@@ -6852,7 +6852,7 @@ declare namespace chrome {
6852
6852
  }
6853
6853
 
6854
6854
  /**
6855
- * @since Pending
6855
+ * @since Chrome 125
6856
6856
  */
6857
6857
  export interface SetOptionsResponse {
6858
6858
 
@@ -6875,7 +6875,7 @@ declare namespace chrome {
6875
6875
  }
6876
6876
 
6877
6877
  /**
6878
- * @since Pending
6878
+ * @since Chrome 125
6879
6879
  */
6880
6880
  export interface StartScanOptions {
6881
6881
 
@@ -6891,7 +6891,7 @@ declare namespace chrome {
6891
6891
  }
6892
6892
 
6893
6893
  /**
6894
- * @since Pending
6894
+ * @since Chrome 125
6895
6895
  */
6896
6896
  export interface StartScanResponse {
6897
6897
 
@@ -6912,7 +6912,7 @@ declare namespace chrome {
6912
6912
  }
6913
6913
 
6914
6914
  /**
6915
- * @since Pending
6915
+ * @since Chrome 125
6916
6916
  */
6917
6917
  export interface CancelScanResponse {
6918
6918
 
@@ -6928,7 +6928,7 @@ declare namespace chrome {
6928
6928
  }
6929
6929
 
6930
6930
  /**
6931
- * @since Pending
6931
+ * @since Chrome 125
6932
6932
  */
6933
6933
  export interface ReadScanDataResponse {
6934
6934
 
@@ -6983,7 +6983,7 @@ declare namespace chrome {
6983
6983
  * Gets the list of available scanners and returns a Promise that resolves with a {@link GetScannerListResponse} object. If a callback is passed to this function, returned data is passed to it instead.
6984
6984
  *
6985
6985
  * @param filter A {@link DeviceFilter} indicating which types of scanners should be returned.
6986
- * @since Pending
6986
+ * @since Chrome 125
6987
6987
  */
6988
6988
  export function getScannerList(
6989
6989
 
@@ -6995,7 +6995,7 @@ declare namespace chrome {
6995
6995
  *
6996
6996
  * @param filter A {@link DeviceFilter} indicating which types of scanners should be returned.
6997
6997
  * @param callback Called with the result and list of scanners.
6998
- * @since Pending
6998
+ * @since Chrome 125
6999
6999
  */
7000
7000
  export function getScannerList(
7001
7001
 
@@ -7010,7 +7010,7 @@ declare namespace chrome {
7010
7010
  * Opens a scanner for exclusive access and returns a Promise that resolves with an {@link OpenScannerResponse} object. If a callback is passed to this function, returned data is passed to it instead.
7011
7011
  *
7012
7012
  * @param scannerId The ID of a scanner to be opened. This value is one returned from a previous call to {@link getScannerList}.
7013
- * @since Pending
7013
+ * @since Chrome 125
7014
7014
  */
7015
7015
  export function openScanner(
7016
7016
 
@@ -7022,7 +7022,7 @@ declare namespace chrome {
7022
7022
  *
7023
7023
  * @param scannerId The ID of a scanner to be opened. This value is one returned from a previous call to {@link getScannerList}.
7024
7024
  * @param callback Called with the result.
7025
- * @since Pending
7025
+ * @since Chrome 125
7026
7026
  */
7027
7027
  export function openScanner(
7028
7028
 
@@ -7037,7 +7037,7 @@ declare namespace chrome {
7037
7037
  * Gets the group names and member options from a scanner previously opened by {@link openScanner}. This method returns a Promise that resolves with a {@link GetOptionGroupsResponse} object. If a callback is passed to this function, returned data is passed to it instead.
7038
7038
  *
7039
7039
  * @param scannerHandle The handle of an open scanner returned from a call to {@link openScanner}.
7040
- * @since Pending
7040
+ * @since Chrome 125
7041
7041
  */
7042
7042
  export function getOptionGroups(
7043
7043
 
@@ -7049,7 +7049,7 @@ declare namespace chrome {
7049
7049
  *
7050
7050
  * @param scannerHandle The handle of an open scanner returned from a call to {@link openScanner}.
7051
7051
  * @param callback Called with the result.
7052
- * @since Pending
7052
+ * @since Chrome 125
7053
7053
  */
7054
7054
  export function getOptionGroups(
7055
7055
 
@@ -7064,7 +7064,7 @@ declare namespace chrome {
7064
7064
  * Closes the scanner with the passed in handle and returns a Promise that resolves with a {@link CloseScannerResponse} object. If a callback is used, the object is passed to it instead. Even if the response is not a success, the supplied handle becomes invalid and should not be used for further operations.
7065
7065
  *
7066
7066
  * @param scannerHandle Specifies the handle of an open scanner that was previously returned from a call to {@link openScanner}.
7067
- * @since Pending
7067
+ * @since Chrome 125
7068
7068
  */
7069
7069
  export function closeScanner(
7070
7070
 
@@ -7076,7 +7076,7 @@ declare namespace chrome {
7076
7076
  *
7077
7077
  * @param scannerHandle Specifies the handle of an open scanner that was previously returned from a call to {@link openScanner}.
7078
7078
  * @param callback Called with the result.
7079
- * @since Pending
7079
+ * @since Chrome 125
7080
7080
  */
7081
7081
  export function closeScanner(
7082
7082
 
@@ -7092,7 +7092,7 @@ declare namespace chrome {
7092
7092
  *
7093
7093
  * @param scannerHandle The handle of the scanner to set options on. This should be a value previously returned from a call to {@link openScanner}.
7094
7094
  * @param options A list of `OptionSetting` objects to be applied to the scanner.
7095
- * @since Pending
7095
+ * @since Chrome 125
7096
7096
  */
7097
7097
  export function setOptions(
7098
7098
 
@@ -7107,7 +7107,7 @@ declare namespace chrome {
7107
7107
  * @param scannerHandle The handle of the scanner to set options on. This should be a value previously returned from a call to {@link openScanner}.
7108
7108
  * @param options A list of `OptionSetting` objects to be applied to the scanner.
7109
7109
  * @param callback Called with the result.
7110
- * @since Pending
7110
+ * @since Chrome 125
7111
7111
  */
7112
7112
  export function setOptions(
7113
7113
 
@@ -7125,7 +7125,7 @@ declare namespace chrome {
7125
7125
  *
7126
7126
  * @param scannerHandle The handle of an open scanner. This should be a value previously returned from a call to {@link openScanner}.
7127
7127
  * @param options A {@link StartScanOptions} object indicating the options to be used for the scan. The `StartScanOptions.format` property must match one of the entries returned in the scanner's `ScannerInfo`.
7128
- * @since Pending
7128
+ * @since Chrome 125
7129
7129
  */
7130
7130
  export function startScan(
7131
7131
 
@@ -7140,7 +7140,7 @@ declare namespace chrome {
7140
7140
  * @param scannerHandle The handle of an open scanner. This should be a value previously returned from a call to {@link openScanner}.
7141
7141
  * @param options A {@link StartScanOptions} object indicating the options to be used for the scan. The `StartScanOptions.format` property must match one of the entries returned in the scanner's `ScannerInfo`.
7142
7142
  * @param callback Called with the result.
7143
- * @since Pending
7143
+ * @since Chrome 125
7144
7144
  */
7145
7145
  export function startScan(
7146
7146
 
@@ -7157,7 +7157,7 @@ declare namespace chrome {
7157
7157
  * Cancels a started scan and returns a Promise that resolves with a {@link CancelScanResponse} object. If a callback is used, the object is passed to it instead.
7158
7158
  *
7159
7159
  * @param job The handle of an active scan job previously returned from a call to {@link startScan}.
7160
- * @since Pending
7160
+ * @since Chrome 125
7161
7161
  */
7162
7162
  export function cancelScan(
7163
7163
 
@@ -7169,7 +7169,7 @@ declare namespace chrome {
7169
7169
  *
7170
7170
  * @param job The handle of an active scan job previously returned from a call to {@link startScan}.
7171
7171
  * @param callback Called with the result.
7172
- * @since Pending
7172
+ * @since Chrome 125
7173
7173
  */
7174
7174
  export function cancelScan(
7175
7175
 
@@ -7188,7 +7188,7 @@ declare namespace chrome {
7188
7188
  * When the scan job completes, the response will have the result value of `EOF`. This response may contain a final non-zero `data` member.
7189
7189
  *
7190
7190
  * @param job Active job handle previously returned from {@link startScan}.
7191
- * @since Pending
7191
+ * @since Chrome 125
7192
7192
  */
7193
7193
  export function readScanData(
7194
7194
 
@@ -7204,7 +7204,7 @@ declare namespace chrome {
7204
7204
  *
7205
7205
  * @param job Active job handle previously returned from {@link startScan}.
7206
7206
  * @param callback Called with the result.
7207
- * @since Pending
7207
+ * @since Chrome 125
7208
7208
  */
7209
7209
  export function readScanData(
7210
7210
 
@@ -9380,7 +9380,7 @@ declare namespace chrome {
9380
9380
  }
9381
9381
 
9382
9382
  /**
9383
- * @since Pending
9383
+ * @since Chrome 125
9384
9384
  */
9385
9385
  export interface CloudFileInfo {
9386
9386
 
@@ -9432,7 +9432,7 @@ declare namespace chrome {
9432
9432
  /**
9433
9433
  * Information that identifies a specific file in the underlying cloud file system. Must be provided if requested in `options` and the file is backed by cloud storage.
9434
9434
  *
9435
- * @since Pending
9435
+ * @since Chrome 125
9436
9436
  */
9437
9437
  cloudFileInfo?: CloudFileInfo;
9438
9438
  }
@@ -9640,7 +9640,7 @@ declare namespace chrome {
9640
9640
  /**
9641
9641
  * Set to `true` if `cloudFileInfo` value is requested.
9642
9642
  *
9643
- * @since Pending
9643
+ * @since Chrome 125
9644
9644
  */
9645
9645
  cloudFileInfo: boolean;
9646
9646
  }
@@ -10081,7 +10081,7 @@ declare namespace chrome {
10081
10081
  /**
10082
10082
  * Information relating to the file if backed by a cloud file system.
10083
10083
  *
10084
- * @since Pending
10084
+ * @since Chrome 125
10085
10085
  */
10086
10086
  cloudFileInfo?: CloudFileInfo;
10087
10087
  }
@@ -10195,7 +10195,7 @@ declare namespace chrome {
10195
10195
  options: OpenFileRequestedOptions,
10196
10196
  successCallback: (
10197
10197
  /**
10198
- * @since Pending
10198
+ * @since Chrome 125
10199
10199
  */
10200
10200
  metadata?: EntryMetadata,
10201
10201
  ) => void,
@@ -22983,7 +22983,7 @@ declare namespace chrome {
22983
22983
  /**
22984
22984
  * Use the `chrome.systemLog` API to record Chrome system logs from extensions.
22985
22985
  *
22986
- * @since Pending
22986
+ * @since Chrome 125
22987
22987
  * @chrome-permission systemLog
22988
22988
  * @chrome-install-location policy
22989
22989
  * @chrome-platform chromeos
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "45e9c9d59180f602"
8
+ "build-hash": "22909dcf2601dfe2"
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.281"
19
+ "version": "0.1.283"
20
20
  }