chrome-types 0.1.312 → 0.1.314

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 +44 -26
  2. package/index.d.ts +44 -27
  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 Tue Oct 22 2024 22:31:13 GMT+0000 (Coordinated Universal Time)
18
- // Built at fb4bebb91f8e8605559e3fd14641980a0f4ae8f0
17
+ // Generated on Wed Oct 30 2024 22:32:05 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 17f1c4e281f6e81041480797b37e3e053e16cf81
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -1763,7 +1763,6 @@ declare namespace chrome {
1763
1763
  * @since Chrome 59
1764
1764
  * @chrome-permission audio
1765
1765
  * @chrome-platform chromeos
1766
- * @chrome-platform lacros
1767
1766
  */
1768
1767
  export namespace audio {
1769
1768
 
@@ -2052,7 +2051,6 @@ declare namespace chrome {
2052
2051
  * @chrome-manifest bluetooth
2053
2052
  * @chrome-platform-apps
2054
2053
  * @chrome-platform chromeos
2055
- * @chrome-platform lacros
2056
2054
  * @chrome-platform win
2057
2055
  * @chrome-platform mac
2058
2056
  */
@@ -2376,7 +2374,6 @@ declare namespace chrome {
2376
2374
  * @chrome-manifest bluetooth
2377
2375
  * @chrome-platform-apps
2378
2376
  * @chrome-platform chromeos
2379
- * @chrome-platform lacros
2380
2377
  * @chrome-platform linux
2381
2378
  * @chrome-platform win
2382
2379
  * @chrome-platform mac
@@ -3437,7 +3434,6 @@ declare namespace chrome {
3437
3434
  * @chrome-manifest bluetooth
3438
3435
  * @chrome-platform-apps
3439
3436
  * @chrome-platform chromeos
3440
- * @chrome-platform lacros
3441
3437
  * @chrome-platform win
3442
3438
  * @chrome-platform mac
3443
3439
  */
@@ -5423,7 +5419,6 @@ declare namespace chrome {
5423
5419
  * @since Chrome 46
5424
5420
  * @chrome-permission certificateProvider
5425
5421
  * @chrome-platform chromeos
5426
- * @chrome-platform lacros
5427
5422
  */
5428
5423
  export namespace certificateProvider {
5429
5424
 
@@ -5872,7 +5867,6 @@ declare namespace chrome {
5872
5867
  * @chrome-channel dev
5873
5868
  * @chrome-platform-apps
5874
5869
  * @chrome-platform chromeos
5875
- * @chrome-platform lacros
5876
5870
  */
5877
5871
  export namespace clipboard {
5878
5872
 
@@ -10422,7 +10416,6 @@ declare namespace chrome {
10422
10416
  * @since Chrome 44
10423
10417
  * @chrome-permission documentScan
10424
10418
  * @chrome-platform chromeos
10425
- * @chrome-platform lacros
10426
10419
  */
10427
10420
  export namespace documentScan {
10428
10421
 
@@ -12046,7 +12039,6 @@ declare namespace chrome {
12046
12039
  * @chrome-permission enterprise.deviceAttributes
12047
12040
  * @chrome-install-location policy
12048
12041
  * @chrome-platform chromeos
12049
- * @chrome-platform lacros
12050
12042
  */
12051
12043
  export namespace enterprise.deviceAttributes {
12052
12044
 
@@ -12190,6 +12182,48 @@ declare namespace chrome {
12190
12182
  ): void;
12191
12183
  }
12192
12184
 
12185
+ /**
12186
+ * Use the `chrome.enterprise.kioskInput` API to change input settings for Kiosk sessions. Note: This API is only available to extensions installed by enterprise policy in ChromeOS Kiosk sessions.
12187
+ *
12188
+ * @since Pending
12189
+ * @chrome-permission enterprise.kioskInput
12190
+ * @chrome-install-location policy
12191
+ * @chrome-platform chromeos
12192
+ */
12193
+ export namespace enterprise.kioskInput {
12194
+
12195
+ export interface SetCurrentInputMethodOptions {
12196
+
12197
+ /**
12198
+ * The input method ID to set as current input method. This input method has to be enabled by enterprise policies. Supported IDs are located in https://crsrc.org/c/chrome/browser/resources/chromeos/input\_method.
12199
+ */
12200
+ inputMethodId: string;
12201
+ }
12202
+
12203
+ /**
12204
+ * Sets the current input method. This function only changes the current input method to an enabled input method. Input methods can be enabled by enterprise polices. If the input method ID is invalid, or not enabled, {@link runtime.lastError} will be set with a failure reason.
12205
+ *
12206
+ * @param options Object containing the fields defined in {@link SetCurrentInputMethodOptions}.
12207
+ */
12208
+ export function setCurrentInputMethod(
12209
+
12210
+ options: SetCurrentInputMethodOptions,
12211
+ ): Promise<void>;
12212
+
12213
+ /**
12214
+ * Sets the current input method. This function only changes the current input method to an enabled input method. Input methods can be enabled by enterprise polices. If the input method ID is invalid, or not enabled, {@link runtime.lastError} will be set with a failure reason.
12215
+ *
12216
+ * @param options Object containing the fields defined in {@link SetCurrentInputMethodOptions}.
12217
+ * @param callback Called when the input method is changed or if there is an error.
12218
+ */
12219
+ export function setCurrentInputMethod(
12220
+
12221
+ options: SetCurrentInputMethodOptions,
12222
+
12223
+ callback?: () => void,
12224
+ ): void;
12225
+ }
12226
+
12193
12227
  /**
12194
12228
  * Use the `chrome.enterprise.networkingAttributes` API to read information about your current network. Note: This API is only available to extensions force-installed by enterprise policy.
12195
12229
  *
@@ -12197,7 +12231,6 @@ declare namespace chrome {
12197
12231
  * @chrome-permission enterprise.networkingAttributes
12198
12232
  * @chrome-install-location policy
12199
12233
  * @chrome-platform chromeos
12200
- * @chrome-platform lacros
12201
12234
  */
12202
12235
  export namespace enterprise.networkingAttributes {
12203
12236
 
@@ -12245,7 +12278,6 @@ declare namespace chrome {
12245
12278
  * @chrome-permission enterprise.platformKeys
12246
12279
  * @chrome-install-location policy
12247
12280
  * @chrome-platform chromeos
12248
- * @chrome-platform lacros
12249
12281
  */
12250
12282
  export namespace enterprise.platformKeys {
12251
12283
 
@@ -13434,7 +13466,6 @@ declare namespace chrome {
13434
13466
  * @chrome-permission fileBrowserHandler
13435
13467
  * @chrome-disallow-service-workers
13436
13468
  * @chrome-platform chromeos
13437
- * @chrome-platform lacros
13438
13469
  */
13439
13470
  export namespace fileBrowserHandler {
13440
13471
 
@@ -13798,7 +13829,6 @@ declare namespace chrome {
13798
13829
  *
13799
13830
  * @chrome-permission fileSystemProvider
13800
13831
  * @chrome-platform chromeos
13801
- * @chrome-platform lacros
13802
13832
  */
13803
13833
  export namespace fileSystemProvider {
13804
13834
 
@@ -16983,7 +17013,6 @@ declare namespace chrome {
16983
17013
  * @chrome-returns-extra since Chrome 116
16984
17014
  * @since Chrome 73
16985
17015
  * @chrome-platform chromeos
16986
- * @chrome-platform lacros
16987
17016
  */
16988
17017
  export function getAutoLockDelay(): Promise<number>;
16989
17018
 
@@ -16992,7 +17021,6 @@ declare namespace chrome {
16992
17021
  *
16993
17022
  * @since Chrome 73
16994
17023
  * @chrome-platform chromeos
16995
- * @chrome-platform lacros
16996
17024
  */
16997
17025
  export function getAutoLockDelay(
16998
17026
 
@@ -18421,7 +18449,6 @@ declare namespace chrome {
18421
18449
  * @since Chrome 78
18422
18450
  * @chrome-permission loginState
18423
18451
  * @chrome-platform chromeos
18424
- * @chrome-platform lacros
18425
18452
  */
18426
18453
  export namespace loginState {
18427
18454
 
@@ -19495,7 +19522,6 @@ declare namespace chrome {
19495
19522
  * @chrome-permission networking.onc
19496
19523
  * @chrome-platform-apps
19497
19524
  * @chrome-platform chromeos
19498
- * @chrome-platform lacros
19499
19525
  */
19500
19526
  export namespace networking.onc {
19501
19527
 
@@ -22556,7 +22582,6 @@ declare namespace chrome {
22556
22582
  * @since Chrome 45
22557
22583
  * @chrome-permission platformKeys
22558
22584
  * @chrome-platform chromeos
22559
- * @chrome-platform lacros
22560
22585
  */
22561
22586
  export namespace platformKeys {
22562
22587
 
@@ -22767,7 +22792,6 @@ declare namespace chrome {
22767
22792
  *
22768
22793
  * @since Chrome 113
22769
22794
  * @chrome-platform chromeos
22770
- * @chrome-platform lacros
22771
22795
  */
22772
22796
  export function reportActivity(): Promise<void>;
22773
22797
 
@@ -22776,7 +22800,6 @@ declare namespace chrome {
22776
22800
  *
22777
22801
  * @since Chrome 113
22778
22802
  * @chrome-platform chromeos
22779
- * @chrome-platform lacros
22780
22803
  */
22781
22804
  export function reportActivity(
22782
22805
 
@@ -22903,7 +22926,6 @@ declare namespace chrome {
22903
22926
  * @since Chrome 81
22904
22927
  * @chrome-permission printing
22905
22928
  * @chrome-platform chromeos
22906
- * @chrome-platform lacros
22907
22929
  */
22908
22930
  export namespace printing {
22909
22931
 
@@ -23135,7 +23157,6 @@ declare namespace chrome {
23135
23157
  * @chrome-permission printingMetrics
23136
23158
  * @chrome-install-location policy
23137
23159
  * @chrome-platform chromeos
23138
- * @chrome-platform lacros
23139
23160
  */
23140
23161
  export namespace printingMetrics {
23141
23162
 
@@ -29980,7 +30001,6 @@ declare namespace chrome {
29980
30001
  * @chrome-permission systemLog
29981
30002
  * @chrome-install-location policy
29982
30003
  * @chrome-platform chromeos
29983
- * @chrome-platform lacros
29984
30004
  */
29985
30005
  export namespace systemLog {
29986
30006
 
@@ -34496,7 +34516,6 @@ declare namespace chrome {
34496
34516
  * @since Chrome 43
34497
34517
  * @chrome-permission vpnProvider
34498
34518
  * @chrome-platform chromeos
34499
- * @chrome-platform lacros
34500
34519
  */
34501
34520
  export namespace vpnProvider {
34502
34521
 
@@ -34751,7 +34770,6 @@ declare namespace chrome {
34751
34770
  * @since Chrome 43
34752
34771
  * @chrome-permission wallpaper
34753
34772
  * @chrome-platform chromeos
34754
- * @chrome-platform lacros
34755
34773
  */
34756
34774
  export namespace wallpaper {
34757
34775
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Tue Oct 22 2024 22:31:08 GMT+0000 (Coordinated Universal Time)
18
- // Built at fb4bebb91f8e8605559e3fd14641980a0f4ae8f0
17
+ // Generated on Wed Oct 30 2024 22:32:00 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 17f1c4e281f6e81041480797b37e3e053e16cf81
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -997,7 +997,6 @@ declare namespace chrome {
997
997
  * @since Chrome 59
998
998
  * @chrome-permission audio
999
999
  * @chrome-platform chromeos
1000
- * @chrome-platform lacros
1001
1000
  */
1002
1001
  export namespace audio {
1003
1002
 
@@ -2298,7 +2297,6 @@ declare namespace chrome {
2298
2297
  * @since Chrome 46
2299
2298
  * @chrome-permission certificateProvider
2300
2299
  * @chrome-platform chromeos
2301
- * @chrome-platform lacros
2302
2300
  */
2303
2301
  export namespace certificateProvider {
2304
2302
 
@@ -6552,7 +6550,6 @@ declare namespace chrome {
6552
6550
  * @since Chrome 44
6553
6551
  * @chrome-permission documentScan
6554
6552
  * @chrome-platform chromeos
6555
- * @chrome-platform lacros
6556
6553
  */
6557
6554
  export namespace documentScan {
6558
6555
 
@@ -8176,7 +8173,6 @@ declare namespace chrome {
8176
8173
  * @chrome-permission enterprise.deviceAttributes
8177
8174
  * @chrome-install-location policy
8178
8175
  * @chrome-platform chromeos
8179
- * @chrome-platform lacros
8180
8176
  */
8181
8177
  export namespace enterprise.deviceAttributes {
8182
8178
 
@@ -8320,6 +8316,48 @@ declare namespace chrome {
8320
8316
  ): void;
8321
8317
  }
8322
8318
 
8319
+ /**
8320
+ * Use the `chrome.enterprise.kioskInput` API to change input settings for Kiosk sessions. Note: This API is only available to extensions installed by enterprise policy in ChromeOS Kiosk sessions.
8321
+ *
8322
+ * @since Pending
8323
+ * @chrome-permission enterprise.kioskInput
8324
+ * @chrome-install-location policy
8325
+ * @chrome-platform chromeos
8326
+ */
8327
+ export namespace enterprise.kioskInput {
8328
+
8329
+ export interface SetCurrentInputMethodOptions {
8330
+
8331
+ /**
8332
+ * The input method ID to set as current input method. This input method has to be enabled by enterprise policies. Supported IDs are located in https://crsrc.org/c/chrome/browser/resources/chromeos/input\_method.
8333
+ */
8334
+ inputMethodId: string;
8335
+ }
8336
+
8337
+ /**
8338
+ * Sets the current input method. This function only changes the current input method to an enabled input method. Input methods can be enabled by enterprise polices. If the input method ID is invalid, or not enabled, {@link runtime.lastError} will be set with a failure reason.
8339
+ *
8340
+ * @param options Object containing the fields defined in {@link SetCurrentInputMethodOptions}.
8341
+ */
8342
+ export function setCurrentInputMethod(
8343
+
8344
+ options: SetCurrentInputMethodOptions,
8345
+ ): Promise<void>;
8346
+
8347
+ /**
8348
+ * Sets the current input method. This function only changes the current input method to an enabled input method. Input methods can be enabled by enterprise polices. If the input method ID is invalid, or not enabled, {@link runtime.lastError} will be set with a failure reason.
8349
+ *
8350
+ * @param options Object containing the fields defined in {@link SetCurrentInputMethodOptions}.
8351
+ * @param callback Called when the input method is changed or if there is an error.
8352
+ */
8353
+ export function setCurrentInputMethod(
8354
+
8355
+ options: SetCurrentInputMethodOptions,
8356
+
8357
+ callback?: () => void,
8358
+ ): void;
8359
+ }
8360
+
8323
8361
  /**
8324
8362
  * Use the `chrome.enterprise.networkingAttributes` API to read information about your current network. Note: This API is only available to extensions force-installed by enterprise policy.
8325
8363
  *
@@ -8327,7 +8365,6 @@ declare namespace chrome {
8327
8365
  * @chrome-permission enterprise.networkingAttributes
8328
8366
  * @chrome-install-location policy
8329
8367
  * @chrome-platform chromeos
8330
- * @chrome-platform lacros
8331
8368
  */
8332
8369
  export namespace enterprise.networkingAttributes {
8333
8370
 
@@ -8375,7 +8412,6 @@ declare namespace chrome {
8375
8412
  * @chrome-permission enterprise.platformKeys
8376
8413
  * @chrome-install-location policy
8377
8414
  * @chrome-platform chromeos
8378
- * @chrome-platform lacros
8379
8415
  */
8380
8416
  export namespace enterprise.platformKeys {
8381
8417
 
@@ -9430,7 +9466,6 @@ declare namespace chrome {
9430
9466
  * @chrome-permission fileBrowserHandler
9431
9467
  * @chrome-disallow-service-workers
9432
9468
  * @chrome-platform chromeos
9433
- * @chrome-platform lacros
9434
9469
  */
9435
9470
  export namespace fileBrowserHandler {
9436
9471
 
@@ -9520,7 +9555,6 @@ declare namespace chrome {
9520
9555
  *
9521
9556
  * @chrome-permission fileSystemProvider
9522
9557
  * @chrome-platform chromeos
9523
- * @chrome-platform lacros
9524
9558
  */
9525
9559
  export namespace fileSystemProvider {
9526
9560
 
@@ -12354,7 +12388,6 @@ declare namespace chrome {
12354
12388
  * @chrome-returns-extra since Chrome 116
12355
12389
  * @since Chrome 73
12356
12390
  * @chrome-platform chromeos
12357
- * @chrome-platform lacros
12358
12391
  */
12359
12392
  export function getAutoLockDelay(): Promise<number>;
12360
12393
 
@@ -12363,7 +12396,6 @@ declare namespace chrome {
12363
12396
  *
12364
12397
  * @since Chrome 73
12365
12398
  * @chrome-platform chromeos
12366
- * @chrome-platform lacros
12367
12399
  */
12368
12400
  export function getAutoLockDelay(
12369
12401
 
@@ -13792,7 +13824,6 @@ declare namespace chrome {
13792
13824
  * @since Chrome 78
13793
13825
  * @chrome-permission loginState
13794
13826
  * @chrome-platform chromeos
13795
- * @chrome-platform lacros
13796
13827
  */
13797
13828
  export namespace loginState {
13798
13829
 
@@ -14589,7 +14620,6 @@ declare namespace chrome {
14589
14620
  * @chrome-permission networking.onc
14590
14621
  * @chrome-channel dev
14591
14622
  * @chrome-platform chromeos
14592
- * @chrome-platform lacros
14593
14623
  */
14594
14624
  export namespace networking.onc {
14595
14625
 
@@ -17312,7 +17342,6 @@ declare namespace chrome {
17312
17342
  * @since Chrome 45
17313
17343
  * @chrome-permission platformKeys
17314
17344
  * @chrome-platform chromeos
17315
- * @chrome-platform lacros
17316
17345
  */
17317
17346
  export namespace platformKeys {
17318
17347
 
@@ -17523,7 +17552,6 @@ declare namespace chrome {
17523
17552
  *
17524
17553
  * @since Chrome 113
17525
17554
  * @chrome-platform chromeos
17526
- * @chrome-platform lacros
17527
17555
  */
17528
17556
  export function reportActivity(): Promise<void>;
17529
17557
 
@@ -17532,7 +17560,6 @@ declare namespace chrome {
17532
17560
  *
17533
17561
  * @since Chrome 113
17534
17562
  * @chrome-platform chromeos
17535
- * @chrome-platform lacros
17536
17563
  */
17537
17564
  export function reportActivity(
17538
17565
 
@@ -17659,7 +17686,6 @@ declare namespace chrome {
17659
17686
  * @since Chrome 81
17660
17687
  * @chrome-permission printing
17661
17688
  * @chrome-platform chromeos
17662
- * @chrome-platform lacros
17663
17689
  */
17664
17690
  export namespace printing {
17665
17691
 
@@ -17891,7 +17917,6 @@ declare namespace chrome {
17891
17917
  * @chrome-permission printingMetrics
17892
17918
  * @chrome-install-location policy
17893
17919
  * @chrome-platform chromeos
17894
- * @chrome-platform lacros
17895
17920
  */
17896
17921
  export namespace printingMetrics {
17897
17922
 
@@ -20488,7 +20513,6 @@ declare namespace chrome {
20488
20513
  * @chrome-manifest sockets
20489
20514
  * @chrome-channel dev
20490
20515
  * @chrome-platform chromeos
20491
- * @chrome-platform lacros
20492
20516
  */
20493
20517
  export namespace sockets.tcp {
20494
20518
 
@@ -21000,7 +21024,6 @@ declare namespace chrome {
21000
21024
  * @chrome-manifest sockets
21001
21025
  * @chrome-channel dev
21002
21026
  * @chrome-platform chromeos
21003
- * @chrome-platform lacros
21004
21027
  */
21005
21028
  export namespace sockets.tcpServer {
21006
21029
 
@@ -21332,7 +21355,6 @@ declare namespace chrome {
21332
21355
  * @chrome-manifest sockets
21333
21356
  * @chrome-channel dev
21334
21357
  * @chrome-platform chromeos
21335
- * @chrome-platform lacros
21336
21358
  */
21337
21359
  export namespace sockets.udp {
21338
21360
 
@@ -23192,7 +23214,6 @@ declare namespace chrome {
23192
23214
  * @chrome-permission systemLog
23193
23215
  * @chrome-install-location policy
23194
23216
  * @chrome-platform chromeos
23195
- * @chrome-platform lacros
23196
23217
  */
23197
23218
  export namespace systemLog {
23198
23219
 
@@ -26121,7 +26142,6 @@ declare namespace chrome {
26121
26142
  * @chrome-permission usb
26122
26143
  * @chrome-channel dev
26123
26144
  * @chrome-platform chromeos
26124
- * @chrome-platform lacros
26125
26145
  */
26126
26146
  export namespace usb {
26127
26147
 
@@ -27250,7 +27270,6 @@ declare namespace chrome {
27250
27270
  * @chrome-permission virtualKeyboard
27251
27271
  * @chrome-channel dev
27252
27272
  * @chrome-platform chromeos
27253
- * @chrome-platform lacros
27254
27273
  */
27255
27274
  export namespace virtualKeyboard {
27256
27275
 
@@ -27314,7 +27333,6 @@ declare namespace chrome {
27314
27333
  * @since Chrome 43
27315
27334
  * @chrome-permission vpnProvider
27316
27335
  * @chrome-platform chromeos
27317
- * @chrome-platform lacros
27318
27336
  */
27319
27337
  export namespace vpnProvider {
27320
27338
 
@@ -27569,7 +27587,6 @@ declare namespace chrome {
27569
27587
  * @since Chrome 43
27570
27588
  * @chrome-permission wallpaper
27571
27589
  * @chrome-platform chromeos
27572
- * @chrome-platform lacros
27573
27590
  */
27574
27591
  export namespace wallpaper {
27575
27592
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "2f2ba4c0667c5342"
8
+ "build-hash": "69874083bcbec4fd"
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.312"
19
+ "version": "0.1.314"
20
20
  }