@utdk/google 0.0.1-20260407.8-dev.646adf4

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/fcm/types.ts ADDED
@@ -0,0 +1,8 @@
1
+ export type GoogleFcmClient = {
2
+ /**
3
+ * Send a message to specified target (a registration token, topic or condition).
4
+ * Tags: projects
5
+ * Access as: google/fcm.projectsMessagesSend(input)
6
+ */
7
+ projectsMessagesSend: (input: { message?: { android?: { collapseKey?: string; data?: { [key: string]: string | undefined }; directBootOk?: boolean; fcmOptions?: { analyticsLabel?: string }; notification?: { body?: string; bodyLocArgs?: (string)[]; bodyLocKey?: string; bypassProxyNotification?: boolean; channelId?: string; clickAction?: string; color?: string; defaultLightSettings?: boolean; defaultSound?: boolean; defaultVibrateTimings?: boolean; eventTime?: string; icon?: string; image?: string; lightSettings?: { color?: { alpha?: number; blue?: number; green?: number; red?: number }; lightOffDuration?: string; lightOnDuration?: string }; localOnly?: boolean; notificationCount?: number; notificationPriority?: "PRIORITY_UNSPECIFIED" | "PRIORITY_MIN" | "PRIORITY_LOW" | "PRIORITY_DEFAULT" | "PRIORITY_HIGH" | "PRIORITY_MAX"; sound?: string; sticky?: boolean; tag?: string; ticker?: string; title?: string; titleLocArgs?: (string)[]; titleLocKey?: string; vibrateTimings?: (string)[]; visibility?: "VISIBILITY_UNSPECIFIED" | "PRIVATE" | "PUBLIC" | "SECRET" }; priority?: "NORMAL" | "HIGH"; restrictedPackageName?: string; ttl?: string }; apns?: { fcmOptions?: { analyticsLabel?: string; image?: string }; headers?: { [key: string]: string | undefined }; payload?: { [key: string]: unknown | undefined } }; condition?: string; data?: { [key: string]: string | undefined }; fcmOptions?: { analyticsLabel?: string }; name?: string; notification?: { body?: string; image?: string; title?: string }; token?: string; topic?: string; webpush?: { data?: { [key: string]: string | undefined }; fcmOptions?: { analyticsLabel?: string; link?: string }; headers?: { [key: string]: string | undefined }; notification?: { [key: string]: unknown | undefined } } }; validateOnly?: boolean; parent: string; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string }) => Promise<{ android?: { collapseKey?: string; data?: { [key: string]: string | undefined }; directBootOk?: boolean; fcmOptions?: { analyticsLabel?: string }; notification?: { body?: string; bodyLocArgs?: (string)[]; bodyLocKey?: string; bypassProxyNotification?: boolean; channelId?: string; clickAction?: string; color?: string; defaultLightSettings?: boolean; defaultSound?: boolean; defaultVibrateTimings?: boolean; eventTime?: string; icon?: string; image?: string; lightSettings?: { color?: { alpha?: number; blue?: number; green?: number; red?: number }; lightOffDuration?: string; lightOnDuration?: string }; localOnly?: boolean; notificationCount?: number; notificationPriority?: "PRIORITY_UNSPECIFIED" | "PRIORITY_MIN" | "PRIORITY_LOW" | "PRIORITY_DEFAULT" | "PRIORITY_HIGH" | "PRIORITY_MAX"; sound?: string; sticky?: boolean; tag?: string; ticker?: string; title?: string; titleLocArgs?: (string)[]; titleLocKey?: string; vibrateTimings?: (string)[]; visibility?: "VISIBILITY_UNSPECIFIED" | "PRIVATE" | "PUBLIC" | "SECRET" }; priority?: "NORMAL" | "HIGH"; restrictedPackageName?: string; ttl?: string }; apns?: { fcmOptions?: { analyticsLabel?: string; image?: string }; headers?: { [key: string]: string | undefined }; payload?: { [key: string]: unknown | undefined } }; condition?: string; data?: { [key: string]: string | undefined }; fcmOptions?: { analyticsLabel?: string }; name?: string; notification?: { body?: string; image?: string; title?: string }; token?: string; topic?: string; webpush?: { data?: { [key: string]: string | undefined }; fcmOptions?: { analyticsLabel?: string; link?: string }; headers?: { [key: string]: string | undefined }; notification?: { [key: string]: unknown | undefined } } }>;
8
+ };
package/home/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # google/home
2
+
3
+ Generated UTDK provider types and OpenAPI-backed client for https://raw.githubusercontent.com/APIs-guru/openapi-directory/main/APIs/google.home/2.0/openapi.yaml.
package/home/index.ts ADDED
@@ -0,0 +1,22 @@
1
+ import type { CreateClientOptions } from "../../client.js";
2
+ import { createClient, createLazyClient } from "../../client.js";
3
+ import type { GoogleHomeClient } from "./types.js";
4
+ import { toolMetadata } from "./metadata.js";
5
+ import openApiDocument from "./openapi.json" with { type: "json" };
6
+
7
+ export * from "./types.js";
8
+
9
+ export function createGoogleHomeClient(
10
+ options: Omit<CreateClientOptions, "name" | "openApiDocument" | "toolMetadata"> = {},
11
+ ): Promise<GoogleHomeClient> {
12
+ return createClient<GoogleHomeClient>({
13
+ ...options,
14
+ name: "google/home",
15
+ openApiDocument,
16
+ toolMetadata,
17
+ });
18
+ }
19
+
20
+ const defaultClient = createLazyClient(() => createGoogleHomeClient());
21
+
22
+ export default defaultClient;
@@ -0,0 +1,512 @@
1
+ import type { ToolRuntimeMetadataMap } from "../../client.js";
2
+
3
+ export const toolMetadata = {
4
+ "LegalNotice": {
5
+ "accessPath": [
6
+ "legalNotice"
7
+ ],
8
+ "bodyKind": "none",
9
+ "bodyPropertyKeys": [],
10
+ "contentType": "application/json",
11
+ "headerParameterKeys": [],
12
+ "method": "GET",
13
+ "routeTemplate": "/setup/NOTICE.html.gz",
14
+ "pathConflictKeys": [],
15
+ "pathParameterKeys": [],
16
+ "queryConflictKeys": [],
17
+ "queryParameterKeys": []
18
+ },
19
+ "Accessibility": {
20
+ "accessPath": [
21
+ "accessibility"
22
+ ],
23
+ "bodyKind": "properties",
24
+ "bodyPropertyKeys": [
25
+ "endpoint_enabled",
26
+ "hotword_enabled"
27
+ ],
28
+ "contentType": "application/json",
29
+ "headerParameterKeys": [],
30
+ "method": "POST",
31
+ "routeTemplate": "/setup/assistant/a11y_mode",
32
+ "pathConflictKeys": [],
33
+ "pathParameterKeys": [],
34
+ "queryConflictKeys": [],
35
+ "queryParameterKeys": []
36
+ },
37
+ "GetAlarmsandTimers": {
38
+ "accessPath": [
39
+ "getAlarmsandTimers"
40
+ ],
41
+ "bodyKind": "none",
42
+ "bodyPropertyKeys": [],
43
+ "contentType": "application/json",
44
+ "headerParameterKeys": [],
45
+ "method": "GET",
46
+ "routeTemplate": "/setup/assistant/alarms",
47
+ "pathConflictKeys": [],
48
+ "pathParameterKeys": [],
49
+ "queryConflictKeys": [],
50
+ "queryParameterKeys": []
51
+ },
52
+ "DeleteAlarmsandTimers": {
53
+ "accessPath": [
54
+ "deleteAlarmsandTimers"
55
+ ],
56
+ "bodyKind": "properties",
57
+ "bodyPropertyKeys": [
58
+ "ids"
59
+ ],
60
+ "contentType": "application/json",
61
+ "headerParameterKeys": [],
62
+ "method": "POST",
63
+ "routeTemplate": "/setup/assistant/alarms/delete",
64
+ "pathConflictKeys": [],
65
+ "pathParameterKeys": [],
66
+ "queryConflictKeys": [],
67
+ "queryParameterKeys": []
68
+ },
69
+ "AlarmVolume": {
70
+ "accessPath": [
71
+ "alarmVolume"
72
+ ],
73
+ "bodyKind": "properties",
74
+ "bodyPropertyKeys": [
75
+ "volume"
76
+ ],
77
+ "contentType": "application/json",
78
+ "headerParameterKeys": [],
79
+ "method": "POST",
80
+ "routeTemplate": "/setup/assistant/alarms/volume",
81
+ "pathConflictKeys": [],
82
+ "pathParameterKeys": [],
83
+ "queryConflictKeys": [],
84
+ "queryParameterKeys": []
85
+ },
86
+ "CheckReadyStatus": {
87
+ "accessPath": [
88
+ "checkReadyStatus"
89
+ ],
90
+ "bodyKind": "properties",
91
+ "bodyPropertyKeys": [
92
+ "play_ready_message",
93
+ "user_id"
94
+ ],
95
+ "contentType": "application/json",
96
+ "headerParameterKeys": [],
97
+ "method": "POST",
98
+ "routeTemplate": "/setup/assistant/check_ready_status",
99
+ "pathConflictKeys": [],
100
+ "pathParameterKeys": [],
101
+ "queryConflictKeys": [],
102
+ "queryParameterKeys": []
103
+ },
104
+ "DoNotDisturb": {
105
+ "accessPath": [
106
+ "doNotDisturb"
107
+ ],
108
+ "bodyKind": "none",
109
+ "bodyPropertyKeys": [],
110
+ "contentType": "application/json",
111
+ "headerParameterKeys": [
112
+ "Content-Type"
113
+ ],
114
+ "method": "POST",
115
+ "routeTemplate": "/setup/assistant/notifications",
116
+ "pathConflictKeys": [],
117
+ "pathParameterKeys": [],
118
+ "queryConflictKeys": [],
119
+ "queryParameterKeys": []
120
+ },
121
+ "NightModesettings": {
122
+ "accessPath": [
123
+ "nightModesettings"
124
+ ],
125
+ "bodyKind": "properties",
126
+ "bodyPropertyKeys": [
127
+ "demo_to_user",
128
+ "do_not_disturb",
129
+ "enabled",
130
+ "led_brightness",
131
+ "volume",
132
+ "windows"
133
+ ],
134
+ "contentType": "application/json",
135
+ "headerParameterKeys": [],
136
+ "method": "POST",
137
+ "routeTemplate": "/setup/assistant/set_night_mode_params",
138
+ "pathConflictKeys": [],
139
+ "pathParameterKeys": [],
140
+ "queryConflictKeys": [],
141
+ "queryParameterKeys": []
142
+ },
143
+ "Forgetpaireddevice": {
144
+ "accessPath": [
145
+ "forgetpaireddevice"
146
+ ],
147
+ "bodyKind": "properties",
148
+ "bodyPropertyKeys": [
149
+ "bond",
150
+ "mac_address"
151
+ ],
152
+ "contentType": "application/json",
153
+ "headerParameterKeys": [],
154
+ "method": "POST",
155
+ "routeTemplate": "/setup/bluetooth/bond",
156
+ "pathConflictKeys": [],
157
+ "pathParameterKeys": [],
158
+ "queryConflictKeys": [],
159
+ "queryParameterKeys": []
160
+ },
161
+ "PairwithSpeaker": {
162
+ "accessPath": [
163
+ "pairwithSpeaker"
164
+ ],
165
+ "bodyKind": "properties",
166
+ "bodyPropertyKeys": [
167
+ "connect",
168
+ "mac_address",
169
+ "profile"
170
+ ],
171
+ "contentType": "application/json",
172
+ "headerParameterKeys": [],
173
+ "method": "POST",
174
+ "routeTemplate": "/setup/bluetooth/connect",
175
+ "pathConflictKeys": [],
176
+ "pathParameterKeys": [],
177
+ "queryConflictKeys": [],
178
+ "queryParameterKeys": []
179
+ },
180
+ "ChangeDiscoverability": {
181
+ "accessPath": [
182
+ "changeDiscoverability"
183
+ ],
184
+ "bodyKind": "properties",
185
+ "bodyPropertyKeys": [
186
+ "enable_discovery"
187
+ ],
188
+ "contentType": "application/json",
189
+ "headerParameterKeys": [],
190
+ "method": "POST",
191
+ "routeTemplate": "/setup/bluetooth/discovery",
192
+ "pathConflictKeys": [],
193
+ "pathParameterKeys": [],
194
+ "queryConflictKeys": [],
195
+ "queryParameterKeys": []
196
+ },
197
+ "GetPairedDevices": {
198
+ "accessPath": [
199
+ "getPairedDevices"
200
+ ],
201
+ "bodyKind": "none",
202
+ "bodyPropertyKeys": [],
203
+ "contentType": "application/json",
204
+ "headerParameterKeys": [],
205
+ "method": "GET",
206
+ "routeTemplate": "/setup/bluetooth/get_bonded",
207
+ "pathConflictKeys": [],
208
+ "pathParameterKeys": [],
209
+ "queryConflictKeys": [],
210
+ "queryParameterKeys": []
211
+ },
212
+ "Scanfordevices": {
213
+ "accessPath": [
214
+ "scanfordevices"
215
+ ],
216
+ "bodyKind": "properties",
217
+ "bodyPropertyKeys": [
218
+ "clear_results",
219
+ "enable",
220
+ "timeout"
221
+ ],
222
+ "contentType": "application/json",
223
+ "headerParameterKeys": [],
224
+ "method": "POST",
225
+ "routeTemplate": "/setup/bluetooth/scan",
226
+ "pathConflictKeys": [],
227
+ "pathParameterKeys": [],
228
+ "queryConflictKeys": [],
229
+ "queryParameterKeys": []
230
+ },
231
+ "GetScanResults": {
232
+ "accessPath": [
233
+ "getScanResults"
234
+ ],
235
+ "bodyKind": "none",
236
+ "bodyPropertyKeys": [],
237
+ "contentType": "application/json",
238
+ "headerParameterKeys": [],
239
+ "method": "GET",
240
+ "routeTemplate": "/setup/bluetooth/scan_results",
241
+ "pathConflictKeys": [],
242
+ "pathParameterKeys": [],
243
+ "queryConflictKeys": [],
244
+ "queryParameterKeys": []
245
+ },
246
+ "Status": {
247
+ "accessPath": [
248
+ "status"
249
+ ],
250
+ "bodyKind": "none",
251
+ "bodyPropertyKeys": [],
252
+ "contentType": "application/json",
253
+ "headerParameterKeys": [],
254
+ "method": "GET",
255
+ "routeTemplate": "/setup/bluetooth/status",
256
+ "pathConflictKeys": [],
257
+ "pathParameterKeys": [],
258
+ "queryConflictKeys": [],
259
+ "queryParameterKeys": []
260
+ },
261
+ "GetSavedNetworks": {
262
+ "accessPath": [
263
+ "getSavedNetworks"
264
+ ],
265
+ "bodyKind": "none",
266
+ "bodyPropertyKeys": [],
267
+ "contentType": "application/json",
268
+ "headerParameterKeys": [],
269
+ "method": "GET",
270
+ "routeTemplate": "/setup/configured_networks",
271
+ "pathConflictKeys": [],
272
+ "pathParameterKeys": [],
273
+ "queryConflictKeys": [],
274
+ "queryParameterKeys": []
275
+ },
276
+ "ConnecttoWi-FiNetwork": {
277
+ "accessPath": [
278
+ "connecttoWiFiNetwork"
279
+ ],
280
+ "bodyKind": "properties",
281
+ "bodyPropertyKeys": [
282
+ "bssid",
283
+ "enc_passwd",
284
+ "signal_level",
285
+ "ssid",
286
+ "wpa_auth",
287
+ "wpa_cipher"
288
+ ],
289
+ "contentType": "application/json",
290
+ "headerParameterKeys": [],
291
+ "method": "POST",
292
+ "routeTemplate": "/setup/connect_wifi",
293
+ "pathConflictKeys": [],
294
+ "pathParameterKeys": [],
295
+ "queryConflictKeys": [],
296
+ "queryParameterKeys": []
297
+ },
298
+ "EurekaInfo": {
299
+ "accessPath": [
300
+ "eurekaInfo"
301
+ ],
302
+ "bodyKind": "none",
303
+ "bodyPropertyKeys": [],
304
+ "contentType": "application/json",
305
+ "headerParameterKeys": [],
306
+ "method": "GET",
307
+ "routeTemplate": "/setup/eureka_info",
308
+ "pathConflictKeys": [],
309
+ "pathParameterKeys": [],
310
+ "queryConflictKeys": [],
311
+ "queryParameterKeys": [
312
+ "params",
313
+ "options",
314
+ "nonce"
315
+ ]
316
+ },
317
+ "ForgetWi-FiNetwork": {
318
+ "accessPath": [
319
+ "forgetWiFiNetwork"
320
+ ],
321
+ "bodyKind": "properties",
322
+ "bodyPropertyKeys": [
323
+ "wpa_id"
324
+ ],
325
+ "contentType": "application/json",
326
+ "headerParameterKeys": [],
327
+ "method": "POST",
328
+ "routeTemplate": "/setup/forget_wifi",
329
+ "pathConflictKeys": [],
330
+ "pathParameterKeys": [],
331
+ "queryConflictKeys": [],
332
+ "queryParameterKeys": []
333
+ },
334
+ "AppDeviceID": {
335
+ "accessPath": [
336
+ "appDeviceId"
337
+ ],
338
+ "bodyKind": "properties",
339
+ "bodyPropertyKeys": [
340
+ "app_id"
341
+ ],
342
+ "contentType": "application/json",
343
+ "headerParameterKeys": [],
344
+ "method": "POST",
345
+ "routeTemplate": "/setup/get_app_device_id",
346
+ "pathConflictKeys": [],
347
+ "pathParameterKeys": [],
348
+ "queryConflictKeys": [],
349
+ "queryParameterKeys": []
350
+ },
351
+ "ChromecastIcon": {
352
+ "accessPath": [
353
+ "chromecastIcon"
354
+ ],
355
+ "bodyKind": "none",
356
+ "bodyPropertyKeys": [],
357
+ "contentType": "application/json",
358
+ "headerParameterKeys": [],
359
+ "method": "GET",
360
+ "routeTemplate": "/setup/icon.png",
361
+ "pathConflictKeys": [],
362
+ "pathParameterKeys": [],
363
+ "queryConflictKeys": [],
364
+ "queryParameterKeys": []
365
+ },
366
+ "Offer": {
367
+ "accessPath": [
368
+ "offer"
369
+ ],
370
+ "bodyKind": "none",
371
+ "bodyPropertyKeys": [],
372
+ "contentType": "application/json",
373
+ "headerParameterKeys": [],
374
+ "method": "GET",
375
+ "routeTemplate": "/setup/offer",
376
+ "pathConflictKeys": [],
377
+ "pathParameterKeys": [],
378
+ "queryConflictKeys": [],
379
+ "queryParameterKeys": []
380
+ },
381
+ "RebootandFactoryReset": {
382
+ "accessPath": [
383
+ "rebootandFactoryReset"
384
+ ],
385
+ "bodyKind": "properties",
386
+ "bodyPropertyKeys": [
387
+ "params"
388
+ ],
389
+ "contentType": "application/json",
390
+ "headerParameterKeys": [],
391
+ "method": "POST",
392
+ "routeTemplate": "/setup/reboot",
393
+ "pathConflictKeys": [],
394
+ "pathParameterKeys": [],
395
+ "queryConflictKeys": [],
396
+ "queryParameterKeys": []
397
+ },
398
+ "GetWi-FiScanResults": {
399
+ "accessPath": [
400
+ "getWiFiScanResults"
401
+ ],
402
+ "bodyKind": "none",
403
+ "bodyPropertyKeys": [],
404
+ "contentType": "application/json",
405
+ "headerParameterKeys": [],
406
+ "method": "GET",
407
+ "routeTemplate": "/setup/scan_results",
408
+ "pathConflictKeys": [],
409
+ "pathParameterKeys": [],
410
+ "queryConflictKeys": [],
411
+ "queryParameterKeys": []
412
+ },
413
+ "ScanforNetworks": {
414
+ "accessPath": [
415
+ "scanforNetworks"
416
+ ],
417
+ "bodyKind": "none",
418
+ "bodyPropertyKeys": [],
419
+ "contentType": "application/json",
420
+ "headerParameterKeys": [],
421
+ "method": "POST",
422
+ "routeTemplate": "/setup/scan_wifi",
423
+ "pathConflictKeys": [],
424
+ "pathParameterKeys": [],
425
+ "queryConflictKeys": [],
426
+ "queryParameterKeys": []
427
+ },
428
+ "SetEurekaInfo": {
429
+ "accessPath": [
430
+ "setEurekaInfo"
431
+ ],
432
+ "bodyKind": "properties",
433
+ "bodyPropertyKeys": [
434
+ "name",
435
+ "opt_in",
436
+ "settings"
437
+ ],
438
+ "contentType": "application/json",
439
+ "headerParameterKeys": [],
440
+ "method": "POST",
441
+ "routeTemplate": "/setup/set_eureka_info",
442
+ "pathConflictKeys": [],
443
+ "pathParameterKeys": [],
444
+ "queryConflictKeys": [],
445
+ "queryParameterKeys": []
446
+ },
447
+ "Locales": {
448
+ "accessPath": [
449
+ "locales"
450
+ ],
451
+ "bodyKind": "none",
452
+ "bodyPropertyKeys": [],
453
+ "contentType": "application/json",
454
+ "headerParameterKeys": [],
455
+ "method": "GET",
456
+ "routeTemplate": "/setup/supported_locales",
457
+ "pathConflictKeys": [],
458
+ "pathParameterKeys": [],
459
+ "queryConflictKeys": [],
460
+ "queryParameterKeys": []
461
+ },
462
+ "Timezones": {
463
+ "accessPath": [
464
+ "timezones"
465
+ ],
466
+ "bodyKind": "none",
467
+ "bodyPropertyKeys": [],
468
+ "contentType": "application/json",
469
+ "headerParameterKeys": [],
470
+ "method": "GET",
471
+ "routeTemplate": "/setup/supported_timezones",
472
+ "pathConflictKeys": [],
473
+ "pathParameterKeys": [],
474
+ "queryConflictKeys": [],
475
+ "queryParameterKeys": []
476
+ },
477
+ "TestInternetDownloadSpeed": {
478
+ "accessPath": [
479
+ "testInternetDownloadSpeed"
480
+ ],
481
+ "bodyKind": "properties",
482
+ "bodyPropertyKeys": [
483
+ "url"
484
+ ],
485
+ "contentType": "application/json",
486
+ "headerParameterKeys": [],
487
+ "method": "POST",
488
+ "routeTemplate": "/setup/test_internet_download_speed",
489
+ "pathConflictKeys": [],
490
+ "pathParameterKeys": [],
491
+ "queryConflictKeys": [],
492
+ "queryParameterKeys": []
493
+ },
494
+ "SetEqualizerValues": {
495
+ "accessPath": [
496
+ "setEqualizerValues"
497
+ ],
498
+ "bodyKind": "properties",
499
+ "bodyPropertyKeys": [
500
+ "high_shelf",
501
+ "low_shelf"
502
+ ],
503
+ "contentType": "application/json",
504
+ "headerParameterKeys": [],
505
+ "method": "POST",
506
+ "routeTemplate": "/setup/user_eq/set_equalizer",
507
+ "pathConflictKeys": [],
508
+ "pathParameterKeys": [],
509
+ "queryConflictKeys": [],
510
+ "queryParameterKeys": []
511
+ }
512
+ } satisfies ToolRuntimeMetadataMap;