@maxim_mazurok/gapi.client.admin-directory_v1 0.0.20221205 → 0.0.20230103
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 +25 -3
- package/package.json +1 -1
- 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://admin.googleapis.com/$discovery/rest?version=directory_v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230103
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -295,6 +295,8 @@ declare namespace gapi.client {
|
|
|
295
295
|
/** Date and time the report was received. */
|
|
296
296
|
reportTime?: string;
|
|
297
297
|
}>;
|
|
298
|
+
/** (Read-only) Deprovision reason. */
|
|
299
|
+
deprovisionReason?: string;
|
|
298
300
|
/** A list of device files to download (Read-only) */
|
|
299
301
|
deviceFiles?: Array<{
|
|
300
302
|
/** Date and time the file was created */
|
|
@@ -341,6 +343,8 @@ declare namespace gapi.client {
|
|
|
341
343
|
firstEnrollmentTime?: string;
|
|
342
344
|
/** The type of resource. For the Chromeosdevices resource, the value is `admin#directory#chromeosdevice`. */
|
|
343
345
|
kind?: string;
|
|
346
|
+
/** (Read-only) Date and time for the last deprovision of the device. */
|
|
347
|
+
lastDeprovisionTimestamp?: string;
|
|
344
348
|
/** Date and time the device was last enrolled (Read-only) */
|
|
345
349
|
lastEnrollmentTime?: string;
|
|
346
350
|
/** Contains last known network (Read-only) */
|
|
@@ -537,6 +541,11 @@ declare namespace gapi.client {
|
|
|
537
541
|
type?: string;
|
|
538
542
|
}
|
|
539
543
|
interface DirectoryChromeosdevicesCommandResult {
|
|
544
|
+
/**
|
|
545
|
+
* The payload for the command result. The following commands respond with a payload: - DEVICE_START_CRD_SESSION: Payload is a stringified JSON object in the form: { "url": url }. The
|
|
546
|
+
* URL provides a link to the CRD session.
|
|
547
|
+
*/
|
|
548
|
+
commandResultPayload?: string;
|
|
540
549
|
/** The error message with a short explanation as to why the command failed. Only present if the command failed. */
|
|
541
550
|
errorMessage?: string;
|
|
542
551
|
/** The time at which the command was executed or failed to execute. */
|
|
@@ -549,7 +558,9 @@ declare namespace gapi.client {
|
|
|
549
558
|
commandType?: string;
|
|
550
559
|
/**
|
|
551
560
|
* The payload for the command, provide it only if command supports it. The following commands support adding payload: - SET_VOLUME: Payload is a stringified JSON object in the form: {
|
|
552
|
-
* "volume": 50 }. The volume has to be an integer in the range [0,100].
|
|
561
|
+
* "volume": 50 }. The volume has to be an integer in the range [0,100]. - DEVICE_START_CRD_SESSION: Payload is optionally a stringified JSON object in the form: { "ackedUserPresence":
|
|
562
|
+
* true }. ackedUserPresence is a boolean. If a device is being used, ackedUserPresence must be set to true to acknowledge that you want to start a CRD session anyways. It is false by
|
|
563
|
+
* default, so a CRD command will fail if used on an active device without this field.
|
|
553
564
|
*/
|
|
554
565
|
payload?: string;
|
|
555
566
|
}
|
|
@@ -2750,6 +2761,8 @@ declare namespace gapi.client {
|
|
|
2750
2761
|
/** Date and time the report was received. */
|
|
2751
2762
|
reportTime?: string;
|
|
2752
2763
|
}>;
|
|
2764
|
+
/** (Read-only) Deprovision reason. */
|
|
2765
|
+
deprovisionReason?: string;
|
|
2753
2766
|
/** A list of device files to download (Read-only) */
|
|
2754
2767
|
deviceFiles?: Array<{
|
|
2755
2768
|
/** Date and time the file was created */
|
|
@@ -2796,6 +2809,8 @@ declare namespace gapi.client {
|
|
|
2796
2809
|
firstEnrollmentTime?: string;
|
|
2797
2810
|
/** The type of resource. For the Chromeosdevices resource, the value is `admin#directory#chromeosdevice`. */
|
|
2798
2811
|
kind?: string;
|
|
2812
|
+
/** (Read-only) Date and time for the last deprovision of the device. */
|
|
2813
|
+
lastDeprovisionTimestamp?: string;
|
|
2799
2814
|
/** Date and time the device was last enrolled (Read-only) */
|
|
2800
2815
|
lastEnrollmentTime?: string;
|
|
2801
2816
|
/** Contains last known network (Read-only) */
|
|
@@ -2992,6 +3007,11 @@ declare namespace gapi.client {
|
|
|
2992
3007
|
type?: string;
|
|
2993
3008
|
}
|
|
2994
3009
|
interface DirectoryChromeosdevicesCommandResult {
|
|
3010
|
+
/**
|
|
3011
|
+
* The payload for the command result. The following commands respond with a payload: - DEVICE_START_CRD_SESSION: Payload is a stringified JSON object in the form: { "url": url }. The
|
|
3012
|
+
* URL provides a link to the CRD session.
|
|
3013
|
+
*/
|
|
3014
|
+
commandResultPayload?: string;
|
|
2995
3015
|
/** The error message with a short explanation as to why the command failed. Only present if the command failed. */
|
|
2996
3016
|
errorMessage?: string;
|
|
2997
3017
|
/** The time at which the command was executed or failed to execute. */
|
|
@@ -3004,7 +3024,9 @@ declare namespace gapi.client {
|
|
|
3004
3024
|
commandType?: string;
|
|
3005
3025
|
/**
|
|
3006
3026
|
* The payload for the command, provide it only if command supports it. The following commands support adding payload: - SET_VOLUME: Payload is a stringified JSON object in the form: {
|
|
3007
|
-
* "volume": 50 }. The volume has to be an integer in the range [0,100].
|
|
3027
|
+
* "volume": 50 }. The volume has to be an integer in the range [0,100]. - DEVICE_START_CRD_SESSION: Payload is optionally a stringified JSON object in the form: { "ackedUserPresence":
|
|
3028
|
+
* true }. ackedUserPresence is a boolean. If a device is being used, ackedUserPresence must be set to true to acknowledge that you want to start a CRD session anyways. It is false by
|
|
3029
|
+
* default, so a CRD command will fail if used on an active device without this field.
|
|
3008
3030
|
*/
|
|
3009
3031
|
payload?: string;
|
|
3010
3032
|
}
|
package/package.json
CHANGED
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: 20230103
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -396,6 +396,7 @@ gapi.load('client', async () => {
|
|
|
396
396
|
reportTime: "Test string",
|
|
397
397
|
}
|
|
398
398
|
],
|
|
399
|
+
deprovisionReason: "Test string",
|
|
399
400
|
deviceFiles: [
|
|
400
401
|
{
|
|
401
402
|
createTime: "Test string",
|
|
@@ -423,6 +424,7 @@ gapi.load('client', async () => {
|
|
|
423
424
|
firmwareVersion: "Test string",
|
|
424
425
|
firstEnrollmentTime: "Test string",
|
|
425
426
|
kind: "Test string",
|
|
427
|
+
lastDeprovisionTimestamp: "Test string",
|
|
426
428
|
lastEnrollmentTime: "Test string",
|
|
427
429
|
lastKnownNetwork: [
|
|
428
430
|
{
|
|
@@ -536,6 +538,7 @@ gapi.load('client', async () => {
|
|
|
536
538
|
reportTime: "Test string",
|
|
537
539
|
}
|
|
538
540
|
],
|
|
541
|
+
deprovisionReason: "Test string",
|
|
539
542
|
deviceFiles: [
|
|
540
543
|
{
|
|
541
544
|
createTime: "Test string",
|
|
@@ -563,6 +566,7 @@ gapi.load('client', async () => {
|
|
|
563
566
|
firmwareVersion: "Test string",
|
|
564
567
|
firstEnrollmentTime: "Test string",
|
|
565
568
|
kind: "Test string",
|
|
569
|
+
lastDeprovisionTimestamp: "Test string",
|
|
566
570
|
lastEnrollmentTime: "Test string",
|
|
567
571
|
lastKnownNetwork: [
|
|
568
572
|
{
|