@googleapis/smartdevicemanagement 3.0.1 → 4.0.1
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/CHANGELOG.md +25 -0
- package/build/index.d.ts +1 -1
- package/build/index.js.map +1 -1
- package/build/v1.d.ts +15 -15
- package/build/v1.js.map +1 -1
- package/index.ts +0 -1
- package/package.json +2 -2
- package/v1.ts +49 -29
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/smartdevicemanagement-v4.0.0...smartdevicemanagement-v4.0.1) (2025-06-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **deps:** upgrade googleapis-common to 8.0.2-rc ([f4b0990](https://github.com/googleapis/google-api-nodejs-client/commit/f4b099071040cfbcfe4a2e7d487d45ee93b369e0))
|
|
9
|
+
|
|
10
|
+
## [4.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/smartdevicemanagement-v3.0.2...smartdevicemanagement-v4.0.0) (2025-05-29)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ⚠ BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* upgrade to node 18
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* upgrade to node 18 ([682fbb8](https://github.com/googleapis/google-api-nodejs-client/commit/682fbb869189ae92b3e9a194d37d0548af0c1f92))
|
|
20
|
+
|
|
21
|
+
## [3.0.2](https://github.com/googleapis/google-api-nodejs-client/compare/smartdevicemanagement-v3.0.1...smartdevicemanagement-v3.0.2) (2024-05-02)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **smartdevicemanagement:** update the API ([6ec4bd9](https://github.com/googleapis/google-api-nodejs-client/commit/6ec4bd90d316f93cd12000ae76feb395c327100e))
|
|
27
|
+
|
|
3
28
|
## [3.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/smartdevicemanagement-v3.0.0...smartdevicemanagement-v3.0.1) (2024-05-02)
|
|
4
29
|
|
|
5
30
|
|
package/build/index.d.ts
CHANGED
|
@@ -9,4 +9,4 @@ export declare function smartdevicemanagement(options: smartdevicemanagement_v1.
|
|
|
9
9
|
declare const auth: AuthPlus;
|
|
10
10
|
export { auth };
|
|
11
11
|
export { smartdevicemanagement_v1 };
|
|
12
|
-
export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions,
|
|
12
|
+
export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAA8C;AAuBtC,yGAvBA,6BAAwB,OAuBA;AArBnB,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,6BAAwB,CAAC,qBAAqB;CACnD,CAAC;AAQF,SAAgB,qBAAqB,CAInC,gBAAyD;IAEzD,OAAO,IAAA,0BAAM,EAAI,uBAAuB,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAC9E,CAAC;AAPD,sDAOC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAA8C;AAuBtC,yGAvBA,6BAAwB,OAuBA;AArBnB,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,6BAAwB,CAAC,qBAAqB;CACnD,CAAC;AAQF,SAAgB,qBAAqB,CAInC,gBAAyD;IAEzD,OAAO,IAAA,0BAAM,EAAI,uBAAuB,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAC9E,CAAC;AAPD,sDAOC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,uDAQ2B;AAPzB,6GAAA,QAAQ,OAAA"}
|
package/build/v1.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient,
|
|
2
|
+
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
|
|
3
3
|
import { Readable } from 'stream';
|
|
4
4
|
export declare namespace smartdevicemanagement_v1 {
|
|
5
5
|
export interface Options extends GlobalOptions {
|
|
@@ -207,8 +207,8 @@ export declare namespace smartdevicemanagement_v1 {
|
|
|
207
207
|
* @param callback - Optional callback that handles the response.
|
|
208
208
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
209
209
|
*/
|
|
210
|
-
executeCommand(params: Params$Resource$Enterprises$Devices$Executecommand, options: StreamMethodOptions):
|
|
211
|
-
executeCommand(params?: Params$Resource$Enterprises$Devices$Executecommand, options?: MethodOptions):
|
|
210
|
+
executeCommand(params: Params$Resource$Enterprises$Devices$Executecommand, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
211
|
+
executeCommand(params?: Params$Resource$Enterprises$Devices$Executecommand, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>>;
|
|
212
212
|
executeCommand(params: Params$Resource$Enterprises$Devices$Executecommand, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
213
213
|
executeCommand(params: Params$Resource$Enterprises$Devices$Executecommand, options: MethodOptions | BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>): void;
|
|
214
214
|
executeCommand(params: Params$Resource$Enterprises$Devices$Executecommand, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>): void;
|
|
@@ -221,8 +221,8 @@ export declare namespace smartdevicemanagement_v1 {
|
|
|
221
221
|
* @param callback - Optional callback that handles the response.
|
|
222
222
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
223
223
|
*/
|
|
224
|
-
get(params: Params$Resource$Enterprises$Devices$Get, options: StreamMethodOptions):
|
|
225
|
-
get(params?: Params$Resource$Enterprises$Devices$Get, options?: MethodOptions):
|
|
224
|
+
get(params: Params$Resource$Enterprises$Devices$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
225
|
+
get(params?: Params$Resource$Enterprises$Devices$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1Device>>;
|
|
226
226
|
get(params: Params$Resource$Enterprises$Devices$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
227
227
|
get(params: Params$Resource$Enterprises$Devices$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1Device>, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1Device>): void;
|
|
228
228
|
get(params: Params$Resource$Enterprises$Devices$Get, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1Device>): void;
|
|
@@ -235,8 +235,8 @@ export declare namespace smartdevicemanagement_v1 {
|
|
|
235
235
|
* @param callback - Optional callback that handles the response.
|
|
236
236
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
237
237
|
*/
|
|
238
|
-
list(params: Params$Resource$Enterprises$Devices$List, options: StreamMethodOptions):
|
|
239
|
-
list(params?: Params$Resource$Enterprises$Devices$List, options?: MethodOptions):
|
|
238
|
+
list(params: Params$Resource$Enterprises$Devices$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
239
|
+
list(params?: Params$Resource$Enterprises$Devices$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1ListDevicesResponse>>;
|
|
240
240
|
list(params: Params$Resource$Enterprises$Devices$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
241
241
|
list(params: Params$Resource$Enterprises$Devices$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1ListDevicesResponse>, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1ListDevicesResponse>): void;
|
|
242
242
|
list(params: Params$Resource$Enterprises$Devices$List, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1ListDevicesResponse>): void;
|
|
@@ -280,8 +280,8 @@ export declare namespace smartdevicemanagement_v1 {
|
|
|
280
280
|
* @param callback - Optional callback that handles the response.
|
|
281
281
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
282
282
|
*/
|
|
283
|
-
get(params: Params$Resource$Enterprises$Structures$Get, options: StreamMethodOptions):
|
|
284
|
-
get(params?: Params$Resource$Enterprises$Structures$Get, options?: MethodOptions):
|
|
283
|
+
get(params: Params$Resource$Enterprises$Structures$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
284
|
+
get(params?: Params$Resource$Enterprises$Structures$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1Structure>>;
|
|
285
285
|
get(params: Params$Resource$Enterprises$Structures$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
286
286
|
get(params: Params$Resource$Enterprises$Structures$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1Structure>, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1Structure>): void;
|
|
287
287
|
get(params: Params$Resource$Enterprises$Structures$Get, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1Structure>): void;
|
|
@@ -294,8 +294,8 @@ export declare namespace smartdevicemanagement_v1 {
|
|
|
294
294
|
* @param callback - Optional callback that handles the response.
|
|
295
295
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
296
296
|
*/
|
|
297
|
-
list(params: Params$Resource$Enterprises$Structures$List, options: StreamMethodOptions):
|
|
298
|
-
list(params?: Params$Resource$Enterprises$Structures$List, options?: MethodOptions):
|
|
297
|
+
list(params: Params$Resource$Enterprises$Structures$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
298
|
+
list(params?: Params$Resource$Enterprises$Structures$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1ListStructuresResponse>>;
|
|
299
299
|
list(params: Params$Resource$Enterprises$Structures$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
300
300
|
list(params: Params$Resource$Enterprises$Structures$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1ListStructuresResponse>, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1ListStructuresResponse>): void;
|
|
301
301
|
list(params: Params$Resource$Enterprises$Structures$List, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1ListStructuresResponse>): void;
|
|
@@ -328,8 +328,8 @@ export declare namespace smartdevicemanagement_v1 {
|
|
|
328
328
|
* @param callback - Optional callback that handles the response.
|
|
329
329
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
330
330
|
*/
|
|
331
|
-
get(params: Params$Resource$Enterprises$Structures$Rooms$Get, options: StreamMethodOptions):
|
|
332
|
-
get(params?: Params$Resource$Enterprises$Structures$Rooms$Get, options?: MethodOptions):
|
|
331
|
+
get(params: Params$Resource$Enterprises$Structures$Rooms$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
332
|
+
get(params?: Params$Resource$Enterprises$Structures$Rooms$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1Room>>;
|
|
333
333
|
get(params: Params$Resource$Enterprises$Structures$Rooms$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
334
334
|
get(params: Params$Resource$Enterprises$Structures$Rooms$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1Room>, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1Room>): void;
|
|
335
335
|
get(params: Params$Resource$Enterprises$Structures$Rooms$Get, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1Room>): void;
|
|
@@ -342,8 +342,8 @@ export declare namespace smartdevicemanagement_v1 {
|
|
|
342
342
|
* @param callback - Optional callback that handles the response.
|
|
343
343
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
344
344
|
*/
|
|
345
|
-
list(params: Params$Resource$Enterprises$Structures$Rooms$List, options: StreamMethodOptions):
|
|
346
|
-
list(params?: Params$Resource$Enterprises$Structures$Rooms$List, options?: MethodOptions):
|
|
345
|
+
list(params: Params$Resource$Enterprises$Structures$Rooms$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
346
|
+
list(params?: Params$Resource$Enterprises$Structures$Rooms$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1ListRoomsResponse>>;
|
|
347
347
|
list(params: Params$Resource$Enterprises$Structures$Rooms$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
348
348
|
list(params: Params$Resource$Enterprises$Structures$Rooms$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1ListRoomsResponse>, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1ListRoomsResponse>): void;
|
|
349
349
|
list(params: Params$Resource$Enterprises$Structures$Rooms$List, callback: BodyResponseCallback<Schema$GoogleHomeEnterpriseSdmV1ListRoomsResponse>): void;
|
package/build/v1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EA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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@googleapis/smartdevicemanagement",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "smartdevicemanagement",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"webpack": "webpack"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"googleapis-common": "^
|
|
31
|
+
"googleapis-common": "^8.0.2-rc.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-documenter": "^7.8.10",
|
package/v1.ts
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Compute,
|
|
24
24
|
UserRefreshClient,
|
|
25
25
|
BaseExternalAccountClient,
|
|
26
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -262,11 +262,13 @@ export namespace smartdevicemanagement_v1 {
|
|
|
262
262
|
executeCommand(
|
|
263
263
|
params: Params$Resource$Enterprises$Devices$Executecommand,
|
|
264
264
|
options: StreamMethodOptions
|
|
265
|
-
):
|
|
265
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
266
266
|
executeCommand(
|
|
267
267
|
params?: Params$Resource$Enterprises$Devices$Executecommand,
|
|
268
268
|
options?: MethodOptions
|
|
269
|
-
):
|
|
269
|
+
): Promise<
|
|
270
|
+
GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>
|
|
271
|
+
>;
|
|
270
272
|
executeCommand(
|
|
271
273
|
params: Params$Resource$Enterprises$Devices$Executecommand,
|
|
272
274
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -301,8 +303,10 @@ export namespace smartdevicemanagement_v1 {
|
|
|
301
303
|
| BodyResponseCallback<Readable>
|
|
302
304
|
):
|
|
303
305
|
| void
|
|
304
|
-
|
|
|
305
|
-
|
|
306
|
+
| Promise<
|
|
307
|
+
GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>
|
|
308
|
+
>
|
|
309
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
306
310
|
let params = (paramsOrCallback ||
|
|
307
311
|
{}) as Params$Resource$Enterprises$Devices$Executecommand;
|
|
308
312
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -360,11 +364,11 @@ export namespace smartdevicemanagement_v1 {
|
|
|
360
364
|
get(
|
|
361
365
|
params: Params$Resource$Enterprises$Devices$Get,
|
|
362
366
|
options: StreamMethodOptions
|
|
363
|
-
):
|
|
367
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
364
368
|
get(
|
|
365
369
|
params?: Params$Resource$Enterprises$Devices$Get,
|
|
366
370
|
options?: MethodOptions
|
|
367
|
-
):
|
|
371
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1Device>>;
|
|
368
372
|
get(
|
|
369
373
|
params: Params$Resource$Enterprises$Devices$Get,
|
|
370
374
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -399,8 +403,8 @@ export namespace smartdevicemanagement_v1 {
|
|
|
399
403
|
| BodyResponseCallback<Readable>
|
|
400
404
|
):
|
|
401
405
|
| void
|
|
402
|
-
|
|
|
403
|
-
|
|
|
406
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1Device>>
|
|
407
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
404
408
|
let params = (paramsOrCallback ||
|
|
405
409
|
{}) as Params$Resource$Enterprises$Devices$Get;
|
|
406
410
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -455,11 +459,13 @@ export namespace smartdevicemanagement_v1 {
|
|
|
455
459
|
list(
|
|
456
460
|
params: Params$Resource$Enterprises$Devices$List,
|
|
457
461
|
options: StreamMethodOptions
|
|
458
|
-
):
|
|
462
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
459
463
|
list(
|
|
460
464
|
params?: Params$Resource$Enterprises$Devices$List,
|
|
461
465
|
options?: MethodOptions
|
|
462
|
-
):
|
|
466
|
+
): Promise<
|
|
467
|
+
GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1ListDevicesResponse>
|
|
468
|
+
>;
|
|
463
469
|
list(
|
|
464
470
|
params: Params$Resource$Enterprises$Devices$List,
|
|
465
471
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -494,8 +500,10 @@ export namespace smartdevicemanagement_v1 {
|
|
|
494
500
|
| BodyResponseCallback<Readable>
|
|
495
501
|
):
|
|
496
502
|
| void
|
|
497
|
-
|
|
|
498
|
-
|
|
503
|
+
| Promise<
|
|
504
|
+
GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1ListDevicesResponse>
|
|
505
|
+
>
|
|
506
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
499
507
|
let params = (paramsOrCallback ||
|
|
500
508
|
{}) as Params$Resource$Enterprises$Devices$List;
|
|
501
509
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -593,11 +601,13 @@ export namespace smartdevicemanagement_v1 {
|
|
|
593
601
|
get(
|
|
594
602
|
params: Params$Resource$Enterprises$Structures$Get,
|
|
595
603
|
options: StreamMethodOptions
|
|
596
|
-
):
|
|
604
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
597
605
|
get(
|
|
598
606
|
params?: Params$Resource$Enterprises$Structures$Get,
|
|
599
607
|
options?: MethodOptions
|
|
600
|
-
):
|
|
608
|
+
): Promise<
|
|
609
|
+
GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1Structure>
|
|
610
|
+
>;
|
|
601
611
|
get(
|
|
602
612
|
params: Params$Resource$Enterprises$Structures$Get,
|
|
603
613
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -632,8 +642,10 @@ export namespace smartdevicemanagement_v1 {
|
|
|
632
642
|
| BodyResponseCallback<Readable>
|
|
633
643
|
):
|
|
634
644
|
| void
|
|
635
|
-
|
|
|
636
|
-
|
|
645
|
+
| Promise<
|
|
646
|
+
GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1Structure>
|
|
647
|
+
>
|
|
648
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
637
649
|
let params = (paramsOrCallback ||
|
|
638
650
|
{}) as Params$Resource$Enterprises$Structures$Get;
|
|
639
651
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -688,11 +700,13 @@ export namespace smartdevicemanagement_v1 {
|
|
|
688
700
|
list(
|
|
689
701
|
params: Params$Resource$Enterprises$Structures$List,
|
|
690
702
|
options: StreamMethodOptions
|
|
691
|
-
):
|
|
703
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
692
704
|
list(
|
|
693
705
|
params?: Params$Resource$Enterprises$Structures$List,
|
|
694
706
|
options?: MethodOptions
|
|
695
|
-
):
|
|
707
|
+
): Promise<
|
|
708
|
+
GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1ListStructuresResponse>
|
|
709
|
+
>;
|
|
696
710
|
list(
|
|
697
711
|
params: Params$Resource$Enterprises$Structures$List,
|
|
698
712
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -727,8 +741,10 @@ export namespace smartdevicemanagement_v1 {
|
|
|
727
741
|
| BodyResponseCallback<Readable>
|
|
728
742
|
):
|
|
729
743
|
| void
|
|
730
|
-
|
|
|
731
|
-
|
|
744
|
+
| Promise<
|
|
745
|
+
GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1ListStructuresResponse>
|
|
746
|
+
>
|
|
747
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
732
748
|
let params = (paramsOrCallback ||
|
|
733
749
|
{}) as Params$Resource$Enterprises$Structures$List;
|
|
734
750
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -812,11 +828,11 @@ export namespace smartdevicemanagement_v1 {
|
|
|
812
828
|
get(
|
|
813
829
|
params: Params$Resource$Enterprises$Structures$Rooms$Get,
|
|
814
830
|
options: StreamMethodOptions
|
|
815
|
-
):
|
|
831
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
816
832
|
get(
|
|
817
833
|
params?: Params$Resource$Enterprises$Structures$Rooms$Get,
|
|
818
834
|
options?: MethodOptions
|
|
819
|
-
):
|
|
835
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1Room>>;
|
|
820
836
|
get(
|
|
821
837
|
params: Params$Resource$Enterprises$Structures$Rooms$Get,
|
|
822
838
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -851,8 +867,8 @@ export namespace smartdevicemanagement_v1 {
|
|
|
851
867
|
| BodyResponseCallback<Readable>
|
|
852
868
|
):
|
|
853
869
|
| void
|
|
854
|
-
|
|
|
855
|
-
|
|
|
870
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1Room>>
|
|
871
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
856
872
|
let params = (paramsOrCallback ||
|
|
857
873
|
{}) as Params$Resource$Enterprises$Structures$Rooms$Get;
|
|
858
874
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -907,11 +923,13 @@ export namespace smartdevicemanagement_v1 {
|
|
|
907
923
|
list(
|
|
908
924
|
params: Params$Resource$Enterprises$Structures$Rooms$List,
|
|
909
925
|
options: StreamMethodOptions
|
|
910
|
-
):
|
|
926
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
911
927
|
list(
|
|
912
928
|
params?: Params$Resource$Enterprises$Structures$Rooms$List,
|
|
913
929
|
options?: MethodOptions
|
|
914
|
-
):
|
|
930
|
+
): Promise<
|
|
931
|
+
GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1ListRoomsResponse>
|
|
932
|
+
>;
|
|
915
933
|
list(
|
|
916
934
|
params: Params$Resource$Enterprises$Structures$Rooms$List,
|
|
917
935
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -946,8 +964,10 @@ export namespace smartdevicemanagement_v1 {
|
|
|
946
964
|
| BodyResponseCallback<Readable>
|
|
947
965
|
):
|
|
948
966
|
| void
|
|
949
|
-
|
|
|
950
|
-
|
|
967
|
+
| Promise<
|
|
968
|
+
GaxiosResponseWithHTTP2<Schema$GoogleHomeEnterpriseSdmV1ListRoomsResponse>
|
|
969
|
+
>
|
|
970
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
951
971
|
let params = (paramsOrCallback ||
|
|
952
972
|
{}) as Params$Resource$Enterprises$Structures$Rooms$List;
|
|
953
973
|
let options = (optionsOrCallback || {}) as MethodOptions;
|