mcp-google-multi 6.0.0-beta.2 → 6.0.0-beta.4
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/README.md +5 -5
- package/dist/accounts.d.ts +20 -4
- package/dist/accounts.js +68 -44
- package/dist/api-probe.d.ts +5 -0
- package/dist/api-probe.js +20 -15
- package/dist/arg-normalize.js +19 -38
- package/dist/arg-strict.d.ts +7 -0
- package/dist/arg-strict.js +38 -28
- package/dist/auth.d.ts +5 -4
- package/dist/auth.js +16 -23
- package/dist/boot-gates.d.ts +26 -0
- package/dist/boot-gates.js +36 -0
- package/dist/cimd-cache.d.ts +38 -0
- package/dist/cimd-cache.js +111 -0
- package/dist/client-config.d.ts +2 -2
- package/dist/client-config.js +8 -14
- package/dist/client.d.ts +32 -2
- package/dist/client.js +0 -0
- package/dist/compose.d.ts +18 -0
- package/dist/compose.js +109 -0
- package/dist/config-file.d.ts +13 -0
- package/dist/config-file.js +41 -10
- package/dist/discover.js +7 -10
- package/dist/discovery-client.d.ts +3 -0
- package/dist/discovery-client.js +36 -32
- package/dist/doctor.d.ts +9 -5
- package/dist/doctor.js +119 -29
- package/dist/env-load.js +2 -5
- package/dist/executor.d.ts +3 -0
- package/dist/executor.js +6 -6
- package/dist/fanout.d.ts +9 -1
- package/dist/fanout.js +47 -22
- package/dist/fs-atomic.d.ts +8 -0
- package/dist/fs-atomic.js +216 -29
- package/dist/hint-provider.d.ts +129 -0
- package/dist/hint-provider.js +58 -0
- package/dist/http-config.d.ts +2 -2
- package/dist/http-config.js +3 -7
- package/dist/http-transport.d.ts +67 -9
- package/dist/http-transport.js +318 -52
- package/dist/identity.d.ts +6 -3
- package/dist/identity.js +24 -8
- package/dist/index.js +76 -160
- package/dist/master-key.d.ts +3 -3
- package/dist/master-key.js +16 -19
- package/dist/mcp-token.d.ts +126 -19
- package/dist/mcp-token.js +557 -76
- package/dist/metrics-cli.d.ts +1 -1
- package/dist/metrics-cli.js +1 -1
- package/dist/metrics-tap.js +2 -5
- package/dist/migrate-config.d.ts +1 -2
- package/dist/migrate-config.js +5 -7
- package/dist/net-tuning.js +2 -4
- package/dist/oauth-as.d.ts +104 -4
- package/dist/oauth-as.js +368 -114
- package/dist/oauth-consent.d.ts +10 -0
- package/dist/oauth-consent.js +20 -10
- package/dist/outbound-allowlist.js +9 -11
- package/dist/reauth-hint.d.ts +1 -1
- package/dist/reauth-hint.js +11 -10
- package/dist/registry-transfer.d.ts +5 -0
- package/dist/registry-transfer.js +63 -11
- package/dist/registry.d.ts +13 -4
- package/dist/registry.js +100 -72
- package/dist/scope-catalog.d.ts +16 -0
- package/dist/scope-catalog.js +40 -13
- package/dist/scope-observability.d.ts +10 -9
- package/dist/scope-observability.js +34 -24
- package/dist/services.d.ts +18 -10
- package/dist/services.js +61 -22
- package/dist/ssrf-guard.d.ts +23 -9
- package/dist/ssrf-guard.js +106 -78
- package/dist/tenant-purge.d.ts +26 -0
- package/dist/tenant-purge.js +65 -0
- package/dist/token-store.d.ts +20 -2
- package/dist/token-store.js +0 -0
- package/dist/tools/_coerce.d.ts +4 -4
- package/dist/tools/_errors.d.ts +3 -0
- package/dist/tools/_errors.js +72 -60
- package/dist/tools/_local-files.d.ts +9 -0
- package/dist/tools/_local-files.js +22 -8
- package/dist/tools/account-wizard.d.ts +13 -3
- package/dist/tools/account-wizard.js +107 -56
- package/dist/tools/accounts-tool.d.ts +8 -1
- package/dist/tools/accounts-tool.js +35 -19
- package/dist/tools/admin.d.ts +10 -1
- package/dist/tools/admin.js +14 -11
- package/dist/tools/analytics.d.ts +10 -1
- package/dist/tools/analytics.js +14 -10
- package/dist/tools/calendar.d.ts +2 -1
- package/dist/tools/calendar.js +19 -18
- package/dist/tools/chat.d.ts +10 -1
- package/dist/tools/chat.js +12 -8
- package/dist/tools/contacts.d.ts +2 -1
- package/dist/tools/contacts.js +22 -19
- package/dist/tools/docs.d.ts +2 -1
- package/dist/tools/docs.js +35 -36
- package/dist/tools/drive.d.ts +2 -1
- package/dist/tools/drive.js +80 -74
- package/dist/tools/forms.d.ts +10 -1
- package/dist/tools/forms.js +18 -12
- package/dist/tools/generated/_shared.d.ts +2 -1
- package/dist/tools/generated/_shared.js +7 -3
- package/dist/tools/generated/admin.d.ts +2 -1
- package/dist/tools/generated/admin.js +265 -265
- package/dist/tools/generated/analytics.d.ts +2 -1
- package/dist/tools/generated/analytics.js +125 -125
- package/dist/tools/generated/appsmarket.d.ts +2 -1
- package/dist/tools/generated/appsmarket.js +5 -5
- package/dist/tools/generated/calendar.d.ts +2 -1
- package/dist/tools/generated/calendar.js +55 -55
- package/dist/tools/generated/chat.d.ts +2 -1
- package/dist/tools/generated/chat.js +95 -95
- package/dist/tools/generated/classroom.d.ts +2 -1
- package/dist/tools/generated/classroom.js +209 -209
- package/dist/tools/generated/cloudidentity.d.ts +2 -1
- package/dist/tools/generated/cloudidentity.js +133 -133
- package/dist/tools/generated/cloudsearch.d.ts +2 -1
- package/dist/tools/generated/cloudsearch.js +99 -99
- package/dist/tools/generated/contacts.d.ts +2 -1
- package/dist/tools/generated/contacts.js +29 -29
- package/dist/tools/generated/drive.d.ts +2 -1
- package/dist/tools/generated/drive.js +71 -71
- package/dist/tools/generated/driveactivity.d.ts +2 -1
- package/dist/tools/generated/driveactivity.js +3 -3
- package/dist/tools/generated/drivelabels.d.ts +2 -1
- package/dist/tools/generated/drivelabels.js +53 -53
- package/dist/tools/generated/forms.d.ts +2 -1
- package/dist/tools/generated/forms.js +7 -7
- package/dist/tools/generated/gmail.d.ts +2 -1
- package/dist/tools/generated/gmail.js +117 -117
- package/dist/tools/generated/groupsmigration.d.ts +2 -1
- package/dist/tools/generated/groupsmigration.js +3 -3
- package/dist/tools/generated/groupssettings.d.ts +2 -1
- package/dist/tools/generated/groupssettings.js +7 -7
- package/dist/tools/generated/index.d.ts +2 -1
- package/dist/tools/generated/keep.d.ts +2 -1
- package/dist/tools/generated/keep.js +15 -15
- package/dist/tools/generated/licensing.d.ts +2 -1
- package/dist/tools/generated/licensing.js +15 -15
- package/dist/tools/generated/meet.d.ts +2 -1
- package/dist/tools/generated/meet.js +27 -27
- package/dist/tools/generated/postmaster.d.ts +2 -1
- package/dist/tools/generated/postmaster.js +9 -9
- package/dist/tools/generated/reseller.d.ts +2 -1
- package/dist/tools/generated/reseller.js +35 -35
- package/dist/tools/generated/script.d.ts +2 -1
- package/dist/tools/generated/script.js +33 -33
- package/dist/tools/generated/searchconsole.d.ts +2 -1
- package/dist/tools/generated/searchconsole.js +3 -3
- package/dist/tools/generated/sheets.d.ts +2 -1
- package/dist/tools/generated/sheets.js +15 -15
- package/dist/tools/generated/tasks.d.ts +2 -1
- package/dist/tools/generated/tasks.js +5 -5
- package/dist/tools/generated/vault.d.ts +2 -1
- package/dist/tools/generated/vault.js +67 -67
- package/dist/tools/generated/workspaceevents.d.ts +2 -1
- package/dist/tools/generated/workspaceevents.js +31 -31
- package/dist/tools/gmail-mime.d.ts +1 -1
- package/dist/tools/gmail-mime.js +7 -12
- package/dist/tools/gmail.d.ts +4 -3
- package/dist/tools/gmail.js +67 -69
- package/dist/tools/google-api.d.ts +2 -3
- package/dist/tools/google-api.js +34 -22
- package/dist/tools/meet.d.ts +10 -1
- package/dist/tools/meet.js +12 -9
- package/dist/tools/searchconsole.d.ts +2 -1
- package/dist/tools/searchconsole.js +16 -13
- package/dist/tools/sheets.d.ts +2 -1
- package/dist/tools/sheets.js +35 -32
- package/dist/tools/slides.d.ts +10 -1
- package/dist/tools/slides.js +16 -10
- package/dist/tools/tasks.d.ts +2 -1
- package/dist/tools/tasks.js +18 -15
- package/dist/trim.d.ts +5 -0
- package/dist/trim.js +19 -0
- package/dist/usage-metrics.d.ts +23 -0
- package/dist/usage-metrics.js +67 -56
- package/dist/write-control.d.ts +4 -8
- package/dist/write-control.js +13 -6
- package/package.json +47 -21
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { ToolRegistry } from '../../registry.js';
|
|
2
|
-
|
|
2
|
+
import { type ExecuteDeps } from './_shared.js';
|
|
3
|
+
export declare function registerGroupsmigrationGeneratedTools(registry: ToolRegistry, deps?: ExecuteDeps): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED by scripts/gen-tools.ts — do not edit. Regenerate: npm run gen:tools
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { accountField, registerGeneratedTool } from './_shared.js';
|
|
4
|
-
export function registerGroupsmigrationGeneratedTools(registry) {
|
|
4
|
+
export function registerGroupsmigrationGeneratedTools(registry, deps = {}) {
|
|
5
5
|
// Interned method scope sets (shared across tools; see scope-observability).
|
|
6
6
|
const S_groupsmigration_v1 = [
|
|
7
7
|
["https://www.googleapis.com/auth/apps.groups.migration"],
|
|
@@ -14,9 +14,9 @@ export function registerGroupsmigrationGeneratedTools(registry) {
|
|
|
14
14
|
params: [{ "field": "groupId", "api": "groupId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
15
15
|
hasBody: false,
|
|
16
16
|
shape: {
|
|
17
|
-
account: accountField(),
|
|
17
|
+
account: accountField(() => registry.accountAliases()),
|
|
18
18
|
groupId: z.string().min(1).describe("The group ID"),
|
|
19
19
|
fields: z.string().optional().describe('Response field mask.'),
|
|
20
20
|
},
|
|
21
|
-
});
|
|
21
|
+
}, deps);
|
|
22
22
|
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { ToolRegistry } from '../../registry.js';
|
|
2
|
-
|
|
2
|
+
import { type ExecuteDeps } from './_shared.js';
|
|
3
|
+
export declare function registerGroupssettingsGeneratedTools(registry: ToolRegistry, deps?: ExecuteDeps): void;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { coerceJson } from '../_coerce.js';
|
|
4
4
|
import { accountField, registerGeneratedTool } from './_shared.js';
|
|
5
|
-
export function registerGroupssettingsGeneratedTools(registry) {
|
|
5
|
+
export function registerGroupssettingsGeneratedTools(registry, deps = {}) {
|
|
6
6
|
// Interned method scope sets (shared across tools; see scope-observability).
|
|
7
7
|
const S_groupssettings_v1 = [
|
|
8
8
|
["https://www.googleapis.com/auth/apps.groups.settings"],
|
|
@@ -15,11 +15,11 @@ export function registerGroupssettingsGeneratedTools(registry) {
|
|
|
15
15
|
params: [{ "field": "groupUniqueId", "api": "groupUniqueId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
16
16
|
hasBody: false,
|
|
17
17
|
shape: {
|
|
18
|
-
account: accountField(),
|
|
18
|
+
account: accountField(() => registry.accountAliases()),
|
|
19
19
|
groupUniqueId: z.string().min(1).describe("The group's email address."),
|
|
20
20
|
fields: z.string().optional().describe('Response field mask.'),
|
|
21
21
|
},
|
|
22
|
-
});
|
|
22
|
+
}, deps);
|
|
23
23
|
registerGeneratedTool(registry, {
|
|
24
24
|
name: "groupssettings_groups_patch",
|
|
25
25
|
cud: "update",
|
|
@@ -28,12 +28,12 @@ export function registerGroupssettingsGeneratedTools(registry) {
|
|
|
28
28
|
params: [{ "field": "groupUniqueId", "api": "groupUniqueId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
29
29
|
hasBody: true,
|
|
30
30
|
shape: {
|
|
31
|
-
account: accountField(),
|
|
31
|
+
account: accountField(() => registry.accountAliases()),
|
|
32
32
|
groupUniqueId: z.string().min(1).describe("The group's email address."),
|
|
33
33
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Groups JSON request body. Top-level fields: allowExternalMembers, allowGoogleCommunication, allowWebPosting, archiveOnly, customFooterText, customReplyTo, customRolesEnabledForSettingsToBeMerged, defaultMessageDenyNotificationText, default_sender, description, email, enableCollaborativeInbox, +51 more."),
|
|
34
34
|
fields: z.string().optional().describe('Response field mask.'),
|
|
35
35
|
},
|
|
36
|
-
});
|
|
36
|
+
}, deps);
|
|
37
37
|
registerGeneratedTool(registry, {
|
|
38
38
|
name: "groupssettings_groups_update",
|
|
39
39
|
cud: "update",
|
|
@@ -42,10 +42,10 @@ export function registerGroupssettingsGeneratedTools(registry) {
|
|
|
42
42
|
params: [{ "field": "groupUniqueId", "api": "groupUniqueId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
43
43
|
hasBody: true,
|
|
44
44
|
shape: {
|
|
45
|
-
account: accountField(),
|
|
45
|
+
account: accountField(() => registry.accountAliases()),
|
|
46
46
|
groupUniqueId: z.string().min(1).describe("The group's email address."),
|
|
47
47
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Groups JSON request body. Top-level fields: allowExternalMembers, allowGoogleCommunication, allowWebPosting, archiveOnly, customFooterText, customReplyTo, customRolesEnabledForSettingsToBeMerged, defaultMessageDenyNotificationText, default_sender, description, email, enableCollaborativeInbox, +51 more."),
|
|
48
48
|
fields: z.string().optional().describe('Response field mask.'),
|
|
49
49
|
},
|
|
50
|
-
});
|
|
50
|
+
}, deps);
|
|
51
51
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ToolRegistry } from '../../registry.js';
|
|
2
|
+
import type { ExecuteDeps } from './_shared.js';
|
|
2
3
|
export declare const GENERATED_SERVICES: Array<{
|
|
3
4
|
name: string;
|
|
4
|
-
register: (registry: ToolRegistry) => void;
|
|
5
|
+
register: (registry: ToolRegistry, deps?: ExecuteDeps) => void;
|
|
5
6
|
}>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { ToolRegistry } from '../../registry.js';
|
|
2
|
-
|
|
2
|
+
import { type ExecuteDeps } from './_shared.js';
|
|
3
|
+
export declare function registerKeepGeneratedTools(registry: ToolRegistry, deps?: ExecuteDeps): void;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { coerceArray, coerceJson } from '../_coerce.js';
|
|
4
4
|
import { accountField, registerGeneratedTool } from './_shared.js';
|
|
5
|
-
export function registerKeepGeneratedTools(registry) {
|
|
5
|
+
export function registerKeepGeneratedTools(registry, deps = {}) {
|
|
6
6
|
// Interned method scope sets (shared across tools; see scope-observability).
|
|
7
7
|
const S_keep_v1 = [
|
|
8
8
|
["https://www.googleapis.com/auth/keep", "https://www.googleapis.com/auth/keep.readonly"],
|
|
@@ -16,12 +16,12 @@ export function registerKeepGeneratedTools(registry) {
|
|
|
16
16
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "mimeType", "api": "mimeType", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
17
17
|
hasBody: false,
|
|
18
18
|
shape: {
|
|
19
|
-
account: accountField(),
|
|
19
|
+
account: accountField(() => registry.accountAliases()),
|
|
20
20
|
name: z.string().min(1).describe("Required. The name of the attachment."),
|
|
21
21
|
mimeType: z.string().describe("The IANA MIME type format requested. The requested MIME type must be one specified in the attachment.mime_type. Required when downloading attachment media and ignored otherwise.").optional(),
|
|
22
22
|
fields: z.string().optional().describe('Response field mask.'),
|
|
23
23
|
},
|
|
24
|
-
});
|
|
24
|
+
}, deps);
|
|
25
25
|
registerGeneratedTool(registry, {
|
|
26
26
|
name: "keep_notes_create",
|
|
27
27
|
cud: "create",
|
|
@@ -30,11 +30,11 @@ export function registerKeepGeneratedTools(registry) {
|
|
|
30
30
|
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
31
31
|
hasBody: true,
|
|
32
32
|
shape: {
|
|
33
|
-
account: accountField(),
|
|
33
|
+
account: accountField(() => registry.accountAliases()),
|
|
34
34
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Note JSON request body. Top-level fields: attachments, body, createTime, name, permissions, title, trashTime, trashed, updateTime."),
|
|
35
35
|
fields: z.string().optional().describe('Response field mask.'),
|
|
36
36
|
},
|
|
37
|
-
});
|
|
37
|
+
}, deps);
|
|
38
38
|
registerGeneratedTool(registry, {
|
|
39
39
|
name: "keep_notes_delete",
|
|
40
40
|
cud: "delete",
|
|
@@ -43,11 +43,11 @@ export function registerKeepGeneratedTools(registry) {
|
|
|
43
43
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
44
44
|
hasBody: false,
|
|
45
45
|
shape: {
|
|
46
|
-
account: accountField(),
|
|
46
|
+
account: accountField(() => registry.accountAliases()),
|
|
47
47
|
name: z.string().min(1).describe("Required. Name of the note to delete."),
|
|
48
48
|
fields: z.string().optional().describe('Response field mask.'),
|
|
49
49
|
},
|
|
50
|
-
});
|
|
50
|
+
}, deps);
|
|
51
51
|
registerGeneratedTool(registry, {
|
|
52
52
|
name: "keep_notes_get",
|
|
53
53
|
cud: "read",
|
|
@@ -56,11 +56,11 @@ export function registerKeepGeneratedTools(registry) {
|
|
|
56
56
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
57
57
|
hasBody: false,
|
|
58
58
|
shape: {
|
|
59
|
-
account: accountField(),
|
|
59
|
+
account: accountField(() => registry.accountAliases()),
|
|
60
60
|
name: z.string().min(1).describe("Required. Name of the resource."),
|
|
61
61
|
fields: z.string().optional().describe('Response field mask.'),
|
|
62
62
|
},
|
|
63
|
-
});
|
|
63
|
+
}, deps);
|
|
64
64
|
registerGeneratedTool(registry, {
|
|
65
65
|
name: "keep_notes_list",
|
|
66
66
|
cud: "read",
|
|
@@ -69,13 +69,13 @@ export function registerKeepGeneratedTools(registry) {
|
|
|
69
69
|
params: [{ "field": "filter", "api": "filter", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
70
70
|
hasBody: false,
|
|
71
71
|
shape: {
|
|
72
|
-
account: accountField(),
|
|
72
|
+
account: accountField(() => registry.accountAliases()),
|
|
73
73
|
filter: z.string().describe("Filter for list results. If no filter is supplied, the `trashed` filter is applied by default. Valid fields to filter by are: `create_time`, `update_time`, `trash_time`, and `trashed`. Filter syntax f").optional(),
|
|
74
74
|
pageSize: z.number().describe("The maximum number of results to return.").optional(),
|
|
75
75
|
pageToken: z.string().describe("The previous page's `next_page_token` field.").optional(),
|
|
76
76
|
fields: z.string().optional().describe('Response field mask.'),
|
|
77
77
|
},
|
|
78
|
-
});
|
|
78
|
+
}, deps);
|
|
79
79
|
registerGeneratedTool(registry, {
|
|
80
80
|
name: "keep_notes_permissions_batch_create",
|
|
81
81
|
cud: "create",
|
|
@@ -84,12 +84,12 @@ export function registerKeepGeneratedTools(registry) {
|
|
|
84
84
|
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
85
85
|
hasBody: true,
|
|
86
86
|
shape: {
|
|
87
|
-
account: accountField(),
|
|
87
|
+
account: accountField(() => registry.accountAliases()),
|
|
88
88
|
parent: z.string().min(1).describe("The parent resource shared by all Permissions being created. Format: `notes/{note}` If this is set, the parent field in the CreatePermission messages must either be empty or match this field."),
|
|
89
89
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("BatchCreatePermissionsRequest JSON request body. Top-level fields: requests."),
|
|
90
90
|
fields: z.string().optional().describe('Response field mask.'),
|
|
91
91
|
},
|
|
92
|
-
});
|
|
92
|
+
}, deps);
|
|
93
93
|
registerGeneratedTool(registry, {
|
|
94
94
|
name: "keep_notes_permissions_batch_delete",
|
|
95
95
|
cud: "delete",
|
|
@@ -99,10 +99,10 @@ export function registerKeepGeneratedTools(registry) {
|
|
|
99
99
|
hasBody: true,
|
|
100
100
|
bodyParams: [{ "field": "names", "api": "names" }],
|
|
101
101
|
shape: {
|
|
102
|
-
account: accountField(),
|
|
102
|
+
account: accountField(() => registry.accountAliases()),
|
|
103
103
|
parent: z.string().min(1).describe("The parent resource shared by all permissions being deleted. Format: `notes/{note}` If this is set, the parent of all of the permissions specified in the DeletePermissionRequest messages must match th"),
|
|
104
104
|
names: coerceArray(z.string()).describe("Required. The names of the permissions to delete. Format: `notes/{note}/permissions/{permission}`").optional(),
|
|
105
105
|
fields: z.string().optional().describe('Response field mask.'),
|
|
106
106
|
},
|
|
107
|
-
});
|
|
107
|
+
}, deps);
|
|
108
108
|
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { ToolRegistry } from '../../registry.js';
|
|
2
|
-
|
|
2
|
+
import { type ExecuteDeps } from './_shared.js';
|
|
3
|
+
export declare function registerLicensingGeneratedTools(registry: ToolRegistry, deps?: ExecuteDeps): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED by scripts/gen-tools.ts — do not edit. Regenerate: npm run gen:tools
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { accountField, registerGeneratedTool } from './_shared.js';
|
|
4
|
-
export function registerLicensingGeneratedTools(registry) {
|
|
4
|
+
export function registerLicensingGeneratedTools(registry, deps = {}) {
|
|
5
5
|
// Interned method scope sets (shared across tools; see scope-observability).
|
|
6
6
|
const S_licensing_v1 = [
|
|
7
7
|
["https://www.googleapis.com/auth/apps.licensing"],
|
|
@@ -14,13 +14,13 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
14
14
|
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
15
15
|
hasBody: false,
|
|
16
16
|
shape: {
|
|
17
|
-
account: accountField(),
|
|
17
|
+
account: accountField(() => registry.accountAliases()),
|
|
18
18
|
productId: z.string().min(1).describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
19
19
|
skuId: z.string().min(1).describe("A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs."),
|
|
20
20
|
userId: z.string().min(1).describe("The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a k"),
|
|
21
21
|
fields: z.string().optional().describe('Response field mask.'),
|
|
22
22
|
},
|
|
23
|
-
});
|
|
23
|
+
}, deps);
|
|
24
24
|
registerGeneratedTool(registry, {
|
|
25
25
|
name: "licensing_license_assignments_get",
|
|
26
26
|
cud: "read",
|
|
@@ -29,13 +29,13 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
29
29
|
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
30
30
|
hasBody: false,
|
|
31
31
|
shape: {
|
|
32
|
-
account: accountField(),
|
|
32
|
+
account: accountField(() => registry.accountAliases()),
|
|
33
33
|
productId: z.string().min(1).describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
34
34
|
skuId: z.string().min(1).describe("A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs."),
|
|
35
35
|
userId: z.string().min(1).describe("The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a k"),
|
|
36
36
|
fields: z.string().optional().describe('Response field mask.'),
|
|
37
37
|
},
|
|
38
|
-
});
|
|
38
|
+
}, deps);
|
|
39
39
|
registerGeneratedTool(registry, {
|
|
40
40
|
name: "licensing_license_assignments_insert",
|
|
41
41
|
cud: "create",
|
|
@@ -45,13 +45,13 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
45
45
|
hasBody: true,
|
|
46
46
|
bodyParams: [{ "field": "userId", "api": "userId" }],
|
|
47
47
|
shape: {
|
|
48
|
-
account: accountField(),
|
|
48
|
+
account: accountField(() => registry.accountAliases()),
|
|
49
49
|
productId: z.string().min(1).describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
50
50
|
skuId: z.string().min(1).describe("A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs."),
|
|
51
51
|
userId: z.string().min(1).describe("Email id of the user"),
|
|
52
52
|
fields: z.string().optional().describe('Response field mask.'),
|
|
53
53
|
},
|
|
54
|
-
});
|
|
54
|
+
}, deps);
|
|
55
55
|
registerGeneratedTool(registry, {
|
|
56
56
|
name: "licensing_license_assignments_list_for_product",
|
|
57
57
|
cud: "read",
|
|
@@ -60,14 +60,14 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
60
60
|
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "customerId", "api": "customerId", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
61
61
|
hasBody: false,
|
|
62
62
|
shape: {
|
|
63
|
-
account: accountField(),
|
|
63
|
+
account: accountField(() => registry.accountAliases()),
|
|
64
64
|
productId: z.string().min(1).describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
65
65
|
customerId: z.string().min(1).describe("The customer's unique ID as defined in the Admin console, such as `C00000000`. If the customer is suspended, the server returns an error."),
|
|
66
66
|
maxResults: z.number().describe("The `maxResults` query string determines how many entries are returned on each page of a large response. This is an optional parameter. The value must be a positive number.").optional(),
|
|
67
67
|
pageToken: z.string().describe("Token to fetch the next page of data. The `maxResults` query string is related to the `pageToken` since `maxResults` determines how many entries are returned on each page. This is an optional query st").optional(),
|
|
68
68
|
fields: z.string().optional().describe('Response field mask.'),
|
|
69
69
|
},
|
|
70
|
-
});
|
|
70
|
+
}, deps);
|
|
71
71
|
registerGeneratedTool(registry, {
|
|
72
72
|
name: "licensing_license_assignments_list_for_product_and_sku",
|
|
73
73
|
cud: "read",
|
|
@@ -76,7 +76,7 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
76
76
|
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "customerId", "api": "customerId", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
77
77
|
hasBody: false,
|
|
78
78
|
shape: {
|
|
79
|
-
account: accountField(),
|
|
79
|
+
account: accountField(() => registry.accountAliases()),
|
|
80
80
|
productId: z.string().min(1).describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
81
81
|
skuId: z.string().min(1).describe("A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs."),
|
|
82
82
|
customerId: z.string().min(1).describe("The customer's unique ID as defined in the Admin console, such as `C00000000`. If the customer is suspended, the server returns an error."),
|
|
@@ -84,7 +84,7 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
84
84
|
pageToken: z.string().describe("Token to fetch the next page of data. The `maxResults` query string is related to the `pageToken` since `maxResults` determines how many entries are returned on each page. This is an optional query st").optional(),
|
|
85
85
|
fields: z.string().optional().describe('Response field mask.'),
|
|
86
86
|
},
|
|
87
|
-
});
|
|
87
|
+
}, deps);
|
|
88
88
|
registerGeneratedTool(registry, {
|
|
89
89
|
name: "licensing_license_assignments_patch",
|
|
90
90
|
cud: "update",
|
|
@@ -94,7 +94,7 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
94
94
|
hasBody: true,
|
|
95
95
|
bodyParams: [{ "field": "etags", "api": "etags" }, { "field": "kind", "api": "kind" }, { "field": "productId_", "api": "productId" }, { "field": "productName", "api": "productName" }, { "field": "selfLink", "api": "selfLink" }, { "field": "skuId_", "api": "skuId" }, { "field": "skuName", "api": "skuName" }, { "field": "userId_", "api": "userId" }],
|
|
96
96
|
shape: {
|
|
97
|
-
account: accountField(),
|
|
97
|
+
account: accountField(() => registry.accountAliases()),
|
|
98
98
|
productId: z.string().min(1).describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
99
99
|
skuId: z.string().min(1).describe("A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs."),
|
|
100
100
|
userId: z.string().min(1).describe("The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a k"),
|
|
@@ -108,7 +108,7 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
108
108
|
userId_: z.string().describe("The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a k").optional(),
|
|
109
109
|
fields: z.string().optional().describe('Response field mask.'),
|
|
110
110
|
},
|
|
111
|
-
});
|
|
111
|
+
}, deps);
|
|
112
112
|
registerGeneratedTool(registry, {
|
|
113
113
|
name: "licensing_license_assignments_update",
|
|
114
114
|
cud: "update",
|
|
@@ -118,7 +118,7 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
118
118
|
hasBody: true,
|
|
119
119
|
bodyParams: [{ "field": "productId_", "api": "productId" }, { "field": "skuId_", "api": "skuId" }, { "field": "userId_", "api": "userId" }, { "field": "etags", "api": "etags" }, { "field": "kind", "api": "kind" }, { "field": "productName", "api": "productName" }, { "field": "selfLink", "api": "selfLink" }, { "field": "skuName", "api": "skuName" }],
|
|
120
120
|
shape: {
|
|
121
|
-
account: accountField(),
|
|
121
|
+
account: accountField(() => registry.accountAliases()),
|
|
122
122
|
productId: z.string().min(1).describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
123
123
|
skuId: z.string().min(1).describe("A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs."),
|
|
124
124
|
userId: z.string().min(1).describe("The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a k"),
|
|
@@ -132,5 +132,5 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
132
132
|
skuName: z.string().describe("Display Name of the sku of the product.").optional(),
|
|
133
133
|
fields: z.string().optional().describe('Response field mask.'),
|
|
134
134
|
},
|
|
135
|
-
});
|
|
135
|
+
}, deps);
|
|
136
136
|
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { ToolRegistry } from '../../registry.js';
|
|
2
|
-
|
|
2
|
+
import { type ExecuteDeps } from './_shared.js';
|
|
3
|
+
export declare function registerMeetGeneratedTools(registry: ToolRegistry, deps?: ExecuteDeps): void;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { coerceJson } from '../_coerce.js';
|
|
4
4
|
import { accountField, registerGeneratedTool } from './_shared.js';
|
|
5
|
-
export function registerMeetGeneratedTools(registry) {
|
|
5
|
+
export function registerMeetGeneratedTools(registry, deps = {}) {
|
|
6
6
|
// Interned method scope sets (shared across tools; see scope-observability).
|
|
7
7
|
const S_meet_v2 = [
|
|
8
8
|
["https://www.googleapis.com/auth/meetings.space.created", "https://www.googleapis.com/auth/meetings.space.readonly"],
|
|
@@ -18,11 +18,11 @@ export function registerMeetGeneratedTools(registry) {
|
|
|
18
18
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
19
19
|
hasBody: false,
|
|
20
20
|
shape: {
|
|
21
|
-
account: accountField(),
|
|
21
|
+
account: accountField(() => registry.accountAliases()),
|
|
22
22
|
name: z.string().min(1).describe("Required. Resource name of the participant."),
|
|
23
23
|
fields: z.string().optional().describe('Response field mask.'),
|
|
24
24
|
},
|
|
25
|
-
});
|
|
25
|
+
}, deps);
|
|
26
26
|
registerGeneratedTool(registry, {
|
|
27
27
|
name: "meet_conference_records_participants_list",
|
|
28
28
|
cud: "read",
|
|
@@ -31,14 +31,14 @@ export function registerMeetGeneratedTools(registry) {
|
|
|
31
31
|
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "filter", "api": "filter", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
32
32
|
hasBody: false,
|
|
33
33
|
shape: {
|
|
34
|
-
account: accountField(),
|
|
34
|
+
account: accountField(() => registry.accountAliases()),
|
|
35
35
|
parent: z.string().min(1).describe("Required. Format: `conferenceRecords/{conference_record}`"),
|
|
36
36
|
filter: z.string().describe("Optional. User specified filtering condition in [EBNF format](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form). The following are the filterable fields: * `earliest_start_time` * `late").optional(),
|
|
37
37
|
pageSize: z.number().describe("Maximum number of participants to return. The service might return fewer than this value. If unspecified, at most 100 participants are returned. The maximum value is 250; values above 250 are coerced ").optional(),
|
|
38
38
|
pageToken: z.string().describe("Page token returned from previous List Call.").optional(),
|
|
39
39
|
fields: z.string().optional().describe('Response field mask.'),
|
|
40
40
|
},
|
|
41
|
-
});
|
|
41
|
+
}, deps);
|
|
42
42
|
registerGeneratedTool(registry, {
|
|
43
43
|
name: "meet_conference_records_participants_participant_sessions_get",
|
|
44
44
|
cud: "read",
|
|
@@ -47,11 +47,11 @@ export function registerMeetGeneratedTools(registry) {
|
|
|
47
47
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
48
48
|
hasBody: false,
|
|
49
49
|
shape: {
|
|
50
|
-
account: accountField(),
|
|
50
|
+
account: accountField(() => registry.accountAliases()),
|
|
51
51
|
name: z.string().min(1).describe("Required. Resource name of the participant."),
|
|
52
52
|
fields: z.string().optional().describe('Response field mask.'),
|
|
53
53
|
},
|
|
54
|
-
});
|
|
54
|
+
}, deps);
|
|
55
55
|
registerGeneratedTool(registry, {
|
|
56
56
|
name: "meet_conference_records_participants_participant_sessions_list",
|
|
57
57
|
cud: "read",
|
|
@@ -60,14 +60,14 @@ export function registerMeetGeneratedTools(registry) {
|
|
|
60
60
|
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "filter", "api": "filter", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
61
61
|
hasBody: false,
|
|
62
62
|
shape: {
|
|
63
|
-
account: accountField(),
|
|
63
|
+
account: accountField(() => registry.accountAliases()),
|
|
64
64
|
parent: z.string().min(1).describe("Required. Format: `conferenceRecords/{conference_record}/participants/{participant}`"),
|
|
65
65
|
filter: z.string().describe("Optional. User specified filtering condition in [EBNF format](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form). The following are the filterable fields: * `start_time` * `end_time` For").optional(),
|
|
66
66
|
pageSize: z.number().describe("Optional. Maximum number of participant sessions to return. The service might return fewer than this value. If unspecified, at most 100 participants are returned. The maximum value is 250; values abov").optional(),
|
|
67
67
|
pageToken: z.string().describe("Optional. Page token returned from previous List Call.").optional(),
|
|
68
68
|
fields: z.string().optional().describe('Response field mask.'),
|
|
69
69
|
},
|
|
70
|
-
});
|
|
70
|
+
}, deps);
|
|
71
71
|
registerGeneratedTool(registry, {
|
|
72
72
|
name: "meet_conference_records_recordings_get",
|
|
73
73
|
cud: "read",
|
|
@@ -76,11 +76,11 @@ export function registerMeetGeneratedTools(registry) {
|
|
|
76
76
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
77
77
|
hasBody: false,
|
|
78
78
|
shape: {
|
|
79
|
-
account: accountField(),
|
|
79
|
+
account: accountField(() => registry.accountAliases()),
|
|
80
80
|
name: z.string().min(1).describe("Required. Resource name of the recording."),
|
|
81
81
|
fields: z.string().optional().describe('Response field mask.'),
|
|
82
82
|
},
|
|
83
|
-
});
|
|
83
|
+
}, deps);
|
|
84
84
|
registerGeneratedTool(registry, {
|
|
85
85
|
name: "meet_conference_records_smart_notes_get",
|
|
86
86
|
cud: "read",
|
|
@@ -89,11 +89,11 @@ export function registerMeetGeneratedTools(registry) {
|
|
|
89
89
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
90
90
|
hasBody: false,
|
|
91
91
|
shape: {
|
|
92
|
-
account: accountField(),
|
|
92
|
+
account: accountField(() => registry.accountAliases()),
|
|
93
93
|
name: z.string().min(1).describe("Required. Resource name of the smart note. Format: conferenceRecords/{conference_record}/smartNotes/{smart_note}"),
|
|
94
94
|
fields: z.string().optional().describe('Response field mask.'),
|
|
95
95
|
},
|
|
96
|
-
});
|
|
96
|
+
}, deps);
|
|
97
97
|
registerGeneratedTool(registry, {
|
|
98
98
|
name: "meet_conference_records_smart_notes_list",
|
|
99
99
|
cud: "read",
|
|
@@ -102,13 +102,13 @@ export function registerMeetGeneratedTools(registry) {
|
|
|
102
102
|
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
103
103
|
hasBody: false,
|
|
104
104
|
shape: {
|
|
105
|
-
account: accountField(),
|
|
105
|
+
account: accountField(() => registry.accountAliases()),
|
|
106
106
|
parent: z.string().min(1).describe("Required. Format: `conferenceRecords/{conference_record}`"),
|
|
107
107
|
pageSize: z.number().describe("Optional. Maximum number of smart notes to return. The service might return fewer than this value. If unspecified, at most 10 smart notes are returned. The maximum value is 100; values above 100 are c").optional(),
|
|
108
108
|
pageToken: z.string().describe("Optional. Page token returned from previous List Call.").optional(),
|
|
109
109
|
fields: z.string().optional().describe('Response field mask.'),
|
|
110
110
|
},
|
|
111
|
-
});
|
|
111
|
+
}, deps);
|
|
112
112
|
registerGeneratedTool(registry, {
|
|
113
113
|
name: "meet_conference_records_transcripts_entries_get",
|
|
114
114
|
cud: "read",
|
|
@@ -117,11 +117,11 @@ export function registerMeetGeneratedTools(registry) {
|
|
|
117
117
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
118
118
|
hasBody: false,
|
|
119
119
|
shape: {
|
|
120
|
-
account: accountField(),
|
|
120
|
+
account: accountField(() => registry.accountAliases()),
|
|
121
121
|
name: z.string().min(1).describe("Required. Resource name of the `TranscriptEntry`."),
|
|
122
122
|
fields: z.string().optional().describe('Response field mask.'),
|
|
123
123
|
},
|
|
124
|
-
});
|
|
124
|
+
}, deps);
|
|
125
125
|
registerGeneratedTool(registry, {
|
|
126
126
|
name: "meet_conference_records_transcripts_get",
|
|
127
127
|
cud: "read",
|
|
@@ -130,11 +130,11 @@ export function registerMeetGeneratedTools(registry) {
|
|
|
130
130
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
131
131
|
hasBody: false,
|
|
132
132
|
shape: {
|
|
133
|
-
account: accountField(),
|
|
133
|
+
account: accountField(() => registry.accountAliases()),
|
|
134
134
|
name: z.string().min(1).describe("Required. Resource name of the transcript."),
|
|
135
135
|
fields: z.string().optional().describe('Response field mask.'),
|
|
136
136
|
},
|
|
137
|
-
});
|
|
137
|
+
}, deps);
|
|
138
138
|
registerGeneratedTool(registry, {
|
|
139
139
|
name: "meet_spaces_create",
|
|
140
140
|
cud: "create",
|
|
@@ -143,11 +143,11 @@ export function registerMeetGeneratedTools(registry) {
|
|
|
143
143
|
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
144
144
|
hasBody: true,
|
|
145
145
|
shape: {
|
|
146
|
-
account: accountField(),
|
|
146
|
+
account: accountField(() => registry.accountAliases()),
|
|
147
147
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Space JSON request body. Top-level fields: activeConference, config, gatewaySipAccess, meetingCode, meetingUri, name, phoneAccess."),
|
|
148
148
|
fields: z.string().optional().describe('Response field mask.'),
|
|
149
149
|
},
|
|
150
|
-
});
|
|
150
|
+
}, deps);
|
|
151
151
|
registerGeneratedTool(registry, {
|
|
152
152
|
name: "meet_spaces_end_active_conference",
|
|
153
153
|
cud: "delete",
|
|
@@ -157,11 +157,11 @@ export function registerMeetGeneratedTools(registry) {
|
|
|
157
157
|
hasBody: true,
|
|
158
158
|
bodyParams: [],
|
|
159
159
|
shape: {
|
|
160
|
-
account: accountField(),
|
|
160
|
+
account: accountField(() => registry.accountAliases()),
|
|
161
161
|
name: z.string().min(1).describe("Required. Resource name of the space. Format: `spaces/{space}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z"),
|
|
162
162
|
fields: z.string().optional().describe('Response field mask.'),
|
|
163
163
|
},
|
|
164
|
-
});
|
|
164
|
+
}, deps);
|
|
165
165
|
registerGeneratedTool(registry, {
|
|
166
166
|
name: "meet_spaces_get",
|
|
167
167
|
cud: "read",
|
|
@@ -170,11 +170,11 @@ export function registerMeetGeneratedTools(registry) {
|
|
|
170
170
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
171
171
|
hasBody: false,
|
|
172
172
|
shape: {
|
|
173
|
-
account: accountField(),
|
|
173
|
+
account: accountField(() => registry.accountAliases()),
|
|
174
174
|
name: z.string().min(1).describe("Required. Resource name of the space. Format: `spaces/{space}` or `spaces/{meetingCode}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. "),
|
|
175
175
|
fields: z.string().optional().describe('Response field mask.'),
|
|
176
176
|
},
|
|
177
|
-
});
|
|
177
|
+
}, deps);
|
|
178
178
|
registerGeneratedTool(registry, {
|
|
179
179
|
name: "meet_spaces_patch",
|
|
180
180
|
cud: "update",
|
|
@@ -183,11 +183,11 @@ export function registerMeetGeneratedTools(registry) {
|
|
|
183
183
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
184
184
|
hasBody: true,
|
|
185
185
|
shape: {
|
|
186
|
-
account: accountField(),
|
|
186
|
+
account: accountField(() => registry.accountAliases()),
|
|
187
187
|
name: z.string().min(1).describe("Immutable. Resource name of the space. Format: `spaces/{space}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, `jQCFfuBOdN5"),
|
|
188
188
|
updateMask: z.string().describe("Optional. Field mask used to specify the fields to be updated in the space. If update_mask isn't provided(not set, set with empty paths, or only has \"\" as paths), it defaults to update all fields prov").optional(),
|
|
189
189
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Space JSON request body. Top-level fields: activeConference, config, gatewaySipAccess, meetingCode, meetingUri, name, phoneAccess."),
|
|
190
190
|
fields: z.string().optional().describe('Response field mask.'),
|
|
191
191
|
},
|
|
192
|
-
});
|
|
192
|
+
}, deps);
|
|
193
193
|
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { ToolRegistry } from '../../registry.js';
|
|
2
|
-
|
|
2
|
+
import { type ExecuteDeps } from './_shared.js';
|
|
3
|
+
export declare function registerPostmasterGeneratedTools(registry: ToolRegistry, deps?: ExecuteDeps): void;
|