@maxim_mazurok/gapi.client.androidmanagement-v1 0.0.20230612 → 0.0.20230628

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/index.d.ts +27 -5
  2. package/package.json +1 -1
  3. package/tests.ts +8 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://androidmanagement.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230612
12
+ // Revision: 20230628
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -260,6 +260,9 @@ declare namespace gapi.client {
260
260
  /** Application state. */
261
261
  state?:
262
262
  string;
263
+ /** Whether the app is user facing. */
264
+ userFacingType?:
265
+ string;
263
266
  /** The app version code, which can be used to determine whether one version is more recent than another. */
264
267
  versionCode?:
265
268
  number;
@@ -668,9 +671,23 @@ declare namespace gapi.client {
668
671
  string;
669
672
  }
670
673
  interface DeviceConnectivityManagement {
674
+ /** Controls Wi-Fi configuring privileges. Based on the option set, user will have either full or limited or no control in configuring Wi-Fi networks. */
675
+ configureWifi?:
676
+ string;
677
+ /** Controls tethering settings. Based on the value set, the user is partially or fully disallowed from using different forms of tethering. */
678
+ tetheringSettings?:
679
+ string;
671
680
  /** Controls what files and/or data can be transferred via USB. Supported only on company-owned devices. */
672
681
  usbDataAccess?:
673
682
  string;
683
+ /** Controls configuring and using Wi-Fi direct settings. Supported on company-owned devices running Android 13 and above. */
684
+ wifiDirectSettings?:
685
+ string;
686
+ }
687
+ interface DeviceRadioState {
688
+ /** Controls current state of Wi-Fi and if user can change its state. */
689
+ wifiState?:
690
+ string;
674
691
  }
675
692
  interface DeviceSettings {
676
693
  /** Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device. */
@@ -1526,6 +1543,9 @@ declare namespace gapi.client {
1526
1543
  /** The device owner information to be shown on the lock screen. */
1527
1544
  deviceOwnerLockScreenInfo?:
1528
1545
  UserFacingMessage;
1546
+ /** Covers controls for radio state such as Wi-Fi, bluetooth, and more. */
1547
+ deviceRadioState?:
1548
+ DeviceRadioState;
1529
1549
  /** Whether encryption is enabled */
1530
1550
  encryptionPolicy?:
1531
1551
  string;
@@ -1596,7 +1616,8 @@ declare namespace gapi.client {
1596
1616
  * Whether the network escape hatch is enabled. If a network connection can't be made at boot time, the escape hatch prompts the user to temporarily connect to a network in order to
1597
1617
  * refresh the device policy. After applying policy, the temporary network will be forgotten and the device will continue booting. This prevents being unable to connect to a network if
1598
1618
  * there is no suitable network in the last policy and the device boots into an app in lock task mode, or the user is otherwise unable to reach device settings.Note: Setting
1599
- * wifiConfigDisabled to true will override this setting under specific circumstances. Please see wifiConfigDisabled for further details.
1619
+ * wifiConfigDisabled to true will override this setting under specific circumstances. Please see wifiConfigDisabled for further details. Setting configureWifi to
1620
+ * DISALLOW_CONFIGURING_WIFI will override this setting under specific circumstances. Please see DISALLOW_CONFIGURING_WIFI for further details.
1600
1621
  */
1601
1622
  networkEscapeHatchEnabled?:
1602
1623
  boolean;
@@ -1716,7 +1737,7 @@ declare namespace gapi.client {
1716
1737
  /** The system update policy, which controls how OS updates are applied. If the update type is WINDOWED, the update window will automatically apply to Play app updates as well. */
1717
1738
  systemUpdate?:
1718
1739
  SystemUpdate;
1719
- /** Whether configuring tethering and portable hotspots is disabled. */
1740
+ /** Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored. */
1720
1741
  tetheringConfigDisabled?:
1721
1742
  boolean;
1722
1743
  /** Whether user uninstallation of applications is disabled. This prevents apps from being uninstalled, even those removed using applications */
@@ -1746,8 +1767,9 @@ declare namespace gapi.client {
1746
1767
  /**
1747
1768
  * Whether configuring Wi-Fi networks is disabled. Supported on fully managed devices and work profiles on company-owned devices. For fully managed devices, setting this to true
1748
1769
  * removes all configured networks and retains only the networks configured using openNetworkConfiguration. For work profiles on company-owned devices, existing configured networks are
1749
- * not affected and the user is not allowed to add, remove, or modify Wi-Fi networks. Note: If a network connection can't be made at boot time and configuring Wi-Fi is disabled then
1750
- * network escape hatch will be shown in order to refresh the device policy (see networkEscapeHatchEnabled).
1770
+ * not affected and the user is not allowed to add, remove, or modify Wi-Fi networks. If configureWifi is set to anything other than CONFIGURE_WIFI_UNSPECIFIED, this setting is
1771
+ * ignored. Note: If a network connection can't be made at boot time and configuring Wi-Fi is disabled then network escape hatch will be shown in order to refresh the device policy
1772
+ * (see networkEscapeHatchEnabled).
1751
1773
  */
1752
1774
  wifiConfigDisabled?:
1753
1775
  boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.androidmanagement-v1",
3
- "version": "0.0.20230612",
3
+ "version": "0.0.20230628",
4
4
  "description": "TypeScript typings for Android Management API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230612
6
+ // Revision: 20230628
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -228,6 +228,7 @@ gapi.load('client', async () => {
228
228
  "Test string"
229
229
  ],
230
230
  state: "Test string",
231
+ userFacingType: "Test string",
231
232
  versionCode: 42,
232
233
  versionName: "Test string",
233
234
  }
@@ -639,7 +640,10 @@ gapi.load('client', async () => {
639
640
  debuggingFeaturesAllowed: true,
640
641
  defaultPermissionPolicy: "Test string",
641
642
  deviceConnectivityManagement: {
643
+ configureWifi: "Test string",
644
+ tetheringSettings: "Test string",
642
645
  usbDataAccess: "Test string",
646
+ wifiDirectSettings: "Test string",
643
647
  },
644
648
  deviceOwnerLockScreenInfo: {
645
649
  defaultMessage: "Test string",
@@ -647,6 +651,9 @@ gapi.load('client', async () => {
647
651
  A: "Test string"
648
652
  },
649
653
  },
654
+ deviceRadioState: {
655
+ wifiState: "Test string",
656
+ },
650
657
  encryptionPolicy: "Test string",
651
658
  ensureVerifyAppsEnabled: true,
652
659
  factoryResetDisabled: true,