@maxim_mazurok/gapi.client.androidmanagement-v1 0.0.20230628 → 0.0.20230705
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 +70 -1
- package/package.json +1 -1
- package/readme.md +5 -0
- package/tests.ts +5 -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: 20230705
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1810,6 +1810,32 @@ declare namespace gapi.client {
|
|
|
1810
1810
|
eventType?:
|
|
1811
1811
|
string;
|
|
1812
1812
|
}
|
|
1813
|
+
interface ProvisioningInfo {
|
|
1814
|
+
/** The API level of the Android platform version running on the device. */
|
|
1815
|
+
apiLevel?:
|
|
1816
|
+
number;
|
|
1817
|
+
/** The email address of the authenticated user (only present for Google Account provisioning method). */
|
|
1818
|
+
authenticatedUserEmail?:
|
|
1819
|
+
string;
|
|
1820
|
+
/** Brand of the device. For example, Google. */
|
|
1821
|
+
brand?:
|
|
1822
|
+
string;
|
|
1823
|
+
/** The name of the enterprise in the form enterprises/{enterprise}. */
|
|
1824
|
+
enterprise?:
|
|
1825
|
+
string;
|
|
1826
|
+
/** The management mode of the device or profile. */
|
|
1827
|
+
managementMode?:
|
|
1828
|
+
string;
|
|
1829
|
+
/** The model of the device. For example, Asus Nexus 7. */
|
|
1830
|
+
model?:
|
|
1831
|
+
string;
|
|
1832
|
+
/** The name of this resource in the form provisioningInfo/{provisioning_info}. */
|
|
1833
|
+
name?:
|
|
1834
|
+
string;
|
|
1835
|
+
/** Ownership of the managed device. */
|
|
1836
|
+
ownership?:
|
|
1837
|
+
string;
|
|
1838
|
+
}
|
|
1813
1839
|
interface ProxyInfo {
|
|
1814
1840
|
/** For a direct proxy, the hosts for which the proxy is bypassed. The host names may contain wildcards such as *.example.com. */
|
|
1815
1841
|
excludedHosts?:
|
|
@@ -3908,6 +3934,47 @@ declare namespace gapi.client {
|
|
|
3908
3934
|
webTokens:
|
|
3909
3935
|
WebTokensResource;
|
|
3910
3936
|
}
|
|
3937
|
+
interface ProvisioningInfoResource {
|
|
3938
|
+
/** Get the device provisioning info by the identifier provided via the sign-in url. */
|
|
3939
|
+
get(request?: {
|
|
3940
|
+
/** V1 error format. */
|
|
3941
|
+
"$.xgafv"?:
|
|
3942
|
+
string;
|
|
3943
|
+
/** OAuth access token. */
|
|
3944
|
+
access_token?:
|
|
3945
|
+
string;
|
|
3946
|
+
/** Data format for response. */
|
|
3947
|
+
alt?:
|
|
3948
|
+
string;
|
|
3949
|
+
/** JSONP */
|
|
3950
|
+
callback?:
|
|
3951
|
+
string;
|
|
3952
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3953
|
+
fields?:
|
|
3954
|
+
string;
|
|
3955
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3956
|
+
key?:
|
|
3957
|
+
string;
|
|
3958
|
+
/** Required. The identifier that Android Device Policy passes to the 3P sign-in page in the form of provisioningInfo/{provisioning_info}. */
|
|
3959
|
+
name:
|
|
3960
|
+
string;
|
|
3961
|
+
/** OAuth 2.0 token for the current user. */
|
|
3962
|
+
oauth_token?:
|
|
3963
|
+
string;
|
|
3964
|
+
/** Returns response with indentations and line breaks. */
|
|
3965
|
+
prettyPrint?:
|
|
3966
|
+
boolean;
|
|
3967
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3968
|
+
quotaUser?:
|
|
3969
|
+
string;
|
|
3970
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3971
|
+
upload_protocol?:
|
|
3972
|
+
string;
|
|
3973
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3974
|
+
uploadType?:
|
|
3975
|
+
string;
|
|
3976
|
+
}): Request<ProvisioningInfo>;
|
|
3977
|
+
}
|
|
3911
3978
|
interface SignupUrlsResource {
|
|
3912
3979
|
/** Creates an enterprise signup URL. */
|
|
3913
3980
|
create(request?: {
|
|
@@ -3959,6 +4026,8 @@ declare namespace gapi.client {
|
|
|
3959
4026
|
|
|
3960
4027
|
const enterprises: EnterprisesResource;
|
|
3961
4028
|
|
|
4029
|
+
const provisioningInfo: ProvisioningInfoResource;
|
|
4030
|
+
|
|
3962
4031
|
const signupUrls: SignupUrlsResource;
|
|
3963
4032
|
}
|
|
3964
4033
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -91,6 +91,11 @@ Updates an enterprise. See also: SigninDetail
|
|
|
91
91
|
*/
|
|
92
92
|
await gapi.client.androidmanagement.enterprises.patch({ name: "name", });
|
|
93
93
|
|
|
94
|
+
/*
|
|
95
|
+
Get the device provisioning info by the identifier provided via the sign-in url.
|
|
96
|
+
*/
|
|
97
|
+
await gapi.client.androidmanagement.provisioningInfo.get({ name: "name", });
|
|
98
|
+
|
|
94
99
|
/*
|
|
95
100
|
Creates an enterprise signup URL.
|
|
96
101
|
*/
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230705
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -958,6 +958,10 @@ gapi.load('client', async () => {
|
|
|
958
958
|
],
|
|
959
959
|
value: "Test string",
|
|
960
960
|
});
|
|
961
|
+
/** Get the device provisioning info by the identifier provided via the sign-in url. */
|
|
962
|
+
await gapi.client.androidmanagement.provisioningInfo.get({
|
|
963
|
+
name: "Test string",
|
|
964
|
+
});
|
|
961
965
|
/** Creates an enterprise signup URL. */
|
|
962
966
|
await gapi.client.androidmanagement.signupUrls.create({
|
|
963
967
|
callbackUrl: "Test string",
|