@maxim_mazurok/gapi.client.androidmanagement-v1 0.3.20260318 → 0.3.20260604

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 +11 -4
  2. package/package.json +1 -1
  3. package/readme.md +17 -0
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: 20260318
12
+ // Revision: 20260604
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -398,8 +398,10 @@ declare namespace gapi.client {
398
398
  packageName?: string;
399
399
  /** The SHA-256 hash of the app's APK file, which can be used to verify the app hasn't been modified. Each byte of the hash value is represented as a two-digit hexadecimal number. */
400
400
  packageSha256Hash?: string;
401
- /** The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number. */
401
+ /** Deprecated. Use signingKeyCerts instead. The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number. */
402
402
  signingKeyCertFingerprints?: string[];
403
+ /** Output only. Signing key certificates of the app. */
404
+ signingKeyCerts?: ApplicationSigningKeyCert[];
403
405
  /** Application state. */
404
406
  state?: 'APPLICATION_STATE_UNSPECIFIED' | 'REMOVED' | 'INSTALLED';
405
407
  /** Whether the app is user facing. */
@@ -1786,6 +1788,11 @@ declare namespace gapi.client {
1786
1788
  | 'AUTO_DATE_AND_TIME_ZONE_UNSPECIFIED'
1787
1789
  | 'AUTO_DATE_AND_TIME_ZONE_USER_CHOICE'
1788
1790
  | 'AUTO_DATE_AND_TIME_ZONE_ENFORCED';
1791
+ /** Optional. The policy for the autofill service. */
1792
+ autofillPolicy?:
1793
+ | 'AUTOFILL_POLICY_UNSPECIFIED'
1794
+ | 'AUTOFILL_USER_CHOICE'
1795
+ | 'AUTOFILL_DISABLED';
1789
1796
  /** Whether auto time is required, which prevents the user from manually setting the date and time. If autoDateAndTimeZone is set, this field is ignored. */
1790
1797
  autoTimeRequired?: boolean;
1791
1798
  /** This field has no effect. */
@@ -1812,7 +1819,7 @@ declare namespace gapi.client {
1812
1819
  complianceRules?: ComplianceRule[];
1813
1820
  /** Whether creating windows besides app windows is disabled. */
1814
1821
  createWindowsDisabled?: boolean;
1815
- /** Controls which apps are allowed to act as credential providers on Android 14 and above. These apps store credentials, see this (https://developer.android.com/training/sign-in/passkeys) and this (https://developer.android.com/reference/androidx/credentials/CredentialManager) for details. See also credentialProviderPolicy. */
1822
+ /** Optional. Controls which apps are allowed to act as credential providers on Android 14 and above. These apps store credentials, see this (https://developer.android.com/training/sign-in/passkeys) and this (https://developer.android.com/reference/androidx/credentials/CredentialManager) for details. See also credentialProviderPolicy. */
1816
1823
  credentialProviderPolicyDefault?:
1817
1824
  | 'CREDENTIAL_PROVIDER_POLICY_DEFAULT_UNSPECIFIED'
1818
1825
  | 'CREDENTIAL_PROVIDER_DEFAULT_DISALLOWED'
@@ -2297,7 +2304,7 @@ declare namespace gapi.client {
2297
2304
  /** The status code, which should be an enum value of google.rpc.Code. */
2298
2305
  code?: number;
2299
2306
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
2300
- details?: Array<{[P in string]: any}>;
2307
+ details?: {[P in string]: any}[];
2301
2308
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
2302
2309
  message?: string;
2303
2310
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.androidmanagement-v1",
3
- "version": "0.3.20260318",
3
+ "version": "0.3.20260604",
4
4
  "description": "TypeScript typings for Android Management API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,23 @@ Install typings for Android Management API:
11
11
  npm install @types/gapi.client.androidmanagement-v1 --save-dev
12
12
  ```
13
13
 
14
+ ## TypeScript 6.0+
15
+
16
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
17
+
18
+ ```json
19
+ {
20
+ "compilerOptions": {
21
+ "types": [
22
+ "gapi",
23
+ "gapi.auth2",
24
+ "gapi.client",
25
+ "gapi.client.androidmanagement-v1"
26
+ ]
27
+ }
28
+ }
29
+ ```
30
+
14
31
  ## Usage
15
32
 
16
33
  You need to initialize Google API client in your code: