@maxim_mazurok/gapi.client.smartdevicemanagement-v1 0.0.20230708 → 0.0.20230726
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 +1 -28
- package/package.json +1 -1
- package/tests.ts +1 -7
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://smartdevicemanagement.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230726
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -56,22 +56,13 @@ declare namespace gapi.client {
|
|
|
56
56
|
/** The list of devices. */
|
|
57
57
|
devices?:
|
|
58
58
|
GoogleHomeEnterpriseSdmV1Device[];
|
|
59
|
-
/** The pagination token to retrieve the next page of results. */
|
|
60
|
-
nextPageToken?:
|
|
61
|
-
string;
|
|
62
59
|
}
|
|
63
60
|
interface GoogleHomeEnterpriseSdmV1ListRoomsResponse {
|
|
64
|
-
/** The pagination token to retrieve the next page of results. If this field is omitted, there are no subsequent pages. */
|
|
65
|
-
nextPageToken?:
|
|
66
|
-
string;
|
|
67
61
|
/** The list of rooms. */
|
|
68
62
|
rooms?:
|
|
69
63
|
GoogleHomeEnterpriseSdmV1Room[];
|
|
70
64
|
}
|
|
71
65
|
interface GoogleHomeEnterpriseSdmV1ListStructuresResponse {
|
|
72
|
-
/** The pagination token to retrieve the next page of results. If this field is omitted, there are no subsequent pages. */
|
|
73
|
-
nextPageToken?:
|
|
74
|
-
string;
|
|
75
66
|
/** The list of structures. */
|
|
76
67
|
structures?:
|
|
77
68
|
GoogleHomeEnterpriseSdmV1Structure[];
|
|
@@ -250,12 +241,6 @@ declare namespace gapi.client {
|
|
|
250
241
|
/** OAuth 2.0 token for the current user. */
|
|
251
242
|
oauth_token?:
|
|
252
243
|
string;
|
|
253
|
-
/** Optional requested page size. Server may return fewer devices than requested. If unspecified, server will pick an appropriate default. */
|
|
254
|
-
pageSize?:
|
|
255
|
-
number;
|
|
256
|
-
/** Optional token of the page to retrieve. */
|
|
257
|
-
pageToken?:
|
|
258
|
-
string;
|
|
259
244
|
/** The parent enterprise to list devices under. E.g. "enterprises/XYZ". */
|
|
260
245
|
parent:
|
|
261
246
|
string;
|
|
@@ -336,12 +321,6 @@ declare namespace gapi.client {
|
|
|
336
321
|
/** OAuth 2.0 token for the current user. */
|
|
337
322
|
oauth_token?:
|
|
338
323
|
string;
|
|
339
|
-
/** Requested page size. Server may return fewer rooms than requested. If unspecified, server will pick an appropriate default. */
|
|
340
|
-
pageSize?:
|
|
341
|
-
number;
|
|
342
|
-
/** The token of the page to retrieve. */
|
|
343
|
-
pageToken?:
|
|
344
|
-
string;
|
|
345
324
|
/** The parent resource name of the rooms requested. For example: "enterprises/XYZ/structures/ABC". */
|
|
346
325
|
parent:
|
|
347
326
|
string;
|
|
@@ -425,12 +404,6 @@ declare namespace gapi.client {
|
|
|
425
404
|
/** OAuth 2.0 token for the current user. */
|
|
426
405
|
oauth_token?:
|
|
427
406
|
string;
|
|
428
|
-
/** Requested page size. Server may return fewer structures than requested. If unspecified, server will pick an appropriate default. */
|
|
429
|
-
pageSize?:
|
|
430
|
-
number;
|
|
431
|
-
/** The token of the page to retrieve. */
|
|
432
|
-
pageToken?:
|
|
433
|
-
string;
|
|
434
407
|
/** The parent enterprise to list structures under. E.g. "enterprises/XYZ". */
|
|
435
408
|
parent:
|
|
436
409
|
string;
|
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: 20230726
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -47,8 +47,6 @@ gapi.load('client', async () => {
|
|
|
47
47
|
/** Lists devices managed by the enterprise. */
|
|
48
48
|
await gapi.client.smartdevicemanagement.enterprises.devices.list({
|
|
49
49
|
filter: "Test string",
|
|
50
|
-
pageSize: 42,
|
|
51
|
-
pageToken: "Test string",
|
|
52
50
|
parent: "Test string",
|
|
53
51
|
});
|
|
54
52
|
/** Gets a structure managed by the enterprise. */
|
|
@@ -58,8 +56,6 @@ gapi.load('client', async () => {
|
|
|
58
56
|
/** Lists structures managed by the enterprise. */
|
|
59
57
|
await gapi.client.smartdevicemanagement.enterprises.structures.list({
|
|
60
58
|
filter: "Test string",
|
|
61
|
-
pageSize: 42,
|
|
62
|
-
pageToken: "Test string",
|
|
63
59
|
parent: "Test string",
|
|
64
60
|
});
|
|
65
61
|
/** Gets a room managed by the enterprise. */
|
|
@@ -68,8 +64,6 @@ gapi.load('client', async () => {
|
|
|
68
64
|
});
|
|
69
65
|
/** Lists rooms managed by the enterprise. */
|
|
70
66
|
await gapi.client.smartdevicemanagement.enterprises.structures.rooms.list({
|
|
71
|
-
pageSize: 42,
|
|
72
|
-
pageToken: "Test string",
|
|
73
67
|
parent: "Test string",
|
|
74
68
|
});
|
|
75
69
|
}
|