@maxim_mazurok/gapi.client.androidmanagement-v1 0.0.20230424 → 0.0.20230508

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 +13 -3
  2. package/package.json +1 -1
  3. package/tests.ts +4 -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: 20230424
12
+ // Revision: 20230508
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -667,6 +667,11 @@ declare namespace gapi.client {
667
667
  userName?:
668
668
  string;
669
669
  }
670
+ interface DeviceConnectivityManagement {
671
+ /** Controls what can be transferred via USB, files and/or data. This is supported only on company-owned devices. */
672
+ usbDataAccess?:
673
+ string;
674
+ }
670
675
  interface DeviceSettings {
671
676
  /** Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device. */
672
677
  adbEnabled?:
@@ -1515,6 +1520,9 @@ declare namespace gapi.client {
1515
1520
  /** The default permission policy for runtime permission requests. */
1516
1521
  defaultPermissionPolicy?:
1517
1522
  string;
1523
+ /** Covers controls for device connectivity such as Wi-Fi, USB data access, keyboard/mouse connections, and more. */
1524
+ deviceConnectivityManagement?:
1525
+ DeviceConnectivityManagement;
1518
1526
  /** The device owner information to be shown on the lock screen. */
1519
1527
  deviceOwnerLockScreenInfo?:
1520
1528
  UserFacingMessage;
@@ -1736,8 +1744,10 @@ declare namespace gapi.client {
1736
1744
  vpnConfigDisabled?:
1737
1745
  boolean;
1738
1746
  /**
1739
- * Whether configuring Wi-Fi access points is disabled. Note: If a network connection can't be made at boot time and configuring Wi-Fi is disabled then network escape hatch will be
1740
- * shown in order to refresh the device policy (see networkEscapeHatchEnabled).
1747
+ * 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
+ * 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).
1741
1751
  */
1742
1752
  wifiConfigDisabled?:
1743
1753
  boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.androidmanagement-v1",
3
- "version": "0.0.20230424",
3
+ "version": "0.0.20230508",
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: 20230424
6
+ // Revision: 20230508
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -638,6 +638,9 @@ gapi.load('client', async () => {
638
638
  dataRoamingDisabled: true,
639
639
  debuggingFeaturesAllowed: true,
640
640
  defaultPermissionPolicy: "Test string",
641
+ deviceConnectivityManagement: {
642
+ usbDataAccess: "Test string",
643
+ },
641
644
  deviceOwnerLockScreenInfo: {
642
645
  defaultMessage: "Test string",
643
646
  localizedMessages: {