From 33544fca5d8da32c49b7c9a803e6f818cd71abcb Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Thu, 2 May 2024 01:32:45 +0000 Subject: [PATCH] feat(verifiedaccess): update the API #### verifiedaccess:v2 The following keys were added: - schemas.DeviceSignals.properties.profileEnrollmentDomain.description - schemas.DeviceSignals.properties.profileEnrollmentDomain.type --- discovery/verifiedaccess-v2.json | 6 +++++- src/apis/verifiedaccess/v1.ts | 2 ++ src/apis/verifiedaccess/v2.ts | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/discovery/verifiedaccess-v2.json b/discovery/verifiedaccess-v2.json index 0ba90a0ffe..b217c2a92b 100644 --- a/discovery/verifiedaccess-v2.json +++ b/discovery/verifiedaccess-v2.json @@ -146,7 +146,7 @@ } } }, - "revision": "20230807", + "revision": "20240423", "rootUrl": "https://verifiedaccess.googleapis.com/", "schemas": { "Challenge": { @@ -329,6 +329,10 @@ }, "type": "array" }, + "profileEnrollmentDomain": { + "description": "Enrollment domain of the customer which is currently managing the profile.", + "type": "string" + }, "realtimeUrlCheckMode": { "description": "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", "enum": [ diff --git a/src/apis/verifiedaccess/v1.ts b/src/apis/verifiedaccess/v1.ts index f1bf0ade83..bcb4e0d173 100644 --- a/src/apis/verifiedaccess/v1.ts +++ b/src/apis/verifiedaccess/v1.ts @@ -265,6 +265,7 @@ export namespace verifiedaccess_v1 { { url: (rootUrl + '/v1/challenge').replace(/([^:]\/)\/+/g, '$1'), method: 'POST', + apiVersion: '', }, options ), @@ -359,6 +360,7 @@ export namespace verifiedaccess_v1 { '$1' ), method: 'POST', + apiVersion: '', }, options ), diff --git a/src/apis/verifiedaccess/v2.ts b/src/apis/verifiedaccess/v2.ts index f14779262d..be28dc6993 100644 --- a/src/apis/verifiedaccess/v2.ts +++ b/src/apis/verifiedaccess/v2.ts @@ -230,6 +230,10 @@ export namespace verifiedaccess_v2 { * Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the Chrome Profile’s user or ChromeOS user. */ profileAffiliationIds?: string[] | null; + /** + * Enrollment domain of the customer which is currently managing the profile. + */ + profileEnrollmentDomain?: string | null; /** * 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 */ @@ -422,6 +426,7 @@ export namespace verifiedaccess_v2 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -516,6 +521,7 @@ export namespace verifiedaccess_v2 { '$1' ), method: 'POST', + apiVersion: '', }, options ),