@maxim_mazurok/gapi.client.androidmanagement-v1 0.1.20251007 → 0.1.20251027
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.
- package/index.d.ts +40 -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:
|
|
12
|
+
// Revision: 20251027
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -48,7 +48,7 @@ declare namespace gapi.client {
|
|
|
48
48
|
developerSettings?: string;
|
|
49
49
|
/** Whether Google Play Protect verification (https://support.google.com/accounts/answer/2812853) is enforced. Replaces ensureVerifyAppsEnabled (deprecated). */
|
|
50
50
|
googlePlayProtectVerifyApps?: string;
|
|
51
|
-
/** Optional. Controls Memory Tagging Extension (MTE) (https://source.android.com/docs/security/test/memory-safety/arm-mte) on the device. The device needs to be rebooted to apply changes to the MTE policy. */
|
|
51
|
+
/** Optional. Controls Memory Tagging Extension (MTE) (https://source.android.com/docs/security/test/memory-safety/arm-mte) on the device. The device needs to be rebooted to apply changes to the MTE policy. On Android 15 and above, a NonComplianceDetail with PENDING is reported if the policy change is pending a device reboot. */
|
|
52
52
|
mtePolicy?: string;
|
|
53
53
|
/** Personal apps that can read work profile notifications using a NotificationListenerService (https://developer.android.com/reference/android/service/notification/NotificationListenerService). By default, no personal apps (aside from system apps) can read work notifications. Each value in the list must be a package name. */
|
|
54
54
|
personalAppsThatCanReadWorkNotifications?: string[];
|
|
@@ -477,6 +477,36 @@ declare namespace gapi.client {
|
|
|
477
477
|
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
478
478
|
year?: number;
|
|
479
479
|
}
|
|
480
|
+
interface DefaultApplication {
|
|
481
|
+
/** Required. The package name that should be set as the default application. The policy is rejected if the package name is invalid. */
|
|
482
|
+
packageName?: string;
|
|
483
|
+
}
|
|
484
|
+
interface DefaultApplicationContext {
|
|
485
|
+
/** Output only. The scope of non-compliant default application setting. */
|
|
486
|
+
defaultApplicationScope?: string;
|
|
487
|
+
}
|
|
488
|
+
interface DefaultApplicationInfo {
|
|
489
|
+
/** Output only. Details on the default application setting attempts, in the same order as listed in defaultApplications. */
|
|
490
|
+
defaultApplicationSettingAttempts?: DefaultApplicationSettingAttempt[];
|
|
491
|
+
/** Output only. The default application type. */
|
|
492
|
+
defaultApplicationType?: string;
|
|
493
|
+
/** Output only. The package name of the current default application. */
|
|
494
|
+
packageName?: string;
|
|
495
|
+
}
|
|
496
|
+
interface DefaultApplicationSetting {
|
|
497
|
+
/** Required. The list of applications that can be set as the default app for a given type. This list must not be empty or contain duplicates. The first app in the list that is installed and qualified for the defaultApplicationType (e.g. SMS app for DEFAULT_SMS) is set as the default app. The signing key certificate fingerprint of the app on the device must also match one of the signing key certificate fingerprints obtained from Play Store or one of the entries in ApplicationPolicy.signingKeyCerts in order to be set as the default.If the defaultApplicationScopes contains SCOPE_FULLY_MANAGED or SCOPE_WORK_PROFILE, the app must have an entry in applications with installType set to a value other than BLOCKED.A NonComplianceDetail with APP_NOT_INSTALLED reason and DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE specific reason is reported if none of the apps in the list are installed. A NonComplianceDetail with INVALID_VALUE reason and DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE specific reason is reported if at least one app is installed but the policy fails to apply due to other reasons (e.g. the app is not of the right type).When applying to SCOPE_PERSONAL_PROFILE on a company-owned device with a work profile, only pre-installed system apps can be set as the default. A NonComplianceDetail with INVALID_VALUE reason and DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE specific reason is reported if the policy fails to apply to the personal profile. */
|
|
498
|
+
defaultApplications?: DefaultApplication[];
|
|
499
|
+
/** Required. The scopes to which the policy should be applied. This list must not be empty or contain duplicates.A NonComplianceDetail with MANAGEMENT_MODE reason and DEFAULT_APPLICATION_SETTING_UNSUPPORTED_SCOPES specific reason is reported if none of the specified scopes can be applied to the management mode (e.g. a fully managed device receives a policy with only SCOPE_PERSONAL_PROFILE in the list). */
|
|
500
|
+
defaultApplicationScopes?: string[];
|
|
501
|
+
/** Required. The app type to set the default application. */
|
|
502
|
+
defaultApplicationType?: string;
|
|
503
|
+
}
|
|
504
|
+
interface DefaultApplicationSettingAttempt {
|
|
505
|
+
/** Output only. The outcome of setting the app as the default. */
|
|
506
|
+
attemptOutcome?: string;
|
|
507
|
+
/** Output only. The package name of the attempted application. */
|
|
508
|
+
packageName?: string;
|
|
509
|
+
}
|
|
480
510
|
interface Device {
|
|
481
511
|
/** The API level of the Android platform version running on the device. */
|
|
482
512
|
apiLevel?: number;
|
|
@@ -492,6 +522,8 @@ declare namespace gapi.client {
|
|
|
492
522
|
appliedState?: string;
|
|
493
523
|
/** Information about Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC).This information is only available if statusReportingSettings.commonCriteriaModeEnabled is true in the device's policy the device is company-owned. */
|
|
494
524
|
commonCriteriaModeInfo?: CommonCriteriaModeInfo;
|
|
525
|
+
/** Output only. The default application information for the DefaultApplicationType. This information is only available if defaultApplicationInfoReportingEnabled is true in the device's policy. Available on Android 16 and above.All app types are reported on fully managed devices. DEFAULT_BROWSER, DEFAULT_CALL_REDIRECTION, DEFAULT_CALL_SCREENING and DEFAULT_DIALER types are reported for the work profiles on company-owned devices with a work profile and personally-owned devices. DEFAULT_WALLET is also reported for company-owned devices with a work profile, but will only include work profile information. */
|
|
526
|
+
defaultApplicationInfo?: DefaultApplicationInfo[];
|
|
495
527
|
/** Device settings information. This information is only available if deviceSettingsEnabled is true in the device's policy. */
|
|
496
528
|
deviceSettings?: DeviceSettings;
|
|
497
529
|
/** If the device state is DISABLED, an optional message that is displayed on the device indicating the reason the device is disabled. This field can be modified by a patch request. */
|
|
@@ -1246,6 +1278,8 @@ declare namespace gapi.client {
|
|
|
1246
1278
|
dataRoamingDisabled?: boolean;
|
|
1247
1279
|
/** Whether the user is allowed to enable debugging features. */
|
|
1248
1280
|
debuggingFeaturesAllowed?: boolean;
|
|
1281
|
+
/** Optional. The default application setting for supported types. If the default application is successfully set for at least one app type on a profile, users are prevented from changing any default applications on that profile.Only one DefaultApplicationSetting is allowed for each DefaultApplicationType.See Default application settings (https://developers.google.com/android/management/default-application-settings) guide for more details. */
|
|
1282
|
+
defaultApplicationSettings?: DefaultApplicationSetting[];
|
|
1249
1283
|
/** The default permission policy for runtime permission requests. */
|
|
1250
1284
|
defaultPermissionPolicy?: string;
|
|
1251
1285
|
/** Covers controls for device connectivity such as Wi-Fi, USB data access, keyboard/mouse connections, and more. */
|
|
@@ -1564,6 +1598,8 @@ declare namespace gapi.client {
|
|
|
1564
1598
|
systemUpdateInfo?: SystemUpdateInfo;
|
|
1565
1599
|
}
|
|
1566
1600
|
interface SpecificNonComplianceContext {
|
|
1601
|
+
/** Output only. Additional context for non-compliance related to default application settings. See DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE. */
|
|
1602
|
+
defaultApplicationContext?: DefaultApplicationContext;
|
|
1567
1603
|
/** Additional context for non-compliance related to Wi-Fi configuration. See ONC_WIFI_INVALID_VALUE and ONC_WIFI_API_LEVEL */
|
|
1568
1604
|
oncWifiContext?: OncWifiContext;
|
|
1569
1605
|
/** Additional context for non-compliance related to password policies. See PASSWORD_POLICIES_PASSWORD_EXPIRED and PASSWORD_POLICIES_PASSWORD_NOT_SUFFICIENT. */
|
|
@@ -1600,6 +1636,8 @@ declare namespace gapi.client {
|
|
|
1600
1636
|
applicationReportsEnabled?: boolean;
|
|
1601
1637
|
/** Whether Common Criteria Mode reporting is enabled. This is supported only on company-owned devices. */
|
|
1602
1638
|
commonCriteriaModeEnabled?: boolean;
|
|
1639
|
+
/** Optional. Whether defaultApplicationInfo reporting is enabled. */
|
|
1640
|
+
defaultApplicationInfoReportingEnabled?: boolean;
|
|
1603
1641
|
/** Whether device settings reporting is enabled. */
|
|
1604
1642
|
deviceSettingsEnabled?: boolean;
|
|
1605
1643
|
/** Whether displays reporting is enabled. Report data is not available for personally owned devices with work profiles. */
|