@maxim_mazurok/gapi.client.homegraph-v1 0.0.20230421 → 0.0.20230428

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.
Files changed (3) hide show
  1. package/index.d.ts +305 -153
  2. package/package.json +1 -1
  3. package/tests.ts +1 -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://homegraph.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230421
12
+ // Revision: 20230428
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,149 +24,196 @@ declare namespace gapi.client {
24
24
  namespace homegraph {
25
25
  interface AgentDeviceId {
26
26
  /** Third-party device ID. */
27
- id?: string;
27
+ id?:
28
+ string;
28
29
  }
29
30
  interface AgentOtherDeviceId {
30
31
  /** Project ID for your smart home Action. */
31
- agentId?: string;
32
+ agentId?:
33
+ string;
32
34
  /** Unique third-party device ID. */
33
- deviceId?: string;
35
+ deviceId?:
36
+ string;
34
37
  }
35
38
  interface Device {
36
39
  /** Attributes for the traits supported by the device. */
37
- attributes?: { [P in string]: any };
40
+ attributes?:
41
+ { [P in string]: any };
38
42
  /**
39
43
  * Custom device attributes stored in Home Graph and provided to your smart home Action in each [QUERY](https://developers.home.google.com/cloud-to-cloud/intents/query) and
40
44
  * [EXECUTE](https://developers.home.google.com/cloud-to-cloud/intents/execute) intent. Data in this object has a few constraints: No sensitive information, including but not limited
41
45
  * to Personally Identifiable Information.
42
46
  */
43
- customData?: { [P in string]: any };
47
+ customData?:
48
+ { [P in string]: any };
44
49
  /** Device manufacturer, model, hardware version, and software version. */
45
- deviceInfo?: DeviceInfo;
50
+ deviceInfo?:
51
+ DeviceInfo;
46
52
  /** Third-party device ID. */
47
- id?: string;
53
+ id?:
54
+ string;
48
55
  /** Names given to this device by your smart home Action. */
49
- name?: DeviceNames;
56
+ name?:
57
+ DeviceNames;
50
58
  /**
51
59
  * Indicates whether your smart home Action will report notifications to Google for this device via ReportStateAndNotification. If your smart home Action enables users to control
52
60
  * device notifications, you should update this field and call RequestSyncDevices.
53
61
  */
54
- notificationSupportedByAgent?: boolean;
62
+ notificationSupportedByAgent?:
63
+ boolean;
55
64
  /** Alternate IDs associated with this device. This is used to identify cloud synced devices enabled for [local fulfillment](https://developers.home.google.com/local-home/overview). */
56
- otherDeviceIds?: AgentOtherDeviceId[];
65
+ otherDeviceIds?:
66
+ AgentOtherDeviceId[];
57
67
  /** Suggested name for the room where this device is installed. Google attempts to use this value during user setup. */
58
- roomHint?: string;
68
+ roomHint?:
69
+ string;
59
70
  /** Suggested name for the structure where this device is installed. Google attempts to use this value during user setup. */
60
- structureHint?: string;
71
+ structureHint?:
72
+ string;
61
73
  /** Traits supported by the device. See [device traits](https://developers.home.google.com/cloud-to-cloud/traits). */
62
- traits?: string[];
74
+ traits?:
75
+ string[];
63
76
  /** Hardware type of the device. See [device types](https://developers.home.google.com/cloud-to-cloud/guides). */
64
- type?: string;
77
+ type?:
78
+ string;
65
79
  /** Indicates whether your smart home Action will report state of this device to Google via ReportStateAndNotification. */
66
- willReportState?: boolean;
80
+ willReportState?:
81
+ boolean;
67
82
  }
68
83
  interface DeviceInfo {
69
84
  /** Device hardware version. */
70
- hwVersion?: string;
85
+ hwVersion?:
86
+ string;
71
87
  /** Device manufacturer. */
72
- manufacturer?: string;
88
+ manufacturer?:
89
+ string;
73
90
  /** Device model. */
74
- model?: string;
91
+ model?:
92
+ string;
75
93
  /** Device software version. */
76
- swVersion?: string;
94
+ swVersion?:
95
+ string;
77
96
  }
78
97
  interface DeviceNames {
79
98
  /** List of names provided by the manufacturer rather than the user, such as serial numbers, SKUs, etc. */
80
- defaultNames?: string[];
99
+ defaultNames?:
100
+ string[];
81
101
  /** Primary name of the device, generally provided by the user. */
82
- name?: string;
102
+ name?:
103
+ string;
83
104
  /** Additional names provided by the user for the device. */
84
- nicknames?: string[];
105
+ nicknames?:
106
+ string[];
85
107
  }
86
108
  // tslint:disable-next-line:no-empty-interface
87
109
  interface Empty {
88
110
  }
89
111
  interface QueryRequest {
90
112
  /** Required. Third-party user ID. */
91
- agentUserId?: string;
113
+ agentUserId?:
114
+ string;
92
115
  /** Required. Inputs containing third-party device IDs for which to get the device states. */
93
- inputs?: QueryRequestInput[];
116
+ inputs?:
117
+ QueryRequestInput[];
94
118
  /** Request ID used for debugging. */
95
- requestId?: string;
119
+ requestId?:
120
+ string;
96
121
  }
97
122
  interface QueryRequestInput {
98
123
  /** Payload containing third-party device IDs. */
99
- payload?: QueryRequestPayload;
124
+ payload?:
125
+ QueryRequestPayload;
100
126
  }
101
127
  interface QueryRequestPayload {
102
128
  /** Third-party device IDs for which to get the device states. */
103
- devices?: AgentDeviceId[];
129
+ devices?:
130
+ AgentDeviceId[];
104
131
  }
105
132
  interface QueryResponse {
106
133
  /** Device states for the devices given in the request. */
107
- payload?: QueryResponsePayload;
134
+ payload?:
135
+ QueryResponsePayload;
108
136
  /** Request ID used for debugging. Copied from the request. */
109
- requestId?: string;
137
+ requestId?:
138
+ string;
110
139
  }
111
140
  interface QueryResponsePayload {
112
141
  /** States of the devices. Map of third-party device ID to struct of device states. */
113
- devices?: { [P in string]: { [P in string]: any } };
142
+ devices?:
143
+ { [P in string]: { [P in string]: any } };
114
144
  }
115
145
  interface ReportStateAndNotificationDevice {
116
146
  /** Notifications metadata for devices. See the **Device NOTIFICATIONS** section of the individual trait [reference guides](https://developers.home.google.com/cloud-to-cloud/traits). */
117
- notifications?: { [P in string]: any };
147
+ notifications?:
148
+ { [P in string]: any };
118
149
  /** States of devices to update. See the **Device STATES** section of the individual trait [reference guides](https://developers.home.google.com/cloud-to-cloud/traits). */
119
- states?: { [P in string]: any };
150
+ states?:
151
+ { [P in string]: any };
120
152
  }
121
153
  interface ReportStateAndNotificationRequest {
122
154
  /** Required. Third-party user ID. */
123
- agentUserId?: string;
155
+ agentUserId?:
156
+ string;
124
157
  /** Unique identifier per event (for example, a doorbell press). */
125
- eventId?: string;
158
+ eventId?:
159
+ string;
126
160
  /** Deprecated. */
127
- followUpToken?: string;
161
+ followUpToken?:
162
+ string;
128
163
  /** Required. State of devices to update and notification metadata for devices. */
129
- payload?: StateAndNotificationPayload;
164
+ payload?:
165
+ StateAndNotificationPayload;
130
166
  /** Request ID used for debugging. */
131
- requestId?: string;
167
+ requestId?:
168
+ string;
132
169
  }
133
170
  interface ReportStateAndNotificationResponse {
134
171
  /** Request ID copied from ReportStateAndNotificationRequest. */
135
- requestId?: string;
172
+ requestId?:
173
+ string;
136
174
  }
137
175
  interface RequestSyncDevicesRequest {
138
176
  /** Required. Third-party user ID. */
139
- agentUserId?: string;
177
+ agentUserId?:
178
+ string;
140
179
  /**
141
180
  * Optional. If set, the request will be added to a queue and a response will be returned immediately. This enables concurrent requests for the given `agent_user_id`, but the caller
142
181
  * will not receive any error responses.
143
182
  */
144
- async?: boolean;
183
+ async?:
184
+ boolean;
145
185
  }
146
186
  // tslint:disable-next-line:no-empty-interface
147
187
  interface RequestSyncDevicesResponse {
148
188
  }
149
189
  interface StateAndNotificationPayload {
150
190
  /** The devices for updating state and sending notifications. */
151
- devices?: ReportStateAndNotificationDevice;
191
+ devices?:
192
+ ReportStateAndNotificationDevice;
152
193
  }
153
194
  interface SyncRequest {
154
195
  /** Required. Third-party user ID. */
155
- agentUserId?: string;
196
+ agentUserId?:
197
+ string;
156
198
  /** Request ID used for debugging. */
157
- requestId?: string;
199
+ requestId?:
200
+ string;
158
201
  }
159
202
  interface SyncResponse {
160
203
  /** Devices associated with the third-party user. */
161
- payload?: SyncResponsePayload;
204
+ payload?:
205
+ SyncResponsePayload;
162
206
  /** Request ID used for debugging. Copied from the request. */
163
- requestId?: string;
207
+ requestId?:
208
+ string;
164
209
  }
165
210
  interface SyncResponsePayload {
166
211
  /** Third-party user ID */
167
- agentUserId?: string;
212
+ agentUserId?:
213
+ string;
168
214
  /** Devices associated with the third-party user. */
169
- devices?: Device[];
215
+ devices?:
216
+ Device[];
170
217
  }
171
218
  interface AgentUsersResource {
172
219
  /**
@@ -176,31 +223,44 @@ declare namespace gapi.client {
176
223
  */
177
224
  delete(request?: {
178
225
  /** V1 error format. */
179
- "$.xgafv"?: string;
226
+ "$.xgafv"?:
227
+ string;
180
228
  /** OAuth access token. */
181
- access_token?: string;
229
+ access_token?:
230
+ string;
182
231
  /** Required. Third-party user ID. */
183
- agentUserId: string;
232
+ agentUserId:
233
+ string;
184
234
  /** Data format for response. */
185
- alt?: string;
235
+ alt?:
236
+ string;
186
237
  /** JSONP */
187
- callback?: string;
238
+ callback?:
239
+ string;
188
240
  /** Selector specifying which fields to include in a partial response. */
189
- fields?: string;
241
+ fields?:
242
+ string;
190
243
  /** 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. */
191
- key?: string;
244
+ key?:
245
+ string;
192
246
  /** OAuth 2.0 token for the current user. */
193
- oauth_token?: string;
247
+ oauth_token?:
248
+ string;
194
249
  /** Returns response with indentations and line breaks. */
195
- prettyPrint?: boolean;
250
+ prettyPrint?:
251
+ boolean;
196
252
  /** 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. */
197
- quotaUser?: string;
253
+ quotaUser?:
254
+ string;
198
255
  /** Request ID used for debugging. */
199
- requestId?: string;
256
+ requestId?:
257
+ string;
200
258
  /** Upload protocol for media (e.g. "raw", "multipart"). */
201
- upload_protocol?: string;
259
+ upload_protocol?:
260
+ string;
202
261
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
203
- uploadType?: string;
262
+ uploadType?:
263
+ string;
204
264
  }): Request<{}>;
205
265
  }
206
266
  interface DevicesResource {
@@ -210,53 +270,76 @@ declare namespace gapi.client {
210
270
  */
211
271
  query(request: {
212
272
  /** V1 error format. */
213
- "$.xgafv"?: string;
273
+ "$.xgafv"?:
274
+ string;
214
275
  /** OAuth access token. */
215
- access_token?: string;
276
+ access_token?:
277
+ string;
216
278
  /** Data format for response. */
217
- alt?: string;
279
+ alt?:
280
+ string;
218
281
  /** JSONP */
219
- callback?: string;
282
+ callback?:
283
+ string;
220
284
  /** Selector specifying which fields to include in a partial response. */
221
- fields?: string;
285
+ fields?:
286
+ string;
222
287
  /** 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. */
223
- key?: string;
288
+ key?:
289
+ string;
224
290
  /** OAuth 2.0 token for the current user. */
225
- oauth_token?: string;
291
+ oauth_token?:
292
+ string;
226
293
  /** Returns response with indentations and line breaks. */
227
- prettyPrint?: boolean;
294
+ prettyPrint?:
295
+ boolean;
228
296
  /** 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. */
229
- quotaUser?: string;
297
+ quotaUser?:
298
+ string;
230
299
  /** Upload protocol for media (e.g. "raw", "multipart"). */
231
- upload_protocol?: string;
300
+ upload_protocol?:
301
+ string;
232
302
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
233
- uploadType?: string;
303
+ uploadType?:
304
+ string;
234
305
  /** Request body */
235
- resource: QueryRequest;
306
+ resource:
307
+ QueryRequest;
236
308
  }): Request<QueryResponse>;
237
309
  query(request: {
238
310
  /** V1 error format. */
239
- "$.xgafv"?: string;
311
+ "$.xgafv"?:
312
+ string;
240
313
  /** OAuth access token. */
241
- access_token?: string;
314
+ access_token?:
315
+ string;
242
316
  /** Data format for response. */
243
- alt?: string;
317
+ alt?:
318
+ string;
244
319
  /** JSONP */
245
- callback?: string;
320
+ callback?:
321
+ string;
246
322
  /** Selector specifying which fields to include in a partial response. */
247
- fields?: string;
323
+ fields?:
324
+ string;
248
325
  /** 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. */
249
- key?: string;
326
+ key?:
327
+ string;
250
328
  /** OAuth 2.0 token for the current user. */
251
- oauth_token?: string;
329
+ oauth_token?:
330
+ string;
252
331
  /** Returns response with indentations and line breaks. */
253
- prettyPrint?: boolean;
332
+ prettyPrint?:
333
+ boolean;
254
334
  /** 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. */
255
- quotaUser?: string;
335
+ quotaUser?:
336
+ string;
256
337
  /** Upload protocol for media (e.g. "raw", "multipart"). */
257
- upload_protocol?: string;
338
+ upload_protocol?:
339
+ string;
258
340
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
259
- uploadType?: string;
341
+ uploadType?:
342
+ string;
260
343
  },
261
344
  body: QueryRequest): Request<QueryResponse>;
262
345
  /**
@@ -268,53 +351,76 @@ declare namespace gapi.client {
268
351
  */
269
352
  reportStateAndNotification(request: {
270
353
  /** V1 error format. */
271
- "$.xgafv"?: string;
354
+ "$.xgafv"?:
355
+ string;
272
356
  /** OAuth access token. */
273
- access_token?: string;
357
+ access_token?:
358
+ string;
274
359
  /** Data format for response. */
275
- alt?: string;
360
+ alt?:
361
+ string;
276
362
  /** JSONP */
277
- callback?: string;
363
+ callback?:
364
+ string;
278
365
  /** Selector specifying which fields to include in a partial response. */
279
- fields?: string;
366
+ fields?:
367
+ string;
280
368
  /** 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. */
281
- key?: string;
369
+ key?:
370
+ string;
282
371
  /** OAuth 2.0 token for the current user. */
283
- oauth_token?: string;
372
+ oauth_token?:
373
+ string;
284
374
  /** Returns response with indentations and line breaks. */
285
- prettyPrint?: boolean;
375
+ prettyPrint?:
376
+ boolean;
286
377
  /** 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. */
287
- quotaUser?: string;
378
+ quotaUser?:
379
+ string;
288
380
  /** Upload protocol for media (e.g. "raw", "multipart"). */
289
- upload_protocol?: string;
381
+ upload_protocol?:
382
+ string;
290
383
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
291
- uploadType?: string;
384
+ uploadType?:
385
+ string;
292
386
  /** Request body */
293
- resource: ReportStateAndNotificationRequest;
387
+ resource:
388
+ ReportStateAndNotificationRequest;
294
389
  }): Request<ReportStateAndNotificationResponse>;
295
390
  reportStateAndNotification(request: {
296
391
  /** V1 error format. */
297
- "$.xgafv"?: string;
392
+ "$.xgafv"?:
393
+ string;
298
394
  /** OAuth access token. */
299
- access_token?: string;
395
+ access_token?:
396
+ string;
300
397
  /** Data format for response. */
301
- alt?: string;
398
+ alt?:
399
+ string;
302
400
  /** JSONP */
303
- callback?: string;
401
+ callback?:
402
+ string;
304
403
  /** Selector specifying which fields to include in a partial response. */
305
- fields?: string;
404
+ fields?:
405
+ string;
306
406
  /** 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. */
307
- key?: string;
407
+ key?:
408
+ string;
308
409
  /** OAuth 2.0 token for the current user. */
309
- oauth_token?: string;
410
+ oauth_token?:
411
+ string;
310
412
  /** Returns response with indentations and line breaks. */
311
- prettyPrint?: boolean;
413
+ prettyPrint?:
414
+ boolean;
312
415
  /** 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. */
313
- quotaUser?: string;
416
+ quotaUser?:
417
+ string;
314
418
  /** Upload protocol for media (e.g. "raw", "multipart"). */
315
- upload_protocol?: string;
419
+ upload_protocol?:
420
+ string;
316
421
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
317
- uploadType?: string;
422
+ uploadType?:
423
+ string;
318
424
  },
319
425
  body: ReportStateAndNotificationRequest): Request<ReportStateAndNotificationResponse>;
320
426
  /**
@@ -324,53 +430,76 @@ declare namespace gapi.client {
324
430
  */
325
431
  requestSync(request: {
326
432
  /** V1 error format. */
327
- "$.xgafv"?: string;
433
+ "$.xgafv"?:
434
+ string;
328
435
  /** OAuth access token. */
329
- access_token?: string;
436
+ access_token?:
437
+ string;
330
438
  /** Data format for response. */
331
- alt?: string;
439
+ alt?:
440
+ string;
332
441
  /** JSONP */
333
- callback?: string;
442
+ callback?:
443
+ string;
334
444
  /** Selector specifying which fields to include in a partial response. */
335
- fields?: string;
445
+ fields?:
446
+ string;
336
447
  /** 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. */
337
- key?: string;
448
+ key?:
449
+ string;
338
450
  /** OAuth 2.0 token for the current user. */
339
- oauth_token?: string;
451
+ oauth_token?:
452
+ string;
340
453
  /** Returns response with indentations and line breaks. */
341
- prettyPrint?: boolean;
454
+ prettyPrint?:
455
+ boolean;
342
456
  /** 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. */
343
- quotaUser?: string;
457
+ quotaUser?:
458
+ string;
344
459
  /** Upload protocol for media (e.g. "raw", "multipart"). */
345
- upload_protocol?: string;
460
+ upload_protocol?:
461
+ string;
346
462
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
347
- uploadType?: string;
463
+ uploadType?:
464
+ string;
348
465
  /** Request body */
349
- resource: RequestSyncDevicesRequest;
466
+ resource:
467
+ RequestSyncDevicesRequest;
350
468
  }): Request<{}>;
351
469
  requestSync(request: {
352
470
  /** V1 error format. */
353
- "$.xgafv"?: string;
471
+ "$.xgafv"?:
472
+ string;
354
473
  /** OAuth access token. */
355
- access_token?: string;
474
+ access_token?:
475
+ string;
356
476
  /** Data format for response. */
357
- alt?: string;
477
+ alt?:
478
+ string;
358
479
  /** JSONP */
359
- callback?: string;
480
+ callback?:
481
+ string;
360
482
  /** Selector specifying which fields to include in a partial response. */
361
- fields?: string;
483
+ fields?:
484
+ string;
362
485
  /** 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. */
363
- key?: string;
486
+ key?:
487
+ string;
364
488
  /** OAuth 2.0 token for the current user. */
365
- oauth_token?: string;
489
+ oauth_token?:
490
+ string;
366
491
  /** Returns response with indentations and line breaks. */
367
- prettyPrint?: boolean;
492
+ prettyPrint?:
493
+ boolean;
368
494
  /** 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. */
369
- quotaUser?: string;
495
+ quotaUser?:
496
+ string;
370
497
  /** Upload protocol for media (e.g. "raw", "multipart"). */
371
- upload_protocol?: string;
498
+ upload_protocol?:
499
+ string;
372
500
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
373
- uploadType?: string;
501
+ uploadType?:
502
+ string;
374
503
  },
375
504
  body: RequestSyncDevicesRequest): Request<{}>;
376
505
  /**
@@ -379,53 +508,76 @@ declare namespace gapi.client {
379
508
  */
380
509
  sync(request: {
381
510
  /** V1 error format. */
382
- "$.xgafv"?: string;
511
+ "$.xgafv"?:
512
+ string;
383
513
  /** OAuth access token. */
384
- access_token?: string;
514
+ access_token?:
515
+ string;
385
516
  /** Data format for response. */
386
- alt?: string;
517
+ alt?:
518
+ string;
387
519
  /** JSONP */
388
- callback?: string;
520
+ callback?:
521
+ string;
389
522
  /** Selector specifying which fields to include in a partial response. */
390
- fields?: string;
523
+ fields?:
524
+ string;
391
525
  /** 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. */
392
- key?: string;
526
+ key?:
527
+ string;
393
528
  /** OAuth 2.0 token for the current user. */
394
- oauth_token?: string;
529
+ oauth_token?:
530
+ string;
395
531
  /** Returns response with indentations and line breaks. */
396
- prettyPrint?: boolean;
532
+ prettyPrint?:
533
+ boolean;
397
534
  /** 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. */
398
- quotaUser?: string;
535
+ quotaUser?:
536
+ string;
399
537
  /** Upload protocol for media (e.g. "raw", "multipart"). */
400
- upload_protocol?: string;
538
+ upload_protocol?:
539
+ string;
401
540
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
402
- uploadType?: string;
541
+ uploadType?:
542
+ string;
403
543
  /** Request body */
404
- resource: SyncRequest;
544
+ resource:
545
+ SyncRequest;
405
546
  }): Request<SyncResponse>;
406
547
  sync(request: {
407
548
  /** V1 error format. */
408
- "$.xgafv"?: string;
549
+ "$.xgafv"?:
550
+ string;
409
551
  /** OAuth access token. */
410
- access_token?: string;
552
+ access_token?:
553
+ string;
411
554
  /** Data format for response. */
412
- alt?: string;
555
+ alt?:
556
+ string;
413
557
  /** JSONP */
414
- callback?: string;
558
+ callback?:
559
+ string;
415
560
  /** Selector specifying which fields to include in a partial response. */
416
- fields?: string;
561
+ fields?:
562
+ string;
417
563
  /** 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. */
418
- key?: string;
564
+ key?:
565
+ string;
419
566
  /** OAuth 2.0 token for the current user. */
420
- oauth_token?: string;
567
+ oauth_token?:
568
+ string;
421
569
  /** Returns response with indentations and line breaks. */
422
- prettyPrint?: boolean;
570
+ prettyPrint?:
571
+ boolean;
423
572
  /** 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. */
424
- quotaUser?: string;
573
+ quotaUser?:
574
+ string;
425
575
  /** Upload protocol for media (e.g. "raw", "multipart"). */
426
- upload_protocol?: string;
576
+ upload_protocol?:
577
+ string;
427
578
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
428
- uploadType?: string;
579
+ uploadType?:
580
+ string;
429
581
  },
430
582
  body: SyncRequest): Request<SyncResponse>;
431
583
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.homegraph-v1",
3
- "version": "0.0.20230421",
3
+ "version": "0.0.20230428",
4
4
  "description": "TypeScript typings for HomeGraph API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230421
6
+ // Revision: 20230428
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */