@maxim_mazurok/gapi.client.verifiedaccess-v2 0.1.20260310 → 0.2.20260310
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 +71 -20
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ declare namespace gapi.client {
|
|
|
30
30
|
namespace verifiedaccess {
|
|
31
31
|
interface Antivirus {
|
|
32
32
|
/** Output only. The state of the antivirus on the device. Introduced in Chrome M136. */
|
|
33
|
-
state?:
|
|
33
|
+
state?: 'STATE_UNSPECIFIED' | 'MISSING' | 'DISABLED' | 'ENABLED';
|
|
34
34
|
}
|
|
35
35
|
interface Challenge {
|
|
36
36
|
/** Generated challenge, the bytes representation of SignedData. */
|
|
@@ -64,7 +64,11 @@ declare namespace gapi.client {
|
|
|
64
64
|
/** Output only. The name of the device's model. */
|
|
65
65
|
deviceModel?: string;
|
|
66
66
|
/** Output only. The encryption state of the disk. On ChromeOS, the main disk is always ENCRYPTED. */
|
|
67
|
-
diskEncryption?:
|
|
67
|
+
diskEncryption?:
|
|
68
|
+
| 'DISK_ENCRYPTION_UNSPECIFIED'
|
|
69
|
+
| 'DISK_ENCRYPTION_UNKNOWN'
|
|
70
|
+
| 'DISK_ENCRYPTION_DISABLED'
|
|
71
|
+
| 'DISK_ENCRYPTION_ENCRYPTED';
|
|
68
72
|
/** Output only. The display name of the device, as defined by the user. */
|
|
69
73
|
displayName?: string;
|
|
70
74
|
/** Hostname of the device. */
|
|
@@ -76,25 +80,55 @@ declare namespace gapi.client {
|
|
|
76
80
|
/** Output only. Mobile Equipment Identifier (MEID) of the device. Available on ChromeOS only. */
|
|
77
81
|
meid?: string[];
|
|
78
82
|
/** Output only. The type of the Operating System currently running on the device. */
|
|
79
|
-
operatingSystem?:
|
|
83
|
+
operatingSystem?:
|
|
84
|
+
| 'OPERATING_SYSTEM_UNSPECIFIED'
|
|
85
|
+
| 'CHROME_OS'
|
|
86
|
+
| 'CHROMIUM_OS'
|
|
87
|
+
| 'WINDOWS'
|
|
88
|
+
| 'MAC_OS_X'
|
|
89
|
+
| 'LINUX';
|
|
80
90
|
/** Output only. The state of the OS level firewall. On ChromeOS, the value will always be ENABLED on regular devices and UNKNOWN on devices in developer mode. Support for MacOS 15 (Sequoia) and later has been introduced in Chrome M131. */
|
|
81
|
-
osFirewall?:
|
|
91
|
+
osFirewall?:
|
|
92
|
+
| 'OS_FIREWALL_UNSPECIFIED'
|
|
93
|
+
| 'OS_FIREWALL_UNKNOWN'
|
|
94
|
+
| 'OS_FIREWALL_DISABLED'
|
|
95
|
+
| 'OS_FIREWALL_ENABLED';
|
|
82
96
|
/** Output only. The current version of the Operating System. On Windows and linux, the value will also include the security patch information. */
|
|
83
97
|
osVersion?: string;
|
|
84
98
|
/** Output only. Whether the Password Protection Warning feature is enabled or not. Password protection alerts users when they reuse their protected password on potentially suspicious sites. This setting is controlled by an enterprise policy: https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger. Note that the policy unset does not have the same effects as having the policy explicitly set to `PASSWORD_PROTECTION_OFF`. */
|
|
85
|
-
passwordProtectionWarningTrigger?:
|
|
99
|
+
passwordProtectionWarningTrigger?:
|
|
100
|
+
| 'PASSWORD_PROTECTION_WARNING_TRIGGER_UNSPECIFIED'
|
|
101
|
+
| 'POLICY_UNSET'
|
|
102
|
+
| 'PASSWORD_PROTECTION_OFF'
|
|
103
|
+
| 'PASSWORD_REUSE'
|
|
104
|
+
| 'PHISHING_REUSE';
|
|
86
105
|
/** Output only. Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the Chrome Profile’s user or ChromeOS user. */
|
|
87
106
|
profileAffiliationIds?: string[];
|
|
88
107
|
/** Output only. Enrollment domain of the customer which is currently managing the profile. */
|
|
89
108
|
profileEnrollmentDomain?: string;
|
|
90
109
|
/** Output only. Whether Enterprise-grade (i.e. custom) unsafe URL scanning is enabled or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode */
|
|
91
|
-
realtimeUrlCheckMode?:
|
|
110
|
+
realtimeUrlCheckMode?:
|
|
111
|
+
| 'REALTIME_URL_CHECK_MODE_UNSPECIFIED'
|
|
112
|
+
| 'REALTIME_URL_CHECK_MODE_DISABLED'
|
|
113
|
+
| 'REALTIME_URL_CHECK_MODE_ENABLED_MAIN_FRAME';
|
|
92
114
|
/** Output only. Safe Browsing Protection Level. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel. */
|
|
93
|
-
safeBrowsingProtectionLevel?:
|
|
115
|
+
safeBrowsingProtectionLevel?:
|
|
116
|
+
| 'SAFE_BROWSING_PROTECTION_LEVEL_UNSPECIFIED'
|
|
117
|
+
| 'INACTIVE'
|
|
118
|
+
| 'STANDARD'
|
|
119
|
+
| 'ENHANCED';
|
|
94
120
|
/** Output only. The state of the Screen Lock password protection. On ChromeOS, this value will always be ENABLED as there is not way to disable requiring a password or pin when unlocking the device. */
|
|
95
|
-
screenLockSecured?:
|
|
121
|
+
screenLockSecured?:
|
|
122
|
+
| 'SCREEN_LOCK_SECURED_UNSPECIFIED'
|
|
123
|
+
| 'SCREEN_LOCK_SECURED_UNKNOWN'
|
|
124
|
+
| 'SCREEN_LOCK_SECURED_DISABLED'
|
|
125
|
+
| 'SCREEN_LOCK_SECURED_ENABLED';
|
|
96
126
|
/** Output only. Whether the device's startup software has its Secure Boot feature enabled. Available on Windows only. */
|
|
97
|
-
secureBootMode?:
|
|
127
|
+
secureBootMode?:
|
|
128
|
+
| 'SECURE_BOOT_MODE_UNSPECIFIED'
|
|
129
|
+
| 'SECURE_BOOT_MODE_UNKNOWN'
|
|
130
|
+
| 'SECURE_BOOT_MODE_DISABLED'
|
|
131
|
+
| 'SECURE_BOOT_MODE_ENABLED';
|
|
98
132
|
/** Output only. The serial number of the device. On Windows, this represents the BIOS's serial number. Not available on most Linux distributions. */
|
|
99
133
|
serialNumber?: string;
|
|
100
134
|
/** Output only. Whether the Site Isolation (a.k.a Site Per Process) setting is enabled. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SitePerProcess */
|
|
@@ -104,7 +138,10 @@ declare namespace gapi.client {
|
|
|
104
138
|
/** Output only. Deprecated. The corresponding policy is now deprecated. Whether Chrome is blocking third-party software injection or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/?policy=ThirdPartyBlockingEnabled. Available on Windows only. */
|
|
105
139
|
thirdPartyBlockingEnabled?: boolean;
|
|
106
140
|
/** Output only. The trigger which generated this set of signals. */
|
|
107
|
-
trigger?:
|
|
141
|
+
trigger?:
|
|
142
|
+
| 'TRIGGER_UNSPECIFIED'
|
|
143
|
+
| 'TRIGGER_BROWSER_NAVIGATION'
|
|
144
|
+
| 'TRIGGER_LOGIN_SCREEN';
|
|
108
145
|
/** Output only. Windows domain that the current machine has joined. Available on Windows only. */
|
|
109
146
|
windowsMachineDomain?: string;
|
|
110
147
|
/** Output only. Windows domain for the current OS user. Available on Windows only. */
|
|
@@ -131,11 +168,25 @@ declare namespace gapi.client {
|
|
|
131
168
|
/** Output only. Device signals. */
|
|
132
169
|
deviceSignals?: DeviceSignals;
|
|
133
170
|
/** Output only. Device attested key trust level. */
|
|
134
|
-
keyTrustLevel?:
|
|
171
|
+
keyTrustLevel?:
|
|
172
|
+
| 'KEY_TRUST_LEVEL_UNSPECIFIED'
|
|
173
|
+
| 'CHROME_OS_VERIFIED_MODE'
|
|
174
|
+
| 'CHROME_OS_DEVELOPER_MODE'
|
|
175
|
+
| 'CHROME_BROWSER_HW_KEY'
|
|
176
|
+
| 'CHROME_BROWSER_OS_KEY'
|
|
177
|
+
| 'CHROME_BROWSER_NO_KEY'
|
|
178
|
+
| 'CHROME_OS_NO_KEY';
|
|
135
179
|
/** Output only. Unique customer id that this profile belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-customers */
|
|
136
180
|
profileCustomerId?: string;
|
|
137
181
|
/** Output only. Profile attested key trust level. */
|
|
138
|
-
profileKeyTrustLevel?:
|
|
182
|
+
profileKeyTrustLevel?:
|
|
183
|
+
| 'KEY_TRUST_LEVEL_UNSPECIFIED'
|
|
184
|
+
| 'CHROME_OS_VERIFIED_MODE'
|
|
185
|
+
| 'CHROME_OS_DEVELOPER_MODE'
|
|
186
|
+
| 'CHROME_BROWSER_HW_KEY'
|
|
187
|
+
| 'CHROME_BROWSER_OS_KEY'
|
|
188
|
+
| 'CHROME_BROWSER_NO_KEY'
|
|
189
|
+
| 'CHROME_OS_NO_KEY';
|
|
139
190
|
/** Output only. The unique server-side ID of a profile on the device. */
|
|
140
191
|
profilePermanentId?: string;
|
|
141
192
|
/** Output only. Certificate Signing Request (in the SPKAC format, base64 encoded) is returned in this field. This field will be set only if device has included CSR in its challenge response. (the option to include CSR is now available for both user and machine responses) */
|
|
@@ -149,11 +200,11 @@ declare namespace gapi.client {
|
|
|
149
200
|
/** Generates a new challenge. */
|
|
150
201
|
generate(request: {
|
|
151
202
|
/** V1 error format. */
|
|
152
|
-
'$.xgafv'?:
|
|
203
|
+
'$.xgafv'?: '1' | '2';
|
|
153
204
|
/** OAuth access token. */
|
|
154
205
|
access_token?: string;
|
|
155
206
|
/** Data format for response. */
|
|
156
|
-
alt?:
|
|
207
|
+
alt?: 'json' | 'media' | 'proto';
|
|
157
208
|
/** JSONP */
|
|
158
209
|
callback?: string;
|
|
159
210
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -176,11 +227,11 @@ declare namespace gapi.client {
|
|
|
176
227
|
generate(
|
|
177
228
|
request: {
|
|
178
229
|
/** V1 error format. */
|
|
179
|
-
'$.xgafv'?:
|
|
230
|
+
'$.xgafv'?: '1' | '2';
|
|
180
231
|
/** OAuth access token. */
|
|
181
232
|
access_token?: string;
|
|
182
233
|
/** Data format for response. */
|
|
183
|
-
alt?:
|
|
234
|
+
alt?: 'json' | 'media' | 'proto';
|
|
184
235
|
/** JSONP */
|
|
185
236
|
callback?: string;
|
|
186
237
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -203,11 +254,11 @@ declare namespace gapi.client {
|
|
|
203
254
|
/** Verifies the challenge response. */
|
|
204
255
|
verify(request: {
|
|
205
256
|
/** V1 error format. */
|
|
206
|
-
'$.xgafv'?:
|
|
257
|
+
'$.xgafv'?: '1' | '2';
|
|
207
258
|
/** OAuth access token. */
|
|
208
259
|
access_token?: string;
|
|
209
260
|
/** Data format for response. */
|
|
210
|
-
alt?:
|
|
261
|
+
alt?: 'json' | 'media' | 'proto';
|
|
211
262
|
/** JSONP */
|
|
212
263
|
callback?: string;
|
|
213
264
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -230,11 +281,11 @@ declare namespace gapi.client {
|
|
|
230
281
|
verify(
|
|
231
282
|
request: {
|
|
232
283
|
/** V1 error format. */
|
|
233
|
-
'$.xgafv'?:
|
|
284
|
+
'$.xgafv'?: '1' | '2';
|
|
234
285
|
/** OAuth access token. */
|
|
235
286
|
access_token?: string;
|
|
236
287
|
/** Data format for response. */
|
|
237
|
-
alt?:
|
|
288
|
+
alt?: 'json' | 'media' | 'proto';
|
|
238
289
|
/** JSONP */
|
|
239
290
|
callback?: string;
|
|
240
291
|
/** Selector specifying which fields to include in a partial response. */
|