@maxim_mazurok/gapi.client.androidmanagement-v1 0.3.20260625 → 0.4.20260629

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 (2) hide show
  1. package/index.d.ts +24 -78
  2. package/package.json +1 -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: 20260625
12
+ // Revision: 20260629
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -38,9 +38,7 @@ declare namespace gapi.client {
38
38
  activationCode?: string;
39
39
  /** Required. The activation state of the eSIM profile once it is downloaded. */
40
40
  activationState?:
41
- | 'ACTIVATION_STATE_UNSPECIFIED'
42
- | 'ACTIVATED'
43
- | 'NOT_ACTIVATED';
41
+ 'ACTIVATION_STATE_UNSPECIFIED' | 'ACTIVATED' | 'NOT_ACTIVATED';
44
42
  }
45
43
  interface AdvancedSecurityOverrides {
46
44
  /** Controls Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC). Enabling Common Criteria Mode increases certain security components on a device, see CommonCriteriaMode for details.Warning: Common Criteria Mode enforces a strict security model typically only required for IT products used in national security systems and other highly sensitive organizations. Standard device use may be affected. Only enabled if required. If Common Criteria Mode is turned off after being enabled previously, all user-configured Wi-Fi networks may be lost and any enterprise-configured Wi-Fi networks that require user input may need to be reconfigured. */
@@ -101,9 +99,7 @@ declare namespace gapi.client {
101
99
  interface ApnSetting {
102
100
  /** Optional. Whether User Plane resources have to be activated during every transition from CM-IDLE mode to CM-CONNECTED state for this APN. See 3GPP TS 23.501 section 5.6.13. */
103
101
  alwaysOnSetting?:
104
- | 'ALWAYS_ON_SETTING_UNSPECIFIED'
105
- | 'NOT_ALWAYS_ON'
106
- | 'ALWAYS_ON';
102
+ 'ALWAYS_ON_SETTING_UNSPECIFIED' | 'NOT_ALWAYS_ON' | 'ALWAYS_ON';
107
103
  /** Required. Name of the APN. Policy will be rejected if this field is empty. */
108
104
  apn?: string;
109
105
  /** Required. Usage categories for the APN. Policy will be rejected if this field is empty or contains APN_TYPE_UNSPECIFIED or duplicates. Multiple APN types can be set on fully managed devices. ENTERPRISE is the only allowed APN type on work profiles. A NonComplianceDetail with MANAGEMENT_MODE is reported for any other value on work profiles. APN types that are not supported on the device or management mode will be ignored. If this results in the empty list, the APN setting will be ignored, because apnTypes is a required field. A NonComplianceDetail with INVALID_VALUE is reported if none of the APN types are supported on the device or management mode. */
@@ -127,11 +123,7 @@ declare namespace gapi.client {
127
123
  | 'XCAP'[];
128
124
  /** Optional. Authentication type of the APN. */
129
125
  authType?:
130
- | 'AUTH_TYPE_UNSPECIFIED'
131
- | 'NONE'
132
- | 'PAP'
133
- | 'CHAP'
134
- | 'PAP_OR_CHAP';
126
+ 'AUTH_TYPE_UNSPECIFIED' | 'NONE' | 'PAP' | 'CHAP' | 'PAP_OR_CHAP';
135
127
  /** Optional. Carrier ID for the APN. A value of 0 (default) means not set and negative values are rejected. */
136
128
  carrierId?: number;
137
129
  /** Required. Human-readable name that describes the APN. Policy will be rejected if this field is empty. */
@@ -302,10 +294,7 @@ declare namespace gapi.client {
302
294
  customAppConfig?: CustomAppConfig;
303
295
  /** The default policy for all permissions requested by the app. If specified, this overrides the policy-level default_permission_policy which applies to all apps. It does not override the permission_grants which applies to all apps. */
304
296
  defaultPermissionPolicy?:
305
- | 'PERMISSION_POLICY_UNSPECIFIED'
306
- | 'PROMPT'
307
- | 'GRANT'
308
- | 'DENY';
297
+ 'PERMISSION_POLICY_UNSPECIFIED' | 'PROMPT' | 'GRANT' | 'DENY';
309
298
  /** The scopes delegated to the app from Android Device Policy. These provide additional privileges for the applications they are applied to. */
310
299
  delegatedScopes?:
311
300
  | 'DELEGATED_SCOPE_UNSPECIFIED'
@@ -406,9 +395,7 @@ declare namespace gapi.client {
406
395
  state?: 'APPLICATION_STATE_UNSPECIFIED' | 'REMOVED' | 'INSTALLED';
407
396
  /** Whether the app is user facing. */
408
397
  userFacingType?:
409
- | 'USER_FACING_TYPE_UNSPECIFIED'
410
- | 'NOT_USER_FACING'
411
- | 'USER_FACING';
398
+ 'USER_FACING_TYPE_UNSPECIFIED' | 'NOT_USER_FACING' | 'USER_FACING';
412
399
  /** The app version code, which can be used to determine whether one version is more recent than another. */
413
400
  versionCode?: number;
414
401
  /** The app version as displayed to the user. */
@@ -804,9 +791,7 @@ declare namespace gapi.client {
804
791
  lastStatusReportTime?: string;
805
792
  /** The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported. */
806
793
  managementMode?:
807
- | 'MANAGEMENT_MODE_UNSPECIFIED'
808
- | 'DEVICE_OWNER'
809
- | 'PROFILE_OWNER';
794
+ 'MANAGEMENT_MODE_UNSPECIFIED' | 'DEVICE_OWNER' | 'PROFILE_OWNER';
810
795
  /** Events related to memory and storage measurements in chronological order. This information is only available if memoryInfoEnabled is true in the device's policy.Events are retained for a certain period of time and old events are deleted. */
811
796
  memoryEvents?: MemoryEvent[];
812
797
  /** Memory information: contains information about device memory and storage. */
@@ -819,9 +804,7 @@ declare namespace gapi.client {
819
804
  nonComplianceDetails?: NonComplianceDetail[];
820
805
  /** Ownership of the managed device. */
821
806
  ownership?:
822
- | 'OWNERSHIP_UNSPECIFIED'
823
- | 'COMPANY_OWNED'
824
- | 'PERSONALLY_OWNED';
807
+ 'OWNERSHIP_UNSPECIFIED' | 'COMPANY_OWNED' | 'PERSONALLY_OWNED';
825
808
  /** Whether the device is compliant with its policy. */
826
809
  policyCompliant?: boolean;
827
810
  /** The name of the policy applied to the device, in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the device's user is applied. This field can be modified by a patch request. You can specify only the policyId when calling enterprises.devices.patch, as long as the policyId doesn’t contain any slashes. The rest of the policy name is inferred. */
@@ -1052,9 +1035,7 @@ declare namespace gapi.client {
1052
1035
  logo?: ExternalData;
1053
1036
  /** Output only. The type of managed Google domain. */
1054
1037
  managedGoogleDomainType?:
1055
- | 'MANAGED_GOOGLE_DOMAIN_TYPE_UNSPECIFIED'
1056
- | 'TYPE_TEAM'
1057
- | 'TYPE_DOMAIN';
1038
+ 'MANAGED_GOOGLE_DOMAIN_TYPE_UNSPECIFIED' | 'TYPE_TEAM' | 'TYPE_DOMAIN';
1058
1039
  /** Output only. The type of a managed Google Play Accounts enterprise. */
1059
1040
  managedGooglePlayAccountsEnterpriseType?:
1060
1041
  | 'MANAGED_GOOGLE_PLAY_ACCOUNTS_ENTERPRISE_TYPE_UNSPECIFIED'
@@ -1141,9 +1122,7 @@ declare namespace gapi.client {
1141
1122
  interface GoogleAuthenticationOptions {
1142
1123
  /** Optional. Specifies whether user should authenticate with Google during enrollment. If this is set to any value other than AUTHENTICATION_REQUIREMENT_UNSPECIFIED, the enterprise-level setting googleAuthenticationSettings is ignored for devices enrolled with this token. */
1143
1124
  authenticationRequirement?:
1144
- | 'AUTHENTICATION_REQUIREMENT_UNSPECIFIED'
1145
- | 'OPTIONAL'
1146
- | 'REQUIRED';
1125
+ 'AUTHENTICATION_REQUIREMENT_UNSPECIFIED' | 'OPTIONAL' | 'REQUIRED';
1147
1126
  /** Optional. Specifies the managed Google account that the user must use during enrollment. This field can only be set if AuthenticationRequirement is set to REQUIRED. */
1148
1127
  requiredAccountEmail?: string;
1149
1128
  }
@@ -1633,16 +1612,10 @@ declare namespace gapi.client {
1633
1612
  interface OsStartupEvent {
1634
1613
  /** Verified Boot state. */
1635
1614
  verifiedBootState?:
1636
- | 'VERIFIED_BOOT_STATE_UNSPECIFIED'
1637
- | 'GREEN'
1638
- | 'YELLOW'
1639
- | 'ORANGE';
1615
+ 'VERIFIED_BOOT_STATE_UNSPECIFIED' | 'GREEN' | 'YELLOW' | 'ORANGE';
1640
1616
  /** dm-verity mode. */
1641
1617
  verityMode?:
1642
- | 'DM_VERITY_MODE_UNSPECIFIED'
1643
- | 'ENFORCING'
1644
- | 'IO_ERROR'
1645
- | 'DISABLED';
1618
+ 'DM_VERITY_MODE_UNSPECIFIED' | 'ENFORCING' | 'IO_ERROR' | 'DISABLED';
1646
1619
  }
1647
1620
  interface PackageNameList {
1648
1621
  /** A list of package names. */
@@ -1651,9 +1624,7 @@ declare namespace gapi.client {
1651
1624
  interface PasswordPoliciesContext {
1652
1625
  /** The scope of non-compliant password. */
1653
1626
  passwordPolicyScope?:
1654
- | 'SCOPE_UNSPECIFIED'
1655
- | 'SCOPE_DEVICE'
1656
- | 'SCOPE_PROFILE';
1627
+ 'SCOPE_UNSPECIFIED' | 'SCOPE_DEVICE' | 'SCOPE_PROFILE';
1657
1628
  }
1658
1629
  interface PasswordRequirements {
1659
1630
  /** Number of incorrect device-unlock passwords that can be entered before a device is wiped. A value of 0 means there is no restriction. */
@@ -1747,10 +1718,7 @@ declare namespace gapi.client {
1747
1718
  personalApplications?: PersonalApplicationPolicy[];
1748
1719
  /** Used together with personalApplications to control how apps in the personal profile are allowed or blocked. */
1749
1720
  personalPlayStoreMode?:
1750
- | 'PLAY_STORE_MODE_UNSPECIFIED'
1751
- | 'BLACKLIST'
1752
- | 'BLOCKLIST'
1753
- | 'ALLOWLIST';
1721
+ 'PLAY_STORE_MODE_UNSPECIFIED' | 'BLACKLIST' | 'BLOCKLIST' | 'ALLOWLIST';
1754
1722
  /** Optional. Controls whether a private space is allowed on the device. */
1755
1723
  privateSpacePolicy?:
1756
1724
  | 'PRIVATE_SPACE_POLICY_UNSPECIFIED'
@@ -1772,9 +1740,7 @@ declare namespace gapi.client {
1772
1740
  alwaysOnVpnPackage?: AlwaysOnVpnPackage;
1773
1741
  /** This setting is not supported. Any value is ignored. */
1774
1742
  androidDevicePolicyTracks?:
1775
- | 'APP_TRACK_UNSPECIFIED'
1776
- | 'PRODUCTION'
1777
- | 'BETA'[];
1743
+ 'APP_TRACK_UNSPECIFIED' | 'PRODUCTION' | 'BETA'[];
1778
1744
  /** Recommended alternative: autoUpdateMode which is set per app, provides greater flexibility around update frequency.When autoUpdateMode is set to AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, this field has no effect.The app auto update policy, which controls when automatic app updates can be applied. */
1779
1745
  appAutoUpdatePolicy?:
1780
1746
  | 'APP_AUTO_UPDATE_POLICY_UNSPECIFIED'
@@ -1847,10 +1813,7 @@ declare namespace gapi.client {
1847
1813
  defaultApplicationSettings?: DefaultApplicationSetting[];
1848
1814
  /** The default permission policy for runtime permission requests. */
1849
1815
  defaultPermissionPolicy?:
1850
- | 'PERMISSION_POLICY_UNSPECIFIED'
1851
- | 'PROMPT'
1852
- | 'GRANT'
1853
- | 'DENY';
1816
+ 'PERMISSION_POLICY_UNSPECIFIED' | 'PROMPT' | 'GRANT' | 'DENY';
1854
1817
  /** Covers controls for device connectivity such as Wi-Fi, USB data access, keyboard/mouse connections, and more. */
1855
1818
  deviceConnectivityManagement?: DeviceConnectivityManagement;
1856
1819
  /** The device owner information to be shown on the lock screen. */
@@ -2001,10 +1964,7 @@ declare namespace gapi.client {
2001
1964
  statusReportingSettings?: StatusReportingSettings;
2002
1965
  /** The battery plugged in modes for which the device stays on. When using this setting, it is recommended to clear maximum_time_to_lock so that the device doesn't lock itself while it stays on. */
2003
1966
  stayOnPluggedModes?:
2004
- | 'BATTERY_PLUGGED_MODE_UNSPECIFIED'
2005
- | 'AC'
2006
- | 'USB'
2007
- | 'WIRELESS'[];
1967
+ 'BATTERY_PLUGGED_MODE_UNSPECIFIED' | 'AC' | 'USB' | 'WIRELESS'[];
2008
1968
  /** 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.Note: Google Play system updates (https://source.android.com/docs/core/ota/modular-system) (also called Mainline updates) are automatically downloaded and require a device reboot to be installed. Refer to the mainline section in Manage system updates (https://developer.android.com/work/dpc/system-updates#mainline) for further details. */
2009
1969
  systemUpdate?: SystemUpdate;
2010
1970
  /** Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored. */
@@ -2123,9 +2083,7 @@ declare namespace gapi.client {
2123
2083
  imei?: string;
2124
2084
  /** The management mode of the device or profile. */
2125
2085
  managementMode?:
2126
- | 'MANAGEMENT_MODE_UNSPECIFIED'
2127
- | 'DEVICE_OWNER'
2128
- | 'PROFILE_OWNER';
2086
+ 'MANAGEMENT_MODE_UNSPECIFIED' | 'DEVICE_OWNER' | 'PROFILE_OWNER';
2129
2087
  /** For corporate-owned devices, MEID number of the CDMA device. For example, A00000292788E1. */
2130
2088
  meid?: string;
2131
2089
  /** The model of the device. For example, Asus Nexus 7. */
@@ -2134,9 +2092,7 @@ declare namespace gapi.client {
2134
2092
  name?: string;
2135
2093
  /** Ownership of the managed device. */
2136
2094
  ownership?:
2137
- | 'OWNERSHIP_UNSPECIFIED'
2138
- | 'COMPANY_OWNED'
2139
- | 'PERSONALLY_OWNED';
2095
+ 'OWNERSHIP_UNSPECIFIED' | 'COMPANY_OWNED' | 'PERSONALLY_OWNED';
2140
2096
  /** For corporate-owned devices, The device serial number. */
2141
2097
  serialNumber?: string;
2142
2098
  }
@@ -2257,9 +2213,7 @@ declare namespace gapi.client {
2257
2213
  interface SigninDetailGoogleAuthenticationOptions {
2258
2214
  /** Optional. Specifies whether user should authenticate with Google during enrollment. If this is set to any value other than AUTHENTICATION_REQUIREMENT_UNSPECIFIED, the enterprise-level setting googleAuthenticationSettings is ignored for devices enrolled with this sign-in detail. */
2259
2215
  authenticationRequirement?:
2260
- | 'AUTHENTICATION_REQUIREMENT_UNSPECIFIED'
2261
- | 'OPTIONAL'
2262
- | 'REQUIRED';
2216
+ 'AUTHENTICATION_REQUIREMENT_UNSPECIFIED' | 'OPTIONAL' | 'REQUIRED';
2263
2217
  }
2264
2218
  interface SignupUrl {
2265
2219
  /** The name of the resource. Use this value in the signupUrl field when calling enterprises.create to complete the enterprise signup flow. */
@@ -2391,16 +2345,12 @@ declare namespace gapi.client {
2391
2345
  interface TelephonyInfo {
2392
2346
  /** Output only. Activation state of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for Android 15 and above. This is always ACTIVATION_STATE_UNSPECIFIED for physical SIMs and for devices below Android 15. */
2393
2347
  activationState?:
2394
- | 'ACTIVATION_STATE_UNSPECIFIED'
2395
- | 'ACTIVATED'
2396
- | 'NOT_ACTIVATED';
2348
+ 'ACTIVATION_STATE_UNSPECIFIED' | 'ACTIVATED' | 'NOT_ACTIVATED';
2397
2349
  /** The carrier name associated with this SIM card. */
2398
2350
  carrierName?: string;
2399
2351
  /** Output only. The configuration mode of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for Android 15 and above. This is always CONFIG_MODE_UNSPECIFIED for physical SIMs and for devices below Android 15. */
2400
2352
  configMode?:
2401
- | 'CONFIG_MODE_UNSPECIFIED'
2402
- | 'ADMIN_CONFIGURED'
2403
- | 'USER_CONFIGURED';
2353
+ 'CONFIG_MODE_UNSPECIFIED' | 'ADMIN_CONFIGURED' | 'USER_CONFIGURED';
2404
2354
  /** Output only. The ICCID associated with this SIM card. */
2405
2355
  iccId?: string;
2406
2356
  /** The phone number associated with this SIM card. */
@@ -2415,14 +2365,10 @@ declare namespace gapi.client {
2415
2365
  interface UsageLog {
2416
2366
  /** Specifies which log types are enabled. Note that users will receive on-device messaging when usage logging is enabled. */
2417
2367
  enabledLogTypes?:
2418
- | 'LOG_TYPE_UNSPECIFIED'
2419
- | 'SECURITY_LOGS'
2420
- | 'NETWORK_ACTIVITY_LOGS'[];
2368
+ 'LOG_TYPE_UNSPECIFIED' | 'SECURITY_LOGS' | 'NETWORK_ACTIVITY_LOGS'[];
2421
2369
  /** Specifies which of the enabled log types can be uploaded over mobile data. By default logs are queued for upload when the device connects to WiFi. */
2422
2370
  uploadOnCellularAllowed?:
2423
- | 'LOG_TYPE_UNSPECIFIED'
2424
- | 'SECURITY_LOGS'
2425
- | 'NETWORK_ACTIVITY_LOGS'[];
2371
+ 'LOG_TYPE_UNSPECIFIED' | 'SECURITY_LOGS' | 'NETWORK_ACTIVITY_LOGS'[];
2426
2372
  }
2427
2373
  interface UsageLogEvent {
2428
2374
  /** A shell command was issued over ADB via “adb shell command”. Part of SECURITY_LOGS. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.androidmanagement-v1",
3
- "version": "0.3.20260625",
3
+ "version": "0.4.20260629",
4
4
  "description": "TypeScript typings for Android Management API v1",
5
5
  "repository": {
6
6
  "type": "git",